  :root{
    --navy:#16245c;
    --navy-2:#1d2f73;
    --navy-deep:#0c1638;
    --black:#05070f;
    --gold:#f4a81d;
    --gold-2:#ffc24b;
    --ink:#0f1733;
    --muted:#5a647e;
    --line:#e3e7f0;
    --paper:#f5f6fb;
    --white:#ffffff;
    --maxw:1200px;
    --head-h:118px;
    --r:16px;
    --shadow:0 18px 50px rgba(12,22,56,.12);
    --shadow-sm:0 8px 24px rgba(12,22,56,.08);
    --ease:cubic-bezier(.22,.61,.36,1);
  }
  *{margin:0;padding:0;box-sizing:border-box}
  html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
  body{font-family:"Inter",system-ui,sans-serif;color:var(--ink);background:var(--white);line-height:1.6;overflow-x:hidden}
  body.intro-lock{overflow:hidden;height:100vh}
  a{color:inherit;text-decoration:none}
  img{max-width:100%;display:block}
  h1,h2,h3,h4{font-family:"Archivo",sans-serif;line-height:1.1;letter-spacing:-.01em}
  ::selection{background:var(--gold);color:var(--navy-deep)}

  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
  .section{padding:90px 0}
  .h-title{font-size:clamp(28px,4vw,46px);font-weight:800;color:var(--navy)}
  .h-title.light{color:#fff}
  .lead{font-size:17px;color:var(--muted);max-width:660px;margin-top:14px}
  .lead.light{color:rgba(255,255,255,.78)}
  .head{margin-bottom:50px}
  .head.center{text-align:center;max-width:720px;margin-left:auto;margin-right:auto}

  /* ===================== INTRO ===================== */
  .intro{position:fixed;inset:0;z-index:9999;background:radial-gradient(60% 60% at 50% 45%,#0c1638 0%,#05070f 80%);display:flex;align-items:center;justify-content:center;animation:introOut .9s var(--ease) 2.3s forwards}
  .intro img{width:min(74vw,380px);animation:introPop 1.25s cubic-bezier(.18,.89,.32,1.28) both}
  .intro::after{content:"";position:absolute;bottom:46px;left:50%;transform:translateX(-50%);width:54px;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,var(--gold),transparent);animation:introBar 1.4s ease-in-out infinite}
  @keyframes introPop{0%{transform:scale(.35) translateY(40px);opacity:0}50%{transform:scale(1.08) translateY(0);opacity:1}70%{transform:scale(.97)}85%{transform:scale(1.02)}100%{transform:scale(1)}}
  @keyframes introOut{to{opacity:0;visibility:hidden}}
  @keyframes introBar{0%,100%{opacity:.3;width:30px}50%{opacity:1;width:64px}}

  /* ===================== BUTTONS ===================== */
  .btn{display:inline-flex;align-items:center;gap:10px;font-family:"Archivo",sans-serif;font-weight:700;font-size:15px;padding:15px 26px;border-radius:10px;border:none;cursor:pointer;transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease);white-space:nowrap}
  .btn svg{width:18px;height:18px}
  .btn-gold{background:var(--gold);color:var(--navy-deep);box-shadow:0 10px 28px rgba(244,168,29,.35)}
  .btn-gold:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(244,168,29,.45);background:var(--gold-2)}
  .btn-navy{background:var(--navy);color:#fff}
  .btn-navy:hover{transform:translateY(-3px);background:var(--navy-2)}
  .btn-ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.4)}
  .btn-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff;transform:translateY(-3px)}
  .btn-wa{background:#25d366;color:#fff;box-shadow:0 10px 26px rgba(37,211,102,.35)}
  .btn-wa:hover{background:#20bd5a;transform:translateY(-3px);box-shadow:0 16px 32px rgba(37,211,102,.45)}
  .btn-wa svg{width:22px;height:22px;fill:#fff}
  .vermas{display:inline-flex;align-items:center;gap:8px;font-family:"Archivo",sans-serif;font-weight:700;font-size:14px;color:var(--navy);transition:gap .2s,color .2s}
  .vermas svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
  .vermas:hover{color:var(--gold)}
  .vermas:hover svg{transform:translateX(4px)}

  /* ===================== TOP BAR (redes protagonistas) ===================== */
  .topbar{background:var(--navy-deep);color:rgba(255,255,255,.9)}
  .topbar .wrap{display:flex;align-items:center;justify-content:space-between;height:46px;gap:16px}
  .topbar .tagline{font-family:"Archivo",sans-serif;font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:11.5px;color:rgba(255,255,255,.7)}
  .topbar .tb-social{display:flex;align-items:center;gap:8px}
  .topbar .tb-social .ig-handle{font-family:"Archivo",sans-serif;font-weight:700;font-size:12.5px;color:var(--gold-2);margin-right:6px;letter-spacing:.02em}
  .topbar .tb-social a.ico{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,.08);transition:background .25s,transform .25s}
  .topbar .tb-social a.ico:hover{background:var(--gold);transform:translateY(-2px)}
  .topbar .tb-social a.ico svg{width:17px;height:17px;fill:#fff}
  .topbar .tb-social a.ico:hover svg{fill:var(--navy-deep)}

  /* ===================== HEADER ===================== */
  header{position:sticky;top:0;z-index:90;background:transparent;border-bottom:1px solid transparent;transition:background .35s,box-shadow .35s,border-color .35s}
  header.scrolled{background:#fff;border-bottom-color:var(--line);box-shadow:0 6px 24px rgba(12,22,56,.08)}
  .nav{display:flex;align-items:center;justify-content:space-between;height:var(--head-h);transition:height .3s}
  header.scrolled .nav{height:118px}
  .nav .logo img{height:96px;width:auto;opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s,height .3s}
  header.scrolled .nav .logo img{height:104px;opacity:1;visibility:visible}
  .nav-links{display:flex;align-items:center;gap:30px}
  .nav-links a{font-family:"Archivo",sans-serif;font-weight:600;font-size:14.5px;color:#fff;position:relative;padding:6px 0;transition:color .3s}
  header.scrolled .nav-links a{color:var(--navy)}
  .nav-links a::after{content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:var(--gold);transition:width .28s var(--ease)}
  .nav-links a:hover::after{width:100%}
  .nav-cta{display:flex;align-items:center;gap:14px}
  .burger{display:none;background:none;border:none;cursor:pointer;width:42px;height:42px;align-items:center;justify-content:center}
  .burger span{display:block;width:24px;height:2.5px;background:#fff;border-radius:2px;position:relative;transition:.3s}
  .burger span::before,.burger span::after{content:"";position:absolute;left:0;width:24px;height:2.5px;background:#fff;border-radius:2px;transition:.3s}
  header.scrolled .burger span,header.scrolled .burger span::before,header.scrolled .burger span::after{background:var(--navy)}
  .burger span::before{top:-7px}.burger span::after{top:7px}
  .burger.open span{background:transparent}
  .burger.open span::before{top:0;transform:rotate(45deg)}
  .burger.open span::after{top:0;transform:rotate(-45deg)}

  /* ===================== HERO ===================== */
  .hero{position:relative;min-height:72vh;margin-top:calc(-1 * var(--head-h) - 1px);display:flex;align-items:flex-start;color:#fff;
    background:linear-gradient(180deg,rgba(5,7,12,.82) 0%,rgba(7,10,18,.66) 45%,rgba(5,7,12,.88) 100%),
      url('https://img.clemix.cl/uploads/img-20260616-wa0078.webp') center/cover no-repeat;}
  .hero .wrap{position:relative;z-index:2;text-align:center;max-width:var(--maxw);margin:0 auto;padding:calc(var(--head-h) + 18px) 24px 44px;display:flex;flex-direction:column;align-items:center}
  .hero-logo{display:inline-flex;justify-content:center;margin-bottom:20px;max-width:92%}
  .hero-logo img{height:clamp(180px,22vw,270px);width:auto;max-width:100%;display:block;filter:drop-shadow(0 16px 40px rgba(0,0,0,.45))}
  .hero-tag{font-family:"Archivo",sans-serif;font-weight:600;font-size:14px;letter-spacing:.03em;color:var(--gold-2);margin-bottom:12px;max-width:580px}
  .hero-flags{display:flex;gap:9px;justify-content:center;margin-bottom:18px}
  .hero-flags .flag{width:30px;height:20px;border-radius:3px;box-shadow:0 2px 8px rgba(0,0,0,.35);display:block}
  .hero h1{font-size:clamp(36px,5.6vw,62px);font-weight:900;color:#fff;margin:0 auto 20px;max-width:920px}
  .hero h1 .accent{color:var(--gold-2)}
  .hero p.sub{font-size:19px;color:rgba(255,255,255,.85);max-width:600px;margin:0 auto 32px}
  .hero-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:center}
  .hero-social{display:flex;gap:12px;margin-top:38px;align-items:center;justify-content:center}
  .hero-social .hs-lbl{font-family:"Archivo",sans-serif;font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.6)}
  .hero-social a{width:42px;height:42px;border-radius:11px;background:rgba(255,255,255,.1);display:grid;place-items:center;transition:background .25s,transform .25s}
  .hero-social a:hover{background:var(--gold);transform:translateY(-3px)}
  .hero-social svg{width:20px;height:20px;fill:#fff}
  .hero-social a:hover svg{fill:var(--navy-deep)}

  /* ===================== REPRESENTACIONES (PRINCIPAL) ===================== */
  .reps{background:var(--paper)}
  .reps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:30px;align-items:start}
  .rep{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .35s var(--ease),box-shadow .35s;display:flex;flex-direction:column;height:100%}
  .rep:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
  .rep .rep-top{position:relative;background:#fff;border-bottom:1px solid var(--line);padding:34px 28px;display:flex;align-items:center;justify-content:center;height:230px}
  .rep .rep-top img{max-height:130px;max-width:88%;width:auto;object-fit:contain}
  .rep .rep-top img.rep-logo-toro{max-height:200px;max-width:98%}
  .rep .rep-excl{position:absolute;top:16px;left:16px;background:var(--navy);color:#fff;font-family:"Archivo",sans-serif;font-weight:700;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;padding:6px 12px;border-radius:6px}
  .rep .rep-body{padding:32px;flex:1;display:flex;flex-direction:column}
  .rep .rep-body h3{font-size:21px;font-weight:700;color:var(--navy);margin-bottom:12px}
  .rep .rep-body p{color:var(--muted);font-size:15px;margin-bottom:20px}
  .rep .rep-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
  .rep .rep-tags span{font-size:12.5px;font-weight:600;color:var(--navy);background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:6px 13px}
  .rep .rep-body .vermas{margin-top:auto;padding-top:6px}

  /* ===================== ASESORÍA ===================== */
  .asesoria{background:#fff}
  .ases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
  .ases{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:34px 30px;transition:transform .35s var(--ease),box-shadow .35s}
  .ases:hover{transform:translateY(-6px);box-shadow:var(--shadow-sm)}
  .ases .ic{width:54px;height:54px;border-radius:13px;background:linear-gradient(140deg,var(--navy),var(--navy-2));display:grid;place-items:center;margin-bottom:20px}
  .ases .ic svg{width:26px;height:26px;stroke:var(--gold-2);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .ases h3{font-size:19px;font-weight:700;color:var(--navy);margin-bottom:9px}
  .ases p{color:var(--muted);font-size:15px}

  /* ===================== ALLANA (marca + redes) ===================== */
  .allana{background:linear-gradient(150deg,#05070f 0%,#0a1024 55%,#0c1638 100%);color:#fff}
  .allana .wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:start}
  .allana-media{display:flex;justify-content:center;position:sticky;top:100px}
  .allana-media img{max-width:360px;width:100%;aspect-ratio:1/1.18;object-fit:cover;object-position:top;border-radius:16px;box-shadow:0 22px 55px rgba(0,0,0,.5);display:block}
  .allana h2{font-size:clamp(26px,3.4vw,40px);font-weight:800;color:#fff;margin-bottom:8px}
  .allana .role{font-family:"Archivo",sans-serif;font-weight:600;font-size:15px;color:var(--gold-2);letter-spacing:.04em;margin-bottom:20px}
  .allana p{color:rgba(255,255,255,.78);font-size:15.5px;max-width:600px;margin-bottom:18px;text-align:justify}
  .allana .bio-lead{font-size:17px;color:#fff;font-weight:500;margin-bottom:18px;line-height:1.65}
  .bio-full{max-height:0;overflow:hidden;opacity:0;transition:max-height .55s ease,opacity .45s}
  .bio-full.open{max-height:2200px;opacity:1}
  .bio-toggle{margin-top:12px;display:inline-flex;align-items:center;gap:8px;background:transparent;border:1.5px solid var(--gold-2);color:var(--gold-2);font-family:"Archivo",sans-serif;font-weight:600;font-size:14px;letter-spacing:.02em;padding:11px 22px;border-radius:9px;cursor:pointer;transition:background .2s,color .2s}
  .bio-toggle:hover{background:var(--gold-2);color:var(--navy)}
  .bio-toggle svg{width:15px;height:15px;transition:transform .3s}
  .bio-toggle.open svg{transform:rotate(180deg)}
  .social-block{display:flex;flex-direction:column;gap:14px;margin-top:34px}
  .social-block .sb-lbl{font-family:"Archivo",sans-serif;font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55)}
  .social-row{display:flex;gap:14px;flex-wrap:wrap}
  .social-pill{display:inline-flex;align-items:center;gap:11px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:13px 20px;transition:transform .25s var(--ease),background .25s,border-color .25s}
  .social-pill:hover{transform:translateY(-3px);background:rgba(255,255,255,.1);border-color:var(--gold)}
  .social-pill svg{width:22px;height:22px;fill:#fff}
  .social-pill .sp-txt{display:flex;flex-direction:column;line-height:1.1}
  .social-pill .sp-net{font-family:"Archivo",sans-serif;font-weight:700;font-size:14px;color:#fff}
  .social-pill .sp-handle{font-size:12px;color:rgba(255,255,255,.6)}

  /* ===================== CONTACTO ===================== */
  .contacto{background:var(--paper)}
  .contacto .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px}
  .contact-info h2{margin-bottom:16px}
  .contact-info .lead{margin-bottom:30px}
  .contact-list{display:flex;flex-direction:column;gap:20px}
  .ci-item{display:flex;gap:16px;align-items:flex-start}
  .ci-item .ic{flex:0 0 46px;width:46px;height:46px;border-radius:11px;background:var(--navy);display:grid;place-items:center}
  .ci-item .ic svg{width:21px;height:21px;stroke:var(--gold-2);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .ci-item .ci-lbl{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:600}
  .ci-item .ci-val{font-family:"Archivo",sans-serif;font-weight:600;font-size:16px;color:var(--ink)}
  .contact-form{background:#fff;border:1px solid var(--line);border-radius:18px;padding:38px}
  .contact-form h3{font-size:21px;font-weight:700;color:var(--navy);margin-bottom:6px}
  .contact-form .fhint{font-size:14px;color:var(--muted);margin-bottom:24px}
  .field{margin-bottom:18px}
  .field label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:7px}
  .field input,.field textarea{width:100%;padding:13px 15px;border:1.5px solid var(--line);border-radius:10px;font-family:"Inter",sans-serif;font-size:15px;color:var(--ink);background:#fff;transition:border-color .2s,box-shadow .2s}
  .field input:focus,.field textarea:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(22,36,92,.1)}
  .field textarea{resize:vertical;min-height:110px}
  .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .contact-form .btn-wa{width:100%;justify-content:center}

  /* ===================== FOOTER (logo protagonista) ===================== */
  footer{background:var(--navy-deep);color:rgba(255,255,255,.7);padding:0 0 0}
  .foot-hero{text-align:center;padding:64px 0 54px;border-bottom:1px solid rgba(255,255,255,.12)}
  .foot-logo-plate{display:inline-block;background:#fff;border-radius:18px;padding:30px 52px;box-shadow:0 18px 50px rgba(0,0,0,.4)}
  .foot-logo-plate img{height:150px;width:auto}
  .foot-social{display:flex;justify-content:center;gap:14px;margin-top:34px}
  .foot-social a{width:50px;height:50px;border-radius:13px;background:rgba(255,255,255,.08);display:grid;place-items:center;transition:background .25s,transform .25s}
  .foot-social a:hover{background:var(--gold);transform:translateY(-4px)}
  .foot-social svg{width:23px;height:23px;fill:#fff}
  .foot-social a:hover svg{fill:var(--navy-deep)}
  .foot-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:40px;padding:54px 0}
  .foot-col h4{font-family:"Archivo",sans-serif;font-size:14px;font-weight:700;color:#fff;letter-spacing:.06em;text-transform:uppercase;margin-bottom:20px}
  .foot-col ul{list-style:none;display:flex;flex-direction:column;gap:12px}
  .foot-col ul li a,.foot-col ul li{font-size:14.5px;color:rgba(255,255,255,.7);transition:color .2s}
  .foot-col ul li a:hover{color:var(--gold-2)}
  .foot-col .fc-line{display:flex;gap:10px;align-items:flex-start}
  .foot-col .fc-line svg{flex:0 0 17px;width:17px;height:17px;stroke:var(--gold-2);fill:none;stroke-width:2;margin-top:3px}
  .foot-bottom{padding:24px 0;text-align:center;font-size:13.5px;color:rgba(255,255,255,.55);border-top:1px solid rgba(255,255,255,.12)}

  /* ===================== WHATSAPP FLOAT ===================== */
  .wa-float{position:fixed;right:24px;bottom:24px;z-index:120;display:flex;align-items:center}
  .wa-bubble{position:relative;background:#fff;color:var(--ink);font-family:"Archivo",sans-serif;font-weight:600;font-size:14px;padding:12px 16px;border-radius:12px;box-shadow:var(--shadow);margin-right:12px;max-width:0;overflow:hidden;white-space:nowrap;opacity:0;transform:translateX(10px);transition:max-width .35s var(--ease),opacity .3s,transform .35s var(--ease);pointer-events:none}
  .wa-bubble::after{content:"";position:absolute;right:-7px;top:50%;transform:translateY(-50%);border:7px solid transparent;border-left-color:#fff}
  .wa-float:hover .wa-bubble,.wa-float.show .wa-bubble{max-width:260px;opacity:1;transform:translateX(0);pointer-events:auto}
  .wa-btn{position:relative;width:62px;height:62px;border-radius:50%;background:#25d366;display:grid;place-items:center;box-shadow:0 12px 30px rgba(37,211,102,.45);cursor:pointer;transition:transform .25s var(--ease)}
  .wa-btn:hover{transform:scale(1.08)}
  .wa-btn svg{width:34px;height:34px;fill:#fff}
  .wa-btn::before{content:"";position:absolute;width:62px;height:62px;border-radius:50%;background:#25d366;opacity:.45;animation:wapulse 2.4s infinite}
  @keyframes wapulse{0%{transform:scale(1);opacity:.45}70%{transform:scale(1.7);opacity:0}100%{opacity:0}}

  /* ===================== REVEAL ===================== */
  .reveal{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
  .reveal.in{opacity:1;transform:none}
  .reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}

  /* ===================== RESPONSIVE ===================== */
  @media (max-width:980px){
    .allana .wrap,.contacto .wrap{grid-template-columns:1fr;gap:40px}
    .allana-media{order:-1;position:static}
    .ases-grid{grid-template-columns:1fr}
    .foot-grid{grid-template-columns:1fr 1fr}
    .nav-links{position:fixed;top:0;right:-100%;height:100vh;width:min(80%,320px);background:#fff;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:120px 32px 32px;gap:8px;box-shadow:-10px 0 40px rgba(0,0,0,.15);transition:right .35s var(--ease);z-index:95}
    .nav-links.open{right:0}
    .nav-links a{font-size:18px;padding:12px 0;width:100%;border-bottom:1px solid var(--line);color:var(--navy)}
    .nav-links a::after{display:none}
    .nav-cta .btn{display:none}
    .burger{display:flex}
    .topbar .tagline{display:none}
    .topbar .wrap{justify-content:center}
  }
  @media (max-width:560px){
    :root{--head-h:84px}
    .section{padding:60px 0}
    .wrap{padding:0 18px}
    .form-row{grid-template-columns:1fr}
    .foot-grid{grid-template-columns:1fr}
    .hero{min-height:58vh;align-items:flex-start}
    .hero .wrap{padding:calc(var(--head-h) + 8px) 20px 32px}
    .hero-logo{margin-bottom:12px;max-width:88%}
    .hero-logo img{height:auto;width:100%;max-width:230px}
    .hero-tag{font-size:12px;margin-bottom:10px;max-width:300px}
    .hero h1{font-size:30px;margin-bottom:12px}
    .hero p.sub{font-size:16px;margin-bottom:22px}
    .hero-actions{flex-direction:column;width:100%;max-width:320px}
    .hero-actions .btn{width:100%;justify-content:center}
    .hero-social{margin-top:24px}
    .hero-social a{width:40px;height:40px}
    .foot-logo-plate{padding:24px 30px}
    .foot-logo-plate img{height:96px}
    .nav .logo img{height:92px}
    .reps-grid{grid-template-columns:1fr}
    .contact-form{padding:22px}
    .contact-form h3{font-size:19px}
  }
  @media (prefers-reduced-motion:reduce){
    *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
    .reveal{opacity:1;transform:none}
    .intro{display:none!important}
  }
