/* ═══════════════════════════════════════════════════════
   BRASA · Fuego lento, corte perfecto
   Parrilla · Chacras de Coria · Mendoza
   ═══════════════════════════════════════════════════════ */

:root {
  --black:      #0b0806;
  --coal:       #141009;
  --coal-2:     #1c1610;
  --ember:      #e25822;
  --ember-hot:  #ff7a3d;
  --ember-deep: #9c3511;
  --cream:      #f3e9d8;
  --cream-dim:  #c9b99f;
  --smoke:      #7a6c5a;
  --line:       rgba(243, 233, 216, 0.14);

  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Layout helpers ─────────────────────────────────── */

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, 90vw);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.25rem;
}

.eyebrow--light { color: var(--ember-hot); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

/* ── Buttons ────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 0.35s var(--ease-out),
              color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
}

.btn--ember {
  background: var(--ember);
  color: #180a04;
  box-shadow: 0 0 0 rgba(226, 88, 34, 0);
}

.btn--ember:hover,
.btn--ember:focus-visible {
  background: var(--ember-hot);
  box-shadow: 0 8px 42px rgba(226, 88, 34, 0.45);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--cream);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--ember);
  color: var(--ember-hot);
}

/* ── Nav ────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background-color 0.4s ease, box-shadow 0.4s ease,
              padding 0.4s ease;
}

.nav.is-scrolled {
  background: rgba(11, 8, 6, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.8rem;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.nav__brand:hover { color: var(--ember-hot); }

.nav__links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.nav__links a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-block: 0.35rem;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember-hot);
  border: 1px solid rgba(226, 88, 34, 0.5);
  border-radius: 2px;
  padding: 0.55rem 1.3rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav__cta:hover {
  background: var(--ember);
  color: #180a04;
}

/* ── Hero ───────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(226, 88, 34, 0.14), transparent 55%),
    linear-gradient(180deg,
      rgba(11, 8, 6, 0.72) 0%,
      rgba(11, 8, 6, 0.42) 45%,
      rgba(11, 8, 6, 0.9) 100%);
}

.hero__content {
  text-align: center;
  padding: 7rem 1.25rem 5rem;
}

.hero__kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(4.5rem, 17vw, 13rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-shadow: 0 0 90px rgba(226, 88, 34, 0.35);
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--cream-dim);
  margin: 1.4rem 0 2.6rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}

.hero__scroll span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--ember);
  animation: scroll-drip 2.2s ease-in-out infinite;
}

@keyframes scroll-drip {
  0%   { top: -40%; }
  100% { top: 110%; }
}

/* ── Manifiesto ─────────────────────────────────────── */

.manifesto {
  padding: clamp(6rem, 12vw, 10rem) 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(226, 88, 34, 0.06), transparent),
    var(--black);
  text-align: center;
}

.manifesto__text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 2.2rem;
}

.manifesto__body {
  color: var(--cream-dim);
  max-width: 56ch;
  margin-inline: auto;
}

.manifesto__rule {
  width: 64px;
  height: 2px;
  background: var(--ember);
  margin: 3rem auto 0;
}

/* ── La Carta ───────────────────────────────────────── */

.carta {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background: var(--coal);
}

.carta__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.carta__media {
  position: sticky;
  top: 6.5rem;
}

.parallax-frame {
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 4 / 5;
  background: var(--coal-2);
}

.parallax-frame--tall {
  aspect-ratio: 3 / 4.6;
}

.parallax-img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}

.carta__caption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
}

.carta__intro {
  color: var(--cream-dim);
  margin-bottom: 2.6rem;
  max-width: 48ch;
}

.menu-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.menu-item {
  padding: 1.5rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.menu-item__row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.menu-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  color: var(--cream);
  white-space: nowrap;
}

.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(243, 233, 216, 0.28);
  transform: translateY(-4px);
}

.menu-item__price {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ember-hot);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-item p {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: var(--smoke);
}

.carta__accent {
  margin-top: 2.6rem;
  overflow: hidden;
  border-radius: 3px;
}

.carta__accent img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.carta__accent:hover img { transform: scale(1.04); }

.carta__note {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--smoke);
  font-style: italic;
}

/* ── El Fuego ───────────────────────────────────────── */

.fuego {
  background:
    linear-gradient(180deg, var(--coal) 0%, var(--black) 18%),
    var(--black);
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.fuego__grid {
  width: min(1160px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.fuego__copy p {
  color: var(--cream-dim);
  max-width: 54ch;
}

.fuego__copy p + p { margin-top: 1.2rem; }

.fuego__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.fuego__stats dt {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fuego__stats dd {
  font-size: 0.85rem;
  color: var(--smoke);
  line-height: 1.45;
}

/* ── Banda ribeye ───────────────────────────────────── */

.band {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.band__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(11, 8, 6, 0.92) 0%,
      rgba(11, 8, 6, 0.45) 50%,
      rgba(11, 8, 6, 0.92) 100%);
}

.band__quote {
  text-align: center;
  padding: 6rem 1.5rem;
}

.band__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 4.2vw, 3rem);
  line-height: 1.3;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
}

.band__quote cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember-hot);
}

/* ── El Salón ───────────────────────────────────────── */

.salon {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background: var(--coal);
}

.salon__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.salon__copy p {
  color: var(--cream-dim);
  max-width: 50ch;
}

.salon__info {
  list-style: none;
  margin: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.salon__info li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--cream-dim);
}

.salon__info strong {
  color: var(--cream);
  font-weight: 600;
}

.salon__media .parallax-frame {
  aspect-ratio: 4 / 3.4;
}

/* ── Reservas ───────────────────────────────────────── */

.reserva {
  position: relative;
  padding: clamp(7rem, 14vw, 11rem) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.reserva__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  background: url("assets/brasas.jpg") center / cover no-repeat;
  will-change: transform;
}

.reserva__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(226, 88, 34, 0.18), transparent),
    rgba(11, 8, 6, 0.82);
}

.reserva__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.4rem;
}

.reserva__body {
  color: var(--cream-dim);
  max-width: 52ch;
  margin: 0 auto 2.8rem;
}

.reserva__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Footer ─────────────────────────────────────────── */

.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer__logo {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.footer__brand p:last-child {
  font-family: var(--serif);
  font-style: italic;
  color: var(--smoke);
}

.footer__col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}

.footer__col p,
.footer__col address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cream-dim);
}

.footer__col a {
  transition: color 0.3s ease;
}

.footer__col a:hover { color: var(--ember-hot); }

.footer__legal {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer__legal p {
  font-size: 0.8rem;
  color: var(--smoke);
}

/* ── Reveals ────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 900px) {
  .carta__grid,
  .fuego__grid,
  .salon__grid {
    grid-template-columns: 1fr;
  }

  .carta__media { position: static; }

  .parallax-frame { aspect-ratio: 4 / 3; }

  .parallax-frame--tall {
    aspect-ratio: 3 / 3.6;
    max-height: 70vh;
  }

  .salon__grid { display: flex; flex-direction: column-reverse; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }

  .hero__content { padding-top: 5rem; }

  .fuego__stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .menu-item h3 { white-space: normal; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .reserva__actions .btn { width: 100%; }
}

/* ── Reduced motion ─────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .parallax-img {
    height: 100%;
    transform: none !important;
  }

  .reserva__bg {
    inset: 0;
    transform: none !important;
  }

  .hero__scroll { display: none; }
}
