:root {
  --ink: #0b0907;
  --ink-2: #15100c;
  --ink-3: #221912;
  --brown: #3b2022;
  --sand: #d6b59e;
  --sand-soft: #ead8ca;
  --amber: #f08a3c;
  --ember: #c2481d;
  --cream: #f6eee6;
  --muted: rgba(246, 238, 230, .62);
  --line: rgba(214, 181, 158, .22);
  --f-display: "Unbounded", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 720px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em, i { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
::selection { background: var(--amber); color: var(--ink); }
button { font: inherit; color: inherit; }

/* icono monocromo: toma el color del texto */
.ico { display: inline-block; flex: 0 0 auto; width: 1.25em; height: 1.25em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* grano */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

/* INTRO (solo la primera visita de la sesión) */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--ink); color: #fff;
}
.no-intro .intro { display: none; }
.intro__mark { width: min(62vw, 420px); aspect-ratio: 161 / 39.5; }
.intro__mark .wm { fill-opacity: 0; stroke-width: .5; }
.intro__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro__mark rect { opacity: 0; transform-box: fill-box; transform-origin: center; }
.intro__line { margin: 0; font: italic 400 clamp(20px, 3vw, 30px) var(--f-serif); color: var(--muted); opacity: 0; }

/* tipografía */
.eyebrow { margin: 0 0 22px; font: 500 11px/1 var(--f-display); letter-spacing: .28em; text-transform: uppercase; color: var(--sand); }

/* botones */
.btn {
  --bg: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 30px; border-radius: 999px; border: 1px solid var(--sand); background: var(--bg); color: var(--cream);
  font: 600 13px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream);
  transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--solid { --bg: linear-gradient(120deg, var(--amber), var(--ember)); border-color: transparent; color: #fff; box-shadow: 0 10px 40px -10px rgba(240, 138, 60, .6); }
.btn--ghost { border-color: var(--line); background: rgba(11, 9, 7, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--wa { letter-spacing: .06em; white-space: nowrap; --bg: #25d366; border-color: transparent; color: #0b2a17; box-shadow: 0 10px 40px -14px rgba(37, 211, 102, .55); }
.btn--wa .ico { width: 20px; height: 20px; }
.btn--block { display: flex; width: 100%; padding: 20px; }
.btn--block .ico { width: 18px; height: 18px; }
.btn--ghost.btn--block { color: var(--cream); }
.btn--ghost.btn--block:hover, .btn--ghost.btn--block:focus-visible { color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

/* HERO */
.hero { position: relative; height: 88svh; min-height: 560px; overflow: hidden; display: grid; align-items: end; }
.hero__media { position: absolute; inset: -6% 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: scale(1.15); filter: saturate(1.1); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 75% 25%, transparent 15%, rgba(11, 9, 7, .6) 60%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11, 9, 7, .7), transparent 60%),
    linear-gradient(180deg, rgba(11, 9, 7, .55) 0%, transparent 30%, transparent 55%, var(--ink) 100%);
}
.hero__content { position: relative; padding: 0 var(--gutter) clamp(64px, 11vh, 110px); }
.hero__eyebrow span { color: var(--cream); }
.hero__title { margin: 0; font-size: clamp(56px, 19vw, 170px); line-height: 1; }

/* logotipo en cobre dentro de la cápsula (mismo lenguaje que la RENTRÉE) */
.mark { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: .25em .62em; line-height: 0; border-radius: 999px; filter: drop-shadow(0 .06em .18em rgba(0, 0, 0, .45)); }
.mark__ring { position: absolute; inset: 0; border-radius: inherit; padding: .05em;
  background: url(/img/copper.jpg) center / 9em auto, var(--sand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.mark__logo { display: block; height: .62em; aspect-ratio: 161 / 39.5; color: var(--sand); }
.mark__logo .wm { fill: url(#copper); stroke: none; }

.hero__lead { margin: 22px 0 18px; font: 400 clamp(22px, 2.6vw, 32px)/1.2 var(--f-body); letter-spacing: -.01em; }
.hero__lead em { color: var(--sand); font-size: 1.12em; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.hero__tags > span { display: inline-flex; align-items: center; padding: 10px 14px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 9, 7, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 11px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
/* estado en directo: abierto / cerrado */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; white-space: nowrap; line-height: 1; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); background: rgba(11, 9, 7, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 13px/1 var(--f-body); }
.status:empty { display: none; }
.status b { font-weight: 700; }
.status span { color: var(--muted); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #e0564a; flex: 0 0 auto; }
.is-open .dot { background: #3ddc84; }
.is-open .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc84; opacity: 0; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.status.is-open { border-color: rgba(61, 220, 132, .35); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 10px var(--f-display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; text-decoration: none;
}
.hero__scroll span { width: 1px; height: 56px; background: linear-gradient(var(--sand), transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* CINTA */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; background: var(--ink); }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee__track span { font: 500 13px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; }
.marquee__track b { font: 600 14px/1 var(--f-display); color: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* GUÍA */
.guide { position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 120px; }

/* destacados */
.featured:empty { display: none; }
.featured { display: grid; gap: 12px; margin-bottom: 18px; }
.feat {
  position: relative; display: grid; align-content: end; min-height: 230px; padding: 22px; overflow: hidden;
  border-radius: 28px; border: 1px solid rgba(214, 181, 158, .4); text-decoration: none; isolation: isolate;
}
.feat__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 9, 7, .1) 0%, rgba(11, 9, 7, .55) 45%, rgba(11, 9, 7, .94) 100%); }
.feat:hover .feat__img { transform: scale(1.05); }
.feat__tag { justify-self: start; margin-bottom: 12px; padding: 7px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); font: 600 10px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; }
.feat__title { margin: 0; font: 800 clamp(34px, 8vw, 56px)/.95 var(--f-display); letter-spacing: -.02em;
  background: url(/img/copper.jpg) center / 12em auto, var(--sand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feat__text { margin: 10px 0 16px; font-size: 15px; color: var(--sand-soft); }
.feat__cta { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font: 600 12px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.feat__cta .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.feat:hover .feat__cta .ico { transform: translate(3px, -3px); }

/* pestañas (fijas arriba al hacer scroll) */
.tabs {
  position: sticky; top: 0; z-index: 40; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 12px var(--gutter);
  background: linear-gradient(180deg, var(--ink) 70%, rgba(11, 9, 7, 0));
}
.tabs__track {
  display: flex; gap: 4px; padding: 5px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(21, 16, 12, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.tabs__track::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; scroll-snap-align: start; padding: 11px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 500 14px/1 var(--f-body); white-space: nowrap; cursor: pointer; text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease);
}
.tab:hover { color: var(--cream); }
.tab.is-active { background: var(--sand); color: var(--ink); font-weight: 600; }
.tab:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }

/* tarjetas desplegables */
.panels { display: grid; gap: 12px; }
.panel { border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(160deg, var(--ink-3), var(--ink-2) 60%); overflow: hidden; transition: border-color .4s var(--ease); }
.panel.is-open { border-color: rgba(214, 181, 158, .45); }
.panel__head {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 16px 16px 16px; border: 0; background: none; text-align: left; cursor: pointer;
}
.panel__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(214, 181, 158, .12); color: var(--sand); flex: 0 0 auto; }
.panel__icon .ico { width: 22px; height: 22px; }
.panel__titles { flex: 1; min-width: 0; }
.panel__title { display: block; font: 600 17px/1.2 var(--f-display); letter-spacing: -.01em; }
.panel__sum { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel__chev { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(246, 238, 230, .06); flex: 0 0 auto; transition: transform .5s var(--ease), background .3s; }
.panel__chev .ico { width: 18px; height: 18px; }
.panel.is-open .panel__chev { transform: rotate(180deg); background: rgba(214, 181, 158, .16); }
.panel__head:focus-visible { outline: 2px solid var(--sand); outline-offset: -4px; border-radius: 26px; }
.panel__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.panel.is-open .panel__body { grid-template-rows: 1fr; }
.panel__inner { min-height: 0; overflow: hidden; }
.panel__content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 2px 16px 18px; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.panel.is-open .panel__content { opacity: 1; transform: none; transition-delay: .08s; }

.b-text { margin: 0; color: var(--sand-soft); font-size: 15px; }

/* lista de enlaces */
.links { display: grid; gap: 8px; }
.link {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(246, 238, 230, .05); text-decoration: none;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.link:hover, .link:focus-visible { background: rgba(214, 181, 158, .14); }
.link:active { transform: scale(.985); }
.link > .ico { width: 22px; height: 22px; color: var(--sand); }
.link__t { flex: 1; min-width: 0; }
.link__t b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.link__t small { display: block; font-size: 13px; color: var(--muted); }
.link__go { width: 16px !important; height: 16px !important; color: var(--muted) !important; transition: transform .35s var(--ease); }
.link:hover .link__go { transform: translate(3px, -3px); }

/* datos para copiar (como las contraseñas WiFi de La Palomba) */
.copy { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 18px; background: rgba(246, 238, 230, .05); }
.copy__t { flex: 1; min-width: 0; }
.copy__label { display: block; font: 500 10px/1.35 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.copy__value { display: block; margin-top: 8px; font: 600 clamp(17px, 4.6vw, 22px)/1.2 var(--f-body); letter-spacing: -.01em; text-decoration: none; overflow-wrap: anywhere; }
.copy__btn {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 11px 14px; border: 0; border-radius: 999px;
  background: rgba(246, 238, 230, .1); font: 500 13px/1 var(--f-body); cursor: pointer; transition: background .3s, color .3s;
}
.copy__btn .ico { width: 15px; height: 15px; }
.copy__btn:hover { background: rgba(246, 238, 230, .18); }
.copy__btn.is-done { background: var(--sand); color: var(--ink); }

/* agenda */
.agenda { display: grid; gap: 8px; }
.agenda__item { display: flex; gap: 14px; align-items: stretch; padding: 12px; border-radius: 18px; background: rgba(246, 238, 230, .05); text-decoration: none; transition: background .3s; }
a.agenda__item:hover { background: rgba(214, 181, 158, .14); }
.agenda__date { display: grid; place-content: center; width: 66px; flex: 0 0 auto; padding: 8px 4px; border-radius: 14px; background: var(--brown); color: var(--sand); text-align: center; font: 600 11px/1.3 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.agenda__t { align-self: center; }
.agenda__t b { display: block; font: 600 16px/1.25 var(--f-display); }
.agenda__t small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.agenda__empty { margin: 0; padding: 14px 16px; border-radius: 18px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

/* documento embebido (carta) */
.doc { display: grid; gap: 12px; }
.doc__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px;
}
.doc__track::-webkit-scrollbar { display: none; }
.doc__page { position: relative; scroll-snap-align: start; aspect-ratio: var(--ar); padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--ink-3); cursor: zoom-in;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9); transition: transform .4s var(--ease); }
.doc__page:active { transform: scale(.98); }
.doc__page img { width: 100%; height: 100%; object-fit: cover; }
.doc__page:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.doc__dots { display: flex; justify-content: center; gap: 6px; }
.doc__dots span { width: 6px; height: 6px; border-radius: 99px; background: rgba(246, 238, 230, .25); transition: width .4s var(--ease), background .4s; }
.doc__dots span.is-on { width: 20px; background: var(--sand); }
.doc__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.doc__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.doc__hint .ico { width: 14px; height: 14px; }
.doc__pdf { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px/1 var(--f-body); text-decoration: none; transition: background .3s; }
.doc__pdf:hover { background: rgba(246, 238, 230, .08); }
@media (min-width: 641px) { .doc__track { grid-auto-columns: calc(50% - 5px); } }

/* visor a pantalla completa */
.is-locked, .is-locked body { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 95; background: rgba(8, 6, 5, .97); opacity: 0; transition: opacity .35s var(--ease); }
.viewer.is-on { opacity: 1; }
.viewer[hidden] { display: none; }
.viewer__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__page { flex: 0 0 100%; height: 100%; scroll-snap-align: center; overflow: auto; display: grid; place-items: center; padding: 64px 10px 24px; touch-action: pan-x pan-y pinch-zoom; }
.viewer__page img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; }
.viewer__bar { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; }
.viewer__count { flex: 1; font: 500 12px/1 var(--f-display); letter-spacing: .14em; color: var(--muted); }
.viewer__pdf[hidden] { display: none; }
.viewer__pdf, .viewer__close { display: grid; place-items: center; height: 44px; border: 0; border-radius: 999px; background: rgba(246, 238, 230, .12); color: var(--cream); cursor: pointer; text-decoration: none; }
.viewer__pdf { padding: 0 16px; font: 600 12px/1 var(--f-display); letter-spacing: .12em; }
.viewer__close { width: 44px; font-size: 26px; line-height: 1; }

/* listas y pasos */
.b-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.b-list li { padding: 9px 14px; border-radius: 999px; background: rgba(214, 181, 158, .1); border: 1px solid var(--line); font-size: 14px; }
.b-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.b-steps li { position: relative; padding: 2px 0 2px 42px; font-size: 15px; color: var(--sand-soft); counter-increment: paso; min-height: 30px; }
.b-steps li::before { content: counter(paso); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brown); color: var(--sand); font: 600 13px/1 var(--f-display); }

/* horario */
.hours__now { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 18px; background: rgba(224, 86, 74, .1); font-size: 15px; }
.hours__now.is-open { background: rgba(61, 220, 132, .1); }
.hours__now span { color: var(--muted); }
.hours, .hours__special { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hours__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-radius: 14px; font-size: 15px; color: var(--sand-soft); }
.hours__row b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--cream); }
.hours__row small { margin-left: 6px; padding: 3px 7px; border-radius: 99px; background: var(--sand); color: var(--ink); font: 600 9px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }
.hours__row.is-today { background: rgba(214, 181, 158, .12); }
.hours__note { margin: 4px 0 0; font: 500 10px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.hours__special li { font-size: 14px; color: var(--muted); }
.hours__special b { color: var(--cream); font-weight: 600; }

/* galería Instagram */
.ig { display: grid; gap: 12px; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 18px; overflow: hidden; }
.ig__tile { position: relative; aspect-ratio: 1; background: var(--ink-3); overflow: hidden; }
.ig__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.ig__tile:hover img { transform: scale(1.06); }
.ig__tile.is-skel { background: linear-gradient(100deg, var(--ink-3) 30%, #2c2118 50%, var(--ink-3) 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
.ig__badge { position: absolute; top: 6px; right: 6px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.ig__badge .ico { width: 16px; height: 16px; }
.ig__follow { display: inline-flex; align-items: center; gap: 8px; justify-self: center; font: 600 13px/1 var(--f-body); color: var(--sand); text-decoration: none; }
.ig__follow .ico { width: 16px; height: 16px; }

/* Spotify */
.sp { display: grid; gap: 10px; }
.sp__item { position: relative; height: 152px; border-radius: 14px; overflow: hidden; background: rgba(246, 238, 230, .05); }
.sp__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; }
.sp__ph .ico { color: #1ed760; }
.sp__item iframe { position: relative; display: block; width: 100%; height: 152px; border: 0; opacity: 0; transition: opacity .5s; }
.sp__item.is-ready iframe { opacity: 1; }

/* reseñas */
.rv { display: grid; gap: 12px; }
.rv__track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
.rv__track::-webkit-scrollbar { display: none; }
.rv__card { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 18px; border-radius: 20px; scroll-snap-align: start;
  background: linear-gradient(150deg, rgba(214, 181, 158, .14), rgba(246, 238, 230, .04)); border: 1px solid var(--line); }
.rv__stars { display: flex; gap: 3px; color: var(--sand); }
.rv__stars .ico { width: 16px; height: 16px; -webkit-mask: none; mask: none; background: none;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); background-color: currentColor; }
.rv__card blockquote { flex: 1; margin: 0; font: italic 400 20px/1.3 var(--f-serif); color: var(--cream); }
.rv__card figcaption { font-size: 13px; color: var(--muted); }
.rv__card figcaption b { color: var(--sand-soft); font-weight: 600; }
@media (min-width: 641px) { .rv__track { grid-auto-columns: calc(50% - 5px); } }

/* subtítulos dentro de tarjeta */
.b-title { margin: 8px 0 -2px; font: 500 10px/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }

/* Instagram: historias y lo más visto */
.igd { display: grid; gap: 12px; }
.igd[hidden] { display: none; }
.igd__stories { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.igd__story { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; }
.igd__ring { display: block; width: 68px; height: 68px; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, var(--amber), var(--sand), var(--ember), var(--amber)); }
.igd__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink-2); }
.igd__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.igd__card { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--ink-3); }
.igd__card img { width: 100%; height: 100%; object-fit: cover; }
.igd__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 9, 7, .85)); }
.igd__rank { position: absolute; top: 6px; left: 6px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sand); color: var(--ink); font: 700 12px/1 var(--f-display); }
.igd__likes { position: absolute; left: 8px; bottom: 7px; z-index: 1; font: 600 12px/1 var(--f-body); }
.viewer__page video { max-width: 100%; max-height: 100%; border-radius: 8px; background: #000; }
.rv__note { margin: -4px 0 0; font-size: 12px; color: var(--muted); }

/* idioma */
.lang { position: absolute; top: max(16px, env(safe-area-inset-top)); right: var(--gutter); z-index: 5; min-width: 46px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(11, 9, 7, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--cream);
  font: 600 12px/1 var(--f-display); letter-spacing: .14em; cursor: pointer; transition: background .3s, color .3s; }
.lang:hover, .lang:focus-visible { background: var(--sand); color: var(--ink); }

/* autobús TUA */
.bus { display: grid; gap: 12px; }
.bus__pick { position: relative; display: flex; gap: 8px; }
.bus__combo { flex: 1; min-width: 0; }
.bus__input { width: 100%; height: 50px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(246, 238, 230, .06); color: var(--cream);
  font: 500 16px var(--f-body); -webkit-appearance: none; appearance: none; }
.bus__input::placeholder { color: var(--muted); }
.bus__input:focus { outline: none; border-color: var(--sand); background: rgba(246, 238, 230, .09); }
.bus__input::-webkit-search-cancel-button { filter: invert(.8) sepia(.4); }
.bus__sug { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  border: 1px solid rgba(214, 181, 158, .4); border-radius: 18px; background: #1b140f; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .9); }
.bus__sug[hidden] { display: none; }
.bus__sug li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 12px; cursor: pointer; }
.bus__sug li[aria-selected="true"], .bus__sug li:hover { background: rgba(214, 181, 158, .14); }
.bus__sn { min-width: 0; font-size: 15px; }
.bus__sn small { margin-left: 4px; font-size: 12px; color: var(--muted); }
.bus__sn mark { background: none; color: var(--sand); font-weight: 700; }
.bus__sl { display: flex; gap: 4px; flex: 0 0 auto; }
.bus__sl b { padding: 4px 6px; border-radius: 6px; background: rgba(214, 181, 158, .16); color: var(--sand); font: 700 10px/1 var(--f-display); }
.bus__sl b.is-walk { display: inline-flex; align-items: center; gap: 4px; }
.bus__sl b.is-walk .ico { width: 11px; height: 11px; }
.bus__line.is-walk .ico { width: 20px; height: 20px; }
.bus__sug .bus__none { display: block; cursor: default; color: var(--muted); font-size: 14px; line-height: 1.4; }
.bus__sug .bus__none:hover { background: none; }
.bus__select { flex: 1; min-width: 0; width: 100%; text-overflow: ellipsis; height: 50px; padding: 0 40px 0 16px; border-radius: 16px; border: 1px solid var(--line); color: var(--cream); font: 500 15px var(--f-body);
  background: rgba(246, 238, 230, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23d6b59e' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none; }
.bus__select option { background: var(--ink-2); color: var(--cream); }
.bus__select:focus-visible, .bus__loc:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.bus__loc { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(214, 181, 158, .12); color: var(--sand); font: 600 13px/1 var(--f-body); cursor: pointer; }
.bus__loc .ico { width: 18px; height: 18px; }
.bus__loc.is-busy .ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bus__out { display: grid; gap: 8px; }
.bus__out:empty { display: none; }
.bus__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(246, 238, 230, .05); }
.bus__line { display: grid; place-items: center; min-width: 48px; height: 36px; padding: 0 8px; border-radius: 10px; background: var(--sand); color: var(--ink); font: 700 13px/1 var(--f-display); }
.bus__t { min-width: 0; }
.bus__t b { display: block; font: 700 17px/1.2 var(--f-body); }
.bus__t b small { font-weight: 500; font-size: 13px; color: var(--muted); }
.bus__t > small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.bus__empty { margin: 0; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.bus__live { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font: 600 13px/1 var(--f-body); color: var(--sand); text-decoration: none; padding: 4px 0; }
.bus__live .ico { width: 14px; height: 14px; }
.bus__note { margin: 0; font-size: 12px; color: var(--muted); }

/* mapa */
.map { position: relative; aspect-ratio: 16 / 10; max-height: 300px; width: 100%; border-radius: 18px; overflow: hidden; background: var(--ink-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.9) invert(.92) contrast(.9) sepia(.25); }

/* botón flotante */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(120deg, var(--amber), var(--ember)); color: #fff; box-shadow: 0 14px 40px -12px rgba(240, 138, 60, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  font: 600 13px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase;
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.fab.is-on { transform: none; }
.fab .ico { width: 18px; height: 18px; }

/* aviso de copiado */
.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 60; padding: 12px 18px; border-radius: 999px; background: var(--cream); color: var(--ink);
  font: 600 14px/1 var(--f-body); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); pointer-events: none;
  opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* pie */
.footer { display: grid; justify-items: center; gap: 14px; padding: 72px var(--gutter) 120px; border-top: 1px solid var(--line); text-align: center; }
.footer__mark { width: 150px; aspect-ratio: 161 / 39.5; color: var(--cream); }
.footer__claim { margin: 0; font: 400 34px/1 var(--f-body); }
.footer__claim em { color: var(--sand); font-size: 1.15em; }
.footer__meta, .footer__legal { margin: 0; font-size: 13px; color: var(--muted); }
.footer a { text-decoration: none; border-bottom: 1px solid var(--line); }

.footer__lang { padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; cursor: pointer; }
.fallback { display: grid; gap: 10px; padding: 0; list-style: none; }
.fallback a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }

/* entrada de las tarjetas al aparecer */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .hero { min-height: 540px; }
  .hero__img { object-position: 38% 50%; }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1; padding: 17px 18px; }
  .panel__head { padding: 14px; gap: 12px; }
  .panel__icon { width: 46px; height: 46px; border-radius: 14px; }
  .panel__title { font-size: 16px; }
  .panel__content { padding: 2px 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
