/* Opinio · landing. Usa los tokens --op-* (docs/brand/BRAND.md). Efectos: escena 3D en CSS, luz que sigue al puntero, revelado al hacer scroll. */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 5rem; color-scheme: light dark; }
body { margin: 0; font: 400 var(--op-text-base)/1.55 var(--op-font-body); color: var(--op-text); background: var(--op-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:root { --op-logo-ink: #17171C; --glow: rgba(0, 191, 166, .22); }
@media (prefers-color-scheme: dark) { :root { --op-logo-ink: #FFFFFF; --glow: rgba(0, 191, 166, .16); } }

h1, h2, h3 { font-family: var(--op-font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: var(--op-text-xl); }
p { margin: 0; }
a { color: var(--op-link); }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--op-focus); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: .75rem 1rem; background: var(--op-surface); }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 46rem); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 var(--op-text-xs) var(--op-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--op-text-muted); }
.lead { font-size: var(--op-text-lg); color: var(--op-text-muted); max-width: 56ch; }
.center .lead { margin-inline: auto; }
.dots { display: inline-flex; gap: 4px; } .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--op-accent); animation: blink 2.4s var(--op-ease) infinite; } .dots i:last-child { animation-delay: .25s; }
@keyframes blink { 0%, 70%, 100% { transform: scale(1); opacity: 1; } 80% { transform: scale(.4); opacity: .5; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--op-radius-md); border: 1.5px solid transparent; font: 600 var(--op-text-base) var(--op-font-display); text-decoration: none; cursor: pointer; transition: transform .2s var(--op-ease), background .2s var(--op-ease), box-shadow .25s var(--op-ease), border-color .2s var(--op-ease); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: .4rem 1rem; font-size: var(--op-text-sm); }
.btn-lg { min-height: 56px; padding: .9rem 2rem; font-size: var(--op-text-lg); }
.btn-primary { background: var(--op-grafito); color: #fff; } .btn-primary:hover { background: var(--op-grafito-800); }
.btn-accent { background: var(--op-accent); color: var(--op-on-accent); box-shadow: 0 10px 30px -8px rgba(0, 191, 166, .55); }
.btn-accent:hover { background: var(--op-turquesa-600); box-shadow: 0 16px 40px -8px rgba(0, 191, 166, .7); }
.btn-ghost { background: var(--op-surface); color: var(--op-text); border-color: var(--op-border); } .btn-ghost:hover { border-color: var(--op-grafito-300); }
.link-quiet { color: var(--op-text); text-decoration: none; font-weight: 600; font-size: var(--op-text-sm); padding: .5rem .25rem; }
@media (prefers-color-scheme: dark) { .btn-primary { background: var(--op-surface-2); color: var(--op-text); border-color: var(--op-border); } .btn-primary:hover { background: var(--op-grafito-700); } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s var(--op-ease), box-shadow .25s var(--op-ease); }
.nav.stuck { background: color-mix(in srgb, var(--op-bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--op-border); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
.nav-logo { display: inline-flex; border-radius: 8px; } .nav-logo svg { display: block; }
.nav-links { display: none; gap: 1.75rem; } .nav-links a { color: var(--op-text-muted); text-decoration: none; font-weight: 500; font-size: var(--op-text-sm); transition: color .2s; } .nav-links a:hover { color: var(--op-text); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* Hero */
.hero { position: relative; padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-glow { position: absolute; inset: -20% -10% 0; pointer-events: none; background:
    radial-gradient(38rem 28rem at var(--gx, 72%) var(--gy, 38%), var(--glow), transparent 70%),
    radial-gradient(26rem 20rem at 8% 0%, rgba(0, 191, 166, .08), transparent 70%); transition: background-position .3s; }
.hero-in > * { min-width: 0; }
.hero-in { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.05fr 1fr; gap: 2rem; } }
.hero-copy > * + * { margin-top: 1.5rem; }
.smile-word { position: relative; display: inline-block; white-space: nowrap; }
.smile-word svg { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .34em; overflow: visible; }
.smile-word path { fill: none; stroke: var(--op-accent); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .5s var(--op-ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ticks li { position: relative; padding-left: 1.75rem; margin-top: .55rem; color: var(--op-text-muted); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--op-turquesa-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }

/* ── Escena 3D ── */
.scene { position: relative; perspective: 1400px; height: clamp(340px, 52vw, 520px); min-width: 0; }
.stage { position: absolute; left: 50%; top: 50%; margin: -220px 0 0 -220px; width: 440px; height: 440px; transform-style: preserve-3d; transform: scale(var(--s, 1)) rotateX(var(--rx, 14deg)) rotateY(var(--ry, -22deg)); transition: transform .5s var(--op-ease); animation: float 7s ease-in-out infinite; }
.stage.live { transition: transform .12s linear; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 520px) { .stage { --s: .7; margin-left: -235px; } } @media (min-width: 521px) and (max-width: 959px) { .stage { --s: .9; } }
.stage > * { position: absolute; transform-style: preserve-3d; }
.slab { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; border-radius: var(--r); }
.slab > .layer { position: absolute; inset: 0; border-radius: var(--r); background: var(--edge); }
.slab-dark { --r: 34px; --edge: #0B0B0E; } .slab-white { --r: 22px; --edge: #C9C9D3; }

.plate { width: 230px; height: 230px; left: 190px; top: 236px; transform: translateZ(110px) rotateX(4deg); }
.plate-face { position: absolute; inset: 0; border-radius: 34px; background: #17171C; display: grid; place-content: center; justify-items: center; gap: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .04); transform: translateZ(1px); transform-style: preserve-3d; }
.plate-symbol { width: 96px; transform: translateZ(7px); filter: drop-shadow(0 5px 3px rgba(0, 0, 0, .55)); } .plate-symbol svg { display: block; width: 100%; }
.plate-text { font: 600 17px var(--op-font-display); color: #fff; transform: translateZ(5px); text-shadow: 0 3px 2px rgba(0, 0, 0, .6); }
.shine { position: absolute; inset: 0; border-radius: 34px; transform: translateZ(8px); pointer-events: none; background: radial-gradient(240px 200px at var(--lx, 28%) var(--ly, 18%), rgba(255, 255, 255, .22), transparent 65%); mix-blend-mode: screen; }
.waves { position: absolute; inset: 0; transform: translateZ(-16px); } .waves i { position: absolute; inset: 8%; border-radius: 50%; border: 2.5px solid var(--op-accent); opacity: 0; animation: wave 3.2s var(--op-ease) infinite; } .waves i:nth-child(2) { animation-delay: 1.05s; } .waves i:nth-child(3) { animation-delay: 2.1s; }
@keyframes wave { 0% { transform: scale(.7); opacity: .75; } 100% { transform: scale(1.9); opacity: 0; } }

.stand { width: 178px; height: 244px; left: 250px; top: -34px; transform: translateZ(10px) rotateX(-6deg) rotateY(-6deg); }
.stand-face { position: absolute; inset: 0; border-radius: 22px; background: #fff; transform: translateZ(1px); display: grid; justify-items: center; align-content: center; gap: 9px; padding: 14px; box-shadow: inset 0 0 0 1px rgba(23, 23, 28, .06); --op-logo-ink: #17171C; }
.stand-title { font: 600 14.5px/1.15 var(--op-font-display); color: #17171C; text-align: center; }
.stand-stars { display: flex; gap: 2px; color: #00BFA6; } .stand-stars svg { width: 15px; }
.stand-qr { width: 104px; height: 104px; image-rendering: pixelated; }

.phone { width: 196px; height: 392px; left: -8px; top: 0; transform: translateZ(-70px) rotateY(10deg); border-radius: 34px; background: #0B0B0E; padding: 9px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08) inset, 30px 40px 60px -20px rgba(23, 23, 28, .45); }
.phone-screen { height: 100%; border-radius: 26px; background: #F7F7FA; padding: 26px 14px 0; display: grid; align-content: start; justify-items: center; gap: 7px; overflow: hidden; }
.ph-avatar { width: 46px; height: 46px; border-radius: 50%; background: #17171C; color: #fff; display: grid; place-items: center; font: 600 20px var(--op-font-display); }
.ph-name { font: 600 14px var(--op-font-display); color: #17171C; }
.ph-stars { display: flex; gap: 2px; color: #00BFA6; margin-bottom: 4px; } .ph-stars svg { width: 12px; }
.ph-btn { width: 100%; padding: 8px; border-radius: 9px; border: 1px solid #DCDCE4; background: #fff; font: 600 10.5px var(--op-font-body); color: #17171C; text-align: center; }
.ph-accent { background: #00BFA6; border-color: transparent; font: 600 12px var(--op-font-display); padding: 11px 8px; box-shadow: 0 6px 16px -6px rgba(0, 191, 166, .8); animation: pulse 3.2s var(--op-ease) infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.045); } 24% { transform: scale(1); } }
.floor { width: 460px; height: 220px; left: 10px; top: 330px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 23, 28, .32), transparent); transform: translateZ(-120px) rotateX(82deg); filter: blur(10px); }
@media (prefers-color-scheme: dark) { .floor { background: radial-gradient(closest-side, rgba(0, 191, 166, .22), transparent); } .phone { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14) inset, 0 0 80px -10px rgba(0, 191, 166, .25); } .plate-face { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .1); background: #1E1E25; } }

/* Banda de giros */
.band { padding: 1.5rem 0 0; } .band-in { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; } .chips li { padding: .4rem 1rem; border-radius: var(--op-radius-pill); background: var(--op-surface); border: 1px solid var(--op-border); font-weight: 500; font-size: var(--op-text-sm); }

/* Secciones */
.section { position: relative; padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--op-surface-2); }
.section-head { display: grid; gap: 1rem; margin-bottom: 3rem; max-width: 48rem; }
.narrow .section-head, .center .section-head { margin-inline: auto; }

/* Tarjetas con inclinación 3D y luz que sigue al puntero */
.card { position: relative; background: var(--op-surface); border-radius: var(--op-radius-lg); padding: 1.75rem; box-shadow: var(--op-shadow-sm); }
.tilt { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .35s var(--op-ease), box-shadow .35s var(--op-ease); will-change: transform; overflow: hidden; }
.tilt:hover { box-shadow: var(--op-shadow-md); transition-duration: .1s, .35s; }
.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(18rem 14rem at var(--mx, 50%) var(--my, 50%), rgba(0, 191, 166, .16), transparent 65%); }
.tilt:hover::after { opacity: 1; }
.card h3 { margin-bottom: .6rem; } .card p { color: var(--op-text-muted); }

.steps { display: grid; gap: 1.25rem; } @media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-n { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; border-radius: 50%; background: var(--op-turquesa-100); color: #17171C; font: 600 var(--op-text-xl) var(--op-font-display); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }
.product-icon { width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem; border-radius: 16px; display: grid; place-items: center; background: var(--op-grafito); color: #fff; } .product-icon svg { width: 1.6rem; }
.product:hover .product-icon { color: var(--op-turquesa); }
.tag { position: absolute; top: 1.4rem; right: 1.4rem; padding: .2rem .7rem; border-radius: var(--op-radius-pill); background: var(--op-turquesa-100); color: #17171C; font: 600 var(--op-text-xs) var(--op-font-body); }
@media (prefers-color-scheme: dark) { .product-icon { background: var(--op-surface-2); } }

/* Placas: renders de producto */
.plates-bar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; }
.seg { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border-radius: var(--op-radius-pill); background: var(--op-surface-2); }
.seg button { border: 0; background: transparent; color: var(--op-text-muted); font: 600 var(--op-text-sm) var(--op-font-body); padding: .5rem 1rem; border-radius: var(--op-radius-pill); cursor: pointer; transition: background .2s var(--op-ease), color .2s; }
.seg button.on { background: var(--op-surface); color: var(--op-text); box-shadow: var(--op-shadow-sm); }
.switch { position: relative; display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: var(--op-text-sm); cursor: pointer; }
.switch input { position: absolute; opacity: 0; } .switch span { width: 2.6rem; height: 1.5rem; border-radius: 999px; background: var(--op-grafito-300); position: relative; transition: background .2s var(--op-ease); }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #fff; transition: translate .25s var(--op-ease); }
.switch input:checked + span { background: var(--op-accent); } .switch input:checked + span::after { translate: 1.1rem 0; } .switch input:focus-visible + span { outline: 3px solid var(--op-focus); outline-offset: 2px; }
.plates { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); }
.plate-card { padding: 1rem 1rem 1.5rem; } .plate-card[hidden] { display: none; } .plate-card h3, .plate-card p, .plate-card .specs { padding-inline: .5rem; }
.plate-img { aspect-ratio: 1; margin-bottom: 1.1rem; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 60% at 50% 38%, #fff, var(--op-grafito-100)); }
.plate-img-dark { background: radial-gradient(70% 60% at 50% 38%, var(--op-turquesa-50), var(--op-turquesa-100)); }
.plate-img img { width: 88%; height: 88%; object-fit: contain; transition: transform .5s var(--op-ease), opacity .25s; filter: drop-shadow(0 18px 18px rgba(23, 23, 28, .18)); }
.plate-card:hover .plate-img img { transform: scale(1.06) rotate(-1.5deg); }
.plate-img img.swap { opacity: 0; }
.specs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; } .specs li { padding: .2rem .7rem; border-radius: var(--op-radius-pill); background: var(--op-surface-2); font: 600 var(--op-text-xs) var(--op-font-body); color: var(--op-text); }
.custom { margin-top: 2rem; display: grid; gap: 1.5rem; align-items: center; padding: 2rem; border-radius: var(--op-radius-xl); background: var(--op-surface-2); } @media (min-width: 860px) { .custom { grid-template-columns: 1fr 1fr; } }
.custom h3 { margin-bottom: .5rem; } .custom p { color: var(--op-text-muted); } .chips-left { justify-content: flex-start; } .chips-left li { font-family: var(--op-font-display); font-weight: 500; }
@media (prefers-color-scheme: dark) { .plate-img { background: radial-gradient(70% 60% at 50% 38%, #3A3A44, #24242B); } .plate-img-dark { background: radial-gradient(70% 60% at 50% 38%, #0f4a42, #24242B); } }

/* Secciones oscuras con luz */
.dark { background: #111115; color: #F7F7FA; overflow: hidden; --op-text-muted: #B9B9C4; }
.dark .eyebrow { color: #5ADBC8; } .dark .lead { color: #B9B9C4; }
.dark-glow { position: absolute; width: 60rem; height: 40rem; right: -18rem; top: -12rem; pointer-events: none; background: radial-gradient(closest-side, rgba(0, 191, 166, .24), transparent); }
.dark-glow-center { left: 50%; right: auto; top: 50%; translate: -50% -50%; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; scale: 1.1; } }
.split { position: relative; display: grid; gap: 3rem; align-items: center; } @media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split > div > * + * { margin-top: 1.25rem; }
.ticks-dark li { color: #DCDCE4; }

.dash { background: rgba(36, 36, 43, .72); backdrop-filter: blur(8px); border: 1px solid #3A3A44; border-radius: var(--op-radius-xl); padding: 1.5rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.dash-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.dash-k { display: block; font-size: var(--op-text-xs); color: #B9B9C4; } .dash-v { font: 600 clamp(1.4rem, 3.4vw, 2rem) var(--op-font-display); font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: #DCDCE4; display: flex; align-items: flex-end; overflow: hidden; transform-origin: bottom; }
.bars i { display: block; width: 100%; background: var(--op-turquesa); }
.js .reveal .bars span { transform: scaleY(0); } .js .reveal.in .bars span { transform: scaleY(1); transition: transform .9s var(--d) var(--op-ease); }
.legend { display: flex; gap: 1.25rem; margin-top: 1rem; font-size: var(--op-text-xs); color: #B9B9C4; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; } .lg-qr { background: #DCDCE4; } .lg-nfc { background: var(--op-turquesa); }

/* Clientes frecuentes: maqueta de la tarjeta de sellos */
.lo-wrap { position: relative; display: grid; justify-items: center; padding: 1rem 0 2.5rem; }
.lo-card { width: min(100%, 22rem); padding: 1.5rem; border-radius: var(--op-radius-xl); background: var(--op-surface); box-shadow: var(--op-shadow-md); display: grid; gap: 1rem; }
.lo-head { display: flex; align-items: center; gap: .8rem; } .lo-head .ph-avatar { width: 44px; height: 44px; font-size: 19px; }
.lo-biz { font: 600 var(--op-text-base) var(--op-font-display); } .lo-name { font-size: var(--op-text-sm); color: var(--op-text-muted); }
.lo-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.lo-stamp { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px dashed var(--op-border); color: var(--op-text-muted); font: 600 var(--op-text-sm) var(--op-font-display); }
.lo-stamp.on { border: 0; background: var(--op-accent); color: #17171C; } .lo-stamp svg { width: 55%; }
.js .reveal .lo-stamp.new { transform: scale(0); } .js .reveal.in .lo-stamp.new { transform: scale(1); transition: transform .6s .9s cubic-bezier(.34, 1.56, .64, 1); }
.lo-reward { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: var(--op-radius-md); background: var(--op-grafito); color: #fff; font-size: var(--op-text-sm); } .lo-reward svg { width: 1.4rem; flex: none; color: var(--op-turquesa); }
.lo-qr { justify-self: center; width: 96px; height: 96px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--op-border); image-rendering: pixelated; }
.lo-foot { text-align: center; font-size: var(--op-text-xs); color: var(--op-text-muted); }
.lo-toast { position: absolute; right: 0; bottom: .5rem; display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: var(--op-radius-pill); background: var(--op-surface); box-shadow: var(--op-shadow-md); font-size: var(--op-text-sm); border: 1px solid var(--op-border); }
.lo-check { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--op-turquesa-100); color: #17171C; } .lo-check svg { width: 1.1rem; }
.js .reveal .lo-toast { opacity: 0; translate: 0 12px; } .js .reveal.in .lo-toast { opacity: 1; translate: 0 0; transition: opacity .5s 1.1s var(--op-ease), translate .5s 1.1s var(--op-ease); }
.lo-steps { margin-top: 3rem; }
@media (min-width: 960px) { .lo-wrap { padding-right: 1.5rem; } .lo-toast { right: 1.5rem; } }
@media (prefers-color-scheme: dark) { .lo-reward { background: var(--op-surface-2); border: 1px solid var(--op-border); } }
@media (prefers-reduced-motion: reduce) { .js .reveal .lo-stamp.new { transform: none; } .js .reveal .lo-toast { opacity: 1; translate: none; } }

/* Planes */
.plans { display: grid; gap: 1.25rem; align-items: start; } @media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { padding: 2rem; } .price { font: 600 var(--op-text-3xl) var(--op-font-display); color: var(--op-text) !important; margin: .25rem 0 1.25rem; font-variant-numeric: tabular-nums; } .price small { font: 500 var(--op-text-sm) var(--op-font-body); color: var(--op-text-muted); }
.plan-note { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--op-border); font-size: var(--op-text-sm); color: var(--op-text-muted); }
.plan-pro { box-shadow: 0 0 0 2px var(--op-accent), 0 24px 60px -24px rgba(0, 191, 166, .45); }
.addon { margin-top: 1.25rem; padding: 1.75rem 2rem; display: grid; gap: 1rem; align-items: center; } .addon h3 { margin-bottom: .35rem; } .addon p { margin: 0; } .addon .price { margin: 0; white-space: nowrap; }
@media (min-width: 860px) { .addon { grid-template-columns: 1fr auto; } }
.price s, .plate-price s { font-size: .6em; font-weight: 500; color: var(--op-text-muted); margin-right: .25rem; }
.plate-price { padding-inline: .5rem; margin: 1rem 0 .75rem; font: 600 var(--op-text-xl) var(--op-font-display); font-variant-numeric: tabular-nums; } .plate-price small { font: 500 var(--op-text-xs) var(--op-font-body); color: var(--op-text-muted); }
.plans-volume { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-weight: 500; color: var(--op-text); }

/* Promoción vigente: texto grafito sobre turquesa claro (nunca blanco), sin botón turquesa. */
.promo-bar { background: var(--op-turquesa-100); color: var(--op-grafito); font-size: var(--op-text-sm); font-weight: 500; }
.promo-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .75rem; padding-block: .6rem; text-align: center; }
.promo-bar a { color: var(--op-turquesa-900); font-weight: 600; }
.promo-tag { padding: .15rem .6rem; border-radius: var(--op-radius-pill); background: var(--op-grafito-900); color: var(--op-grafito-50); font: 600 var(--op-text-xs) var(--op-font-body); letter-spacing: .04em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Preguntas */
.faq details { background: var(--op-surface); border-radius: var(--op-radius-lg); margin-bottom: .75rem; box-shadow: var(--op-shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 3.25rem 1.2rem 1.5rem; font: 600 var(--op-text-lg) var(--op-font-display); position: relative; border-radius: var(--op-radius-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 1.4rem; top: 50%; width: .7rem; height: .7rem; border-right: 2.5px solid var(--op-text); border-bottom: 2.5px solid var(--op-text); border-radius: 2px; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--op-ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 1.5rem 1.4rem; color: var(--op-text-muted); max-width: 65ch; }

/* Cierre y pie */
.cta .wrap > * + * { margin-top: 1.5rem; } .cta-symbol { width: 72px; margin-inline: auto; } .cta-symbol svg { display: block; width: 100%; filter: drop-shadow(0 0 24px rgba(0, 191, 166, .5)); }
.foot { padding: 2.5rem 0 3rem; font-size: var(--op-text-sm); color: var(--op-text-muted); }
.foot-in { display: grid; gap: 1.25rem; justify-items: center; text-align: center; } .foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; } .foot a { color: inherit; text-decoration: none; font-weight: 500; } .foot a:hover { color: var(--op-text); }

/* Revelado al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s var(--op-ease), translate .7s var(--op-ease); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; translate: none; } .js .reveal .bars span { transform: none; } .smile-word path { stroke-dashoffset: 0; }
}

/* Muestrario 3D: modal en la landing (dialog) y página /muestrario. Visor en public/brand/muestrario.js */
.ver-3d { margin: 1rem .5rem 0; gap: .45rem; } .ver-3d svg { width: 1.1rem; height: 1.1rem; }
.plates-more { margin-top: 1.5rem; text-align: center; font-weight: 600; } .plates-more a { color: var(--op-link); text-underline-offset: 3px; }
.visor { display: grid; gap: 1.25rem; min-height: 0; } @media (min-width: 860px) { .visor { grid-template-columns: 1.45fr 1fr; } }
.visor-stage { position: relative; min-height: 22rem; border-radius: var(--op-radius-lg); background: radial-gradient(70% 60% at 50% 38%, #fff, var(--op-grafito-100)); overflow: hidden; touch-action: none; }
.visor-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; } .visor-stage canvas:active { cursor: grabbing; }
.visor-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6rem; opacity: 0; transition: opacity .2s; pointer-events: none; }
.visor-loading i { width: .9rem; height: .9rem; border-radius: 50%; background: var(--op-accent); animation: parpadeo 1s infinite alternate; } .visor-loading i:last-child { animation-delay: .35s; }
.visor[data-cargando] .visor-loading { opacity: 1; } .visor[data-cargando] canvas { opacity: .35; }
.visor-stage canvas { transition: opacity .25s; }
@keyframes parpadeo { from { transform: scale(.55); opacity: .35; } to { transform: none; opacity: 1; } }
.visor-side { display: flex; flex-direction: column; min-height: 0; }
.visor-side h3 { font-size: var(--op-text-xl); margin: .5rem 0 .2rem; } .visor-uso { color: var(--op-text-muted); min-height: 1.5em; }
.visor-opts { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 1rem 0 1.25rem; } .visor-opts label[hidden] { display: none; }
.visor-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.visor-list button { display: grid; gap: .25rem; justify-items: center; padding: .5rem .35rem .6rem; border: 1.5px solid var(--op-border); border-radius: var(--op-radius-md); background: var(--op-surface); color: var(--op-text); font: 600 var(--op-text-xs) var(--op-font-body); line-height: 1.2; text-align: center; cursor: pointer; transition: border-color .2s var(--op-ease), background .2s var(--op-ease); }
.visor-list button img { width: 100%; max-width: 5.5rem; aspect-ratio: 1; object-fit: contain; } .visor-list button:hover { border-color: var(--op-grafito-300); }
.visor-list button.on { border-color: var(--op-accent); background: var(--op-turquesa-50); }
.visor-note { margin-top: auto; padding-top: 1rem; font-size: var(--op-text-sm); color: var(--op-text-muted); }
.visor-dialog { width: min(96vw, 66rem); max-width: none; height: min(92dvh, 46rem); margin: auto; padding: 1.25rem; border: 0; border-radius: var(--op-radius-xl); background: var(--op-bg); color: var(--op-text); box-shadow: var(--op-shadow-md); }
.visor-dialog::backdrop { background: rgba(23, 23, 28, .55); backdrop-filter: blur(6px); }
.visor-dialog .visor { height: 100%; grid-template-rows: minmax(12rem, 1fr) auto; } .visor-dialog .visor-stage { min-height: 0; } .visor-dialog .visor-side { overflow: auto; }
@media (min-width: 860px) { .visor-dialog .visor { grid-template-rows: 100%; } }
.visor-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--op-surface); color: var(--op-text); box-shadow: var(--op-shadow-sm); cursor: pointer; } .visor-close svg { width: 1.2rem; }
@media (max-width: 859px) { .visor-dialog { width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; padding: 1rem; } }
.visor-page .section-head { margin-bottom: 2rem; } .visor-page .visor-stage { min-height: min(34rem, 70vh); }
.visor-cta { margin-top: 3rem; display: grid; gap: 1.5rem; align-items: center; padding: 2rem; border-radius: var(--op-radius-xl); background: var(--op-surface-2); } @media (min-width: 860px) { .visor-cta { grid-template-columns: 1fr auto; } }
.visor-cta h2 { margin-bottom: .4rem; } .visor-cta p { color: var(--op-text-muted); max-width: 48ch; }
@media (prefers-color-scheme: dark) { .visor-stage { background: radial-gradient(70% 60% at 50% 38%, #3A3A44, #24242B); } .visor-list button.on { background: var(--op-surface-2); } }
@media (prefers-reduced-motion: reduce) { .visor-loading i { animation: none; } }
