body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--w); padding: 12px 18px; border-radius: 10px; z-index: 90; }
.skip:focus { left: 8px; }
main:focus { outline: 0; }
.kicker { color: var(--m); font-weight: 600; margin-bottom: 12px; }
.muted { color: var(--soft); font-size: 16px; }
.link { background: none; border: 0; padding: 0; color: var(--m); font-weight: 600; text-decoration: underline; cursor: pointer; }
.note { background: var(--w); border-radius: var(--r-s); padding: 16px 20px; margin: 16px 0; }
.note.strong { background: var(--m-xl); color: var(--m-d); }






.foot { background: var(--ink); color: var(--b); padding: 44px var(--gut); }
.foot-in { display: grid; gap: 26px; }
.foot img { width: 118px; }
.foot strong { font-family: var(--title); font-size: 20px; }
.foot a { color: var(--b); }
.foot-links { display: grid; gap: 8px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 200px 1fr auto; align-items: start; } }

.flow { padding: 20px var(--gut) 56px; max-width: 760px; margin: 0 auto; }
.flow.narrow { max-width: 560px; }
.flow.wide { max-width: 1160px; }
.step-top { margin-bottom: 26px; }
.step-n { color: var(--m); font-weight: 600; margin-bottom: 8px; }
.flow h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; }
.step-sub { color: var(--soft); font-size: 19px; margin-top: 10px; }
.group { font-size: 24px; color: var(--m); margin: 28px 0 12px; }
.choices { display: grid; gap: 10px; }
.choices.two { grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices.two { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; flex-direction: column; gap: 3px; width: 100%; min-height: 76px; justify-content: center; text-align: left; padding: 16px 20px; background: var(--w); border: 3px solid transparent; border-radius: var(--r-s); cursor: pointer; transition: background .12s; }
.choice:hover { background: var(--m-xl); }
.choice strong { font-family: var(--title); font-size: 20px; line-height: 1.2; }
.choice span { color: var(--soft); font-size: 16px; line-height: 1.3; }
.choice.on { background: var(--m); color: var(--w); }
.choice.on span { color: var(--b); }
.card-form { background: var(--b-d); border-radius: var(--r); padding: 20px; margin-top: 16px; }
.form-t { font-weight: 700; font-family: var(--title); font-size: 19px; margin-bottom: 10px; }
.form-2 { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .form-2 { grid-template-columns: 1fr 1fr; } }
.os-list { max-height: 330px; overflow-y: auto; padding: 2px; }
.os-list .choice { min-height: 60px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips.center { justify-content: center; }
.chip { min-height: 50px; min-width: 56px; padding: 8px 18px; border: 0; border-radius: 26px; background: var(--w); font-weight: 600; cursor: pointer; }
.chip.on { background: var(--m); color: var(--w); }
.step-nav { display: flex; gap: 10px; margin-top: 26px; position: sticky; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 5; }
.step-nav .btn { flex: 1; box-shadow: 0 6px 18px rgba(29, 29, 27, .12); }
.step-nav .btn.plain { flex: 0 0 auto; }
@media (min-width: 1120px) { .step-nav { bottom: 16px; } }
.stepper { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 18px 0; }
.stepper button { width: 72px; height: 72px; border: 0; border-radius: 50%; background: var(--m); color: var(--w); font-size: 36px; line-height: 1; cursor: pointer; }
.stepper output { min-width: 120px; text-align: center; }
.stepper b { display: block; font-family: var(--title); font-size: 64px; line-height: 1; color: var(--m); }
.date-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .flow:has(.date-grid) { max-width: 1040px; } .date-grid { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.slots h2 { font-size: 24px; margin-bottom: 14px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.slot { min-height: 56px; border: 0; border-radius: 12px; background: var(--w); font-weight: 700; font-size: 18px; cursor: pointer; }
.slot:hover { background: var(--m-xl); }
.slot.on { background: var(--m); color: var(--w); }
.slot-empty { background: var(--b-d); border-radius: var(--r); padding: 36px 24px; text-align: center; display: grid; gap: 4px; }
.ticket { background: var(--w); border-radius: var(--r); border-top-right-radius: 70px; padding: 24px; display: grid; gap: 14px; }
.ticket div { display: grid; gap: 1px; }
.ticket span { color: var(--soft); font-size: 15px; }
.ticket strong { font-family: var(--title); font-size: 21px; line-height: 1.2; }
.check { display: flex; gap: 14px; align-items: flex-start; background: var(--w); border-radius: var(--r-s); padding: 18px; cursor: pointer; }
.check input { width: 28px; height: 28px; flex: none; accent-color: var(--m); margin: 0; }


.mine-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mine-grid { display: grid; gap: 18px; }
@media (min-width: 940px) { .mine-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } .progress { position: sticky; top: 92px; } }
.rsvp { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 560px) { .rsvp { grid-template-columns: 1fr 1fr; } }
.reply { background: var(--w); border-radius: 6px 20px 20px 20px; padding: 16px 20px; margin-top: 14px; }
.reply span { color: var(--m); font-weight: 700; font-size: 15px; }
.actions { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 560px) { .actions { grid-template-columns: 1fr 1fr; } }
.act { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 14px 18px; background: var(--w); border: 0; border-radius: var(--r-s); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.act:hover { background: var(--m-xl); }
.act > svg, .act .x { width: 30px; height: 30px; flex: none; color: var(--m); }
.act .x { font-size: 32px; line-height: 28px; text-align: center; color: var(--bad); }
.act b { display: block; font-family: var(--title); font-size: 18px; line-height: 1.2; }
.act small { color: var(--soft); font-size: 15px; line-height: 1.2; }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tally div { background: var(--b); border-radius: var(--r-s); padding: 12px 14px; }
.tally b { display: block; font-family: var(--title); font-size: 28px; line-height: 1.1; }
.tally span { color: var(--soft); font-size: 15px; }
.demo { background: var(--m-xl); border-radius: var(--r); padding: 20px; margin-top: 16px; display: grid; gap: 8px; }
.demo strong { color: var(--m); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; font-size: 16px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 22px; height: 22px; border-radius: 7px; }
.legend .s-done { background: var(--m); } .legend .s-pend { background: var(--m-l); } .legend .s-rec { background: var(--warn-l); } .legend .s-miss { background: var(--ink); }
.ses-list { display: grid; gap: 6px; }
.ses { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; background: var(--w); border-radius: 12px; padding: 11px 14px; font-size: 16px; }
.ses b { color: var(--m); font-family: var(--title); }
.ses em { font-style: normal; font-weight: 600; font-size: 14px; color: var(--soft); text-align: right; }
.ses.miss em { color: var(--bad); } .ses.rec em { color: var(--warn); } .ses.done em { color: var(--m); }
.exer { background: var(--w); border-radius: var(--r-s); padding: 18px; }
.exer h3 { font-size: 20px; margin-bottom: 6px; color: var(--m); }

.page { padding: 28px var(--gut) 64px; max-width: 1320px; margin: 0 auto; }
.page-head { margin-bottom: 30px; }
.page-head h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; color: var(--m); }
.page-head p { font-size: clamp(19px, 2vw, 24px); margin-top: 10px; color: var(--soft); }
.svc-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; flex-direction: column; gap: 10px; background: var(--w); border-radius: var(--r); padding: 24px; }
.svc h3 { font-size: 25px; }
.svc > p:first-of-type { color: var(--soft); flex: 1; }
.svc-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc-meta b { font-family: var(--title); font-size: 25px; color: var(--m); white-space: nowrap; }
.packs { display: flex; flex-wrap: wrap; gap: 6px; }
.packs span { background: var(--b); border-radius: 10px; padding: 4px 10px; font-size: 15px; font-weight: 600; }
.search { display: block; max-width: 640px; margin-bottom: 20px; }
.os-grid { display: grid; gap: 8px; }
@media (min-width: 900px) { .os-grid { grid-template-columns: 1fr 1fr; } }
.os { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; background: var(--w); border-radius: var(--r-s); padding: 16px 20px; }
.os h3 { font-size: 21px; }
.os p { color: var(--soft); font-size: 15px; }
.os > strong { color: var(--m); font-size: 16px; }
.team { display: grid; gap: 22px; }
.pro { display: grid; gap: 0; background: var(--w); border-radius: 26px; overflow: hidden; }
.pro-txt { padding: 26px; display: grid; gap: 8px; justify-items: start; }
.pro-txt h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.pro-txt h2 b { font-weight: 800; color: var(--m); }
.mp { color: var(--soft); }
.pro-txt h3 { font-size: 19px; color: var(--m); margin-top: 10px; }
.pro-txt ul { margin: 0 0 8px; padding-left: 20px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--b-d); border-radius: 18px; padding: 5px; margin-bottom: 20px; }
.seg button { min-height: 52px; padding: 8px 22px; border: 0; border-radius: 14px; background: transparent; font-weight: 700; cursor: pointer; }
.seg button.on { background: var(--m); color: var(--w); }
.prod-grid { display: grid; gap: 12px; }
@media (min-width: 620px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
.prod { display: flex; flex-direction: column; gap: 8px; background: var(--w); border-radius: var(--r); padding: 22px; }
.prod h3 { font-size: 22px; flex: 1; }
.price { font-family: var(--title); font-size: 26px; font-weight: 700; color: var(--m); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.size { min-width: 52px; min-height: 48px; padding: 4px 12px; border: 0; border-radius: 12px; background: var(--b); font-weight: 700; cursor: pointer; }
.size.on { background: var(--m); color: var(--w); }
.size:disabled { color: #A9A69D; text-decoration: line-through; cursor: not-allowed; }
.where { display: grid; gap: 24px; }
.where img { width: 100%; border-radius: 26px; border-top-left-radius: 110px; }
.where h2 { font-size: clamp(32px, 4vw, 48px); color: var(--m); }
.where h3 { font-size: 20px; margin: 20px 0 4px; }
.where .stack { margin-top: 24px; }
@media (min-width: 860px) { .where { grid-template-columns: 1fr 1fr; align-items: center; } }
.faq { display: grid; gap: 8px; max-width: 860px; margin-bottom: 22px; }
.faq details { background: var(--w); border-radius: var(--r-s); padding: 4px 20px; }
.faq summary { min-height: 62px; display: flex; align-items: center; font-family: var(--title); font-weight: 700; font-size: 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; padding-left: 16px; color: var(--m); font-size: 28px; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding-bottom: 16px; color: var(--soft); }

/* ITERACIÓN 2: referencia de frontend */
.top { position: sticky; top: var(--edge); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: var(--edge) var(--edge) 0; padding: 10px 14px 10px 26px; background: var(--b); border-radius: 34px; box-shadow: inset 0 -3px 0 #DEDBD0, 0 8px 24px rgba(29, 29, 27, .08); }
.brand { flex: none; display: block; }
.brand img { height: 52px; width: auto; }
.topnav { display: none; gap: clamp(2px, 1vw, 18px); }
.topnav a { padding: 8px 10px; border-radius: 999px; color: #4A4946; text-decoration: none; font-size: 18px; line-height: 24px; white-space: nowrap; transition: color .2s, background .2s; }
.topnav a:hover, .topnav a[aria-current] { color: var(--m); background: var(--m-xl); }
.top-cta { display: none; min-height: 52px; padding: 8px 28px; font-size: 20px; white-space: nowrap; }
@media (min-width: 1180px) { .topnav, .top-cta { display: inline-flex; } body { padding-bottom: 0; } .tabs { display: none !important; } #toast { bottom: 32px; } }

.tabs { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--w); padding: 5px; border-radius: 26px; box-shadow: 0 8px 28px rgba(29, 29, 27, .18); }
.tabs a, .tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 58px; background: none; border: 0; border-radius: 20px; color: var(--soft); font-size: 12.5px; line-height: 15px; font-weight: 500; text-decoration: none; cursor: pointer; padding: 2px; }
.tabs svg { width: 24px; height: 24px; }
.tabs [aria-current] { background: var(--m-xl); color: var(--m); }
.tabs .tab-wa { color: #1F7A4D; }
.menu-list { display: grid; gap: 8px; }
.menu-list a { display: flex; align-items: center; min-height: 60px; padding: 8px 22px; background: var(--w); border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-family: var(--title); font-weight: 600; font-size: 22px; }

.cinta { overflow: hidden; padding: 16px 0; color: var(--m); font-size: clamp(17px, 1.5vw, 25px); line-height: 30px; text-transform: uppercase; white-space: nowrap; }
.cinta-track { display: inline-flex; width: max-content; animation: cinta 42s linear infinite; will-change: transform; }
.cinta:hover .cinta-track { animation-play-state: paused; }
.cinta-track a { color: inherit; text-decoration: none; padding: 0 .55em; }
.cinta-track a:hover { text-decoration: underline; }
.cinta-track i { font-style: normal; }
@keyframes cinta { to { transform: translate3d(-50%, 0, 0); } }

.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 7vh, 96px); min-height: clamp(540px, calc(100vh - 190px), 860px); margin: 0 var(--edge); padding: clamp(40px, 5vw, 76px) clamp(24px, 4.2vw, 76px); border-radius: clamp(28px, 2.6vw, 44px); background: linear-gradient(112deg, #972F71 0%, #971D68 52%, #970461 100%); }
.hero-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; mix-blend-mode: multiply; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.01); } to { transform: scale(1.08) translateX(-1.2%); } }
.hero h1 { color: var(--b); font-size: clamp(46px, 6.7vw, 132px); font-weight: 400; line-height: .97; }
.hero h1 span { display: block; }
.hero h1 em { font-weight: 700; font-style: italic; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-btns .btn { min-height: clamp(62px, 4.7vw, 88px); min-width: clamp(190px, 18vw, 340px); padding: 10px clamp(26px, 2.4vw, 44px); font-size: clamp(22px, 2.2vw, 40px); }
.hero-btns .btn:not(.plain) { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .16), inset 0 -3px 0 rgba(60, 10, 45, .25), 0 8px 22px rgba(40, 0, 28, .3); }
.enter .hero h1 span { animation: lift .9s cubic-bezier(.2, .75, .2, 1) both; }
.enter .hero h1 span + span { animation-delay: .12s; }
.enter .hero-btns { animation: lift .9s .24s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes lift { from { opacity: 0; transform: translateY(32px); } }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
@media (max-width: 560px) { .hero h1 { text-wrap: balance; } .hero h1 span { display: inline; } .enter .hero h1 span { animation: none; } .enter .hero h1 { animation: lift .9s cubic-bezier(.2, .75, .2, 1) both; } .hero { min-height: 560px; justify-content: flex-end; } .hero-btns .btn { width: 100%; } .hero-img { object-position: 70% 50%; } }


.foot { margin: 0 var(--edge) var(--edge); background: var(--ink); border-radius: clamp(28px, 2.6vw, 44px); line-height: 26px; }
.foot img { width: 128px; }
.foot strong { font-weight: 600; font-size: 24px; }
@media (max-width: 1179px) { .foot { margin-bottom: 96px; } }

.step-bar { height: 10px; margin-bottom: 26px; background: var(--b-d); border-radius: 99px; overflow: hidden; }
.step-bar i { display: block; height: 100%; background: var(--m); border-radius: 99px; transition: width .5s cubic-bezier(.2, .75, .2, 1); }
.ticket { border-radius: var(--r); }

.presencial { background: var(--m); color: var(--b); border-radius: 32px; padding: clamp(28px, 5vw, 48px); margin-top: 16px; animation: lift .55s cubic-bezier(.2, .75, .2, 1) both; }
.presencial .tag { display: inline-flex; padding: 3px 16px; margin-bottom: 18px; border-radius: 99px; background: var(--b); color: var(--m); font-weight: 500; font-size: 15px; line-height: 26px; }
.presencial h2 { color: var(--b); font-size: clamp(32px, 5vw, 50px); font-weight: 400; }
.presencial > p { margin-top: 16px; max-width: 34em; }
.pres-data { display: grid; gap: 8px; margin: 26px 0; }
.pres-data div { background: rgba(255, 255, 255, .12); border-radius: var(--r-s); padding: 13px 18px; line-height: 24px; }
.pres-data span { display: block; font-size: 15px; opacity: .85; }
.pres-data b { font-family: var(--title); font-weight: 600; font-size: 21px; }
@media (min-width: 640px) { .pres-data { grid-template-columns: repeat(3, 1fr); } }
.pres-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pres-btns .btn { flex: 1 1 210px; font-size: 19px; padding-inline: 18px; }
.pres-back { display: inline-block; margin-top: 18px; background: none; border: 0; padding: 0; color: var(--b); text-decoration: underline; cursor: pointer; }

.done-screen { min-height: 72vh; margin: 14px var(--edge); padding: 56px var(--gut); border-radius: clamp(28px, 2.6vw, 44px); background: var(--m); color: var(--b); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.done-screen .kicker { color: var(--b); font-size: 20px; }
.done-screen h1 { color: var(--b); font-size: clamp(42px, 6.4vw, 92px); font-weight: 400; max-width: 11em; }
.done-date { font-size: 22px; margin: 26px 0 10px; }
.done-date b { font-family: var(--title); font-weight: 600; font-size: 40px; line-height: 50px; }
.done-sub { margin-bottom: 28px; }
.done-btns { width: 100%; max-width: 460px; }

.next { background: var(--m); color: var(--b); border-radius: 32px; padding: clamp(24px, 3vw, 36px); }
.next h2 { color: var(--b); font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; margin-top: 16px; }
.next-time { font-family: var(--title); font-size: clamp(52px, 7vw, 84px); font-weight: 700; font-style: italic; line-height: 1.04; margin: 6px 0 12px; }
.next-loc { margin-top: 8px; }
.clock { margin-top: 18px; padding: 12px 18px; border-radius: var(--r-s); background: rgba(255, 255, 255, .13); font-size: 16px; line-height: 24px; }
.clock b { font-weight: 500; }
.clock.closed { background: var(--b); color: var(--m-d); }
.btn.ghost { background: var(--m-d); color: var(--b); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .08), inset 0 -3px 0 rgba(40, 5, 30, .3); }
.btn.ghost:hover { background: #5E1B47; }
.rsvp-ok { border-radius: 999px; line-height: 24px; }
.rsvp .btn { font-size: 19px; padding-inline: 16px; }

.progress { background: var(--w); border-radius: 32px; padding: clamp(24px, 3vw, 32px); }
.progress h2 { font-size: 32px; font-weight: 500; }
.p-count { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 10px; }
.p-count b { font-family: var(--title); font-size: 58px; line-height: 1; font-weight: 600; color: var(--m); }
.p-count b small { font-size: 26px; font-weight: 500; }
.p-count span { font-family: var(--title); font-size: 24px; font-weight: 600; color: var(--m); }
.track { height: 18px; background: var(--b-d); border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; width: var(--p); min-width: 0; background: var(--m); border-radius: 99px; }
.enter .track i { animation: fill 1.3s .15s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes fill { from { width: 0; } }
.p-state { margin: 12px 0 20px; color: var(--soft); font-size: 16px; line-height: 24px; }
.p-state.full { color: var(--m); font-weight: 500; }
.tally b { font-weight: 600; }
.tally span { display: block; line-height: 20px; }

.page-head h1 { font-weight: 400; font-size: clamp(46px, 6.4vw, 100px); }
.photo { position: relative; min-height: 320px; background: var(--m-l); color: var(--m); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo span { font-family: var(--title); font-size: 120px; font-weight: 300; line-height: 1; }
.pro { border-radius: 32px; }
.pro-txt h2 { font-weight: 400; }
.pro-txt h2 b { font-weight: 700; font-style: italic; }
.pro-txt ul { line-height: 27px; }
@media (min-width: 860px) { .pro { grid-template-columns: 340px 1fr; } }
.os.pres { background: var(--m); color: var(--b); }
.os.pres h3, .os.pres p { color: var(--b); }
.where img { border-radius: 32px; }
.seg { border-radius: 999px; }
.seg button { border-radius: 999px; }
.choice { border-radius: var(--r-s); transition: background .2s, transform .2s; }
.choice:hover { transform: translateY(-1px); }
.slot { border-radius: 999px; }
.size { border-radius: 999px; }
.svc, .prod { transition: transform .25s, box-shadow .25s; }
.svc:hover, .prod:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(29, 29, 27, .08); }
.choice span, .act small, .ticket span, .muted, .os p, .svc-meta span { line-height: 22px; }
.choice strong, .act b { line-height: 26px; font-weight: 600; }
.note { line-height: 26px; }


/* ITERACIÓN 3: experiencia de portada, glass y scroll */
.page-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-fx i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; background: radial-gradient(circle, rgba(151, 47, 113, .1), rgba(151, 47, 113, 0) 66%); animation: float1 26s ease-in-out infinite alternate; }
.page-fx i:first-child { left: -22vmax; top: 12vh; }
.page-fx i:last-child { right: -24vmax; bottom: -18vh; animation-name: float2; animation-duration: 32s; }
@keyframes float1 { to { transform: translate3d(16vw, 12vh, 0) scale(1.14); } }
@keyframes float2 { to { transform: translate3d(-14vw, -16vh, 0) scale(.92); } }

.top { position: fixed; top: var(--edge); left: var(--edge); right: var(--edge); margin: 0; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.brand { position: relative; height: 46px; aspect-ratio: 535.7 / 222.6; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.brand .l-b { opacity: 0; }
.top.glass { background: rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(20px) saturate(1.35); backdrop-filter: blur(20px) saturate(1.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 10px 34px rgba(45, 0, 32, .24); }
.top.glass .l-m { opacity: 0; }
.top.glass .l-b { opacity: 1; }
.top.glass .topnav a { color: var(--b); }
.top.glass .topnav a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.top.glass .top-cta { background: var(--b); color: var(--m); box-shadow: var(--press-b); }
body:not([data-route="inicio"]) #main { padding-top: 92px; }
@media (max-width: 1179px) { .top { padding: 9px 20px; justify-content: center; } }

.silk { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(118deg, #7E2460 0%, #972F71 42%, #A23B7D 60%, #76225A 100%); }
.silk i { position: absolute; display: block; will-change: transform; }
.silk i:nth-child(1) { left: -18%; top: -40%; width: 78vmax; height: 78vmax; border-radius: 50%; background: radial-gradient(circle, rgba(214, 120, 180, .55), rgba(214, 120, 180, 0) 64%); animation: s1 15s ease-in-out infinite alternate; }
.silk i:nth-child(2) { right: -22%; bottom: -46%; width: 86vmax; height: 86vmax; border-radius: 50%; background: radial-gradient(circle, rgba(70, 8, 52, .78), rgba(70, 8, 52, 0) 66%); animation: s2 19s ease-in-out infinite alternate; }
.silk i:nth-child(3) { right: -16vmax; top: -34vmax; width: 88vmax; height: 88vmax; border-radius: 43% 57% 52% 48% / 46% 44% 56% 54%; background: linear-gradient(140deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 58%); animation: s3 26s linear infinite; }
.silk i:nth-child(4) { left: -30vmax; bottom: -62vmax; width: 96vmax; height: 96vmax; border-radius: 55% 45% 47% 53% / 52% 56% 44% 48%; background: linear-gradient(20deg, rgba(243, 241, 233, .1), rgba(243, 241, 233, 0) 54%); animation: s3 34s linear infinite reverse; }
@keyframes s1 { to { transform: translate3d(24vw, 20vh, 0) scale(1.18); } }
@keyframes s2 { to { transform: translate3d(-22vw, -18vh, 0) scale(.88); } }
@keyframes s3 { to { transform: rotate(360deg); } }

.hero { display: flex; flex-direction: column; justify-content: flex-start; gap: 0; min-height: 100svh; margin: 0; padding: 0; border-radius: 0 0 clamp(28px, 3vw, 52px) clamp(28px, 3vw, 52px); background: #972F71; }
.hero > .silk { z-index: -2; }
.hero-img { z-index: -1; opacity: .48; mix-blend-mode: soft-light; -webkit-mask-image: linear-gradient(100deg, transparent 12%, #000 62%); mask-image: linear-gradient(100deg, transparent 12%, #000 62%); }
.cinta { position: relative; margin-top: calc(var(--edge) + 100px); padding: 8px 0; color: rgba(243, 241, 233, .88); }
.cinta-track span { padding: 0 .55em; }
.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(30px, 5vh, 56px); padding: clamp(24px, 4vh, 48px) clamp(24px, 5vw, 92px) clamp(84px, 11vh, 120px); }
.enter .hero h1 span, .enter .hero-btns { animation-fill-mode: both; }
.has-intro .hero h1, .has-intro .hero-btns, .has-intro .cinta { visibility: hidden; }
.hero-btns .btn svg { width: clamp(24px, 2vw, 34px); height: clamp(24px, 2vw, 34px); }
.cue { position: absolute; left: 50%; bottom: 24px; width: 54px; height: 54px; margin-left: -27px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--b); background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; animation: bob 2.2s ease-in-out infinite; }
.cue svg { width: 24px; height: 24px; }
@keyframes bob { 50% { transform: translateY(7px); } }
@media (max-width: 1179px) { .hero { min-height: calc(100svh - 12px); } .cue { display: none; } .hero-body { justify-content: flex-end; padding-bottom: 104px; } .cinta { margin-top: 86px; } }

#intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; background: #972F71; cursor: pointer; transition: opacity .7s ease, transform .7s cubic-bezier(.7, 0, .2, 1); }
#intro.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
#intro svg { position: relative; width: min(66vw, 460px); height: auto; overflow: visible; }
.i-mark { transform-box: fill-box; transform-origin: center; animation: iMark 1.05s cubic-bezier(.2, .8, .2, 1) both; }
.i-l { opacity: 0; transform-box: fill-box; animation: iLetter .5s calc(1.05s + var(--i) * .032s) cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes iMark { from { opacity: 0; transform: translateY(16px) scale(.93); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes iLetter { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }

.sec { padding: clamp(60px, 8vw, 124px) 0 0; }
.sec-in { width: min(100%, 1480px); margin: 0 auto; padding: 0 clamp(20px, 5vw, 92px); }
.sec h2, .how h2, .res-head h2 { font-size: clamp(36px, 4.4vw, 72px); font-weight: 400; line-height: .98; }
.sec h2 em, .how h2 em { font-weight: 700; }
.sec-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin-bottom: clamp(24px, 3vw, 42px); }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--m); font-family: var(--title); font-weight: 600; font-size: 20px; text-decoration: none; }
.more svg { width: 22px; height: 22px; transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }
.res-head { max-width: 880px; margin-bottom: clamp(26px, 3vw, 44px); }
.res-grid { display: grid; gap: 12px; }
.res-os { background: var(--m); color: var(--b); border-radius: var(--r); padding: clamp(24px, 3vw, 38px); }
.res-os h3 { color: var(--b); font-size: clamp(27px, 2.5vw, 38px); font-weight: 500; }
.res-os > p { margin: 8px 0 18px; }
.res-t { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 104px; padding: 18px 24px; border: 0; border-radius: var(--r); background: var(--w); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, transform .25s, opacity .7s; }
.res-t > svg:first-child { flex: none; width: 30px; height: 30px; color: var(--m); }
.res-t > svg:last-child { flex: none; width: 24px; height: 24px; margin-left: auto; color: var(--m); }
.res-t b { display: block; font-family: var(--title); font-size: 23px; line-height: 27px; font-weight: 600; }
.res-t small { display: block; color: var(--soft); font-size: 16px; line-height: 22px; }
.res-t:hover { background: var(--m-xl); }
@media (min-width: 980px) { .res-grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, minmax(112px, auto)); } .res-os { grid-row: 1 / span 3; } }

.os-box label { position: relative; display: block; }
.os-box label svg { position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; color: var(--m); pointer-events: none; }
.os-in { width: 100%; min-height: 62px; padding: 12px 22px 12px 56px; border: 2px solid transparent; border-radius: 999px; background: var(--b); color: var(--ink); font-size: 18px; box-shadow: var(--press-b); }
.os-in:focus { outline: 0; border-color: var(--m-l); }
.os-out { display: grid; gap: 6px; margin-top: 8px; }
.os-out:empty { display: none; }
.os-hit { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 9px 9px 20px; border-radius: 22px; background: var(--w); color: var(--ink); animation: lift .3s ease both; }
.os-hit b { display: block; font-family: var(--title); font-size: 20px; line-height: 24px; font-weight: 600; }
.os-hit small { display: block; color: var(--soft); font-size: 15px; line-height: 20px; }
.os-hit .btn { flex: none; min-height: 46px; padding: 6px 22px; font-size: 18px; }
.faq .os-in { background: var(--b); }

.pillbar { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 3px 3px 7px; scrollbar-width: none; }
.pillbar::-webkit-scrollbar { display: none; }
.pillbar button { flex: none; min-height: 46px; padding: 6px 20px; border: 0; border-radius: 999px; background: var(--w); color: var(--ink); font-size: 16px; cursor: pointer; transition: background .2s, color .2s; }
.pillbar button.on { background: var(--m); color: var(--b); }
.sv-grid { display: grid; gap: 12px; }
.sv { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 216px; padding: 26px; border-radius: var(--r); background: var(--w); transition: transform .3s, box-shadow .3s, opacity .7s; }
.sv:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(29, 29, 27, .09); }
.sv h3 { font-size: 26px; line-height: 29px; font-weight: 600; }
.sv p { margin-top: 7px; color: var(--soft); font-size: 16px; line-height: 23px; }
.sv-b { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sv-b small { display: block; color: var(--soft); font-size: 14px; line-height: 19px; }
.sv-b b { display: block; color: var(--m); font-family: var(--title); font-size: 26px; line-height: 30px; font-weight: 700; white-space: nowrap; }
.sv-b .btn { flex: none; min-height: 48px; padding: 6px 22px; font-size: 18px; }
@media (min-width: 720px) { .sv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .sv-grid { grid-template-columns: repeat(3, 1fr); } }

.how { position: relative; isolation: isolate; overflow: hidden; margin: clamp(60px, 8vw, 124px) var(--edge) 0; border-radius: clamp(28px, 3vw, 52px); color: var(--b); }
.how > .silk { z-index: -1; }
.how-in { width: min(100%, 1480px); margin: 0 auto; padding: clamp(50px, 7vw, 108px) clamp(24px, 5vw, 92px); }
.how h2 { color: var(--b); max-width: 15em; }
.how ol { list-style: none; counter-reset: h; display: grid; gap: 26px; margin: clamp(32px, 4vw, 58px) 0; padding: 0; }
.how li { counter-increment: h; }
.how li::before { content: counter(h); display: block; font-family: var(--title); font-size: 54px; line-height: 58px; font-weight: 200; }
.how li b { display: block; font-family: var(--title); font-size: 25px; line-height: 30px; font-weight: 600; }
.how li span { display: block; max-width: 25em; opacity: .92; }
@media (min-width: 860px) { .how ol { grid-template-columns: repeat(3, 1fr); gap: 34px; } }

.tm-grid { display: grid; gap: 12px; }
.tm { display: block; padding: 10px 10px 20px; border-radius: var(--r); background: var(--w); color: var(--ink); text-decoration: none; transition: transform .3s, box-shadow .3s, opacity .7s; }
.tm:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(29, 29, 27, .09); }
.tm-ph { position: relative; aspect-ratio: 4 / 3.4; margin-bottom: 16px; overflow: hidden; border-radius: 19px; background: var(--m-l); color: var(--m); display: grid; place-items: center; }
.tm-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-ph span { font-family: var(--title); font-size: 90px; font-weight: 300; line-height: 1; }
.tm b, .tm small { display: block; padding: 0 12px; }
.tm b { font-family: var(--title); font-size: 24px; line-height: 28px; font-weight: 600; }
.tm small { color: var(--soft); font-size: 15px; line-height: 21px; margin-top: 3px; }
@media (min-width: 720px) { .tm-grid { grid-template-columns: repeat(3, 1fr); } }
.pr-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--m-l) transparent; }
.pr { display: flex; flex-direction: column; min-height: 216px; padding: 22px; border-radius: var(--r); background: var(--w); scroll-snap-align: start; }
.pr small { color: var(--m); font-size: 14px; line-height: 20px; }
.pr h3 { flex: 1; margin-top: 5px; font-size: 23px; line-height: 27px; font-weight: 600; }
.pr > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.pr b { color: var(--m); font-family: var(--title); font-size: 23px; }
.pr .btn { min-height: 44px; padding: 5px 18px; font-size: 17px; }
.faq-wrap { display: grid; gap: 22px; }
.faq-wrap .more { margin-top: 16px; }
.faq { max-width: none; margin-bottom: 0; }
.faq details { border-radius: var(--r-s); padding: 3px 22px; }
.faq summary { line-height: 26px; font-weight: 600; }
.faq-a { display: grid; justify-items: start; gap: 14px; padding-bottom: 20px; }
.faq-a p { padding: 0; }
.faq-a .os-box { width: 100%; }
.faq-a .btn { min-height: 48px; padding: 6px 24px; font-size: 18px; }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 40px; } }
.visit { padding-bottom: clamp(50px, 7vw, 96px); }
.vis-grid { display: grid; gap: 24px; }
.vis-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: clamp(24px, 3vw, 40px); }
.vis-grid h2 { color: var(--m); margin-bottom: 14px; }
.vis-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vis-btns .btn { flex: 1 1 180px; }
@media (min-width: 900px) { .vis-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; } }
.page { width: min(100%, 1480px); max-width: none; padding-inline: clamp(20px, 5vw, 92px); }
.os { flex-wrap: nowrap; }
.os > div { min-width: 0; }
.os .btn { flex: none; min-height: 46px; padding: 6px 20px; font-size: 18px; }
.os strong { display: block; color: var(--m); font-size: 15px; line-height: 21px; font-weight: 500; }
.os.pres strong { color: var(--b); }
.foot { margin-top: 0; }
@media (max-width: 480px) { .os-hit { padding-left: 16px; } .os-hit .btn { padding-inline: 16px; } .sv { min-height: 0; } }
@media (max-width: 719px) { .sv-grid { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; margin-right: -20px; padding: 3px 20px 12px 0; scroll-snap-type: x proximity; scrollbar-width: none; } .sv { scroll-snap-align: start; min-height: 236px; } }
.rv { transition-duration: .5s; }
.os-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.os-quick button { min-height: 42px; padding: 4px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: var(--b); font-size: 15px; cursor: pointer; transition: background .2s; }
.os-quick button:hover { background: rgba(255, 255, 255, .26); }
.sec h2, .how h2, .res-head h2, .hero h1 { text-wrap: balance; }

/* ITERACIÓN 4: portada según Fronted web CML.psd */
.silk-bg { position: fixed; inset: 0; z-index: -1; display: none; overflow: hidden; background: #7B2A61; }
body[data-route="inicio"] .silk-bg { display: block; }
body[data-route="inicio"] .page-fx { display: none; }
.silk-bg img, .intro-bg { position: absolute; left: -8%; top: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; }
.silk-bg img { animation: silkA 24s ease-in-out infinite alternate; will-change: transform; }
.silk-bg img + img { opacity: .4; mix-blend-mode: screen; animation: silkB 31s ease-in-out infinite alternate; }
.silk-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45, 8, 34, .2), rgba(45, 8, 34, .62)); opacity: var(--dk, .3); }
@keyframes silkA { from { transform: scale(1) rotate(0); } to { transform: scale(1.1) rotate(3deg) translate3d(-2%, 1.5%, 0); } }
@keyframes silkB { from { transform: scaleX(-1) scale(1.06) rotate(-3deg); } to { transform: scaleX(-1) scale(1.16) rotate(4deg) translate3d(3%, -2%, 0); } }
#intro { background: #7B2A61; }
.intro-bg { animation: silkA 8s ease-in-out infinite alternate; }
#intro svg { width: clamp(240px, 20.7vw, 520px); }

.top.glass { background: rgba(243, 241, 233, .15); }
.top.glass .top-cta { background: var(--m); color: var(--b); box-shadow: var(--press-m); }
.hero { background: none; border-radius: 0; min-height: 100svh; text-align: center; isolation: auto; overflow: visible; }
.hero-body { flex: 1; align-items: center; justify-content: center; gap: 0; padding: clamp(112px, 15vh, 170px) clamp(20px, 5vw, 92px) clamp(44px, 7vh, 84px); }
.hero h1 { font-size: clamp(44px, 7.5vw, 156px); line-height: 1.05; font-weight: 400; }
.hero h1 em { font-weight: 600; }
.hero-sub { margin-top: clamp(18px, 3.2vw, 62px); color: var(--b); opacity: .86; font-size: clamp(18px, 1.62vw, 32px); line-height: 1.32; max-width: 44em; text-wrap: balance; }
.hero-btns { justify-content: center; margin-top: clamp(30px, 4.8vw, 94px); gap: 12px; }
.hero-btns .btn { min-width: clamp(214px, 19.8vw, 410px); min-height: clamp(62px, 4.84vw, 98px); font-size: clamp(21px, 1.85vw, 38px); }
.enter .hero-sub { animation: lift .9s .18s cubic-bezier(.2, .75, .2, 1) both; }
.has-intro .hero-sub { visibility: hidden; }
@media (max-width: 1179px) { .hero { min-height: 100svh; } .hero-body { justify-content: center; padding-bottom: 112px; } }
@media (max-width: 560px) { .hero { justify-content: center; } .hero-btns { width: 100%; } .hero-btns .btn { width: 100%; } }

.resolve { padding-top: clamp(24px, 3vw, 48px); }
.resolve .cinta { margin: 0 0 clamp(38px, 5vw, 76px); padding: 8px 0; color: rgba(243, 241, 233, .86); }
body[data-route="inicio"] .sec h2, body[data-route="inicio"] .visit p, body[data-route="inicio"] .more { color: var(--b); }
body[data-route="inicio"] .vis-grid h2 { color: var(--b); }
.res-os, .how { background: rgba(243, 241, 233, .13); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 14px 36px rgba(45, 8, 34, .16); }
.how { isolation: auto; margin-inline: var(--edge); }
body[data-route="inicio"] .pillbar button { background: rgba(243, 241, 233, .15); color: var(--b); }
body[data-route="inicio"] .pillbar button.on { background: var(--b); color: var(--m); }
.foot { background: var(--m-d); }
body[data-route="inicio"] .foot { background: rgba(50, 10, 38, .52); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
body[data-route="inicio"] .visit { padding-bottom: clamp(36px, 5vw, 72px); }
.silk-bg img + img { opacity: .16; }
.silk-bg::after { background: linear-gradient(180deg, rgba(58, 10, 44, .42), rgba(45, 8, 34, .68)); opacity: var(--dk, .72); }
.res-os, .how { background: rgba(62, 12, 47, .34); }
.hero-sub { opacity: .95; }
.top.glass { background: rgba(243, 241, 233, .12); }
.with-pro { margin: -6px 0 18px; color: var(--soft); line-height: 26px; }
.with-pro b { color: var(--m); font-weight: 600; }
.choice:disabled { opacity: .58; cursor: not-allowed; transform: none; background: var(--b-d); }

/* Móvil: etiquetas de la barra inferior legibles */
.tabs a, .tabs button { font-size: 14px; line-height: 16px; }

/* Celular: equipo compacto y ventanas sin recuadro de foco */
.sheet h2:focus { outline: none; }
@media (max-width: 719px) {
  .tm-grid { grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; margin-right: -20px; padding: 3px 20px 12px 0; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tm { scroll-snap-align: start; }
  .tm-ph { aspect-ratio: 1 / 1; }
  .tm-ph span { font-size: 72px; }
  .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .photo span { font-size: 84px; }
}
/* Difuminado bajo la barra al bajar: el contenido se pierde suavemente detrás */
.top-fade { position: fixed; left: 0; right: 0; top: 0; z-index: 39; height: calc(var(--edge) + 118px); pointer-events: none; opacity: 0; transition: opacity .35s ease; background: linear-gradient(180deg, rgba(243, 241, 233, .96) 0%, rgba(243, 241, 233, .82) 45%, rgba(243, 241, 233, 0) 100%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
body.scrolled .top-fade { opacity: 1; }
body[data-route="inicio"] .top-fade { background: linear-gradient(180deg, rgba(78, 18, 58, .94) 0%, rgba(78, 18, 58, .72) 45%, rgba(78, 18, 58, 0) 100%); }
@media (max-width: 1179px) { .top-fade { height: calc(var(--edge) + 96px); } }

/* Foto del lugar ajustable, o tarjeta de marca si no hay foto */
.place { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: clamp(24px, 3vw, 40px); background: var(--m-d); }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; border-radius: 0 !important; }
.place.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: linear-gradient(140deg, #972F71, #5E1A47); color: var(--b); }
.place.empty img { position: static; width: clamp(130px, 30%, 220px); height: auto; object-fit: contain; }
.place.empty span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--title); font-size: clamp(18px, 1.6vw, 24px); }
.place.empty svg { width: 22px; height: 22px; }
.where .place { border-radius: 32px; }
/* Pasos 1 a 3: rebote escalonado al llegar a la sección */
.how ol.wait li { opacity: 0; transform: translateY(46px) scale(.9); }
.how ol.pop li { animation: howPop .95s cubic-bezier(.3, 1.5, .5, 1) both; }
.how ol.pop li:nth-child(2) { animation-delay: .22s; }
.how ol.pop li:nth-child(3) { animation-delay: .44s; }
.how ol.pop li::before { transform-origin: 0 100%; animation: howNum .9s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: inherit; }
@keyframes howPop { 0% { opacity: 0; transform: translateY(46px) scale(.9); } 45% { opacity: 1; transform: translateY(-14px) scale(1.03); } 68% { transform: translateY(6px) scale(.99); } 84% { transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }
@keyframes howNum { 0% { transform: scale(.4); } 50% { transform: scale(1.28); } 72% { transform: scale(.92); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .how ol.wait li { opacity: 1; transform: none; } .how ol.pop li, .how ol.pop li::before { animation: none; } }

/* Foto de producto: cuadrada, sobre fondo suave, sin recortar el producto */
.pimg { aspect-ratio: 1; border-radius: calc(var(--r) - 6px); overflow: hidden; background: var(--b); margin-bottom: 6px; }
.pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pimg.empty { display: grid; place-items: center; background: var(--m-l); }
.pimg.empty img { width: 34%; height: auto; opacity: .32; }

/* Legales: bloques legibles, sin líneas, con la marca */
.legal { display: grid; gap: 12px; max-width: 860px; }
.legal-b { background: var(--w); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.legal-b h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin-bottom: 10px; color: var(--m); }
.legal-b p + p { margin-top: 10px; }
.legal-b a, .legal-foot a, .check a { color: var(--m); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { padding: 14px 16px; border-radius: calc(var(--r) - 8px); background: var(--m-xl); color: var(--ink); }
.legal-foot { margin-top: 18px; }
