/* ==================================================
   CF HOLDING — styles.css
   Sitio corporativo · Crédito privado respaldado por activos
   Solo CSS puro. Sin frameworks. Compatible con todos
   los navegadores modernos (Chrome, Firefox, Safari, Edge).
   ================================================== */

/* ---------- 1. VARIABLES DE MARCA ---------- */
:root {
    /* Paleta (basada en el mockup aprobado) */
    --navy:       #0A1E3C;   /* Azul navy: hero, proceso, contacto */
    --navy-dark:  #071528;   /* Navy más oscuro (footer, fondos profundos) */
    --navy-2:     #102C52;   /* Navy secundario (tarjetas sobre navy) */
    --blue:       #1E5FAD;   /* Azul corporativo: botones y acentos */
    --blue-hover: #174C8C;   /* Azul al pasar el cursor */
    --blue-soft:  #E9F1FA;   /* Azul muy claro: círculos de íconos */
    --ink:        #16233A;   /* Texto principal */
    --gray:       #5B6B80;   /* Texto secundario */
    --light:      #F5F7FA;   /* Fondo gris claro */
    --line:       #E3E8EF;   /* Bordes y divisores */
    --white:      #FFFFFF;

    /* Tipografía */
    --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-logo: "EB Garamond", Georgia, "Times New Roman", serif;

    /* Layout */
    --container: 1180px;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(10, 30, 60, 0.08);
    --shadow-lift: 0 14px 34px rgba(10, 30, 60, 0.14);

    /* Transiciones */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;       /* Smooth scrolling nativo */
    scroll-padding-top: 78px;      /* Compensa la navbar fija */
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

.container {
    width: min(92%, var(--container));
    margin-left: auto;
    margin-right: auto;
}

/* Texto solo para lectores de pantalla (accesibilidad) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Enlace "saltar al contenido" (accesibilidad) */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: var(--white);
    padding: 10px 18px;
    z-index: 999;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Foco visible para navegación con teclado */
:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- 3. TIPOGRAFÍA ---------- */
h1, h2, h3 {
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem);  letter-spacing: -0.01em; }
h3 { font-size: 1.08rem; }

/* "Eyebrow": etiqueta pequeña sobre los títulos */
.eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}
.eyebrow-light { color: #9FC0E8; }

/* ---------- 4. BOTONES ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s var(--ease),
                box-shadow 0.25s var(--ease),
                background-color 0.25s var(--ease),
                border-color 0.25s var(--ease),
                color 0.25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--blue);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--blue-hover);
    box-shadow: 0 10px 22px rgba(30, 95, 173, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-nav { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- 5. NAVBAR (blanca, fija) ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease);
}

/* Estado "scrolled": sombra suave (lo activa script.js) */
.navbar.scrolled {
    box-shadow: 0 6px 20px rgba(10, 30, 60, 0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

/* Logo serif estilo "CF HOLDING" */
.logo {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo-word {
    font-size: 0.78em;
    letter-spacing: 0.22em;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-link {
    position: relative;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 0;
}
.nav-link:hover { color: var(--blue); text-decoration: none; }

/* Subrayado azul del enlace activo */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle-bar {
    width: 26px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
/* Animación a "X" cuando el menú está abierto */
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
    position: relative;
    background: linear-gradient(115deg, #0A1E3C 0%, #0C2348 60%, #11305E 100%);
    color: var(--white);
    margin-top: 70px;            /* Altura de la navbar fija */
    overflow: hidden;
}

/* --- Imagen corporativa del lado derecho ---
   Por defecto se dibuja un skyline abstracto en CSS puro.
   PARA USAR UNA FOTOGRAFÍA REAL:
   1) Suba su imagen a Hostinger (ej.: imagenes/edificio.jpg)
   2) Borre el bloque <div class="skyline">...</div> del HTML
   3) Agregue aquí:
        .hero-photo {
            background-image: url("imagenes/edificio.jpg");
            background-size: cover;
            background-position: center;
        }
   El degradado .hero-overlay ya funde la foto con el navy. */
.hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    pointer-events: none;
}

/* Skyline abstracto (torres con ventanas en CSS) */
.skyline {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 14px;
    padding-right: 6%;
    opacity: 0.85;
}
.tower {
    display: block;
    border-radius: 4px 4px 0 0;
    /* Ventanas iluminadas: patrón con degradados repetidos */
    background-image:
        repeating-linear-gradient(to right, rgba(173, 208, 244, 0.28) 0 7px, transparent 7px 16px),
        repeating-linear-gradient(to bottom, rgba(173, 208, 244, 0.22) 0 5px, transparent 5px 14px),
        linear-gradient(to bottom, #1B3A6A, #122B52);
    box-shadow: 0 0 60px rgba(60, 120, 200, 0.18);
}
.t1 { width: 64px;  height: 52%; }
.t2 { width: 92px;  height: 78%; }
.t3 { width: 70px;  height: 64%; }
.t4 { width: 110px; height: 92%; }
.t5 { width: 80px;  height: 70%; }

/* Degradado que funde la imagen con el navy del lado izquierdo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0A1E3C 0%, rgba(10, 30, 60, 0.55) 45%, rgba(10, 30, 60, 0.15) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 110px 0 90px;
}

.hero-copy { max-width: 560px; }

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 440px;
}

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

/* --- Franja de confianza --- */
.trust-strip {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 14, 30, 0.45);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 24px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; }

.trust-item h3 {
    color: var(--white);
    font-size: 0.92rem;
    margin-bottom: 2px;
}
.trust-item p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ---------- 7. SECCIONES GENERALES ---------- */
.section { padding: 92px 0; }

.section-light { background: var(--light); }

.section-navy {
    background: linear-gradient(150deg, var(--navy) 0%, #0D2750 100%);
    color: rgba(255, 255, 255, 0.85);
}
.section-navy h2 { color: var(--white); }

/* Cabecera de sección centrada (como en el mockup) */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

/* ---------- 8. QUIÉNES SOMOS ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: var(--gray); margin-bottom: 16px; }
.about-copy .btn { margin-top: 8px; }

/* Panel visual de oficina (CSS puro, reemplazable por <img>) */
.about-visual { width: 100%; }

.office-panel {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    background:
        linear-gradient(125deg, #131B26 0%, #1C2736 55%, #2A3A50 100%);
    box-shadow: var(--shadow-lift);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #2A3648;
}

.office-sign {
    font-family: var(--font-logo);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #E8ECF2;
    letter-spacing: 0.04em;
}
.office-sign em {
    font-style: normal;
    font-size: 0.72em;
    letter-spacing: 0.28em;
}

.office-line {
    width: 64px;
    height: 2px;
    background: #5B7AA6;
}

.office-caption {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8FA3BE;
}

/* Si usa una fotografía real, esta clase la ajusta al panel */
.about-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
}

/* ---------- 9. SOLUCIONES (CARDS) ---------- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--ease),
                box-shadow 0.3s var(--ease),
                border-color 0.3s var(--ease);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(30, 95, 173, 0.35);
}

.card-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.92rem; }

/* ---------- 10. PROCESO (círculos numerados) ---------- */
.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Línea punteada que conecta los pasos (solo desktop) */
.process-line {
    position: absolute;
    top: 26px;                 /* Centro vertical de los círculos */
    left: 12%;
    right: 12%;
    border-top: 1.5px dashed rgba(255, 255, 255, 0.35);
}

.process-step {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.step-circle {
    position: relative;
    z-index: 1;                /* Por encima de la línea punteada */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
}

.process-step h3 {
    color: var(--white);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

/* ---------- 11. ENFOQUE (sectores con íconos) ---------- */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.focus-item {
    text-align: center;
    padding: 18px 8px;
    border-radius: var(--radius);
    transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.focus-item:hover {
    background: var(--light);
    transform: translateY(-4px);
}

.focus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    color: var(--blue);
}
.focus-icon svg { width: 40px; height: 40px; }

.focus-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ---------- 12. DIFERENCIALES (columnas con divisores) ---------- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.diff-item {
    text-align: center;
    padding: 10px 22px;
    border-left: 1px solid var(--line);
}
.diff-item:first-child { border-left: none; }

.diff-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    color: var(--blue);
}
.diff-icon svg { width: 34px; height: 34px; }

.diff-item h3 {
    font-size: 0.98rem;
    margin-bottom: 8px;
}
.diff-item p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ---------- 13. EQUIPO ---------- */
.team-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.team-copy h2 { margin-bottom: 18px; }
.team-copy p { color: var(--gray); margin-bottom: 14px; }

.team-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.team-card {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 18px;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.team-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #D9E2EE;
    color: #5B7AA6;
    overflow: hidden;
}
.team-avatar svg { width: 56px; height: 56px; margin-top: 10px; }

.team-card h3 { font-size: 0.98rem; margin-bottom: 2px; }

.team-role {
    font-size: 0.84rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.team-linkedin:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
}
.team-linkedin svg { width: 14px; height: 14px; }

/* ---------- 14. CONTACTO ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 26px; }

.contact-channels {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-channels li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.channel-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.channel-icon svg { width: 19px; height: 19px; }

.contact-channels a {
    color: var(--white);
    font-weight: 500;
}
.contact-channels a:hover { color: #9FC0E8; }

.contact-closing {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* --- Formulario --- */
.contact-form { width: 100%; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.form-field { margin-bottom: 14px; }

.form-field input,
.form-field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid transparent;
    border-radius: 8px;
    padding: 13px 15px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: #8A97A8; }

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #9FC0E8;
    box-shadow: 0 0 0 3px rgba(159, 192, 232, 0.25);
}

/* Estado de error (lo aplica script.js) */
.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #E07A6B;
}
.form-error {
    display: block;
    font-size: 0.78rem;
    color: #FFB4A8;
    margin-top: 5px;
}

.form-success {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 8px;
    background: rgba(82, 170, 120, 0.18);
    border: 1px solid rgba(120, 200, 150, 0.45);
    color: #C9EFD8;
    font-size: 0.92rem;
}

/* ---------- 15. FOOTER ---------- */
.footer {
    background: #061224;
    color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 26px 0;
}

.logo-footer {
    font-size: 1.2rem;
    color: var(--white);
}

.footer-copy { font-size: 0.84rem; }

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
}
.footer-links a { color: rgba(255, 255, 255, 0.65); }
.footer-links a:hover { color: var(--white); }
.footer-divider { color: rgba(255, 255, 255, 0.3); }

/* ---------- 16. ANIMACIONES (SCROLL REVEAL) ---------- */
/* Los elementos .reveal inician ocultos; script.js añade .visible
   cuando entran en pantalla mediante IntersectionObserver. */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos escalonados para entradas en cascada */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Respeto a usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .card, .diff-item, .team-card, .focus-item { transition: none; }
}

/* ==================================================
   17. RESPONSIVE
   ================================================== */

/* --- Pantallas medianas / tablet (≤ 1024px) --- */
@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .process-line { display: none; }       /* La línea solo tiene sentido en una fila */
    .focus-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }

    .diff-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
    .diff-item:nth-child(4) { border-left: none; }

    .about-grid,
    .team-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .team-cards { grid-template-columns: repeat(3, 1fr); }
    .hero-photo { width: 70%; opacity: 0.55; }
}

/* --- Móvil (≤ 768px) --- */
@media (max-width: 768px) {
    .section { padding: 64px 0; }

    /* Menú móvil: panel lateral */
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(310px, 84vw);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 90px 28px 36px;
        box-shadow: -16px 0 44px rgba(10, 30, 60, 0.25);
        transform: translateX(105%);
        transition: transform 0.35s var(--ease);
    }
    .nav-menu.open { transform: translateX(0); }

    .nav-links {
        flex-direction: column;
        gap: 2px;
        width: 100%;
        margin-bottom: 24px;
    }
    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--line);
    }
    .nav-link::after { display: none; }

    .hero-inner { padding: 80px 0 70px; }
    .hero-photo { width: 100%; opacity: 0.3; }
    .hero-buttons .btn { width: 100%; text-align: center; }

    .trust-grid { grid-template-columns: 1fr; gap: 16px; }

    .grid-4,
    .process-grid,
    .team-cards { grid-template-columns: 1fr; }

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

    .diff-grid { grid-template-columns: 1fr; row-gap: 0; }
    .diff-item {
        border-left: none;
        border-top: 1px solid var(--line);
        padding: 24px 10px;
    }
    .diff-item:first-child { border-top: none; }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Móvil pequeño (≤ 420px) --- */
@media (max-width: 420px) {
    h1 { font-size: 1.9rem; }
    .focus-grid { grid-template-columns: 1fr; }
}
