/* ===== Tokens ===== */
:root {
  --cream: #f7f1e8;
  --cream-2: #fbf7f0;
  --paper: #fffdf9;
  --espresso: #241812;
  --espresso-2: #2f2119;
  --ink: #3a2c22;
  --muted: #83705f;
  --line: #e7dbcb;
  --terracotta: #b5432a;
  --terracotta-d: #8f3320;
  --clay: #c2542f;
  --gold: #d99a2b;
  --green: #2f5d3a;
  --shadow-lg: 0 30px 70px -35px rgba(50, 24, 8, 0.5);
  --shadow-sm: 0 12px 30px -20px rgba(50, 24, 8, 0.55);
  --radius: 14px;
  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --wrap: min(1180px, 90%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: var(--wrap); margin: 0 auto; }
.section { padding: 104px 0; }
a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--espresso); letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.section-head { max-width: 620px; margin: 0 auto 60px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.lead { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 14px 30px -14px rgba(181, 67, 42, 0.8);
}
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-ghost-dark { border-color: var(--terracotta); color: var(--terracotta); }
.btn-ghost-dark:hover { background: rgba(181,67,42,0.08); }
.btn-lg { padding: 17px 38px; font-size: 1rem; }

/* ===== Topbar ===== */
.topbar {
  background: var(--espresso);
  color: rgba(247,241,232,0.82);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.topbar-inner { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 9px 0; flex-wrap: wrap; }
.topbar-sep { opacity: 0.4; }
.topbar-phone { color: var(--gold); font-weight: 600; margin-left: 4px; }
.topbar-order { color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,0.35); padding: 3px 12px; border-radius: 999px; margin-left: 6px; transition: background .2s; }
.topbar-order:hover { background: rgba(255,255,255,0.12); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 37px; left: 0; right: 0;
  z-index: 90;
  padding: 20px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease, top .35s ease;
}
.site-header.scrolled {
  top: 0;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -22px rgba(50,24,8,0.7);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-crest {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: #fff; }
.brand-tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.site-header.scrolled .brand-name { color: var(--espresso); }
.site-header.scrolled .brand-tag { color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: rgba(255,255,255,0.9); transition: color .2s; }
.main-nav a:hover { color: var(--gold); }
.site-header.scrolled .main-nav a { color: var(--ink); }
.site-header.scrolled .main-nav a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--terracotta-d); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--espresso); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--espresso);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { background: var(--fallback); }
.hero-media img { object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(20,10,6,0.86) 0%, rgba(20,10,6,0.55) 45%, rgba(20,10,6,0.25) 100%),
    linear-gradient(to top, rgba(20,10,6,0.7), transparent 40%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 90px 0 40px; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 26px;
}
.rating-chip .stars { font-size: 0.9rem; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,0.9); max-width: 540px; margin-bottom: 36px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.45); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrolldot 1.7s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ===== Papel picado ===== */
.papel { color: var(--terracotta); background: var(--cream); line-height: 0; }
.papel svg { width: 100%; height: 26px; }

/* ===== Reusable photo frame ===== */
.framed-photo, .sig-media, .g-item, .hero-media { background: var(--fallback); }

/* ===== Story ===== */
.story { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 66px; align-items: center; }
.story-media { position: relative; }
.framed-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.framed-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-badge {
  position: absolute; right: -18px; bottom: -22px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.story-badge strong { display: block; font-family: var(--serif); color: var(--terracotta); font-size: 1.15rem; }
.story-badge span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.story-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 20px; }
.story-copy p { margin-bottom: 16px; color: var(--ink); }
.story-stats { display: flex; gap: 20px; margin-top: 30px; }
.story-stats div { flex: 1; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.story-stats strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--terracotta); }
.story-stats span { font-size: 0.78rem; color: var(--muted); }

/* ===== Signatures ===== */
.signatures { background: var(--cream-2); }
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sig-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sig-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sig-media { aspect-ratio: 4 / 3; overflow: hidden; }
.sig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sig-card:hover .sig-media img { transform: scale(1.06); }
.sig-body { padding: 24px 26px 28px; position: relative; }
.sig-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.sig-body p { color: var(--muted); font-size: 0.95rem; }
.sig-price { position: absolute; top: -16px; right: 22px; background: var(--terracotta); color: #fff; font-weight: 600; font-size: 0.9rem; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* ===== Menu ===== */
.menu { background: var(--cream); }
.menu-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 64px; }
.menu-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
}
.menu-group h3 {
  font-size: 1.45rem;
  color: var(--terracotta);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.menu-group h3::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.m-item { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.m-name { font-weight: 600; color: var(--espresso); font-size: 1.04rem; }
.m-dots { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-3px); }
.m-price { font-family: var(--serif); font-weight: 600; color: var(--terracotta); font-size: 1.05rem; }
.m-price::before { content: "$"; font-size: 0.8em; opacity: 0.7; }
.m-desc { font-size: 0.9rem; color: var(--muted); margin-top: 3px; }
.menu-cta { text-align: center; margin-top: 46px; }

/* ===== Gallery ===== */
.gallery { background: var(--espresso); }
.gallery .eyebrow { color: var(--gold); }
.gallery h2 { color: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.g-item { border-radius: var(--radius); overflow: hidden; position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.07); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }

/* ===== Review feature ===== */
.review-feature {
  background: var(--terracotta);
  color: var(--cream);
  padding: 92px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.review-feature::before, .review-feature::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
}
.review-feature::before { top: -120px; left: -80px; }
.review-feature::after { bottom: -140px; right: -80px; }
.review-inner { position: relative; z-index: 1; max-width: 780px; }
.quote-mark { font-family: var(--serif); font-size: 6rem; line-height: 0.4; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.review-feature blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; line-height: 1.35; color: #fff; }
.review-by { margin-top: 26px; }
.review-by .stars { color: #ffe0a3; font-size: 1.1rem; display: block; margin-bottom: 8px; }
.review-by cite { font-style: normal; font-weight: 500; color: rgba(255,255,255,0.85); }

/* ===== Order band ===== */
.order-band {
  background:
    linear-gradient(rgba(36,24,18,0.9), rgba(36,24,18,0.9)),
    repeating-linear-gradient(45deg, var(--espresso-2) 0 14px, var(--espresso) 14px 28px);
  color: var(--cream);
  padding: 64px 0;
}
.order-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.order-text { max-width: 560px; }
.order-text .eyebrow { color: var(--gold); }
.order-text h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.order-text p { color: rgba(255,255,255,0.8); }
.order-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.order-band .btn-ghost-dark { border-color: rgba(255,255,255,0.6); color: #fff; }
.order-band .btn-ghost-dark:hover { background: rgba(255,255,255,0.12); }

/* ===== Visit ===== */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.visit-info h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 8px; }
.visit-list { list-style: none; margin: 24px 0 32px; }
.visit-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.visit-list li:last-child { border-bottom: 0; }
.ico { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: var(--terracotta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.visit-list strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--espresso); margin-bottom: 2px; }
.visit-list a { color: var(--terracotta); font-weight: 600; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 420px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--espresso); color: rgba(247,241,232,0.82); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; gap: 15px; align-items: flex-start; }
.footer-brand strong { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); display: block; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
.footer-h { font-family: var(--serif); color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.75); transition: color .2s; width: fit-content; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 10px; color: rgba(255,255,255,0.75); }
.footer-contact a { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 22px 0; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .story-grid, .visit-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-media { max-width: 420px; }
  .sig-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: calc(100% + 0px); left: 0; right: 0;
    background: var(--paper);
    flex-direction: column; gap: 0; align-items: stretch;
    padding: 0; max-height: 0; overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: max-height .35s ease, padding .35s ease;
  }
  .main-nav.open { max-height: 460px; padding: 12px 0; }
  .main-nav a { color: var(--ink) !important; padding: 13px 26px; }
  .nav-cta { margin: 8px 26px; text-align: center; }
  .section { padding: 76px 0; }
  .menu-columns { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .g-item.wide { grid-column: span 2; }
  .g-item.tall { grid-row: span 1; }
}
@media (max-width: 520px) {
  .topbar-item:nth-child(3), .topbar-sep:last-of-type, .topbar-order { display: none; }
  .story-stats { flex-direction: column; }
  .story-badge { right: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}
