/* ========================================================
   HOME FACTORY — Design System
   Modern + Minimal + Light Theme + Soft Shadows + Bento Grid
   ======================================================== */

:root {
  /* ============================================================
     Light-Luxury Editorial Palette
     Primary accent  · Deep muted green
     Secondary       · Soft peach / blush
     Background      · Warm ivory / cream / very light beige
     ============================================================ */

  /* Backgrounds — warm, airy */
  --c-ivory:        #FAF6EF;   /* warm ivory (primary bg) */
  --c-cream:        #F2EBDC;   /* warm cream */
  --c-beige:        #EAE0CC;   /* very light beige */
  --c-sand:         #DCD0B6;   /* warm sand */
  --c-warm-gray:    #C9C0AE;

  /* Neutrals — stay warm, never cold */
  --c-gray-50:      #F7F3EA;
  --c-gray-100:     #EDE7D8;
  --c-gray-200:     #DCD3BE;
  --c-gray-300:     #B0A795;
  --c-gray-500:     #7B7466;
  --c-gray-700:     #4A4538;
  --c-gray-900:     #232017;   /* warm near-black for text */

  /* PRIMARY — Deep muted green */
  --c-green:        #4A5C42;   /* deep muted green (signature) */
  --c-green-deep:   #354329;   /* forest, hover state */
  --c-green-soft:   #8A9C7E;   /* sage soft */
  --c-green-tint:   #EBEEE3;   /* whisper-green wash bg */

  /* Aliases — keep old token names alive (champagne → green for site cohesion) */
  --c-champagne:    #4A5C42;   /* primary accent now = deep muted green */
  --c-champagne-2:  #354329;   /* deeper green (text-grade) */
  --c-gold-soft:    #E8C4A8;   /* legacy 'gold-soft' now = soft peach (light accent) */

  /* SECONDARY — Soft peach / blush */
  --c-peach:        #E8C4A8;   /* soft peach */
  --c-peach-deep:   #C99A7E;   /* deeper terracotta-peach for hover */
  --c-peach-soft:   #F4DFC9;   /* lighter peach */
  --c-peach-tint:   #FBF1E5;   /* very light peach wash bg */
  --c-blush:        #E8B6A8;   /* warmer blush */

  /* Olive aliases (legacy) — re-pointed to greens */
  --c-olive:        #6B7B5F;   /* sage-olive */
  --c-olive-deep:   #4A5C42;   /* same as primary green */

  --c-text:         #232017;
  --c-text-soft:    #4A4538;
  --c-text-muted:   #7B7466;

  /* Gradients — soft, airy, never harsh */
  --grad-cream:     linear-gradient(180deg, #FAF6EF 0%, #F2EBDC 100%);
  --grad-warm:      linear-gradient(135deg, #FAF6EF 0%, #EAE0CC 100%);
  --grad-gold:      linear-gradient(135deg, #F4DFC9 0%, #E8C4A8 100%);   /* peach gradient */
  --grad-peach:     linear-gradient(135deg, #FBF1E5 0%, #E8C4A8 100%);
  --grad-green:     linear-gradient(135deg, #8A9C7E 0%, #4A5C42 100%);
  --grad-section:   linear-gradient(180deg, #FFFFFF 0%, #FAF6EF 100%);
  --grad-editorial: linear-gradient(180deg, #FAF6EF 0%, #F4DFC9 70%, #FAF6EF 100%);

  /* Typography — Editorial pairing */
  --ff-display:     "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --ff-heading:     "Fraunces", "Playfair Display", Georgia, serif;
  --ff-italic:      "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ff-script:      "Italianno", "Cormorant Garamond", cursive;
  --ff-body:        "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono:        "JetBrains Mono", ui-monospace, monospace;

  /* Spacing scale */
  --s-1:   4px;
  --s-2:   8px;
  --s-3:   12px;
  --s-4:   16px;
  --s-5:   20px;
  --s-6:   24px;
  --s-8:   32px;
  --s-10:  40px;
  --s-12:  48px;
  --s-16:  64px;
  --s-20:  80px;
  --s-24:  96px;
  --s-32:  128px;
  --s-40:  160px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-2xl: 48px;
  --r-full: 999px;

  /* Soft shadows — warm, refined, editorial */
  --sh-xs:  0 1px 2px rgba(74, 69, 56, 0.04);
  --sh-sm:  0 2px 8px rgba(74, 69, 56, 0.06), 0 1px 3px rgba(74, 69, 56, 0.04);
  --sh-md:  0 10px 28px rgba(74, 69, 56, 0.07), 0 3px 8px rgba(74, 69, 56, 0.05);
  --sh-lg:  0 22px 56px rgba(74, 69, 56, 0.09), 0 8px 18px rgba(74, 69, 56, 0.05);
  --sh-xl:  0 40px 90px rgba(74, 69, 56, 0.12), 0 14px 30px rgba(74, 69, 56, 0.06);
  --sh-gold: 0 18px 48px rgba(232, 196, 168, 0.42), 0 6px 14px rgba(232, 196, 168, 0.22);  /* peach glow */
  --sh-green: 0 18px 48px rgba(74, 92, 66, 0.22), 0 6px 14px rgba(74, 92, 66, 0.14);
  --sh-glass: 0 18px 64px rgba(74, 69, 56, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.7);

  /* Layout */
  --container:    1280px;
  --container-wide: 1440px;
  --header-h:     84px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxe:    cubic-bezier(0.19, 1, 0.22, 1);
  --t-slow:       0.9s;
  --t-luxe:       1.2s;

  /* Borders */
  --bd-soft:    1px solid rgba(31, 28, 24, 0.06);
  --bd-mid:     1px solid rgba(31, 28, 24, 0.10);
  --bd-strong:  1px solid rgba(31, 28, 24, 0.18);
}

/* ========================================================
   BASE
   ======================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

a:hover { color: var(--c-champagne-2); }

button { font-family: inherit; cursor: pointer; }

/* ========================================================
   TYPOGRAPHY
   ======================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--ff-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-text);
  margin: 0;
}

.display-1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.display-1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-champagne-2);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-champagne-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-champagne);
}

.eyebrow.center { justify-content: center; }
.eyebrow.center::before {
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--c-text-soft);
  line-height: 1.55;
  max-width: 62ch;
}

p { margin: 0 0 1em; color: var(--c-text-soft); }

/* ========================================================
   LAYOUT
   ======================================================== */

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

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(64px, 9vw, 130px) 0;
  position: relative;
}

.section-tight {
  padding: clamp(48px, 7vw, 90px) 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 70px);
  max-width: 760px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.section-head h2 { line-height: 1.05; }

.section-head .subtitle {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.section-head.center .subtitle { margin: 0 auto; }

.section-head--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 32px;
  flex-wrap: wrap;
}

/* ========================================================
   BUTTONS
   ======================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--c-gray-900);
  color: var(--c-ivory);
  box-shadow: var(--sh-md);
}

.btn-primary:hover {
  background: var(--c-gray-700);
  color: var(--c-ivory);
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--c-gray-900);
  box-shadow: var(--sh-gold);
}

.btn-gold:hover {
  color: var(--c-gray-900);
  box-shadow: 0 24px 60px rgba(74, 92, 66, 0.32);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--grad-green);
  color: #fff;
  box-shadow: var(--sh-green);
}

.btn-green:hover {
  color: #fff;
  box-shadow: 0 24px 60px rgba(107, 142, 90, 0.40);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-gray-200);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--c-text);
  border-color: var(--c-gray-300);
  box-shadow: var(--sh-sm);
}

.btn-light {
  background: #fff;
  color: var(--c-text);
  box-shadow: var(--sh-sm);
}

.btn-light:hover {
  color: var(--c-text);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.btn-link {
  padding: 0;
  background: none;
  color: var(--c-champagne-2);
  font-weight: 500;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

.btn-lg { padding: 18px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ========================================================
   HEADER / NAVIGATION
   ======================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 243, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(31, 28, 24, 0.06);
  box-shadow: 0 4px 30px rgba(31, 28, 24, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--c-text);
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: var(--sh-gold);
  flex-shrink: 0;
}

.brand-text { line-height: 1.05; }
.brand-text small {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text-soft);
  border-radius: var(--r-full);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-text);
  background: rgba(74, 92, 66, 0.10);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-gray-200);
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-text);
  transition: all 0.3s var(--ease);
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 92vw);
  background: var(--c-ivory);
  z-index: 100;
  transform: translateX(105%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 32px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.1);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu .close {
  align-self: flex-end;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-gray-200);
  background: #fff;
  display: grid; place-items: center;
}

.mobile-menu nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-gray-100);
  color: var(--c-text);
}

.mobile-menu .btn { margin-top: 24px; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 28, 24, 0.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ========================================================
   HERO
   ======================================================== */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 60px;
  overflow: hidden;
  background: var(--grad-warm);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy .display-1 {
  letter-spacing: -0.03em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--c-gray-200);
}

.hero-stat .num {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--c-text);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: 8px;
  display: block;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: clamp(520px, 75vh, 720px);
}

.hero-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  background: var(--c-cream);
}

.hero-img-1 { grid-row: span 2; }
.hero-img-2 {}
.hero-img-3 {}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero-img:hover img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  padding: 12px 18px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--sh-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-olive);
  box-shadow: 0 0 0 4px rgba(74, 92, 66, 0.25);
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 60vh; min-height: 420px; }
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { grid-template-columns: 1fr; grid-template-rows: 1.4fr 1fr; }
  .hero-img-3 { display: none; }
}

/* Subpage hero */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 70px;
  background: var(--grad-warm);
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.page-hero-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-hero-img {
  height: 460px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}

.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .page-hero .container { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-img { height: 320px; }
}

/* ========================================================
   BENTO GRID — signature layouts
   ======================================================== */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-item {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--sh-sm);
  border: var(--bd-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.bento-item.bg-cream { background: var(--c-cream); }
.bento-item.bg-beige { background: var(--c-beige); }
.bento-item.bg-sand { background: var(--c-sand); }
.bento-item.bg-gold { background: var(--grad-gold); color: var(--c-gray-900); }
.bento-item.bg-olive { background: var(--c-olive); color: #fff; }
.bento-item.bg-dark { background: var(--c-gray-900); color: var(--c-ivory); }

.bento-item.bg-gold p { color: rgba(31, 31, 27, 0.75); }
.bento-item.bg-gold h3,
.bento-item.bg-gold h4 { color: var(--c-gray-900); }
.bento-item.bg-gold .bento-icon { background: rgba(31, 31, 27, 0.10); color: var(--c-gray-900); }
.bento-item.bg-gold .eyebrow { color: var(--c-olive-deep); }
.bento-item.bg-gold .eyebrow::before { background: var(--c-olive-deep); }

.bento-item.bg-olive p,
.bento-item.bg-dark p { color: rgba(255,255,255,0.78); }

.bento-item.bg-olive h3,
.bento-item.bg-dark h3 { color: #fff; }

/* Bento span helpers */
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.row-2 { grid-row: span 2; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .span-3, .span-4 { grid-column: span 3; }
  .span-5, .span-6, .span-7 { grid-column: span 6; }
  .span-8, .span-9, .span-12 { grid-column: span 6; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item { grid-column: 1 / -1 !important; min-height: 180px; }
  .row-2 { grid-row: auto; }
}

/* Image-bento variants */
.bento-img {
  padding: 0;
  min-height: 280px;
}

.bento-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.bento-img:hover img { transform: scale(1.04); }

.bento-img .overlay {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(31,28,24,0.85) 100%);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  color: #fff;
}

.bento-img .overlay h3 { color: #fff; }
.bento-img .overlay p { color: rgba(255,255,255,0.8); margin-bottom: 0; }

/* Bento icon */
.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--c-cream);
  color: var(--c-champagne-2);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.bento-icon svg { width: 26px; height: 26px; }

.bg-gold .bento-icon,
.bg-olive .bento-icon,
.bg-dark .bento-icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Big number bento */
.bento-num {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c-champagne-2);
  margin-bottom: 12px;
}

.bento-item.bg-gold .bento-num { color: var(--c-gray-900); }
.bento-item.bg-dark .bento-num { color: var(--c-gold-soft); }
.bento-item.bg-olive .bento-num { color: #fff; }

/* ========================================================
   CARDS (products / projects / solutions)
   ======================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1000px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .card-grid.cols-4,
  .card-grid.cols-3,
  .card-grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--bd-soft);
  box-shadow: var(--sh-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-cream);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.card:hover .card-media img { transform: scale(1.06); }

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-text);
}

.card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}

.card-meta span { display: inline-flex; align-items: center; gap: 6px; }

.card-cta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--c-gray-100);
}

.card-cta a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-champagne-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-cta a svg {
  width: 14px; height: 14px;
  transition: transform 0.4s var(--ease);
}
.card-cta a:hover svg { transform: translateX(4px); }

/* Project card variant — darker overlay */
.project-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--sh-md);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  display: block;
  background: var(--c-gray-900);
  cursor: pointer;
}

.project-card:focus-visible {
  outline: 3px solid var(--c-champagne);
  outline-offset: 3px;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.project-card:hover img { transform: scale(1.08); }

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(31,28,24,0.85) 100%);
  pointer-events: none;
}

.project-card .info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 2;
  color: #fff;
}

.project-card .info .country {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.project-card .info h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.project-card .info .scope {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
}

.project-card .arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 3;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.project-card:hover .arrow {
  background: var(--c-champagne);
  color: #fff;
  transform: rotate(-45deg);
}

/* ========================================================
   FILTERS / TABS
   ======================================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--c-gray-200);
  background: #fff;
  border-radius: var(--r-full);
  color: var(--c-text-soft);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--c-champagne);
  color: var(--c-text);
}

.filter-btn.active {
  background: var(--c-gray-900);
  color: var(--c-ivory);
  border-color: var(--c-gray-900);
}

/* Sidebar layout for products */
.with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .with-sidebar { grid-template-columns: 1fr; }
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  border: var(--bd-soft);
  box-shadow: var(--sh-sm);
}

.sidebar h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 16px;
  font-family: var(--ff-body);
  font-weight: 600;
}

.sidebar-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  color: var(--c-text-soft);
  text-align: left;
  transition: all 0.3s var(--ease);
}

.sidebar-list button:hover { background: var(--c-cream); color: var(--c-text); }

.sidebar-list button.active {
  background: var(--c-gray-900);
  color: var(--c-ivory);
}

.sidebar-list button.active .count { background: rgba(255,255,255,0.15); color: #fff; }

.sidebar-list .count {
  font-size: 0.75rem;
  background: var(--c-gray-100);
  color: var(--c-text-muted);
  padding: 2px 9px;
  border-radius: var(--r-full);
}

/* ========================================================
   HIGHLIGHT / FEATURE STRIPS
   ======================================================== */

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight {
  background: #fff;
  border: var(--bd-soft);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.highlight .icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--c-cream);
  color: var(--c-champagne-2);
  display: grid; place-items: center;
}

.highlight .icon svg { width: 24px; height: 24px; }

.highlight h4 {
  font-size: 1.05rem;
  color: var(--c-text);
}

.highlight p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .highlights { grid-template-columns: 1fr; }
}

/* ========================================================
   SOLUTIONS PROBLEM-SOLUTION BLOCKS
   ======================================================== */

.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--c-gray-100);
}

.solution-block:last-child { border-bottom: 0; }

.solution-block.reverse .text-col { order: 2; }

.solution-block .img-col {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 500px;
  box-shadow: var(--sh-lg);
}

.solution-block .img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.solution-block .text-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.problem-solution {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 12px 0;
}

.problem-solution .ps-row {
  background: var(--c-cream);
  border-left: 3px solid var(--c-champagne);
  padding: 16px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.problem-solution .ps-row.solution {
  background: rgba(107, 142, 90, 0.12);
  border-left-color: var(--c-olive);
}

.problem-solution .ps-row strong {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.problem-solution .ps-row p { margin: 0; color: var(--c-text-soft); font-size: 0.95rem; }

@media (max-width: 900px) {
  .solution-block { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }
  .solution-block.reverse .text-col { order: unset; }
  .solution-block .img-col { height: 320px; }
}

/* ========================================================
   TIMELINE
   ======================================================== */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--c-gray-200);
  z-index: 0;
}

.timeline-step {
  position: relative;
  text-align: center;
  z-index: 2;
}

.timeline-step .year {
  display: inline-flex;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 18px;
  box-shadow: var(--sh-sm);
}

.timeline-step.active .year {
  background: var(--grad-gold);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--sh-gold);
}

.timeline-step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-step p { font-size: 0.88rem; color: var(--c-text-muted); margin: 0; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
}

@media (max-width: 500px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ========================================================
   TESTIMONIALS / CLIENT LOGOS
   ======================================================== */

/* Testimonial carousel */
.testi-carousel-wrap {
  position: relative;
  padding: 0 52px;
}

.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--c-gray-100);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  transition: background .15s, color .15s, box-shadow .15s;
  z-index: 2;
}
.testi-nav-btn:hover {
  background: var(--c-gold);
  color: #fff;
  border-color: var(--c-gold);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.testi-prev { left: 0; }
.testi-next { right: 0; }

@media (max-width: 600px) {
  .testi-carousel-wrap { padding: 0 36px; }
}

.testimonial {
  flex: 0 0 calc(33.33% - 16px);
  min-width: 260px;
  scroll-snap-align: start;
  background: #fff;
  padding: 32px;
  border-radius: var(--r-lg);
  border: var(--bd-soft);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial .quote {
  font-family: var(--ff-heading);
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--c-text);
  margin: 0;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-gray-100);
}

.testimonial .who .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
}

.testimonial .who .meta {
  font-size: 0.85rem;
  line-height: 1.3;
}
.testimonial .who .meta strong { display: block; color: var(--c-text); }
.testimonial .who .meta span { color: var(--c-text-muted); font-size: 0.8rem; }

@media (max-width: 860px) {
  .testimonial { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 560px) {
  .testimonial { flex: 0 0 min(340px, 85vw); }
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
  padding: 32px;
  background: #fff;
  border-radius: var(--r-lg);
  border: var(--bd-soft);
  box-shadow: var(--sh-sm);
}

.client-logo {
  display: grid; place-items: center;
  height: 60px;
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  border-right: 1px solid var(--c-gray-100);
  padding: 0 12px;
  text-align: center;
  transition: color 0.3s var(--ease);
}

.client-logo:last-child { border-right: 0; }
.client-logo:hover { color: var(--c-text); }

@media (max-width: 800px) {
  .client-strip { grid-template-columns: repeat(3, 1fr); }
  .client-logo:nth-child(3n) { border-right: 0; }
}

@media (max-width: 480px) {
  .client-strip { grid-template-columns: repeat(2, 1fr); }
  .client-logo { border-right: 0; }
}

/* ========================================================
   CTA BANNER
   ======================================================== */

.cta-banner {
  background: var(--c-gray-900);
  color: var(--c-ivory);
  border-radius: var(--r-2xl);
  padding: clamp(48px, 7vw, 90px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(232, 196, 168, 0.22), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(74, 92, 66, 0.18), transparent 55%);
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 2; }

.cta-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.025em;
}

.cta-banner h2 em {
  color: var(--c-gold-soft);
  font-style: italic;
  font-weight: 300;
}

.cta-banner p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 24px;
}

.cta-banner .btn-row .btn-ghost {
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  background: transparent;
}

.cta-banner .btn-row .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.cta-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
}

.cta-aside .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
}

.cta-aside .row:last-child { border-bottom: 0; }
.cta-aside .row span:first-child { color: rgba(255,255,255,0.55); }
.cta-aside .row span:last-child { color: #fff; font-weight: 500; }

/* Product-detail: centred single-column CTA */
.cta-banner--centered {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.cta-banner--centered .btn-row { justify-content: center; }
.cta-banner--centered .cta-aside { display: none; }

/* FIX #6 — Centre the CTA banner inside its white section */
.cta-banner {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .cta-banner { grid-template-columns: 1fr; padding: 48px 32px; }
}

/* ========================================================
   FOOTER
   ======================================================== */

.site-footer {
  background: var(--c-cream);
  padding: 80px 0 32px;
  position: relative;
  border-top: 1px solid var(--c-gray-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  max-width: 38ch;
  margin: 18px 0 24px;
}

.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 18px;
  font-family: var(--ff-body);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--c-text-soft);
}

.footer-col a:hover { color: var(--c-champagne-2); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--c-gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-admin-link {
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.footer-admin-link:hover { opacity: 1; color: var(--c-champagne); }

/* ── Solution phases ── */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.phase-item {
  background: var(--c-surface, #fff);
  border-radius: var(--r-lg);
  border: var(--bd-soft);
  padding: 28px 26px 30px;
  position: relative;
}
.phase-num {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--c-champagne-2);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 16px;
}
.phase-item h4 { margin-bottom: 10px; font-size: 1.05rem; }
.phase-item p  { font-size: 0.92rem; color: var(--c-text-muted); margin: 0; }

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  color: var(--c-text-soft);
  border: var(--bd-soft);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--c-gray-900);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; }

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

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .phases-grid { grid-template-columns: 1fr 1fr; }
  .detail-wide-header { padding: 20px 0 32px; margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .phases-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   FLOATING WHATSAPP
   ======================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 60;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg { width: 28px; height: 28px; }

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.4;
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ── Pollmeier Partner floating badge ── */
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.partner-float {
  position: absolute;
  bottom: 120px;
  left: 32px;
  z-index: 10;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
  min-width: 168px;
  text-align: center;
  animation: bob 3.2s ease-in-out infinite;
  border: 1px solid rgba(0,0,0,.06);
  cursor: default;
  user-select: none;
  transition: box-shadow .3s var(--ease);
}
.partner-float:hover {
  box-shadow: 0 18px 52px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.08);
  animation-play-state: paused;
}

.partner-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #c9a450, #e8c96a);
  color: #06100a;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}
.partner-float-star { flex-shrink: 0; display: inline-flex; align-items: center; }

.partner-float-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}
.partner-float-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.partner-float-name {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-text);
}
.partner-float-sub {
  font-size: .7rem;
  color: var(--c-text-muted);
  letter-spacing: .04em;
}

@media (max-width: 480px) {
  .partner-float { left: 16px; bottom: 100px; min-width: 144px; padding: 10px 14px 8px; }
}

/* ========================================================
   FORMS
   ======================================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-text-soft);
  letter-spacing: 0.02em;
}

.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-md);
  color: var(--c-text);
  transition: all 0.3s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-champagne);
  box-shadow: 0 0 0 4px rgba(74, 92, 66, 0.16);
}

.field textarea { resize: vertical; min-height: 120px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ========================================================
   PRODUCT / PROJECT DETAIL PAGE
   ======================================================== */

.detail-wide-header {
  grid-column: 1 / -1;
  padding-bottom: 28px;
  border-bottom: var(--bd-soft);
}
.detail-wide-header .eyebrow { margin-bottom: 8px; }

/* ── Product detail: flat grid layout ── */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas:
    "header  header"
    "img     specs"
    "thumbs  info";
  column-gap: 56px;
  row-gap: 14px;
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.detail-wide-header { grid-area: header; }

.detail-main-img {
  grid-area: img;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-cream);
  box-shadow: var(--sh-md);
  position: relative;
}
.detail-main-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.detail-spec-panel {
  grid-area: specs;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-champagne) transparent;
}
.detail-spec-panel::-webkit-scrollbar { width: 4px; }
.detail-spec-panel::-webkit-scrollbar-thumb { background: var(--c-champagne); border-radius: 4px; }
.detail-spec-panel .spec-table { margin: 0; }

.detail-thumbs-wrap {
  grid-area: thumbs;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-champagne) transparent;
}
.detail-thumbs-wrap::-webkit-scrollbar { height: 3px; }
.detail-thumbs-wrap::-webkit-scrollbar-thumb { background: var(--c-champagne); border-radius: 4px; }
.detail-thumbs-wrap::-webkit-scrollbar-track { background: transparent; }

.detail-info-body { grid-area: info; }

/* Thumb appearance — shared between detail-thumbs-wrap and any other thumb strips */
.thumb {
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-cream);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
  scroll-snap-align: start;
}
.thumb:hover { transform: translateY(-2px); border-color: var(--c-champagne); }
.thumb.active { border-color: var(--c-champagne); box-shadow: 0 0 0 3px rgba(74,92,66,.20); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.thumb:hover img { transform: scale(1.06); }

.thumb.thumb-empty {
  cursor: default;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-gray-50);
  border: 2px dashed var(--c-gray-200);
}
.thumb.thumb-empty:hover { transform: none; border-color: var(--c-gray-200); }
.thumb-empty-icon { color: var(--c-gray-300); display: flex; align-items: center; justify-content: center; }

.spec-table {
  background: #fff;
  border: var(--bd-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 16px 22px;
  border-bottom: 1px solid var(--c-gray-100);
  font-size: 0.92rem;
}

.spec-row:last-child { border-bottom: 0; }

.spec-row .label {
  color: var(--c-text-muted);
  font-weight: 500;
}

.spec-row .value {
  color: var(--c-text);
  font-weight: 500;
}

@media (max-width: 600px) {
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "img" "thumbs" "specs" "info";
    row-gap: 20px;
  }
  .detail-spec-panel { height: auto !important; }
}

/* Tag list */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  padding: 7px 14px;
  background: var(--c-cream);
  color: var(--c-text);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.tag.outline {
  background: transparent;
  border: 1px solid var(--c-gray-200);
  color: var(--c-text-soft);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--c-text-muted);
  margin-bottom: 14px;
}

.breadcrumb a:hover { color: var(--c-champagne-2); }
.breadcrumb .sep { color: var(--c-gray-300); }

/* ========================================================
   MAP / EXPORT
   ======================================================== */

.map-block {
  background: #fff;
  border-radius: var(--r-xl);
  border: var(--bd-soft);
  box-shadow: var(--sh-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 560px;
}

.map-block .map {
  background: linear-gradient(135deg, var(--c-ivory) 0%, var(--c-cream) 100%);
  position: relative;
  overflow: hidden;
}

.map-block .map svg {
  width: 100%; height: 100%;
  display: block;
}

/* ========================================================
   STATIC WORLD MAP + PIN POINTS  (export markets)
   ======================================================== */

.static-world-map {
  position: relative;
  width: 100%;
  min-height: 100%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(232, 196, 168, 0.15), transparent 60%),
    linear-gradient(135deg, var(--c-ivory) 0%, var(--c-cream) 100%);
}

/* FIX #8 — Light map: invert black fill → white, tint warm, low opacity */
.static-world-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: invert(1) brightness(1.08) sepia(0.18) hue-rotate(155deg) saturate(0.35) opacity(0.55);
  user-select: none;
  -webkit-user-drag: none;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 3;
}

.map-pin .pin-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-green);
  border: 2px solid var(--c-ivory);
  box-shadow: 0 0 0 1px rgba(74, 92, 66, 0.3), 0 4px 10px rgba(74, 92, 66, 0.35);
  transition: transform 0.45s var(--ease-luxe), box-shadow 0.45s var(--ease-luxe);
  position: relative;
  z-index: 2;
}

.map-pin .pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-green);
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: mapPulse 2.4s var(--ease-luxe) infinite;
}

@keyframes mapPulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(3.6); opacity: 0; }
}

.map-pin.pin-sm .pin-dot {
  width: 8px;
  height: 8px;
  border-width: 1.5px;
  box-shadow: 0 0 0 1px rgba(74, 92, 66, 0.25), 0 3px 6px rgba(74, 92, 66, 0.30);
}

.map-pin.pin-secondary .pin-dot {
  background: var(--c-peach-deep);
  box-shadow: 0 0 0 1px rgba(201, 154, 126, 0.35), 0 4px 10px rgba(201, 154, 126, 0.35);
}
.map-pin.pin-secondary .pin-pulse { background: var(--c-peach-deep); }

.map-pin.pin-hub {
  width: 18px;
  height: 18px;
}
.map-pin.pin-hub .pin-dot {
  width: 16px;
  height: 16px;
  background: var(--c-green-deep);
  border-width: 3px;
  box-shadow: 0 0 0 2px var(--c-green), 0 6px 16px rgba(74, 92, 66, 0.45);
}
.map-pin.pin-hub .pin-pulse {
  width: 16px;
  height: 16px;
  background: var(--c-green);
}

.map-pin:hover .pin-dot,
.map-pin:focus-visible .pin-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px var(--c-green), 0 8px 18px rgba(74, 92, 66, 0.45);
  outline: none;
}

/* Pin tooltip */
.map-pin .pin-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--c-gray-900);
  color: var(--c-ivory);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-luxe), transform 0.35s var(--ease-luxe);
  box-shadow: 0 12px 30px rgba(35, 32, 23, 0.30);
  text-align: center;
  line-height: 1.3;
  z-index: 10;
}

.map-pin .pin-tip small {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
}

.map-pin .pin-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--c-gray-900);
}

.map-pin:hover .pin-tip,
.map-pin:focus-visible .pin-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Map legend */
.map-legend {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 69, 56, 0.10);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--c-text-soft);
  z-index: 4;
  box-shadow: var(--sh-sm);
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--c-ivory);
  box-shadow: 0 0 0 1px rgba(74, 69, 56, 0.18);
}

.legend-hub {
  background: var(--c-green-deep);
  width: 12px; height: 12px;
}
.legend-primary { background: var(--c-green); }
.legend-secondary { background: var(--c-peach-deep); }

@media (max-width: 700px) {
  .map-pin { width: 11px; height: 11px; }
  .map-pin .pin-dot { width: 9px; height: 9px; border-width: 1.5px; }
  .map-pin.pin-hub .pin-dot { width: 13px; height: 13px; border-width: 2px; }
  .map-pin.pin-sm .pin-dot { width: 6px; height: 6px; border-width: 1.5px; }
  .map-legend { font-size: 0.66rem; padding: 9px 12px; bottom: 12px; left: 12px; }
}

/* ========================================================
   CINEMATIC EDITORIAL POLISH
   - Soft radial glow on hero/page-hero
   - Card hover lift + glow
   - Brand-text subtle hide if logo carries wordmark
   ======================================================== */

/* Page heroes get a subtle cinematic warm glow + low-opacity grid */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-ivory);
}

.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(232, 196, 168, 0.32), transparent 55%),
    radial-gradient(circle at 5% 85%, rgba(74, 92, 66, 0.06), transparent 55%);
  pointer-events: none; z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute; inset: var(--header-h) 0 0 0;
  background-image: linear-gradient(to right, rgba(74, 69, 56, 0.04) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none; z-index: 0;
}

.page-hero > .container,
.page-hero > .container-wide { position: relative; z-index: 1; }

/* Card luxury glow */
.card,
.bento-item {
  transition: transform var(--t-luxe) var(--ease-luxe), box-shadow var(--t-luxe) var(--ease-luxe);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(74, 69, 56, 0.10), 0 8px 18px rgba(74, 69, 56, 0.05);
}

/* Project card receives a richer hover */
.project-card:hover {
  box-shadow: 0 32px 80px rgba(74, 92, 66, 0.20), 0 12px 24px rgba(74, 69, 56, 0.10);
}

/* Brand wordmark — always shown next to the logo image */
.brand .brand-text { display: block; }

@media (max-width: 600px) {
  /* On phones: keep just the company name, drop the small tagline */
  .brand .brand-text small { display: none; }
}

@media (max-width: 380px) {
  /* On very narrow screens: hide the wordmark, show only the logo */
  .brand .brand-text { display: none; }
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .map-pin .pin-pulse { animation: none; opacity: 0; }
  .whatsapp-float::after { animation: none; opacity: 0; }
}

.map-block .countries {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
}

.map-block .countries h3 { margin-bottom: 22px; }

/* FIX #7 — Country list scrollable */
.country-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gray-300) transparent;
}

.country-list::-webkit-scrollbar { width: 4px; }
.country-list::-webkit-scrollbar-track { background: transparent; }
.country-list::-webkit-scrollbar-thumb { background: var(--c-gray-300); border-radius: 4px; }

.country-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-gray-100);
  font-size: 0.95rem;
}

.country-list li:last-child { border-bottom: 0; }

.country-list .flag {
  font-size: 1.2rem;
  margin-right: 12px;
}

.country-list .name {
  flex: 1;
  font-weight: 500;
}

.country-list .stat {
  font-size: 0.82rem;
  color: var(--c-text-muted);
}

@media (max-width: 900px) {
  .map-block { grid-template-columns: 1fr; }
  .map-block .map { min-height: 360px; }
}

/* ========================================================
   ANIMATIONS — reveal on scroll
   ======================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ========================================================
   UTILITIES
   ======================================================== */

.bg-cream-soft { background: var(--grad-cream); }
.bg-section { background: var(--grad-section); }
.bg-white { background: #fff; }
.bg-warm { background: var(--grad-warm); }

.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.text-gold  { color: var(--c-champagne-2); }

.divider {
  height: 1px;
  background: var(--c-gray-200);
  margin: 80px 0;
}

.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(74, 92, 66, 0.12);
  color: var(--c-champagne-2);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.label-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-champagne);
}

/* Marquee strip — subtle animated slogan */
.marquee {
  background: var(--c-gray-900);
  color: var(--c-ivory);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 32s linear infinite;
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.marquee-track .sep {
  color: var(--c-gold-soft);
  font-style: italic;
  font-weight: 300;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========================================================
   HELPERS — page-hero overlay tints
   ======================================================== */

.tint-cream { background: var(--grad-cream); }
.tint-warm  { background: var(--grad-warm); }
.tint-dark  { background: var(--c-gray-900); color: var(--c-ivory); }

.tint-dark h1, .tint-dark h2, .tint-dark h3 { color: #fff; }
.tint-dark p, .tint-dark .lead { color: rgba(255,255,255,0.78); }
.tint-dark .eyebrow { color: var(--c-gold-soft); }
.tint-dark .eyebrow::before { background: var(--c-gold-soft); }

/* ========================================================
   LOGO IMAGE — used in header / footer / mobile
   ======================================================== */

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.site-footer .brand-logo { height: 48px; }

/* ========================================================
   SECTION INTRO — text on left, image on right
   ======================================================== */

.section-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}

.section-intro-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 540px;
}

.section-intro-text h2 { line-height: 1.05; }
.section-intro-text .subtitle { color: var(--c-text-muted); font-size: 1.02rem; max-width: 50ch; }

.section-intro-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--sh-lg);
}

.section-intro-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.section-intro-img:hover img { transform: scale(1.04); }

.section-intro-img .float-stat {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  padding: 14px 18px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--sh-md);
}

.section-intro-img .float-stat strong {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--c-text);
  display: block;
  line-height: 1;
}

.section-intro-img .float-stat small {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

@media (max-width: 900px) {
  .section-intro { grid-template-columns: 1fr; gap: 32px; }
  .section-intro-img { height: 280px; }
}

/* ========================================================
   LIGHTBOX (project / image popup)
   ======================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 15, 12, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-card {
  max-width: 1100px;
  width: 100%;
  max-height: calc(100vh - 64px);
  background: var(--c-ivory);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.5s var(--ease);
}

.lightbox.open .lightbox-card {
  transform: none;
}

.lightbox-img {
  background: var(--c-gray-900);
  position: relative;
  min-height: 380px;
  max-height: calc(100vh - 64px);
}

.lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.lightbox-info .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
  color: var(--c-text-muted);
}

.lightbox-info .meta-row span { display: inline-flex; align-items: center; gap: 6px; }

.lightbox-info h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin: 4px 0 0;
}

.lightbox-info .scope {
  font-size: .98rem;
  color: var(--c-text-soft);
  line-height: 1.55;
}

.lightbox-info .actions {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--c-gray-100);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: var(--sh-md);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.lightbox-close:hover {
  background: #fff;
  transform: rotate(90deg);
}

.lightbox-close svg { width: 18px; height: 18px; }

@media (max-width: 800px) {
  .lightbox { padding: 16px; }
  .lightbox-card {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 1fr;
    max-height: calc(100vh - 32px);
  }
  .lightbox-img { min-height: 240px; }
  .lightbox-info { padding: 24px; }
}

/* ========================================================
   SOLUTION COLLAGE — main + 3 thumbs (used on solutions page)
   ======================================================== */

.solution-collage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-collage .sc-main {
  height: 360px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  position: relative;
  cursor: zoom-in;
}

.solution-collage .sc-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}

.solution-collage .sc-main:hover img { transform: scale(1.04); }

.solution-collage .sc-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.solution-collage .sc-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  cursor: zoom-in;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.solution-collage .sc-thumb:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.solution-collage .sc-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.solution-collage .sc-thumb:hover img { transform: scale(1.1); }

@media (max-width: 900px) {
  .solution-collage .sc-main { height: 280px; }
}

/* Project card — "expand" hint on hover */
.project-card .arrow.lightbox-hint {
  background: rgba(255, 255, 255, 0.92);
}
.project-card:hover .arrow.lightbox-hint {
  background: var(--c-champagne);
  color: #fff;
}

/* ========================================================
   ╭──────────────────────────────────────────╮
   │   EDITORIAL · LIGHT-LUXURY UPGRADE       │
   ╰──────────────────────────────────────────╯
   ======================================================== */

/* Body type lighter for luxury feel */
body { font-weight: 400; letter-spacing: -0.005em; }

/* Re-tune display headings for editorial weight */
.display-1 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.98;
}

.display-1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
}

/* Script accent — for words like "premium", "the best" */
.script-accent {
  font-family: var(--ff-script);
  font-weight: 400;
  font-style: normal;
  font-size: 1.7em;
  line-height: 0.7;
  color: var(--c-peach-deep);
  letter-spacing: -0.01em;
  display: inline-block;
  vertical-align: -0.18em;
  padding: 0 0.05em;
}

.script-accent.green { color: var(--c-green); }

/* Italic editorial accent — secondary serif italic */
.italic-accent {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
}

/* Eyebrow — refine for editorial */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--c-green);
}
.eyebrow::before { background: var(--c-green); width: 32px; }

/* Container thin grid lines — magazine bg */
.bg-grid-lines {
  position: relative;
}
.bg-grid-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(74, 69, 56, 0.045) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
  z-index: 0;
}
.bg-grid-lines > * { position: relative; z-index: 1; }

@media (max-width: 800px) {
  .bg-grid-lines::before {
    background-size: calc(100% / 6) 100%;
  }
}

/* Arched image frame */
.frame-arch {
  position: relative;
  border-radius: 50% 50% 8px 8px / 28% 28% 6px 6px;
  overflow: hidden;
  background: var(--c-cream);
  box-shadow: var(--sh-xl);
  isolation: isolate;
}

.frame-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
}

.frame-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-luxe) var(--ease-luxe);
}

.frame-arch:hover img { transform: scale(1.04); }

/* Soft rounded frame (alternative to arch) */
.frame-soft {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  background: var(--c-cream);
  position: relative;
}
.frame-soft img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-luxe) var(--ease-luxe);
}
.frame-soft:hover img { transform: scale(1.04); }

/* Decorative serif numeric badge (e.g. "01" for editorial section labels) */
.serif-num {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
}

/* ========================================================
   GLASSMORPHISM PRODUCT PREVIEW CARD
   ======================================================== */

.preview-card {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-glass);
  padding: 22px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-luxe) var(--ease-luxe), box-shadow var(--t-luxe) var(--ease-luxe);
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(74, 69, 56, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.preview-card .pc-media {
  aspect-ratio: 4/3;
  background: var(--c-peach-tint);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}

.preview-card .pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease-luxe);
}

.preview-card .pc-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-green);
}

.preview-card .pc-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.preview-card .pc-title h4 {
  font-family: var(--ff-italic);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.005em;
  color: var(--c-text);
}

.preview-card .pc-price {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--c-green);
  font-size: 1.15rem;
  white-space: nowrap;
}

.preview-card .pc-desc {
  font-size: 0.84rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.5;
}

.preview-card .pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(74, 69, 56, 0.10);
}

.preview-card .pc-swatches {
  display: flex;
  gap: 6px;
}

.preview-card .swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.6);
  box-shadow: 0 0 0 1px rgba(74, 69, 56, 0.12), 0 1px 3px rgba(74, 69, 56, 0.08);
  transition: transform 0.4s var(--ease-luxe), box-shadow 0.4s var(--ease-luxe);
}

.preview-card .swatch:hover { transform: scale(1.18); }
.preview-card .swatch.active {
  box-shadow: 0 0 0 2px var(--c-green), 0 1px 3px rgba(74, 69, 56, 0.12);
}

/* FIX #4 — All swatches unified to ash/neutral gray; tooltip via title attr */
.preview-card .swatch.s-walnut,
.preview-card .swatch.s-oak,
.preview-card .swatch.s-ash,
.preview-card .swatch.s-ebony,
.preview-card .swatch.s-sage,
.preview-card .swatch.s-peach  { background: #B0A99C; }

/* Dot navigation for preview card */
.preview-card .pc-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.preview-card .pc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C4BDB5;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), width 0.3s var(--ease);
  flex-shrink: 0;
}

.preview-card .pc-dot:hover {
  background: #9E9890;
  transform: scale(1.25);
}

.preview-card .pc-dot.active {
  background: var(--c-green);
  width: 18px;
  border-radius: 4px;
}

.preview-card .pc-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-green);
  background: transparent;
  color: var(--c-green);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.4s var(--ease-luxe), color 0.4s var(--ease-luxe), transform 0.4s var(--ease-luxe);
}

.preview-card .pc-add:hover {
  background: var(--c-green);
  color: #fff;
  transform: rotate(90deg);
}

.preview-card .pc-add svg { width: 14px; height: 14px; }

/* Floating positioning helpers */
.preview-card.float-tr { position: absolute; top: 28px; right: 28px; z-index: 4; }
.preview-card.float-br { position: absolute; bottom: 28px; right: -40px; z-index: 4; }
.preview-card.float-bl { position: absolute; bottom: -32px; left: -28px; z-index: 4; }

@media (max-width: 900px) {
  .preview-card { width: 280px; padding: 18px; }
  .preview-card.float-br,
  .preview-card.float-bl { position: relative; top: auto; right: auto; bottom: auto; left: auto; }
}

/* ========================================================
   EDITORIAL HERO — magazine asymmetric
   ======================================================== */

.hero-editorial {
  position: relative;
  padding: calc(var(--header-h) + 50px) 0 80px;
  background: var(--c-ivory);
  overflow: hidden;
}

.hero-editorial::before {
  /* Subtle vertical grid lines (12-col) */
  content: "";
  position: absolute;
  inset: var(--header-h) 0 0 0;
  background-image:
    linear-gradient(to right, rgba(74, 69, 56, 0.05) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-editorial::after {
  /* Soft peach radial wash, low opacity */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 196, 168, 0.35), transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(74, 92, 66, 0.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero-editorial > .container-wide,
.hero-editorial > .container { position: relative; z-index: 1; }

.hero-edit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
  position: relative;
}

.hero-edit-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-right: 40px;
  position: relative;
  z-index: 2;
}

.hero-edit-text .meta-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.hero-edit-text .meta-line .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-peach-deep);
}

.hero-edit-text .display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--c-text);
  margin: 0;
}

.hero-edit-text .display .row { display: block; }
.hero-edit-text .display .row.indent { padding-left: 1.2em; }
.hero-edit-text .display .row.indent-2 { padding-left: 2.4em; }

.hero-edit-text .display em {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
}

.hero-edit-text .display .script-accent {
  font-family: var(--ff-script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.55em;
  color: var(--c-peach-deep);
  vertical-align: -0.22em;
  letter-spacing: -0.01em;
  margin: 0 0.04em 0 0.08em;
  line-height: 0.6;
  display: inline-block;
}

.hero-edit-text .lead-edit {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text-soft);
  max-width: 44ch;
  letter-spacing: 0.005em;
}

.hero-edit-text .stats-edit {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(74, 69, 56, 0.14);
}

.hero-edit-text .stats-edit .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-edit-text .stats-edit .stat strong {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--c-green);
  letter-spacing: -0.005em;
}
.hero-edit-text .stats-edit .stat span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.hero-edit-text .stats-edit .divider {
  width: 1px; height: 32px;
  background: rgba(74, 69, 56, 0.18);
}

/* Visual side */
.hero-edit-visual {
  position: relative;
  height: clamp(560px, 78vh, 760px);
}

.hero-edit-visual .arch-main {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 12px 12px / 26% 26% 6px 6px;
  overflow: hidden;
  background: var(--c-cream);
  box-shadow: var(--sh-xl);
  z-index: 2;
}

.hero-edit-visual .arch-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-luxe);
  will-change: transform;
}

.hero-edit-visual .arch-main:hover img { transform: scale(1.03); }

.hero-edit-visual .arch-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

/* Background blurred image (depth layer) */
.hero-edit-visual .blur-bg {
  position: absolute;
  width: 220px;
  height: 280px;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  border-radius: var(--r-2xl);
  overflow: hidden;
  filter: blur(2px) saturate(0.8);
  opacity: 0.45;
  z-index: 1;
  box-shadow: var(--sh-md);
}

.hero-edit-visual .blur-bg img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Decorative serif label badge — moved to bottom 70 px */
.hero-edit-visual .arch-tag {
  position: absolute;
  bottom: 70px; left: 32px;
  top: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 10px 16px 10px 14px;
  border-radius: var(--r-full);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  box-shadow: var(--sh-sm);
}

.hero-edit-visual .arch-tag .live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(74, 92, 66, 0.18);
}

/* Floating decorative serif quote */
.hero-edit-visual .editorial-mark {
  position: absolute;
  top: 60%;
  right: 40%;
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 11rem;
  line-height: 0.6;
  color: var(--c-peach-deep);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1100px) {
  .hero-edit-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-edit-text { padding-right: 0; }
  .hero-edit-visual { height: 60vh; min-height: 480px; }
  .hero-edit-visual .blur-bg { display: none; }
  .hero-edit-text .display { font-size: clamp(2.6rem, 9vw, 4.2rem); }
}

@media (max-width: 600px) {
  .hero-editorial { padding: calc(var(--header-h) + 24px) 0 50px; }
  .hero-edit-text .display .row.indent-2 { padding-left: 1.2em; }
  .hero-edit-text .stats-edit { gap: 16px; }
  .hero-edit-text .stats-edit .divider { display: none; }
}

/* ========================================================
   REFINED NAVBAR — light luxury
   ======================================================== */

.site-header {
  background: rgba(250, 246, 239, 0.70);
}

.nav-links a {
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--c-text-soft);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-green);
  background: transparent;
}

/* Active underline */
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--c-green);
}

/* Mini icon buttons (search + cart) */
.nav-utils {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.nav-utils button,
.nav-utils a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--c-text-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.4s var(--ease-luxe), color 0.4s var(--ease-luxe);
  position: relative;
}

.nav-utils button:hover,
.nav-utils a:hover {
  background: rgba(74, 92, 66, 0.08);
  color: var(--c-green);
}

.nav-utils svg { width: 17px; height: 17px; stroke-width: 1.4; }

.nav-utils .cart-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-peach-deep);
  border: 1.5px solid var(--c-ivory);
}

/* Brand text refinement */
.brand-text {
  font-family: var(--ff-italic);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-family: var(--ff-body);
  font-weight: 400;
  letter-spacing: 0.18em;
}

@media (max-width: 1100px) {
  .nav-utils button:not(.nav-toggle) { display: none; }
}

/* ========================================================
   REFINED BUTTONS — thinner borders, more elegant
   ======================================================== */

.btn {
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  transition: all 0.5s var(--ease-luxe);
}

.btn-primary {
  background: var(--c-green);
  color: var(--c-ivory);
  box-shadow: 0 6px 18px rgba(74, 92, 66, 0.20);
}

.btn-primary:hover {
  background: var(--c-green-deep);
  color: var(--c-ivory);
  box-shadow: 0 18px 36px rgba(74, 92, 66, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid rgba(74, 69, 56, 0.22);
  font-weight: 400;
}

.btn-ghost:hover {
  background: transparent;
  color: var(--c-green);
  border-color: var(--c-green);
  box-shadow: none;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--c-text);
  box-shadow: var(--sh-gold);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-gold:hover {
  color: var(--c-text);
  box-shadow: 0 26px 60px rgba(232, 196, 168, 0.55);
}

/* Outline-thin button (very luxe) */
.btn-thin {
  background: transparent;
  color: var(--c-text);
  border: 1px solid rgba(74, 69, 56, 0.22);
  border-radius: var(--r-full);
  padding: 14px 28px;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.5s var(--ease-luxe);
}

.btn-thin:hover {
  border-color: var(--c-green);
  color: var(--c-green);
  letter-spacing: 0.22em;
}

/* Underline link luxury */
.link-luxe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-text);
  transition: gap 0.5s var(--ease-luxe), color 0.5s var(--ease-luxe), border-color 0.5s var(--ease-luxe);
}
.link-luxe:hover {
  gap: 16px;
  color: var(--c-green);
  border-color: var(--c-green);
}

/* ========================================================
   PRODUCT CARD — editorial variant (rounded soft)
   ======================================================== */

.card {
  border-radius: var(--r-xl);
  border: 1px solid rgba(74, 69, 56, 0.06);
  background: #fff;
}

.card .card-media {
  background: var(--c-peach-tint);
  aspect-ratio: 5/4;
}

.card-body h3 {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--c-text);
}

/* Tag pill on cards */
.card-tag {
  background: rgba(255,255,255,0.92);
  font-family: var(--ff-body);
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 0.66rem;
  color: var(--c-green);
}

.card-cta a {
  color: var(--c-green);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ========================================================
   MARQUEE — keep but soften
   ======================================================== */
.marquee {
  background: var(--c-cream);
  color: var(--c-text);
  border-top: 1px solid rgba(74, 69, 56, 0.10);
  border-bottom: 1px solid rgba(74, 69, 56, 0.10);
}
.marquee-track {
  font-family: var(--ff-italic);
  font-weight: 400;
  font-size: 1.4rem;
}
.marquee-track .sep { color: var(--c-peach-deep); }

/* ========================================================
   SECTION INTRO — refined
   ======================================================== */
.section-intro-text h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.section-intro-img {
  border-radius: 50% 50% var(--r-xl) var(--r-xl) / 22% 22% var(--r-xl) var(--r-xl);
}

/* ========================================================
   EDITORIAL FOOTER REFINEMENT
   ======================================================== */
.site-footer { background: var(--c-cream); }
.site-footer .brand-text { font-size: 1.15rem; }
.footer-col h5 { color: var(--c-green); }

/* ========================================================
   CTA BANNER — softer (light luxury)
   ======================================================== */
.cta-banner {
  background: var(--c-green);
}
.cta-banner h2 em {
  font-family: var(--ff-italic);
  color: var(--c-peach);
}
.cta-banner h2 .script-accent {
  color: var(--c-peach);
}
.cta-banner .btn-row .btn-gold {
  background: var(--grad-gold);
  color: var(--c-text);
  border: 1px solid rgba(255,255,255,0.5);
}
.cta-banner .btn-row .btn-gold:hover {
  color: var(--c-text);
  box-shadow: 0 26px 60px rgba(232, 196, 168, 0.55);
}

/* Override 'bg-dark' for new editorial feel — keep dark contrast where used */
.bento-item.bg-dark { background: var(--c-green-deep); color: var(--c-ivory); }
.bento-item.bg-dark .eyebrow { color: var(--c-peach); }
.bento-item.bg-dark .eyebrow::before { background: var(--c-peach); }

/* bg-gold becomes peach tint */
.bento-item.bg-gold { background: var(--grad-gold); color: var(--c-text); border: 1px solid rgba(255,255,255,0.5); }
.bento-item.bg-gold .bento-icon { background: rgba(255,255,255,0.45); color: var(--c-green); }
.bento-item.bg-gold .eyebrow { color: var(--c-green); }
.bento-item.bg-gold .eyebrow::before { background: var(--c-green); }
.bento-item.bg-gold p { color: rgba(35, 32, 23, 0.78); }
.bento-item.bg-gold .bento-num { color: var(--c-green); }

/* bg-cream — refine */
.bento-item.bg-cream {
  background: var(--c-cream);
  border: 1px solid rgba(74, 69, 56, 0.06);
}

/* Bento-num — italic editorial */
.bento-num {
  font-family: var(--ff-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--c-green);
  letter-spacing: -0.02em;
}

/* Eyebrow on tinted backgrounds — keep peach */
.tint-dark .eyebrow { color: var(--c-peach); }
.tint-dark .eyebrow::before { background: var(--c-peach); }

/* Filter buttons refine */
.filter-btn {
  background: transparent;
  border: 1px solid rgba(74, 69, 56, 0.16);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-text-soft);
}
.filter-btn:hover {
  border-color: var(--c-green);
  color: var(--c-green);
}
.filter-btn.active {
  background: var(--c-green);
  color: var(--c-ivory);
  border-color: var(--c-green);
}

/* Refine sidebar */
.sidebar-list button.active {
  background: var(--c-green);
  color: var(--c-ivory);
}

/* Solution problem-solution: green/peach */
.problem-solution .ps-row {
  background: var(--c-peach-tint);
  border-left-color: var(--c-peach-deep);
}
.problem-solution .ps-row.solution {
  background: var(--c-green-tint);
  border-left-color: var(--c-green);
}
.problem-solution .ps-row strong { color: var(--c-text-muted); }

/* Timeline tweaks */
.timeline-step.active .year {
  background: var(--c-green);
  color: var(--c-ivory);
}

/* WhatsApp pulse — keep green */
.whatsapp-float { background: #25D366; box-shadow: 0 14px 36px rgba(37, 211, 102, 0.4); }

/* ── Project Phases — Vertical Timeline ── */
.phases-section { background: var(--c-ivory); }

.phases-vt {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Each row: media | connector | content (alternating sides) */
.phvt-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: flex-start;
  min-height: 220px;
}

/* Flip column order for right-aligned rows */
.phvt-right .phvt-media   { order: 3; }
.phvt-right .phvt-connector { order: 2; }
.phvt-right .phvt-content  { order: 1; text-align: right; }

.phvt-left .phvt-content { text-align: left; }

/* Media panel */
.phvt-media {
  padding: 0 24px 48px;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
}
.phvt-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.phvt-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 12px;
  background: linear-gradient(135deg, #eee 0%, #e4e4e4 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.phvt-num-bg {
  font-family: var(--ff-heading);
  font-size: 6rem; font-weight: 800;
  color: rgba(0,0,0,.06);
  line-height: 1;
  letter-spacing: -.04em;
  user-select: none;
}

/* Connector: dot + vertical line */
.phvt-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 6px;
}
.phvt-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  color: #bbb;
}
.phvt-done.phvt-row .phvt-dot,
.phvt-dot.phvt-done   { border-color: var(--c-green, #2d6a4f); color: var(--c-green, #2d6a4f); background: #f0f7f4; }
.phvt-active.phvt-row .phvt-dot,
.phvt-dot.phvt-active { border-color: var(--c-gold, #c9a450); color: var(--c-gold, #c9a450); background: #fdf8ed; }

.phvt-line {
  width: 2px;
  flex: 1;
  min-height: 80px;
  background: linear-gradient(to bottom, #ddd 0%, transparent 100%);
  margin-top: 4px;
}
.phvt-done.phvt-row .phvt-line  { background: linear-gradient(to bottom, var(--c-green, #2d6a4f) 0%, #ddd 100%); }
.phvt-active.phvt-row .phvt-line { background: linear-gradient(to bottom, var(--c-gold, #c9a450) 0%, #ddd 100%); }

/* Content panel */
.phvt-content {
  padding: 0 24px 48px;
}
.phvt-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.phvt-right .phvt-meta { justify-content: flex-end; }

.phvt-step {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.phvt-status-badge {
  font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px; border-radius: 99px;
  background: #eee; color: #888;
}
.phvt-done .phvt-status-badge   { background: #e8f4f0; color: var(--c-green, #2d6a4f); }
.phvt-active .phvt-status-badge { background: #fdf3dc; color: #9a7520; }

.phvt-title {
  font-family: var(--ff-heading);
  font-size: 1.3rem; font-weight: 700;
  line-height: 1.25; margin-bottom: 12px;
  color: var(--c-text);
}
.phvt-desc {
  font-size: .92rem; color: var(--c-text-muted);
  line-height: 1.7; margin-bottom: 14px;
}
.phvt-dur {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600;
  color: var(--c-text-muted);
}
.phvt-dur svg { width: 14px; height: 14px; opacity: .6; }

@media (max-width: 768px) {
  .phvt-row {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }
  .phvt-right .phvt-media,
  .phvt-left  .phvt-media   { order: 3; grid-column: 1 / -1; padding: 0 0 32px; }
  .phvt-right .phvt-connector,
  .phvt-left  .phvt-connector { order: 1; grid-column: 1; grid-row: 1; }
  .phvt-right .phvt-content,
  .phvt-left  .phvt-content  { order: 2; grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 16px 16px; }
  .phvt-right .phvt-meta { justify-content: flex-start; }
  .phvt-dot { width: 36px; height: 36px; }
  .phvt-num-bg { font-size: 3.5rem; }
}
