/*
 * Dear Joe — Coffee & Juice | styles.css
 * =====================================================================
 * DESIGN RATIONALE
 * =====================================================================
 * The logo shows a sage-mint green background (#B8D4A8) with a deep forest
 * green line-art illustration and bold DEAR JOE wordmark (#1C3A28). We map
 * that directly: --dark is the richest forest green depth, --accent is the
 * sage green from the logo bg, --highlight is the warm terracotta from the
 * brand's real-world building (burnt orange-red), grounding the site in the
 * brand's physical identity.
 *
 * Typography: Playfair Display SC (stately, letter-press feel — never used)
 * + Source Sans 3 (clean, legible, editorial neutral — never used).
 * The display pairing evokes handwritten letters + craftsmanship. Source Sans 3
 * keeps body text extremely readable without competing with the heading gravitas.
 *
 * Palette avoids: Cormorant/Bodoni serifs, Syne/Teko/Rufina display fonts,
 * and all warm-amber, plum, slate-blue, or terracotta-heavy --dark combos
 * used in prior builds.
 * =====================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:wght@400;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --dark:       #142A1E;
  --bg-alt:     #1C3828;
  --accent:     #7DB87A;
  --highlight:  #C85A35;
  --cream:      #F4EFE4;
  --cream-dim:  rgba(244,239,228,0.65);
  --accent-dim: rgba(125,184,122,0.14);
  --border:     rgba(125,184,122,0.22);
  --ff-display: 'Playfair Display SC', Georgia, serif;
  --ff-body:    'Source Sans 3', system-ui, sans-serif;
}

/* === 1. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--dark);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* === 2. TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  line-height: 1.15;
  color: var(--cream);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }
p  { font-size: 1.05rem; color: var(--cream-dim); }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--ff-body);
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
}

/* === 3. LAYOUT HELPERS === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.text-center { text-align: center; }

/* === 4. FADE-IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 5. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary  { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: #92d08e; }
.btn-outline  { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--dark); }
.btn-highlight { background: var(--highlight); color: #fff; }
.btn-highlight:hover { background: #d96a43; }

/* === 6. NAVBAR === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s, backdrop-filter 0.35s, padding 0.35s, box-shadow 0.35s;
}
#navbar.scrolled {
  background: rgba(20,42,30,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--accent-dim);
}
.nav-brand-name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.1;
}
.nav-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 16px;
  padding: 10px 22px;
  font-size: 0.85rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,42,30,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--cream);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { font-size: 1rem; padding: 14px 32px; }

/* === 7. PAGE HERO === */
.page-hero {
  background-image: var(--page-hero-bg);
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,42,30,0.45) 0%, rgba(20,42,30,0.8) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero-content h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero-content p { font-size: 1.1rem; margin-top: 10px; }

/* === 8. HERO (INDEX) === */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('images/banner.jpg?v=1');
  background-size: cover;
  background-position: center top;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,42,30,0.82) 0%, rgba(20,42,30,0.55) 60%, rgba(20,42,30,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 24px;
  margin-left: calc((100vw - 1200px)/2);
}
.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-content h1 {
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-content .hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-content .hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(244,239,228,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  font-style: italic;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === 9. FEATURES STRIP === */
#features {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--accent-dim); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-item h4 {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.82rem;
  color: var(--cream-dim);
}

/* === 10. OFFERINGS GRID === */
#offerings { background: var(--dark); }
.offerings-intro { margin-bottom: 52px; }
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offering-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.offering-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.offering-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.offering-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.offering-card:hover .offering-card-img img { transform: scale(1.06); }
.offering-card-body {
  padding: 20px 22px;
}
.offering-card-body h4 { margin-bottom: 6px; font-size: 1.05rem; }
.offering-card-body p { font-size: 0.88rem; }
.offering-card-body .badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border);
}

/* === 11. BRAND TEASER === */
#brand-teaser { background: var(--bg-alt); }
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.teaser-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.teaser-text { }
.teaser-text h2 { margin-bottom: 20px; }
.teaser-text p { margin-bottom: 16px; }
.teaser-text .btn { margin-top: 16px; }

/* === 12. STATS ROW === */
#stats-row {
  background: var(--highlight);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { }
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === 13. REVIEWS === */
#reviews { background: var(--dark); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent);
}
.review-stars svg { width: 18px; height: 18px; }
.review-quote {
  font-size: 0.95rem;
  color: var(--cream-dim);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.65;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.9rem;
  color: var(--accent);
}
.review-name { font-weight: 700; font-size: 0.9rem; }
.review-platform { font-size: 0.78rem; color: var(--accent); }

/* === 14. SOCIAL CTA === */
#social-cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 70px 0;
}
.social-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  color: var(--cream);
  transition: background 0.25s, transform 0.2s;
}
.social-btn:hover { background: var(--accent); color: var(--dark); transform: translateY(-2px); }
.social-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* === 15. SOCIAL FEED === */
#social-feed { background: var(--dark); }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 40px;
}
.feed-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  display: block;
}
.feed-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s, opacity 0.3s;
}
.feed-item:hover img { transform: scale(1.08); opacity: 0.85; }

/* === 16. FOOTER === */
#footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { }
.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 16px;
}
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: var(--cream-dim);
  margin-bottom: 20px;
  font-style: italic;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: background 0.2s, color 0.2s;
}
.footer-social-icon:hover { background: var(--accent); color: var(--dark); }
.footer-social-icon svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--ff-body);
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--cream-dim);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-icon { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact-icon svg { width: 15px; height: 15px; }
.footer-contact-item p {
  font-size: 0.88rem;
  color: var(--cream-dim);
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}
.footer-copy { font-size: 0.82rem; color: var(--cream-dim); }
.footer-badges {
  display: flex;
  gap: 10px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}
.footer-badge svg { width: 13px; height: 13px; }

/* === 17. ABOUT PAGE === */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.philosophy-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s;
}
.philosophy-card:hover { transform: translateY(-4px); }
.philosophy-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}
.philosophy-icon svg { width: 28px; height: 28px; }
.brand-values-list { display: flex; flex-direction: column; gap: 20px; }
.brand-value-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.brand-value-num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--dark);
}
.timeline-year {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-split-img { border-radius: 8px; overflow: hidden; }
.cta-split-img img { width: 100%; height: 420px; object-fit: cover; }
.cta-split-text h2 { margin-bottom: 16px; }
.cta-split-text p { margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* === 18. MENU PAGE === */
#menu-disclaimer {
  background: var(--accent-dim);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  text-align: center;
}
#menu-disclaimer p {
  font-size: 0.88rem;
  color: var(--cream);
}
.category-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.category-tile {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  text-decoration: none;
  display: block;
}
.category-tile:hover {
  background: var(--accent-dim);
  transform: translateY(-3px);
}
.category-tile .cat-icon {
  font-size: 0; /* no emoji */
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: var(--accent);
}
.category-tile .cat-icon svg { width: 24px; height: 24px; }
.category-tile h4 { margin-bottom: 4px; font-size: 0.95rem; }
.category-tile .cat-count { font-size: 0.78rem; color: var(--accent); }
.menu-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.menu-section:last-of-type { border-bottom: none; }
.menu-section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 36px;
}
.menu-section-header h2 { margin-bottom: 0; }
.menu-section-header .item-count {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}
.menu-items-list { display: flex; flex-direction: column; gap: 0; }
.menu-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-body { flex: 1; }
.menu-item-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.menu-item-body p {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.6;
}
.item-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-new { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border); }
.badge-bestseller { background: rgba(200,90,53,0.15); color: var(--highlight); border: 1px solid rgba(200,90,53,0.25); }
.badge-seasonal { background: rgba(200,90,53,0.08); color: var(--highlight); border: 1px solid rgba(200,90,53,0.18); }
.menu-bottom-cta { padding: 60px 0; text-align: center; }

/* === 19. GALLERY PAGE === */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 36px 0;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  color: var(--cream-dim);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-btn.active,
.filter-btn:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.masonry {
  columns: 4;
  column-gap: 14px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.masonry-item img { width: 100%; display: block; }
.masonry-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,42,30,0.55);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.masonry-item-overlay svg { width: 32px; height: 32px; }
.masonry-item:hover .masonry-item-overlay { opacity: 1; }
/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
}
.lightbox-inner img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(20,42,30,0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--cream);
  transition: background 0.2s;
  z-index: 10;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); color: var(--dark); }
.lb-close { top: -56px; right: 0; }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }
.lb-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lb-next { right: -60px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  color: var(--cream-dim);
}
.gallery-cta { padding: 60px 0; text-align: center; }

/* === 20. CONTACT PAGE === */
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.contact-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.contact-block-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.contact-block-icon svg { width: 22px; height: 22px; }
.contact-block h4 { margin-bottom: 10px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-block p, .contact-block a {
  font-size: 0.9rem;
  color: var(--cream-dim);
}
.contact-block a:hover { color: var(--accent); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.hours-table td { padding: 5px 0; color: var(--cream-dim); }
.hours-table td:first-child { color: var(--cream); font-weight: 600; }

/* Contact Form */
.inquiry-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-section h2 { margin-bottom: 8px; }
.form-section > p { margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--cream);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 130px; resize: vertical; }
#formSuccess {
  display: none;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 22px;
  margin-top: 18px;
  font-size: 0.95rem;
}
#formSuccess.show { display: block; }
.map-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 28px;
  text-align: center;
}
.map-placeholder svg { color: var(--accent); margin-bottom: 16px; }
.map-placeholder h4 { margin-bottom: 8px; }
.map-placeholder p { margin-bottom: 20px; font-size: 0.88rem; }
/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--bg-alt);
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--ff-body);
  transition: background 0.2s;
}
.faq-question:hover { background: var(--accent-dim); }
.faq-question svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.7;
  background: var(--bg-alt);
}
.faq-item.open .faq-answer { max-height: 400px; }

/* === 21. SCROLL TO TOP === */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 900;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: #92d08e; }
#scroll-top svg { width: 20px; height: 20px; }

/* === 22. RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { margin-left: 24px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-item:nth-child(3) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-tiles { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 3; }
  .inquiry-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta.desktop-only { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2n) { border-right: none; }
  .offerings-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid, .cta-split { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
  .contact-blocks { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: repeat(3, 1fr); }
  .philosophy-grid { grid-template-columns: 1fr; }
  .lb-prev { left: -12px; }
  .lb-next { right: -12px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .offerings-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .category-tiles { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 1; }
  .footer-bar { flex-direction: column; text-align: center; }
}
