/* ============================================================
   LA PARRILLA DEL URUGUAY — HOME PAGE STYLES
   Editorial premium redesign (Claude Design handoff)
   Tokens (--paper, --ink, --gold, --noir, …) live in style.css
   ============================================================ */

/* ── Shared editorial helpers ─────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.eyebrow.on-dark { color: var(--gold); }

.h-sect {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  line-height: 1.85;
  font-weight: 300;
  max-width: 60ch;
}
em.it {
  font-style: italic;
  color: var(--gold-deep);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero { text-align: center; }
.hero .hero-overlay {
  background:
    radial-gradient(120% 90% at 50% 30%, transparent 40%, oklch(0.135 0.004 60 / .55) 100%),
    linear-gradient(180deg, oklch(0.135 0.004 60 / .5) 0%, oklch(0.135 0.004 60 / .2) 38%, oklch(0.135 0.004 60 / .72) 100%);
}
.hero-content { max-width: 60rem; }
.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.hero .hero-title {
  font-size: var(--fs-hero);
  margin: 0.6rem 0 1.4rem;
}
.hero .hero-title .ln { display: block; }
.hero .hero-title em { font-style: italic; color: var(--gold); }
.hero .hero-subtitle {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--on-noir-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 42ch;
  margin: 0 auto 2.6rem;
  line-height: 1.8;
}
.hero .hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Hero buttons readable on dark */
.hero .btn-outline {
  border-color: var(--gold-soft);
  color: var(--on-noir);
}
.hero .btn-outline:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--noir);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--on-noir-soft);
}
.scroll-cue .ln {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .ln::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: var(--gold);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { top: -50%; } 60%, 100% { top: 120%; } }

/* ── STORY / HISTÓRIA ─────────────────────────────────────── */
.story { padding-block: clamp(5rem, 11vw, 11rem); }
.story .story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.story .copy .eyebrow { margin-bottom: 1.6rem; }
.story h2 { margin-bottom: 1.8rem; }
.story p + p { margin-top: 1.2rem; }
.story .sign { margin-top: 2.4rem; display: flex; align-items: center; gap: 1.4rem; }

.tlink {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  position: relative;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink .arw { transition: transform 0.5s var(--ease); color: var(--gold-deep); }
.tlink:hover .arw { transform: translateX(6px); }

.story .figs { position: relative; }
.story .figs .fig-main {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
}
.story .figs .fig-inset {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  right: -7%;
  bottom: -9%;
  object-fit: cover;
  border: 10px solid var(--paper);
}

.stat-row {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.4rem);
  margin-top: 3rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--hair);
}
.stat .n {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
}
.stat .n em { font-style: italic; color: var(--gold-deep); }
.stat .l {
  font-family: var(--font-body);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.5rem;
  max-width: 16ch;
}

/* ── MENU / CARDÁPIO ──────────────────────────────────────── */
.menu-highlights {
  padding-block: clamp(5rem, 11vw, 11rem);
  background: var(--paper-2);
}
.menu-highlights .head {
  text-align: center;
  max-width: 54rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.menu-highlights .head .eyebrow { margin-bottom: 1.4rem; }
.menu-highlights .head .lede { margin: 1.4rem auto 0; text-align: center; }

.menu-highlights .menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
  margin-top: 0;
}

/* Dish cards (also styles the JS-injected .menu-card markup) */
.menu-highlights .menu-card,
.dish {
  background: var(--paper);
  border: 1px solid var(--hair-soft);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  position: relative;
  overflow: hidden;
}
.menu-highlights .menu-card:hover,
.dish:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px oklch(0.20 0.006 60 / .22);
}
.menu-highlights .card-img-wrapper { aspect-ratio: 5/4; }
.menu-highlights .card-img-wrapper .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-highlights .card-body { padding: 1.7rem 1.8rem 2rem; }
.menu-highlights .card-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0 0 0.6rem;
}
.menu-highlights .card-title.text-gold { color: var(--ink); }
.menu-highlights .card-text {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}
.menu-highlights .card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--noir);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  padding: 6px 12px;
  z-index: 2;
}
.menu-highlights .foot { text-align: center; margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ── PHILOSOPHY (dark) ────────────────────────────────────── */
.philo {
  background: var(--noir);
  color: var(--on-noir);
  padding-block: clamp(6rem, 12vw, 12rem);
  position: relative;
  overflow: hidden;
}
.philo .philo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.philo .inner {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}
.philo .eyebrow { color: var(--gold); justify-content: center; }
.philo .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.philo blockquote {
  margin: 2rem 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--on-noir);
}
.philo blockquote em { font-style: italic; color: var(--gold); }
.philo .by {
  margin-top: 2.4rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-noir-soft);
}

/* ── AMBIENTE (full-bleed) ────────────────────────────────── */
.ambiente {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--on-noir);
  overflow: hidden;
}
.ambiente .amb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ambiente .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, oklch(0.135 0.004 60 / .82) 0%, oklch(0.135 0.004 60 / .5) 45%, oklch(0.135 0.004 60 / .15) 100%);
}
.ambiente .box { position: relative; z-index: 2; max-width: 40rem; }
.ambiente .eyebrow { color: var(--gold); margin-bottom: 1.5rem; }
.ambiente h2 { margin-bottom: 1.6rem; color: var(--on-noir); }
.ambiente p {
  color: var(--on-noir-soft);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 2.2rem;
}
.ambiente .btn-outline {
  border-color: var(--gold-soft);
  color: var(--on-noir);
}
.ambiente .btn-outline:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--noir);
}

/* ── NEWSLETTER (dark band) ───────────────────────────────── */
.news {
  position: relative;
  padding-block: clamp(5rem, 10vw, 9rem);
  color: var(--on-noir);
  overflow: hidden;
  text-align: center;
}
.news .news-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.news .news-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(oklch(0.135 0.004 60 / .86), oklch(0.135 0.004 60 / .92));
}
.news .news-inner { position: relative; z-index: 2; max-width: 46rem; }
.news .eyebrow { margin-bottom: 1.4rem; }
.news h2 { color: var(--on-noir); margin-bottom: 1.2rem; }
.news > .news-inner > p {
  color: var(--on-noir-soft);
  max-width: 40ch;
  margin: 0 auto 2.4rem;
  line-height: 1.85;
}
.news-form { display: block; max-width: 32rem; margin: 0 auto; }
.news-row { display: flex; gap: 0.8rem; }
.news-row .form-control {
  flex: 1;
  padding: 0.95rem 1.1rem;
  background: oklch(0.94 0.006 90 / 0.08);
  border: 1px solid oklch(0.94 0.006 90 / 0.22);
  color: var(--on-noir);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 0;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.news-row .form-control::placeholder { color: var(--on-noir-soft); }
.news-row .form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: oklch(0.94 0.006 90 / 0.12);
}
.news-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--on-noir-soft);
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: left;
}
.news-consent input { margin-top: 0.25rem; accent-color: var(--gold-deep); flex: none; }

@media (max-width: 560px) {
  .news-row { flex-direction: column; }
}

/* ── LOCATION / CONTATO ───────────────────────────────────── */
.location-section { padding-block: clamp(5rem, 11vw, 11rem); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}
.location-info .eyebrow { margin-bottom: 1.5rem; }
.location-info .section-title { margin-bottom: 2.2rem; }

.cblock { padding: 1.5rem 0; border-top: 1px solid var(--hair); }
.cblock:last-of-type { border-bottom: 1px solid var(--hair); }
.cblock .k {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.cblock .v {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}
.cblock .v small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
}
.location-map {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--hair);
  overflow: hidden;
}
.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

/* ── Reveal helper (works with main.js IntersectionObserver) ── */
.animate-on-scroll[data-d="1"].visible { transition-delay: 0.08s; }
.animate-on-scroll[data-d="2"].visible { transition-delay: 0.16s; }
.animate-on-scroll[data-d="3"].visible { transition-delay: 0.24s; }
.animate-on-scroll[data-d="4"].visible { transition-delay: 0.32s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .story .story-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .menu-highlights .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story .figs { max-width: 30rem; margin-inline: auto; }
  .ambiente { min-height: 70vh; }
  .location-map { min-height: 320px; }
}
@media (max-width: 720px) {
  .menu-highlights .menu-grid { grid-template-columns: 1fr; }
  .stat-row { flex-wrap: wrap; gap: 1.6rem 2.4rem; }
}
