/* Yeison Barber Shop · efectos: intro, navaja, rótulos, ritual, test, cuenta atrás y avisos */

/* ---------- Desplazamiento suave (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Intro de entrada ---------- */
.intro { display: none; }
.show-intro body { overflow: hidden; }
.show-intro .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 600; cursor: pointer; }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: radial-gradient(120% 100% at 50% 100%, #1c120d, #070504 70%); transition: translate 1s cubic-bezier(.76, 0, .24, 1); }
.intro-top { top: 0; }
.intro-bottom { bottom: 0; background: radial-gradient(120% 100% at 50% 0%, #1c120d, #070504 70%); }
.intro-top::after, .intro-bottom::before { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--glass-h), var(--stripes-h); background-size: 100% 100%, 64.664px 112px; animation: tube-run 1.4s linear infinite; border-block: 2px solid #999; border-image: var(--chrome) 1; }
.intro-top::after { bottom: 0; }
.intro-top::after, .intro-bottom::before { opacity: 0; transition: opacity .2s; }
.intro.is-open .intro-top::after, .intro.is-open .intro-bottom::before { opacity: 1; }
.intro-bottom::before { top: 0; }
.intro-core { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; text-align: center; transition: opacity .4s, scale .6s var(--ease); }
.intro-seal { width: 170px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 0 9px #070504, 0 0 0 10.5px var(--red-hi), 0 0 60px 10px rgba(255, 60, 90, .35); animation: intro-seal 1.1s var(--ease) both .15s, intro-glow 2.4s ease-in-out infinite 1.2s; }
.intro-seal img { width: 100%; border-radius: 50%; }
@keyframes intro-seal { from { opacity: 0; scale: .6; rotate: -40deg; } }
@keyframes intro-glow { 50% { box-shadow: 0 0 0 2px var(--gold), 0 0 0 9px #070504, 0 0 0 10.5px var(--red-hi), 0 0 90px 22px rgba(255, 60, 90, .5); } }
.intro-name { font: 400 clamp(20px, 3vw, 30px) var(--rye); color: var(--gold-hi); letter-spacing: .12em; text-transform: uppercase; animation: intro-name 1.2s var(--ease) both .5s; }
@keyframes intro-name { from { opacity: 0; letter-spacing: .6em; filter: blur(6px); } }
.intro-neon { font: 700 clamp(34px, 5vw, 54px)/1 var(--sans); font-stretch: 85%; letter-spacing: .3em; padding-left: .3em; color: #fff8ef; text-shadow: 0 0 1px #fff, 0 0 5px #fff, 0 0 12px #ff4d6d, 0 0 26px #ff2a55, 0 0 50px #ff2a55; animation: neon-start 1.3s linear both .9s; }
.intro-tube { width: min(280px, 60vw); height: 10px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(209, 171, 119, .3); }
.intro-tube span { display: block; height: 100%; background: var(--glass-h), var(--stripes-h); background-size: 100% 100%, 64.664px 112px; animation: tube-run 1s linear infinite, intro-load 2s cubic-bezier(.6, 0, .3, 1) both .2s; transform-origin: left; }
@keyframes intro-load { from { transform: scaleX(0); } }
.intro-skip { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(252, 247, 234, .4); animation: intro-name 1s var(--ease) both 1.4s; }
.intro.is-open .intro-top { translate: 0 -101%; }
.intro.is-open .intro-bottom { translate: 0 101%; }
.intro.is-open .intro-core { opacity: 0; scale: 1.15; }

/* ---------- Revelado con pase de navaja ---------- */
.razor { position: relative; }
.js .razor img { clip-path: inset(0 100% 0 0); }
.razor.is-cut img { animation: razor-cut 1.15s cubic-bezier(.75, 0, .2, 1) both; }
@keyframes razor-cut { to { clip-path: inset(0 0 0 0); } }
.blade { position: absolute; top: -2%; bottom: -2%; left: 0; width: 3px; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, #fff 15%, #fff 85%, transparent); box-shadow: 0 0 12px 3px rgba(255, 236, 210, .9), 0 0 30px 6px rgba(209, 171, 119, .6); }
.razor.is-cut .blade { animation: blade-pass 1.15s cubic-bezier(.75, 0, .2, 1) both; }
@keyframes blade-pass { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* ---------- Rótulos gigantes que corren con el scroll ---------- */
.bigline { padding: 70px 0 40px; overflow: hidden; background: var(--paper); }
.bigline-row { overflow: hidden; }
.bigline-track { display: flex; align-items: baseline; gap: .35em; width: max-content; font: 500 clamp(64px, 10vw, 150px)/1.05 var(--serif); letter-spacing: -.03em; will-change: transform; white-space: nowrap; }
.bigline-track span { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.bigline-track em { font: 400 .78em/1 var(--script); color: var(--red); letter-spacing: 0; padding-right: .1em; }
.bigline-row + .bigline-row .bigline-track span { color: var(--fg); -webkit-text-stroke: 0; }
.bigline-row + .bigline-row .bigline-track em { color: var(--gold-deep); }
.bigline-track::after { content: "✦"; font-size: .4em; color: var(--red); align-self: center; }

/* ---------- Cuenta atrás de paletas ---------- */
.countdown { display: inline-flex; align-items: center; gap: 10px; }
.cd-label { font: 400 12px var(--rye); letter-spacing: .1em; text-transform: uppercase; color: var(--tobacco); }
.cd-digits { display: inline-flex; gap: 3px; }
.cd-digits i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 36px; border-radius: 5px; background: linear-gradient(#1d1510 0 49%, #0e0907 51%); color: var(--cream); font: 600 22px/1 var(--serif); box-shadow: inset 0 0 0 1px rgba(209, 171, 119, .25), 0 6px 12px -6px rgba(0, 0, 0, .6); position: relative; }
.cd-digits i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .6); }
.cd-digits .sep { width: 8px; background: none; box-shadow: none; color: var(--red); }
.cd-digits .sep::after { display: none; }
.cd-digits .d-unit { width: auto; padding: 0 6px; font-size: 15px; }
.cd-digits i.flip { animation: flip .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes flip { 0% { transform: perspective(200px) rotateX(-90deg); } 100% { transform: perspective(200px) rotateX(0); } }

/* ---------- Test: encuentra tu corte ---------- */
.quiz-sec { background: radial-gradient(70% 70% at 50% 0%, rgba(209, 171, 119, .25), transparent 70%), var(--paper); }
.quiz-sec-tight { padding-top: 40px; }
.quiz { max-width: 1000px; margin-inline: auto; padding: 44px; border-radius: 8px; background: var(--surface); box-shadow: 0 40px 80px -50px rgba(68, 41, 21, .8), 0 0 0 1px var(--rule); position: relative; overflow: hidden; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.quiz-step { font: 400 13px var(--rye); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.quiz-bar { flex: 1; max-width: 320px; height: 10px; border-radius: 10px; overflow: hidden; background: rgba(68, 41, 21, .08); box-shadow: inset 0 0 0 1px var(--rule); }
.quiz-bar span { display: block; height: 100%; background: var(--glass-h), var(--stripes-h); background-size: 100% 100%, 64.664px 112px; animation: tube-run 1.6s linear infinite; transition: width .6s var(--ease); }
.quiz h3 { font: 500 clamp(28px, 3.4vw, 44px)/1.1 var(--serif); color: var(--fg); margin-bottom: 28px; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.qopt { position: relative; display: grid; grid-template-rows: auto auto; text-align: left; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1.5px var(--rule); transition: transform .4s var(--ease), box-shadow .3s; animation: shot-in .5s var(--ease) both; }
.qopt:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 0 0 2px var(--red), 0 24px 40px -24px rgba(68, 41, 21, .8); }
.qopt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale .8s var(--ease); }
.qopt:hover img { scale: 1.08; }
.qopt span { padding: 16px 18px 18px; }
.qopt b { display: block; font: 500 22px/1.15 var(--serif); color: var(--fg); }
.qopt small { color: var(--muted); font-size: 14px; }
.quiz-res { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; animation: shot-in .6s var(--ease) both; }
.quiz-res .eyebrow { margin-bottom: 8px; }
.quiz-res h3 { margin-bottom: 14px; }
.quiz-res h3 .script { font-size: 1.15em; }
.quiz-res > div > p { color: var(--muted); }
.quiz-svc { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0; padding: 16px 0; border-block: 1px dashed var(--rule); }
.quiz-svc b { font: 600 40px/1 var(--serif); color: var(--red); }
.quiz-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-again { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 14px; margin-top: 14px; }
.quiz-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; animation: shot-in .6s var(--ease) both; }
.quiz-pics img:nth-child(2) { animation-delay: .08s; translate: 0 18px; }
.quiz-pics img:nth-child(3) { animation-delay: .16s; }
.quiz-pics img:nth-child(4) { animation-delay: .24s; translate: 0 18px; }

/* ---------- Avisos de reseñas ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 96; display: grid; gap: 10px; width: 340px; pointer-events: none; }
.toast { pointer-events: auto; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px 40px 16px 16px; border-radius: 14px; background: rgba(17, 11, 8, .95); color: var(--cream); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(209, 171, 119, .28); animation: toast-in .6s var(--ease) both; }
.toast.is-out { animation: toast-out .5s var(--ease) both; }
@keyframes toast-in { from { opacity: 0; translate: 40px 0; } }
@keyframes toast-out { to { opacity: 0; translate: 40px 0; } }
.toast .avatar { width: 40px; height: 40px; }
.toast p { font: italic 500 16px/1.35 var(--serif); }
.toast small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted-ink); }
.toast small b { color: var(--gold); letter-spacing: 1px; }
.toast button { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(252, 247, 234, .08); color: var(--cream); font-size: 16px; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .theme-switch { transition: translate .4s var(--ease), opacity .3s; }
  .theme-switch.is-tucked { translate: -50% 160%; opacity: 0; pointer-events: none; }
  .quiz { padding: 28px 20px; }
  .quiz-res { grid-template-columns: 1fr; }
  .toasts { display: none; }
}
@media (max-width: 600px) {
  .bigline { padding: 50px 0 20px; }
  .quiz-opts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qopt b { font-size: 17px; }
  .qopt small { display: none; }
  .qopt span { padding: 12px; }
  .cd-digits i { width: 22px; height: 31px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .razor img { clip-path: none; }
  .blade { display: none; }
}


/* =====================================================================
   v4 · Portada más detallada, orden en móvil, ritual apilado y licencias
   ===================================================================== */

/* ---------- Texto de portada ---------- */
.hero-copy .swash { margin: -6px 0 22px; width: 260px; }
.lead mark { background: linear-gradient(transparent 62%, rgba(209, 171, 119, .45) 62%); color: var(--fg); font-weight: 600; padding: 0 .1em; }
[data-theme="negro"] .lead mark { background: linear-gradient(transparent 62%, rgba(196, 30, 39, .5) 62%); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; }
.hero-facts li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), 0 12px 24px -20px rgba(68, 41, 21, .7); }
.hero-facts svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--red); color: var(--cream); flex: none; }
.hero-facts b { display: block; font-size: 14px; line-height: 1.2; color: var(--fg); }
.hero-facts small { font-size: 12px; color: var(--muted); }
.hero-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; padding: 16px 20px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), inset 0 0 0 5px var(--surface), inset 0 0 0 6px rgba(209, 171, 119, .45), 0 24px 40px -30px rgba(68, 41, 21, .8); }
.hero-card .hero-rating { text-decoration: none; padding-left: 22px; border-left: 1px solid var(--rule); }
.hero-card .hero-rating:hover b { color: var(--red); }
.hero-card .countdown { padding-left: 22px; border-left: 1px solid var(--rule); }

/* ---------- Cinta roja arriba (solo móvil y tableta) ---------- */
.ticker-top { display: none; }

/* ---------- Fotos con marco de espejo (adiós a la forma de ventana) ---------- */
.page-hero-art { rotate: 2deg; }

/* ---------- El ritual: tarjetas que se apilan ---------- */
.ritual { position: relative; background: var(--ink); color: var(--cream); padding: 120px 0 140px; }
[data-theme="negro"] .ritual { background: #050403; }
.ritual-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.ritual-side { position: sticky; top: 120px; }
.ritual-side .eyebrow { color: var(--gold); }
.ritual-side h2 { color: var(--cream); }
.ritual-side .script { color: var(--gold); }
.ritual-side .sec-lead { color: var(--muted-ink); }
.ritual-meter { display: flex; gap: 28px; align-items: stretch; margin-top: 40px; }
.ritual-lamp { height: 300px; width: 48px; grid-template-rows: 28px 1fr 28px; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .5)); }
.ritual-lamp .lamp-cap { width: 48px; }
.ritual-lamp .lamp-glass { width: 34px; }
.ritual-steps { list-style: none; padding: 0; margin: 0; display: grid; align-content: space-between; }
.ritual-steps li { display: flex; align-items: baseline; gap: 14px; font: 500 22px/1.2 var(--serif); color: rgba(252, 247, 234, .35); transition: color .4s, translate .4s var(--ease); }
.ritual-steps li span { font: 400 13px var(--rye); color: rgba(209, 171, 119, .4); transition: color .4s; }
.ritual-steps li.is-on { color: var(--cream); translate: 10px 0; }
.ritual-steps li.is-on span { color: var(--gold); }
.ritual-steps li.is-done { color: rgba(252, 247, 234, .6); }
.ritual-stack { display: grid; gap: 40px; }
.rs { position: sticky; top: calc(110px + var(--i) * 18px); height: min(68vh, 600px); border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(209, 171, 119, .35); transform-origin: 50% 0; will-change: transform; }
.rs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.06; }
.rs::before { content: ""; position: absolute; inset: 12px; z-index: 2; border: 1.5px solid rgba(234, 209, 164, .6); border-radius: 14px; pointer-events: none; }
.rs::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(10, 6, 4, .55) 60%, rgba(10, 6, 4, .95) 100%); }
.rs-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 44px 40px; }
.rs-n { display: block; font: 400 clamp(64px, 7vw, 100px)/.9 var(--rye); background: var(--gold-foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s linear infinite; }
.rs h3 { font: 500 clamp(30px, 3vw, 44px)/1.05 var(--serif); color: var(--cream); margin: 8px 0 10px; }
.rs p { color: rgba(252, 247, 234, .82); font-size: 17px; max-width: 30em; }
.rs-end { position: relative; padding: 50px 30px 10px; text-align: center; }
.rs-end .script { font-size: clamp(52px, 6vw, 80px); color: var(--gold); display: block; margin-bottom: 26px; }
.rs-end .hero-cta { justify-content: center; margin: 0; }

/* ---------- Licencia de barbero (equipo) ---------- */
.stamp { position: absolute; z-index: 3; right: 14px; top: 14px; padding: 8px 14px 6px; border: 2.5px solid var(--red); border-radius: 8px; color: var(--red); background: rgba(252, 247, 234, .85); font: 400 14px/1.1 var(--rye); letter-spacing: .08em; text-transform: uppercase; text-align: center; rotate: 8deg; box-shadow: inset 0 0 0 2px rgba(252, 247, 234, .85), inset 0 0 0 3.5px var(--red); mix-blend-mode: normal; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stamp small { font-size: .62em; letter-spacing: .1em; }
.stamp-big { font-size: 20px; padding: 12px 18px 9px; right: 18px; top: 18px; }
.razor.is-cut .stamp, .is-in .stamp { animation: stamp-hit .5s cubic-bezier(.3, 1.6, .5, 1) both 1s; }
@keyframes stamp-hit { from { opacity: 0; scale: 2.2; rotate: -10deg; } }

.licenses { padding-top: 110px; }
.licenses-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.license { position: relative; padding: 22px 22px 30px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), 0 40px 70px -40px rgba(68, 41, 21, .8); transition: transform .5s var(--ease), box-shadow .4s, opacity 1s var(--ease), translate 1s var(--ease); }
.license::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid var(--gold); border-radius: 6px; pointer-events: none; }
.license::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(169, 124, 75, .3); border-radius: 4px; pointer-events: none; }
.license:nth-child(2) { margin-top: 70px; }
.license:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 0 0 1px var(--rule), 0 50px 80px -40px rgba(68, 41, 21, .9); }
.license > * { position: relative; z-index: 1; }
.lic-top { display: flex; justify-content: space-between; padding: 10px 14px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); border-bottom: 1px dashed var(--rule); margin-bottom: 18px; }
.lic-photo { position: relative; margin: 0 6px; aspect-ratio: 4 / 4.4; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 20px 40px -24px rgba(0, 0, 0, .7); }
.lic-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: scale 1.2s var(--ease); }
.license:hover .lic-photo img { scale: 1.05; }
.lic-body { padding: 24px 18px 0; }
.lic-name { font-size: clamp(84px, 8vw, 120px); line-height: .95; margin: 8px 0 22px -4px; display: block; }
.lic-role { font: 400 13px var(--rye); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin: 6px 0 16px; }
.lic-text { color: var(--muted); }
.lic-stats { display: grid; grid-template-columns: auto auto 1fr; gap: 24px; margin: 24px 0; padding: 18px 0; border-block: 1px solid var(--rule); }
.lic-stats dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lic-stats dd { margin: 6px 0 0; font: 600 38px/1 var(--serif); color: var(--red); display: flex; align-items: center; gap: 10px; }
.lic-stats dd small { font-size: .5em; color: var(--gold-deep); }
.lic-share dd { font-size: 22px; color: var(--fg); }
.share-bar { flex: 1; height: 10px; border-radius: 10px; overflow: hidden; background: rgba(68, 41, 21, .1); box-shadow: inset 0 0 0 1px var(--rule); }
.share-bar i { display: block; height: 100%; width: var(--s); background: var(--glass-h), var(--stripes-h); background-size: 100% 100%, 64.664px 112px; animation: tube-run 1.6s linear infinite; border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .4s; }
.is-in .share-bar i { transform: scaleX(1); }
.license .said { min-height: 140px; }
.licenses-note { margin-top: 30px; text-align: center; font-size: 13px; color: var(--muted); }

/* Equipo en portada: mini licencias */
.mini-license { position: relative; display: block; padding: 12px 12px 18px; border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--fg); box-shadow: 0 0 0 1px var(--rule), 0 30px 50px -30px rgba(68, 41, 21, .8); transition: transform .5s var(--ease), opacity 1s var(--ease), translate 1s var(--ease); }
.mini-license::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid var(--gold); border-radius: 8px; pointer-events: none; }
.mini-license:nth-child(2) { margin-top: 60px; }
.mini-license:hover { transform: translateY(-6px) rotate(.6deg); }
.ml-photo { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: 8px; overflow: hidden; }
.ml-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: scale 1s var(--ease); }
.mini-license:hover .ml-photo img { scale: 1.06; }
.ml-name { display: block; font-size: 54px; margin: 10px 0 0 6px; line-height: 1; }
.ml-meta { display: flex; align-items: center; gap: 6px; margin-left: 8px; font-size: 13px; color: var(--muted); }
.ml-meta b { color: var(--red); }

/* ---------- Móvil y tableta ---------- */
@media (max-width: 900px) {
  .ritual { padding: 90px 0 100px; }
  .ritual-in { grid-template-columns: 1fr; gap: 40px; }
  .ritual-side { position: relative; top: 0; }
  .ritual-meter { display: none; }
  .rs { top: calc(84px + var(--i) * 12px); height: 70vh; height: 70svh; border-radius: 18px; }
  .rs-txt { padding: 0 26px 28px; }
  .rs p { font-size: 15.5px; }
  .licenses-in { grid-template-columns: 1fr; }
  .license:nth-child(2) { margin-top: 0; }

  /* Portada en móvil: menú → cinta roja → sello + OPEN → texto → cifras */
  .hero { padding-top: 84px; }
  .ticker-top { display: block; margin: 0 -20px 6px; rotate: -1.5deg; }
  .hero > .ticker-top + .wrap { margin-top: 0; }
  .ticker:not(.ticker-top) { display: none; }
  .hero-in { gap: 6px; }
  .hero-stage { order: -1; height: 360px; max-width: 420px; }
  .hero-stage .phone-hero, .hero-stage .polaroid { display: none; }
  .seal { width: 320px; left: 44%; top: 52%; }
  .hero-board { right: 0; top: 18px; }
  .scroll-cue { display: none; }
  .figures { margin-top: 0; }
}
@media (max-width: 600px) {
  .hero-stage { height: 320px; }
  .seal { width: 280px; left: 42%; }
  .hero-board { right: -4px; top: 14px; padding: 12px 10px; }
  .hero-board .neon svg { height: 104px; }
  .hero-board .neon-word { font-size: 19px; }
  .hero-copy .swash { width: 200px; margin-bottom: 16px; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero-facts li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .hero-facts b { font-size: 13px; }
  .hero-facts small { font-size: 11px; }
  .hero-card { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .hero-card .status-pill { justify-self: start; }
  .hero-card .countdown { padding-left: 0; border-left: 0; justify-content: space-between; }
  .hero-card .hero-rating { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .lic-stats { grid-template-columns: auto auto; gap: 18px; }
  .lic-share { grid-column: 1 / -1; }
  .lic-name { font-size: 84px; }
  .stamp-big { font-size: 16px; }
  .mini-license:nth-child(2) { margin-top: 40px; }
  .ml-name { font-size: 40px; }
  .ml-meta { font-size: 11.5px; flex-wrap: wrap; }
}

/* Las citas rotatorias ocupan el alto de la más larga: nunca pisan el botón */
.said { display: grid; min-height: 0 !important; }
.said blockquote { position: relative; inset: auto; grid-area: 1 / 1; }
