:root {
    --primary-color: #014F50;
    --primary-dark: #013838;
    --primary-light: #016b6c;
    --secondary-color: #080F40;
    --accent-color: #FFD700;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-white: #ffffff;
    --bg-light: #f8fafa;
    --bg-gray: #f0f4f5;
    --border-color: #e0e7e9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    --font-primary: 'Source Sans 3', sans-serif;
    --font-display: 'Playfair Display', serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Double safety */
    width: 100%;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav__logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
/* Hero Section - Modificado para imagen de fondo completo */
.hero {
    position: relative;
    /* Ajuste de altura mínima para que se vea impactante */
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    /* Imagen de fondo + Gradiente oscuro para que el texto resalte */
    /* Asegúrate de que la ruta '../images/portada.webp' sea correcta. Si tu CSS está en carpeta css, usa '../images'. Si está en raíz, usa 'images' */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 50, 50, 0.85)), url('../images/portada.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Efecto Parallax opcional */
}

/* Eliminamos los fondos anteriores */
.hero__background,
.hero__gradient {
    display: none;
}

.hero__content {
    width: 100%;
    display: flex;
    /* ESTO ES LO QUE MUEVE EL TEXTO A LA DERECHA */
    justify-content: flex-end;
}

.hero__text {
    max-width: 600px;
    /* Ancho máximo para que no se estire demasiado */
    color: white;
    /* Texto en blanco */
    text-align: left;
    /* Alineación del texto interna */
}

/* Ajustes de colores para fondo oscuro */
.hero__badge {
    background: rgba(255, 255, 255, 0.15);
    color: #4fd1c5;
    /* Color turquesa claro para resaltar */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero__title-highlight {
    color: var(--accent-color);
    /* Amarillo/Dorado para resaltar */
    display: block;
}

.hero__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    /* Blanco con un poco de transparencia */
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Botón secundario blanco para fondo oscuro */
.btn--white {
    color: white;
    border-color: white;
}

.btn--white:hover {
    background: white;
    color: var(--primary-color);
}

.hero__trust {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__trust-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    /* Amarillo para los números */
    display: block;
}

.hero__trust-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 160px;
        /* Increase space for scroll indicator */
        align-items: center;
        /* Ensure vertical centering */
    }

    .hero__content {
        justify-content: center;
        /* En celular centramos todo */
    }

    .hero__text {
        text-align: center;
        /* Texto centrado en celular */
        max-width: 100%;
    }

    .hero__cta {
        justify-content: center;
        /* Botones centrados */
        flex-direction: column;
    }

    .hero__trust {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }

    .hero__trust-item {
        align-items: center;
        flex: 1;
        /* Distribute space equally */
        min-width: 0;
        /* Allow shrinking if needed */
    }

    .hero__trust-item {
        align-items: center;
        /* Center content */
    }

    .hero__trust-number {
        font-size: 1.5rem;
        /* Smaller numbers on mobile */
    }

    .hero__trust-label {
        font-size: 0.75rem;
        /* Smaller text */
        text-align: center;
    }
}

@media (max-width: 768px) {
    .urgency-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .urgency-banner__btn {
        width: 100%;
        /* Full width button for better touch target */
        max-width: 300px;
        /* But not too wide on tablets */
    }
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
}

.hero__trust-number {
    color: #ffffff;
    /* O usa var(--accent-color) si prefieres dorado */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Sombra para que resalte más */
}

/* Cambia los textos descriptivos a blanco */
.hero__trust-label {
    color: #f8fafa;
    /* Blanco casi puro */
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Opcional: Si los iconos de la sección hero también se ven oscuros */
.hero__text .hero__badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__image {
    position: relative;
    animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero__image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-card img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.hero__image-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.hero__image-badge svg {
    color: var(--primary-color);
}

.hero__image-badge span {
    font-weight: 600;
    color: var(--text-dark);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn--outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn--outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn--block {
    width: 100%;
    justify-content: center;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 0;
    animation: slideInBanner 0.6s ease-out;
}

@keyframes slideInBanner {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.urgency-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.urgency-banner__content svg {
    flex-shrink: 0;
}

.urgency-banner__content p {
    flex: 1;
    margin: 0;
}

.urgency-banner__btn {
    padding: 0.75rem 2rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.urgency-banner__btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header--center {
    text-align: center;
}

.section-header__subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header__description {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
}

.section-header--center .section-header__description {
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card--featured {
    background: linear-gradient(135deg, rgba(0, 107, 106, 0.95) 0%, rgba(0, 77, 76, 0.95) 100%);
    color: white;
    border: none;
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__description,
.service-card--featured .service-card__features li {
    color: white;
}

.service-card__icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card--featured .service-card__icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card__icon svg {
    color: var(--primary-color);
}

.service-card--featured .service-card__icon svg {
    color: white;
}

.service-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card__description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card__features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card__features li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.service-card__features svg {
    flex-shrink: 0;
    color: var(--success-color);
    margin-top: 3px;
}

.service-card--featured .service-card__features svg {
    color: var(--accent-color);
}

.service-card__schedule {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.service-card__schedule svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.service-card__cta {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-card__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.service-card--featured .service-card__cta {
    background: white;
    color: var(--primary-color);
}

.service-card--featured .service-card__cta:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: var(--bg-light);
}

.why-us__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-us__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-us__stats {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.stat-badge__number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-badge__label {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.why-us__description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.why-us__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-item__icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item__icon svg {
    color: var(--primary-color);
}

.feature-item__content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-item__content p {
    color: var(--text-medium);
    font-size: 0.938rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-card__rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-card__rating svg {
    color: var(--accent-color);
}

.testimonial-card__text {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card__author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card__author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-card__author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.1);
}

.blog-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-card__content {
    padding: 2rem;
}

.blog-card__meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-card__meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-card__excerpt {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-card__link:hover {
    gap: 0.75rem;
}

.blog__cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section__description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-section__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-section__buttons .btn--primary {
    background: white;
    color: var(--primary-color);
}

.cta-section__buttons .btn--primary:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

.cta-section__buttons .btn--outline {
    border-color: white;
    color: white;
}

.cta-section__buttons .btn--outline:hover {
    background: white;
    color: var(--primary-color);
}

.cta-section__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
}

.contact-detail__icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail__icon svg {
    color: var(--primary-color);
}

.contact-detail__content strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-detail__content p,
.contact-detail__content a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail__content a:hover {
    color: var(--primary-color);
}

.contact__social strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
}

.contact__form-wrapper {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2.5rem;
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group--checkbox {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.form-group--checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-group--checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 0.875rem;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal__close:hover {
    background: var(--primary-color);
    color: white;
}

.modal__header {
    margin-bottom: 2rem;
}

.modal__title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.modal__subtitle {
    color: var(--text-medium);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.footer__logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer__title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer__links,
.footer__contact {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: white;
    padding-left: 5px;
}

.footer__contact li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer__legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav__item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav__link {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav__cta {
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero__content,
    .why-us__content,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__trust {
        flex-wrap: wrap;
    }

    .section-header__title {
        font-size: 2rem;
    }

    .services__grid,
    .testimonials__grid,
    .blog__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-section__buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Stats Section Styles */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 107, 106, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 107, 106, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 107, 106, 0.15);
}

.stat-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 107, 106, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 107, 106, 0);
    }
}

.stat-card__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-card__label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Reduce image size in Nosotros section */
.why-us__image img {
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .stat-card__icon {
        width: 60px;
        height: 60px;
    }

    .stat-card__number {
        font-size: 2.5rem;
    }

    .stats__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* WhatsApp Contact Box */
.contact__whatsapp-box {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.whatsapp-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.whatsapp-buttons .btn {
    justify-content: center;
    font-size: 1.05rem;
}

.whatsapp-buttons .btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contact__whatsapp-box {
        padding: 2rem 1.5rem;
    }
}

/* Call Button - High Visibility */
.btn--call {
    background: #ffd700 !important;
    color: #1a1a1a !important;
    border: 2px solid #ffd700 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

.btn--call:hover {
    background: #ffed4e !important;
    color: #000 !important;
    border-color: #ffed4e !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6) !important;
    transform: translateY(-2px);
}

.btn--call svg {
    stroke: #1a1a1a !important;
}

/* ==============================================
   MEJORAS RESPONSIVE PARA MÓVILES
   ============================================== */

/* Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero__title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__trust {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__trust-item {
        text-align: center;
    }

    .hero__image-card {
        margin-top: 2rem;
    }

    .hero__image-card img {
        height: 400px !important;
    }

    /* Servicios responsive */
    .services__grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card__icon {
        width: 60px;
        height: 60px;
    }

    .service-card__title {
        font-size: 1.25rem;
    }

    /* Testimonios responsive */
    .testimonials__grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Stats responsive */
    .stats__grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card__icon {
        width: 60px;
        height: 60px;
    }

    .stat-card__number {
        font-size: 2.5rem !important;
    }

    /* Blog cards responsive */
    .blog__grid {
        grid-template-columns: 1fr !important;
    }

    /* Contact form responsive */
    .contact__grid {
        grid-template-columns: 1fr !important;
    }

    .contact__details,
    .whatsapp-buttons .btn {
        font-size: 0.95rem;
    }

    /* Section headers */
    .section-header__title {
        font-size: 1.75rem !important;
    }

    .section-header__subtitle {
        font-size: 0.875rem;
    }

    /* Footer responsive */
    .footer__grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .footer__social {
        justify-content: center;
    }
}

/* Tabletas (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__image-card img {
        height: 500px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog__grid {
        grid-template-columns: 1fr;
    }
}

/* Touch targets mejorados para móviles */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }

    .nav__link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .nav__toggle {
        min-width: 48px;
        min-height: 48px;
        padding: 10px;
    }
}

/* Prevenir zoom en inputs en iOS */
@media (max-width: 768px) {

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Mejoras adicionales para el botón hamburguesa en móviles */
.nav__toggle {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.nav__toggle:active {
    transform: scale(0.95);
}

/* FIX FINAL MOVIL: Separación para 'Descubre más' */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 98px !important;
        /* Punto medio */
    }

    .hero__scroll {
        bottom: 20px !important;
        /* Pegado al borde inferior */
    }
}