/* =========================================================
   Grotto del Pep — style.css
   Aesthetic: Organic-flowing, earthy rustic editorial
   Fonts: Playfair Display (display) + Lora (body)
   Palette: Forest green #3d5b3d, cream, warm charcoal
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  /* Brand green scale (H120 S20) */
  --green-50:  #F6F9F6;
  --green-100: #EDF2ED;
  --green-200: #D8E3D8;
  --green-300: #B4CBB4;
  --green-400: #8CB18C;
  --green-500: #629362;
  --green-600: #527A52;
  --green-700: #436543;
  --green-800: #375337;
  --green-900: #293D29;
  --green-950: #141F14;

  /* Warm accent tones */
  --terracotta:       #b5622a;
  --terracotta-light: #d4855a;
  --cream:            #faf7f0;
  --cream-dark:       #f0ead8;
  --warm-white:       #fefefe;
  --charcoal:         #1a2414;
  --smoke:            #4a4a3a;

  /* Semantic tokens — Light Mode */
  --bg:            var(--cream);
  --bg-alt:        var(--green-50);
  --fg:            var(--charcoal);
  --fg-muted:      #4a5a3a;
  --surface:       var(--warm-white);
  --surface-alt:   var(--green-100);
  --border:        var(--green-200);
  --brand:         var(--green-700);
  --brand-hover:   var(--green-800);
  --brand-fg:      #ffffff;
  --accent:        var(--terracotta);
  --accent-hover:  #8a3d17;
  --heading-color: var(--green-900);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;

  /* Spacing */
  --section-gap:   6rem;
  --container-max: 1200px;

  /* Radii */
  --radius-sm: 0.4rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --radius-xl: 4rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20,30,14,0.08);
  --shadow-md: 0 8px 32px rgba(20,30,14,0.12);
  --shadow-lg: 0 20px 60px rgba(20,30,14,0.18);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:          var(--green-950);
    --bg-alt:      var(--green-900);
    --fg:          var(--green-50);
    --fg-muted:    var(--green-300);
    --surface:     var(--green-900);
    --surface-alt: var(--green-800);
    --border:      var(--green-800);
    --brand:       var(--green-500);
    --brand-hover: var(--green-400);
    --brand-fg:    var(--green-950);
    --accent:      var(--terracotta-light);
    --accent-hover:#e8a070;
    --heading-color: var(--green-100);
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.5);
  }
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html.menu-open {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading-color);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { max-width: 68ch; }

ul, ol { list-style: none; }

/* ─── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ─── Navigation ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(20, 31, 20, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  max-width: var(--container-max);
  margin-inline: auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.nav-logo span { display: block; }

.nav-logo .logo-sub {
  font-size: 0.65rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta-light);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  background: var(--terracotta) !important;
  color: #ffffff !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2rem;
  font-weight: 600 !important;
  transition: background 0.2s ease !important;
  letter-spacing: 0.04em !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover { background: #8a3d17 !important; }

/* Hamburger button */
.nav-hamburger {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--terracotta-light);
  outline-offset: 2px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* When open → × */
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--green-950);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
}

.nav-overlay-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  color: var(--green-50);
  text-align: center;
  padding: 0.6rem 2rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  width: 100%;
}

.nav-overlay-links a:hover,
.nav-overlay-links a[aria-current="page"] {
  color: var(--terracotta-light);
}

.nav-overlay-sub {
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-500);
  font-style: italic;
}

/* ─── Mobile breakpoint ──────────────────────────────────── */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-overlay { display: flex; }
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 18, 10, 0.95) 0%,
    rgba(10, 18, 10, 0.5) 40%,
    rgba(10, 18, 10, 0.15) 70%,
    rgba(10, 18, 10, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(4rem, 8vh, 7rem);
  padding-top: 7rem;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
  margin-bottom: 2.5rem;
  font-style: italic;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-badges {
  position: absolute;
  top: 50%;
  right: clamp(1.25rem, 5vw, 4rem);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  z-index: 2;
}

.badge-rating {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  min-width: 110px;
}

.badge-rating .rating-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.badge-rating .rating-stars {
  color: #f0c040;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  letter-spacing: 0.1em;
}

.badge-rating .rating-count {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

@media (max-width: 767px) {
  .hero-badges {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 2rem;
  }
  .badge-rating {
    padding: 0.75rem 1rem;
    min-width: 90px;
  }
  .badge-rating .rating-num { font-size: 1.8rem; }
}

/* ─── Intro strip ───────────────────────────────────────── */
/* Hard-coded #111111 — must NOT be a CSS variable to avoid dark-mode contrast bug */
.intro-strip {
  background: #111111;
  padding: 1.5rem 0;
  overflow: hidden;
}

.intro-strip-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  max-width: var(--container-max);
  margin-inline: auto;
}

.intro-fact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}

.intro-fact-icon {
  font-size: 1rem;
  color: var(--terracotta-light);
}

.intro-sep {
  width: 1px;
  height: 1.2rem;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .intro-sep { display: none; }
  .intro-fact { font-size: 0.78rem; }
}

/* ─── Section styling ───────────────────────────────────── */
.section {
  padding-block: var(--section-gap);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--fg-muted);
  font-style: italic;
  max-width: 60ch;
}

/* ─── Story section ─────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-images { position: relative; }

.story-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.story-img-accent {
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  right: -10%;
  bottom: -8%;
  border: 4px solid var(--bg);
}

.story-text { padding-block: 1rem; }
.story-text p { margin-bottom: 1.25rem; }
.story-text p:last-of-type { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .story-img-accent {
    right: -5%;
    bottom: -6%;
  }
}

/* ─── Features strip ─────────────────────────────────────── */
.features-bg {
  background: var(--green-900);
  padding-block: var(--section-gap);
}

@media (prefers-color-scheme: dark) {
  .features-bg { background: #0d150d; }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-100);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: none;
}

/* ─── Reviews ───────────────────────────────────────────── */
.reviews-section {
  background: var(--bg-alt);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.review-card:hover { box-shadow: var(--shadow-md); }

.review-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--green-200);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .review-card::before { color: var(--green-800); }
}

.review-stars {
  color: #f0c040;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding-top: 2.5rem;
}

.review-text {
  font-style: italic;
  line-height: 1.7;
  color: var(--fg-muted);
  font-size: 0.95rem;
  max-width: none;
}

.review-author {
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--brand);
  text-transform: uppercase;
}

/* ─── Gallery strip ──────────────────────────────────────── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 200px;
  gap: 0.5rem;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.gallery-item:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

@media (max-width: 900px) {
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    height: 260px;
  }
  .gallery-item { height: 200px; }
  .gallery-item:last-child { border-radius: 0 0 var(--radius-md) 0; }
}

@media (max-width: 540px) {
  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-item:first-child {
    grid-column: span 1;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    height: 240px;
  }
  .gallery-item { height: 180px; }
  .gallery-item:nth-child(n+2) { border-radius: 0; }
  .gallery-item:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }
}

/* ─── CTA banner ─────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--green-800);
  padding-block: 5rem;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-banner .section-title { color: #ffffff; }
.cta-banner .section-lead { color: rgba(255,255,255,0.75); margin-inline: auto; }

/* ─── Hours table ────────────────────────────────────────── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 0.75rem 0;
  vertical-align: middle;
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--heading-color);
  text-transform: capitalize;
  padding-right: 2rem;
  white-space: nowrap;
}

.hours-table td:last-child {
  color: var(--fg-muted);
  font-style: italic;
}

.hours-table tr.closed td { opacity: 0.5; }

/* ─── Menu page ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: clamp(280px, 40vw, 460px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-950);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,18,10,0.9) 0%, rgba(10,18,10,0.25) 65%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.menu-notice {
  background: var(--green-100);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--green-900);
  font-style: italic;
  margin-bottom: 3rem;
  max-width: 65ch;
}

@media (prefers-color-scheme: dark) {
  .menu-notice {
    background: rgba(255,255,255,0.05);
    color: var(--green-200);
    border-color: var(--terracotta-light);
  }
}

.menu-category { margin-bottom: 4rem; }

.menu-category-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.menu-category-sub {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.menu-item {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.4rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
  max-width: none;
  line-height: 1.55;
}

/* ─── About page ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-values {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.value-item {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.value-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.value-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--heading-color);
  margin-bottom: 0.4rem;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: none;
}

@media (max-width: 540px) {
  .about-values { grid-template-columns: 1fr; }
}

/* ─── Contact page ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand);
}

@media (prefers-color-scheme: dark) {
  .contact-info-icon {
    background: var(--green-800);
    color: var(--green-300);
  }
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--fg);
  font-weight: 500;
}

.contact-info-value a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-info-value a:hover { color: var(--brand-hover); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--green-100);
  color: var(--green-900);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--green-200);
}

@media (prefers-color-scheme: dark) {
  .service-tag {
    background: var(--green-800);
    color: var(--green-100);
    border-color: var(--green-700);
  }
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.8rem 2rem;
  border-radius: 2.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: #ffffff;
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: #8a3d17;
  border-color: #8a3d17;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(181,98,42,0.35);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.btn-green {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}
.btn-green:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(67,101,67,0.3);
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--green-950);
  padding-block: 2rem;
  text-align: center;
}

.site-footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  max-width: none;
  display: inline;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: rgba(255,255,255,0.9); }

/* ─── Scroll animations ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ─── Focus styles ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── Utility ───────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--fg-muted); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
