/* ABM Óptica — diseño Nítida. Una familia (Urbanist), bloques blancos sobre gris frío, azul cobalto como acento. */
:root {
  --bg: #EEF0F4;
  --tile: #FFFFFF;
  --ink: #181D4C;
  --text: #454C73;
  --muted: #5A6188;
  --line: #D9DDE8;
  --cobalt: #2B4BFF;
  --cobalt-d: #1C36CC;
  --navy: #12163F;
  --navy-2: #232A6B;
  --pale: #C9D1EE;
  --font: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --r: 28px;
  --shadow: 0 1px 2px rgba(24, 29, 76, .05), 0 28px 56px -28px rgba(24, 29, 76, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.45; font-weight: 500; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h2 { font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: .96; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.sec { padding-block: clamp(64px, 9vw, 128px) 0; display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px); }
.tile { background: var(--tile); border-radius: var(--r); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 12px; }

/* Botones */
.btn { position: relative; display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 32px; border-radius: 30px; font-weight: 700; font-size: 18px; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--b2, var(--cobalt-d)); transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: var(--cobalt); color: #FFFFFF; box-shadow: 0 16px 32px -16px rgba(43, 75, 255, .7); }
.btn.dark { background: var(--ink); color: #FFFFFF; --b2: #2A3170; }
.btn.light { background: #FFFFFF; color: var(--ink); --b2: #E4E8F6; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #BCC3D9; --b2: #FFFFFF; }
.btn.sm { min-height: 46px; padding: 0 22px; font-size: 16px; }

/* Barra superior */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; padding-block: 12px; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 36px; background: rgba(255, 255, 255, 0); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.on .nav-in { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: var(--shadow); }
.logo { width: 82px; height: 44px; background: var(--ink); -webkit-mask: url(img/logo-mascara.png) left center / contain no-repeat; mask: url(img/logo-mascara.png) left center / contain no-repeat; flex: none; }
.links { display: none; gap: 34px; font-weight: 600; font-size: 17px; color: var(--ink); }
.links a { position: relative; padding-block: 10px; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.links a:hover::after { transform: none; }

/* Inicio */
.hero { padding-block: clamp(20px, 4vw, 48px) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: stretch; }
.hero-l { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.h1 { font-weight: 800; font-size: clamp(64px, 16vw, 132px); line-height: .9; letter-spacing: -.045em; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; }
.blurry { position: relative; display: inline-block; touch-action: pan-y; cursor: none; -webkit-user-select: none; user-select: none; padding-right: .08em; }
.b-base { display: block; filter: blur(.075em); opacity: .55; animation: breathe 5s ease-in-out infinite; }
.b-sharp { position: absolute; inset: 0; clip-path: circle(var(--lr, .5em) at var(--lx, 30%) var(--ly, 52%)); }
.lens { position: absolute; left: var(--lx, 30%); top: var(--ly, 52%); width: calc(var(--lr, .5em) * 2); height: calc(var(--lr, .5em) * 2); margin: calc(var(--lr, .5em) * -1) 0 0 calc(var(--lr, .5em) * -1); border-radius: 50%; box-shadow: 0 0 0 3px var(--ink), 0 18px 34px -12px rgba(24, 29, 76, .45), inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 -10px 24px rgba(43, 75, 255, .12); background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 46%); pointer-events: none; }
.lens-tip { font-size: 15px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.lens-tip i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); display: block; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.4; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stage { position: relative; min-height: clamp(350px, 96vw, 430px); border-radius: 36px; background: radial-gradient(ellipse 80% 70% at 50% 40%, #FFFFFF 0%, #FFFFFF 40%, #E3E8F4 100%); overflow: hidden; box-shadow: var(--shadow); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage .still { position: absolute; left: 6%; right: 6%; top: 50%; transform: translateY(-58%); width: 88%; height: auto; }
.stage-top { position: absolute; left: 20px; top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); pointer-events: none; }
.stage-bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sw-set { display: flex; align-items: center; gap: 4px; padding: 6px 14px 6px 6px; border-radius: 28px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); border: 0; margin: 0; }
.sw-set legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sw { position: relative; width: 44px; height: 44px; display: block; }
.sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw span { position: absolute; inset: 9px; border-radius: 50%; transition: transform .25s var(--ease), box-shadow .25s; }
.sw input:checked + span { transform: scale(1.12); box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--ink); }
.sw input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 6px; }
.sw-name { font-size: 15px; font-weight: 700; color: var(--ink); min-width: 4.2em; padding-left: 4px; }
.round { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: none; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.round:hover { transform: translateY(4px); }

/* Servicios */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.exam { grid-column: 1 / -1; background: var(--cobalt); color: #FFFFFF; border-radius: var(--r); padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; position: relative; overflow: hidden; }
.exam > * { position: relative; z-index: 1; }
.exam::after { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .28), 0 0 0 46px rgba(255, 255, 255, .06), 0 0 0 47.5px rgba(255, 255, 255, .2); animation: spin 26s linear infinite; }
.chart { display: flex; gap: clamp(8px, 1.6vw, 18px); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1; letter-spacing: 0; }
.chart span { animation: letter 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * .32s); }
.exam h3 { font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: .96; letter-spacing: -.04em; }
.exam p { font-size: clamp(17px, 1.7vw, 21px); max-width: 22em; margin-top: 12px; }
.exam .btn { align-self: flex-start; margin-top: 20px; }
.svc { padding: clamp(18px, 2.2vw, 28px); min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; color: var(--ink); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc svg { width: 36px; height: 36px; }
.svc img { width: min(170px, 110%); max-width: none; height: auto; margin: -8px 0 0 -10px; transition: transform .5s var(--ease); }
.svc:hover img { transform: translateX(8px) rotate(-3deg); }
.svc b { display: block; font-weight: 700; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.1; letter-spacing: -.01em; }
.svc small { display: block; font-size: clamp(14px, 1.4vw, 17px); color: var(--muted); margin-top: 5px; font-weight: 500; }

/* Monturas */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; }
.head-row p { font-size: 17px; color: var(--muted); max-width: 22em; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 290px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(clamp(16px, 4vw, 32px) * -1); padding-inline: clamp(16px, 4vw, 32px); scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.slot { scroll-snap-align: start; display: flex; min-width: 0; }
.card { flex: 1; min-width: 0; height: 310px; padding: 20px 22px 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; overflow: hidden; transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .4s var(--ease); will-change: transform; }
.card:hover { box-shadow: var(--shadow); transition-duration: .12s, .4s; }
.card img { width: 104%; max-width: none; height: auto; margin-top: 34px; transform: translateZ(40px) translate(var(--px, 0px), var(--py, 0px)); transition: transform .5s var(--ease); filter: drop-shadow(0 18px 14px rgba(24, 29, 76, .14)); }
.card:hover img { transition-duration: .12s; }
.card-row { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 600; color: var(--muted); }
.card-row a { color: var(--cobalt); font-weight: 700; padding-block: 10px; }
.card-row a:hover { color: var(--cobalt-d); }

/* Marcas */
.marquee { margin-top: clamp(36px, 5vw, 64px); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee div { display: flex; gap: 12px; padding-right: 12px; width: max-content; animation: slide 28s linear infinite; }
.marquee span { height: 48px; padding: 0 24px; border-radius: 24px; box-shadow: inset 0 0 0 1.5px #C6CBDA; display: flex; align-items: center; font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }

/* Opinión */
.quote { padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; }
.quote p { font-weight: 700; font-size: clamp(28px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.035em; color: var(--ink); max-width: 18em; text-wrap: balance; }
.quote span { font-size: 18px; font-weight: 600; color: var(--muted); }

/* Empresas */
.biz { margin-top: clamp(64px, 9vw, 128px); background: var(--navy); color: var(--pale); border-radius: clamp(28px, 4vw, 48px); padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.biz::before { content: ''; position: absolute; left: 50%; top: -40%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle, rgba(43, 75, 255, .5) 0%, rgba(43, 75, 255, 0) 60%); pointer-events: none; animation: glow 9s ease-in-out infinite alternate; }
.biz > * { position: relative; }
.biz-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: end; }
.biz h2 { color: #FFFFFF; font-size: clamp(46px, 8vw, 108px); line-height: .9; }
.biz-head p { font-size: clamp(17px, 1.8vw, 21px); max-width: 26em; }
.biz-head .btn { align-self: flex-start; justify-self: start; margin-top: 18px; }
.steps { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 30px; }
.rail { position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: #2E3577; border-radius: 2px; }
.rail i { position: absolute; inset: 0; background: #FFFFFF; transform-origin: top; transform: scaleY(var(--p, 1)); border-radius: 2px; }
.step { position: relative; display: flex; flex-direction: column; gap: 6px; opacity: .45; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step::before { content: ''; position: absolute; left: -36px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 2px #5761B8; transition: background-color .4s, box-shadow .4s, transform .4s var(--ease); }
.step.on::before { background: #FFFFFF; box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); transform: scale(1.1); }
.step em { font-style: normal; font-weight: 800; font-size: 15px; color: #8E9AE8; letter-spacing: .04em; }
.step b { font-weight: 700; font-size: clamp(20px, 2vw, 25px); line-height: 1.1; color: #FFFFFF; letter-spacing: -.01em; }
.step small { font-size: 16px; color: var(--pale); font-weight: 500; }
.ask .btn { flex: 1 1 auto; padding-inline: 20px; }
.ask { border-radius: var(--r); background: var(--navy-2); padding: clamp(22px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.ask h3 { font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1; letter-spacing: -.03em; color: #FFFFFF; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { min-height: 42px; padding: 0 18px; border-radius: 21px; background: rgba(255, 255, 255, .1); display: flex; align-items: center; font-weight: 700; font-size: 15px; color: #FFFFFF; }
.ask small { display: block; margin-top: 14px; font-size: 15px; color: var(--pale); }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; font-weight: 700; color: #FFFFFF; font-size: 17px; }
.who div { display: flex; flex-wrap: wrap; gap: 8px; }
.who span { min-height: 40px; padding: 0 16px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px #4A5296; display: flex; align-items: center; font-size: 13px; letter-spacing: .04em; color: var(--pale); }

/* Ubicación */
.place { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.map { position: relative; min-height: 300px; border-radius: var(--r); overflow: hidden; background: #DCE1EC; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pin { position: absolute; left: 52%; top: 52%; width: 0; height: 0; }
.pin i { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: var(--cobalt); box-shadow: inset 0 0 0 17px var(--cobalt), inset 0 0 0 30px #FFFFFF; }
.pin::before, .pin::after { content: ''; position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: rgba(43, 75, 255, .35); animation: ping 2.6s ease-out infinite; }
.pin::after { animation-delay: 1.3s; }
.pin b { position: absolute; left: 38px; top: -21px; height: 42px; padding: 0 18px; border-radius: 21px; background: #FFFFFF; display: flex; align-items: center; font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow); }
.info { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.info h2 { font-size: clamp(36px, 4.6vw, 58px); }
.rows div { padding-block: 16px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #E3E6EE; }
.rows span { color: var(--muted); font-size: 16px; }
.rows b { color: var(--ink); font-weight: 700; text-align: right; }

/* Contacto y pie */
.foot { margin-top: clamp(64px, 9vw, 128px); background: var(--ink); border-radius: clamp(32px, 5vw, 60px) clamp(32px, 5vw, 60px) 0 0; color: var(--pale); }
.foot-in { padding-block: clamp(56px, 8vw, 112px) 40px; display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.big { font-weight: 800; font-size: clamp(64px, 14vw, 190px); line-height: .86; letter-spacing: -.05em; color: #FFFFFF; display: flex; overflow: hidden; padding-bottom: .08em; }
.big span { display: inline-block; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.pre .big span { transform: translateY(105%); }
.foot p { font-size: clamp(18px, 2vw, 23px); margin-top: 16px; }
.foot-bot { padding-top: 28px; border-top: 1px solid #3A4285; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; font-size: 15px; line-height: 1.7; }
.foot .logo { background: #FFFFFF; width: 92px; height: 50px; }
.credit { color: #9AA3D4; max-width: 34em; }
[id] { scroll-margin-top: 96px; }

/* Prueba rápida de lectura */
.test { padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.test-l { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.test-l > p { font-size: clamp(17px, 1.8vw, 21px); max-width: 26em; }
.test-out { min-height: 3em; padding: 16px 20px; border-radius: 18px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: 17px; transition: background-color .3s; }
.test-out.ok { background: #E7ECFF; }
.test-l .btn { align-self: flex-start; }
.test-l small { font-size: 14px; color: var(--muted); }
.chartbox { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: clamp(14px, 2vw, 24px); border-radius: 22px; background: #FBFCFE; box-shadow: inset 0 0 0 1px var(--line); }
.chartbox button { appearance: none; border: 0; background: transparent; color: var(--ink); font: 700 var(--fs) / 1.15 var(--font); letter-spacing: .22em; padding: 6px 12px 6px calc(12px + .22em); border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; transition: background-color .2s, color .2s; }
.chartbox button::after { content: attr(data-n); position: absolute; right: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--muted); opacity: .6; }
.chartbox button:hover { background: #EEF1FA; }
.chartbox button[aria-pressed="true"] { background: var(--cobalt); color: #FFFFFF; }
.chartbox button[aria-pressed="true"]::after { color: #FFFFFF; opacity: .8; }
.chartbox button.past { color: #A6ADC8; }

/* Compara los lentes */
.cmp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-tabs button { appearance: none; border: 0; min-height: 46px; padding: 0 20px; border-radius: 23px; background: var(--tile); color: var(--ink); font: 700 16px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, color .25s, box-shadow .25s; }
.cmp-tabs button[aria-selected="true"] { background: var(--ink); color: #FFFFFF; box-shadow: none; }
.cmp { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r); overflow: hidden; background: #1B2A6B; --x: 50%; -webkit-user-select: none; user-select: none; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #FFFFFF; pointer-events: none; box-shadow: 0 0 18px rgba(0,0,0,.3); }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #FFFFFF; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.cmp-tag { position: absolute; top: 16px; height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(12,16,50,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFFFFF; display: flex; align-items: center; font-weight: 700; font-size: 14px; pointer-events: none; }
.cmp-tag.l { left: 16px; } .cmp-tag.r { right: 16px; }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cmp:has(input:focus-visible) .cmp-knob { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.cmp-note { font-size: clamp(17px, 1.8vw, 20px); color: var(--text); max-width: 40em; min-height: 3em; }

/* Filtros de monturas */
.filt { display: flex; flex-wrap: wrap; gap: 8px; }
.filt button { appearance: none; border: 0; min-height: 44px; padding: 0 18px; border-radius: 22px; background: transparent; color: var(--ink); font: 700 15px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px #BCC3D9; transition: background-color .25s, color .25s; }
.filt button[aria-pressed="true"] { background: var(--cobalt); color: #FFFFFF; box-shadow: none; }
.slot.out { display: none; }
.slot.in { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* Preguntas */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--tile); border-radius: 22px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-weight: 700; font-size: clamp(18px, 1.9vw, 22px); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); position: relative; transition: transform .35s var(--ease), background-color .3s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); border-radius: 1px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] summary i { background: var(--cobalt); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #FFFFFF; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 22px; font-size: 17px; max-width: 46em; }
.faq summary:focus-visible { outline-offset: -3px; }

@media (min-width: 720px) {
  .cmp { aspect-ratio: 16 / 8; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .test { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
  .faq-wrap h2 { position: sticky; top: 110px; }
}
@media (prefers-reduced-motion: reduce) { .slot.in { transition: none; animation: none; } }

/* WhatsApp flotante */
.wa { position: fixed; left: calc(18px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--cobalt); color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -8px rgba(43, 75, 255, .6); transition: transform .3s var(--ease); }
.wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--cobalt); animation: ring 2.8s ease-out infinite; }
.wa:hover { transform: scale(1.08) rotate(6deg); }

/* Entradas */
.rack { animation: rack 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms); }
.rv { transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.pre { opacity: .28; transform: translateY(34px) scale(.975); filter: blur(5px); }

@keyframes rack { from { filter: blur(20px); opacity: .15; transform: scale(1.03); } to { filter: blur(0); opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { filter: blur(.075em); } 50% { filter: blur(.11em); } }
@keyframes letter { 0%, 100% { filter: blur(.12em); opacity: .55; } 35%, 60% { filter: blur(0); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes glow { from { transform: translateX(-62%) scale(1); } to { transform: translateX(-38%) scale(1.15); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .exam { grid-column: span 2; grid-row: span 2; min-height: 440px; }
  .svc { min-height: 212px; }
  .shelf { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 34px 0 0 0; }
  .rail { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .rail i { transform-origin: left; transform: scaleX(var(--p, 1)); }
  .step::before { left: 0; top: -41px; }
  .place { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
  .map { min-height: 460px; }
  .wa { left: calc(28px + env(safe-area-inset-left, 0px)); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 960px) {
  .links { display: flex; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; min-height: 640px; }
  .h1 { font-size: clamp(96px, 9.6vw, 138px); }
  .stage { min-height: 560px; border-radius: 44px; }
  .round { display: flex; }
  .biz-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; }
  .stage-bar { left: 22px; right: 22px; bottom: 22px; }
}
@media (hover: none) { .blurry { cursor: default; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rack, .b-base, .chart span, .exam::after, .marquee div, .biz::before, .pin::before, .pin::after, .wa::before { animation: none; }
  .chart span { filter: none; opacity: 1; }
  .rv, .big span, .card, .card img, .btn, .btn::before { transition: none; }
}

/* ===== Sitio completo: piezas que se suman al diseño Nítida ===== */
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fuentes/urbanist-latin-wght-normal.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: 'Urbanist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fuentes/urbanist-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #FFFFFF; font-weight: 700; }
.skip:focus { top: 12px; }

/* Menú en celular */
.nav-r { display: flex; align-items: center; gap: 8px; }
.menu { position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); box-shadow: inset 0 0 0 1.5px #BCC3D9; background: rgba(255, 255, 255, .6); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: #FFFFFF; box-shadow: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 340px); padding: 10px; border-radius: 26px; background: #FFFFFF; box-shadow: var(--shadow), 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.menu-panel a { padding: 14px 16px; border-radius: 16px; font-weight: 700; font-size: 18px; color: var(--ink); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--bg); }
.menu-panel small { padding: 12px 16px 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.links a[aria-current="page"]::after { transform: none; }
.links { gap: 26px; font-size: 16px; }
@media (min-width: 1100px) { .menu { display: none; } }
@media (max-width: 1099px) { .links { display: none !important; } }
@media (max-width: 380px) { .nav .btn.sm { padding: 0 16px; } }

/* Migas de pan */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 15px; font-weight: 600; color: var(--muted); padding-top: clamp(8px, 2vw, 20px); }
.crumbs a { color: var(--ink); }
.crumbs a:hover { color: var(--cobalt); }
.crumbs li { display: flex; gap: 10px; align-items: center; }
.crumbs li + li::before { content: '/'; color: #A9B0C9; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: contents; }

/* Inicio: título para buscadores dentro del hero */
.h1-seo { font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); max-width: 22em; text-wrap: balance; }
.h1-seo span { color: var(--cobalt); }

/* Cabecera de páginas internas */
.phero { padding-top: clamp(14px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.phero-l { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.ph1 { font-weight: 800; font-size: clamp(44px, 7.4vw, 96px); line-height: .94; letter-spacing: -.045em; color: var(--ink); text-wrap: balance; }
.ph1 em { font-style: normal; color: var(--cobalt); }
.phero-img { position: relative; border-radius: 36px; overflow: hidden; min-height: clamp(260px, 60vw, 420px); background: #DCE1EC; box-shadow: var(--shadow); }
.phero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-img.contain { background: radial-gradient(ellipse 80% 70% at 50% 40%, #FFFFFF 0%, #FFFFFF 40%, #E3E8F4 100%); }
.phero-img.contain img { object-fit: contain; padding: 8%; }
.phero-img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 16px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { min-height: 40px; padding: 0 16px; border-radius: 20px; background: var(--tile); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.facts svg { width: 18px; height: 18px; color: var(--cobalt); }

/* Texto largo */
.prose { max-width: 44em; display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.6; }
.prose h2 { font-size: clamp(30px, 3.8vw, 46px); margin-top: 18px; }
.prose h3 { font-weight: 800; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.15; letter-spacing: -.015em; color: var(--ink); margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--cobalt); font-weight: 800; }
.prose a { color: var(--cobalt); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose strong { color: var(--ink); }
.note { padding: 18px 22px; border-radius: 20px; background: #E7ECFF; color: var(--ink); font-size: 16px; line-height: 1.5; }

/* Dos columnas: texto y tarjeta lateral */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.aside { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.aside h2 { font-size: clamp(26px, 2.6vw, 34px); }
.aside .rows div { padding-block: 12px; }
@media (min-width: 960px) {
  .phero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 520px; }
  .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .split .aside { position: sticky; top: 110px; }
}

/* Tarjetas de contenido */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.cardx { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 10px; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.cardx:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cardx b { font-weight: 800; font-size: clamp(20px, 2vw, 25px); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
.cardx p { font-size: 16px; line-height: 1.5; }
.cardx .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--cobalt); font-size: 16px; }
.cardx svg.ic { width: 34px; height: 34px; color: var(--cobalt); }
.cardx.blue { background: var(--cobalt); color: #E3E8FF; }
.cardx.blue b { color: #FFFFFF; }
.cardx.blue .go { color: #FFFFFF; }

/* Valores de la óptica */
.values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.values .tile { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.values strong { font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .9; letter-spacing: -.04em; color: var(--cobalt); }
.values b { font-weight: 800; font-size: 21px; color: var(--ink); }
.values p { font-size: 16px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Ciudades */
.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.cities a { min-height: 46px; padding: 0 20px; border-radius: 23px; display: flex; align-items: center; font-weight: 700; font-size: 16px; background: rgba(255, 255, 255, .12); color: #FFFFFF; transition: background-color .25s; }
.cities a:hover { background: rgba(255, 255, 255, .24); }
.biz .lede { font-size: clamp(17px, 1.8vw, 21px); max-width: 30em; }

/* Mapa real */
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map .map-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* Formulario hacia WhatsApp */
.form { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); }
.form input, .form select, .form textarea { font: 600 17px var(--font); color: var(--ink); padding: 14px 16px; border-radius: 16px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; min-height: 52px; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cobalt); background: #FFFFFF; }
.form small { color: var(--muted); font-size: 14px; }
.form .btn { align-self: flex-start; }
.contact-list { display: flex; flex-direction: column; }
.contact-list a, .contact-list div { padding: 16px 0; border-top: 1px solid #E3E6EE; display: flex; justify-content: space-between; gap: 16px; }
.contact-list span { color: var(--muted); font-size: 16px; }
.contact-list b { color: var(--ink); text-align: right; }
.contact-list a:hover b { color: var(--cobalt); }

/* Pie con enlaces */
.foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.foot-nav b { display: block; color: #FFFFFF; font-size: 16px; margin-bottom: 10px; }
.foot-nav a { display: block; padding: 6px 0; color: var(--pale); font-size: 16px; }
.foot-nav a:hover { color: #FFFFFF; }
.foot .big { font-size: clamp(56px, 12vw, 160px); }

/* Estilos de montura (sin catálogo todavía) */
.card-row em { font-style: normal; color: var(--ink); font-weight: 700; }

/* Bloque de llamada final */
.cta-band { margin-top: clamp(56px, 8vw, 104px); background: var(--cobalt); color: #E3E8FF; border-radius: clamp(28px, 4vw, 44px); padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .25), 0 0 0 56px rgba(255, 255, 255, .06), 0 0 0 57.5px rgba(255, 255, 255, .18); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #FFFFFF; font-size: clamp(34px, 5vw, 64px); max-width: 12em; }
.cta-band p { font-size: clamp(17px, 1.8vw, 20px); margin-top: 12px; max-width: 30em; }
.cta-band .cta { gap: 10px; }

.mt0 { padding-top: clamp(40px, 6vw, 80px); }
@media (prefers-reduced-motion: reduce) { a.cardx { transition: none; } }
.cardx.blue { border-radius: var(--r); }

/* Comparador con El Morro */
.cmp canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cmp-place { position: absolute; left: 16px; bottom: 16px; height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(12,16,50,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFFFFF; display: flex; align-items: center; font-weight: 600; font-size: 13px; pointer-events: none; }
@media (min-width: 720px) { .cmp { aspect-ratio: 16 / 9; } }
@media (max-width: 599px) { .cmp-place { display: none; } }
@media (max-width: 599px) { .cmp-tag { height: 30px; font-size: 13px; padding: 0 11px; top: 12px; } .cmp-tag.l { left: 12px; } .cmp-tag.r { right: 12px; } }

/* ===== Herramienta: Lee tu fórmula ===== */
.fx-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fx-form { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 18px; }
.fx-ejemplo { padding: 12px 16px; border-radius: 14px; background: #E7ECFF; color: var(--ink); font-weight: 700; font-size: 15px; }
.fx-eye { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fx-eye legend { font-weight: 800; font-size: 19px; color: var(--ink); margin-bottom: 10px; padding: 0; }
.fx-eye label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); min-width: 0; }
.fx-eye small { font-weight: 600; color: var(--muted); font-size: 13px; }
.fx-eye select, .fx-eye input { font: 700 17px var(--font); color: var(--ink); background: var(--bg); border: 0; border-radius: 14px; min-height: 50px; padding: 0 12px; width: 100%; font-variant-numeric: tabular-nums; }
.fx-eye select:focus, .fx-eye input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cobalt); background: #FFFFFF; }
.fx-err { grid-column: 1 / -1; color: #B42318; font-weight: 700; font-size: 14px; min-height: 0; }
.fx-err:empty { display: none; }
.fx-check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; }
.fx-check input { width: 22px; height: 22px; accent-color: var(--cobalt); }
.fx-form .btn { align-self: flex-start; }
.fx-res { padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fx-head h2 { font-size: clamp(26px, 3vw, 38px); }
.fx-tog { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-tog button { appearance: none; border: 0; min-height: 42px; padding: 0 16px; border-radius: 21px; background: transparent; color: var(--ink); font: 700 15px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px #BCC3D9; }
.fx-tog button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; box-shadow: none; }
.fx-visor { position: relative; height: clamp(250px, 56vw, 360px); border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse 85% 80% at 50% 40%, #2C3570 0%, #1A1F4A 55%, #10132F 100%); }
.fx-visor canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.fx-etq { position: absolute; left: 0; top: 0; pointer-events: none; margin: -62px 0 0 -40px; padding: 7px 12px; border-radius: 14px; background: var(--cobalt); color: #FFFFFF; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(43, 75, 255, .8); }
.fx-etq b { font-size: 16px; font-weight: 800; }
.fx-sin3d { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); font-weight: 600; }
.sin3d .fx-sin3d { display: flex; } .sin3d .fx-etq, .sin3d canvas { display: none; }
.fx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-stats div { padding: 12px 14px; border-radius: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.fx-stats span { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.fx-stats b { font-size: clamp(19px, 2vw, 24px); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.fx-que { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.fx-mats { display: flex; flex-direction: column; gap: 6px; }
.fx-mat { appearance: none; border: 0; width: 100%; text-align: left; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: transparent; color: var(--ink); font-family: var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background-color .2s; }
.fx-mat:hover { background: #F6F7FB; }
.fx-mat.on { box-shadow: inset 0 0 0 2px var(--cobalt); background: #F2F5FF; }
.fx-mat-n b { display: block; font-size: 15px; font-weight: 800; }
.fx-mat-n em { font-style: normal; font-size: 11px; font-weight: 800; color: #FFFFFF; background: var(--cobalt); padding: 2px 8px; border-radius: 10px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.fx-mat-n small, .fx-mm small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.fx-bar { height: 10px; border-radius: 5px; background: var(--bg); overflow: hidden; }
.fx-bar i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: linear-gradient(90deg, #8FA2FF, var(--cobalt)); transition: width .5s var(--ease); }
.fx-mm { text-align: right; font-variant-numeric: tabular-nums; }
.fx-mm b { font-size: 16px; font-weight: 800; }
.fx-sum { margin-top: 12px; padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.fx-sum h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.fx-sum h3 { font-weight: 800; font-size: 22px; color: var(--ink); }
.fx-explica { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fx-ojo { padding: 16px 18px; border-radius: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.fx-ojo > b { color: var(--ink); font-size: 15px; }
.fx-ojo strong { color: var(--ink); }
.fx-notas { margin: 14px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ink); }
.fx-sum-r { display: flex; flex-direction: column; gap: 14px; }
.fx-sum-r .btn { align-self: flex-start; }
.fx-sum-r small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.fx-link { color: var(--cobalt); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) { .fx-eye { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fx-explica { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .fx-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .fx-sum { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .fx-mat { grid-template-columns: minmax(0, 1fr) auto; } .fx-bar { grid-column: 1 / -1; grid-row: 2; } }

/* ===== Herramientas en el inicio ===== */
.tools .cardx { min-height: 230px; }
@media (min-width: 960px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Simulador de visión ===== */
.sim { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r); overflow: hidden; background: #1B2A6B; isolation: isolate; }
.sim canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: filter .7s var(--ease); }
.sim .cmp-tag { z-index: 2; }
.sim-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sim-rng { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); }
.sim-rng input { width: 100%; accent-color: var(--cobalt); height: 32px; }
.sim-out { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.sim-out .cmp-note { flex: 1 1 380px; min-height: 0; }
.sim-nota { font-size: 14px; color: var(--muted); }
@media (min-width: 720px) { .sim { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .sim canvas { transition: none; } }

/* ===== Asistente ===== */
.asis { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 56px); max-width: 860px; margin-inline: auto; width: 100%; }
.asis-prog { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bg); }
.asis-prog i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--cobalt); transition: width .4s var(--ease); }
.asis-paso { font-weight: 700; font-size: 15px; color: var(--muted); }
.asis-q { font-size: clamp(30px, 4.4vw, 52px); margin: 10px 0 24px; outline: none; }
.asis-ops { display: flex; flex-direction: column; gap: 10px; }
.asis-op { appearance: none; border: 0; text-align: left; min-height: 64px; padding: 14px 22px; border-radius: 20px; background: var(--bg); color: var(--ink); font: 700 clamp(17px, 1.8vw, 20px) var(--font); cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.asis-op:hover { background: #E3E8F6; transform: translateX(4px); }
.asis-op[aria-pressed="true"] { background: var(--cobalt); color: #FFFFFF; }
.asis-atras { appearance: none; border: 0; background: none; margin-top: 18px; padding: 10px 0; color: var(--cobalt); font: 700 16px var(--font); cursor: pointer; }
.asis-sub { font-size: 18px; margin-top: -12px; margin-bottom: 20px; }
.asis-lista { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.asis-lista li { position: relative; padding: 18px 20px 18px 58px; border-radius: 20px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.asis-lista li::before { content: ''; position: absolute; left: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 15px no-repeat; }
.asis-lista b { font-weight: 800; font-size: 19px; color: var(--ink); }
.asis-lista p { font-size: 16px; }
.asis-lista a { color: var(--cobalt); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }
.asis-nota { display: block; margin-top: 16px; font-size: 14px; color: var(--muted); }
button.btn { font-family: var(--font); border: 0; cursor: pointer; }

.fx-etq.ref { background: rgba(255,255,255,.14); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fx-etq.igual { display: none; }
.fx-sin3d { color: #C9D1EE; }
.cardx.blue svg.ic { color: #FFFFFF; }
.sim #sim-lejos { inset: -4%; width: 108%; height: 108%; }

.cmp-frames { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -8px; }
.cmp-frames span { font-weight: 700; font-size: 15px; color: var(--muted); margin-right: 4px; }
.cmp-frames button { appearance: none; border: 0; min-height: 40px; padding: 0 16px; border-radius: 20px; background: transparent; color: var(--ink); font: 700 14px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px #BCC3D9; }
.cmp-frames button[aria-pressed="true"] { background: var(--cobalt); color: #FFFFFF; box-shadow: none; }
/* Galería de jornadas reales (empresas) */
.galeria { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; align-items: stretch; }
.galeria figure { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #DCE1EC; box-shadow: var(--shadow); min-height: 380px; }
.galeria img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.galeria figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; padding: 8px 14px; border-radius: 16px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) {
  .galeria { grid-template-columns: 1fr 1fr; gap: 10px; }
  .galeria figure { min-height: 240px; border-radius: 22px; }
  .galeria figure:nth-child(2) { grid-column: 1 / -1; grid-row: 1; min-height: 220px; }
  .galeria figcaption { font-size: 12.5px; padding: 6px 10px; }
}

/* ---------- Lentes Transitions ---------- */
.tr { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tr-vis { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 36px; overflow: hidden; background: #2B2F55; box-shadow: var(--shadow); }
.tr-vis svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tr-pill { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 18px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.tr-pill i { width: 10px; height: 10px; border-radius: 50%; background: #F2A33A; box-shadow: 0 0 0 4px rgba(242, 163, 58, .22); }
.tr-panel { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tr-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-tabs button { flex: 1 1 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: var(--bg); color: var(--ink); font: 700 15px/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s; }
.tr-tabs button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.tr-ctl { display: flex; align-items: center; gap: 14px; }
.tr-sol { flex: none; min-height: 48px; padding: 0 20px 0 14px; border: 0; border-radius: 24px; background: linear-gradient(135deg, #FFD36E, #FF9A4D); color: #2A1500; font: 800 16px/1 var(--font); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: 0 12px 26px -14px rgba(255, 140, 60, .8); }
.tr-sol svg { width: 22px; height: 22px; }
.tr-rango { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.tr-rango small { font-size: 13px; font-weight: 700; color: var(--muted); }
.tr-rango input { flex: 1; min-width: 0; height: 36px; accent-color: #F2A33A; }
.tr-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tr-sw { display: flex; flex-wrap: wrap; }
.tr .sw-set { padding: 4px 12px 4px 4px; background: var(--bg); box-shadow: none; flex-wrap: wrap; border-radius: 24px; }
.tr .sw { width: 38px; height: 38px; }
.tr .sw span { inset: 7px; }
.tr-azul { font-size: 14px; font-weight: 700; color: var(--muted); }
.tr-nota { font-size: 15px; color: var(--text); }

.tr-tabs button:focus-visible, .tr-sol:focus-visible, .tr-color:focus-visible { outline: 3px solid var(--cobalt); }
/* lente de muestra: del claro (arriba) al color activado */
.tr-lente { display: block; width: 74px; height: 56px; border-radius: 46% 46% 50% 50% / 44% 44% 56% 56%; background: linear-gradient(170deg, rgba(255, 255, 255, .55) 0 12%, transparent 30%), linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, #FFFFFF) 0%, var(--c) 72%); box-shadow: inset 0 0 0 3px #1E2030, inset 0 -6px 14px rgba(0, 0, 0, .25); }
.tr-lente-grad { background: linear-gradient(170deg, rgba(255, 255, 255, .55) 0 12%, transparent 30%), linear-gradient(180deg, var(--c) 0%, color-mix(in srgb, var(--c) 25%, #FFFFFF) 85%); }
.tr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.tr-card { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.tr-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tr-tag { padding: 6px 12px; border-radius: 14px; background: var(--bg); font-size: 13px; font-weight: 800; color: var(--cobalt); }
.tr-card h3 { font-weight: 800; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.tr-card p { font-size: 16px; line-height: 1.5; }
.tr-card ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.45; display: flex; flex-direction: column; gap: 4px; }
.tr-chips { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; }
.tr-chips span { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.tr-card .go { font-weight: 700; color: var(--cobalt); font-size: 16px; }
.tr-card .btn { align-self: flex-start; }
.tr-paleta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tr-color { appearance: none; border: 0; background: var(--tile); border-radius: var(--r); padding: 22px 14px 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; cursor: pointer; font: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tr-color b { font-weight: 800; font-size: 17px; color: var(--ink); }
.tr-color .tr-lente { width: 96px; height: 72px; transition: filter .6s var(--ease); filter: saturate(.25) brightness(1.45); }
.tr-color:hover .tr-lente, .tr-color:focus-visible .tr-lente { filter: none; }
@media (hover: none) { .tr-color .tr-lente { filter: none; } }
@media (min-width: 1000px) { .tr-color:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
@media (max-width: 760px) {
  .tr-vis { border-radius: 26px; }
  .tr-pill { font-size: 13px; padding: 7px 12px 7px 10px; left: 10px; top: 10px; }
  .tr-ctl { flex-wrap: wrap; }
  .tr-sol { width: 100%; justify-content: center; }
  .tr-tabs button { font-size: 14px; padding: 0 12px; }
  .tr-paleta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tr-color .tr-lente { width: 80px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .tr-color, .tr-color .tr-lente { transition: none; } }

.tr-aliado { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 16px; border-radius: 22px; background: var(--tile); box-shadow: var(--shadow); }
.tr-aliado span { font-size: 13px; font-weight: 800; color: var(--muted); padding-right: 14px; border-right: 1px solid var(--line); line-height: 1.15; max-width: 5.6em; }
.tr-aliado img { display: block; height: 34px; width: auto; }
@media (max-width: 760px) { .tr-aliado { padding: 8px 14px 8px 12px; gap: 10px; } .tr-aliado span { font-size: 12px; padding-right: 10px; } .tr-aliado img { height: 28px; } }

/* Franja de Transitions en el inicio: los lentes se oscurecen y aclaran solos */
.tr-banda { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; color: var(--text); }
.tr-banda-l { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.tr-banda h2 { font-size: clamp(34px, 4.6vw, 58px); }
.tr-banda p { font-size: 17px; max-width: 30em; }
.tr-banda-vis { position: relative; min-height: 280px; background: #2B2F55; overflow: hidden; }
.tr-banda-vis svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* la franja del inicio se oscurece y aclara sola: mismo lente que el simulador (GEN S gris, 15 % de luz al sol) */
.tr-ciclo .tr-tinte { fill: #6C6C70; animation: tr-ciclo 8s infinite; }
.tr-ciclo .tr-solbrillo { animation: tr-ciclo-sol 8s infinite; }
.tr-ciclo .tr-brillo { animation: tr-ciclo-brillo 8s infinite; }
@media (min-width: 900px) { .tr-banda { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .tr-banda-vis { min-height: 100%; } }
@media (min-width: 1000px) { .tr-banda { transition: transform .35s var(--ease), box-shadow .35s var(--ease); } .tr-banda:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
@media (prefers-reduced-motion: reduce) { .tr-ciclo .tr-tinte, .tr-ciclo .tr-solbrillo, .tr-ciclo .tr-brillo { animation: none; } .tr-ciclo .tr-tinte { opacity: .7; } }

/* Franja Transitions del inicio (sin foto): datos y gama de colores */
.tr-banda-r { padding: clamp(20px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 18px; background: linear-gradient(160deg, #F4F6FB 0%, #E7EBF6 100%); }
.tr-datos { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tr-datos div { padding: 16px 14px; border-radius: 22px; background: var(--tile); }
.tr-datos dt { font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.035em; color: var(--cobalt); }
.tr-datos dd { margin: 8px 0 0; font-size: 14.5px; line-height: 1.3; font-weight: 600; color: var(--text); }
.tr-gama { padding: 18px; border-radius: 22px; background: var(--tile); display: flex; flex-direction: column; gap: 12px; }
.tr-gama p { font-size: 15px; font-weight: 600; }
.tr-gama-fila { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.tr-gama .tr-lente { width: 100%; height: auto; aspect-ratio: 4 / 3; }
/* al pasar sobre la franja, los lentes de muestra se activan uno tras otro, como al salir al sol */
.tr-gama .tr-lente { filter: saturate(.2) brightness(1.5); transition: filter .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.tr-banda:hover .tr-gama .tr-lente, .tr-banda:focus-visible .tr-gama .tr-lente, .tr-gama.on .tr-lente { filter: none; }
@media (max-width: 760px) {
  .tr-datos { gap: 8px; } .tr-datos div { padding: 12px 10px; border-radius: 18px; } .tr-datos dd { font-size: 12.5px; }
  .tr-gama-fila { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .tr-gama .tr-lente { transition: none; filter: none; } }

/* Monturas reales (fotos de la vitrina) */
.card.card-foto { height: auto; padding: 10px 10px 14px; gap: 10px; align-items: stretch; justify-content: flex-start; transform: none; }
.card-foto .card-img { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #FFFFFF; aspect-ratio: 15 / 8; }
.card-foto .card-img img { width: 100%; height: 100%; margin: 0; object-fit: cover; transform: none; filter: none; transition: transform .5s var(--ease); }
.card-foto .card-img:hover img { transform: scale(1.04); }
.card-foto .probar { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 16px; background: rgba(24, 29, 76, .86); color: #FFFFFF; font-size: 13.5px; font-weight: 700; }
.card-foto .probar svg { width: 18px; height: 18px; }
.card-txt { padding: 0 8px; display: flex; flex-direction: column; gap: 2px; }
.card-txt b { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.card-txt small { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.card-foto .card-row { padding: 0 8px; font-size: 15px; }
.card-foto .card-row a:first-child { color: var(--ink); }
@media (min-width: 1000px) { #shelf { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* Hero: foto real de la óptica */
.stage.stage-foto { margin: 0; background: #E9E6E1; }
.stage-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.stage-foto::after { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, rgba(24, 29, 76, 0), rgba(24, 29, 76, .28)); pointer-events: none; }
.stage-foto .stage-bar { z-index: 1; }
.stage-sello { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -14px rgba(24, 29, 76, .5); }
.stage-sello span { font-size: 12px; font-weight: 800; color: var(--muted); line-height: 1.1; max-width: 5.4em; padding-right: 10px; border-right: 1px solid var(--line); }
.stage-sello img { display: block; height: 24px; width: auto; }
@media (max-width: 760px) { .stage-foto > img { object-position: 42% 45%; } }

.stage.stage-foto { min-height: 0; aspect-ratio: 4 / 3; align-self: center; }
@media (min-width: 900px) { .stage.stage-foto { aspect-ratio: 1.12; min-height: 0; } }

.stage.stage-foto { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .stage.stage-foto { aspect-ratio: 1.45; } }
/* Mosaico de fotos en el inicio */
.mosaico { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mosaico figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #DCE1EC; }
.mosaico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaico figure:hover img { transform: scale(1.04); }
.mosaico figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 16px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) {
  .mosaico { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(clamp(16px, 4vw, 32px) * -1); padding-inline: clamp(16px, 4vw, 32px); }
  .mosaico::-webkit-scrollbar { display: none; }
  .mosaico figure { scroll-snap-align: start; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .mosaico img { transition: none; } }

/* Historia al bajar (Transitions): la sección mide varias pantallas y la escena queda fija mientras se recorre */
.th { position: relative; height: 340vh; }
.th-pega { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.th-in-wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.th-vis { position: relative; margin: 0; aspect-ratio: 16 / 10; max-height: 70svh; border-radius: 36px; overflow: hidden; background: #2B2F55; box-shadow: var(--shadow); }
.th-vis svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.th-pill { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 18px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 15px; font-weight: 700; color: var(--ink); }
.th-pill i { width: 10px; height: 10px; border-radius: 50%; background: #8E9AE8; transition: background-color .3s; }
.th-pill.sol i { background: #F2A33A; box-shadow: 0 0 0 4px rgba(242, 163, 58, .22); }
.th-reloj { min-width: 3.4em; padding-left: 10px; border-left: 1px solid var(--line); font-variant-numeric: tabular-nums; color: var(--cobalt); }
.th-barra { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.th-barra i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #8E9AE8, #F2A33A 40%, #F2A33A 70%, #8E9AE8); border-radius: 3px; }
.th-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.th-pasos li { padding: 14px 16px; border-radius: 20px; background: var(--tile); display: flex; flex-direction: column; gap: 4px; opacity: .45; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .4s; }
.th-pasos li.on { opacity: 1; transform: none; box-shadow: inset 0 0 0 2px var(--cobalt); }
.th-pasos b { font-weight: 800; font-size: 18px; color: var(--ink); }
.th-pasos span { font-size: 14.5px; line-height: 1.4; }
@media (max-width: 760px) {
  .th { height: 300vh; }
  .th-vis { aspect-ratio: 4 / 3; border-radius: 26px; }
  .th-pasos { grid-template-columns: minmax(0, 1fr); }
  .th-pasos li { display: none; }
  .th-pasos li.on { display: flex; }
  .th-pill { font-size: 13.5px; left: 10px; top: 10px; }
}

.th-pega { padding-top: 84px; box-sizing: border-box; }
.th-vis { width: min(100%, calc((100svh - 260px) * 1.6)); margin-inline: auto; max-height: none; }
.th-pasos { width: min(100%, 1100px); margin-inline: auto; }
@media (max-width: 760px) { .th-pega { padding-top: 76px; } .th-vis { width: 100%; } }

/* ===== Transitions premium: película de producto recorrida con el scroll ===== */
.tr-cine { position: relative; height: 430vh; background: #0A0D26; margin-top: 8px; }
.tr-cine-pega { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tr-cine-img, .tr-cine-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-cine-cv { opacity: 0; transition: opacity .6s; }
.tr-cine.listo .tr-cine-cv { opacity: 1; }
.tr-cine-sombra { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 32, .88) 0%, rgba(8, 10, 32, .45) 26%, rgba(8, 10, 32, 0) 52%), linear-gradient(90deg, rgba(8, 10, 32, .5) 0%, rgba(8, 10, 32, 0) 45%); pointer-events: none; }
.tr-cine-txt { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); }
.tr-c-txt { position: absolute; left: clamp(16px, 4vw, 32px); bottom: 0; max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; opacity: 0; transform: translateY(24px); pointer-events: none; will-change: opacity, transform; }
.tr-c-txt.on { pointer-events: auto; }
.tr-c-h { margin: 0; color: #FFFFFF; font-weight: 800; font-size: clamp(42px, 6.6vw, 96px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.tr-c-txt p { margin: 0; color: #D7DCF6; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; max-width: 30em; }
.tr-c-txt .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn.ghost-l { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn.ghost-l:hover { box-shadow: inset 0 0 0 1.5px #FFFFFF; }
.tr-aliado-osc { background: rgba(255, 255, 255, .94); }
.tr-cine-pasos { position: absolute; right: clamp(16px, 4vw, 40px); bottom: clamp(44px, 9vh, 100px); display: flex; flex-direction: column; gap: 8px; }
.tr-cine-pasos i { width: 4px; height: 26px; border-radius: 2px; background: rgba(255, 255, 255, .25); transition: background-color .3s, height .3s; }
.tr-cine-pasos i.on { background: #FFFFFF; height: 40px; }
@media (max-aspect-ratio: 1/1) {
  .tr-cine { height: 380vh; }
  .tr-cine-img, .tr-cine-cv { inset: 9vh 0 auto 0; height: auto; aspect-ratio: 16 / 10; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); }
  .tr-cine-sombra { background: none; }
  .tr-cine-txt { bottom: max(36px, 6vh); }
  .tr-c-h { font-size: clamp(38px, 11vw, 60px); }
  .tr-cine-pasos { flex-direction: row; top: calc(9vh + 62.5vw + 6px); bottom: auto; right: 50%; transform: translateX(50%); }
  .tr-cine-pasos i { width: 26px; height: 4px; } .tr-cine-pasos i.on { width: 40px; height: 4px; }
}
@media (max-aspect-ratio: 1/1) and (min-width: 700px) { .tr-cine-img, .tr-cine-cv { inset: 12vh 0 auto 0; } .tr-cine-pasos { top: calc(12vh + 62.5vw + 8px); } }

/* La mirada: foto real, el lente se oscurece al pasar */
.tr-m-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tr-m-foto { position: relative; margin: 0; border-radius: 36px; overflow: hidden; background: #8E8F8A; box-shadow: var(--shadow); aspect-ratio: 760 / 1000; max-height: 82vh; justify-self: center; width: 100%; max-width: 560px; }
.tr-m-foto svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tr-m-foto figcaption { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 18px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.tr-m-foto figcaption i { width: 10px; height: 10px; border-radius: 50%; background: #8E9AE8; transition: background-color .3s, box-shadow .3s; }
.tr-m-foto.sol figcaption i { background: #F2A33A; box-shadow: 0 0 0 4px rgba(242, 163, 58, .22); }
.tr-m-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.tr-m-txt h2 { font-size: clamp(36px, 4.6vw, 62px); }
.tr-m-txt > p { font-size: 18px; max-width: 30em; }
.tr-m-datos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 520px; }
.tr-m-datos li { padding: 16px 14px; border-radius: 22px; background: var(--tile); display: flex; flex-direction: column; gap: 4px; }
.tr-m-datos b { font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -.035em; color: var(--cobalt); }
.tr-m-datos span { font-size: 14.5px; font-weight: 600; }
@media (min-width: 900px) { .tr-m-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); } }
/* el simulador, más abajo, como herramienta */
.tr-sim .tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .tr-sim .tr { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; } }

.tr-c-txt { right: clamp(16px, 4vw, 32px); }
@media (max-aspect-ratio: 1/1) {
  .tr-cine-img, .tr-cine-cv { inset: 8vh 0 auto 0; height: 54vh; aspect-ratio: auto; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%); }
  .tr-cine-pasos { top: calc(8vh + 54vh + 4px); }
}
@media (max-aspect-ratio: 1/1) and (min-width: 700px) { .tr-cine-img, .tr-cine-cv { inset: 10vh 0 auto 0; height: 50vh; } .tr-cine-pasos { top: calc(10vh + 50vh + 6px); } }
@media (max-aspect-ratio: 1/1) { .tr-cine-pasos { display: none; } }

/* Galería de jornadas: foto ancha arriba y tres abajo, mismo tratamiento de color */
.galeria { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.galeria .g-ancha { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 7; }
.galeria figure { min-height: 0; aspect-ratio: 4 / 5; }
.galeria figure.g-ancha { aspect-ratio: 16 / 7; }
.galeria img { filter: saturate(.96) contrast(1.03); }
.galeria figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 29, 76, 0) 55%, rgba(24, 29, 76, .28)); pointer-events: none; }
.galeria figcaption { z-index: 1; }
@media (max-width: 760px) {
  .galeria { grid-template-columns: 1fr 1fr; }
  .galeria figure.g-ancha { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .galeria figure:nth-child(2) { grid-column: auto; grid-row: auto; min-height: 0; }
  .galeria figure:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
