/* ================================================================
   ARKAL INGENIERÍA Y SERVICIOS — Hoja de estilos principal
   ================================================================

   TABLA DE CONTENIDOS
   1.  Variables (COLORES — editar aquí para cambiar todo el sitio)
   2.  Reset y base
   3.  Utilidades (.container, .btn, .section, etc.)
   4.  Header y navegación
   5.  Hero principal (index)
   6.  Sección Quiénes somos
   7.  Estadísticas / números
   8.  Cards de servicios (home)
   9.  Galería de proyectos
   10. Banda CTA
   11. Footer
   12. Hero de páginas internas
   13. Servicios (página completa)
   14. Misión / Historia
   15. Contacto
   16. WhatsApp flotante
   17. Media queries
   ================================================================ */


/* ----------------------------------------------------------------
   1. VARIABLES
   Cambiar cualquier valor aquí afecta a todo el sitio.
   ---------------------------------------------------------------- */
:root {
    /* --- Paleta de colores --- */
    --c-azul:              #1B3A5C;   /* Azul oscuro principal */
    --c-azul-hover:        #254f7a;   /* Azul al pasar el cursor */
    --c-azul-suave:        #e8f0f8;   /* Azul muy claro (fondos de iconos) */
    --c-amarillo:          #EDB83D;   /* Amarillo dorado — acentos y CTA */
    --c-amarillo-hover:    #d4a030;   /* Amarillo más oscuro al hover */
    --c-blanco:            #FFFFFF;
    --c-negro:             #0D1B2A;

    /* --- Fondos --- */
    --c-fondo:             #F4F7FB;   /* Fondo gris muy claro (general) */
    --c-fondo-alt:         #FFFFFF;   /* Secciones alternas */
    --c-fondo-oscuro:      #1B3A5C;   /* Footer, CTA oscuro */

    /* --- Textos --- */
    --c-texto:             #1A2435;   /* Texto principal */
    --c-texto-suave:       #5A6478;   /* Subtítulos, texto secundario */
    --c-texto-blanco:      rgba(255, 255, 255, 0.88);

    /* --- Bordes y sombras --- */
    --c-borde:             #D8E0ED;
    --sombra-sm:           0 2px 8px  rgba(27, 58, 92, 0.08);
    --sombra-md:           0 4px 20px rgba(27, 58, 92, 0.12);
    --sombra-lg:           0 8px 40px rgba(27, 58, 92, 0.16);

    /* --- Tipografía --- */
    --fuente:              'Inter', 'Segoe UI', Arial, sans-serif;

    /* --- Forma --- */
    --radio:               8px;
    --radio-lg:            16px;
    --transicion:          0.3s ease;

    /* --- Layout --- */
    --max-ancho:           1200px;
    --alto-header:         72px;
}


/* ----------------------------------------------------------------
   2. RESET Y BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--fuente);
    color: var(--c-texto);
    background: var(--c-fondo);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--c-azul);
    text-decoration: none;
    transition: color var(--transicion);
}

ul { list-style: none; }


/* ----------------------------------------------------------------
   3. UTILIDADES
   ---------------------------------------------------------------- */
.container {
    max-width: var(--max-ancho);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
}

.section--alt {
    background: var(--c-fondo-alt);
}

.section__eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-amarillo);
    margin-bottom: 10px;
}

.section__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--c-texto);
    line-height: 1.22;
    margin-bottom: 16px;
}

.section__title--blanco {
    color: var(--c-blanco);
}

.section__desc {
    font-size: 1.05rem;
    color: var(--c-texto-suave);
    max-width: 600px;
    line-height: 1.75;
}

.section__desc--blanco {
    color: var(--c-texto-blanco);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radio);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--fuente);
    cursor: pointer;
    transition: all var(--transicion);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-amarillo);
    color: var(--c-negro);
    border-color: var(--c-amarillo);
}
.btn--primary:hover {
    background: var(--c-amarillo-hover);
    border-color: var(--c-amarillo-hover);
    color: var(--c-negro);
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}

.btn--outline {
    background: transparent;
    color: var(--c-blanco);
    border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--c-blanco);
    color: var(--c-blanco);
}

.btn--outline-azul {
    background: transparent;
    color: var(--c-azul);
    border-color: var(--c-azul);
}
.btn--outline-azul:hover {
    background: var(--c-azul);
    color: var(--c-blanco);
    transform: translateY(-2px);
    box-shadow: var(--sombra-sm);
}

.btn--azul {
    background: var(--c-azul);
    color: var(--c-blanco);
    border-color: var(--c-azul);
}
.btn--azul:hover {
    background: var(--c-azul-hover);
    border-color: var(--c-azul-hover);
    color: var(--c-blanco);
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}


/* ----------------------------------------------------------------
   4. HEADER Y NAVEGACIÓN
   ---------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--alto-header);
    background: transparent;
    transition: background var(--transicion), box-shadow var(--transicion);
}

.header.scrolled {
    background: var(--c-azul);
    box-shadow: var(--sombra-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--alto-header);
}

.nav__logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transicion);
}
.nav__logo:hover img { opacity: 0.82; }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    color: var(--c-blanco);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radio);
    transition: all var(--transicion);
}
.nav__link:hover,
.nav__link--active {
    background: rgba(255, 255, 255, 0.13);
    color: var(--c-blanco);
}

.nav__link--cta {
    background: var(--c-amarillo);
    color: var(--c-negro);
    font-weight: 700;
    margin-left: 10px;
}
.nav__link--cta:hover {
    background: var(--c-amarillo-hover);
    color: var(--c-negro);
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-blanco);
    border-radius: 2px;
    transition: all var(--transicion);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ----------------------------------------------------------------
   5. HERO PRINCIPAL
   ---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        140deg,
        rgba(10, 22, 38, 0.78) 0%,
        rgba(27, 58, 92, 0.60) 55%,
        rgba(10, 22, 38, 0.45) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    color: var(--c-blanco);
    max-width: 720px;
    padding-top: var(--alto-header);
}

.hero__eyebrow {
    display: inline-block;
    background: var(--c-amarillo);
    color: var(--c-negro);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero__title span { color: var(--c-amarillo); }

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    opacity: 0.88;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero__btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Indicador de scroll */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: scroll-bounce 2.4s infinite;
}
.hero__scroll::after {
    content: '';
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}


/* ----------------------------------------------------------------
   6. QUIÉNES SOMOS
   ---------------------------------------------------------------- */
.quienes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.quienes__img {
    position: relative;
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-lg);
}
.quienes__img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.quienes__img:hover img { transform: scale(1.04); }

.quienes__badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--c-amarillo);
    color: var(--c-negro);
    padding: 14px 18px;
    border-radius: var(--radio);
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.3;
    box-shadow: var(--sombra-md);
}
.quienes__badge strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.quienes__checks {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.94rem;
    color: var(--c-texto-suave);
}
.check-item i {
    color: var(--c-amarillo);
    margin-top: 3px;
    flex-shrink: 0;
}


/* ----------------------------------------------------------------
   7. ESTADÍSTICAS
   ---------------------------------------------------------------- */
.stats {
    background: var(--c-azul);
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item__numero {
    display: block;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--c-amarillo);
    line-height: 1;
}
.stat-item__label {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 8px;
}


/* ----------------------------------------------------------------
   8. CARDS DE SERVICIOS (home — 3 destacados)
   ---------------------------------------------------------------- */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.servicio-card {
    background: var(--c-blanco);
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-sm);
    transition: transform var(--transicion), box-shadow var(--transicion);
}
.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-lg);
}

.servicio-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.servicio-card__body {
    padding: 24px;
}

.servicio-card__icon {
    width: 44px;
    height: 44px;
    background: var(--c-azul-suave);
    border-radius: var(--radio);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.servicio-card__icon i {
    color: var(--c-azul);
    font-size: 1.15rem;
}

.servicio-card__title {
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--c-texto);
    margin-bottom: 8px;
    line-height: 1.3;
}

.servicio-card__desc {
    font-size: 0.88rem;
    color: var(--c-texto-suave);
    line-height: 1.65;
}

.servicios-cta {
    text-align: center;
    margin-top: 40px;
}


/* ----------------------------------------------------------------
   9. GALERÍA
   ---------------------------------------------------------------- */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
}

.galeria-item {
    border-radius: var(--radio);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}
.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.galeria-item:hover img { transform: scale(1.06); }

.galeria-cta {
    text-align: center;
    margin-top: 32px;
}


/* ----------------------------------------------------------------
   10. BANDA CTA
   ---------------------------------------------------------------- */
.cta-band {
    background: linear-gradient(135deg, var(--c-azul) 0%, #0d2240 100%);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,184,61,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.cta-band .section__desc {
    margin: 0 auto 32px;
}


/* ----------------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------------- */
.footer {
    background: var(--c-negro);
    color: rgba(255, 255, 255, 0.68);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo img {
    height: 48px;
    margin-bottom: 16px;
}

.footer__desc {
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 280px;
}

.footer__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-amarillo);
    margin-bottom: 18px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__link {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    transition: color var(--transicion);
}
.footer__link:hover { color: var(--c-amarillo); }

.footer__contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    margin-bottom: 13px;
}
.footer__contact-item i {
    color: var(--c-amarillo);
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}


/* ----------------------------------------------------------------
   12. HERO DE PÁGINAS INTERNAS
   ---------------------------------------------------------------- */
.page-hero {
    background: linear-gradient(135deg, var(--c-azul) 0%, #0d2240 100%);
    padding: calc(var(--alto-header) + 56px) 0 64px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-amarillo) 0%, transparent 60%);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.page-hero__eyebrow {
    display: block;
    color: var(--c-amarillo);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
}

.page-hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--c-blanco);
    margin-bottom: 16px;
    line-height: 1.18;
}

.page-hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    line-height: 1.72;
}


/* ----------------------------------------------------------------
   13. SERVICIOS (página completa — 9 servicios)
   ---------------------------------------------------------------- */
.servicios-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.servicio-full-card {
    background: var(--c-blanco);
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transicion), box-shadow var(--transicion);
}
.servicio-full-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-lg);
}

.servicio-full-card__img {
    width: 100%;
    height: 218px;
    object-fit: cover;
}

.servicio-full-card__body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.servicio-full-card__num {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--c-amarillo);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.servicio-full-card__title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--c-texto);
    margin-bottom: 10px;
    line-height: 1.3;
}

.servicio-full-card__desc {
    font-size: 0.88rem;
    color: var(--c-texto-suave);
    line-height: 1.65;
    flex: 1;
}


/* ----------------------------------------------------------------
   14. MISIÓN / HISTORIA
   ---------------------------------------------------------------- */
.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.historia-img {
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-lg);
}
.historia-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.mv-card {
    background: var(--c-blanco);
    border-radius: var(--radio-lg);
    padding: 36px 32px;
    box-shadow: var(--sombra-sm);
    border-top: 4px solid var(--c-amarillo);
}
.mv-card i {
    font-size: 1.8rem;
    color: var(--c-azul);
    margin-bottom: 14px;
    display: block;
}
.mv-card h3 {
    font-size: 1.14rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--c-texto);
}
.mv-card p {
    font-size: 0.92rem;
    color: var(--c-texto-suave);
    line-height: 1.7;
}

.por-que-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 48px;
}

.por-que-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.por-que-item__icon {
    width: 52px;
    height: 52px;
    background: var(--c-azul);
    border-radius: var(--radio);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.por-que-item__icon i {
    color: var(--c-amarillo);
    font-size: 1.2rem;
}
.por-que-item h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--c-texto);
}
.por-que-item p {
    font-size: 0.88rem;
    color: var(--c-texto-suave);
    line-height: 1.62;
}


/* ----------------------------------------------------------------
   15. CONTACTO
   ---------------------------------------------------------------- */
.contacto-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}

.contacto-form .form-group {
    margin-bottom: 20px;
}
.contacto-form label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--c-texto);
    margin-bottom: 6px;
}
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--c-borde);
    border-radius: var(--radio);
    font-family: var(--fuente);
    font-size: 0.93rem;
    color: var(--c-texto);
    background: var(--c-blanco);
    transition: border-color var(--transicion), box-shadow var(--transicion);
    outline: none;
}
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
    border-color: var(--c-azul);
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.09);
}
.contacto-form textarea {
    resize: vertical;
    min-height: 120px;
}
.contacto-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contacto-form .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.97rem;
}

.form-nota {
    font-size: 0.8rem;
    color: var(--c-texto-suave);
    margin-top: 12px;
    text-align: center;
}
.form-nota i { color: #25D366; }

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contacto-info-item__icon {
    width: 48px;
    height: 48px;
    background: var(--c-azul);
    border-radius: var(--radio);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contacto-info-item__icon i {
    color: var(--c-amarillo);
    font-size: 1.1rem;
}
.contacto-info-item__title {
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 4px;
    color: var(--c-texto);
}
.contacto-info-item__text {
    font-size: 0.88rem;
    color: var(--c-texto-suave);
    line-height: 1.55;
}
.contacto-info-item__text a {
    color: var(--c-azul);
}
.contacto-info-item__text a:hover { color: var(--c-amarillo-hover); }

.mapa {
    margin-top: 20px;
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-md);
    border: 1.5px solid var(--c-borde);
}
.mapa iframe {
    width: 100%;
    height: 240px;
    border: none;
    display: block;
}


/* ----------------------------------------------------------------
   16. WHATSAPP FLOTANTE
   ---------------------------------------------------------------- */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42);
    transition: transform var(--transicion), box-shadow var(--transicion);
    color: var(--c-blanco);
    font-size: 1.65rem;
}
.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
    color: var(--c-blanco);
}


/* ----------------------------------------------------------------
   17. MEDIA QUERIES
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .servicios-grid,
    .servicios-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 44px;
    }

    .historia-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .historia-img { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }

    /* Nav mobile */
    .nav__toggle { display: flex; }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--c-azul);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        transform: translateX(100%);
        transition: transform var(--transicion);
        z-index: 1000;
    }
    .nav__menu.open { transform: translateX(0); }

    .nav__link {
        font-size: 1.12rem;
        padding: 12px 28px;
    }
    .nav__link--cta { margin-left: 0; margin-top: 8px; }

    /* Hero */
    .hero { background-attachment: scroll; }
    .hero__btns { flex-direction: column; }
    .hero__btns .btn { justify-content: center; }

    /* Quiénes */
    .quienes {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Servicios */
    .servicios-grid,
    .servicios-full-grid {
        grid-template-columns: 1fr;
    }

    /* Galería */
    .galeria-grid { grid-template-columns: repeat(2, 1fr); }

    /* Misión */
    .mv-grid,
    .por-que-grid {
        grid-template-columns: 1fr;
    }

    /* Contacto */
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contacto-form .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .galeria-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__scroll { display: none; }
}
