/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: #ffffff;
    padding: 4rem 2rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #4a90e2;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #357abd;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #001f3f;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Sección de Categorías Secundarias */
.services-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #001f3f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #001f3f;
}

.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.service-card a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-card a:hover {
    color: #357abd;
}

/* Sección de Abogados */
.team-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 4px solid #4a90e2;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #001f3f;
}

.team-specialty {
    color: #4a90e2;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p {
    color: #555;
    margin-bottom: 1rem;
}

.team-email {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.9rem;
}

.team-email:hover {
    text-decoration: underline;
}

/* Sección de Zonas de Servicio */
.areas-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.areas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.area-item {
    background: #ffffff;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #4a90e2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Sección de Mapa */
.map-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-wrapper {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 16px rgba(0,0,0,0.6);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-carousel {
        grid-template-columns: 1fr;
    }

    .areas-list {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}