/* ==========================================================================
   FIKA — Experiencia Culinaria
   Dark, editorial, premium. Tokens below come from the Claude Design
   handoff (design_handoff_fika_premium/README.md).
   ========================================================================== */

:root {
  /* Color */
  --ink-bg: #17100d;      /* page background */
  --ink-bg-2: #211713;    /* alternate dark sections */
  --ink-card: #2a1e18;    /* dark cards, dark buttons */
  --wine: #8b3a52;        /* brand primary */
  --wine-hover: #a34664;
  --wine-light: #c97a93;  /* accents on dark */
  --wine-deep: #2b1820;   /* footer */
  --cream: #fdf6ec;
  --cream-2: #fffaf3;     /* cards on cream */
  --sand: #e8d5c4;
  --tan: #d4bfae;         /* body text on dark */
  --muted: #a8927f;
  --gold: #c4956a;        /* kickers, hairlines, outlines */
  --gold-dark: #a0714b;   /* kickers on cream */
  --brown: #5c4033;       /* body text on cream */
  --brown-2: #6b5547;
  --ink: #2a1e18;         /* headings on cream */
  --discount-bg: #f3e1d6;
  --error-on-dark: #e89aae;
  --disabled: #c9b6a6;
  --hair: rgba(196, 149, 106, .3);
  --hair-strong: rgba(196, 149, 106, .5);

  /* Type (Google Fonts placeholders for the brand's licensed files) */
  --f-display: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  --f-script: Allura, 'Brush Script MT', cursive;
  --f-label: Antonio, 'Arial Narrow', Helvetica, sans-serif;
  --f-body: Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout & motion */
  --pad-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(88px, 12vw, 160px);
  --max: 1240px;
  --header-h: 128px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --arch: 999px 999px 6px 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink-bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: var(--sand); text-decoration: none; transition: color .25s; }
a:hover { color: var(--wine-light); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

.container { max-width: var(--max); margin: 0 auto; }
.section { padding: var(--section-y) var(--pad-x); }
.section--alt { background: var(--ink-bg-2); }
.section--cream { background: var(--cream); color: var(--ink); }

/* Kicker: 48×1 gold line + Antonio label */
.kicker {
  display: flex; align-items: center; gap: 16px;
  font: 600 13px var(--f-label); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before { content: ''; width: 48px; height: 1px; background: currentColor; flex-shrink: 0; }
.kicker--wine { color: var(--wine); }

.display-xl { font: 400 clamp(48px, 8vw, 104px)/.95 var(--f-display); letter-spacing: -.02em; }
.display-lg { font: 400 clamp(40px, 5.6vw, 72px)/1 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.display-md { font: 400 clamp(34px, 5vw, 60px)/1.05 var(--f-display); text-wrap: balance; }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 64px; margin-bottom: 56px;
}
.section-head-title { display: flex; flex-direction: column; gap: 20px; }
.section-lede { max-width: 46ch; font: 300 17px/1.7 var(--f-body); color: var(--tan); text-wrap: pretty; }
.section--cream .section-lede { color: var(--brown); }
.section-status { margin-top: 32px; font-size: 15px; color: var(--muted); }
.section-status:empty { display: none; }

.asterisk { display: block; color: var(--gold); font-size: 18px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px var(--f-label); letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  color: var(--cream); white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.btn:hover { color: var(--cream); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { font-size: 15px; padding: 20px 38px; }
.btn-sm { font-size: 13px; padding: 13px 24px; }
.btn-wine { background: var(--wine); }
.btn-wine:hover:not(:disabled) { background: var(--wine-hover); transform: translateY(-2px); }
.btn-dark { background: var(--ink-card); }
.btn-dark:hover:not(:disabled) { background: var(--wine); }
.btn-outline { font-size: 13px; padding: 12px 22px; border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--ink-bg); }
.btn-ghost { border-color: rgba(232, 213, 196, .35); }
.btn-ghost:hover { border-color: var(--sand); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--gold); color: var(--ink); }

.link-arrow {
  font: italic 400 19px var(--f-display); color: var(--sand);
  border-bottom: 1px solid rgba(196, 149, 106, .5); padding-bottom: 4px;
  transition: color .25s, border-color .25s;
}
.link-arrow:hover { color: var(--cream); border-color: var(--cream); }
.link-italic {
  align-self: flex-start;
  font: italic 400 15px var(--f-display); color: var(--gold);
  border-bottom: 1px solid rgba(196, 149, 106, .5); padding-bottom: 2px;
}
.link-italic:hover { color: var(--cream); }

.pill-wine {
  font: 600 12px var(--f-label); letter-spacing: .26em; text-transform: uppercase;
  background: var(--wine); color: var(--cream); padding: 9px 16px; border-radius: 999px;
}
.pill-outline {
  font: 600 11px var(--f-label); letter-spacing: .28em; text-transform: uppercase;
  color: var(--wine); border: 1px solid var(--wine); padding: 6px 10px; border-radius: 999px;
}

/* ---------- Form bits ---------- */
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field-label {
  font: 600 12px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.section--cream .field-label, .drawer .field-label { color: var(--wine); }
.field-label--muted { color: var(--brown-2) !important; }
.line-input {
  width: 100%; min-width: 0; background: transparent; border: 0;
  border-bottom: 1px solid rgba(232, 213, 196, .4); border-radius: 0;
  padding: 0 0 10px; font: 400 17px var(--f-body); color: var(--cream); outline: none;
  transition: border-color .25s;
}
.line-input::placeholder { color: var(--muted); opacity: .8; }
.line-input:focus { border-color: var(--wine-light); }
.line-input--lg { font-size: 19px; padding-bottom: 12px; }
.section--cream .line-input, .drawer .line-input { border-color: var(--gold); color: var(--ink); }
.section--cream .line-input::placeholder, .drawer .line-input::placeholder { color: var(--brown-2); opacity: .6; }
.section--cream .line-input:focus, .drawer .line-input:focus { border-color: var(--wine); }
.line-input.is-invalid { border-color: var(--wine) !important; }
textarea.line-input { min-height: 64px; resize: vertical; line-height: 1.5; }
.field-error { font: 400 14px var(--f-body); color: var(--error-on-dark); }
.section--cream .field-error, .drawer .field-error { color: var(--wine); }
.field-hint { font: 400 14px/1.5 var(--f-body); color: var(--brown-2); }
.field-hint:empty { display: none; }
.field-hint.ok { color: var(--wine); }
.field-hint.error { color: var(--wine); }

.segmented {
  display: flex; gap: 4px; padding: 4px;
  border: 1px solid var(--gold); border-radius: 999px;
}
.segmented button {
  min-width: 64px; padding: 10px 18px; border-radius: 999px; text-align: center;
  font: 600 13px var(--f-label); letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown); transition: background .25s, color .25s;
}
.segmented button[aria-checked="true"] { background: var(--ink-card); color: var(--cream); }
.segmented button.is-yes[aria-checked="true"] { background: var(--wine); }
.segmented--wide { display: grid; grid-template-columns: 1fr 1fr; }
.segmented--wide button { font-size: 12.5px; letter-spacing: .16em; padding: 11px 10px; }

.done-box {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px;
  border: 1px solid rgba(196, 149, 106, .45); border-radius: 6px;
}
.done-box p { font: 300 16px/1.6 var(--f-body); color: var(--sand); text-wrap: pretty; }
.done-box > div { display: flex; flex-direction: column; gap: 10px; }
.done-check {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--ink-bg);
  display: flex; align-items: center; justify-content: center; font: 600 15px/1 var(--f-body);
}

/* ---------- Logo (two layers: the whisk spins on hover) ---------- */
.logo { position: relative; display: block; aspect-ratio: 548 / 640; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo .logo-whisk { transform-origin: 51% 31%; transition: transform 1.1s var(--ease); }
.logo:hover .logo-whisk, .brand:hover .logo-whisk { transform: rotate(-360deg); }
.logo--header { height: 112px; }
.logo--footer { height: 180px; }
.logo--gift { height: 64px; }
.logo--gift img:first-child { filter: brightness(.35) sepia(.4); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad-x);
  background: rgba(23, 16, 13, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 149, 106, .18);
}
.brand { display: flex; }
.site-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.4vw, 34px);
  font: 500 14px var(--f-label); letter-spacing: .22em; text-transform: uppercase;
}
.site-nav a { color: var(--tan); }
.site-nav a:hover { color: var(--cream); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; font: 600 13px var(--f-label); letter-spacing: .12em; }
.lang-btn { padding: 4px 2px; color: var(--muted); }
.lang-btn[aria-pressed="true"] { color: var(--gold); }
.lang-btn:hover { color: var(--cream); }
.lang-sep { color: rgba(232, 213, 196, .3); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 5vw, 80px); align-items: center;
  padding: clamp(40px, 5vw, 72px) var(--pad-x) clamp(64px, 8vw, 112px);
}
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.hero-title {
  display: flex; flex-direction: column;
  font: 400 clamp(60px, 8.5vw, 132px)/.92 var(--f-display); letter-spacing: -.02em;
}
.hero-title-accent { font-style: italic; color: var(--wine-light); padding-left: clamp(24px, 6vw, 96px); white-space: nowrap; }
.hero-sub { max-width: 440px; font: 300 clamp(17px, 1.6vw, 20px)/1.65 var(--f-body); color: var(--tan); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(196, 149, 106, .25); padding-top: 22px; max-width: 540px;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 6px; padding-right: 12px; }
.hero-meta dt { font: 500 11px var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hero-meta dd { font: 400 17px/1.3 var(--f-display); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 680px); }
.arch { position: relative; border-radius: var(--arch); overflow: hidden; }
.arch-outline {
  position: absolute; inset: -16px -16px 16px 16px;
  border: 1px solid rgba(196, 149, 106, .4); border-radius: var(--arch);
}
.hero-arch { height: clamp(520px, 82vh, 860px); }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 16, 13, .55), rgba(23, 16, 13, 0) 45%); }

.spin-badge {
  position: absolute; left: clamp(-56px, -4vw, -16px); top: 18%;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--wine); box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: fika-spin 28s linear infinite; }
.spin-badge text { fill: var(--cream); font: 500 10.5px var(--f-label); letter-spacing: 2.6px; }
.spin-badge span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font: 400 34px/1 var(--f-script); color: var(--cream);
}

.next-card {
  position: absolute; right: clamp(-32px, -2vw, -8px); bottom: 36px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--cream); color: var(--ink); padding: 18px 22px; border-radius: 4px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
  transition: transform .4s var(--ease);
}
.next-card:hover { transform: translateY(-4px); color: var(--ink); }
.next-card-k { font: 600 11px var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--wine); }
.next-card-name { font: 500 21px var(--f-display); max-width: 18ch; }
.next-card-date { font: 400 14px var(--f-body); color: var(--brown-2); }

@keyframes fika-spin { to { transform: rotate(360deg); } }
@keyframes fika-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid rgba(196, 149, 106, .2); border-bottom: 1px solid rgba(196, 149, 106, .2);
  padding: 22px 0; overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: fika-marquee 60s linear infinite; }
.marquee-item {
  display: flex; gap: 40px; align-items: center; padding-right: 40px;
  font: italic 400 26px var(--f-display); color: var(--sand); white-space: nowrap;
}
.marquee-item::after { content: '✳\FE0E'; font-variant-emoji: text; font-style: normal; font-size: 16px; color: var(--gold); }

/* ==========================================================================
   ¿Por qué Fika?
   ========================================================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 7vw, 112px); align-items: center;
}
.why-word { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.why-word .kicker { margin-bottom: 12px; }
.why-fika { font: 400 clamp(140px, 20vw, 260px)/.85 var(--f-script); color: var(--wine-light); }
.why-pron, .why-def { padding-left: clamp(8px, 2vw, 24px); }
.why-pron { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.why-ipa { font: italic 400 22px var(--f-display); color: var(--sand); }
.why-pos { font: 500 13px var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.why-def { margin-top: 18px; max-width: 34ch; font: 300 16px/1.6 var(--f-body); color: var(--muted); text-wrap: pretty; }
.why-text { display: flex; flex-direction: column; gap: 26px; }
.why-title { font: 400 clamp(32px, 4.2vw, 54px)/1.12 var(--f-display); text-wrap: balance; }
.why-title em { color: var(--wine-light); }
.why-text > p { max-width: 52ch; font: 300 17px/1.75 var(--f-body); color: var(--tan); text-wrap: pretty; }
.why-text > .why-turn { font: 400 clamp(36px, 4vw, 50px)/1.1 var(--f-script); color: var(--sand); }
.why-text > .why-p2 { padding-top: 22px; border-top: 1px solid var(--hair); }

/* ==========================================================================
   La experiencia — tasting-menu card
   ========================================================================== */
.experience { padding-inline: clamp(16px, 4vw, 48px); }
.menu-card {
  position: relative; max-width: 820px; margin: 0 auto;
  background: var(--cream); color: var(--ink); text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 7vw, 88px);
  outline: 1px solid var(--gold); outline-offset: -16px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.menu-card-script { display: block; font: 400 clamp(56px, 8vw, 84px)/1 var(--f-script); color: var(--wine); }
.menu-card-k { margin: 10px 0 28px; font: 600 13px var(--f-label); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dark); }
.menu-card-title { margin: 0 auto 18px; max-width: 18ch; font: 400 clamp(30px, 4vw, 44px)/1.15 var(--f-display); text-wrap: balance; }
.menu-card-lede { margin: 0 auto; max-width: 48ch; font: 300 17px/1.7 var(--f-body); color: var(--brown); text-wrap: pretty; }
.menu-steps { margin-top: 48px; }
.menu-steps li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 30px 0; border-top: 1px solid rgba(196, 149, 106, .45);
}
.menu-step-n { font: 500 14px var(--f-label); letter-spacing: .3em; color: var(--gold-dark); }
.menu-steps h3 { font: italic 400 clamp(23px, 2.6vw, 28px)/1.25 var(--f-display); }
.menu-steps p { max-width: 46ch; font: 300 16px/1.65 var(--f-body); color: var(--brown); text-wrap: pretty; }
.menu-card .asterisk { margin-top: 12px; }

/* ==========================================================================
   Chef
   ========================================================================== */
.chef { padding-block: clamp(72px, 10vw, 140px); }
.chef-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(48px, 7vw, 112px); align-items: center;
}
.chef-photo { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.chef-frame { position: absolute; inset: 20px -20px -20px 20px; border: 1px solid rgba(196, 149, 106, .45); }
.chef-photo img {
  position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%;
  filter: grayscale(1); transition: filter .7s ease;
}
.chef-photo:hover img { filter: grayscale(0); }
.chef-name {
  position: absolute; left: -12px; bottom: -30px;
  font: 400 clamp(56px, 6vw, 76px)/1 var(--f-script); color: var(--cream);
  text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
}
.chef-body { display: flex; flex-direction: column; gap: 28px; }
.chef-title { font: 400 clamp(36px, 5vw, 64px)/1.05 var(--f-display); text-wrap: balance; }
.chef-quote { position: relative; padding-left: clamp(0px, 3vw, 32px); }
.chef-quote-mark {
  position: absolute; left: -12px; top: -44px;
  font: 400 140px/1 var(--f-display); color: var(--wine); opacity: .7;
}
.chef-quote-mark--close { left: auto; top: auto; right: -12px; bottom: -96px; }
.chef-quote p { position: relative; font: italic 400 clamp(18px, 1.8vw, 22px)/1.75 var(--f-display); color: var(--sand); text-wrap: pretty; }
.chef-sign { display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(196, 149, 106, .25); padding-top: 22px; }
.chef-sign-name { font: 400 44px/1 var(--f-script); color: var(--wine-light); }
.chef-sign-role { font: 600 13px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--tan); }

/* ==========================================================================
   Cursos — La carta
   ========================================================================== */
.featured {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  margin-bottom: clamp(64px, 8vw, 104px);
  background: var(--cream); color: var(--ink);
  border-radius: 6px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.featured-media { position: relative; min-height: 360px; overflow: hidden; }
.featured-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.featured-media:hover img { transform: scale(1.05); }
.featured-media .pill-wine { position: absolute; left: 20px; top: 20px; }
.featured-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(32px, 5vw, 56px); }
.featured-when { font: 500 14px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.featured-name { font: 400 clamp(28px, 3.4vw, 42px)/1.12 var(--f-display); text-wrap: balance; }
.featured-desc { font: 300 16.5px/1.7 var(--f-body); color: var(--brown); text-wrap: pretty; }
.seats { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.seats-row {
  display: flex; justify-content: space-between;
  font: 500 13px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--brown);
}
.seats-track { height: 3px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.seats-fill { height: 100%; background: var(--wine); transition: width .9s var(--ease); }
.group-chip {
  align-self: flex-start;
  font: 500 13px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--wine);
  border: 1px dashed var(--wine); padding: 8px 14px; border-radius: 4px;
}
.group-chip:empty { display: none; }
.featured-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--hair-strong);
}
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font: 500 32px var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.price span { font: 400 14px var(--f-body); color: var(--brown-2); }

.carta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.carta-list { display: flex; flex-direction: column; gap: 48px; }
.carta-group { display: flex; flex-direction: column; }
.carta-group-name {
  font: 600 13px var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  padding-bottom: 14px; border-bottom: 1px solid rgba(196, 149, 106, .35);
}
.carta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; text-align: left;
  padding: 22px 0; border-bottom: 1px solid rgba(232, 213, 196, .12);
  transition: padding .45s var(--ease);
}
.carta-row-main { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.carta-num { font: 500 13px var(--f-label); letter-spacing: .14em; color: var(--brown-2); transition: color .3s; }
.carta-name { font: 400 clamp(21px, 2.2vw, 28px)/1.2 var(--f-display); color: var(--muted); transition: color .3s; }
.carta-status {
  flex-shrink: 0; font: 500 12px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--brown-2);
}
.carta-row.is-open .carta-status { color: var(--wine-light); }
.carta-row.is-active { padding-left: 20px; }
.carta-row.is-active .carta-num { color: var(--wine-light); }
.carta-row.is-active .carta-name { color: var(--cream); font-style: italic; }

.carta-preview { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 22px; }
.preview-arch { aspect-ratio: 4 / 5; background: var(--ink-bg-2); }
.preview-arch img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .6s, transform 1.2s var(--ease);
}
.preview-arch img.is-active { opacity: 1; transform: scale(1); }
.preview-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(23, 16, 13, .85), rgba(23, 16, 13, 0) 50%); }
.preview-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; display: flex; flex-direction: column; gap: 2px; }
.preview-script { font: 400 34px/1 var(--f-script); color: var(--sand); }
.preview-name { font: 400 clamp(24px, 2.6vw, 32px)/1.15 var(--f-display); }
.preview-desc { font: 300 16px/1.7 var(--f-body); color: var(--tan); text-wrap: pretty; }
.preview-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.preview-when { font: 400 15px var(--f-body); color: var(--muted); }
.preview-when.is-open { color: var(--gold); }

.notify-box {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border: 1px solid rgba(196, 149, 106, .4); border-radius: 6px; background: rgba(253, 246, 236, .04);
}
.notify-box > p:first-child { font: 300 15.5px/1.6 var(--f-body); color: var(--sand); text-wrap: pretty; }
.notify-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.notify-row .line-input { flex: 1 1 200px; font-size: 16px; }
.carta-preview .done-box { padding: 18px 22px; }
.carta-preview .done-box p { font-size: 15.5px; }
.carta-preview .done-check { width: 28px; height: 28px; font-size: 14px; }

/* ==========================================================================
   Votes — ¿Cuál es el próximo curso?
   ========================================================================== */
.vote { padding-block: clamp(88px, 12vw, 150px); }
.vote-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.vote-intro { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.vote-intro .field { margin-top: 8px; max-width: 420px; }
.vote-intro .field-error { margin-top: -10px; }
.vote-note { max-width: 44ch; font: 400 14px/1.6 var(--f-body); color: var(--brown-2); }
.ballot { display: flex; flex-direction: column; border-bottom: 1px solid var(--hair-strong); }
.ballot:empty { border: 0; }
.ballot-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 22px 0; border-top: 1px solid var(--hair-strong);
}
.ballot-main { flex: 1 1 300px; display: flex; align-items: center; gap: 18px; min-width: 0; }
.ballot-rank { flex-shrink: 0; width: 26px; font: 500 14px var(--f-label); letter-spacing: .12em; color: var(--gold-dark); }
.ballot-img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--sand); }
.ballot-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.ballot-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ballot-name { font: 400 clamp(19px, 2vw, 23px)/1.2 var(--f-display); }
.ballot-fav {
  font: 600 10.5px var(--f-label); letter-spacing: .24em; text-transform: uppercase;
  background: var(--wine); color: var(--cream); padding: 5px 10px; border-radius: 999px;
}
.ballot-track { height: 6px; background: var(--sand); border-radius: 6px; overflow: hidden; }
.ballot-fill { height: 100%; width: 0; background: var(--gold); border-radius: 6px; transition: width .9s var(--ease); }
.ballot-row.is-lead .ballot-fill { background: var(--wine); }
.ballot-count { font: 400 13.5px var(--f-body); color: var(--brown-2); }
.ballot-side { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.ballot-pct { min-width: 64px; text-align: right; font: 500 30px/1 var(--f-display); }
.ballot-row.is-lead .ballot-pct { color: var(--wine); }
.ballot-btn {
  min-width: 140px; padding: 13px 20px; border-radius: 999px; text-align: center;
  font: 600 13px var(--f-label); letter-spacing: .18em; text-transform: uppercase;
  background: var(--ink-card); color: var(--cream); border: 1px solid var(--ink-card);
  transition: background .3s, color .3s, border-color .3s;
}
.ballot-btn:hover:not(:disabled) { background: var(--wine); border-color: var(--wine); }
.ballot-btn.is-voted { background: transparent; color: var(--wine); border-color: var(--wine); cursor: default; }

/* ==========================================================================
   Gift card
   ========================================================================== */
.gift { padding-block: clamp(88px, 12vw, 150px); }
.gift-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(48px, 7vw, 104px); align-items: center;
}
.gift-copy { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.gift-copy > .kicker + .display-lg, .gift-copy > .display-lg + .section-lede { margin-top: -10px; }
.gift-form { display: flex; flex-direction: column; gap: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-width: 56px; padding: 12px 18px; border-radius: 999px; text-align: center;
  border: 1px solid rgba(232, 213, 196, .35); color: var(--sand);
  font: 600 14px var(--f-label); letter-spacing: .14em;
  transition: background .25s, color .25s, border-color .25s;
}
.chip[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink-bg); }
.gift-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 28px; }
.gift-form .field-error { margin-top: -8px; }
.gift-buy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 6px; }
.gift-total { font: 500 36px/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.gift-total small { font: 400 15px var(--f-body); color: var(--muted); }

.gift-card-wrap { justify-self: center; width: min(100%, 480px); transform: rotate(-2.5deg); }
.gift-card {
  position: relative; aspect-ratio: 1.6 / 1;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--cream); color: var(--ink); border-radius: 10px;
  padding: clamp(20px, 3vw, 30px);
  outline: 1px solid var(--gold); outline-offset: -10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
}
.gift-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gift-card-mid { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gift-card-to {
  font: 400 clamp(28px, 4vw, 40px)/1 var(--f-script); color: var(--wine);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gift-card-msg {
  font: italic 400 15px/1.45 var(--f-display); color: var(--brown);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.gift-card-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 1px solid var(--hair-strong); padding-top: 10px;
  font: 500 12px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--brown-2);
}

/* ---------- Gift "thank you" sequence (after Stripe) ----------
   Card slides into an envelope, the flap closes, a seal drops, the envelope
   flies off, then "Gracias" is handwritten and signed. Delays are set
   inline below, relative to when the stage is mounted. */
@keyframes fika-card { 0% { transform: rotate(-2.5deg); } 30% { transform: rotate(0); } 55% { transform: translateY(0) scale(1); } 100% { transform: translateY(58%) scale(.9); } }
@keyframes fika-env-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fika-flap { 0% { transform: rotateX(180deg); z-index: 1; } 99% { z-index: 1; } 100% { transform: rotateX(0); z-index: 6; } }
@keyframes fika-seal { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes fika-fly { 0% { transform: none; opacity: 1; } 20% { transform: translate(-4%, 4%) rotate(-3deg); } 100% { transform: translate(130%, -110%) rotate(16deg) scale(.55); opacity: 0; } }
@keyframes fika-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fika-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.gift-thanks {
  display: flex; flex-direction: column; gap: 18px; padding-top: 6px;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .6s ease, transform .6s var(--ease);
}
.gift-thanks.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.gift-thanks-title { font: 400 clamp(28px, 3.4vw, 40px)/1.1 var(--f-display); }
.gift-thanks p { max-width: 44ch; font: 300 17px/1.7 var(--f-body); color: var(--tan); text-wrap: pretty; }
.gift-thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.btn-outline-lg { font-size: 14px; padding: 15px 28px; }

.gift-stage-wrap { justify-self: center; width: min(100%, 480px); }
/* Stacked columns (the grid goes single-column below ~916px): play it at the top
   of the section, where the visitor lands, not below the message. */
@media (max-width: 915px) { .gift-stage-wrap { order: -1; } }
.gift-stage { position: relative; width: 100%; aspect-ratio: 1 / .85; }
.gift-env { position: absolute; inset: 0; perspective: 900px; animation: fika-fly .8s cubic-bezier(.55, 0, .75, .3) 2.6s forwards; }
.gift-env-back, .gift-env-front { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; border-radius: 8px; animation: fika-env-in .5s var(--ease) .3s both; }
.gift-env-back { z-index: 2; background: #d9c2ab; }
.gift-env-front {
  z-index: 5; background: #f3e6d8; box-shadow: inset 0 -1px 0 var(--gold);
  clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%);
}
.gift-env-front span {
  position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); white-space: nowrap;
  font: 600 10px var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark);
}
.gift-env-card {
  position: absolute; top: 0; left: 6%; width: 88%; aspect-ratio: 1.6 / 1; z-index: 3;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--cream); color: var(--ink); border-radius: 10px; padding: clamp(16px, 2.6vw, 26px);
  outline: 1px solid var(--gold); outline-offset: -9px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  animation: fika-card 1.5s var(--ease) forwards;
}
.gift-env-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gift-env-card-logo { font: 400 30px/1 var(--f-script); color: var(--wine); }
.gift-env-card .pill-outline { font-size: 10px; letter-spacing: .26em; padding: 5px 9px; }
.gift-env-card-to {
  font: 400 clamp(24px, 3.4vw, 34px)/1 var(--f-script); color: var(--wine);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gift-env-card-from {
  border-top: 1px solid var(--hair-strong); padding-top: 8px;
  font: 500 11px var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--brown-2);
}
.gift-env-flap {
  position: absolute; left: 0; right: 0; top: 40%; height: 38%; z-index: 1;
  background: var(--sand); clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center; transform: rotateX(180deg);
  animation: fika-env-in .5s var(--ease) .3s both, fika-flap .5s var(--ease) 1.5s forwards;
}
.gift-env-seal {
  position: absolute; left: 50%; top: calc(78% - 28px); margin-left: -28px; z-index: 7;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wine); color: var(--cream); font: 400 30px/1 var(--f-script);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 0 0 3px rgba(253, 246, 236, .25);
  transform: scale(0); animation: fika-seal .45s var(--ease) 2s forwards;
}
.gift-sign { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.gift-sign-word {
  font: 400 clamp(84px, 12vw, 136px)/1.1 var(--f-script); color: var(--wine-light); padding: 0 .15em;
  clip-path: inset(0 100% 0 0); animation: fika-write 1.6s cubic-bezier(.45, .05, .4, 1) 3.3s forwards;
}
.gift-sign-name {
  align-self: flex-end; margin-right: 14%; white-space: nowrap;
  font: 400 clamp(34px, 4vw, 46px)/1 var(--f-script); color: var(--sand);
  opacity: 0; animation: fika-fade .6s ease 4.8s forwards;
}
/* Reduced motion: no envelope, the signature and message just appear. */
.gift-stage.is-static .gift-env { display: none; }
.gift-stage.is-static .gift-sign-word { clip-path: none; animation: none; }
.gift-stage.is-static .gift-sign-name { opacity: 1; animation: none; }

/* ==========================================================================
   Privadas y empresas
   ========================================================================== */
.private { padding-block: clamp(88px, 12vw, 150px); }
.private .section-head { margin-bottom: 56px; }
.private-title { max-width: 14ch; }
.private-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(24px, 3vw, 40px); }
.private-card {
  display: flex; flex-direction: column; background: var(--cream-2);
  border: 1px solid rgba(196, 149, 106, .55); border-radius: 6px; overflow: hidden;
}
.private-media { overflow: hidden; aspect-ratio: 16 / 10; }
.private-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.private-media:hover img { transform: scale(1.05); }
.private-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.4vw, 40px); flex: 1; }
.private-k { font: 400 40px/1 var(--f-script); color: var(--wine); }
.private-body h3 { margin-top: -6px; font: 400 clamp(26px, 2.8vw, 34px)/1.12 var(--f-display); text-wrap: balance; }
.private-body > p { font: 300 16px/1.7 var(--f-body); color: var(--brown); text-wrap: pretty; }
.private-body .btn { margin-top: auto; align-self: flex-start; }
.star-list li {
  display: flex; gap: 14px; align-items: baseline; padding: 11px 0;
  border-top: 1px solid rgba(196, 149, 106, .4); font: italic 400 17px var(--f-display);
}
.star-list li::before { content: '✳\FE0E'; font-variant-emoji: text; font-style: normal; color: var(--gold); font-size: 12px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { padding: clamp(72px, 10vw, 140px) 0; }
.gallery-head {
  margin-bottom: 48px; padding: 0 var(--pad-x);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.gallery-head .display-md { max-width: 16ch; }
.gallery-swipe { font: italic 400 18px var(--f-display); color: var(--gold); }
.gallery-strip {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad-x) 12px; scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip figure {
  flex: 0 0 auto; width: clamp(240px, 26vw, 340px);
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px;
}
.gallery-strip figure:nth-child(even) { margin-top: 48px; }
.gallery-img { overflow: hidden; border-radius: 4px; }
.gallery-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-img:hover img { transform: scale(1.06); }
.gallery-strip figcaption { font: 400 30px/1 var(--f-script); color: var(--sand); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: flex-start; }
.faq-grid > .section-head-title { flex: 1 1 280px; }
.faq-list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 400 clamp(18px, 1.8vw, 22px)/1.35 var(--f-display); transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--wine-light); }
.faq-item summary i {
  flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hair-strong); border-radius: 50%;
  font: normal 300 20px/1 var(--f-body); color: var(--gold); transition: transform .35s;
}
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { padding: 0 56px 26px 0; max-width: 64ch; font: 300 16.5px/1.75 var(--f-body); color: var(--tan); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--wine-deep); padding: clamp(80px, 10vw, 128px) var(--pad-x) 0; }
.footer-cta {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
  padding-bottom: clamp(64px, 8vw, 96px); border-bottom: 1px solid rgba(196, 149, 106, .25);
}
.footer-script { font: 400 clamp(64px, 11vw, 150px)/.9 var(--f-script); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding: 56px 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font: 400 15px var(--f-body); color: var(--tan); }
.footer-col h4 {
  margin-bottom: 6px; font: 600 12px var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.footer-col a { color: var(--tan); }
.footer-col a:hover { color: var(--wine-light); }
.footer-bottom {
  border-top: 1px solid rgba(196, 149, 106, .25); padding: 24px 0;
  text-align: center; font: 400 13px var(--f-body); color: var(--muted);
}

/* ==========================================================================
   Booking drawer
   ========================================================================== */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15, 10, 8, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .45s ease;
}
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
  width: min(620px, 100%);
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  transform: translateX(105%); transition: transform .6s var(--ease);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .45);
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: clamp(22px, 3vw, 32px) clamp(20px, 4vw, 40px) 20px;
  border-bottom: 1px solid var(--hair-strong);
}
.drawer-head-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.drawer-title { font: 400 clamp(30px, 4vw, 42px)/1 var(--f-display); letter-spacing: -.01em; }
.drawer-summary { font: italic 400 17px/1.4 var(--f-display); color: var(--brown); }
.drawer-summary small { font: normal 400 14px var(--f-body); }
.icon-btn {
  flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); border-radius: 50%; font: 300 18px/1 var(--f-body); color: var(--brown);
  transition: background .25s, color .25s;
}
.icon-btn:hover { background: var(--ink-card); color: var(--cream); }
.drawer-body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 28px clamp(20px, 4vw, 40px) 36px;
}
.drawer-form { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.drawer-empty { display: flex; flex-direction: column; gap: 18px; font: 300 16.5px/1.7 var(--f-body); color: var(--brown); }
.drawer-empty .link-italic { color: var(--wine); }

.picker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.picker-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 10px 14px 10px 10px; border-radius: 6px;
  border: 1px solid rgba(196, 149, 106, .55); transition: border-color .25s, background .25s;
}
.picker-card img { width: 60px; height: 60px; flex-shrink: 0; border-radius: 4px; object-fit: cover; background: var(--sand); }
.picker-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.picker-name { font: 400 17px/1.25 var(--f-display); }
.picker-date { font: 400 13.5px/1.4 var(--f-body); color: var(--brown-2); }
.picker-dot {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--wine);
  display: flex; align-items: center; justify-content: center;
}
.picker-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.picker-card[aria-checked="true"] { border-color: var(--wine); background: var(--cream-2); }
.picker-card[aria-checked="true"] .picker-dot::after { background: var(--wine); }

.party-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  padding-bottom: 24px; border-bottom: 1px solid var(--hair-strong);
}
.party-row > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.party-left { font: 400 15px var(--f-body); color: var(--brown-2); }
.stepper { display: flex; align-items: center; gap: 6px; border: 1px solid var(--gold); border-radius: 999px; padding: 5px; }
.stepper button {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font: 300 24px/1 var(--f-body); color: var(--ink); transition: background .25s;
}
.stepper button:hover:not(:disabled) { background: var(--sand); }
.stepper button:disabled { color: var(--disabled); cursor: not-allowed; }
.stepper output { min-width: 44px; text-align: center; font: 500 28px/1 var(--f-display); }

.group-note {
  display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 6px;
  border: 1px solid rgba(196, 149, 106, .55); transition: background .3s, border-color .3s;
}
.group-note.is-on { background: var(--discount-bg); border-color: var(--wine); }
.group-note-icon { flex-shrink: 0; font: 400 26px/1 var(--f-script); color: var(--wine); }
.group-note.is-on .group-note-icon { font: 500 18px/1 var(--f-body); }
#group-note-msg { font: 400 15px/1.5 var(--f-body); color: var(--brown); }

.guest-list { display: flex; flex-direction: column; gap: 28px; }
.guest-card {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--cream-2); border: 1px solid rgba(196, 149, 106, .55); border-radius: 6px;
  padding: clamp(20px, 3vw, 32px);
}
.guest-head { display: flex; align-items: baseline; gap: 14px; }
.guest-num { font: 400 38px/1 var(--f-script); color: var(--wine); }
.guest-k { font: 600 13px var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--brown); }
.guest-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px 28px; }
.guest-minor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.guest-age-note { margin-top: -6px; font: 400 14.5px/1.55 var(--f-body); color: var(--wine); }

.consent { display: flex; gap: 12px; align-items: flex-start; font: 400 14.5px/1.55 var(--f-body); color: var(--brown); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--wine); flex-shrink: 0; }
.consent.is-invalid { color: var(--wine); }

.code-box { display: flex; flex-direction: column; gap: 12px; }
.code-box .link-italic { color: var(--wine); border-color: rgba(139, 58, 82, .4); }
.code-row { display: flex; gap: 12px 16px; align-items: flex-end; flex-wrap: wrap; }
.code-row .line-input { flex: 1 1 200px; text-transform: uppercase; letter-spacing: .06em; }

.includes-card {
  background: var(--ink-card); color: var(--cream); border-radius: 6px;
  padding: 30px clamp(20px, 3vw, 32px) 22px;
  outline: 1px solid var(--hair-strong); outline-offset: -10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.includes-k { font: 500 11px var(--f-label); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.includes-script { font: 400 40px/1 var(--f-script); color: var(--wine-light); }
.includes-list {
  width: 100%; margin-top: 14px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 28px;
  counter-reset: inc;
}
.includes-list li {
  display: flex; gap: 14px; align-items: baseline; padding: 13px 0;
  border-top: 1px solid rgba(196, 149, 106, .25); font: italic 400 16.5px/1.35 var(--f-display);
  counter-increment: inc;
}
.includes-list li::before {
  content: '0' counter(inc); flex-shrink: 0;
  font: normal 500 12px var(--f-label); letter-spacing: .14em; color: var(--gold);
}
.includes-card .asterisk { margin-top: 10px; font-size: 14px; }

.drawer-foot { border-top: 1px solid var(--hair-strong); background: var(--cream); }
.paymode { display: flex; flex-direction: column; gap: 10px; padding: 16px clamp(20px, 4vw, 40px) 0; }
.pay-note { font: 400 13.5px/1.5 var(--f-body); color: var(--brown-2); }
/* With a deposit, what is owed at the door must not be missed. */
.pay-note.is-deposit {
  font: 600 15.5px/1.5 var(--f-body); color: var(--ink);
  background: var(--discount-bg); border-left: 3px solid var(--wine);
  padding: 10px 14px; border-radius: 4px;
}
.form-status { padding: 10px clamp(20px, 4vw, 40px) 0; font: 400 14.5px/1.5 var(--f-body); color: var(--brown); }
.form-status:empty { display: none; }
/* Errors at the Pay button must be noticed, not read as footer text. */
.form-status.error {
  color: var(--ink); font-weight: 600;
  background: var(--discount-bg); border-left: 3px solid var(--wine);
  margin: 10px clamp(20px, 4vw, 40px) 0; padding: 10px 14px; border-radius: 4px;
}
/* Same treatment inside the drawer, e.g. "under 16 needs an adult". */
.alert-note {
  font: 600 15px/1.5 var(--f-body); color: var(--ink);
  background: var(--discount-bg); border-left: 3px solid var(--wine);
  padding: 12px 16px; border-radius: 4px;
}
.drawer-total {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 20px;
  padding: 14px clamp(20px, 4vw, 40px) 18px;
}
.drawer-total > div { display: flex; flex-direction: column; gap: 4px; }
.total-amount { font: 500 40px/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
/* Single-barred peso sign in front of display prices (see setPrice in main.js). */
.peso { font-family: var(--f-body); font-weight: 400; margin-right: .04em; }
.total-amount small { font: 400 16px var(--f-body); color: var(--brown-2); }
#pay-btn:hover:not(:disabled) { background: var(--ink-card); }

/* ==========================================================================
   Ticket overlay & toast
   ========================================================================== */
.ticket-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 10, 8, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
/* "Booking confirmed": the title is written, the ticket prints out of a
   slot, a stamp lands, chef hats fall, then the buttons appear. Delays are
   relative to when the overlay opens. */
@keyframes rc-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rc-print { from { transform: translateY(-102%); } to { transform: none; } }
@keyframes rc-stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(2.4); } 60% { opacity: 1; transform: rotate(-14deg) scale(.92); } 80% { transform: rotate(-14deg) scale(1.05); } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }
@keyframes rc-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rc-fall { 0% { opacity: 0; transform: translateY(-70px) rotate(var(--r0)); } 8% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--fall, 760px)) rotate(var(--r1)); } }
@keyframes rc-sway { 0%, 100% { margin-left: 0; } 50% { margin-left: var(--sw); } }

.confirm-card {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-x: hidden; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--ink-bg); color: var(--cream); border-radius: 10px;
  padding: 44px 40px 36px; text-align: center; box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.confirm-title {
  font: 400 72px/1.15 var(--f-script); color: var(--wine-light); padding: 0 .15em;
  clip-path: inset(0 100% 0 0); animation: rc-write 1.2s cubic-bezier(.45, .05, .4, 1) .2s forwards;
}
.confirm-sub { font: 300 15px var(--f-body); color: var(--tan); opacity: 0; animation: rc-fade .5s ease 1.1s forwards; }

.tk-printer { width: 100%; margin-top: 22px; display: flex; flex-direction: column; align-items: center; }
.tk-slot {
  width: 100%; height: 14px; border-radius: 7px; background: var(--ink-card);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6), 0 1px 0 rgba(196, 149, 106, .35);
}
.tk-wrap { position: relative; width: 92%; overflow: hidden; margin-top: -7px; padding-bottom: 40px; }
.tk-print { transform: translateY(-102%); animation: rc-print 1.3s var(--ease) 1.3s forwards; }
.tk {
  width: 100%; text-align: left; background: var(--cream); color: var(--ink);
  border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
.tk-top { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.tk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-field { display: flex; flex-direction: column; gap: 3px; }
.tk-label { font: 600 10px var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); }
.tk-value { font: 500 14px var(--f-body); }
.tk-course { gap: 4px; }
.tk-course .tk-value { font: 400 21px/1.2 var(--f-display); }
.tk-perf { position: relative; border-top: 2px dashed var(--gold); margin: 0 14px; }
.tk-perf::before, .tk-perf::after {
  content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink-bg);
}
.tk-perf::before { left: -26px; }
.tk-perf::after { right: -26px; }
.tk-stub { padding: 16px 22px 18px; display: flex; justify-content: space-between; align-items: center; }
.tk-code .tk-value { font: 600 22px/1 var(--f-label); letter-spacing: .2em; color: var(--wine); }
.tk-guests { align-items: flex-end; }
.tk-guests .tk-value { font: 400 20px/1 var(--f-display); }
.tk-stamp {
  position: absolute; left: 50%; bottom: 36px; margin-left: -44px; width: 88px; height: 88px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; border: 3px solid var(--wine); outline: 1px solid var(--wine); outline-offset: -9px;
  background: rgba(253, 246, 236, .35); color: var(--wine); font-size: 11px; text-transform: uppercase;
  opacity: 0; animation: rc-stamp .55s var(--ease) 2.7s forwards;
}
.tk-stamp-k { font: 600 11px var(--f-label); letter-spacing: .24em; }
.tk-stamp-t { font: 700 12px var(--f-label); letter-spacing: .1em; }

.confirm-foot {
  width: 100%; margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; animation: rc-fade .6s ease 3.3s forwards;
}
.confirm-notes { display: flex; flex-direction: column; gap: 4px; }
.confirm-balance { font: 600 15px/1.5 var(--f-body); color: var(--wine-light); }
.confirm-email { font: 400 13.5px/1.5 var(--f-body); color: var(--muted); }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.confirm-btn {
  font: 600 12px var(--f-label); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  padding: 12px 16px; border-radius: 999px; border: 1px solid var(--gold); color: var(--cream);
  transition: background .3s, color .3s;
}
.confirm-btn:hover { background: var(--gold); color: var(--ink-bg); }
.confirm-btn.is-solid { background: var(--wine); border-color: var(--wine); }
.confirm-btn.is-solid:hover { background: var(--wine-hover); color: var(--cream); }

.hat-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 10; }
.hat-drop { position: absolute; top: 0; opacity: 0; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.chef-hat { position: relative; }
.chef-hat span { position: absolute; background: var(--cream); }
.chef-hat .puff { width: 46%; height: 46%; border-radius: 50%; }
.chef-hat .puff-l { left: 0; top: 8%; }
.chef-hat .puff-c { left: 27%; top: 0; }
.chef-hat .puff-r { right: 0; top: 8%; }
.chef-hat .hat-body { left: 16%; top: 30%; width: 68%; height: 42%; }
.chef-hat .hat-band { left: 16%; top: 70%; width: 68%; height: 22%; border-radius: 2px; background: var(--sand); box-shadow: inset 0 -2px 0 var(--gold); }

/* Reduced motion: the final state straight away, and no hats. */
.confirm-card.is-static .confirm-title { clip-path: none; animation: none; }
.confirm-card.is-static .confirm-sub,
.confirm-card.is-static .confirm-foot { opacity: 1; animation: none; }
.confirm-card.is-static .tk-print { transform: none; animation: none; }
.confirm-card.is-static .tk-stamp { opacity: 1; transform: rotate(-14deg); animation: none; }

@media (max-width: 520px) {
  .confirm-card { padding: 36px 20px 28px; }
  .confirm-title { font-size: 58px; }
  .tk-wrap { width: 100%; }
}
/* The narrowest phones: a smaller stamp so it still fits between the code
   and the guest count. */
@media (max-width: 359px) {
  .tk-top, .tk-stub { padding-left: 16px; padding-right: 16px; }
  .tk-code .tk-value { font-size: 19px; letter-spacing: .12em; }
  .tk-stamp { width: 66px; height: 66px; margin-left: -33px; bottom: 42px; outline-offset: -7px; }
  .tk-stamp-k { font-size: 9px; }
  .tk-stamp-t { font-size: 10px; }
}

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 110; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px);
  background: var(--cream); color: var(--ink); border-left: 4px solid var(--wine);
  padding: 16px 22px; border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
  font: 400 15px/1.5 var(--f-body);
}

/* ==========================================================================
   Scroll reveal (only when JS is running and motion is welcome)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  :root { --header-h: 88px; }
  .site-nav { display: none; }
  .logo--header { height: 72px; }
  .header-actions { gap: 14px; }
}
@media (max-width: 767px) {
  .hero-arch { height: clamp(440px, 70vh, 600px); }
  .spin-badge { width: 104px; height: 104px; left: -8px; }
  .spin-badge span { font-size: 28px; }
  .next-card { right: 8px; bottom: 20px; }
  .hero-meta dd { font-size: 15px; }
  .carta-preview { position: static; }
  .vote-intro { position: static; }
  .faq-item p { padding-right: 0; }
  .ballot-side { margin-left: 0; width: 100%; justify-content: space-between; }
}
@media (max-width: 520px) {
  .paymode { padding-top: 12px; gap: 6px; }
  .pay-note { font-size: 12.5px; }
  .pay-note.is-deposit { font-size: 14.5px; padding: 8px 12px; }
  .drawer-total { padding-block: 10px 14px; gap: 10px 16px; }
  .total-amount { font-size: 30px; }
  .drawer-total .btn { padding: 16px 26px; }
}
@media (max-width: 420px) {
  .header-actions .btn-outline { padding: 10px 16px; letter-spacing: .14em; }
}
@media (hover: none) {
  .chef-photo img { filter: grayscale(.2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .spin-badge svg, .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
