:root {
  --olive: #2f3f25;
  --olive-soft: #52633d;
  --gold: #b88935;
  --gold-soft: #d2ad68;
  --paper: #f8f2e7;
  --paper-2: #fffaf0;
  --ink: #26301f;
  --muted: #756b5c;
  --line: rgba(184, 137, 53, .35);
  --shadow: 0 22px 70px rgba(34, 31, 22, .16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(184, 137, 53, .09), transparent 30%),
    radial-gradient(circle at 80% 40%, rgba(47, 63, 37, .08), transparent 28%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 14px;
  z-index: 999;
  background: var(--olive);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, .91);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(44, 37, 23, .11);
  padding: 9px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 140px;
  padding: 4px 10px;
  border-radius: 18px;
  background: rgba(255, 250, 240, .86);
  box-shadow: 0 12px 40px rgba(40, 34, 21, .12);
}

.brand img {
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 14px;
  color: #fffdf7;
  background: rgba(35, 45, 28, .54);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .main-nav {
  color: var(--olive);
  background: rgba(255, 250, 240, .82);
  border-color: var(--line);
}

.main-nav a {
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .02em;
  transition: color .2s ease, background .2s ease;
}

.main-nav a:hover {
  color: var(--gold-soft);
}

.site-header.is-scrolled .main-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  color: var(--olive) !important;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 8px 14px;
}

.site-header.is-scrolled .nav-cta {
  background: var(--olive);
  color: white !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 240, .88);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--olive);
}

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

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url('../img/santo-antonio-hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 31, 19, .78), rgba(22, 31, 19, .35), rgba(248, 242, 231, .08)),
    linear-gradient(0deg, rgba(22, 31, 19, .56), rgba(22, 31, 19, .05) 45%, rgba(22, 31, 19, .42));
}

.hero-content {
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: #fffaf0;
  padding: 165px 0 100px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.hero .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 18px;
  color: #f2d088;
}

.hero-logo {
  width: min(100%, 330px);
  margin: 0;
  padding: 10px 22px;
  border-radius: 24px;
  background: rgba(255, 250, 240, .9);
  box-shadow: var(--shadow);
}

.hero h1,
.hero .hero-text,
.hero .hero-actions {
  grid-column: 2;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: -.06em;
}

h2 {
  color: var(--olive);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: -.045em;
}

h3 {
  color: var(--olive);
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: rgba(255, 250, 240, .9);
}

.hero-actions,
.menu-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(42, 37, 24, .2);
}

.btn-primary {
  color: white;
  background: var(--olive);
  border-color: var(--olive);
}

.btn-secondary {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, .55);
  background: rgba(255, 250, 240, .13);
  backdrop-filter: blur(10px);
}

.intro-strip {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  padding-bottom: 60px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strip-card,
.concept-card,
.dish-card,
.wine-card,
.address-card,
.reservation-panel,
.about-card,
.story-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(248,242,231,.92)),
    radial-gradient(circle at top left, rgba(184,137,53,.12), transparent 36%);
  box-shadow: var(--shadow);
}

.strip-card {
  min-height: 178px;
  padding: 28px;
  border-radius: var(--radius);
}

.strip-card span,
.dish-meta,
.wine-card span,
.region,
.translation,
.small-note,
.dish-note {
  color: var(--muted);
  font-size: .84rem;
}

.strip-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 900;
}

.strip-card strong {
  display: block;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.strip-card p,
.concept-card p,
.dish-card p,
.wine-card p,
.address-card p,
.about-copy p,
.story-panel p,
.reservation-panel p,
.site-footer p {
  margin: 12px 0 0;
}

.section {
  padding: 95px 0;
}

.about-grid,
.location-grid,
.wine-layout,
.address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.about-copy p,
.story-panel p,
.section-heading p,
.wine-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.signature-line,
.ornament {
  width: 160px;
  height: 1px;
  margin: 28px 0 18px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.signature-line::after,
.ornament::after {
  content: "✦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  background: var(--paper);
  padding: 0 8px;
}

.about-card {
  position: relative;
  padding: 28px;
  border-radius: 34px;
  overflow: hidden;
}

.about-card::before,
.menu-section::before,
.wine-section::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background:
    linear-gradient(45deg, transparent 42%, rgba(184,137,53,.16) 43%, rgba(184,137,53,.16) 44%, transparent 45%),
    linear-gradient(-45deg, transparent 42%, rgba(47,63,37,.10) 43%, rgba(47,63,37,.10) 44%, transparent 45%);
  opacity: .35;
}

.about-card::before {
  inset: 10px;
  border: 1px solid rgba(184, 137, 53, .22);
  border-radius: 28px;
}

.about-card img {
  width: min(360px, 100%);
  margin: 0 auto 18px;
  border-radius: 20px;
}

.photo-stack {
  position: relative;
  min-height: 590px;
}

.photo-stack img,
.address-photo img,
.gallery-item img,
.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  position: absolute;
  inset: 0 auto auto 0;
  width: 78%;
  height: 520px;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.photo-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 330px;
  border: 10px solid var(--paper-2);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.story-panel {
  padding: clamp(28px, 4vw, 50px);
  border-radius: 34px;
}

.story-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--olive);
  font-weight: 900;
  border-bottom: 1px solid var(--gold);
}

.concept {
  background: rgba(47, 63, 37, .05);
  border-block: 1px solid rgba(184, 137, 53, .18);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.concept-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
}

.menu-section,
.wine-section {
  position: relative;
  overflow: hidden;
}

.menu-section::before {
  right: -130px;
  top: 150px;
  width: 420px;
  height: 520px;
  transform: rotate(12deg);
}

.menu-tabs {
  justify-content: center;
  margin: 24px 0 34px;
}

.menu-tabs button {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, .72);
  color: var(--olive);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

.menu-tabs button.active {
  color: white;
  background: var(--olive);
  border-color: var(--olive);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.dish-card {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 34px;
  overflow: hidden;
}

.dish-card::after,
.wine-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(184, 137, 53, .23);
  border-radius: 24px;
  pointer-events: none;
}

.dish-meta,
.wine-card span {
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.translation {
  margin-top: 8px !important;
  font-style: italic;
}

.price {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.featured-dish {
  background:
    linear-gradient(135deg, rgba(47, 63, 37, .98), rgba(71, 87, 50, .95)),
    radial-gradient(circle at top right, rgba(210, 173, 104, .28), transparent 40%);
  color: rgba(255, 250, 240, .84);
}

.featured-dish h3,
.featured-dish .price {
  color: #fffaf0;
}

.featured-dish .dish-meta,
.featured-dish .translation,
.featured-dish .dish-note {
  color: #e7cc92;
}

.dish-note {
  padding-top: 16px;
  border-top: 1px solid rgba(210, 173, 104, .34);
}

.dish-with-image {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 0;
  padding: 0;
}

.dish-with-image::after {
  inset: 16px;
}

.dish-photo {
  min-height: 460px;
  overflow: hidden;
}

.dish-content {
  padding: clamp(30px, 5vw, 56px);
  align-self: center;
}

.wine-section {
  background:
    linear-gradient(135deg, rgba(47, 63, 37, .97), rgba(35, 48, 28, .97)),
    radial-gradient(circle at 20% 0%, rgba(210, 173, 104, .18), transparent 32%);
  color: rgba(255, 250, 240, .82);
}

.wine-section::before {
  left: -180px;
  bottom: -80px;
  width: 520px;
  height: 620px;
  opacity: .22;
}

.wine-copy h2,
.wine-card h3 {
  color: #fffaf0;
}

.wine-copy p,
.wine-card p {
  color: rgba(255, 250, 240, .72);
}

.wine-layout {
  grid-template-columns: .78fr 1.22fr;
}

.wine-list {
  display: grid;
  gap: 16px;
}

.wine-card {
  position: relative;
  padding: 28px 34px;
  border-radius: 28px;
  border-color: rgba(210, 173, 104, .3);
  background: rgba(255, 250, 240, .08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .18);
}

.wine-card h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.wine-card strong {
  display: inline-flex;
  margin-top: 10px;
  color: #f0cb7e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.region {
  color: #d7bd84 !important;
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  padding: 12px;
  border: 1px solid rgba(184, 137, 53, .34);
  border-radius: 28px;
  background: rgba(35, 45, 28, .08);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gallery-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: .55;
  z-index: -1;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  border-radius: 18px;
  transition: transform .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.address-section {
  background: rgba(255, 250, 240, .64);
}

.address-grid {
  grid-template-columns: .9fr 1.1fr;
}

.address-card {
  padding: clamp(30px, 5vw, 56px);
  border-radius: 36px;
}

.address-card h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.12;
  max-width: 12ch;
}

.address-card .btn {
  margin-top: 24px;
}

.address-photo {
  min-height: 560px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.reservation-panel {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  align-items: start;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 40px;
}

.reservation-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.reservation-form label {
  display: grid;
  gap: 8px;
  color: var(--olive);
  font-size: .88rem;
  font-weight: 850;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(184, 137, 53, .38);
  border-radius: 14px;
  background: rgba(255, 250, 240, .82);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.reservation-form input:focus,
.reservation-form select:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(47, 63, 37, .09);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--olive);
  font-weight: 800;
}

.site-footer {
  padding: 50px 0;
  color: rgba(255, 250, 240, .74);
  background: #222b1b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr .65fr;
  gap: 28px;
}

.site-footer img {
  width: 190px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--paper-2);
}

.site-footer strong {
  display: block;
  color: #fffaf0;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.site-footer a {
  display: table;
  margin-top: 8px;
  border-bottom: 1px solid rgba(210, 173, 104, .55);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(16, 19, 13, .86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: 88vh;
  width: auto;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  color: white;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

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

@media (max-width: 1180px) {
  .hero-content {
    grid-template-columns: 1fr;
    row-gap: 22px;
    max-width: 780px;
  }

  .hero .eyebrow,
  .hero h1,
  .hero .hero-text,
  .hero .hero-actions {
    grid-column: 1;
  }

  .hero-logo {
    margin-bottom: 6px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    width: min(320px, calc(100vw - 40px));
    display: grid;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    color: var(--olive);
    background: rgba(255, 250, 240, .96);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: scale(.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .main-nav.is-open {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
  }

  .nav-cta,
  .site-header.is-scrolled .nav-cta {
    color: white !important;
    background: var(--olive);
    text-align: center;
  }

  .strip-grid,
  .concept-grid,
  .menu-grid,
  .about-grid,
  .location-grid,
  .wine-layout,
  .address-grid,
  .reservation-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dish-with-image {
    grid-template-columns: 1fr;
  }

  .reservation-form {
    grid-template-columns: 1fr 1fr;
  }

  .reservation-form button {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    width: 118px;
  }

  .hero-content {
    padding-top: 140px;
  }

  .section {
    padding: 70px 0;
  }

  .intro-strip {
    margin-top: -35px;
  }

  .strip-card,
  .concept-card,
  .dish-card,
  .wine-card,
  .address-card,
  .story-panel,
  .reservation-panel {
    border-radius: 24px;
  }

  .photo-stack {
    min-height: 470px;
  }

  .photo-main {
    width: 88%;
    height: 390px;
  }

  .photo-float {
    width: 58%;
    height: 240px;
    border-width: 7px;
  }

  .dish-photo {
    min-height: 360px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .gallery-item.large,
  .gallery-item.tall {
    grid-row: span 1;
  }

  .address-photo {
    min-height: 360px;
  }

  .reservation-form {
    grid-template-columns: 1fr;
  }
}
