/* ============================================================
   SOUL PILATES STUDIO — styles.css
   ============================================================ */

/* 1. FONTS */
@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Inter:wght@300;400;500;600&display=swap');

/* 2. CUSTOM PROPERTIES */
:root {
  --dark:       #2C1A0E;
  --bg-alt:     #3D2314;
  --accent:     #9C5E3C;
  --highlight:  #C4885E;
  --cream:      #F5F0E6;
  --cream-dim:  rgba(245, 240, 230, 0.65);
  --accent-dim: rgba(156, 94, 60, 0.14);
  --border:     rgba(156, 94, 60, 0.22);
  --ff-display: 'Tenor Sans', serif;
  --ff-body:    'Inter', sans-serif;
  --nav-h:      72px;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(44,26,14,0.15);
}

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

/* 4. TYPOGRAPHY */
h1,h2,h3,h4,h5 { font-family: var(--ff-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: 0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; letter-spacing: 0.05em; }
p  { font-size: 1rem; color: rgba(44,26,14,0.8); }

/* 5. UTILITY */
.container { width: min(1180px, 92%); margin: 0 auto; }
.section-label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title { color: var(--dark); }
.section-intro {
  font-size: 1.05rem;
  color: rgba(44,26,14,0.7);
  max-width: 620px;
  line-height: 1.8;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--cream);
}
.btn-primary:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--cream); }
.btn-cream {
  background: var(--cream);
  color: var(--dark);
}
.btn-cream:hover { background: var(--highlight); color: var(--cream); }

/* 6. 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: none;
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* 7. NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-text {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.8);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--highlight);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.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); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--cream);
  letter-spacing: 0.1em;
}
.nav-overlay a:hover { color: var(--highlight); }

/* 8. HERO (INDEX) */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,26,14,0.82) 0%,
    rgba(44,26,14,0.55) 50%,
    rgba(44,26,14,0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 1.5rem;
}
.hero-eyebrow span { display: block; width: 32px; height: 1px; background: var(--highlight); }
.hero h1 { color: var(--cream); margin-bottom: 1rem; }
.hero-sub {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(245,240,230,0.85);
  margin-bottom: 0.75rem;
}
.hero-tagline {
  font-size: 1rem;
  color: rgba(245,240,230,0.7);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--cream));
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* 9. PAGE HERO (INNER PAGES) */
.page-hero {
  --page-hero-bg: none;
  position: relative;
  padding: 140px 0 80px;
  background: var(--page-hero-bg) center/cover no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,26,14,0.88) 0%,
    rgba(44,26,14,0.65) 100%
  );
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero .section-label { color: var(--highlight); }
.page-hero p { color: rgba(245,240,230,0.75); max-width: 560px; margin-top: 1rem; font-size: 1.05rem; }

/* 10. FEATURES STRIP */
.features { background: var(--dark); padding: 4rem 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--highlight);
}
.feature-item h4 {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--cream);
  letter-spacing: 0.1em;
}
.feature-item p { font-size: 0.85rem; color: rgba(245,240,230,0.6); }

/* 11. SERVICES GRID (INDEX) */
.services-grid-section { padding: 6rem 0; background: var(--cream); }
.section-header { margin-bottom: 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.service-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-tile:hover img { transform: scale(1.06); }
.service-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,26,14,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.service-tile:hover .service-tile-overlay { opacity: 1; }
.service-tile-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.3rem;
}
.service-tile-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--cream);
}

/* 12. BRAND TEASER */
.brand-teaser { padding: 6rem 0; background: var(--bg-alt); }
.brand-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.brand-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.brand-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.brand-text .section-label { color: var(--highlight); }
.brand-text h2 { color: var(--cream); margin-bottom: 1.5rem; }
.brand-text p { color: rgba(245,240,230,0.7); margin-bottom: 1rem; }

/* 13. STATS ROW */
.stats { padding: 5rem 0; background: var(--dark); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--highlight);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,230,0.55); }

/* 14. REVIEWS */
.reviews { padding: 6rem 0; background: var(--cream); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}
.review-stars { color: var(--highlight); font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.review-text { font-size: 0.95rem; color: rgba(44,26,14,0.8); line-height: 1.8; margin-bottom: 1.25rem; font-style: italic; }
.review-author { font-weight: 600; font-size: 0.88rem; color: var(--accent); }
.review-source { font-size: 0.75rem; color: rgba(44,26,14,0.5); margin-top: 0.2rem; }

/* 15. SOCIAL CTA */
.social-cta { padding: 5rem 0; background: var(--bg-alt); }
.social-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.social-cta h2 { color: var(--cream); margin-bottom: 1rem; }
.social-cta p { color: rgba(245,240,230,0.7); margin-bottom: 2.5rem; }
.social-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* 16. SOCIAL FEED */
.social-feed { padding: 6rem 0; background: var(--cream); }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 2.5rem;
}
.feed-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
}
.feed-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feed-item:hover img { transform: scale(1.08); }
.feed-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,26,14,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.feed-item:hover .feed-item-overlay { opacity: 1; }
.feed-item-overlay svg { width: 28px; height: 28px; color: white; }

/* 17. FOOTER */
.footer {
  background: var(--dark);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer-tagline { font-size: 0.88rem; color: rgba(245,240,230,0.55); margin-bottom: 1.5rem; line-height: 1.6; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,240,230,0.6);
  transition: all 0.3s;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--cream); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h5 {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(245,240,230,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--highlight); }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(245,240,230,0.6);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(245,240,230,0.35); }
.footer-badges { display: flex; gap: 1rem; }
.footer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.4);
  border: 1px solid rgba(245,240,230,0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* 18. ABOUT PAGE */
.origin { padding: 6rem 0; }
.origin-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.philosophy { padding: 6rem 0; background: var(--dark); }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.philosophy-card {
  background: rgba(245,240,230,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background 0.3s;
}
.philosophy-card:hover { background: rgba(156,94,60,0.12); }
.philosophy-card svg { width: 44px; height: 44px; color: var(--highlight); margin: 0 auto 1.25rem; }
.philosophy-card h3 { color: var(--cream); margin-bottom: 0.75rem; font-size: 1.1rem; }
.philosophy-card p { color: rgba(245,240,230,0.6); font-size: 0.92rem; }
.values { padding: 6rem 0; background: var(--cream); }
.values-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; max-width: 780px; }
.value-item { display: flex; gap: 2rem; align-items: flex-start; }
.value-num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}
.value-text h4 { font-family: var(--ff-display); margin-bottom: 0.4rem; font-size: 1.1rem; }
.timeline { padding: 6rem 0; background: var(--bg-alt); }
.timeline-list { max-width: 680px; margin: 3rem auto 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--highlight);
  text-align: right;
  padding-top: 0.2rem;
}
.timeline-dot {
  position: absolute;
  left: 30px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-alt);
}
.timeline-body h4 { color: var(--cream); margin-bottom: 0.3rem; font-size: 1rem; }
.timeline-body p { color: rgba(245,240,230,0.6); font-size: 0.9rem; }
.cta-split { padding: 6rem 0; background: var(--dark); }
.cta-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.cta-split h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-split p { color: rgba(245,240,230,0.65); margin-bottom: 2rem; }
.cta-split-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.cta-split-img img { width: 100%; height: 100%; object-fit: cover; }

/* 19. SERVICES PAGE */
.disclaimer-bar {
  background: var(--accent-dim);
  border-top: 3px solid var(--accent);
  padding: 1.25rem 0;
}
.disclaimer-bar p { font-size: 0.88rem; color: rgba(44,26,14,0.75); max-width: none; text-align: center; }
.category-tiles { padding: 5rem 0; background: var(--cream); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.cat-tile {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/2;
  cursor: pointer;
  text-decoration: none;
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,26,14,0.9) 0%, rgba(44,26,14,0.25) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.cat-tile-name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.cat-tile-count { font-size: 0.78rem; color: var(--highlight); letter-spacing: 0.12em; text-transform: uppercase; }
.services-listing { padding: 5rem 0; background: var(--cream); }
.services-category { margin-bottom: 4rem; }
.services-category:last-child { margin-bottom: 0; }
.cat-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cat-heading-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--cream);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}
.cat-heading h3 { font-size: 1.6rem; color: var(--dark); }
.services-list { display: flex; flex-direction: column; gap: 1rem; }
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(156,94,60,0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.service-item:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(156,94,60,0.1); }
.service-item-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}
.service-item-body h4 { font-family: var(--ff-display); font-size: 1rem; margin-bottom: 0.25rem; color: var(--dark); }
.service-item-body p { font-size: 0.88rem; color: rgba(44,26,14,0.65); line-height: 1.6; margin: 0; }
.services-cta { padding: 5rem 0; background: var(--bg-alt); text-align: center; }
.services-cta h2 { color: var(--cream); margin-bottom: 1rem; }
.services-cta p { color: rgba(245,240,230,0.65); max-width: 520px; margin: 0 auto 2.5rem; }

/* 20. GALLERY PAGE */
.gallery-section { padding: 5rem 0; background: var(--cream); }
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  color: rgba(44,26,14,0.65);
  transition: all 0.2s;
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}
.masonry {
  columns: 4;
  column-gap: 12px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.masonry-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,26,14,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.masonry-item:hover .masonry-item-overlay { opacity: 1; }
.masonry-item-overlay svg { width: 32px; height: 32px; color: white; }
.gallery-cta { padding: 5rem 0; background: var(--dark); text-align: center; }
.gallery-cta h2 { color: var(--cream); margin-bottom: 1rem; }
.gallery-cta p { color: rgba(245,240,230,0.6); max-width: 480px; margin: 0 auto 2rem; }

/* 21. LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
}
.lightbox-img-wrap img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: white;
  font-size: 1.5rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}
.lightbox-nav svg { width: 20px; height: 20px; }

/* 22. CONTACT PAGE */
.contact-section { padding: 6rem 0; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-blocks { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(156,94,60,0.12);
  transition: border-color 0.3s;
}
.contact-block:hover { border-color: var(--accent); }
.contact-block svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-block h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.contact-block p, .contact-block a { font-size: 0.92rem; color: rgba(44,26,14,0.75); line-height: 1.6; }
.contact-block a:hover { color: var(--accent); }
.inquiry-form { background: white; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.inquiry-form h3 { font-family: var(--ff-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.inquiry-form p { font-size: 0.9rem; color: rgba(44,26,14,0.6); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44,26,14,0.55);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(156,94,60,0.2);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: rgba(156,94,60,0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: var(--accent);
  font-weight: 500;
  margin-top: 1rem;
}
.map-section { padding: 4rem 0; background: var(--dark); }
.map-placeholder {
  height: 320px;
  background: rgba(245,240,230,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(245,240,230,0.4);
  font-size: 0.9rem;
}
.map-placeholder svg { width: 36px; height: 36px; }
.faq-section { padding: 6rem 0; background: var(--cream); }
.faq-list { max-width: 720px; margin-top: 3rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  gap: 1rem;
}
.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 0.92rem;
  color: rgba(44,26,14,0.7);
  line-height: 1.8;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.4rem; }

/* SCROLL TO TOP */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(156,94,60,0.4);
}
.scroll-top.show { opacity: 1; transform: none; }
.scroll-top:hover { background: var(--bg-alt); }
.scroll-top svg { width: 20px; height: 20px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 3; }
  .brand-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .origin-inner { grid-template-columns: 1fr; }
  .cta-split-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feed-grid { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 2; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox-prev { left: -50px; }
  .lightbox-next { right: -50px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 1; }
  .hero-actions { flex-direction: column; }
  .lightbox-img-wrap { max-width: 95vw; }
  .lightbox-prev, .lightbox-next { display: none; }
}
