/* Tipografías alojadas en el sitio (Fraunces e Inter, licencia SIL OFL). Generado desde Google Fonts. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/Fraunces-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/Fraunces-normal-latin.woff2) format('woff2');
  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: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Fraunces-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Fraunces-normal-latin.woff2) format('woff2');
  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: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Fraunces-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Fraunces-normal-latin.woff2) format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Inter-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Inter-normal-latin.woff2) format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Inter-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Inter-normal-latin.woff2) format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Inter-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Inter-normal-latin.woff2) format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Inter-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Inter-normal-latin.woff2) format('woff2');
  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;
}

/* Andrés Cubillos · Web v2
   Identidad del brochure (navy/dorado/crema, serif editorial) +
   lenguaje de interacción tipo forcehuman.com (hairline grids, numeración 01 //, marquee, reveals). */

:root {
  --night: #0B1422; --navy: #182436; --navy2: #22334B;
  --gold: #B08D57; --gold2: #D6B173; --gold3: #EAD3A6;
  --paper: #FAF8F4; --paper2: #F3EEE4; --card: #FFFFFF; --line: #ECE5D6;
  --ink: #1F2A3C; --body: #46506A; --muted: #6B7280;
  --dline: rgba(214,177,115,.18); --dtext: #C5CEDC;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
::selection { background: var(--gold2); color: var(--night); }

/* ---------- superficies oscuras (del brochure) ---------- */
.dark { position: relative; color: #fff; background:
  radial-gradient(700px 420px at 85% 20%, rgba(214,177,115,.14), transparent 70%),
  radial-gradient(600px 380px at 5% 100%, rgba(34,51,75,.9), transparent 70%),
  linear-gradient(135deg, #0B1422 0%, #14202F 55%, #1B2A40 100%); }
.paper { background: var(--paper); }
.paper.alt { background: var(--paper2); }

/* ---------- progreso de scroll ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; will-change: transform; background: linear-gradient(90deg, var(--gold), var(--gold3)); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px 32px; transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11,20,34,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 12px 32px; border-color: var(--dline); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--gold2); }
.logo svg { width: 34px; height: 34px; fill: none; stroke: var(--gold2); stroke-width: 1.7; stroke-linecap: round; }
.logo b { font-family: var(--serif); font-weight: 400; font-size: 13px; letter-spacing: .14em; line-height: 1.15; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; color: #DDE3EE; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: var(--gold2); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--gold3); }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--gold2); transition: transform .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 40px; padding: 14px 24px; font-size: 15px; font-weight: 600; letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s; will-change: transform; }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn.big { padding: 18px 30px; font-size: 16px; }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1A1305; box-shadow: 0 8px 30px -10px rgba(214,177,115,.6); }
.btn.gold:hover { box-shadow: 0 14px 40px -10px rgba(214,177,115,.85); }
.btn.line { border: 1px solid rgba(214,177,115,.55); color: var(--gold3); }
.btn.line:hover { background: rgba(214,177,115,.1); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; overflow: hidden; }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(214,177,115,.13), transparent 60%); transition: background .1s; }
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(214,177,115,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(214,177,115,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; width: 100%; }
.tag-line { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold2); font-weight: 600; }
.tag-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 0 0 rgba(214,177,115,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214,177,115,.6); } 70% { box-shadow: 0 0 0 12px rgba(214,177,115,0); } 100% { box-shadow: 0 0 0 0 rgba(214,177,115,0); } }
.h-hero { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.02em; margin-top: 22px; }
.h-hero em, h2 em { font-style: italic; color: var(--gold2); }
.h-hero .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.h-hero .ln > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.h-hero .ln:nth-child(2) > span { animation-delay: .12s; }
.h-hero .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.rotator { display: inline-block; color: var(--gold3); position: relative; }
.rotator > span { display: inline-block; transition: transform .45s var(--ease), opacity .45s; }
.rotator.out > span { transform: translateY(-40%); opacity: 0; }
.rotator.in > span { transform: translateY(40%); opacity: 0; transition: none; }
.lead { color: var(--dtext); font-size: 18px; max-width: 540px; margin-top: 24px; opacity: 0; animation: fadeUp .9s .5s var(--ease) forwards; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; opacity: 0; animation: fadeUp .9s .65s var(--ease) forwards; }
.trust { margin-top: 28px; font-size: 13px; color: #8C98AE; letter-spacing: .03em; opacity: 0; animation: fadeUp .9s .8s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-viz { position: relative; aspect-ratio: 400 / 290; }
.viz { width: 100%; height: 100%; overflow: visible; }
.viz .bars rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: grow 1s var(--ease) forwards; }
.viz .bars rect:nth-child(1) { animation-delay: .5s; } .viz .bars rect:nth-child(2) { animation-delay: .58s; }
.viz .bars rect:nth-child(3) { animation-delay: .66s; } .viz .bars rect:nth-child(4) { animation-delay: .74s; }
.viz .bars rect:nth-child(5) { animation-delay: .82s; } .viz .bars rect:nth-child(6) { animation-delay: .9s; }
.viz .bars rect:nth-child(7) { animation-delay: .98s; }
@keyframes grow { to { transform: scaleY(1); } }
.viz .trend, .viz .glow { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.8s 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.viz .pts circle, .viz .tip { opacity: 0; animation: fade .4s forwards; }
.viz .pts circle { animation-delay: 1.9s; } .viz .tip { animation-delay: 2.6s; }
.viz .tip-ring { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ring 2.2s 2.8s infinite; }
@keyframes fade { to { opacity: 1; } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }

.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: rgba(20,32,47,.72); border: 1px solid rgba(214,177,115,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); color: var(--gold2); opacity: 0; animation: pop .7s var(--ease) forwards, bob 6s ease-in-out infinite; }
.float small { display: block; font-size: 11px; color: #9AA6BA; letter-spacing: .04em; line-height: 1.2; }
.float b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: #fff; line-height: 1.2; }
.float.f1 { top: 2%; left: 0; animation-delay: 2.2s, 3s; }
.float.f2 { top: 44%; left: -6%; animation-delay: 2.45s, 3.2s; }
.float.f3 { bottom: -2%; right: 4%; animation-delay: 2.7s, 3.4s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* marquee */
.marquee { margin-top: 64px; border-top: 1px solid var(--dline); border-bottom: 1px solid var(--dline); overflow: hidden; padding: 18px 0; position: relative; }
.marquee .track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 22px; font-weight: 300; color: #DDE3EE; white-space: nowrap; }
.marquee i { color: var(--gold2); font-style: normal; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.sec { padding: 120px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.dark .eyebrow { color: var(--gold2); }
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.015em; color: var(--navy); margin-top: 14px; }
.paper h2 em { color: var(--gold); }
.dark h2 { color: #fff; }
.sub { font-size: 17px; color: var(--body); margin-top: 18px; max-width: 620px; }
.dark .sub { color: var(--dtext); }
.sub b { color: inherit; }
.num { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.ctx { margin-top: 36px; font-size: 16px; color: var(--body); }
.ctx a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.ctx a:hover svg { transform: translateX(4px); } .ctx svg { transition: transform .3s; width: 16px; height: 16px; }

/* hairline grid (desafíos) */
.hair-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hair-grid.four { grid-template-columns: repeat(4, 1fr); }
.cell { position: relative; padding: 32px 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: background .4s var(--ease); display: flex; flex-direction: column; overflow: hidden; outline: none; }
.cell::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.cell:hover, .cell:focus-visible { background: #fff; }
.cell:hover::before, .cell:focus-visible::before { transform: scaleX(1); }
.ico { width: 48px; height: 48px; border-radius: 50%; background: #F6EFE0; color: var(--gold); display: flex; align-items: center; justify-content: center; margin-top: 22px; transition: transform .4s var(--ease), background .4s, color .4s; }
.cell:hover .ico { transform: rotate(-8deg) scale(1.06); background: var(--navy); color: var(--gold2); }
.cell h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.28; color: var(--navy); margin-top: 22px; }
.cell p { font-size: 15px; color: var(--body); margin-top: 12px; }
.cell .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.cell .more svg { width: 15px; height: 15px; transition: transform .3s; }
.cell:hover .more svg { transform: translateX(5px); }

/* cifras */
.stats { padding: 80px 0; border-top: 1px solid var(--dline); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 28px; border-left: 1px solid var(--dline); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 72px); color: var(--gold2); line-height: 1; letter-spacing: -.02em; }
.stat > span { display: block; font-size: 14px; color: var(--dtext); margin-top: 14px; max-width: 240px; }

/* impacto */
.impact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.impact .sec-head { margin-bottom: 0; position: sticky; top: 120px; }
.impact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.ic { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.ic:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.ic svg { color: var(--gold); width: 26px; height: 26px; }
.ic b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); margin-top: 16px; }
.ic span { display: block; font-size: 15px; color: var(--body); margin-top: 8px; }

/* ---------- cómo empezar: selector de oferta ---------- */
.offer-ui { display: grid; grid-template-columns: 340px 1fr; gap: 24px; }
.offer-tabs { display: flex; flex-direction: column; gap: 8px; }
.otab { text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--dline); display: flex; align-items: center; gap: 14px; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.otab:hover { background: rgba(214,177,115,.06); transform: translateX(4px); }
.otab .c { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(214,177,115,.45); color: var(--gold2); display: flex; align-items: center; justify-content: center; flex: none; transition: background .3s, color .3s; }
.otab b { font-family: var(--serif); font-weight: 400; font-size: 19px; display: block; line-height: 1.2; }
.otab small { display: block; font-size: 12px; color: #8C98AE; margin-top: 2px; }
.otab .badge { margin-left: auto; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #1A1305; background: linear-gradient(180deg, var(--gold2), var(--gold)); padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.otab[aria-selected="true"] { background: rgba(214,177,115,.1); border-color: rgba(214,177,115,.7); }
.otab[aria-selected="true"] .c { background: var(--gold2); color: var(--night); }
.offer-panel { border-radius: 22px; border: 1px solid rgba(214,177,115,.45); background: linear-gradient(160deg, rgba(34,51,75,.75), rgba(11,20,34,.6)); padding: 40px; position: relative; overflow: hidden; min-height: 420px; }
.offer-panel::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(214,177,115,.22), transparent 70%); pointer-events: none; }
.op-in { animation: panelIn .5s var(--ease); position: relative; z-index: 1; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.op-in .kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); font-weight: 700; }
.op-in h3 { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1.05; margin-top: 10px; }
.op-in .desc { color: var(--dtext); font-size: 17px; margin-top: 14px; max-width: 560px; }
.op-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--dline); border-bottom: 1px solid var(--dline); }
.op-meta div { padding: 16px 18px; border-left: 1px solid var(--dline); }
.op-meta div:first-child { border-left: 0; padding-left: 0; }
.op-meta small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8C98AE; }
.op-meta b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--gold3); margin-top: 4px; }
.op-list { list-style: none; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.op-list li { display: flex; gap: 10px; font-size: 15px; color: #DDE3EE; opacity: 0; animation: fadeUp .5s var(--ease) forwards; }
.op-list li svg { color: var(--gold2); margin-top: 2px; width: 18px; height: 18px; }
.op-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.op-cta small { color: #8C98AE; font-size: 13px; }
.note { margin-top: 18px; font-size: 13px; color: #8C98AE; font-style: italic; }
.who { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border-radius: 16px; border: 1px solid var(--dline); color: var(--dtext); font-size: 15px; }
.who svg { color: var(--gold2); margin-top: 3px; }
.who b { color: #fff; }

/* ---------- autodiagnóstico ---------- */
.quiz-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; border-bottom: 2px solid #E2D7BF; }
.quiz { padding: 36px; min-height: 460px; box-shadow: 0 30px 60px -40px rgba(24,36,54,.35); }
.quiz-top { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.qbar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); transition: width .5s var(--ease); }
.q { animation: panelIn .45s var(--ease); }
.q h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.25; color: var(--navy); margin-top: 26px; }
.q .opts { display: grid; gap: 10px; margin-top: 22px; }
.opt { text-align: left; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 14px; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.opt:hover { border-color: var(--gold); background: #fff; transform: translateX(4px); }
.opt .k { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--gold); flex: none; background: #fff; }
.opt.sel { border-color: var(--gold); background: #FBF5E9; }
.opt.sel .k { background: var(--gold); color: #fff; border-color: var(--gold); }
.q-nav { display: flex; justify-content: space-between; margin-top: 22px; }
.q-back { font-size: 14px; color: var(--muted); font-weight: 600; }
.q-back:disabled { visibility: hidden; }

.res { animation: panelIn .5s var(--ease); }
.res-top { display: flex; gap: 28px; align-items: center; margin-top: 18px; }
.gauge { width: 150px; height: 150px; flex: none; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .bg { stroke: var(--line); }
.gauge .fg { stroke: url(#gg); stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge .val b { font-family: var(--serif); font-weight: 300; font-size: 42px; color: var(--navy); line-height: 1; }
.gauge .val small { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.res-top h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--navy); line-height: 1.15; }
.res-top p { font-size: 15px; color: var(--body); margin-top: 8px; }
.gaps { margin-top: 26px; display: grid; gap: 10px; }
.gap { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.gap b { font-size: 15px; color: var(--navy); }
.gap span { font-size: 12px; font-weight: 700; color: var(--gold); align-self: center; }
.gap p { grid-column: 1 / -1; font-size: 14px; color: var(--body); }
.gap .meter { grid-column: 1 / -1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.gap .meter i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 4px; transition: width 1s .3s var(--ease); }
.rec { margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--navy); color: #fff; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rec small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 700; }
.rec b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.rec .btn { margin-left: auto; }
.res .again { margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- casos (acordeón editorial) ---------- */
.cases { border-top: 1px solid #DCD2BE; }
.case { border-bottom: 1px solid #DCD2BE; }
.case-h { width: 100%; display: grid; grid-template-columns: 60px 1fr 48px; gap: 18px; align-items: center; text-align: left; padding: 30px 0; transition: padding .4s var(--ease); }
.case-h:hover { padding-left: 12px; }
.case-t b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); color: var(--navy); line-height: 1.15; }
.case-t em { display: block; font-style: normal; font-size: 14px; color: var(--gold); font-weight: 600; margin-top: 6px; }
.plus { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #DCD2BE; display: flex; align-items: center; justify-content: center; color: var(--navy); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.case-h:hover .plus { border-color: var(--gold); }
.case.open .plus { transform: rotate(45deg); background: var(--navy); color: var(--gold2); border-color: var(--navy); }
.case-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.case.open .case-b { grid-template-rows: 1fr; }
.case-b > .case-in { overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; padding-left: 78px; }
.case.open .case-in { padding-bottom: 34px; }
.case-in small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.case-in p { font-size: 15px; color: var(--body); margin-top: 8px; }
.chips { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chips span { font-size: 12px; background: #F6EFE0; color: #7A6232; padding: 5px 12px; border-radius: 20px; border: 1px solid #EBDDBF; }

/* ---------- cómo trabajo ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.rail { position: absolute; left: 32px; right: 32px; top: 32px; height: 1px; background: var(--dline); }
.rail span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold3)); transition: width 1.6s var(--ease); }
.steps.go .rail span { width: 100%; }
.step { position: relative; }
.step .c { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(214,177,115,.6); background: var(--night); display: flex; align-items: center; justify-content: center; color: var(--gold2); position: relative; z-index: 1; transition: background .4s, color .4s, transform .4s var(--ease); }
.step:hover .c { background: var(--gold2); color: var(--night); transform: scale(1.06); }
.step .c svg { width: 26px; height: 26px; }
.step .num { display: block; margin-top: 26px; }
.step b { display: block; font-family: var(--serif); font-weight: 300; font-size: 34px; margin-top: 6px; }
.step p { color: var(--dtext); font-size: 16px; margin-top: 10px; max-width: 320px; }

/* ---------- sobre mí ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.photo-ph { aspect-ratio: 4/5; border-radius: 24px; background: linear-gradient(150deg, var(--navy), var(--night)); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold2); }
.photo-ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(214,177,115,.35); border-radius: 16px; }
.photo-ph span { font-family: var(--serif); font-weight: 300; font-size: 120px; letter-spacing: -.04em; line-height: 1; }
.photo-ph small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8C98AE; margin-top: 12px; }
.about-copy > p { font-size: 17px; color: var(--body); margin-top: 18px; }
.cred { margin-top: 28px; display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.cred div { display: flex; gap: 12px; font-size: 15px; color: var(--body); }
.cred svg { color: var(--gold); margin-top: 2px; }
.cred b { color: var(--navy); font-weight: 600; }
.quote { margin-top: 96px; padding: 48px 56px; border-radius: 24px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); position: relative; }
.quote .qm { position: absolute; top: 18px; right: 40px; font-family: var(--serif); font-size: 140px; line-height: 1; color: #F1E6CF; }
.quote blockquote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(19px, 2vw, 25px); line-height: 1.5; color: var(--navy); position: relative; max-width: 900px; }
.quote figcaption { margin-top: 22px; font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--navy); }

/* ---------- ecosistema ---------- */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dline); border-left: 1px solid var(--dline); }
.eco-c { padding: 36px 30px; border-right: 1px solid var(--dline); border-bottom: 1px solid var(--dline); transition: background .4s; }
.eco-c:hover { background: rgba(214,177,115,.06); }
.eco-c svg { display: block; color: var(--gold2); width: 28px; height: 28px; margin-top: 22px; }
.eco-c b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; margin-top: 16px; }
.eco-c p { color: var(--dtext); font-size: 15px; margin-top: 10px; }

/* ---------- CTA final ---------- */
.cta { padding: 140px 0; overflow: hidden; border-top: 1px solid var(--dline); }
.cta-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; position: relative; }
.cta h2 { font-size: clamp(36px, 4.8vw, 64px); }
.cta p { color: var(--dtext); font-size: 18px; margin-top: 20px; max-width: 520px; }
.cta-links { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.row-link { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #DDE3EE; padding: 12px 0; border-bottom: 1px solid var(--dline); width: 100%; transition: color .3s, padding .3s var(--ease); }
.row-link svg { color: var(--gold2); }
.row-link:hover { color: var(--gold3); padding-left: 8px; }

.foot { background: var(--night); color: #8C98AE; font-size: 13px; padding: 28px 0; border-top: 1px solid var(--dline); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .logo svg { width: 28px; height: 28px; }
.foot .logo b { font-size: 11px; }

/* botón flotante */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 40px; background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1A1305; font-weight: 600; font-size: 14px; box-shadow: 0 12px 34px -10px rgba(11,20,34,.6); transform: translateY(120px); transition: transform .5s var(--ease); }
.fab.show { transform: none; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(214,177,115,.5); animation: pulse 2.6s infinite; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(6,11,19,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal.open .modal-bg { opacity: 1; }
.modal-card { position: relative; width: min(640px, 100%); max-height: 88vh; overflow: auto; border-radius: 24px; background: var(--paper); padding: 44px; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .45s var(--ease), opacity .35s; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-x { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--navy); transition: background .3s, transform .3s; }
.modal-x:hover { background: var(--line); transform: rotate(90deg); }
.modal-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--navy); margin-top: 10px; padding-right: 30px; }
.modal-card h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 26px; }
.modal-card ul { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.modal-card li { display: flex; gap: 10px; font-size: 15px; color: var(--body); }
.modal-card li svg { color: var(--gold); margin-top: 2px; width: 18px; height: 18px; }
.modal-card p { font-size: 15px; color: var(--body); margin-top: 10px; }
.modal-card .m-rec { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.modal-card .m-rec small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); font-weight: 700; }
.modal-card .m-rec b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.modal-card .m-rec .btn { margin-left: auto; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hair-grid.four { grid-template-columns: 1fr 1fr; }
  .offer-ui { grid-template-columns: 1fr; }
  .offer-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .otab { flex: none; }
  .otab small, .otab .badge { display: none; }
  .quiz-wrap, .impact { grid-template-columns: 1fr; gap: 32px; }
  .impact .sec-head { position: static; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav, .nav.solid { padding: 12px 20px; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: rgba(11,20,34,.97); padding: 10px 20px 24px; transform: translateY(-120%); transition: transform .45s var(--ease); border-bottom: 1px solid var(--dline); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--dline); font-size: 17px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-viz { max-width: 460px; width: 100%; margin: 0 auto; }
  .float.f2 { left: 0; }
  .sec { padding: 84px 0; }
  .stats-in { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .case-b > .case-in { grid-template-columns: 1fr; gap: 16px; padding-left: 0; }
  .case-h { grid-template-columns: 36px 1fr 44px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .rail { display: none; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .photo { max-width: 320px; }
  .quote { padding: 32px 26px; margin-top: 64px; }
  .eco { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; gap: 40px; }
  .op-meta { grid-template-columns: 1fr; }
  .op-meta div { border-left: 0; padding-left: 0; border-top: 1px solid var(--dline); }
  .op-meta div:first-child { border-top: 0; }
  .op-list { grid-template-columns: 1fr; }
  .offer-panel { padding: 28px 22px; }
  .quiz { padding: 26px 20px; }
  .res-top { flex-direction: column; align-items: flex-start; }
  .modal-card { padding: 32px 22px; }
  .fab span { display: none; }
}
@media (max-width: 560px) {
  .hair-grid.four { grid-template-columns: 1fr; }
  .impact-cols { grid-template-columns: 1fr; }
  .ic:nth-child(even) { padding-left: 0; border-left: 0; }
  .stats-in { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee .track { animation: none; }
}

/* ============ CONFIANZA (LOGOS) ============ */
.logos-sec { padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.logos-head { text-align: center; max-width: 920px; margin: 0 auto 44px; }
.logos-title { font-size: clamp(26px, 3vw, 38px); }
.logos-groups { display: grid; grid-template-columns: 1fr 2.4fr 1fr; gap: 20px; }
.lg-group { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 26px; }
.lg-label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.lg-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; align-items: center; }
.lg-wide .lg-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; }
.lg-wide .lg-row li { flex: 0 0 calc((100% - 36px) / 3); }
.lg-row li { display: flex; align-items: center; justify-content: center; height: 64px; }
.lg-row img { height: var(--h, 40px); width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: filter .3s ease, opacity .3s ease; }
.lg-row li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .lg-row img { filter: none; opacity: .9; } }
@media (max-width: 1080px) {
  .logos-groups { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .logos-sec { padding: 56px 0 60px; }
  .logos-groups { grid-template-columns: 1fr; }
  .lg-wide .lg-row li { flex-basis: calc((100% - 18px) / 2); }
}
.logos-quote { margin-top: 28px; }
/* Enlace secundario por correo junto a los botones de agenda */
.alt-mail { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; white-space: nowrap; }
.alt-mail:hover { opacity: 1; color: var(--gold2); }
.rec-cta { margin-left: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rec-cta .alt-mail { font-size: 13px; color: var(--dtext); }

/* ============ WHATSAPP FLOTANTE ============ */
.fab-wa { position: fixed; right: 24px; bottom: 92px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -10px rgba(11,20,34,.6); transform: translateY(190px); transition: transform .5s var(--ease), background .3s; }
.fab-wa.show { transform: none; }
.fab-wa:hover { background: #1EBE5A; }
.fab-wa svg.i { width: 26px; height: 26px; stroke-width: 1.7; }

/* ============ RETRATO + GALERÍA ============ */
.photo-img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(11,20,34,.45); }
.gallery { margin-top: 96px; }
.gal-head { margin-bottom: 24px; }
.gal-title { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); color: var(--navy); margin-top: 10px; line-height: 1.15; }
.gal-title em { color: var(--gold); }
/* Carrusel continuo: la lista va duplicada para que el bucle no tenga saltos */
.gal-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gal-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: gal-scroll 90s linear infinite; }
.gal-strip:hover .gal-track { animation-play-state: paused; }
.gal-track li { flex: none; width: 260px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--paper2); }
.gal-track img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .45; filter: saturate(.7); transition: opacity .35s ease, filter .35s ease, transform .35s ease; }
.gal-track li:hover img { opacity: 1; filter: none; transform: scale(1.04); }
@keyframes gal-scroll { to { transform: translateX(calc(-50% - 7px)); } }
@media (hover: none) { .gal-track img { opacity: .8; filter: none; } }
@media (max-width: 860px) { .gallery { margin-top: 64px; } .gal-track li { width: 200px; } }
@media (prefers-reduced-motion: reduce) { .gal-track { animation: none; } .gal-strip { overflow-x: auto; } }

/* ============ PUBLICACIONES ============ */
.pubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pub { display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pub:hover, .pub:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 22px 40px -26px rgba(11,20,34,.35); }
.pub-k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.pub-t { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.28; color: var(--navy); margin-top: 12px; }
.pub-d { font-size: 14.5px; color: var(--body); margin-top: 10px; line-height: 1.5; flex: 1; }
.pub-s { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--navy); }
.pub-s svg { width: 15px; height: 15px; transition: transform .3s; }
.pub:hover .pub-s svg { transform: translateX(4px); }
.pub-note { color: var(--muted); }
@media (max-width: 1080px) { .pubs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pubs { grid-template-columns: 1fr; } }

/* ============ SELECTOR DE IDIOMA ============ */
.lang { display: inline-flex; flex: none; gap: 2px; padding: 3px; border: 1px solid rgba(214,177,115,.38); border-radius: 40px; background: rgba(11,20,34,.25); }
.lang a { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; line-height: 1; color: #C5CEDC; padding: 7px 10px; border-radius: 30px; transition: background .3s, color .3s; }
.lang a:hover { color: var(--gold3); }
.lang a[aria-current] { background: var(--gold2); color: #1A1305; }
.lang a:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
@media (max-width: 860px) {
  .lang { margin-left: auto; }
  .burger { margin-left: 10px; }
}
.tr-note { font-style: italic; opacity: .75; }
