/* ==========================================================================
   Kaizene Healing Centre
   Type: Marcellus (display) + Jost (text)
   Layout: centered section headings, consistent 12-col container
   ========================================================================== */

:root {
  /* Brand palette */
  --ivory: #F7F5EF;
  --sage: #A8B8A0;
  --forest: #334B3D;
  --lavender: #E8E0EC;
  --white: #FFFFFF;

  /* Derived tones */
  --forest-deep: #26392E;
  --sage-deep: #61805F;          /* accent text with good contrast on light grounds */
  --sage-soft: #DCE3D7;
  --ink: #2E3A33;
  --ink-muted: #646F68;
  --line: rgba(51, 75, 61, 0.14);
  --line-light: rgba(247, 245, 239, 0.14);

  /* Type */
  --font-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --font-text: "Jost", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 112px;
  --section-y: 50px;

  /* Shape & motion */
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 1px 2px rgba(38, 57, 46, 0.04), 0 18px 40px -18px rgba(38, 57, 46, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

/* Fine paper grain for tactile warmth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--sage); color: var(--forest-deep); }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   Typography system
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--light { color: var(--sage); }

.hero-title,
.section-title,
.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
/* Marcellus has no italic: accent words are set in sage instead */
.hero-title em,
.section-title em,
.cta-title em {
  font-style: normal;
  color: var(--sage-deep);
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
  text-align: center;
}
.section-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.16;
  color: var(--forest);
}
.section-lede {
  max-width: 56ch;
  margin: 14px auto 0;
  font-size: 1.075rem;
  font-weight: 300;
  color: var(--ink-muted);
}
.section-sub {
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.btn-primary { background: var(--forest); color: var(--ivory); }
.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(38, 57, 46, 0.6);
}
.btn-ghost { color: var(--forest); border: 1px solid rgba(51, 75, 61, 0.32); }
.btn-ghost:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }

.btn-light { background: var(--ivory); color: var(--forest); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }
.btn-outline-light {
  color: var(--ivory);
  border: 1px solid rgba(247, 245, 239, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(247, 245, 239, 0.12); border-color: var(--ivory); }

.btn-sm { min-height: 44px; padding: 0 24px; font-size: 0.72rem; }
.wa-icon { width: 18px; height: 18px; }

.text-link {
  padding-bottom: 2px;
  font-weight: 500;
  color: var(--forest);
  border-bottom: 1px solid rgba(51, 75, 61, 0.35);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link:hover { color: var(--sage-deep); border-color: var(--sage-deep); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  justify-self: start;
}
.logo-mark { display: block; width: 96px; height: 96px; flex-shrink: 0; object-fit: contain; }
.logo--light .logo-mark { width: 128px; height: 128px; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px rgba(255, 255, 255, 0.85)); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}
.logo-sub {
  margin-top: 6px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.primary-nav ul { display: flex; gap: 4px; }
.primary-nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.3s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--sage-deep);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--forest); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { justify-self: end; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  justify-self: end;
  border-radius: 50%;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--ivory);
  text-align: center;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu nav a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--forest);
}
.mobile-menu .btn { width: 100%; }

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

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

/* Banner: artwork shown as-is (its headline is part of the image), highlights bar below */
.hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--ivory);
  text-align: center;
}

/* Ivory matches the artwork's edges; top padding clears the fixed header */
.hero-media {
  padding-top: var(--header-h);
  background: #faf0eb;
}
.hero-media img {
  display: block;
  width: 100%;
  max-width: 1731px;
  height: auto;
  margin-inline: auto;
}

/* Highlights bar */
.hero-bar-wrap { padding-block: 24px; }
.hero-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(247, 245, 239, 0.1);
  border: 1px solid rgba(247, 245, 239, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
}
.hero-bar li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 16px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
}
.hero-bar li + li { border-left: 1px solid rgba(247, 245, 239, 0.16); }
.hero-bar-num {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--sage);
}

/* Header keeps its dark text: the banner artwork is light */
.site-header .logo,
.site-header .logo-sub,
.site-header .primary-nav a,
.site-header .menu-toggle span { transition: color 0.4s var(--ease), background-color 0.4s var(--ease); }

/* Hero entrance */
.reveal,
.reveal-visual {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal-visual { transform: translateY(32px); transition-duration: 1.4s; }
.is-loaded .reveal,
.is-loaded .reveal-visual { opacity: 1; transform: none; }
.is-loaded .hero-content .reveal:nth-child(1) { transition-delay: 0.05s; }
.is-loaded .hero-content .reveal:nth-child(2) { transition-delay: 0.15s; }
.is-loaded .hero-content .reveal:nth-child(3) { transition-delay: 0.28s; }
.is-loaded .hero-content .reveal:nth-child(4) { transition-delay: 0.4s; }
.is-loaded .reveal-visual { transition-delay: 0.3s; }
.is-loaded .hero-bar { transition-delay: 0.6s; }
.no-js .reveal,
.no-js .reveal-visual { opacity: 1; transform: none; }

/* ==========================================================================
   Shared section layout
   ========================================================================== */

.section { padding-block: var(--section-y); }

/* Media + copy split, used by About, Why Choose Us, Corporate */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.split--reverse .split-media { order: 2; }

.split-media {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: center;
}
.photo { overflow: hidden; background: var(--sage-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.photo--rounded { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }

.badge {
  position: absolute;
  right: -36px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.split--reverse .badge { right: auto; left: -36px; }
.badge-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
}
.badge-label { font-size: 0.82rem; line-height: 1.45; }
.badge--lavender { background: var(--lavender); color: var(--forest); }
.badge--lavender .badge-label { color: var(--ink-muted); }
.badge--forest { background: var(--forest); color: var(--ivory); }
.badge--forest .badge-label { color: rgba(247, 245, 239, 0.75); }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

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

.about { background: var(--white); }
#about { padding-block: clamp(40px, 5vw, 64px); }
#about .section-head { margin-bottom: 28px; }
#about .split {
  max-width: 940px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 36px;
}
#about .split-media { max-width: 320px; }
#about .badge { right: 8px; bottom: 16px; padding: 14px 18px; }
#about .badge-num { font-size: 2.5rem; }
@media (max-width: 760px) {
  #about .split { grid-template-columns: 1fr; gap: 24px; }
  #about .split-media { max-width: 280px; }
}
.about-actions { margin-top: 24px; }

.prose { max-width: 52ch; }
.prose-lead {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.45;
  color: var(--forest);
}
.prose p + p { margin-top: 14px; }
.prose p:not(.prose-lead) { font-weight: 300; color: var(--ink-muted); }

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}
.credentials li {
  padding: 10px 18px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ==========================================================================
   Who We Help
   ========================================================================== */

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}

.who-card { text-align: center; }
.who-media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage-soft);
}
.who-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.who-card:hover .who-media img { transform: scale(1.05); }

.who-card h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--forest);
}
.who-card p {
  max-width: 28ch;
  margin: 6px auto 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-muted);
}

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

.services { background: #F6F4ED; color: var(--forest); }
.services .section-title { color: var(--forest); }
.services .section-title em { color: #526c50; }
.services .section-lede { color: var(--ink-muted); }
.services .eyebrow, .services .additional-title { color: #526c50; }
.services .additional-list li { color: var(--forest); border-color: var(--line); }
.services .services-footer { border-color: var(--line); }
.services .services-actions .btn { background: var(--forest); color: var(--ivory); }
.services .services-actions .btn:hover { background: var(--forest-deep); }
.services :focus-visible { outline-color: var(--forest); }
.services .sv-card { background: transparent; text-align: center; border: 0; }
.services .sv-card-top { justify-content: center; }
.services .sv-icon { flex-basis: 140px; width: 140px; height: 140px; }
.services .sv-icon img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}
.services .sv-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.14;
}
.services .sv-card :focus-visible { outline-color: var(--forest); }
.services-actions {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: auto;
}
.services-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}
.services-footer .additional {
  flex: 1 1 480px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  text-align: left;
}
.services-footer .additional-list { justify-content: flex-start; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  padding: 36px 32px 40px;
  text-align: center;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease),
              transform 0.6s var(--ease), opacity 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.service-card.is-visible:hover {
  background: rgba(247, 245, 239, 0.05);
  border-color: rgba(168, 184, 160, 0.45);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid rgba(168, 184, 160, 0.4);
  color: var(--sage);
}
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--ivory);
}
.service-card p {
  max-width: 32ch;
  margin: 10px auto 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(247, 245, 239, 0.7);
}

.additional {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
  text-align: center;
}
.additional-title {
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
}
.additional-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.additional-list li {
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ivory);
  border: 1px solid rgba(247, 245, 239, 0.24);
  border-radius: 999px;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */

.why { background: #F6F4ED; color: var(--forest); }
.why .section-title, .why .why-item h3 { color: var(--forest); }
.why .section-title em, .why .eyebrow, .why .why-index { color: #526c50; }
.why .why-item p { color: var(--ink-muted); }
.why .why-item { border-color: var(--line); }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.experience-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.experience-item:nth-child(odd) { border-right: 1px solid var(--line); }
.experience-item:nth-last-child(-n+2) { border-bottom: 0; }
.experience-icon {
  display: grid;
  place-items: center;
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--forest);
  color: #ead69a;
  border: 1px solid #bca56a;
}
.experience-icon svg { width: 62px; height: 62px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.experience-item h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 400; line-height: 1.25; color: var(--forest); margin-bottom: 10px; }
.experience-item p { color: var(--ink-muted); line-height: 1.55; max-width: 30ch; }
@media (max-width: 900px) {
  .experience-item { padding: 22px 16px; gap: 16px; }
  .experience-icon { flex-basis: 76px; width: 76px; height: 76px; }
  .experience-icon svg { width: 48px; height: 48px; }
}
@media (max-width: 640px) {
  .experience-grid { grid-template-columns: 1fr; }
  .experience-item { padding: 22px 0; }
  .experience-item:nth-child(odd) { border-right: 0; }
  .experience-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
.why-list { width: 100%; }
.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-index {
  padding-top: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--sage-deep);
}
.why-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.65rem);
  line-height: 1.25;
  color: var(--forest);
}
.why-item p {
  max-width: 46ch;
  margin-top: 8px;
  font-weight: 300;
  color: var(--ink-muted);
}

/* ==========================================================================
   Corporate Wellness
   ========================================================================== */

.corporate { background: var(--lavender); }

.corp-list { display: grid; gap: 20px; margin-bottom: 32px; }
.corp-list li { display: flex; gap: 20px; align-items: flex-start; }
.corp-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--forest);
}
.corp-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.corp-list h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--forest);
}
.corp-list p { margin-top: 4px; font-weight: 300; color: var(--ink-muted); }

/* ==========================================================================
   Our Approach
   ========================================================================== */

.approach { background: var(--white); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}
.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--sage) 0 6px, transparent 6px 12px);
}

.step { position: relative; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.step:hover .step-num,
.step:last-child .step-num { background: var(--forest); border-color: var(--forest); color: var(--ivory); }

.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--forest);
}
.step p {
  max-width: 26ch;
  margin: 8px auto 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-muted);
}

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

.accordion {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-weight: 400; }

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.35;
  color: var(--forest);
  transition: color 0.3s var(--ease);
}
.acc-trigger:hover { color: var(--sage-deep); }

.acc-icon {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--forest);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--forest); border-color: var(--forest); transform: rotate(180deg); }
.acc-trigger[aria-expanded="true"] .acc-icon::before,
.acc-trigger[aria-expanded="true"] .acc-icon::after { background: var(--ivory); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-panel p {
  max-width: 64ch;
  padding: 0 64px 22px 0;
  font-weight: 300;
  color: var(--ink-muted);
}
.acc-item.is-open .acc-panel,
.no-js .acc-panel { grid-template-rows: 1fr; }

.faq-more {
  margin-top: 28px;
  text-align: center;
  font-weight: 300;
  color: var(--ink-muted);
}
.faq-more .text-link { margin-left: 6px; }

/* ==========================================================================
   Contact CTA
   ========================================================================== */

.cta-wrap { padding-bottom: var(--section-y); }

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--forest);
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(38, 57, 46, 0.74);
}

.cta-inner {
  max-width: 820px;
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
}
.cta-title {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1.12;
  color: var(--ivory);
}
.cta-title em { color: var(--sage); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.cta-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ivory);
  transition: color 0.3s var(--ease);
}
.cta-phone span {
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.65);
}
.cta-phone:hover { color: var(--sage); }
.cta :focus-visible { outline-color: var(--ivory); }

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter {
  --nl-error: #A2453D;
  padding-bottom: var(--section-y);
}

.newsletter svg,
.nl-modal svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The newsletter panel appears in two places: inline (.newsletter section)
   and as a popup (#nl-promo, which shares .nl-modal's overlay and transitions). */
.nl-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 56px) var(--gutter);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(150deg, var(--lavender) 0%, var(--sage-soft) 100%);
  text-align: center;
}
.nl-panel .section-lede { margin-bottom: 0; }

.nl-promo .nl-panel {
  width: min(100%, 720px);
  padding: clamp(52px, 6vw, 72px) clamp(24px, 5vw, 56px) clamp(40px, 5vw, 56px);
  box-shadow: 0 40px 80px -30px rgba(20, 32, 25, 0.55);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.nl-promo.is-open .nl-panel { opacity: 1; transform: none; }
.nl-promo .nl-close { z-index: 1; }
.nl-promo .nl-close:hover { background: rgba(255, 255, 255, 0.7); }

/* Decorative leaves */
.nl-leaf {
  position: absolute;
  z-index: -1;
  width: clamp(120px, 16vw, 200px);
  opacity: 0.4;
  animation: nl-float 9s ease-in-out infinite;
}
.nl-panel .nl-leaf path { fill: var(--sage); stroke: none; }
.nl-panel .nl-leaf .nl-leaf-vein { fill: none; stroke: var(--ivory); stroke-width: 2; }
.nl-leaf--l { left: -36px; bottom: -40px; --r: -8deg; }
.nl-leaf--r { right: -30px; top: -34px; --r: 172deg; animation-delay: -4.5s; }
@keyframes nl-float {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(calc(var(--r) + 6deg)) translateY(-10px); }
}

/* Email pill */
.nl-form { max-width: 580px; margin: 28px auto 0; }
.nl-promo .nl-form { margin-top: 36px; }
.nl-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nl-field:focus-within {
  border-color: var(--sage-deep);
  box-shadow: var(--shadow-soft), 0 0 0 5px rgba(97, 128, 95, 0.14);
}
.nl-field.is-invalid { border-color: var(--nl-error); animation: nl-shake 0.45s var(--ease); }
.nl-field { cursor: text; }
.nl-field-icon { flex: none; width: 20px; height: 20px; color: var(--sage-deep); }
.nl-field input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.nl-field input::placeholder { color: #98A29B; }
.nl-submit { flex: none; }
.nl-submit svg { width: 16px; height: 16px; stroke-width: 1.8; transition: transform 0.4s var(--ease); }
.nl-submit:hover svg { transform: translateX(4px); }

.nl-error {
  min-height: 1.4em;
  margin-top: 10px;
  padding-left: 24px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--nl-error);
  text-align: left;
}
.nl-error:empty { min-height: 0; margin: 0; }

.nl-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.nl-perks li { display: inline-flex; align-items: center; gap: 8px; }
.nl-perks svg { width: 16px; height: 16px; color: var(--sage-deep); }

@keyframes nl-shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ---------- Popup ---------- */
.nl-modal {
  --nl-error: #A2453D;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow-y: auto;
  perspective: 1600px;
}
.nl-modal[open] { display: grid; place-items: center; }
.nl-modal::backdrop { background: transparent; }
body.nl-open { overflow: hidden; }

.nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 57, 46, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.nl-modal.is-open .nl-overlay { opacity: 1; }

.nl-card {
  position: relative;
  width: min(100%, 460px);
  padding: 48px 36px 36px;
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 40px 80px -30px rgba(20, 32, 25, 0.55);
  text-align: center;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), height 0.55s var(--ease);
}
.nl-modal.is-open .nl-card { opacity: 1; transform: none; }

/* The 360° turn: content hides while its back faces the viewer */
.nl-card.is-spinning { animation: nl-spin 1.2s cubic-bezier(0.65, 0, 0.35, 1) both; }
.nl-face,
.nl-close { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
@keyframes nl-spin {
  0% { transform: rotateY(0) scale(1); }
  50% { transform: rotateY(180deg) scale(0.92); }
  100% { transform: rotateY(360deg) scale(1); }
}

.nl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink-muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease);
}
.nl-close svg { width: 18px; height: 18px; }
.nl-close:hover { background: var(--sage-soft); color: var(--forest); transform: rotate(90deg); }

.nl-face--success { display: none; position: relative; }
.nl-card[data-state="success"] .nl-face--form { display: none; }
.nl-card[data-state="success"] .nl-face--success { display: block; }

.nl-badge {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
}
.nl-badge svg { width: 26px; height: 26px; }

.nl-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--forest);
  text-wrap: balance;
}
.nl-modal-sub {
  max-width: 36ch;
  margin: 10px auto 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-muted);
}
.nl-modal-sub strong { font-weight: 500; color: var(--forest); overflow-wrap: anywhere; }

.nl-details { margin-top: 28px; text-align: left; }
.nl-input + .nl-input { margin-top: 16px; }
.nl-input label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nl-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nl-input-wrap:focus-within {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(97, 128, 95, 0.14);
}
.nl-input-wrap svg { flex: none; width: 18px; height: 18px; color: var(--sage-deep); }
.nl-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.nl-input-wrap input::placeholder { color: #A3ACA6; }
.nl-input.is-invalid .nl-input-wrap { border-color: var(--nl-error); animation: nl-shake 0.45s var(--ease); }
.nl-details .nl-error { padding-left: 4px; margin-top: 6px; }
.nl-error--form { text-align: center; padding-left: 0; }

.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.nl-confirm { position: relative; width: 100%; margin-top: 24px; }
.nl-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(247, 245, 239, 0.35);
  border-top-color: var(--ivory);
  border-radius: 50%;
  animation: nl-rotate 0.8s linear infinite;
}
.nl-confirm.is-loading { pointer-events: none; }
.nl-confirm.is-loading .nl-spinner { display: inline-block; }
@keyframes nl-rotate { to { transform: rotate(360deg); } }

.nl-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.nl-privacy svg { width: 14px; height: 14px; }

/* ---------- Success state ---------- */
.nl-success-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--forest);
}
.nl-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--sage);
  opacity: 0;
}
.nl-check { width: 46px; height: 46px; color: var(--ivory); }
.nl-modal .nl-check path { stroke-width: 3.2; stroke-dasharray: 40; stroke-dashoffset: 40; }

.nl-success-emoji {
  position: absolute;
  top: 50px;
  left: calc(50% + 20px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 18px -8px rgba(38, 57, 46, 0.45);
  font-size: 1.35rem;
  line-height: 1;
}

.nl-success-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.nl-success-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  color: var(--forest);
}
.nl-success-list svg { width: 14px; height: 14px; color: var(--sage-deep); }
.nl-done { margin-top: 28px; }

/* Entrance choreography — timed to land just as the spin finishes */
.nl-card[data-state="success"] .nl-success-badge { animation: nl-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both; }
.nl-card[data-state="success"] .nl-check path { animation: nl-draw 0.6s var(--ease) 0.9s forwards; }
.nl-card[data-state="success"] .nl-ring { animation: nl-ring 1.4s var(--ease) 1s 2; }
.nl-card[data-state="success"] .nl-success-emoji { animation: nl-emoji 1s cubic-bezier(0.34, 1.4, 0.64, 1) 0.85s both; }
.nl-card[data-state="success"] .nl-face--success > :is(h2, p.nl-modal-sub, ul, button) { animation: nl-rise 0.7s var(--ease) both; }
.nl-card[data-state="success"] .nl-face--success > h2 { animation-delay: 0.7s; }
.nl-card[data-state="success"] .nl-face--success > p.nl-modal-sub { animation-delay: 0.8s; }
.nl-card[data-state="success"] .nl-face--success > ul { animation-delay: 0.9s; }
.nl-card[data-state="success"] .nl-face--success > button { animation-delay: 1s; }

@keyframes nl-pop {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes nl-draw { to { stroke-dashoffset: 0; } }
@keyframes nl-ring {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}
@keyframes nl-emoji {
  from { opacity: 0; transform: rotate(-360deg) scale(0); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes nl-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Emoji burst */
.nl-burst {
  position: absolute;
  top: 92px;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.nl-burst span {
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--s, 1.2rem);
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: nl-particle var(--t, 1.6s) cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) forwards;
}
@keyframes nl-particle {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(0); }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1) rotate(var(--r));
  }
}

@media (max-width: 640px) {
  .newsletter .container { padding-inline: 12px; }
  .nl-panel { border-radius: var(--radius); padding-inline: 20px; }
  .nl-promo .nl-panel { padding: 52px 20px 32px; }
  .nl-field { flex-wrap: wrap; padding: 8px; border-radius: 22px; }
  .nl-field-icon { margin-left: 12px; }
  .nl-field input { height: 48px; }
  .nl-submit { width: 100%; }
  .nl-error { padding-left: 8px; }
  .nl-perks { flex-direction: column; align-items: center; gap: 10px; }

  .nl-modal { padding: 12px; }
  .nl-card { padding: 44px 22px 28px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--forest-deep);
  color: rgba(247, 245, 239, 0.7);
  padding-top: 40px;
  font-size: 0.95rem;
  font-weight: 300;
  text-align: center;
}
.site-footer :focus-visible { outline-color: var(--sage); }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-light);
}
.logo--light { color: var(--ivory); justify-self: auto; }
.logo--light .logo-sub { color: rgba(247, 245, 239, 0.55); }
.footer-tagline { max-width: 44ch; margin-top: 16px; line-height: 1.7; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 40px 0;
}
.footer-col h3 {
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
}
.footer-col li + li { margin-top: 8px; }
.footer-col a { transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-cta { margin-top: 20px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
  color: rgba(247, 245, 239, 0.5);
}
.credit a {
  color: rgba(247, 245, 239, 0.8);
  border-bottom: 1px solid rgba(247, 245, 239, 0.25);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.credit a:hover { color: var(--ivory); border-color: var(--sage); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
  box-shadow: 0 14px 30px -10px rgba(38, 57, 46, 0.6);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background-color 0.3s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--forest-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Six nav items: tighten, then let the nav take the space between logo and CTA */
@media (max-width: 1280px) {
  .header-inner { grid-template-columns: auto 1fr auto; column-gap: 20px; }
  .primary-nav { justify-self: center; }
  .primary-nav a { padding: 10px 10px; letter-spacing: 0.12em; }
  .primary-nav a::after { left: 10px; right: 10px; }
}

@media (max-width: 1100px) {
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .steps::before { display: none; }
}

@media (max-width: 1180px) {
  :root { --header-h: 100px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav,
  .header-cta { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 460px; }
  .badge { right: -16px; }
  .split--reverse .badge { left: -16px; }
  .split-copy { max-width: 620px; width: 100%; margin-inline: auto; }

}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .logo-mark { width: 84px; height: 84px; }
  .logo-name { font-size: 1.4rem; }

  .eyebrow { gap: 12px; font-size: 0.68rem; letter-spacing: 0.24em; }
  .eyebrow::before, .eyebrow::after { width: 20px; }




  .section-title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }

  .badge { right: 12px; bottom: 20px; padding: 16px 20px; }
  .split--reverse .badge { left: 12px; }
  .badge-num { font-size: 2.6rem; }

  .split-copy .btn,
  .corporate .btn { width: 100%; white-space: normal; text-align: center; }

  .who-grid { grid-template-columns: 1fr; gap: 32px; }
  .who-media { aspect-ratio: 4 / 3.4; }
  .who-media img { object-position: 50% 30%; }

  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 30px 24px 32px; }

  .why-item { grid-template-columns: 44px 1fr; padding: 18px 0; }

  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-num { width: 68px; height: 68px; margin-bottom: 16px; }

  .acc-trigger { padding: 18px 0; }
  .acc-icon { width: 34px; height: 34px; }
  .acc-panel p { padding-right: 0; }

  .cta-wrap .container { padding-inline: 12px; }
  .cta { border-radius: var(--radius); }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .footer-cols { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .footer-bottom { flex-direction: column-reverse; justify-content: center; }
}

/* ---------- Banner responsive ---------- */
@media (max-width: 960px) {
  .hero-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bar li:nth-child(3) { border-left: 0; }
  .hero-bar li:nth-child(n+3) { border-top: 1px solid rgba(247, 245, 239, 0.16); }
}

@media (max-width: 640px) {
  .hero-bar-wrap { padding: 20px 12px; }
  .hero-bar li { flex-direction: column; gap: 6px; padding: 16px 10px; font-size: 0.64rem; letter-spacing: 0.14em; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@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;
    transition-delay: 0s !important;
  }
  [data-reveal], .reveal, .reveal-visual { opacity: 1; transform: none; }
}

/* Shared brand and navigation */
.site-header .header-inner { max-width: 1500px; grid-template-columns: auto 1fr auto; column-gap: 22px; padding-inline: clamp(20px, 2.5vw, 40px); }
.site-header .logo { gap: 10px; }
.site-header .logo-name { font-size: 1.6rem; }
.site-header .logo-sub { font-size: .65rem; letter-spacing: .2em; white-space: nowrap; }
.primary-nav { justify-self: center; }
.primary-nav ul { gap: clamp(12px, 1.4vw, 26px); align-items: center; }
.primary-nav a { font-size: .9375rem; letter-spacing: .01em; text-transform: none; padding: 10px 9px; white-space: nowrap; }
.primary-nav a::after { left: 9px; right: 9px; }
.header-cta { white-space: nowrap; padding-inline: 19px; font-size: .8rem; letter-spacing: .03em; }
.mobile-menu { overflow-y: auto; gap: 20px; }
.mobile-menu nav a { padding: 12px 0; font-size: 1.5rem; }
.mobile-menu > .btn { flex-shrink: 0; }
.testimonials-intro { text-align: center; background: #e9ede2; }
.testimonials-intro .eyebrow { justify-content: center; }
.testimonials-intro .section-lede { margin-inline: auto; }
@media (max-width: 1180px) {
  .site-header .header-inner { grid-template-columns: 1fr auto; }
}
@media (max-width: 380px) {
  .site-header .logo-name { font-size: 1.4rem; }
  .site-header .logo-sub { font-size: .6rem; letter-spacing: .12em; }
  .site-header .header-inner { column-gap: 10px; }
}

/* Who We Help page: first section clears the fixed header */
.page-who main { padding-top: var(--header-h); }
