/*
=================================================================
SN ESTUDIO — HOJA DE ESTILOS
=================================================================

MAPA DEL ARCHIVO
01. Variables globales de color y tamaño
02. Normalización y elementos generales
03. Barra superior y navegación
04. Hero principal
05. Secciones y tarjetas
06. Bloques con fotografías
07. Método
08. Niveles
09. Promoción
10. Formulario
11. FAQ y footer
12. Barra móvil
13. Diseño de escritorio
14. Diseño móvil y corrección del hero

CAMBIOS RÁPIDOS
- Colores principales: editar variables dentro de :root
- Ancho máximo general: buscar .container
- Punto de cambio móvil/escritorio: 760px
- Fotografías de sección: son <img class="photo-bg"> dentro del HTML,
  no fondos CSS. Para cambiarlas, editar index.html (src y alt).
- Foto del hero: buscar .hero::before en este archivo.
  Si se cambia, actualizar también el <link rel="preload"> del index.
- Hero móvil: buscar "HOTFIX MOBILE HERO"

No eliminar las reglas responsive sin probar previamente en móvil.
=================================================================
*/

/* 01. VARIABLES GLOBALES: colores, sombras y radios */
    :root {
      --navy:#071735; --navy2:#020817; --navy3:#0d2148;
      --gold:#d99a2b; --gold2:#f1b64d; --cream:#fbf7ef; --cream2:#fff3dc;
      --white:#ffffff; --ink:#111827; --muted:#647084; --line:rgba(7,23,53,.12);
      --shadow:0 24px 80px rgba(2,8,23,.20); --radius:28px;
    }
    /* 02. NORMALIZACIÓN Y ESTILOS GENERALES */
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--cream);overflow-x:hidden}
    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}
    .skip{position:absolute;left:-999px;top:auto}
    .skip:focus{left:16px;top:16px;z-index:9999;background:white;padding:12px;border-radius:12px}
    /* 03. BARRA SUPERIOR Y NAVEGACIÓN */
    .topbar{position:fixed;top:0;left:0;right:0;z-index:90;background:linear-gradient(90deg,var(--gold),#e9b75c);color:var(--navy);font-weight:900;font-size:12px;letter-spacing:.02em;text-align:center;padding:8px 14px;box-shadow:0 10px 30px rgba(0,0,0,.15)}
    .nav{position:fixed;top:33px;left:0;right:0;z-index:90;padding:12px 16px;transition:.25s}
    .nav-inner{max-width:1180px;margin:auto;border:1px solid rgba(255,255,255,.18);background:rgba(7,23,53,.72);backdrop-filter:blur(18px);border-radius:999px;display:flex;align-items:center;justify-content:space-between;padding:8px 10px 8px 12px;box-shadow:0 12px 40px rgba(0,0,0,.18)}
    .brand{display:flex;align-items:center;gap:10px;color:white;font-weight:900;letter-spacing:.05em}
    .brand img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid rgba(217,154,43,.5)}
    .brand small{display:block;color:rgba(255,255,255,.68);font-weight:700;font-size:10px;letter-spacing:.16em;margin-top:1px}
    .links{display:none;align-items:center;gap:24px;color:white;font-weight:800;font-size:14px}
    .nav-cta{background:var(--gold);color:var(--navy);padding:12px 16px;border-radius:999px;font-weight:900;font-size:13px;box-shadow:0 12px 26px rgba(217,154,43,.25)}
    .menu-btn{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:white;font-size:22px}
    .mobile-menu{position:fixed;inset:92px 16px auto 16px;z-index:100;background:white;border-radius:26px;padding:14px;box-shadow:var(--shadow);display:none}
    .mobile-menu.open{display:block}
    .mobile-menu a{display:block;padding:16px;border-radius:16px;font-weight:900;color:var(--navy)}
    .mobile-menu a.primary{background:var(--navy);color:white;text-align:center;margin-top:6px}

    /* 04. HERO PRINCIPAL */
    .hero{min-height:100svh;position:relative;color:white;background:var(--navy);overflow:hidden;display:flex;align-items:flex-end;padding:126px 16px 28px}
    .hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,23,.42),rgba(2,8,23,.82)),url('../images/production/hero-library.jpg') center/cover;transform:scale(1.03)}
    .hero::after{content:"";position:absolute;inset:auto -18% -22% -18%;height:42%;background:radial-gradient(circle at 50% 0%,rgba(217,154,43,.42),transparent 62%)}
    .hero-content{position:relative;z-index:1;width:100%;max-width:1180px;margin:0 auto;display:grid;gap:22px}
    .eyebrow{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.20);font-weight:900;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
    .dot{width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 6px rgba(217,154,43,.15)}
    h1{font-family:'Playfair Display',serif;font-size:clamp(46px,14vw,96px);line-height:.92;margin:0;letter-spacing:-.05em;max-width:920px;text-wrap:balance}
    h1 span{color:var(--gold2)}
    .lead{font-size:clamp(17px,4.8vw,24px);line-height:1.5;max-width:760px;color:rgba(255,255,255,.90);margin:0}
    .hero-actions,.actions{display:flex;gap:12px;flex-wrap:wrap}
    .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:15px 18px;font-weight:900;border:1px solid transparent;min-height:52px;transition:.2s;cursor:pointer}
    .btn.gold{background:var(--gold);color:var(--navy);box-shadow:0 18px 42px rgba(217,154,43,.30)}
    .btn.dark{background:var(--navy);color:white;box-shadow:0 18px 42px rgba(7,23,53,.18)}
    .btn.ghost{background:rgba(255,255,255,.10);color:white;border-color:rgba(255,255,255,.28)}
    .btn.white{background:white;color:var(--navy)}
    .btn.full{width:100%}
    .trust-row{display:flex;gap:10px;overflow:auto;padding:2px 0 8px;scrollbar-width:none}
    .pill{white-space:nowrap;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.09);font-weight:800;font-size:13px;color:rgba(255,255,255,.92)}
    .hero-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(18px);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
    .promo-line{display:flex;align-items:center;justify-content:space-between;gap:18px}
    .promo-line strong{font-size:26px;color:var(--gold2);display:block;line-height:1}
    .promo-line p{margin:.35rem 0 0;color:rgba(255,255,255,.78);font-weight:700}
    .logo-medal{width:90px;height:90px;border-radius:50%;object-fit:cover;box-shadow:0 14px 36px rgba(0,0,0,.30);border:2px solid rgba(217,154,43,.75)}

    /* 05. SECCIONES, CONTENEDORES Y TARJETAS */
    section{padding:70px 16px}
    .container{max-width:1180px;margin:0 auto}
    .section-head{margin-bottom:28px}
    .label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:1000;color:var(--gold);margin:0 0 12px}
    h2{font-family:'Playfair Display',serif;font-size:clamp(34px,8vw,64px);line-height:1;margin:0 0 16px;letter-spacing:-.04em;color:var(--navy)}
    .section-head p{font-size:18px;line-height:1.6;color:var(--muted);margin:0;max-width:780px}
    .grid{display:grid;gap:16px}
    .cards{grid-template-columns:1fr}
    .card{background:white;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 16px 48px rgba(7,23,53,.07)}
    .icon{width:48px;height:48px;border-radius:16px;background:var(--cream2);display:grid;place-items:center;color:var(--gold);font-size:24px;margin-bottom:16px}
    .card h3{margin:0 0 8px;color:var(--navy);font-size:21px;letter-spacing:-.02em}
    .card p{margin:0;color:var(--muted);line-height:1.55}

    /* 06. BLOQUES DIVIDIDOS Y FOTOGRAFÍAS */
    .split{display:grid;gap:24px;align-items:center}
    /* Las fotos van como <img class="photo-bg"> dentro del panel,
       no como background-image, para que Google pueda indexarlas
       y leer su texto alternativo. El degradado lo pone ::before. */
    .photo-panel{min-height:440px;border-radius:34px;overflow:hidden;position:relative;box-shadow:var(--shadow);background:var(--navy)}
    .photo-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
    .photo-panel::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(2,8,23,.05),rgba(2,8,23,.52))}
    .photo-caption{position:absolute;z-index:2;left:18px;right:18px;bottom:18px;background:rgba(255,255,255,.92);border-radius:24px;padding:18px;border:1px solid rgba(255,255,255,.5)}
    .photo-caption strong{display:block;color:var(--navy);font-size:20px;margin-bottom:4px}
    .photo-caption span{color:var(--muted);font-weight:600}
    .problem-list{display:grid;gap:12px}
    .problem-item{display:flex;gap:12px;align-items:flex-start;background:white;border-radius:20px;padding:15px;border:1px solid var(--line);font-weight:800;color:var(--navy)}
    .problem-item i{font-style:normal;color:var(--gold);font-weight:1000}

    /* 07. MÉTODO SN */
    .method{background:var(--navy);color:white;position:relative;overflow:hidden}
    .method::before{content:"";position:absolute;inset:-20% -20% auto auto;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,rgba(217,154,43,.27),transparent 70%)}
    .method h2{color:white}
    .method .section-head p{color:rgba(255,255,255,.76)}
    .steps{display:grid;gap:14px;position:relative}
    .step{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:18px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:flex-start}
    .num{width:44px;height:44px;border-radius:50%;background:var(--gold);color:var(--navy);display:grid;place-items:center;font-weight:1000}
    .step h3{margin:0 0 5px;font-size:19px}
    .step p{margin:0;color:rgba(255,255,255,.74);line-height:1.55}

    /* 08. NIVELES ACADÉMICOS */
    .levels{background:white}
    .level-card{min-height:230px;display:flex;flex-direction:column;justify-content:space-between;background:var(--cream);border-radius:26px;padding:22px;border:1px solid var(--line)}
    .level-card:nth-child(even){background:var(--navy);color:white}
    .level-card:nth-child(even) h3,.level-card:nth-child(even) p{color:white}
    .level-card h3{font-family:'Playfair Display',serif;font-size:30px;color:var(--navy);margin:0 0 10px}
    .level-card p{color:var(--muted);line-height:1.55;margin:0}
    .level-card a{margin-top:22px;color:var(--gold);font-weight:900}

    /* Mismo criterio que .photo-panel: la foto es un <img> indexable. */
    .full-photo{min-height:92svh;position:relative;overflow:hidden;background:var(--navy);display:flex;align-items:flex-end;color:white;padding:72px 16px}
    .full-photo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(2,8,23,.35),rgba(2,8,23,.78))}
    .full-photo .container{position:relative;z-index:2;width:100%}
    .full-photo h2{color:white;max-width:760px}
    .full-photo p{font-size:20px;line-height:1.55;color:rgba(255,255,255,.86);max-width:700px}
    .glass{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(18px);border-radius:34px;padding:24px;box-shadow:var(--shadow)}

    /* 09. PROMOCIÓN */
    .promo{background:linear-gradient(135deg,var(--navy),var(--navy2));color:white}
    .promo h2{color:white}
    .promo-box{display:grid;gap:20px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04));border:1px solid rgba(217,154,43,.32);border-radius:34px;padding:22px;box-shadow:var(--shadow)}
    .badge{display:inline-block;width:max-content;max-width:100%;padding:9px 12px;border-radius:999px;background:var(--gold);color:var(--navy);font-weight:1000;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
    .promo-title{font-family:'Playfair Display',serif;font-size:clamp(38px,10vw,78px);line-height:.95;margin:0;color:white}
    .promo-title span{color:var(--gold2)}
    .promo ul{padding:0;margin:18px 0 0;list-style:none;display:grid;gap:10px}
    .promo li{font-weight:800;color:rgba(255,255,255,.86)}
    .promo li::before{content:'✓';color:var(--gold2);margin-right:9px}

    /* 10. FORMULARIO DE CONTACTO */
    .lead-section{background:var(--cream)}
    .lead-box{display:grid;gap:22px;background:white;border-radius:34px;box-shadow:var(--shadow);overflow:hidden;border:1px solid var(--line)}
    .lead-copy{padding:26px;background:linear-gradient(180deg,var(--navy),var(--navy3));color:white}
    .lead-copy h2{color:white}
    .lead-copy p{color:rgba(255,255,255,.76);line-height:1.6}
    .lead-copy ul{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px}
    .lead-copy li{display:flex;gap:10px;font-weight:800}
    .lead-copy li::before{content:'•';color:var(--gold);font-size:24px;line-height:15px}
    form{padding:26px;display:grid;gap:14px}
    .field{display:grid;gap:7px}
    label{font-size:13px;font-weight:900;color:var(--navy)}
    input,select,textarea{width:100%;border:1px solid rgba(7,23,53,.15);border-radius:16px;padding:15px 14px;font:inherit;background:#fff;color:var(--ink);outline:none}
    textarea{min-height:100px;resize:vertical}
    input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(217,154,43,.16)}
    .privacy{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:12px;line-height:1.45}
    .privacy input{width:18px;margin-top:2px}
    .form-note{font-size:13px;color:var(--muted);text-align:center;margin:0}

    /* 11. FAQ Y PIE DE PÁGINA */
    .faq details{background:white;border:1px solid var(--line);border-radius:20px;padding:18px;margin-bottom:12px}
    .faq summary{font-weight:900;color:var(--navy);cursor:pointer}
    .faq p{color:var(--muted);line-height:1.6;margin:12px 0 0}
    footer{background:var(--navy2);color:white;padding:52px 16px 94px}
    .footer-grid{display:grid;gap:22px}
    .footer-logo{display:flex;gap:12px;align-items:center}
    .footer-logo img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:1px solid var(--gold)}
    footer p, footer a{color:rgba(255,255,255,.72);line-height:1.6}
    /* 12. BARRA FIJA DE CONTACTO EN MÓVIL */
    .bottom-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:99;background:rgba(2,8,23,.84);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:8px;display:grid;grid-template-columns:1fr 1.35fr;gap:8px;box-shadow:0 18px 60px rgba(0,0,0,.35)}
    .bottom-bar a{border-radius:999px;text-align:center;padding:13px 10px;font-weight:1000;font-size:14px}
    .bottom-bar .call{background:white;color:var(--navy)}
    .bottom-bar .wa{background:#25d366;color:#06210f}
    /* 13. ESCRITORIO Y TABLET HORIZONTAL */
    @media (min-width:760px){
      .links{display:flex} .menu-btn{display:none} .nav-cta{padding:13px 20px}
      .hero{padding:150px 28px 54px;align-items:center}
      .hero-content{grid-template-columns:1.1fr .72fr;align-items:end}
      .hero-card{align-self:end}
      .cards{grid-template-columns:repeat(3,1fr)}
      .split{grid-template-columns:1fr 1fr;gap:48px}
      .steps{grid-template-columns:repeat(3,1fr)}
      .levels-grid{grid-template-columns:repeat(3,1fr)}
      .promo-box{grid-template-columns:1.2fr .8fr;align-items:center;padding:46px}
      .lead-box{grid-template-columns:.88fr 1.12fr}
      .lead-copy,form{padding:44px}
      .footer-grid{grid-template-columns:1.2fr .8fr .8fr}
      .bottom-bar{display:none}
    }
    /* 14. MÓVIL */
    @media (max-width:759px){
      .brand span{font-size:13px} .nav-inner{padding-right:8px}
      .hero-actions .btn{width:100%}
      h1{margin-top:8px}
      section{padding:58px 16px}
      .photo-panel{min-height:480px;margin-inline:-16px;border-radius:0}
      .split.reverse .photo-panel{order:-1}
      .full-photo{margin-top:0;padding-bottom:36px}
      .glass{padding:20px}
      .level-card{min-height:190px}
    }


    /* 15. PÁGINAS SECUNDARIAS: privacidad y error 404 */
    .page-simple{background:var(--cream);min-height:100vh;padding:110px 16px 70px}
    .page-simple .container{max-width:820px}
    .page-simple h1{font-size:clamp(34px,7vw,56px);color:var(--navy);line-height:1.02;margin:0 0 10px}
    .page-simple h2{font-size:clamp(24px,4vw,32px);margin:38px 0 12px}
    .page-simple h3{font-family:'Playfair Display',serif;color:var(--navy);font-size:21px;margin:24px 0 8px}
    .page-simple p,.page-simple li{color:var(--muted);line-height:1.7}
    .page-simple ul{padding-left:20px;display:grid;gap:8px}
    .page-simple a:not(.btn){color:var(--gold);font-weight:800;text-decoration:underline}
    .page-simple .back{display:inline-flex;margin-top:36px}
    .page-simple .updated{font-size:13px;color:var(--muted);font-weight:700}
    .page-center{display:grid;place-items:center;text-align:center}

    /* HOTFIX MOBILE HERO - v2: evita cortes horizontales en iPhone/Android */
    @media (max-width: 759px){
      html, body { width:100%; max-width:100%; overflow-x:hidden; }
      body { padding-bottom: 86px; }
      .topbar{position:sticky; top:0; padding:10px 14px; line-height:1.15; font-size:12px; z-index:95;}
      .nav{position:sticky; top:0; padding:10px 10px; z-index:94;}
      .nav-inner{width:100%; max-width:100%; padding:8px; border-radius:28px; gap:8px;}
      .brand{min-width:0; gap:8px;}
      .brand img{width:42px; height:42px; flex:0 0 42px;}
      .brand strong{font-size:16px; line-height:1.05; white-space:nowrap;}
      .brand small{font-size:9px;}
      .nav-cta{padding:12px 14px; font-size:14px; flex:0 0 auto; max-width:132px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
      .menu-btn{width:44px;height:44px; flex:0 0 44px;}
      .mobile-menu{inset:86px 10px auto 10px;}

      .hero{
        min-height:auto;
        display:block;
        padding:34px 14px 110px;
        overflow:hidden;
      }
      .hero::before{background-position:center top; transform:none;}
      .hero-content{display:block; width:100%; max-width:100%; margin:0;}
      .eyebrow{max-width:100%; width:100%; justify-content:center; white-space:normal; text-align:center; font-size:11px; padding:9px 10px;}
      h1{
        font-size:clamp(38px, 12.2vw, 48px);
        line-height:.98;
        letter-spacing:-.045em;
        max-width:100%;
        margin:18px 0 10px;
        overflow-wrap:normal;
      }
      .lead{font-size:18px; line-height:1.42; max-width:100%; margin:0 0 18px;}
      .hero-actions{display:grid; grid-template-columns:1fr; gap:10px; width:100%; margin:18px 0 16px;}
      .hero-actions .btn{width:100%; max-width:100%; min-width:0; padding:15px 16px; white-space:normal; text-align:center; line-height:1.15;}
      .trust-row{display:grid; grid-template-columns:1fr; gap:8px; overflow:visible; padding:0; margin:10px 0 18px;}
      .pill{white-space:normal; text-align:center; font-size:13px; padding:11px 12px;}
      .hero-card{padding:16px; border-radius:24px; margin-top:16px; width:100%; max-width:100%;}
      .promo-line{display:block; text-align:left;}
      .promo-line strong{font-size:22px; line-height:1.1;}
      .logo-medal{display:none;}
      .bottom-bar{left:10px; right:10px; bottom:calc(10px + env(safe-area-inset-bottom)); border-radius:28px; grid-template-columns:1fr 1.25fr;}
      .bottom-bar a{font-size:15px; padding:14px 8px;}
    }
