/* ==========================================================================
   TRISARA COFFEE BOUTIQUE — Design System
   ========================================================================== */

:root {
  --white: #d8cdb8;
  --cream: #fbead2;
  --cream-deep: #f5d9a8;
  --ink: #1c211f;
  --ink-soft: #4a524e;

  /* Core brand palette. Site-wide background is a warm cream/paper tone
     (matches the logo's paper texture) rather than pure white. */
  --green: #14584d;
  --green-dark: #0c3a32;
  --green-tint: #e7efec;
  --green-tint-2: #eef4f2;
  --gold: #cc9145;
  --gold-soft: #e0bd8f;
  --terracotta: #ae4a27;
  --mustard: #cc9145;
  --line: #e4e0d6;

  /* Shared shadow tint (matches --green as rgb) so depth reads as part of
     the palette rather than a generic black drop shadow. */
  --shadow-tint: 20, 88, 77;

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --header-h: 142px;
  --header-h-scrolled: 84px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { margin: 0; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 640px;
}

.section {
  padding: 110px 0;
  position: relative;
}
.section--tight { padding: 72px 0; }
.section--cream { background: var(--cream); }
.section--green {
  background: var(--green);
  position: relative;
  overflow: hidden;
}
.section--green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(204,145,69,0.14), transparent 60%);
  pointer-events: none;
}
.section--green .container { position: relative; z-index: 1; }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green p { color: rgba(255,255,255,0.78); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head p { margin-top: 16px; }
.section-head.align-left { text-align: left; margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-light:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.top-bar-left { display: flex; align-items: center; gap: 26px; }
.top-bar-left a { display: flex; align-items: center; gap: 7px; transition: color 0.25s; }
.top-bar-left a:hover { color: var(--gold-soft); }
.top-bar-right { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.lang-switch button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 4px 2px;
}
.lang-switch button.active { color: var(--white); border-bottom: 1px solid var(--gold); }
.lang-switch .sep { color: rgba(255,255,255,0.35); }

.social-icons { display: flex; align-items: center; gap: 14px; }
.social-icons a {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  transition: all 0.25s;
}
.social-icons a:hover { background: var(--gold); border-color: var(--gold); }
.social-icons svg { width: 12px; height: 12px; fill: currentColor; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(216,205,184,0.98);
  border-bottom: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}
.header-main {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: height 0.4s var(--ease);
}
.site-header.scrolled .header-main { height: var(--header-h-scrolled); }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(var(--shadow-tint),0.08); }
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.site-header.scrolled::after { opacity: 1; }

/* Homepage only: header floats transparent over the dark hero (logo/nav in
   white), then fades to a solid green bar with white text once you scroll.
   It's pinned (position: fixed) from the very start, sitting just below the
   utility top-bar — only background/shadow/top animate (all transitionable),
   so there's no jump when .scrolled toggles. */
body.home .site-header {
  position: fixed;
  top: 38px;
  left: 0; right: 0;
  /* Transparent — legibility comes only from .hero-overlay on the photo
     itself, not a separate layer behind the header. */
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
/* Logo is a full-colour badge now — no invert needed, it already reads
   fine on both the dark hero and the solid-green scrolled header. */
body.home .site-header .main-nav a { color: var(--white); }
body.home .site-header .main-nav a::after { background: var(--gold); }
body.home .site-header .main-nav a.active { color: var(--gold-soft); }
body.home .site-header .mobile-toggle span { background: var(--white); }
body.home .site-header .mobile-toggle.active span { background: var(--ink); }
body.home .site-header .nav-right .btn-reserve {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
body.home .site-header .nav-right .btn-reserve:hover { background: var(--terracotta); border-color: var(--terracotta); }

body.home .site-header.scrolled {
  top: 0;
  background: var(--green);
  box-shadow: 0 8px 24px rgba(var(--shadow-tint), 0.18);
}

.logo-mark {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: transform 0.4s var(--ease);
}
.logo-text { text-align: center; }
.logo-leaf {
  height: 34px;
  width: auto;
  margin-bottom: 2px;
  transition: height 0.4s var(--ease);
}
.logo-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--green-dark);
  letter-spacing: 0.01em;
}
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1px;
}
.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
  white-space: nowrap;
}
.logo-tagline em { font-style: normal; opacity: 0.6; margin: 0 3px; }
.site-header.scrolled .logo-leaf { height: 22px; }
.site-header.scrolled .logo-title { font-size: 1.15rem; }
.site-header.scrolled .logo-sub { font-size: 0.5rem; }
.site-header.scrolled .logo-tagline { display: none; }
/* Homepage header floats over the dark hero / solid green bar — logo reads white there. */
body.home .site-header .logo-leaf { filter: brightness(0) invert(1); }
body.home .site-header .logo-title,
body.home .site-header .logo-sub { color: var(--white); }
body.home .site-header .logo-tagline { color: #8fd9b0; }

.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav.nav-left { grid-column: 1; justify-content: flex-end; }
.main-nav.nav-right { grid-column: 3; justify-content: flex-start; }
.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--green); }
.nav-right .btn-reserve {
  border: 1px solid var(--green);
  color: var(--green);
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 0.75rem;
}
.nav-right .btn-reserve:hover { background: var(--green); color: var(--white); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  position: relative;
  grid-column: 3;
  justify-self: end;
}
.mobile-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 10px; }
.mobile-toggle span:nth-child(3) { top: 20px; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 480;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  padding-top: var(--header-h);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-dark);
}
.mobile-drawer .lang-switch { margin-top: 20px; }
.mobile-drawer .lang-switch button { color: var(--ink-soft); font-size: 0.9rem; }
.mobile-drawer .lang-switch button.active { color: var(--green); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(155deg, var(--green-tint) 0%, var(--cream) 45%, var(--white) 100%);
}
.hero-leaf-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 20% 20%, var(--green) 0, transparent 45%),
                     radial-gradient(circle at 85% 15%, var(--gold) 0, transparent 40%),
                     radial-gradient(circle at 75% 85%, var(--green) 0, transparent 45%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 0 24px; }
.hero-content .eyebrow { justify-content: center; }
.hero-content h1 { margin-bottom: 22px; }
.hero-content .lead { margin: 0 auto 40px; text-align: center; }

/* Rotating hero headline — one phrase visible at a time, cross-fading
   in place, instead of stacking all three lines at once. Every word stays
   position:absolute (active and inactive alike) so they sit on the exact
   same centered axis — no layout jump between states. */
.hero-rotate-wrap {
  position: relative;
  display: block;
  min-height: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 1.15;
}
.hero-rotate-word {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, 14px);
  width: 100%;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.hero-rotate-word.active {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
/* Two-tone treatment within each phrase — a solid bold lead word paired
   with a softer italic accent, e.g. "Good" + "Food". */
.hero-rotate-word .w-lead { font-weight: 800; color: var(--white); }
.hero-rotate-word .w-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
  margin-left: 0.28em;
}
@media (max-width: 600px) {
  .hero-rotate-word { white-space: normal; }
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* Homepage hero — full-bleed dark backdrop for a video/photo (added later).
   .hero-media is the placeholder layer: swap its contents for a <video>
   or <img> and everything else (overlay, white text) keeps working as-is. */
.hero--dark {
  min-height: 100vh;
  background: var(--green-dark);
}
.hero--dark .hero-leaf-bg { display: none; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 28%, rgba(255,255,255,0.06) 0%, transparent 7%),
    radial-gradient(circle at 82% 18%, rgba(204,145,69,0.16) 0%, transparent 11%),
    radial-gradient(circle at 68% 78%, rgba(255,255,255,0.05) 0%, transparent 6%),
    radial-gradient(circle at 22% 82%, rgba(255,255,255,0.05) 0%, transparent 8%),
    linear-gradient(160deg, #1a4038 0%, #0f2a24 45%, #0a1815 100%);
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* A dark veil so white text stays legible over a busy photo. */
  background: linear-gradient(180deg, rgba(6,14,11,0.55) 0%, rgba(6,14,11,0.4) 40%, rgba(6,14,11,0.68) 100%);
  pointer-events: none;
}
.hero--dark .hero-content { z-index: 2; }
.hero--dark .eyebrow { color: var(--gold-soft); }
.hero--dark .eyebrow::before, .hero--dark .eyebrow::after { background: var(--gold-soft); }
.hero--dark h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero--dark .lead { color: rgba(255,255,255,0.92); text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.hero--dark .btn-primary { background: var(--gold); border-color: var(--gold); }
.hero--dark .btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); }
.hero--dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.65); }
.hero--dark .btn-outline:hover { background: var(--white); color: var(--green-dark); }

/* Interior-page title banner — a real photo background (set per page via
   inline style="background-image:...") with a dark veil for legibility. */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,17,14,0.5) 0%, rgba(8,17,14,0.35) 50%, rgba(8,17,14,0.6) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--gold-soft); }
.page-hero h1 { color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.breadcrumb {
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 8px; color: var(--gold-soft); }


/* Large low-opacity brand-pattern watermark behind a section's copy —
   the same geometric motif used as the corner accent, scaled up and
   faded so it reads as texture rather than decoration. */
.section-watermark {
  position: relative;
  isolation: isolate;
}
.section-watermark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern-corner.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 640px auto;
  /* fixed attachment = the pattern stays put in the viewport while the
     section scrolls past it, like a window revealing a pinned backdrop */
  background-attachment: fixed;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
}
.section-watermark.watermark-left::before { background-position: left center; }
.section-watermark > .container { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .section-watermark::before { background-size: 380px auto; opacity: 0.07; background-attachment: scroll; }
}


/* ==========================================================================
   SHARED COMPONENTS
   ========================================================================== */
.divider-leaf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 28px;
  color: var(--gold);
}
.divider-leaf::before, .divider-leaf::after {
  content: '';
  width: 46px;
  height: 1px;
  background: var(--gold-soft);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.media-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.media-frame:hover > img { transform: scale(1.04); }
.media-frame.wide { aspect-ratio: 16/10; }
.media-frame.square { aspect-ratio: 1/1; }
.placeholder-photo {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-tint) 0%, var(--cream-deep) 100%);
  color: var(--green);
  position: relative;
}
.placeholder-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, transparent 45%, rgba(179,146,90,0.12) 45%, rgba(179,146,90,0.12) 55%, transparent 55%);
}
.placeholder-photo svg { width: 30%; height: 30%; opacity: 0.5; position: relative; z-index: 1; }
.media-frame .frame-border {
  position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,0.5);
  pointer-events: none;
}

/* Feature cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 34px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.feature-card:hover { border-color: var(--gold-soft); box-shadow: 0 20px 40px rgba(var(--shadow-tint),0.08); transform: translateY(-6px); }
.feature-icon {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.4; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: 0.94rem; }

/* Stats */
.stats-row { display: flex; justify-content: center; gap: 90px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--terracotta); display: block; }
.stat .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* Testimonials */
.testimonial-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 40px 36px;
  border-left: 3px solid var(--terracotta);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  bottom: -34px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
}
.testimonial-card .stars,
.testimonial-card p.quote,
.testimonial-card .who { position: relative; z-index: 1; }
.testimonial-card .stars { color: var(--terracotta); letter-spacing: 3px; margin-bottom: 18px; font-size: 0.9rem; }
.testimonial-card p.quote { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--ink); margin-bottom: 20px; }
.testimonial-card .who { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--green); }

/* Eyebrow labels lose contrast on the warm cream sections (gold-on-peach) —
   switch to terracotta there so labels like "GUEST STORIES" stay legible. */
.section--cream .eyebrow { color: var(--terracotta); }
.section--cream .eyebrow::before, .section--cream .eyebrow::after { background: var(--terracotta); }

/* Instagram profile avatar */
.insta-avatar-wrap { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; }
.insta-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(var(--shadow-tint), 0.14);
}
.insta-avatar img { width: 66%; height: 66%; object-fit: contain; }
.insta-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--white);
}
.insta-badge svg { width: 15px; height: 15px; fill: var(--white); }

/* Instagram strip */
.insta-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-strip .media-frame { aspect-ratio: 1/1; }
.insta-strip .media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,20,17,0) 35%, rgba(12,20,17,0.62) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.insta-strip .media-frame:hover::after { opacity: 1; }
.insta-icon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.4s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.insta-strip .media-frame:hover .insta-icon-overlay { opacity: 1; transform: scale(1); }
.insta-icon-overlay svg { width: 30px; height: 30px; fill: var(--white); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.insta-strip .media-frame {
  transition: opacity 0.5s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.insta-strip .media-frame:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(var(--shadow-tint), 0.2); transition-delay: 0s; }
.insta-strip .media-frame.reveal:nth-child(1) { transition-delay: 0s; }
.insta-strip .media-frame.reveal:nth-child(2) { transition-delay: 0.08s; }
.insta-strip .media-frame.reveal:nth-child(3) { transition-delay: 0.16s; }
.insta-strip .media-frame.reveal:nth-child(4) { transition-delay: 0.24s; }
.insta-strip .media-frame.reveal:nth-child(5) { transition-delay: 0.32s; }
.insta-strip .media-frame.reveal:nth-child(6) { transition-delay: 0.4s; }

/* CTA banner */
.cta-banner {
  background: var(--green);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(204,145,69,0.18), transparent 60%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 18px; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 34px; }

/* ==========================================================================
   MENU PAGE
   ========================================================================== */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 56px;
}
.menu-tab {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 11px 24px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 30px;
  transition: all 0.3s var(--ease);
}
.menu-tab:hover { border-color: var(--gold); color: var(--green); }
.menu-tab.active { background: var(--green); border-color: var(--green); color: var(--white); }

.menu-category { display: none; }
.menu-category.active { display: block; animation: fadeIn 0.5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

.menu-category-head {
  text-align: center;
  margin-bottom: 44px;
}
.menu-category-head .sub { color: var(--ink-soft); font-style: italic; font-family: var(--font-display); font-size: 1.1rem; margin-top: 8px; }

.menu-list { columns: 2; column-gap: 60px; }
.menu-section-head {
  column-span: all;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 28px 0 20px;
}
.menu-section-head:first-child { margin-top: 0; }
.menu-item {
  break-inside: avoid;
  margin-bottom: 28px;
}
.menu-item-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.menu-item-dots {
  flex: 1;
  border-bottom: 1.5px dotted var(--line);
  transform: translateY(-4px);
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.menu-item-desc { font-size: 0.88rem; color: var(--ink-soft); margin-top: 5px; line-height: 1.5; }
.menu-item-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(174, 74, 39, 0.12);
  color: var(--terracotta);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
}

.menu-note {
  text-align: center;
  margin-top: 60px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ==========================================================================
   RESERVATION FORM
   ========================================================================== */
.reservation-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  box-shadow: 0 30px 70px rgba(var(--shadow-tint),0.12);
}
.reservation-info {
  background: var(--green);
  color: var(--white);
  padding: 64px 48px;
}
.reservation-info h3 { color: var(--white); margin-bottom: 18px; }
.reservation-info p { color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.info-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.info-line svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--gold-soft); fill: none; stroke-width: 1.5; margin-top: 3px; }
.info-line .t { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.info-line .v { color: var(--white); font-size: 0.95rem; }

.reservation-form { background: var(--white); padding: 64px 52px; }
.form-group { margin-bottom: 26px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--line);
  padding: 12px 4px;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 20px; }
.form-success {
  display: none;
  background: var(--green-tint);
  color: var(--green-dark);
  padding: 18px 22px;
  border-left: 3px solid var(--green);
  margin-top: 22px;
  font-size: 0.92rem;
}
.form-success.show { display: block; animation: fadeIn 0.4s var(--ease); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-map { border-radius: 4px; overflow: hidden; box-shadow: 0 20px 50px rgba(var(--shadow-tint),0.1); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-info-card {
  background: var(--cream);
  padding: 44px;
  margin-bottom: 20px;
}
.contact-info-card .info-line .v { color: var(--ink); }
.contact-info-card .info-line svg { stroke: var(--green); }
.contact-info-card .info-line .t { color: var(--gold); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; color: var(--green-dark); font-weight: 500; }
.hours-table tr.is-closed td:last-child { color: var(--terracotta); }

/* ==========================================================================
   CAREERS PAGE
   ========================================================================== */
.job-card {
  border: 1px solid var(--line);
  padding: 34px 36px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.3s var(--ease);
}
.job-card:hover { border-color: var(--gold-soft); box-shadow: 0 16px 34px rgba(var(--shadow-tint),0.08); }
.job-card h3 { margin-bottom: 8px; }
.job-meta { display: flex; gap: 18px; font-size: 0.8rem; color: var(--ink-soft); }
.job-meta span { display: flex; align-items: center; gap: 6px; }
.job-card .btn { flex-shrink: 0; }

.value-item { display: flex; gap: 22px; margin-bottom: 34px; }
.value-num { font-family: var(--font-display); font-size: 2rem; color: var(--gold-soft); flex-shrink: 0; }

/* ==========================================================================
   STORY PAGE — timeline
   ========================================================================== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: 50px;
}
.timeline-item .tl-content { padding: 0 30px; }
.timeline-item:nth-child(even) .tl-content { grid-column: 3; text-align: left; }
.timeline-item:nth-child(odd) .tl-content { grid-column: 1; text-align: right; }
.timeline-dot {
  grid-column: 2;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  justify-self: center;
  box-shadow: 0 0 0 6px var(--green-tint);
}
.timeline-item .year { font-family: var(--font-display); color: var(--green); font-size: 1.4rem; margin-bottom: 6px; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.75); padding-top: 90px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo .logo-leaf { height: 46px; margin-bottom: 8px; filter: brightness(0) invert(1); }
.footer-logo .logo-text { display: block; margin-bottom: 20px; text-align: left; }
.footer-logo .logo-title { font-size: 1.5rem; color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.65); }
.footer-logo .logo-tagline { color: var(--gold-soft); white-space: normal; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.68); font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 600;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform 0.3s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 10px 30px rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.45); }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-2 { gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .reservation-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .insta-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 100px; --header-h-scrolled: 72px; }
  .top-bar-left span.hide-mobile { display: none; }
  .main-nav.nav-left, .main-nav.nav-right { display: none; }
  .mobile-toggle { display: block; }
  .header-main { grid-template-columns: 1fr auto 1fr; }
  .logo-leaf { height: 26px; }
  .logo-title { font-size: 1.3rem; }
  .logo-tagline { display: none; }
  .site-header.scrolled .logo-leaf { height: 20px; }
  .site-header.scrolled .logo-title { font-size: 1.1rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-row { gap: 40px; }
  .menu-list { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-dot { grid-column: 1; justify-self: start; margin-left: 14px; }
  .timeline-item .tl-content, .timeline-item:nth-child(even) .tl-content, .timeline-item:nth-child(odd) .tl-content {
    grid-column: 2; text-align: left; padding: 0 0 0 20px;
  }
  .job-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 70px 0; }
  .reservation-info, .reservation-form { padding: 42px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .insta-strip { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
