/* Arketipo — estilos comunes (cabecera, menú, cursor, pie) */
@font-face { font-family: 'Unbounded'; src: url('fonts/unbounded-latin.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; src: url('fonts/unbounded-latin-ext.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --black: #050505; --white: #FFFFFF; --accent: #DDF664;
  --bg: #FFFFFF; --text: #050505; --muted: rgba(5,5,5,.5); --line: rgba(5,5,5,.12);
  --on-dark: #FFFFFF; --muted-dark: rgba(255,255,255,.6);
  --ease: cubic-bezier(.16,1,.3,1);
  --slide-ms: 6500;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Unbounded', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

/* ── CABECERA → PASTILLA ───────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; transition: top .6s var(--ease); }
.nav-in { pointer-events: auto; width: 100%; max-width: 100%; height: 84px; padding: 0 56px;
          display: flex; align-items: center; justify-content: space-between; gap: 40px;
          border: 1px solid transparent; border-radius: 0; background: transparent;
          transition: max-width .7s var(--ease), height .7s var(--ease), padding .7s var(--ease), border-radius .7s var(--ease), background .5s, border-color .5s, backdrop-filter .5s; }
.nav.pill { top: 16px; }
.nav.pill .nav-in { max-width: 700px; height: 56px; padding: 0 10px 0 26px; border-radius: 999px;
                    background: rgba(5,5,5,.78); border-color: rgba(255,255,255,.1);
                    -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.logo { display: flex; align-items: center; height: 24px; flex-shrink: 0; }
.logo img { height: 22px; display: block; transition: height .6s var(--ease); }
.nav.pill .logo img { height: 18px; }
.logo span { font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-in { color: var(--on-dark); }
.links a { white-space: nowrap; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); transition: color .2s; }
.links a:hover { color: var(--on-dark); }
.nav.claro .nav-in { color: var(--black); } .nav.claro .links a { color: var(--muted); } .nav.claro .links a:hover { color: var(--black); }
.nav.claro .logo img { filter: invert(1); }
.nav.pill .links { gap: 22px; }
.links .portal { color: var(--black) !important; background: var(--accent); border-radius: 999px; padding: 11px 18px; font-weight: 700; }
.links .portal:hover { background: #cfe94e; }
.nav.claro.pill .nav-in { background: rgba(255,255,255,.82); border-color: rgba(5,5,5,.1); }
.nav.claro .menu-btn { color: var(--black); border-color: rgba(5,5,5,.3); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: inherit; border-radius: 999px;
            font: 600 10px 'Unbounded', sans-serif; letter-spacing: .16em; text-transform: uppercase; padding: 10px 16px; }

/* Menú celular */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--black); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px 20px 48px;
         clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.sheet.open { clip-path: inset(0 0 0 0); }
.sheet .close { color: var(--white); }
.sheet a { border-color: rgba(255,255,255,.14) !important; font-weight: 800; letter-spacing: -.03em; font-size: clamp(36px, 10vw, 64px); line-height: 1.05; border-bottom: 1px solid var(--line); padding: 10px 0; }
.sheet .close { position: absolute; top: 22px; right: 20px; }
footer { background: var(--black); color: var(--white); padding: 88px 56px 40px; }
footer .big { font-weight: 800; letter-spacing: -.03em; font-size: clamp(32px, 4.4vw, 72px); line-height: 1; display: inline-block; transition: color .3s; }
footer .big:hover { color: var(--accent); }
footer .row { display: flex; justify-content: space-between; margin-top: 56px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); gap: 20px; flex-wrap: wrap; }
footer .row a:hover { color: var(--white); }

/* ── CURSOR ────────────────────────────────────────── */
.cur { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
       background: #fff; mix-blend-mode: difference; display: grid; place-items: center;
       transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s; }
.cur svg { width: 0; height: 0; transition: width .45s var(--ease), height .45s var(--ease); stroke: var(--black); }
.cur.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cur.arrow { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); mix-blend-mode: normal; }
.cur.arrow svg { width: 30px; height: 30px; }
.cur.hide { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cur { display: none; } }
@media (max-width: 900px) {
  .nav-in { height: 68px; padding: 0 18px; }
  .nav.pill { top: 12px; } .nav.pill .nav-in { max-width: calc(100% - 24px); height: 52px; padding: 0 8px 0 20px; }
  .links { display: none; } .menu-btn { display: block; }
  footer { padding: 56px 18px 32px; }
}
