/* ============================================================
   Chance For Life Inc. — Design System
   Thesis: "Held." Growth cradled with compassion.
   Palette confirmed from brand flier. Fraunces + Hanken Grotesk.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand color */
  --indigo:       #2C285A;
  --indigo-deep:  #221F3D;
  --plum:         #3D2968;
  --sage:         #6E8B4A;
  --sage-deep:    #556E39;
  --sage-soft:    #93B06B;
  --cream:        #F8F3EF;
  --cream-warm:   #F2EAE2;
  --lavender:     #E9E4EC;
  --lavender-mist:#F1ECF2;

  /* Ink / neutrals */
  --ink:          #221F3D;
  --ink-soft:     #4A4763;
  --ink-muted:    #6B6880;
  --line:         #E3DBD3;
  --line-lav:     #DDD4E2;
  --white:        #FFFFFF;

  /* Semantic */
  --bg:           var(--cream);
  --surface:      #FFFFFF;
  --surface-lav:  var(--lavender-mist);
  --text:         var(--ink);
  --heading:      var(--indigo);
  --accent:       var(--sage);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.32rem + 0.9vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.65rem + 1.5vw, 3rem);
  --step-4:  clamp(2.5rem, 2rem + 2.5vw, 4.3rem);
  --step-5:  clamp(3rem, 2.2rem + 4vw, 5.6rem);

  /* Space */
  --sp-section: clamp(4.5rem, 3.5rem + 5vw, 8rem);
  --container: 1200px;
  --container-wide: 1360px;
  --radius: 14px;
  --radius-lg: 26px;
  --radius-xl: 40px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(44, 40, 90, 0.06);
  --shadow: 0 18px 46px -22px rgba(44, 40, 90, 0.32);
  --shadow-lg: 0 40px 90px -40px rgba(44, 40, 90, 0.42);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--heading);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { text-wrap: pretty; }
.script { font-style: italic; font-variation-settings: "SOFT" 40, "WONK" 1; color: var(--sage-deep); }
strong { font-weight: 700; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: var(--sp-section); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.bg-cream { background: var(--cream); }
.bg-warm  { background: var(--cream-warm); }
.bg-lav   { background: var(--surface-lav); }
.bg-white { background: var(--white); }

/* Eyebrow — the leaf-sprig signature marker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.4rem; height: 1.4rem;
  background: url("../images/leaf.svg") center / contain no-repeat;
  flex: none;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); margin-top: 1rem; line-height: 1.5; }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 600; font-size: var(--step-0);
  padding: 0.85em 1.6em;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
  line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--indigo); color: var(--cream); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--plum); box-shadow: var(--shadow-lg); }
.btn--sage { background: var(--sage); color: #fff; box-shadow: 0 18px 40px -20px rgba(85,110,57,0.6); }
.btn--sage:hover { background: var(--sage-deep); }
.btn--ghost { background: transparent; color: var(--indigo); border-color: rgba(44,40,90,0.28); }
.btn--ghost:hover { border-color: var(--indigo); background: rgba(44,40,90,0.05); }
.btn--light { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.42); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,0.24); }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--sage-deep);
  border-bottom: 1.5px solid transparent;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.textlink svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.textlink:hover { gap: 0.65rem; color: var(--indigo); }
.textlink:hover svg { transform: translateX(3px); }

/* ============================================================
   Top contact bar + Header
   ============================================================ */
.topbar {
  background: var(--indigo-deep);
  color: rgba(255,255,255,0.85);
  font-size: var(--step--1);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; transition: color 0.25s; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 0.95em; height: 0.95em; opacity: 0.8; }
.topbar__left { display: flex; gap: 1.5rem; }
.topbar__right { display: flex; align-items: center; gap: 1.1rem; }
.topbar__socials { display: flex; gap: 0.7rem; }
.topbar__socials a { opacity: 0.82; }
.topbar__socials svg { width: 1.05em; height: 1.05em; }
@media (max-width: 720px) {
  .topbar__left span:not(.tb-phone) { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__right { display: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 243, 239, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(44,40,90,0.25); background: rgba(248, 243, 239, 0.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.7rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
@media (min-width: 600px){ .brand img { height: 54px; } }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-weight: 500; font-size: var(--step-0);
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--indigo); }
.nav__links a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.28rem;
  height: 2px; background: var(--sage); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--indigo); }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle { display: none; }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--white); border: 1px solid var(--line-lav); cursor: pointer;
  }
  .nav__toggle svg { width: 22px; height: 22px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--indigo-deep); color: #fff;
  padding: clamp(1.5rem, 6vw, 3rem);
  display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform 0.5s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-menu__top .close { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.1); border: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.mobile-menu__top .close svg { width: 22px; height: 22px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu nav a {
  font-family: var(--display); font-size: clamp(1.8rem, 8vw, 2.6rem); color: #fff;
  padding-block: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu nav a span { color: var(--sage-soft); font-family: var(--body); font-size: 1rem; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu__foot .btn { justify-content: center; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(2rem, 3vw, 3rem); padding-bottom: var(--sp-section); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero__copy { max-width: 34rem; }
.hero h1 { margin-bottom: 1.3rem; }
.hero h1 .accent { color: var(--sage-deep); font-style: italic; font-variation-settings: "SOFT" 30, "WONK" 1; }
.hero__sub { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; margin-bottom: 2rem; max-width: 30rem; }
.hero .btn-row { margin-bottom: 2.4rem; }

.hero__trust { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); flex-wrap: wrap; }
.hero__trust > div { position: relative; }
.hero__trust > div + div { padding-left: clamp(1.2rem, 3vw, 2.4rem); border-left: 1px solid var(--line); }
.hero__trust dt { font-family: var(--display); font-size: var(--step-2); color: var(--indigo); line-height: 1; }
.hero__trust dd { font-size: var(--step--1); color: var(--ink-muted); margin-top: 0.35rem; letter-spacing: 0.02em; }

/* Cupped hero frame — asymmetric radii echo cradling hands */
.hero__media {
  position: relative;
  border-radius: 46% 46% var(--radius-xl) var(--radius-xl) / 30% 30% var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
  background: var(--lavender);
}
@media (min-width: 981px){ .hero__media { aspect-ratio: 4 / 4.7; } }
.hero__slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease), transform 6s ease-out;
  transform: scale(1.06);
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(44,40,90,0) 55%, rgba(34,31,61,0.42) 100%);
}
/* floating hope chip */
.hero__chip {
  position: absolute; z-index: 4; left: clamp(0.8rem, 2vw, 1.4rem); bottom: clamp(0.8rem, 2vw, 1.4rem);
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-radius: 18px; padding: 0.85rem 1.1rem 0.85rem 0.9rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow); max-width: 15rem;
}
.hero__chip .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--sage); color:#fff; display: grid; place-items: center; flex: none; }
.hero__chip .ico svg { width: 22px; height: 22px; }
.hero__chip b { display: block; color: var(--indigo); font-family: var(--display); font-size: 1.05rem; line-height: 1.1; }
.hero__chip span { font-size: var(--step--1); color: var(--ink-muted); }

/* slide dots */
.hero__dots { position: absolute; z-index: 5; right: clamp(0.9rem,2vw,1.4rem); top: clamp(0.9rem,2vw,1.4rem); display: flex; gap: 0.5rem; }
.hero__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.55); cursor: pointer; padding: 0; transition: all 0.3s; }
.hero__dots button.active { background: #fff; width: 26px; border-radius: 5px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 40rem; }
  .hero__media { aspect-ratio: 4 / 3.6; border-radius: 40% 40% var(--radius-xl) var(--radius-xl) / 18% 18% var(--radius-xl) var(--radius-xl); }
}
@media (max-width: 560px){
  .hero__media { aspect-ratio: 3 / 3.2; }
  .hero__trust { flex-direction: column; gap: 0; }
  .hero__trust > div + div { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
  .hero__trust > div { padding-block: 0.9rem; }
  .hero__trust > div:first-child { padding-top: 0; }
}

/* ============================================================
   Intro / mission strip
   ============================================================ */
.intro__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.intro__lead { font-family: var(--display); font-size: var(--step-3); color: var(--indigo); line-height: 1.18; }
.intro__body p { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; }
.intro__body p + p { margin-top: 1.1rem; }
.intro__body .btn-row { margin-top: 1.8rem; }
@media (max-width: 820px){ .intro__inner { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ============================================================
   Pillars / service cards
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(1.1rem, 2.2vw, 1.6rem); }
.pillar {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.06); }
.pillar__num {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(248,243,239,0.92); backdrop-filter: blur(6px);
  color: var(--sage-deep); display: grid; place-items: center;
}
.pillar__num svg { width: 22px; height: 22px; }
.pillar__body { padding: clamp(1.3rem, 2.5vw, 1.7rem); display: flex; flex-direction: column; flex: 1; }
.pillar__body h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.pillar__body p { color: var(--ink-soft); font-size: var(--step-0); margin-bottom: 1.2rem; flex: 1; }
.pillar__body .textlink { margin-top: auto; }

/* Full service detail block (services page) */
.service-detail { scroll-margin-top: 120px; }
.service-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.service-detail:nth-child(even) .service-detail__media { order: 2; }
.service-detail__media {
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius) var(--radius) / var(--radius-xl) var(--radius-xl) var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4;
}
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail h2 { font-size: var(--step-3); margin-bottom: 1.1rem; }
.service-detail p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; margin-bottom: 1.5rem; }
.check-list { display: grid; gap: 0.75rem; margin-bottom: 1.8rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--step-0); }
.check-list li::before {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.1rem;
  background: url("../images/check.svg") center/contain no-repeat;
}
.check-list li strong { font-weight: 700; color: var(--indigo); display: block; }
@media (max-width: 820px){
  .service-detail__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .service-detail:nth-child(even) .service-detail__media { order: 0; }
}

/* ============================================================
   Tagline band
   ============================================================ */
.band {
  position: relative; overflow: hidden;
  background: var(--indigo); color: #fff;
  text-align: center;
}
.band::before, .band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(147,176,107,0.4), transparent 70%);
}
.band::before { width: 460px; height: 460px; top: -220px; left: -120px; }
.band::after { width: 520px; height: 520px; bottom: -300px; right: -140px; background: radial-gradient(circle, rgba(107,124,88,0.35), transparent 70%); }
.band__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 5vw, 6rem); }
.band h2 { color: #fff; font-size: var(--step-4); max-width: 20ch; margin-inline: auto; }
.band h2 .em { color: var(--sage-soft); font-style: italic; }
.band p { color: rgba(255,255,255,0.78); max-width: 42ch; margin: 1.3rem auto 0; font-size: var(--step-1); }

/* ============================================================
   Founder teaser / split feature
   ============================================================ */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media .frame {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: var(--lavender);
}
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.split__media .leaf-accent { position: absolute; width: 120px; height: 120px; z-index: -1; }
.split__badge {
  position: absolute; bottom: 1.4rem; left: -1.4rem;
  background: var(--white); border-radius: 18px; padding: 1rem 1.25rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.8rem; max-width: 17rem;
}
.split__badge .cred { width: 46px; height: 46px; border-radius: 12px; background: var(--lavender); color: var(--plum); display: grid; place-items: center; flex: none; }
.split__badge .cred svg { width: 24px; height: 24px; }
.split__badge b { color: var(--indigo); display: block; font-family: var(--display); }
.split__badge span { font-size: var(--step--1); color: var(--ink-muted); }
.split__body h2 { margin-bottom: 1.2rem; }
.split__body p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; margin-bottom: 1.2rem; }
@media (max-width: 860px){
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 0; }
  .split__badge { left: 1rem; }
}

/* mission pull-quote */
.pullquote { text-align: center; max-width: 40rem; margin-inline: auto; }
.pullquote blockquote {
  font-family: var(--display); font-size: var(--step-3); color: var(--indigo);
  line-height: 1.28; font-style: italic; position: relative;
}
.pullquote blockquote::before { content: "“"; font-size: 3em; color: var(--sage-soft); line-height: 0; position: relative; top: 0.35em; margin-right: 0.05em; }
.pullquote cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700; }

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial-card {
  max-width: 54rem; margin-inline: auto; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem); box-shadow: var(--shadow); text-align: center;
}
.testimonial-card .quotemark { font-family: var(--display); font-size: 5rem; line-height: 0.3; color: var(--sage-soft); display: block; height: 2rem; }
.testimonial-card blockquote { font-family: var(--display); font-size: var(--step-2); line-height: 1.4; color: var(--indigo); font-style: italic; }
.testimonial-card .stars { display: flex; gap: 0.3rem; justify-content: center; color: var(--sage); margin: 1.6rem 0 0.7rem; }
.testimonial-card .stars svg { width: 1.25rem; height: 1.25rem; }
.testimonial-card cite { font-style: normal; font-weight: 700; color: var(--sage-deep); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; }
.testimonial-card .perm { display: block; margin-top: 0.4rem; font-size: var(--step--1); color: var(--ink-muted); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* ============================================================
   Values / feature row (why choose)
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.feature { padding: clamp(1.4rem,2.5vw,1.8rem); background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature .ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--lavender); color: var(--plum); }
.feature .ico svg { width: 28px; height: 28px; }
.feature:nth-child(2n) .ico { background: #E7EDDD; color: var(--sage-deep); }
.feature h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.feature p { color: var(--ink-soft); font-size: var(--step-0); }

/* ============================================================
   Steps (how it works)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); counter-reset: step; }
.step { position: relative; }
.step__n { font-family: var(--display); font-size: var(--step-4); color: var(--sage-soft); line-height: 1; display: block; margin-bottom: 0.6rem; }
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); }

/* ============================================================
   CTA band (closing)
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); color: #fff; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(34,31,61,0.94), rgba(61,41,104,0.82) 55%, rgba(85,110,57,0.7)); }
.cta-band__inner { padding: clamp(2.5rem, 6vw, 5rem); text-align: center; }
.cta-band h2 { color: #fff; font-size: var(--step-4); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 44ch; margin: 1.2rem auto 2rem; font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { background: var(--indigo); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(147,176,107,0.32), transparent 70%); top: -260px; right: -120px; }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 5.5rem); max-width: 48rem; }
.page-hero .eyebrow { color: var(--sage-soft); }
.page-hero .eyebrow::before { filter: brightness(0) saturate(100%) invert(78%) sepia(18%) saturate(760%) hue-rotate(38deg) brightness(92%) contrast(88%); }
.page-hero h1 { color: #fff; font-size: var(--step-4); }
.page-hero p { color: rgba(255,255,255,0.82); font-size: var(--step-1); margin-top: 1.2rem; max-width: 40rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: var(--step--1); color: rgba(255,255,255,0.6); margin-bottom: 1.3rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 60rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--display); font-size: var(--step-1); color: var(--indigo);
  transition: color 0.25s;
}
.faq__q:hover { color: var(--sage-deep); }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-lav); display: grid; place-items: center; position: relative; transition: background 0.3s, border-color 0.3s; }
.faq__icon::before, .faq__icon::after { content:""; position: absolute; background: var(--indigo); border-radius: 2px; transition: transform 0.3s var(--ease), background 0.3s; }
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item[aria-expanded="true"] .faq__icon { background: var(--sage); border-color: var(--sage); }
.faq__item[aria-expanded="true"] .faq__icon::before, .faq__item[aria-expanded="true"] .faq__icon::after { background: #fff; }
.faq__item[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); }
.faq__a { overflow: hidden; height: 0; transition: height 0.4s var(--ease); }
.faq__a-inner { padding-bottom: 1.6rem; color: var(--ink-soft); font-size: var(--step-0); max-width: 52rem; line-height: 1.6; }

/* ============================================================
   Forms
   ============================================================ */
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step--1); color: var(--indigo); }
.field label .req { color: var(--sage-deep); }
.field input, .field select, .field textarea {
  padding: 0.85em 1em; border-radius: 12px; border: 1.5px solid var(--line-lav);
  background: var(--cream); color: var(--ink); font-size: var(--step-0);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 4px rgba(110,139,74,0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: var(--lavender-mist); border: 1px solid var(--line-lav); border-radius: 12px;
  padding: 0.9rem 1.1rem; font-size: var(--step--1); color: var(--ink-soft); margin: 1.2rem 0;
}
.form-note svg { flex: none; width: 20px; height: 20px; color: var(--plum); margin-top: 2px; }
.form-status { margin-top: 1rem; font-size: var(--step-0); border-radius: 12px; padding: 0.9rem 1.1rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E7EDDD; color: var(--sage-deep); border: 1px solid var(--sage-soft); }
.form-status.err { background: #F7E6E6; color: #9B3B3B; border: 1px solid #E0B4B4; }
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }

/* contact info list */
.contact-aside { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--lavender); color: var(--plum); display: grid; place-items: center; }
.contact-row:nth-child(2n) .ico { background: #E7EDDD; color: var(--sage-deep); }
.contact-row .ico svg { width: 24px; height: 24px; }
.contact-row dt { font-weight: 700; color: var(--indigo); font-size: var(--step-0); }
.contact-row dd { color: var(--ink-soft); }
.contact-row dd a:hover { color: var(--sage-deep); }
.aside-socials { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.aside-socials a { width: 42px; height: 42px; border-radius: 12px; background: var(--white); border: 1px solid var(--line-lav); display: grid; place-items: center; color: var(--indigo); transition: all 0.3s var(--ease); }
.aside-socials a:hover { background: var(--indigo); color: #fff; transform: translateY(-3px); border-color: var(--indigo); }
.aside-socials svg { width: 20px; height: 20px; }

/* pricing cards (CMT) */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); position: relative; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--sage); box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: 1.4rem; right: 1.4rem; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--sage); padding: 0.3em 0.8em; border-radius: 100px; }
.price-card h3 { font-size: var(--step-2); margin-bottom: 0.3rem; }
.price-card .hrs { color: var(--ink-muted); font-size: var(--step-0); margin-bottom: 1.3rem; }
.price-card .price { font-family: var(--display); font-size: var(--step-4); color: var(--indigo); line-height: 1; margin-bottom: 0.3rem; }
.price-card .price small { font-size: 0.32em; color: var(--ink-muted); font-family: var(--body); font-weight: 600; letter-spacing: 0.04em; }
.price-card .price-note { font-size: var(--step--1); color: var(--ink-muted); margin-bottom: 1.5rem; }
.price-card ul { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.price-card ul li { display: flex; gap: 0.6rem; font-size: var(--step-0); color: var(--ink-soft); }
.price-card ul li::before { content:""; width: 1.3rem; height: 1.3rem; flex: none; background: url("../images/check.svg") center/contain no-repeat; }
.price-card .btn { margin-top: auto; }

/* highlight chips row */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); border: 1px solid var(--line-lav); border-radius: 100px; padding: 0.55em 1.05em; font-size: var(--step--1); font-weight: 600; color: var(--indigo); }
.chip svg { width: 1.1em; height: 1.1em; color: var(--sage-deep); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--indigo-deep); color: rgba(255,255,255,0.72); position: relative; overflow: hidden; }
.site-footer::before { content:""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(85,110,57,0.22), transparent 70%); bottom: -340px; left: -140px; }
.footer__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 5vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand img { height: 58px; margin-bottom: 1.2rem; background: rgba(255,255,255,0.96); padding: 0.5rem 0.7rem; border-radius: 14px; }
.footer__brand .tagline { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--sage-soft); margin-bottom: 0.8rem; }
.footer__brand p { max-width: 26rem; font-size: var(--step-0); }
.footer h4 { color: #fff; font-family: var(--body); font-size: var(--step-0); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links a { transition: color 0.25s, padding 0.25s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: 0.75rem; margin-bottom: 0.9rem; align-items: flex-start; }
.footer__contact svg { flex: none; width: 1.1em; height: 1.1em; margin-top: 0.3em; color: var(--sage-soft); }
.footer__contact a:hover { color: #fff; }
.footer__socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer__socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: all 0.3s var(--ease); }
.footer__socials a:hover { background: var(--sage); transform: translateY(-3px); }
.footer__socials svg { width: 19px; height: 19px; }
.footer__bottom { padding-top: 1.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--step--1); }
.footer__bottom p { max-width: 60ch; }
.footer__bottom .legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px){ .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   WhatsApp float
   ============================================================ */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,0.55);
  transition: transform 0.3s var(--ease); animation: wa-pop 0.5s var(--ease-out) 1s both;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* utility */
.text-center { text-align: center; }
.mt-gap { margin-top: clamp(2.2rem, 4vw, 3.5rem); }
.mt-gap-sm { margin-top: 1.8rem; }
.divider-leaf { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--sage-soft); }
.divider-leaf::before, .divider-leaf::after { content:""; height: 1px; width: min(120px, 20vw); background: var(--line); }
.placeholder-note { font-size: var(--step--1); color: var(--ink-muted); font-style: italic; }
