/* ==========================================================================
   VendsMaMaison.be — Beyond Legendary
   Design system: editorial creative-studio look — cream + terracotta + yellow
   ========================================================================== */

:root {
  /* Colors */
  --cream: #fffdea;
  --cream-alt: #fff5d4;
  --cream-tan: #fbefc7;
  --white: #ffffff;
  --terracotta: #f06231;
  --terracotta-dark: #d9531f;
  --yellow: #ffe479;
  --yellow-dark: #f5d24e;
  --peach: #ffddaa;
  --green: #67b935;
  --dark: #1c1b18;
  --dark-soft: #2a2823;
  --text: #1c1b18;
  --text-muted: #675e50;
  --border: rgba(28, 27, 24, 0.14);
  --border-strong: rgba(28, 27, 24, 0.32);

  /* Typography */
  --font-head: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Anonymous Pro', ui-monospace, monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --sidebar-w: 272px;
  --container-max: 980px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(28, 27, 24, 0.06);
  --shadow-md: 0 12px 32px rgba(28, 27, 24, 0.1);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease);
  --transition-med: 0.45s var(--ease);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

body:not(.i18n-ready) { visibility: hidden; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
}

:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

h1, .h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2, .h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3, .h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4, .h4 { font-size: 1.15rem; }

p { color: var(--text); }

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--terracotta-dark);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

/* ==========================================================================
   Layout shell — sidebar + main
   ========================================================================== */

.shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--terracotta);
  color: var(--white);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar__logo {
  display: flex;
  align-items: center;
}

.logo-lockup {
  height: 26px;
  width: auto;
  color: var(--dark);
  flex-shrink: 0;
}

/* Language toggle */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(28,27,24,0.12);
  border-radius: 999px;
  padding: 3px;
  width: fit-content;
}

.lang-toggle button {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  opacity: 0.6;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  transition: opacity var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.lang-toggle button.active {
  opacity: 1;
  background: var(--dark);
  color: var(--yellow);
}

.lang-toggle--light {
  background: rgba(255,255,255,0.15);
}

.lang-toggle--light button { color: var(--white); }
.lang-toggle--light button.active { background: var(--white); color: var(--dark); }

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-nav__item {
  display: block;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--dark);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.side-nav__item:hover { transform: translateX(2px); }

.side-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.side-nav__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(28,27,24,0.12);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.side-nav__item[aria-current="page"] {
  background: var(--white);
  padding-bottom: 0.75rem;
}

.side-nav__item[aria-current="page"] .side-nav__num {
  background: var(--yellow);
}

.side-nav__extra {
  padding: 0 0.9rem;
  display: none;
}

.side-nav__item[aria-current="page"] .side-nav__extra {
  display: block;
}

.side-nav__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1.5px dashed var(--border-strong);
  margin-bottom: 0.6rem;
}

.side-nav__badge span:first-child {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  text-transform: lowercase;
}

.side-nav__badge span:last-child {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
}

.side-nav__extra p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.side-nav__extra ul { display: flex; flex-direction: column; gap: 0.3rem; }

.side-nav__extra li {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.side-nav__extra li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.sidebar__cta {
  margin-top: auto;
}

.sidebar__cta h5 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--dark);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.btn-pill-dark:hover { transform: translateY(-2px); background: #000; }

.sidebar__footer {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: var(--space-sm);
}

.sidebar__footer p {
  font-size: 0.78rem;
  color: rgba(28,27,24,0.75);
  margin-bottom: 0.6rem;
}

.sidebar__socials {
  display: flex;
  gap: 0.5rem;
}

.sidebar__socials a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: background var(--transition-fast);
}

.sidebar__socials a:hover { background: var(--white); }

.main {
  flex: 1;
  min-width: 0;
}

/* Mobile top bar + drawer (hidden on desktop) */

.mobile-topbar {
  display: none;
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   Container / section
   ========================================================================== */

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-xl) var(--space-md); }
.section--tight { padding: var(--space-lg) var(--space-md); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--tan { background: var(--cream-alt); }

.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.btn--yellow { background: var(--yellow); color: var(--dark); box-shadow: var(--shadow-sm); }
.btn--yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.btn--outline { background: transparent; border: 1.5px solid var(--border-strong); color: var(--text); }
.btn--outline:hover { background: var(--white); transform: translateY(-2px); }

.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  border-bottom: 1.5px solid var(--border-strong);
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}

.phone-link:hover { border-color: var(--terracotta); }
.phone-link svg { color: var(--terracotta); flex-shrink: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__headline {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__headline .badge-inline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1.05em; height: 1.05em;
  border-radius: 50%;
  background: var(--yellow);
  vertical-align: middle;
  margin: 0 0.05em;
  transform: translateY(-0.05em);
}

.hero__headline .badge-inline span:first-child {
  font-family: var(--font-mono);
  font-size: 0.16em;
  font-weight: 700;
  color: var(--terracotta-dark);
}

.hero__headline .badge-inline span:last-child {
  font-family: var(--font-head);
  font-size: 0.28em;
  font-weight: 800;
}

.hero__lede {
  max-width: 480px;
  margin: var(--space-md) auto 0;
  text-align: center;
  color: var(--text-muted);
}

.hero__cta { display: flex; justify-content: center; margin-top: var(--space-lg); }

.hero__feature {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, var(--peach), var(--yellow));
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.hero__feature-tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--yellow-dark);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.hero__feature-caption {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
}

.hero__feature-caption strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.hero__feature-caption span { font-size: 0.85rem; color: var(--text-muted); }

.hero__feature-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__feature-illustration svg { width: 100%; height: 100%; }

/* ==========================================================================
   Illustrations (custom flat SVG art — no stock photos)
   ========================================================================== */

.illustration-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px dashed var(--border-strong);
  background: linear-gradient(150deg, var(--cream-alt), var(--peach));
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.illustration-card svg { width: 100%; max-width: 420px; height: auto; }

/* Property type gallery */

.property-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px dashed var(--border-strong);
  background: var(--white);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

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

.property-card__art {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}

.property-card__art svg { width: 100%; height: 100%; }

.property-card__label {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1.5px dashed var(--border-strong);
}

.property-card__label strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.property-card__label span { font-size: 0.85rem; color: var(--text-muted); }

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

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

/* Skyline banner */

.skyline-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px dashed var(--border-strong);
  background: linear-gradient(180deg, var(--cream-alt), var(--peach) 85%);
}

.skyline-banner svg { width: 100%; height: auto; display: block; }

/* Icon accents on stat/trust tiles */

.trust-tile__icon, .stat-feature__icon {
  width: 30px; height: 30px;
  margin: 0 auto var(--space-xs);
  color: var(--terracotta);
}

.stat-feature__tile { position: relative; }

/* Icon on method rows (teaser + detail) */

.method-row__icon {
  width: 22px; height: 22px;
  color: var(--terracotta);
  flex-shrink: 0;
}

.method-detail__icon {
  width: 24px; height: 24px;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}

/* Icon on timeline items */

.timeline-item__icon {
  width: 24px; height: 24px;
  color: var(--terracotta);
}

/* Quote mark + stars on testimonial cards */

.testimonial-card__quote-icon {
  display: block;
  width: 22px; height: 22px;
  color: var(--yellow-dark);
  margin-bottom: 0.4rem;
}

.testimonial-card__stars {
  color: var(--yellow-dark);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  display: block;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.trust-tile {
  background: var(--white);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}

.trust-tile strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
}

.trust-tile span { font-size: 0.82rem; color: var(--text-muted); }

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

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.dashed-card {
  background: var(--white);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

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

.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

/* Pain / problem cards */

.pain-card {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.pain-card .icon-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream-alt);
  color: var(--terracotta-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-card h4 { margin-bottom: 0.3rem; font-size: 1.02rem; }
.pain-card p { font-size: 0.92rem; color: var(--text-muted); }

.pain-close {
  margin-top: var(--space-lg);
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pain-close .accent { color: var(--terracotta); }

/* ==========================================================================
   Numbered method list
   ========================================================================== */

.method-list { display: flex; flex-direction: column; }

.method-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1.5px dashed var(--border);
}

.method-row:first-child { padding-top: 0; }
.method-row:last-child { border-bottom: none; }

.method-row__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  background: var(--cream-alt);
  border-radius: 999px;
  width: 48px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}

.method-row h4 { font-size: 1.05rem; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.5rem; }
.method-row p { font-size: 0.9rem; color: var(--text-muted); }
.method-row__year { font-size: 0.82rem; color: var(--text-muted); font-family: var(--font-mono); }

@media (max-width: 620px) {
  .method-row { grid-template-columns: 40px 1fr; }
  .method-row__year { display: none; }
}

/* Method detail (deep-dive page) */

.method-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1.5px dashed var(--border);
}

.method-detail:first-of-type { padding-top: 0; }
.method-detail:last-of-type { border-bottom: none; }

.method-detail__num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--terracotta-dark);
  background: var(--cream-alt);
  border-radius: 999px;
  height: 40px; width: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

.method-detail h3 { margin-bottom: 0.5rem; }
.method-detail p { color: var(--text-muted); max-width: 620px; }

@media (max-width: 620px) {
  .method-detail { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials (masonry-ish)
   ========================================================================== */

.testimonial-grid {
  column-count: 2;
  column-gap: var(--space-md);
}

.testimonial-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  background: var(--white);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-card__avatar {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--terracotta-dark);
}

.testimonial-card strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.testimonial-card .role { display: block; font-size: 0.8rem; color: var(--terracotta-dark); margin-bottom: 0.7rem; }
.testimonial-card p.quote { font-size: 0.92rem; color: var(--text-muted); }

@media (max-width: 700px) {
  .testimonial-grid { column-count: 1; }
}

.rating-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.rating-card__score { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.rating-card__score span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.rating-card__stars { color: var(--yellow-dark); letter-spacing: 2px; }
.rating-card small { display: block; color: var(--text-muted); font-size: 0.8rem; }

/* ==========================================================================
   Stats over image (dark)
   ========================================================================== */

.stat-feature {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
}

.stat-feature h2 { color: var(--white); margin-bottom: var(--space-md); }

.stat-feature__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.stat-feature__tile {
  background: rgba(255,253,234,0.96);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
}

.stat-feature__tile strong { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; }
.stat-feature__tile span { font-size: 0.82rem; color: var(--text-muted); }

@media (max-width: 700px) { .stat-feature__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1.5px dashed var(--border-strong); }

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0.25rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-item__icon { transform: rotate(45deg); }

.faq-item__a { max-height: 0; overflow: hidden; transition: max-height var(--transition-med), padding var(--transition-med); }
.faq-item.open .faq-item__a { max-height: 300px; padding-bottom: var(--space-md); }
.faq-item__a p { color: var(--text-muted); padding-right: 2.5rem; }

/* ==========================================================================
   Dark CTA band (footer-adjacent)
   ========================================================================== */

.dark-cta {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  margin: 0 var(--space-md) var(--space-xl);
}

.dark-cta h2 { color: var(--white); margin-bottom: var(--space-sm); }
.dark-cta .lede { color: rgba(255,253,234,0.75); margin-bottom: var(--space-md); }

.dark-cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.dark-cta__info p { font-size: 0.92rem; color: rgba(255,253,234,0.75); margin-bottom: 0.4rem; }
.dark-cta__info a { color: var(--white); font-weight: 600; }
.dark-cta__info a:hover { color: var(--yellow); }

@media (max-width: 700px) { .dark-cta__grid { grid-template-columns: 1fr; } }

/* Page-level footer (bottom of main, non-sidebar-page-content) */

.page-footer {
  text-align: center;
  padding: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.page-footer a { text-decoration: underline; text-underline-offset: 2px; }

.link-button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-lg); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form-panel {
  background: var(--white);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: var(--space-md); }

.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; }
.field .required { color: var(--terracotta); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(240, 98, 49, 0.16);
  outline: none;
  background: var(--white);
}

.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c0392b; }
.field__error { display: none; font-size: 0.78rem; color: #c0392b; margin-top: 0.35rem; }
.field.has-error .field__error { display: block; }
.field textarea { resize: vertical; min-height: 100px; }

.radio-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }

.radio-pill span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  background: var(--cream);
  transition: all var(--transition-fast);
}

.radio-pill input:checked + span { background: var(--dark); border-color: var(--dark); color: var(--yellow); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.trust-list svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

.side-panel {
  background: var(--cream-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.side-panel h4 { margin-bottom: var(--space-md); }

.form-success { display: none; text-align: center; padding: var(--space-xl) var(--space-md); }
.form-success.visible { display: block; }
.form-success svg { color: var(--green); margin-bottom: var(--space-md); }

/* Mad-libs contact form */

.madlibs { font-family: var(--font-head); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 600; line-height: 2.2; color: var(--text-muted); }
.madlibs strong { color: var(--text); }
.madlibs input, .madlibs textarea {
  border: none;
  border-bottom: 2px dashed var(--border-strong);
  background: transparent;
  font-family: var(--font-head);
  font-size: 1em;
  font-weight: 700;
  color: var(--text);
  padding: 0.1em 0.3em;
  width: 220px;
  max-width: 100%;
}
.madlibs input:focus, .madlibs textarea:focus { outline: none; border-color: var(--terracotta); }
.madlibs input.invalid, .madlibs textarea.invalid { border-color: #c0392b; }
.madlibs textarea { display: block; width: 100%; margin-top: 0.6rem; min-height: 90px; resize: vertical; font-size: 0.62em; line-height: 1.5; }

/* ==========================================================================
   Services grid
   ========================================================================== */

.service-card {
  background: var(--white);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

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

.service-card__icons { display: flex; gap: 0.4rem; margin-bottom: var(--space-xs); }

.service-card__icons span {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
}

.service-card p { color: var(--text-muted); font-size: 0.92rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.tag {
  background: var(--cream-alt);
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.service-card--dark {
  background: var(--dark);
  color: var(--white);
  border: none;
  justify-content: center;
}

.service-card--dark h4 { color: var(--white); }

/* ==========================================================================
   Market page
   ========================================================================== */

.neighborhood-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-lg); }
.neighborhood-list li {
  display: flex; justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1.5px dashed var(--border);
  font-size: 0.92rem;
}
.neighborhood-list li strong { font-family: var(--font-head); }
.neighborhood-list li span { color: var(--terracotta-dark); font-weight: 700; }
@media (max-width: 620px) { .neighborhood-list { grid-template-columns: 1fr; } }

.epc-banner {
  background: var(--peach);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}
.epc-banner svg { color: var(--terracotta-dark); flex-shrink: 0; }

/* ==========================================================================
   About page
   ========================================================================== */

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }

.value-item { text-align: center; padding: var(--space-md); }
.value-item svg { color: var(--terracotta); margin-bottom: var(--space-sm); }

.photo-placeholder {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--cream-alt), var(--peach));
  border: 1.5px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-lg);
  min-height: 320px;
}

.office-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
@media (max-width: 800px) { .office-block { grid-template-columns: 1fr; } }

.office-quote { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-top: var(--space-md); }
.office-quote .accent { color: var(--terracotta); }

/* Timeline (about) */

.timeline { display: flex; flex-direction: column; gap: 0; margin-top: var(--space-lg); }

.timeline-item {
  display: grid;
  grid-template-columns: 30px 120px 1fr;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1.5px dashed var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.timeline-item.in-view { opacity: 1; transform: translateY(0); }
.timeline-item:last-child { border-bottom: none; }

.timeline-item strong { font-family: var(--font-head); font-weight: 800; color: var(--terracotta-dark); }
.timeline-item span { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 560px) {
  .timeline-item { grid-template-columns: 24px 90px 1fr; gap: var(--space-sm); }
}

/* Counter */

.counter-block { text-align: center; }
.counter-num { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--yellow); line-height: 1; }
.counter-label { font-size: 0.95rem; letter-spacing: 0.04em; color: rgba(255,253,234,0.75); margin-top: var(--space-sm); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-info-item { display: flex; gap: var(--space-sm); align-items: flex-start; margin-bottom: var(--space-md); }
.contact-info-item svg { color: var(--terracotta-dark); flex-shrink: 0; margin-top: 3px; }
.contact-info-item strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-head); }
.contact-info-item span, .contact-info-item a { color: var(--text-muted); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--terracotta-dark); }

.map-embed { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1.5px dashed var(--border-strong); margin-top: var(--space-md); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; background: var(--cream-alt); }

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.consent-check input { margin-top: 0.2rem; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.consent-check a { color: var(--terracotta); text-decoration: underline; }
.consent-check.has-error { background: rgba(240, 98, 49, 0.08); outline: 1.5px solid var(--terracotta); }

.toggle-row {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--cream-alt);
  border-radius: var(--radius-sm);
}

.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; background: rgba(28,27,24,0.2); border-radius: 999px; transition: background var(--transition-fast); }
.switch__track::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--white); border-radius: 50%; transition: transform var(--transition-fast); }
.switch input:checked + .switch__track { background: var(--terracotta); }
.switch input:checked + .switch__track::before { transform: translateX(20px); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.2s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.28s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(9) { transition-delay: 0.36s; }
.reveal-stagger.in-view > *:nth-child(10) { transition-delay: 0.4s; }
.reveal-stagger.in-view > *:nth-child(11) { transition-delay: 0.44s; }
.reveal-stagger.in-view > *:nth-child(12) { transition-delay: 0.48s; }
.reveal-stagger.in-view > *:nth-child(13) { transition-delay: 0.52s; }

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.divider { height: 1.5px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px); margin: var(--space-lg) 0; }

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */

.sticky-fab {
  display: none;
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 95;
  border: 2px solid var(--dark);
  transition: transform var(--transition-fast);
}

.sticky-fab:active { transform: scale(0.92); }

/* ==========================================================================
   Responsive — mobile sidebar becomes top bar + drawer
   ========================================================================== */

@media (max-width: 960px) {
  .shell { flex-direction: column; }

  .sidebar { display: none; }

  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--terracotta);
    padding: 0.9rem var(--space-md);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .mobile-topbar .sidebar__logo { }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
  }

  .hamburger span { width: 24px; height: 2px; background: var(--dark); }

  .mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--terracotta);
    z-index: 101;
    padding: var(--space-md);
    overflow-y: auto;
    flex-direction: column;
    gap: var(--space-lg);
  }

  .mobile-drawer.open { display: flex; }

  .mobile-drawer__close { align-self: flex-end; font-weight: 700; color: var(--dark); }

  body.menu-open { overflow: hidden; }

  .sticky-fab { display: flex; }
}

/* ==========================================================================
   Cookie consent banner + map placeholder
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: var(--space-md);
  bottom: var(--space-md);
  z-index: 200;
  width: min(380px, calc(100vw - 2 * var(--space-md)));
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-med), transform var(--transition-med);
}

.cookie-banner.visible { opacity: 1; transform: translateY(0); }

.cookie-banner__title { font-family: var(--font-head); font-weight: 800; font-size: 1rem; margin-bottom: 0.4rem; }
.cookie-banner__body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: var(--space-sm); }
.cookie-banner__body a { color: var(--terracotta); text-decoration: underline; }

.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-banner__actions .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; }

.map-embed__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: var(--space-md);
  background: var(--cream-alt);
}

.map-embed__consent p { font-size: 0.85rem; color: var(--text-muted); max-width: 32ch; }
.map-embed__consent .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; }

@media (max-width: 500px) {
  .cookie-banner { left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); width: auto; }
}

/* ==========================================================================
   Legal pages (privacy, terms, legal notice, cookies)
   ========================================================================== */

.legal-content { max-width: 760px; }

.legal-content .legal-updated {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--cream-alt);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: var(--space-lg);
}

.legal-content section { margin-bottom: var(--space-xl); }
.legal-content section:last-child { margin-bottom: 0; }

.legal-content h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1.5px dashed var(--border-strong);
}

.legal-content h3 { font-size: 1.05rem; margin: var(--space-md) 0 0.5rem; }

.legal-content p { margin-bottom: var(--space-sm); line-height: 1.7; color: var(--text); }
.legal-content p:last-child { margin-bottom: 0; }

.legal-content ul, .legal-content ol { margin: 0 0 var(--space-sm) 1.3rem; line-height: 1.7; }
.legal-content li { margin-bottom: 0.35rem; }

.legal-content a { color: var(--terracotta); text-decoration: underline; }
.legal-content a:hover { color: var(--terracotta-dark); }

.legal-content strong { font-weight: 700; }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 0.88rem;
}

.legal-content th, .legal-content td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--border-strong);
  vertical-align: top;
}

.legal-content th { background: var(--cream-alt); font-family: var(--font-head); font-weight: 700; }

.legal-content .legal-box {
  background: var(--cream-alt);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.legal-content .legal-box p:last-child { margin-bottom: 0; }

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.legal-toc a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
}

.legal-toc a:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
