﻿/* Página pública · MV Coffee
   Concepto: vitrina de pastelería moderna. Papel crema, tinta café, rosa del logo como acento;
   fotos grandes con esquinas amplias, superficies suaves sin bordes duros y movimiento sutil al hacer scroll. */
:root { --wrap: 1200px; }
/* La web pública siempre en claro (crema), aunque el dispositivo esté en modo oscuro */
:root:root:root {
  --cream: #FBF6F2; --paper: #FFFFFF; --beige: #F4EAE3; --line: #EBDDD3; --coffee: #2E1B17; --mocha: #7A5A4E;
  --rose: #B44A68; --rose-ink: #FFFFFF; --rose-soft: #F8E3E9;
  --ok: #2E7A57; --ok-soft: #DDF1E6; --warn: #9A6412; --warn-soft: #FBEBCB; --bad: #B2372E; --bad-soft: #F9DEDA;
  --shadow: 0 1px 2px rgba(46, 27, 23, .04), 0 12px 32px -8px rgba(46, 27, 23, .12);
  --shadow-lg: 0 2px 6px rgba(46, 27, 23, .05), 0 28px 60px -18px rgba(46, 27, 23, .28);
  color-scheme: light;
}
footer.foot { --cream: #FBF6F2; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-size: 16px; background: var(--cream); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 660px; justify-items: start; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.02em; line-height: 1.05; }
.sec-head h2 em { font-style: italic; color: var(--rose); font-weight: 600; }
.sec-head p { margin: 0; color: var(--mocha); font-size: 17px; }
.btn { min-height: 46px; padding: 10px 22px; transition: transform .2s, box-shadow .2s, background .2s, filter .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(180, 74, 104, .6); }
.btn.ghost:hover, .btn.soft:hover { box-shadow: none; }
.btn.sm { min-height: 36px; padding: 6px 16px; }
.btn.light { background: rgba(255, 255, 255, .1); color: var(--cream); border-color: rgba(255, 255, 255, .28); }
.btn.light:hover { background: rgba(255, 255, 255, .18); box-shadow: none; }

/* Encabezado flotante tipo "pastilla" */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--cream); }
.top { position: sticky; top: max(10px, env(safe-area-inset-top, 0px)); z-index: 20; padding-top: 10px; margin-top: -10px; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; max-width: calc(var(--wrap) - 16px);
  background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 999px; box-shadow: var(--shadow);
  padding-left: 10px; padding-right: 10px; width: calc(100% - 24px); }
.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--coffee); margin-right: auto; padding-left: 2px; }
.top .brand b { font-family: var(--display); font-size: 21px; }
.seal { border-radius: 50%; overflow: hidden; position: relative; flex: none; background: #fbeef1; }
.seal img { position: absolute; width: 147.9%; max-width: none; left: -23.4%; top: -29.3%; }
.top .seal { width: 42px; height: 42px; }
.menu-links { display: flex; gap: 2px; }
.menu-links a { color: var(--coffee); text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 999px; transition: background .2s; }
.menu-links a:hover { background: var(--beige); }
.burger { display: none; }

/* Portada */
.hero { padding-block: 56px 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose-soft) 0, transparent 68%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -.03em; line-height: .98; margin-top: 18px; }
.hero h1 em { color: var(--rose); font-weight: 600; }
.hero p.lead { font-size: 19px; color: var(--mocha); max-width: 500px; margin: 22px 0 30px; line-height: 1.55; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .meta { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 30px; font-size: 14px; color: var(--mocha); align-items: center; }
.hero .meta b { color: var(--coffee); }
.hero .meta a { color: var(--rose); font-weight: 600; text-decoration: none; }
.hero-art { position: relative; aspect-ratio: 4 / 4.6; max-width: 540px; width: 100%; justify-self: end; }
.hero-art .main { position: absolute; inset: 0 0 0 12%; width: 88%; height: 100%; object-fit: cover; border-radius: 240px 240px 32px 32px; box-shadow: var(--shadow-lg); }
.hero-art .mini { position: absolute; left: 0; bottom: 9%; width: 34%; aspect-ratio: 1; object-fit: cover; border-radius: 26px; border: 6px solid var(--cream); box-shadow: var(--shadow-lg); }
.hero-art .float { position: absolute; display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.hero-art .float b { display: block; font-size: 15px; } .hero-art .float span { display: block; font-size: 12.5px; color: var(--mocha); }
.hero-art .f1 { top: 10%; left: 0; flex-direction: column; align-items: start; gap: 0; }
.hero-art .f1::before { content: "✦"; color: var(--rose); font-size: 14px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Carrusel */
.carousel { position: relative; min-width: 0; max-width: 100%; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 4px 24px; margin: -8px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.car-nav { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.car-nav button.arrow { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); color: var(--coffee); cursor: pointer; font-size: 20px; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.car-nav button.arrow:hover:not(:disabled) { background: var(--coffee); color: var(--cream); }
.car-nav button.arrow:disabled { opacity: .35; cursor: default; }
.dots { display: flex; gap: 6px; margin-right: auto; flex-wrap: wrap; }
.dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.dots button.on { width: 26px; background: var(--rose); }

/* Tarjetas de producto: sin borde, sombra suave, foto con margen interno */
.item { background: var(--paper); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; padding: 8px; }
.item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.item .pic { aspect-ratio: 4 / 3; background: var(--beige); position: relative; overflow: hidden; border-radius: 20px; }
.item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.item:hover .pic img { transform: scale(1.06); }
.item .pic .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 56px; color: var(--rose);
  background: radial-gradient(circle at 30% 30%, var(--rose-soft) 0 22%, transparent 23%), radial-gradient(circle at 75% 70%, var(--rose-soft) 0 14%, transparent 15%), var(--beige); }
.item .tag { position: absolute; top: 10px; left: 10px; background: var(--paper); color: var(--rose); font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 5px 11px; box-shadow: var(--shadow); }
.item .in { padding: 14px 10px 8px; display: grid; gap: 6px; flex: 1; align-content: start; }
.item h3 { font-size: 20px; letter-spacing: -.01em; }
.item p { margin: 0; color: var(--mocha); font-size: 14px; line-height: 1.45; }
.item .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.ask { font-size: 14px; font-weight: 700; color: var(--mocha); }
.price { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.old { color: var(--mocha); text-decoration: line-through; font-size: 14px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.cat-block { display: grid; gap: 16px; }
.cat-block h3.cat { font-size: 28px; display: flex; align-items: baseline; gap: 12px; letter-spacing: -.01em; }
.cat-block h3.cat small { font: 600 13px var(--body); color: var(--mocha); background: var(--beige); padding: 3px 10px; border-radius: 999px; }
.chipbar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin-bottom: 24px; scrollbar-width: none; }
.chipbar::-webkit-scrollbar { display: none; }
.chipbar a, .chipbar button { flex: none; border: 0; background: var(--paper); color: var(--coffee); border-radius: 999px; padding: 10px 18px; font: 600 14px var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(46, 27, 23, .06), 0 0 0 1px var(--line) inset; transition: background .2s, color .2s; }
.chipbar a:hover, .chipbar button:hover { background: var(--beige); }
.chipbar button small { font-weight: 700; font-size: 11.5px; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--beige); color: var(--mocha); }
.chipbar .on small { background: rgba(255, 255, 255, .16); color: var(--cream); }
.chipbar .on, .chipbar .on:hover { background: var(--coffee); color: var(--cream); box-shadow: none; }

/* Promos */
.promos { background: linear-gradient(180deg, var(--beige), color-mix(in srgb, var(--rose-soft) 55%, var(--beige))); }
.promo-card .pic { aspect-ratio: 1 / 1; }
.promo-card .kind { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }

/* Cumpleaños */
.bday .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.bday .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: 110px; }
.bday .photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; cursor: zoom-in; box-shadow: var(--shadow-lg); transition: transform .3s; }
.bday .photos img:nth-child(2) { margin-top: 48px; }
.bday .photos img:hover { transform: scale(1.02); }
.gift { background: var(--paper); border-radius: 22px; padding: 20px 22px; display: grid; gap: 6px; box-shadow: var(--shadow); border-left: 4px solid var(--rose); }
.gift b { font-family: var(--display); font-size: 23px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* Calendario de cumpleaños */
.bcal { background: var(--cream); border-radius: 20px; padding: 14px; display: grid; gap: 10px; box-shadow: 0 0 0 1px var(--line) inset; }
.bc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bc-head b { font: 600 19px var(--display); text-transform: capitalize; }
.bc-head button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); color: var(--coffee); font-size: 18px; cursor: pointer; box-shadow: var(--shadow); }
.bc-head button:disabled { opacity: .3; cursor: default; }
.bc-week, .bc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
.bc-week span { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--mocha); }
.bc-day { position: relative; height: 40px; border: 0; border-radius: 12px; background: var(--paper); color: var(--coffee); font: 600 14px var(--body); cursor: pointer; transition: background .15s, transform .15s; font-variant-numeric: tabular-nums; }
.bc-day:hover:not(:disabled) { background: var(--rose-soft); transform: translateY(-1px); }
.bc-day.some::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--warn); }
.bc-day.full { background: var(--bad-soft); color: var(--bad); cursor: not-allowed; }
.bc-day.off { background: var(--beige); color: var(--mocha); cursor: not-allowed; }
.bc-day.na { background: transparent; color: color-mix(in srgb, var(--mocha) 40%, transparent); cursor: default; }
.bc-day.sel, .bc-day.sel:hover { background: var(--rose); color: #fff; }
.bc-day s, .bc-slot s, .bc-legend s { text-decoration-thickness: 2px; }
.bc-slots { display: grid; gap: 8px; padding-top: 4px; }
.bc-slots > b { font-size: 14px; }
.bc-slots > div { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-slot { display: grid; justify-items: center; gap: 1px; min-width: 86px; padding: 8px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--coffee); font: 700 15px var(--body); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s; }
.bc-slot small { font-size: 11px; font-weight: 600; color: var(--ok); }
.bc-slot:hover:not(:disabled) { border-color: var(--rose); }
.bc-slot.taken { background: var(--beige); color: var(--mocha); border-style: dashed; cursor: not-allowed; }
.bc-slot.taken s { text-decoration-color: var(--bad); }
.bc-slot.taken small { color: var(--bad); }
.bc-slot.sel { border-color: var(--rose); background: var(--rose-soft); }
.bc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--mocha); }
.bc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bc-legend i { width: 18px; height: 18px; border-radius: 6px; display: inline-grid; place-items: center; font: 700 10px var(--body); font-style: normal; position: relative; }
.bc-legend i.free { background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; }
.bc-legend i.some { background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; }
.bc-legend i.some::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--warn); position: absolute; bottom: 3px; }
.bc-legend i.full { background: var(--bad-soft); color: var(--bad); }
.bc-legend i.off { background: var(--beige); color: var(--mocha); }
.bc-hint { margin: 0; font-size: 13.5px; color: var(--mocha); }
.field.err .bcal { box-shadow: 0 0 0 2px var(--bad) inset; }

/* Formularios públicos */
.form-card { background: var(--paper); border-radius: 28px; padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 26px; letter-spacing: -.01em; }
.form-card .btn[type=submit] { min-height: 52px; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok-box { background: var(--ok-soft); color: var(--coffee); border-radius: 18px; padding: 20px; display: grid; gap: 10px; }
.slot-hint { font-size: 13px; color: var(--mocha); }
.reserve .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.info-list { display: grid; gap: 12px; margin-top: 24px; }
.info-list div { display: grid; gap: 2px; background: color-mix(in srgb, var(--paper) 70%, transparent); border-radius: 18px; padding: 14px 18px; }
.info-list span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mocha); }
.info-list a { color: var(--rose); font-weight: 600; }
.info-list #map-link { font-size: 14px; margin-top: 2px; }
.pa-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pa-row b { font-size: 18px; letter-spacing: .02em; overflow-wrap: anywhere; }
.pay-alias small { color: var(--mocha); font-size: 13px; }
.foot-alias { margin-top: 10px; }

/* Galería y visor */
.gal-item { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 24px; overflow: hidden; display: block; text-align: left; color: inherit; position: relative; box-shadow: var(--shadow); }
.gal-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); display: block; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item span { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(30, 16, 14, .72)); }
.lightbox { position: fixed; inset: 0; background: rgba(20, 10, 9, .92); z-index: 70; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; min-width: 0; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 16px; object-fit: contain; }
.lightbox figcaption { color: #f4e9e3; }
.lightbox button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox .x { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: max(18px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 40; display: grid; justify-items: end; gap: 10px; }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #25D366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 32px; height: 32px; fill: currentColor; }
.wa-menu { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; display: grid; min-width: 240px; }
.wa-menu a { padding: 11px 14px; border-radius: 12px; color: var(--coffee); text-decoration: none; font-weight: 600; font-size: 14px; }
.wa-menu a:hover { background: var(--beige); }
.wa-menu small { padding: 6px 14px; color: var(--mocha); }

/* Pie */
footer.foot { background: var(--coffee); color: var(--cream); padding-block: 56px max(56px, env(safe-area-inset-bottom, 0px)); }
footer.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer.foot h4 { font-family: var(--display); font-size: 20px; margin: 0 0 10px; }
footer.foot p { color: #E9D9D1; }
footer.foot a { color: #F2B8C8; }
footer.foot .social { display: flex; gap: 10px; flex-wrap: wrap; }
footer.foot .social a { border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 7px 16px; text-decoration: none; color: var(--cream); font-weight: 600; font-size: 14px; transition: background .2s; }
footer.foot .social a:hover { background: rgba(255, 255, 255, .1); }
.loading { color: var(--mocha); padding: 20px 0; }

/* Franja animada de palabras */
.marquee { overflow: hidden; padding-block: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 42s linear infinite; }
.mq-group { display: flex; }
.mq-group span { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(26px, 3.6vw, 46px); color: var(--coffee); letter-spacing: -.01em; }
.mq-group span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--mocha); }
.mq-group span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--rose); -webkit-text-stroke: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Favoritos: escenario oscuro con carrusel destacado */
.best { background: var(--coffee); color: var(--cream); position: relative; overflow: hidden; margin-top: 28px; isolation: isolate; }
.best::before, .best::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.best::before { width: 760px; height: 760px; left: 50%; top: 42%; transform: translate(-50%, -30%); background: radial-gradient(circle, rgba(180, 74, 104, .45), transparent 66%); }
.best::after { width: 420px; height: 420px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(242, 184, 200, .14), transparent 70%); }
.best .sec-head { margin-inline: auto; justify-items: center; text-align: center; }
.best .sec-head h2 { color: #fff; } .best .sec-head h2 em { color: #F2B8C8; } .best .sec-head p { color: #E9D9D1; } .best .eyebrow { color: #F2B8C8; }
.sl { --cw: min(310px, 68vw); }
.sl-stage { position: relative; height: calc(var(--cw) * 4 / 3 + 26px); perspective: 1600px; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sl-stage:focus-visible .sl-card.on { outline: 3px solid #F2B8C8; outline-offset: 4px; }
.sl-card { position: absolute; left: 50%; top: 10px; width: var(--cw); aspect-ratio: 3 / 4; border-radius: 30px; overflow: hidden; background: #3d2620; cursor: pointer;
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .7); transition: transform .75s cubic-bezier(.2, .75, .2, 1), opacity .55s, filter .55s; filter: brightness(.62) saturate(.8); will-change: transform; }
.sl-card.on { filter: none; cursor: default; }
.sl-pic, .sl-pic img, .sl-pic .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-pic .ph { display: grid; place-items: center; font: 600 72px var(--display); color: #F2B8C8; }
.sl-card.on .sl-pic img { animation: kb-in 7s ease-out both; }
@keyframes kb-in { from { transform: scale(1.12); } }
.sl-rank { position: absolute; top: 14px; left: 14px; display: flex; align-items: baseline; gap: 3px; background: var(--rose); color: #fff; font: 700 24px/1 var(--display); padding: 8px 13px 9px; border-radius: 16px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.sl-rank small { font: 700 11px var(--body); letter-spacing: .04em; }
.sl-info { position: absolute; inset: auto 0 0; padding: 70px 18px 18px; display: grid; gap: 5px; color: #fff; background: linear-gradient(transparent, rgba(24, 12, 10, .5) 30%, rgba(24, 12, 10, .92)); }
.sl-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F2B8C8; }
.sl-info h3 { font-size: 25px; color: #fff; letter-spacing: -.01em; line-height: 1.1; }
.sl-info p { margin: 0; font-size: 13.5px; color: #EADBD4; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.sl-row .price { color: #fff; } .sl-row .old { color: #CDB7AE; }
.sl-card:not(.on) .sl-info, .sl-card:not(.on) .sl-rank { opacity: 0; }
.sl-info, .sl-rank { transition: opacity .4s .15s; }
.sl-ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.sl-ctrl .arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .07); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s, transform .2s; }
.sl-ctrl .arrow:hover { background: rgba(255, 255, 255, .16); transform: scale(1.05); }
.sl-mid { display: grid; gap: 8px; justify-items: center; min-width: 120px; }
.sl-count { font: 600 14px var(--body); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: #E9D9D1; }
.sl-prog { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.sl-prog i { display: block; height: 100%; width: 0; background: #F2B8C8; border-radius: inherit; }
.sl-prog.run i { animation: prog 5s linear forwards; }
@keyframes prog { to { width: 100%; } }

/* Reels: tarjetas verticales estilo historia */
.reels-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.reels-head .sec-head { margin: 0; }
.reels-car .track { grid-auto-columns: minmax(210px, 240px); }
.reel { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; border: 0; padding: 0; background: #2E1B17; color: #fff; text-align: left; cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow-lg); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; isolation: isolate; }
div.reel { cursor: default; }
.reel:hover { transform: translateY(-6px) rotate(-.6deg); }
.reel:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.reel-media { position: absolute; inset: 0; z-index: -1; }
.reel-media img, .reel-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-media img { animation: kb 16s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes kb { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.2) translate(-3%, -4%); } }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(20, 10, 9, .5), transparent 24%, transparent 52%, rgba(20, 10, 9, .85)); }
.reel-bars { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 4px; }
.reel-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.reel-bars i:first-child { background: #fff; }
.reel-bars i:nth-child(2)::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; animation: prog 6s linear infinite; }
.reel-top { position: absolute; top: 22px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.reel-top .seal { width: 30px; height: 30px; box-shadow: 0 0 0 2px #fff; }
.reel-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-badge { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 9px; border-radius: 999px; }
.reel-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset; transition: transform .3s, background .3s; }
.reel-play::before { content: ""; width: 22px; height: 24px; margin-left: 4px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.reel:hover .reel-play { transform: scale(1.12); background: var(--rose); }
.reel-cap { position: absolute; left: 14px; right: 14px; bottom: 16px; font: 600 17px/1.25 var(--display); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.reel-modal { position: fixed; inset: 0; z-index: 80; background: rgba(20, 10, 9, .9); display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); animation: fade-up .3s ease-out both; }
.rm-in { display: grid; gap: 10px; width: min(420px, 100%); }
.rm-media { border-radius: 20px; overflow: hidden; background: #fff; height: min(78vh, 760px); height: min(78dvh, 760px); }
.rm-media.vid { background: #000; }
.rm-media iframe, .rm-media video { width: 100%; height: 100%; border: 0; display: block; }
.rm-media video { object-fit: contain; }
.rm-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #f4e9e3; font-size: 14px; }
.rm-foot a { color: #F2B8C8; font-weight: 600; white-space: nowrap; }
.reel-modal .x { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px; cursor: pointer; }

/* Movimiento: entrada de la portada y aparición suave al hacer scroll (solo navegadores que lo soportan) */
.reveal > * { animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.reveal > :nth-child(2) { animation-delay: .08s; } .reveal > :nth-child(3) { animation-delay: .16s; } .reveal > :nth-child(4) { animation-delay: .24s; } .reveal > :nth-child(5) { animation-delay: .32s; }
.hero-art { animation: fade-up 1s .1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@supports (animation-timeline: view()) {
  .sec-head, .cat-block, .form-card, .gift, .sl, .reels-car { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 920px) {
  .hero .wrap, .bday .wrap, .reserve .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero .wrap { gap: 40px; }
  .hero-art { justify-self: center; max-width: 460px; }
  .bday .photos { position: static; }
  .top .wrap { width: calc(100% - 16px); }
  .menu-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow-lg); flex-direction: column; padding: 10px; }
  .menu-links.open { display: flex; }
  .menu-links a { padding: 12px 16px; }
  .burger { display: inline-flex; border: 0; }
  footer.foot .wrap { grid-template-columns: 1fr; }
  section { padding-block: 64px; }
}
@media (max-width: 560px) {
  .track { grid-auto-columns: 80%; }
  .reels-car .track { grid-auto-columns: 64%; }
  .marquee { padding-top: 28px; }
  .best { margin-top: 32px; }
  .reels-head .btn { width: 100%; }
  .hero .ctas .btn { flex: 1 1 auto; }
  .form-card { padding: 22px; border-radius: 24px; }
}
