/* =========================================================
   Little Garden Brunch — styles
   Design system locked in DESIGN.md
   Palette: natural green (primary) + rose pink (secondary)
   Type: Cormorant Garamond (display) + Outfit (body)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:          oklch(0.985 0.010 25);
  --surface:     #ffffff;
  --sage:        oklch(0.955 0.022 150);
  --blush:       oklch(0.957 0.020 18);

  --ink:         oklch(0.255 0.020 150);
  --ink-soft:    oklch(0.435 0.018 150);

  --green:       oklch(0.46 0.10 150);   /* button fill — white text passes AA */
  --green-ink:   oklch(0.34 0.075 150);  /* green text on light */
  --green-deep:  oklch(0.27 0.05 152);   /* footer, deep hovers */

  --rose:        oklch(0.72 0.13 16);    /* decorative blooms/petals */
  --rose-soft:   oklch(0.86 0.07 18);
  --rose-ink:    oklch(0.52 0.15 16);    /* rose text on light — passes AA */

  --line:        oklch(0.905 0.012 150);
  --shadow:      0 18px 44px -26px oklch(0.40 0.06 150 / 0.55);
  --shadow-sm:   0 8px 22px -16px oklch(0.40 0.06 150 / 0.5);

  --r-card: 18px;
  --r-input: 12px;
  --shell: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html {
  scrollbar-width: thin;
  scrollbar-color: var(--rose-soft) var(--bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--bg);
}

html::-webkit-scrollbar-thumb {
  background: var(--rose-soft);
  border-radius: 999px;
  border: 2px solid var(--bg);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--rose);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--green-ink); text-decoration: none; }
a:hover { color: var(--green-deep); }
ul { list-style: none; padding: 0; }

::selection { background: var(--rose-soft); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--green-deep);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.shell { width: min(var(--shell), 100% - 3rem); margin-inline: auto; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--rose-ink); font-weight: 500; }

h1.display { font-size: clamp(2.7rem, 6vw, 4.6rem); }
h2.display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-family: var(--font-body); }

.center { text-align: center; }

.kicker {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--rose);
  display: inline-block;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.section-intro { max-width: 54ch; margin-top: 0.8rem; color: var(--ink-soft); }
.center + .quotes { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-ico { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.btn:hover .btn-ico { transform: translateX(3px); }

.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn-ghost:hover { background: var(--sage); color: var(--green-deep); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.985); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.9rem; }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { position: relative; width: 34px; height: 34px; flex: none; }
.brand-mark .bloom { width: 100%; height: 100%; color: var(--rose); }
.brand-mark .bloom-c { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--green); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 0.95;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin-top: 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header[data-scrolled] {
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header[data-scrolled] .nav-inner { height: 64px; }
.nav-inner, .site-header[data-scrolled] .nav-inner { transition: height 0.3s var(--ease); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav > a { color: var(--ink); font-weight: 400; font-size: 1rem; position: relative; }
.nav > a.nav-cta { color: #fff; }
.nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--rose);
  transition: width 0.3s var(--ease);
}
.nav > a:not(.nav-cta):hover { color: var(--green-deep); }
.nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 0.7rem 1.25rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 46px;
  padding: 0;
  border: 1px solid color-mix(in oklch, var(--ink) 14%, var(--surface));
  border-radius: 50%;
  background: color-mix(in oklch, var(--surface) 94%, transparent);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ink);
  box-shadow: 0 10px 24px -18px oklch(0.28 0.03 170 / 0.5);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-close { display: none; }
.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--ink) 24%, var(--rose));
  box-shadow: 0 16px 28px -20px oklch(0.28 0.03 170 / 0.62);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 36rem; }
.hero h1 { margin: 0.2rem 0 1.4rem; }
.hero h1 em { white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-media { position: relative; }
.hero-media .media { aspect-ratio: 5 / 6; border-radius: 26px 26px 140px 140px / 26px 26px 60px 60px; }
.media-bloom {
  position: absolute; top: -22px; right: -10px;
  width: 84px; height: 84px; color: var(--rose);
  filter: drop-shadow(0 8px 14px oklch(0.6 0.13 16 / 0.35));
  animation: sway 7s ease-in-out infinite;
}
.media-bloom svg { width: 100%; height: 100%; }
.media-tag {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: color-mix(in oklch, var(--surface) 90%, transparent);
  backdrop-filter: blur(6px);
  color: var(--green-deep);
  font-size: 0.82rem; font-weight: 500;
  padding: 0.5rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* decorative vines */
.vine { position: absolute; color: var(--green); opacity: 0.5; pointer-events: none; z-index: 0; }
.vine svg { width: 100%; height: 100%; }
.vine-tl { top: -10px; left: -14px; width: 70px; height: 105px; transform: rotate(-18deg); }
.vine-br { bottom: 8%; right: -10px; width: 80px; height: 120px; transform: rotate(168deg); opacity: 0.45; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--sage);
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--green-ink);
}
.marquee-track .dot { color: var(--rose); font-style: normal; font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; scroll-margin-top: 84px; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.nosotros { background: var(--surface); }
.especial { background: var(--sage); }
.testimonios { background: var(--blush); }
.reserva { background: var(--sage); overflow: hidden; }

/* ---------- Media tint (placeholder photos -> brand mood) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--sage);
  box-shadow: var(--shadow);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-tint img { filter: saturate(0.82) contrast(1.04) brightness(1.02); }
.media-tint::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg,
    color-mix(in oklch, var(--green) 38%, transparent),
    color-mix(in oklch, var(--green-deep) 30%, transparent));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.media-tint-rose::after {
  background: linear-gradient(150deg,
    color-mix(in oklch, var(--rose) 38%, transparent),
    color-mix(in oklch, var(--green) 22%, transparent));
}

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media .media { aspect-ratio: 4 / 5; border-radius: 140px 140px 26px 26px / 70px 70px 26px 26px; }
.about-copy h2 { margin-bottom: 1.2rem; }
.about-copy p { margin-bottom: 1rem; max-width: 52ch; }
.about-points { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; margin-top: 1.6rem; }
.about-points li { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--ink); }
.leaf { width: 1.15em; height: 1.15em; color: var(--green); flex: none; }

/* ---------- Carta / menu ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.menu-cat {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--green-ink);
  display: flex; align-items: center; gap: 0.55rem;
  margin: 2.2rem 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid var(--line);
}
.menu-col > .menu-cat:first-child { margin-top: 0; }
.menu-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  column-gap: 0.6rem;
  padding: 0.7rem 0;
}
.m-name { font-weight: 500; color: var(--ink); }
.m-dot { border-bottom: 1.5px dotted var(--line); transform: translateY(-3px); min-width: 1.5rem; }
.m-price { font-weight: 600; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.m-desc { grid-column: 1 / 3; font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.1rem; }
.menu-note {
  margin-top: 2.5rem; text-align: center;
  font-style: italic; font-family: var(--font-display); font-size: 1.2rem;
  color: var(--ink-soft);
}

/* ---------- Especialidades (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.1rem;
}
.dish { position: relative; margin: 0; }
.dish .media { height: 100%; border-radius: var(--r-card); }
.dish-lead { grid-column: span 2; grid-row: span 2; }
.dish:not(.dish-lead):not(.dish-wide) { grid-column: span 1; }
.dish-wide { grid-column: span 2; }
.dish figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  backdrop-filter: blur(6px);
  padding: 0.55rem 0.9rem; border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.dish-name { font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.dish-price { font-weight: 600; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.dish .media img { transition: transform 0.8s var(--ease); }
.dish:hover .media img { transform: scale(1.05); }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.quote {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 2.4rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.q-mark { position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; color: var(--rose); }
.q-mark svg { width: 100%; height: 100%; }
.quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.quote cite { font-style: normal; font-weight: 600; color: var(--green-ink); display: flex; flex-direction: column; }
.quote cite span { font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery .media { height: 100%; }
.gallery .media:nth-child(1) { grid-row: span 2; }
.gallery .media:nth-child(5) { grid-row: span 2; }
.gallery .media img { transition: transform 0.8s var(--ease); }
.gallery .media:hover img { transform: scale(1.06); }

/* ---------- Visítanos ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.visit-info h2 { margin-bottom: 1.8rem; }
.hours { border-top: 1.5px solid var(--line); margin-bottom: 1.8rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1.5px solid var(--line); }
.hours dt { font-weight: 500; color: var(--ink); }
.hours dd { color: var(--green-ink); font-weight: 600; }
.hours .hours-note dd { font-weight: 400; color: var(--ink-soft); font-style: italic; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; padding: 0.45rem 0; color: var(--ink); }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--green-deep); }
.ci { width: 1.25em; height: 1.25em; color: var(--green); flex: none; }

.visit-map { height: 100%; }
.map-placeholder {
  height: 100%; min-height: 320px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklch, var(--rose-soft) 60%, transparent), transparent 55%),
    var(--sage);
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.map-pin { width: 46px; height: 46px; color: var(--green); }
.map-pin svg { width: 100%; height: 100%; }
.map-placeholder p { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }

/* ---------- Reserva ---------- */
.reserva-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; position: relative; z-index: 1; }
.reserva-intro { position: sticky; top: 100px; }
.reserva-intro h2 { margin-bottom: 1.1rem; }
.reserva-intro p { margin-bottom: 1rem; max-width: 40ch; }
.reserva-call { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--ink); }
.reserva-call a { font-weight: 600; }

.reserva-form {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.reserva-form label { font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.reserva-form input,
.reserva-form select,
.reserva-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.reserva-form textarea { resize: vertical; }
.reserva-form input::placeholder,
.reserva-form textarea::placeholder { color: var(--ink-soft); opacity: 0.85; }
.reserva-form input:focus,
.reserva-form select:focus,
.reserva-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--green) 22%, transparent);
}
.field-error { font-size: 0.82rem; color: var(--rose-ink); min-height: 0; }
.field.invalid input,
.field.invalid select { border-color: var(--rose-ink); }
.form-status { font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: var(--green-ink); }
.form-status.err { color: var(--rose-ink); }
.reserva-form .btn { margin-top: 0.4rem; }

/* Confirmation card (used inside .form-status) */
.form-status { display: flex; align-items: center; justify-content: center; min-height: 4.2rem; }
.status-card {
  display: flex; gap: 1rem; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-sm);
  max-width: 42rem;
  width: 100%;
  animation: cardIn 420ms cubic-bezier(.2,.9,.2,1) both;
}
.status-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transform: scale(0.92);
  animation: pop 520ms cubic-bezier(.2,.9,.2,1) 80ms both;
}
.status-body h3 { margin: 0; font-size: 1rem; color: var(--ink); font-weight: 700; }
.status-body p { margin: 0.2rem 0 0; font-size: 0.95rem; color: var(--ink-soft); }

@keyframes pop {
  0% { transform: scale(0.2); opacity: 0 }
  60% { transform: scale(1.08); opacity: 1 }
  100% { transform: scale(1); }
}
@keyframes cardIn {
  0% { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: oklch(0.92 0.02 150);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
}
.site-footer .footer-brand {
  padding-block: 0.5rem 1rem;
}
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: var(--rose-soft); }
.brand-footer .bloom-c { color: oklch(0.8 0.08 150); }
.footer-brand p { margin-top: 1.35rem; max-width: 34ch; color: oklch(0.86 0.02 150); }
.footer-col h3 { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.4rem; color: #fff; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; color: oklch(0.88 0.02 150); padding: 0.18rem 0; }
.footer-col a:hover { color: #fff; }
.footer-ig { display: inline-flex !important; align-items: center; gap: 0.5rem; margin-top: 1.2rem; color: var(--rose-soft); }
.footer-ig:hover { color: #fff; }
.footer-ig .ci { color: currentColor; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  padding-block: 1.6rem;
  border-top: 1px solid oklch(0.4 0.05 152);
  font-size: 0.86rem;
  color: oklch(0.82 0.02 150);
}

/* ---------- Reveal (visible by default; only animates with JS) ---------- */
body.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
body.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Decorative motion ---------- */
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }

@media (prefers-reduced-motion: reduce) {
  body.js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .media-bloom { animation: none; }
  .btn, .dish .media img, .gallery .media img { transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; }
  .hero-copy { max-width: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .visit-grid { grid-template-columns: 1fr; }
  .reserva-grid { grid-template-columns: 1fr; }
  .reserva-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* mobile nav */
  .nav {
    position: fixed;
    inset: 0;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    background: color-mix(in oklch, var(--green-deep) 94%, #000 6%);
    backdrop-filter: blur(16px);
    padding: 7rem 1.8rem 2rem;
    box-shadow: none;
    transform: translateY(-15px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s ease;
    z-index: 110;
  }
  body.nav-open .nav {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }
  .nav > a { width: auto; padding: 0; font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose-soft); border-bottom: none; }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    margin-top: 1.2rem;
    justify-content: center;
    color: var(--rose-soft);
    background: transparent;
    border: none;
    box-shadow: none;
    font-weight: 700 !important;
    padding-inline: 0;
  }
  .nav-toggle { display: inline-flex; z-index: 95; }
  body.nav-open .nav-toggle {
    background: color-mix(in oklch, var(--surface) 88%, var(--rose) 12%);
    border-color: color-mix(in oklch, var(--rose) 45%, var(--line));
    box-shadow: 0 20px 36px -24px oklch(0.28 0.03 170 / 0.7);
  }
  body.nav-open .nav-toggle-bars span:first-child { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-bars span:last-child { transform: translateY(-6px) rotate(-45deg); }

  .nav-close {
    position: fixed;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--rose-soft);
    cursor: pointer;
    z-index: 2;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  }
  .nav-close:hover { transform: translateY(-1px) scale(1.04); }
  .nav-close span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.7rem;
    line-height: 1;
    font-weight: 300;
    color: var(--rose-soft);
    transform: translateY(0);
  }

  .nav-floral {
    position: absolute;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.88);
    z-index: 0;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
  }
  .nav-floral svg { width: 100%; height: 100%; }
  .nav-floral-top {
    top: 1.1rem;
    left: 0.35rem;
    width: 122px;
    height: 122px;
    opacity: 0.92;
    transform: scaleY(-1) rotate(-10deg);
  }
  .nav-floral-top-right {
    top: 0.9rem;
    right: 3rem;
    width: 86px;
    height: 86px;
    opacity: 0.9;
    transform: scaleY(-1) rotate(12deg);
  }
  .nav-floral-mid {
    top: 48%;
    right: 0.25rem;
    width: 78px;
    height: 112px;
    opacity: 0.52;
    transform: rotate(20deg);
  }
  .nav-floral-bottom {
    left: -6px;
    bottom: 1.5rem;
    width: 88px;
    height: 132px;
    opacity: 0.72;
    transform: rotate(-14deg);
  }
  .nav > a,
  .nav-cta {
    position: relative;
    z-index: 1;
  }
  .nav-close { z-index: 3; }

  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .dish-lead,
  .dish-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .dish .media {
    aspect-ratio: 4 / 3;
  }
  .dish figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 0.5rem 0.75rem;
  }
  .dish-name { font-size: 0.88rem; }
  .dish-price { font-size: 0.92rem; }
  .quotes { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .vine { display: none; }
}

@media (max-width: 420px) {
  .shell { width: 100% - 2rem; width: calc(100% - 2rem); }
  .bento { grid-template-columns: 1fr; }
  .dish-lead, .dish-wide { grid-column: span 1; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* nav body lock helper */
body.nav-open { overflow: hidden; }
@media (min-width: 761px) { body.nav-open { overflow: visible; } }

/* Inline reserva wizard styles (wizard lives inside the reserva form) */
.reserva-form .wizard-step[hidden] { display: none; }
.reserva-form .wizard-actions { display: flex; gap: 0.6rem; margin-top: 1rem; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 0.8rem; }
.reserva-form .wizard-summary { margin-top: 0.8rem; font-size: 0.95rem; color: var(--ink-soft); }
.reserva-form .wizard-actions [data-wizard-submit] { display: none; }
.reserva-form .wizard-actions.show-submit [data-wizard-submit] { display: inline-flex; }
.reserva-form .wizard-actions.show-submit [data-wizard-next] { display: none; }

/* Guest stepper (plus/minus) */
.guest-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.guest-stepper .stepper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.guest-stepper input[id="r-guests"] {
  width: 68px;
  text-align: center;
  font-weight: 600;
}

/* nav backdrop (covers the page when the mobile nav is open) */
#nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
  z-index: 105;
  pointer-events: none;
}
body.nav-open #nav-backdrop { opacity: 1; pointer-events: auto; }
