/* ==========================================================================
   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: 88px;
  --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: 24px;
  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(56px, 7vw, 88px);
  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: 24px auto 0;
  font-size: 1.075rem;
  font-weight: 300;
  color: var(--ink-muted);
}
.section-sub {
  margin-top: 18px;
  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 { width: 40px; height: 40px; flex-shrink: 0; }
.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);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.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
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 40px;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--ivory);
  text-align: center;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transform: scale(1.12);
  transition: transform 3.2s var(--ease);
}
.is-loaded .hero-media img { transform: scale(1.02); }

/* Forest tint for legibility, slightly deeper at top and base */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 40, 32, 0.58) 0%, rgba(26, 40, 32, 0.4) 45%, rgba(26, 40, 32, 0.74) 100%);
}

.hero-content { max-width: 1000px; margin-block: auto; padding-top: 24px; }
.hero .eyebrow { color: rgba(247, 245, 239, 0.9); }

.hero-title {
  max-width: 17ch;
  margin-inline: auto;
  font-size: clamp(2.7rem, 6vw, 5.25rem);
  line-height: 1.08;
  color: var(--ivory);
  text-shadow: 0 2px 30px rgba(20, 32, 26, 0.25);
}
.hero-title em { color: var(--sage); }

.hero-lede {
  max-width: 46ch;
  margin: 28px auto 0;
  font-size: clamp(1.075rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(247, 245, 239, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

/* Frosted highlights bar */
.hero-bar-wrap { margin-top: 56px; }
.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 over the banner: light until the page scrolls */
.site-header:not(.is-scrolled) .logo,
.site-header:not(.is-scrolled) .primary-nav a,
.site-header:not(.is-scrolled) .primary-nav a:hover,
.site-header:not(.is-scrolled) .primary-nav a[aria-current="page"] { color: var(--ivory); }
.site-header:not(.is-scrolled) .logo-sub { color: rgba(247, 245, 239, 0.72); }
.site-header:not(.is-scrolled) .primary-nav a::after { background: var(--sage); }
.site-header:not(.is-scrolled) .header-cta { background: var(--ivory); color: var(--forest); }
.site-header:not(.is-scrolled) .header-cta:hover { background: var(--white); }
.site-header:not(.is-scrolled) .menu-toggle span { background: var(--ivory); }
.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(56px, 8vw, 120px);
}
.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); }

.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: 20px; }
.prose p:not(.prose-lead) { font-weight: 300; color: var(--ink-muted); }

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 44px;
}
.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: 28px;
  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: 10px auto 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-muted);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services { background: var(--forest); color: var(--ivory); }
.services .section-title { color: var(--ivory); }
.services .section-title em { color: var(--sage); }
.services .section-lede { color: rgba(247, 245, 239, 0.72); }
.services :focus-visible { outline-color: var(--sage); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  padding: 52px 40px 56px;
  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 32px;
  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: 16px auto 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(247, 245, 239, 0.7);
}

.additional {
  margin-top: clamp(64px, 7vw, 88px);
  padding-top: 56px;
  border-top: 1px solid var(--line-light);
  text-align: center;
}
.additional-title {
  margin-bottom: 24px;
  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-list { width: 100%; }
.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 32px 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: 28px; margin-bottom: 48px; }
.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: 40px;
  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 32px;
  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: 12px 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: 30px 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 30px 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: 48px;
  text-align: center;
  font-weight: 300;
  color: var(--ink-muted);
}
.faq-more .text-link { margin-left: 6px; }

/* ==========================================================================
   Contact CTA
   ========================================================================== */

.cta-wrap { padding-block: 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: 48px;
}

.cta-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 44px;
  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); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--forest-deep);
  color: rgba(247, 245, 239, 0.7);
  padding-block: var(--section-y);
  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: 56px;
  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: 24px; line-height: 1.7; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 64px 0;
}
.footer-col h3 {
  margin-bottom: 24px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
}
.footer-col li + li { margin-top: 12px; }
.footer-col a { transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-cta { margin-top: 28px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0 32px;
  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
   ========================================================================== */

@media (max-width: 1180px) {
  .primary-nav a { padding: 10px 11px; letter-spacing: 0.12em; }
  .primary-nav a::after { left: 11px; right: 11px; }
}

@media (max-width: 1100px) {
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
  .steps::before { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .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: 36px; height: 36px; }
  .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: 48px; }
  .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: 40px 28px 44px; }

  .why-item { grid-template-columns: 44px 1fr; padding: 26px 0; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step-num { width: 68px; height: 68px; margin-bottom: 24px; }

  .acc-trigger { padding: 22px 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: 40px; padding: 48px 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 { padding-top: calc(var(--header-h) + 24px); padding-bottom: 20px; }
  .hero-title { font-size: clamp(2.35rem, 10.5vw, 3rem); line-height: 1.12; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-bar-wrap { margin-top: 40px; padding-inline: 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; }
}
