/* =====================================================================
   AstraMed Wellness — Bright Clean Clinical (product style)
   ===================================================================== */

:root {
  /* Brand */
  --navy:      #1f2b52;
  --navy-2:    #16203f;
  --blue:      #35509e;
  --blue-br:   #4664c9;
  --terra:     #e0673f;   /* brighter terracotta accent */
  --terra-2:   #cf5730;
  --terra-ink: #b34a26;
  --terra-soft:#ef9670;   /* lighter terracotta for dark backgrounds */

  /* Surfaces */
  --white:     #ffffff;
  --tint-blue: #eef2fc;   /* fresh cool tint */
  --tint-peach:#fdf0ea;   /* warm tint */
  --tint-cloud:#f6f8fd;
  --line:      #e6e9f2;
  --line-2:    #eceef5;

  /* Text */
  --ink:       #182036;
  --text:      #3c4358;
  --muted:     #6b7284;
  --on-dark:   #eef1f8;
  --on-dark-soft: rgba(238,241,248,0.68);
  --line-dark: rgba(255,255,255,0.14);

  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.15rem, 4.5vw, 4rem);
  --section: clamp(3rem, 5.5vw, 5.5rem);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --sh-sm: 0 4px 16px rgba(24,32,54,0.06);
  --sh:    0 18px 40px -20px rgba(24,32,54,0.22);
  --sh-lg: 0 34px 70px -28px rgba(24,32,54,0.34);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-header: 100; --z-drawer: 200; --z-loader: 300;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Shared type ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terra-ink);
  background: var(--tint-peach); padding: .45rem .85rem; border-radius: 100px;
}
.tag--light { color: #ffcbb5; background: rgba(224,103,63,0.16); }

.section-title {
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em;
}
.section-title--light { color: #fff; }
.section-sub { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 52ch; }
.section-sub--light { color: var(--on-dark-soft); }
.hl { color: var(--terra); }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60ch; }
.section-head--center { align-items: center; text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --pad: .95rem 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: var(--pad); border-radius: 100px; position: relative;
  transition: transform .4s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn--lg { --pad: 1.1rem 2rem; font-size: 1rem; }
.btn--sm { --pad: .65rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--terra); color: #fff; box-shadow: 0 12px 26px -12px rgba(224,103,63,0.7); }
.btn--solid:hover { background: var(--terra-2); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(224,103,63,0.75); }
.btn--soft { background: var(--tint-blue); color: var(--navy); }
.btn--soft:hover { background: #e2e8fa; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn--outline-light { border: 1.5px solid var(--line-dark); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: var(--z-loader); background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.loader__logo { width: clamp(180px, 34vw, 260px); height: auto; filter: brightness(0) invert(1); opacity: 0; animation: loaderLogo 1s var(--ease) forwards; }
@keyframes loaderLogo { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.loader__bar { position: relative; width: clamp(140px, 24vw, 220px); height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.loader__bar-fill { position: absolute; inset: 0; width: 0; background: var(--terra); border-radius: 3px; animation: loaderFill 1.9s var(--ease) forwards; }
@keyframes loaderFill { to { width: 100%; } }
body.is-loaded .loader { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.no-js .loader { display: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: var(--z-header); padding: 0 var(--gutter); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.header__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: padding .4s var(--ease); }
.header.is-stuck { background: rgba(255,255,255,0.94); backdrop-filter: saturate(160%) blur(8px); -webkit-backdrop-filter: saturate(160%) blur(8px); border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.header.is-stuck .header__inner { padding-top: .7rem; padding-bottom: .7rem; }
.header__logo { width: clamp(150px, 13vw, 196px); height: auto; transition: width .4s var(--ease); }
.header.is-stuck .header__logo { width: clamp(134px, 11vw, 164px); }

.nav__list { display: flex; align-items: center; gap: .2rem; }
.nav__link { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); padding: .55rem .9rem; border-radius: 100px; transition: color .3s, background-color .3s; }
.nav__link:hover { color: var(--terra); background: var(--tint-peach); }
.nav__caret { width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform .3s var(--ease); }
.nav__item--has-menu { position: relative; }
.nav__item--has-menu[aria-open="true"] .nav__caret { transform: rotate(-135deg); }
.mega { position: absolute; top: calc(100% + .7rem); left: 50%; transform: translate(-50%, 8px); width: min(340px, 78vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: .6rem; box-shadow: var(--sh); opacity: 0; visibility: hidden; transition: opacity .32s var(--ease), transform .32s var(--ease); }
.nav__item--has-menu[aria-open="true"] .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__link { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: 12px; font-weight: 600; font-size: .93rem; color: var(--ink); transition: background-color .25s, color .25s; }
.mega__link:hover { background: var(--tint-blue); color: var(--terra); }
.mega__num { font-family: var(--font-head); font-size: .78rem; color: var(--terra); }

.header__actions { display: flex; align-items: center; gap: 1rem; }
.lang { position: relative; }
.lang__toggle { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: var(--ink); padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 100px; transition: border-color .3s, background-color .3s; }
.lang__toggle:hover { border-color: #d7dcea; background: var(--tint-cloud); }
.lang__caret { width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform .3s var(--ease); }
.lang[aria-open="true"] .lang__caret { transform: rotate(-135deg); }
.lang__menu { position: absolute; top: calc(100% + .5rem); right: 0; min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .4rem; box-shadow: var(--sh); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.lang[aria-open="true"] .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__opt { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); padding: .6rem .8rem; border-radius: 10px; transition: background-color .25s, color .25s; }
.lang__opt:hover { background: var(--tint-blue); color: var(--terra); }
.lang__opt.is-active { color: var(--terra); }
.lang__opt.is-active::after { content: "✓"; font-size: .8rem; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint-blue); position: relative; }
.burger span { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
body.drawer-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.drawer-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Drawer */
.drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: 100%; z-index: var(--z-drawer); background: var(--navy); color: #fff; padding: 1.1rem var(--gutter) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; transform: translateX(100%); transition: transform .55s var(--ease); overflow-y: auto; }
body.drawer-open .drawer { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__logo { width: clamp(150px, 40vw, 196px); height: auto; filter: brightness(0) invert(1); }
.drawer__close { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background-color .3s, transform .3s var(--ease); }
.drawer__close:hover { background: rgba(255,255,255,.16); }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link { display: flex; align-items: baseline; gap: 1rem; padding: .8rem 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem,5.5vw,1.9rem); border-bottom: 1px solid var(--line-dark); transition: color .3s, padding-left .3s var(--ease); }
.drawer__link:hover { color: var(--terra); padding-left: .4rem; }
.drawer__idx { font-family: var(--font); font-size: .75rem; font-weight: 600; color: var(--terra); }
/* Drawer: Services accordion */
.drawer__acc { display: flex; flex-direction: column; }
.drawer__acc-btn { width: 100%; cursor: pointer; }
.drawer__acc-caret { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); align-self: center; }
.drawer__acc.is-open .drawer__acc-caret { transform: rotate(-135deg); }
.drawer__sub { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .45s var(--ease), opacity .35s var(--ease); }
.drawer__acc.is-open .drawer__sub { max-height: 640px; opacity: 1; }
.drawer__sublink { display: block; padding: .55rem 0 .55rem 1.6rem; font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, 4vw, 1.15rem); color: var(--on-dark-soft); transition: color .3s, padding-left .3s var(--ease); }
.drawer__sublink:first-child { padding-top: .9rem; }
.drawer__sublink:hover { color: var(--terra); padding-left: 1.9rem; }
.drawer__sublink--all { color: var(--terra); font-weight: 700; }

.drawer__foot { display: flex; flex-direction: column; gap: .4rem; margin-top: 2rem; }
.drawer__foot .btn { margin-bottom: .75rem; }
.drawer__contact { color: var(--on-dark-soft); font-size: .95rem; padding: .1rem 0; }
.drawer__contact:hover { color: var(--terra); }
.drawer-scrim { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: rgba(20,26,45,.5); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; backdrop-filter: blur(2px); }
body.drawer-open .drawer-scrim { opacity: 1; visibility: visible; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: clamp(8rem, 15vh, 11rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 55% at 82% 8%, var(--tint-peach) 0%, transparent 60%),
    var(--white);
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .04em; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: .5rem .9rem; border-radius: 100px; box-shadow: var(--sh-sm); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-br); box-shadow: 0 0 0 4px rgba(70,100,201,.18); }
.hero__title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__title .hl { color: var(--terra); }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 1.75rem 2.5rem; margin-top: .5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); width: 100%; }
.hstat { display: flex; flex-direction: column; gap: .3rem; position: relative; }
.hstat:not(:last-child)::after { content: ""; position: absolute; right: -1.25rem; top: .1rem; bottom: .1rem; width: 1px; background: var(--line); }
.hstat__v { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--terra); line-height: 1; letter-spacing: -0.01em; }
.hstat__l { font-size: .82rem; color: var(--muted); line-height: 1.35; }

.hero__visual { position: relative; }
/* Heartbeat hero visual */
.hero__viz { position: relative; aspect-ratio: 1 / 1.02; display: grid; place-items: end center; overflow: hidden; }
.hero__viz-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -40%); width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224,103,63,.22), transparent 66%); filter: blur(30px); }
.hero__team { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  transform: scale(1.12); transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,.35) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,.35) 92%, transparent 100%); }
.hero__viz-ring { position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(224,103,63,.35); opacity: 0; animation: heartRing 1.7s ease-out infinite; }
.hero__viz-ring--2 { animation-delay: .85s; }
.hero__heart { position: relative; width: 42%; color: var(--terra); transform-origin: center; animation: heartbeat 1.7s ease-in-out infinite; filter: drop-shadow(0 14px 34px rgba(224,103,63,.4)); }
.hero__ecg { position: absolute; bottom: 12%; left: 0; width: 100%; height: 60px; }
.hero__ecg-base { fill: none; stroke: rgba(31,43,82,.18); stroke-width: 2; }
.hero__ecg-pulse { fill: none; stroke: var(--terra); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 44 620; stroke-dashoffset: 664; animation: ecg 2.4s linear infinite; }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.13); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } 50% { transform: scale(1); } }
@keyframes heartGlow { 0%,100% { opacity: .55; transform: scale(1); } 12% { opacity: .85; transform: scale(1.1); } 36% { opacity: .7; transform: scale(1.04); } }
@keyframes heartRing { 0% { opacity: .7; transform: scale(.6); } 80%,100% { opacity: 0; transform: scale(1.5); } }
@keyframes ecg { to { stroke-dashoffset: 0; } }
.hero__card { position: absolute; display: flex; align-items: center; gap: .7rem; background: #fff; padding: .8rem 1rem; border-radius: 16px; box-shadow: var(--sh); font-size: .82rem; }
.hero__card strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .92rem; }
.hero__card span { color: var(--muted); }
.hero__card--top { top: 1.4rem; right: -0.6rem; }
.hero__card--bottom { bottom: 1.4rem; left: -0.9rem; }
.hero__card-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--tint-peach); color: var(--terra); display: grid; place-items: center; font-size: 1rem; flex: none; }
.hero__card-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue-br); box-shadow: 0 0 0 4px rgba(70,100,201,.16); flex: none; }

/* =====================================================================
   VALUE STRIP
   ===================================================================== */
.strip { background: var(--navy); }
.strip__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.25rem var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.strip__item { font-family: var(--font-head); font-size: clamp(.92rem, 1.4vw, 1.05rem); color: var(--on-dark-soft); }
.strip__item b { color: #fff; font-weight: 700; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { padding: var(--section) var(--gutter); }
.about__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__head { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; position: sticky; top: clamp(6.5rem, 16vh, 9rem); }
.about__cta { margin-top: .75rem; }
.about__cta--m { display: none; }
.about__body { display: flex; flex-direction: column; gap: 2rem; }
.about__p { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text); }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: var(--tint-cloud); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.4rem 1.2rem; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--terra); line-height: 1; }
.stat span { display: block; margin-top: .4rem; font-size: .86rem; color: var(--muted); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { padding: var(--section) var(--gutter); background: var(--tint-cloud); }
.services__inner { max-width: var(--maxw); margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.card { display: flex; flex-direction: column; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--sh-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: #dfe4f2; }
.card__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint-blue); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .3rem; transition: background-color .4s, color .4s; }
.card:hover .card__ic { background: var(--terra); color: #fff; }
.card__num { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--terra); letter-spacing: .05em; }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.4rem); color: var(--ink); line-height: 1.2; }
.card__text { font-size: .96rem; color: var(--muted); }
.card__link { margin-top: auto; padding-top: .6rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.card__link i { transition: transform .35s var(--ease); font-style: normal; }
.card:hover .card__link { color: var(--terra); }
.card:hover .card__link i { transform: translateX(5px); }

/* Feature card (image) */
.card--feature { grid-row: span 2; padding: 0; overflow: hidden; }
.card--feature .card__media { aspect-ratio: 16/10; overflow: hidden; }
.card--feature .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card--feature:hover .card__media img { transform: scale(1.06); }
.card--feature .card__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.7rem; flex: 1; }

/* Wide card */
.card--wide { grid-column: span 2; }
.card__split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: center; height: 100%; }
.card__split > div:first-child { display: flex; flex-direction: column; gap: .55rem; }
.card__media--side { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.card__media--side img { width: 100%; height: 100%; object-fit: contain; }

/* =====================================================================
   FEATURE (functional medicine) — dark
   ===================================================================== */
.feature { background: var(--navy); color: var(--on-dark); padding: var(--section) var(--gutter); position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; width: 50vw; height: 50vw; top: -20%; right: -10%; background: radial-gradient(circle, rgba(224,103,63,.28), transparent 62%); pointer-events: none; }
.feature__inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.feature__head { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.step { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; transition: transform .45s var(--ease), background-color .45s, border-color .45s; }
.step:hover { transform: translateY(-6px); background: rgba(224,103,63,.12); border-color: var(--terra); }
.step__k { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--terra); width: 44px; height: 44px; border-radius: 12px; background: rgba(224,103,63,.16); display: grid; place-items: center; }
.step h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; }
.step p { font-size: .93rem; color: var(--on-dark-soft); }

/* =====================================================================
   WHY
   ===================================================================== */
.why { position: relative; padding: clamp(2.5rem, 4vw, 4rem) var(--gutter); color: #fff; isolation: isolate;
  background: linear-gradient(180deg, rgba(20,26,45,.9) 0%, rgba(20,26,45,.82) 45%, rgba(20,26,45,.92) 100%),
              url("../img/why-bg.jpg") center/cover no-repeat;
}
.why__inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.why .section-head { max-width: none; margin-bottom: 0; }
.why .section-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.why .section-sub { max-width: none; }
@media (min-width: 768px) { .why .section-title, .why .section-sub { white-space: nowrap; } }
.why__points {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.5rem, 1.5vw, 1rem);
  margin-top: clamp(1rem, 1.8vw, 1.5rem); padding: clamp(.75rem, 1.5vw, 1.1rem);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.wpoint { flex: 0 1 calc(33.333% - .75rem); display: flex; flex-direction: column; gap: .3rem; padding: clamp(1rem, 1.6vw, 1.4rem); border-radius: var(--r); transition: background-color .4s var(--ease); }
.wpoint:hover { background: rgba(255,255,255,.06); }
.wpoint__n { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; color: var(--terra-soft); margin-bottom: .55rem; }
.wpoint__t h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: #fff; margin-bottom: .4rem; }
.wpoint__t p { font-size: .95rem; color: var(--on-dark-soft); }
.wpoint--cta { justify-content: center; align-items: flex-start; gap: 1rem; }
.wpoint--cta:hover { background: transparent; }
.wpoint__cta-t { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #fff; line-height: 1.3; }
.wpoint--cta .btn i { font-style: normal; transition: transform .35s var(--ease); }
.wpoint--cta .btn:hover i { transform: translateX(4px); }
/* Touch devices have no hover — show the card surface by default so they read as cards */
@media (hover: none), (max-width: 1024px) {
  .wpoint { background: rgba(255,255,255,.06); }
  .wpoint--cta { background: transparent; }
}
/* Dots hidden by default; the points become a swipe slider on phones */
.why__dots { display: none; }
.why__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); border: 0; padding: 0; cursor: pointer; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.why__dot.is-active { background: var(--terra); transform: scale(1.3); }
@media (max-width: 620px) {
  .why__points { flex-wrap: nowrap; justify-content: flex-start; gap: 2rem; padding-left: 1rem; padding-right: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .why__points::-webkit-scrollbar { display: none; }
  /* gap (2rem) >= 2x side padding (1rem) keeps the neighbouring card fully off-screen — one card per view, with side gutters */
  .wpoint { flex: 0 0 100%; width: 100%; max-width: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .why__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
}

/* =====================================================================
   JOURNEY
   ===================================================================== */
.journey { padding: var(--section) var(--gutter); }
.journey__inner { max-width: var(--maxw); margin: 0 auto; }
.journey__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: step; }
.jstep { position: relative; padding: 1.8rem; background: var(--tint-cloud); border: 1px solid var(--line-2); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: .55rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.jstep:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.jstep__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--terra); line-height: 1; }
.jstep h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.jstep p { font-size: .93rem; color: var(--muted); }

/* =====================================================================
   AREAS
   ===================================================================== */
.areas { padding: var(--section) var(--gutter); background: var(--tint-cloud); }
.areas__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.areas__copy { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.areas__map { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); aspect-ratio: 3/2; }
.areas__map img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.areas__map:hover img { transform: scale(1.05); }
.areas__pin { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; background: #fff; padding: .65rem 1rem; border-radius: 100px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); box-shadow: var(--sh-sm); }
.areas__pin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px rgba(224,103,63,.2); }

/* =====================================================================
   CTA
   ===================================================================== */
.cta { padding: var(--section) var(--gutter); }
.cta__inner { max-width: var(--maxw); margin: 0 auto; background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; position: relative; overflow: hidden; }
.cta__inner::before { content: ""; position: absolute; width: 60vw; height: 60vw; bottom: -40%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(224,103,63,.35), transparent 60%); }
.cta__ic { position: relative; width: 54px; height: 54px; border-radius: 16px; background: rgba(224,103,63,.18); color: var(--terra); display: grid; place-items: center; font-size: 1.5rem; }
.cta__eyebrow { position: relative; font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: #ffcbb5; }
.cta__title { position: relative; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--navy-2); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 2rem; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: 168px; height: auto; filter: brightness(0) invert(1); }
.footer__statement { color: var(--on-dark-soft); margin: 1.2rem 0 1.4rem; max-width: 40ch; font-size: .95rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.footer__social a:hover { background: var(--terra); border-color: var(--terra); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__col h4 { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffcbb5; margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--on-dark-soft); font-size: .95rem; padding: .32rem 0; transition: color .3s, padding-left .3s var(--ease); }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__contact a { line-height: 1.5; }
.footer__col a.footer__cta { display: inline-flex; width: auto; margin-top: 1.1rem; color: #fff; box-shadow: none; padding: .7rem 1.35rem; }
.footer__col a.footer__cta:hover { padding-left: 1.35rem; color: #fff; }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--on-dark-soft); }
.footer__legal { display: flex; gap: 1.4rem; align-items: center; }
.footer__legal a:hover { color: #fff; }
.footer__lang { color: #ffcbb5; font-family: var(--font-head); font-weight: 700; }

/* ---------- About links (3 core services) ---------- */
.about__links { display: flex; flex-direction: column; gap: .75rem; }
.alink { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--tint-cloud); border: 1px solid var(--line-2); border-radius: var(--r); transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
.alink:hover { transform: translateX(6px); border-color: #dfe4f2; background: #fff; box-shadow: var(--sh-sm); }
.alink__ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--tint-peach); color: var(--terra); display: grid; place-items: center; font-size: 1.15rem; }
.alink__t { display: flex; flex-direction: column; line-height: 1.35; font-size: .88rem; color: var(--muted); }
.alink__t strong { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.alink__go { margin-left: auto; color: var(--terra); font-size: 1.15rem; transition: transform .35s var(--ease); }
.alink:hover .alink__go { transform: translateX(4px); }

.services .section-head { max-width: none; width: 100%; }

/* ---------- Services CTA card ---------- */
.card--cta { background: var(--tint-blue); border-color: #dde5fa; color: var(--navy); justify-content: center; box-shadow: none; }
.card--cta:hover { background: #e7edfb; border-color: #cdd8f4; box-shadow: 0 18px 40px -24px rgba(53,80,158,.4); }
.card--cta .card__title { color: var(--ink); }
.card--cta .card__text { color: var(--muted); }
.card__ic--cta { background: #fff; color: var(--blue); box-shadow: var(--sh-sm); }
.card--cta:hover .card__ic--cta { background: #fff; color: var(--blue); }
.card__link--cta { color: var(--navy); margin-top: 1rem; }
.card--cta:hover .card__link--cta { color: var(--terra); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding: var(--section) var(--gutter); }
.contact__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__inner > * { min-width: 0; }
.contact__info { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; min-width: 0; }
.ccard__v { overflow-wrap: anywhere; }
.contact__cards { display: flex; flex-direction: column; gap: .85rem; margin-top: 1rem; width: 100%; }
.ccard { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1.25rem; box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.ccard:hover { transform: translateX(6px); box-shadow: var(--sh); border-color: #dfe4f2; }
.ccard__ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--tint-peach); color: var(--terra); display: grid; place-items: center; transition: background-color .4s, color .4s; }
.ccard__ic svg { width: 22px; height: 22px; }
.ccard:hover .ccard__ic { background: var(--terra); color: #fff; }
.ccard__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ccard__k { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); }
.ccard__v { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.ccard__go { margin-left: auto; color: var(--terra); font-size: 1.15rem; opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ccard:hover .ccard__go { opacity: 1; transform: translateX(0); }

/* Modern floating-label form — light blue card */
.cform { background: var(--tint-blue); border: 1px solid #dde5fa; border-radius: var(--r-xl); padding: clamp(1.75rem, 3.5vw, 2.75rem); display: flex; flex-direction: column; gap: 1.1rem; box-shadow: var(--sh-sm); }
.cform__title { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); margin-bottom: .3rem; }
.cfield { position: relative; }
.cfield input, .cfield textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 1.35rem 1rem .55rem; transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.cfield textarea { min-height: 120px; padding-top: 1.5rem; }
.cfield label {
  position: absolute; left: 1rem; top: 1rem; font-size: 1rem; color: var(--muted);
  pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s var(--ease);
}
.cfield input:focus, .cfield textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(224,103,63,.15); }
.cfield input:focus + label, .cfield input:not(:placeholder-shown) + label,
.cfield textarea:focus + label, .cfield textarea:not(:placeholder-shown) + label {
  transform: translateY(-.65rem) scale(.72); color: var(--terra-ink);
}
.cform__submit { margin-top: .5rem; }
.cform__submit i { font-style: normal; transition: transform .3s var(--ease); }
.cform__submit:hover i { transform: translateX(4px); }
.cform__note { font-size: .9rem; color: var(--muted); min-height: 1.2em; text-align: center; }
.cform__note.is-ok { color: #2f9e6b; font-weight: 600; }

/* =====================================================================
   REVEAL
   ===================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* hero entrance stagger (plays right after the loader lifts) */
.js .hero__eyebrow { transition-delay: .05s; }
.js .hero__visual { transition-delay: .15s; }
.js .hero__lead { transition-delay: .22s; }
.js .hero__cta { transition-delay: .32s; }
.js .hero__stats { transition-delay: .42s; }
/* staggered cascade for grid children */
.js .cards > [data-reveal]:nth-child(2), .js .why__grid > [data-reveal]:nth-child(2) { transition-delay: .06s; }
.js .cards > [data-reveal]:nth-child(3), .js .why__grid > [data-reveal]:nth-child(3) { transition-delay: .12s; }
.js .cards > [data-reveal]:nth-child(4), .js .why__grid > [data-reveal]:nth-child(4) { transition-delay: .18s; }
.js .cards > [data-reveal]:nth-child(5), .js .why__grid > [data-reveal]:nth-child(5) { transition-delay: .24s; }
.js .cards > [data-reveal]:nth-child(6) { transition-delay: .30s; }
.js .cards > [data-reveal]:nth-child(7) { transition-delay: .36s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .nav, .header__cta, .lang { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .about__inner { display: flex; flex-direction: column; gap: 1.25rem; }
  .about__head { position: static; top: auto; }
  .about__cta--d { display: none; }
  .about__cta--m { display: inline-flex; align-self: stretch; justify-content: center; margin-top: .5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-row: auto; }
  .card--feature .card__media { aspect-ratio: 16/9; }
  .card--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .wpoint { max-width: calc(50% - .5rem); }
  .journey__list { grid-template-columns: repeat(2, 1fr); }
  .areas__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .card__split { grid-template-columns: 1fr; }
  .card__media--side { aspect-ratio: 16/9; order: -1; }
  .steps, .journey__list { grid-template-columns: 1fr; }
  .wpoint { max-width: 100%; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .stat { padding: 1rem .8rem; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__card--top { right: 0; }
  .hero__card--bottom { left: 0; }
  .btn { --pad: .9rem 1.4rem; }
  .hero__cta .btn, .cta__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  :root { --gutter: 1.05rem; }
  .about__stats { grid-template-columns: 1fr; }
  .hero__card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .feature::before, .cta__inner::before { display: none; }
}

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */

/* ---- Hero ---- */
.ahero { position: relative; padding: clamp(7.5rem, 14vh, 10.5rem) var(--gutter) clamp(2rem, 4vw, 4rem); overflow: hidden;
  background: radial-gradient(55% 50% at 88% 6%, var(--tint-peach) 0%, transparent 60%), var(--white); }
.ahero__inner { max-width: var(--maxw); margin: 0 auto; }
.ahero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.35rem; }
.ahero__title { white-space: nowrap; }
.ahero__lead { max-width: 68ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.ahero__cta { flex-wrap: nowrap; }
.ahero__crumb { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.ahero__row { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.ahero__side { display: flex; justify-content: center; }
.ahero__heart { width: 100%; max-width: 310px; height: auto; filter: drop-shadow(0 30px 48px rgba(224,103,63,.28)); }
.ahero__flat { width: 100%; max-width: 620px; height: auto; filter: drop-shadow(0 30px 50px rgba(24,32,54,.16));
  -webkit-mask-image: linear-gradient(to right, #000 75%, transparent 100%), linear-gradient(to bottom, #000 75%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 75%, transparent 100%), linear-gradient(to bottom, #000 75%, transparent 100%);
  mask-composite: intersect; }
.focus3 .section-head { max-width: none; margin-bottom: 0; }
.focus3__grid { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 768px) { .focus3 .section-title { white-space: nowrap; } }
.ahero__side { display: flex; flex-direction: column; gap: .8rem; }
.astat { background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1.15rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .4s var(--ease), border-color .4s; }
.astat:hover { transform: translateX(4px); border-color: #dfe4f2; }
.astat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--terra); line-height: 1; }
.astat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) {
  /* Image on top, text below */
  .ahero__row { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1rem; }
  .ahero__side { order: -1; }
  .ahero__flat { max-width: 400px; margin: 0 auto; }
  /* Smaller buttons, kept in one row */
  .ahero__title { white-space: normal; }
  .ahero__cta { flex-wrap: nowrap; gap: .6rem; }
  .ahero__cta .btn { --pad: .75rem 1.1rem; font-size: .88rem; white-space: nowrap; }
}
@media (max-width: 900px) {
  .ahero__copy { max-width: none; }
  .ahero__side { position: static; transform: none; width: auto; flex-direction: row; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
  .astat { flex: 1 1 150px; }
}
.ahero__crumb { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.ahero__crumb a { color: var(--terra-ink); }
.ahero__crumb a:hover { text-decoration: underline; }
.ahero__crumb span { margin: 0 .35rem; opacity: .5; }
.ahero__title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; }
.ahero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ahero__title em { font-style: normal; color: var(--terra); }
.ahero__lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.ahero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.ahero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 1.75rem 2.5rem; margin-top: .5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); width: 100%; }
.ahero__stats li { display: flex; flex-direction: column; gap: .25rem; position: relative; }
.ahero__stats li:not(:last-child)::after { content: ""; position: absolute; right: -1.25rem; top: .1rem; bottom: .1rem; width: 1px; background: var(--line); }
.ahero__stats b { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--terra); line-height: 1; }
.ahero__stats span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.ahero__media { position: relative; align-self: end; aspect-ratio: 1 / 1.04; display: grid; place-items: end center; }
.ahero__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -42%); width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224,103,63,.2), transparent 66%); filter: blur(30px); }
.ahero__team { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; transform: scale(1.08); transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }

/* ---- Mission ---- */
.amission { padding: var(--section) var(--gutter); background: var(--tint-cloud); }
.amission__inner { max-width: 980px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; position: relative; }
.amission__mark { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 12vw, 9rem); line-height: .6; color: var(--terra); opacity: .18; margin-bottom: -.4rem; }
.amission__quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3.3vw, 2.6rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); max-width: 24ch; margin: 0 auto; }
.amission__body { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 62ch; }

/* ---- Pillars ---- */
.pillars { padding: var(--section) var(--gutter); }
.pillars__inner { max-width: var(--maxw); margin: 0 auto; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); margin-top: clamp(2rem, 4vw, 3.25rem); }
.pillar { display: flex; flex-direction: column; gap: .7rem; padding-top: 1.75rem; border-top: 2px solid var(--ink); position: relative; }
.pillar__n { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--terra); letter-spacing: .05em; }
.pillar__ic { width: 56px; height: 56px; border-radius: 16px; background: var(--tint-peach); color: var(--terra); display: grid; place-items: center; margin: .3rem 0 .4rem; }
.pillar__ic svg { width: 28px; height: 28px; }
.pillar h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); }
.pillar p { font-size: .98rem; color: var(--muted); }

/* ---- Why (dark glass band, matches homepage) ---- */
.awhy { position: relative; padding: clamp(3rem, 5vw, 5rem) var(--gutter); color: #fff; isolation: isolate;
  background: linear-gradient(180deg, rgba(20,26,45,.9) 0%, rgba(20,26,45,.82) 45%, rgba(20,26,45,.92) 100%),
              url("../img/why-bg.jpg") center/cover no-repeat; }
.awhy__inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.awhy__inner .section-head { max-width: none; margin-bottom: 0; align-items: center; text-align: center; }
.awhy__list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.5rem, 1.5vw, 1rem); margin-top: clamp(1.5rem, 3vw, 2.25rem); padding: clamp(.75rem, 1.5vw, 1.1rem);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.arow { flex: 0 1 calc(33.333% - .75rem); display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: clamp(1rem, 1.6vw, 1.4rem); border-radius: var(--r); }
.arow__n { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--terra-soft); line-height: 1; }
.arow h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: #fff; margin-bottom: .35rem; }
.arow p { font-size: .93rem; color: var(--on-dark-soft); }

/* ---- Provider ---- */
.provider { padding: var(--section) var(--gutter); }
.provider__inner { max-width: var(--maxw); margin: 0 auto; }
.provider__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.provider__card { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
  background: linear-gradient(160deg, #ffffff, var(--tint-cloud)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--sh); }
.provider__figure { position: relative; }
.provider__photo { aspect-ratio: 3/4; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.provider__photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,.4) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,.4) 82%, transparent 100%); }
.provider__badge { position: absolute; bottom: 1rem; right: -0.9rem; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; padding: .55rem 1.1rem; border-radius: 100px; box-shadow: var(--sh); }
.provider__body { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.provider__name { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); line-height: 1.05; }
.provider__role { font-family: var(--font-head); font-weight: 600; color: var(--terra-ink); font-size: 1.05rem; margin-bottom: .3rem; }
.provider__bio { color: var(--text); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 58ch; }
.provider__tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.provider__tags li { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--navy); background: var(--tint-blue); border: 1px solid #dde5fa; padding: .45rem .9rem; border-radius: 100px; }

/* ---- CTA ---- */
.acta { padding: 0 var(--gutter) var(--section); }
.acta__inner { max-width: var(--maxw); margin: 0 auto; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; position: relative; overflow: hidden; }
.acta__inner::before { content: ""; position: absolute; width: 60vw; height: 60vw; bottom: -40%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(224,103,63,.32), transparent 60%); }
.acta__title { position: relative; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.acta__sub { position: relative; color: var(--on-dark-soft); max-width: 52ch; }
.acta__actions { position: relative; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.nav__link.is-current { color: var(--terra); }

@media (max-width: 1024px) {
  .ahero__inner { grid-template-columns: 1fr; align-items: start; }
  .ahero__media { max-width: 440px; margin: 1rem auto 0; }
  .pillars__grid { grid-template-columns: 1fr; }
  .arow { flex-basis: calc(50% - .5rem); }
  /* Photo stands alone (no card); only the text sits in a card, left-aligned */
  .provider__card { grid-template-columns: 1fr; gap: 1rem; background: none; border: none; box-shadow: none; padding: 0; }
  .provider__figure { width: 100%; max-width: 320px; margin: 0 auto; }
  .provider__body { align-items: flex-start; text-align: left;
    background: linear-gradient(160deg, #ffffff, var(--tint-cloud)); border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: clamp(1.5rem, 5vw, 2.1rem); box-shadow: var(--sh); }
  .provider__tags li { font-size: .74rem; padding: .35rem .75rem; }
  /* Keep the long "Chronic Illness Management" tag on its own line so the two short tags share a row */
  .provider__tags li:nth-child(2) { order: 1; }
  .provider__badge { right: 8%; }
}
@media (max-width: 620px) {
  .ahero__stats { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
  .arow { flex-basis: 100%; }
}

/* =====================================================================
   SERVICE DETAIL PAGE (one template, content via ?s=)
   ===================================================================== */
.shero { position: relative; padding: clamp(6.5rem, 11vh, 8.5rem) var(--gutter) clamp(2rem, 4vw, 4rem);
  background: radial-gradient(55% 50% at 88% 6%, var(--tint-peach) 0%, transparent 60%), var(--white); }
.shero__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.shero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.shero__crumb { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted); }
.shero__crumb a { color: var(--terra-ink); }
.shero__crumb a:hover { text-decoration: underline; }
.shero__crumb span { margin: 0 .35rem; opacity: .5; }
.shero__crumb { margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.shero__cat { display: none; }
.shero__title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; }
.shero__tag { font-size: clamp(1.18rem, 1.7vw, 1.5rem); color: var(--muted); max-width: 44ch; }
.shero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.shero__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; background: var(--tint-blue); }
.shero__media img { width: 100%; height: 100%; object-fit: cover; }
.shero__media--cutout { background: none; box-shadow: none; border-radius: 0; overflow: visible; aspect-ratio: 3/2; }
.shero__media--cutout img { object-fit: contain; filter: drop-shadow(0 26px 46px rgba(24,32,54,.16)); }
/* Rectangular photo that melts softly into the page background (no hard card edge) */
.shero__media--fade { background: none; box-shadow: none; border-radius: 0; overflow: visible; aspect-ratio: 4/3; }
.shero__media--fade img { border-radius: var(--r-xl);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.35) 84%, transparent 100%), linear-gradient(to right, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.35) 84%, transparent 100%), linear-gradient(to right, #000 78%, transparent 100%);
  mask-composite: intersect; }
/* Smaller cutout photo */
.shero__media--sm img { max-width: 80%; margin: 0 auto; }
/* Cutout with a soft bottom fade into the background (no drop-shadow, which would show through) */
.shero__media--fadeb img { filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,.4) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,.4) 84%, transparent 100%); }
.shero__media--fader img { filter: none;
  -webkit-mask-image: linear-gradient(to right, #000 68%, rgba(0,0,0,.4) 86%, transparent 100%);
  mask-image: linear-gradient(to right, #000 68%, rgba(0,0,0,.4) 86%, transparent 100%); }
.shero__media--fadeb.shero__media--fader img { filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,.4) 84%, transparent 100%), linear-gradient(to right, #000 68%, rgba(0,0,0,.4) 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,.4) 84%, transparent 100%), linear-gradient(to right, #000 68%, rgba(0,0,0,.4) 86%, transparent 100%);
  mask-composite: intersect; }

.sbody { padding: var(--section) var(--gutter); }
.sbody__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sbody__main { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.sblock { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.sblock .section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.sblock #overviewBody p, .sblock p { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--text); max-width: 62ch; }
.sblock #overviewBody p + p { margin-top: 1rem; }
.sincluded { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; width: 100%; }
.sincluded li { position: relative; padding-left: 1.9rem; font-size: 1rem; color: var(--text); }
.sincluded li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-peach);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0593b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }

.sside { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: clamp(6rem, 14vh, 8rem); }
.scard { background: var(--tint-cloud); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--sh-sm); }
.scard__k { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); }
.sprice { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.sprice:first-of-type { padding-top: 0; }
.sprice span { color: var(--muted); font-size: .95rem; }
.sprice b { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.sprice__note { font-size: .82rem; color: var(--muted); margin: .4rem 0 .25rem; }
.sprice__none { font-size: .95rem; color: var(--muted); line-height: 1.5; margin-bottom: .25rem; }
.scard .btn { margin-top: .5rem; }
.scard--contact p { font-size: .93rem; color: var(--muted); }
.scard__link { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; }
.scard__link:hover { color: var(--terra); }

.swhy { padding: var(--section) var(--gutter); background: var(--tint-blue); }
.swhy__inner { max-width: var(--maxw); margin: 0 auto; }
.swhy .section-head { max-width: none; }
@media (min-width: 768px) { .swhy .section-title { white-space: nowrap; } }
.swhy__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.sbenefit { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; display: flex; flex-direction: column; gap: .5rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sbenefit:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.sbenefit__n { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--terra); }
.sbenefit h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.sbenefit p { font-size: .93rem; color: var(--muted); }

.sother { padding: var(--section) var(--gutter); }
.sother__inner { max-width: var(--maxw); margin: 0 auto; }
.sother__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sother__top .section-head { margin-bottom: 0; }
.sother__all { flex: none; }
.sother__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.sothercard { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--sh-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.sothercard:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: #dfe4f2; }
.sothercard__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint-blue); color: var(--blue); display: grid; place-items: center; margin-bottom: .4rem; transition: background-color .4s, color .4s; }
.sothercard__ic svg { width: 24px; height: 24px; }
.sothercard:hover .sothercard__ic { background: var(--terra); color: #fff; }
.sothercard__cat { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-ink); }
.sothercard h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.sothercard p { font-size: .93rem; color: var(--muted); }
.sothercard__link { margin-top: auto; padding-top: .6rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.sothercard__link i { font-style: normal; transition: transform .35s var(--ease); }
.sothercard:hover .sothercard__link { color: var(--terra); }
.sothercard:hover .sothercard__link i { transform: translateX(5px); }

@media (max-width: 1024px) {
  .shero__inner { grid-template-columns: 1fr; }
  .shero__inner > * { min-width: 0; }
  .shero__media { order: -1; max-width: 520px; margin: 0 auto; }
  /* smaller hero buttons kept in one row */
  .shero__cta { flex-wrap: nowrap; gap: .5rem; }
  .shero__cta .btn { --pad: .7rem .9rem; font-size: .82rem; white-space: nowrap; flex: 1 1 auto; justify-content: center; text-align: center; }
  /* Service detail: breadcrumb above the photo */
  .shero--detail .shero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .shero--detail .shero__copy { display: contents; }
  .shero--detail .shero__crumb { order: -2; margin-bottom: 0; text-align: left; }
  .shero--detail .shero__title, .shero--detail .shero__tag { text-align: left; }
  .shero--detail .shero__media { order: -1; align-self: center; }
  .sbody__inner { grid-template-columns: 1fr; }
  .sside { position: static; }
  .swhy__grid { grid-template-columns: repeat(2, 1fr); }
  .sother__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .shero--detail .shero__media { max-width: 300px; aspect-ratio: auto; height: auto; }
  .shero--detail .shero__media img { width: auto; height: auto; max-width: 100%; max-height: 260px; margin: 0 auto; display: block; }
  .sincluded { grid-template-columns: 1fr; }
  .swhy__grid { grid-template-columns: 1fr; }
  .sother__grid { grid-template-columns: 1fr; }
}
/* Other services → swipe slider with dots on phones */
.sother__dots { display: none; }
.sother__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(24,32,54,.2); border: 0; padding: 0; cursor: pointer; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.sother__dot.is-active { background: var(--terra); transform: scale(1.3); }
@media (max-width: 620px) {
  .sother__grid { display: flex; flex-wrap: nowrap; gap: 1.25rem; padding: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sother__grid::-webkit-scrollbar { display: none; }
  .sother__grid .sothercard { flex: 0 0 100%; width: 100%; max-width: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .sother__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
  .sother__all { --pad: .55rem 1.1rem; font-size: .85rem; }
}

/* ---- About: philosophy statement ---- */
.statement { padding: var(--section) var(--gutter); }
.statement__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.statement__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); }
.statement__text em { font-style: normal; color: var(--terra); }
.statement__note { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 64ch; }

/* ---- About: focus cards ---- */
.focus3 { padding: var(--section) var(--gutter); background: var(--tint-cloud); }
.focus3__inner { max-width: var(--maxw); margin: 0 auto; }
.focus3__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.fcard3 { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .7rem; box-shadow: var(--sh-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fcard3::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--terra), var(--terra-soft)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.fcard3:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.fcard3:hover::before { transform: scaleX(1); }
.fcard3__n { font-family: var(--font-head); font-weight: 800; font-size: .82rem; color: var(--terra); letter-spacing: .08em; }
.fcard3__ic { width: 56px; height: 56px; border-radius: 16px; background: var(--tint-peach); color: var(--terra); display: grid; place-items: center; margin: .3rem 0 .4rem; }
.fcard3__ic svg { width: 28px; height: 28px; }
.fcard3 h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); }
.fcard3 p { font-size: .96rem; color: var(--muted); }

@media (max-width: 900px) { .focus3__grid { grid-template-columns: 1fr; } }
/* Focus cards → swipe slider with dots on phones */
.focus3__dots { display: none; }
.focus3__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(24,32,54,.2); border: 0; padding: 0; cursor: pointer; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.focus3__dot.is-active { background: var(--terra); transform: scale(1.3); }
@media (max-width: 620px) {
  .focus3__grid { display: flex; flex-wrap: nowrap; gap: 1.25rem; padding: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .focus3__grid::-webkit-scrollbar { display: none; }
  .fcard3 { flex: 0 0 100%; width: 100%; max-width: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .focus3__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
}

/* ---- About: philosophy (image + statement) ---- */
.philo { padding: var(--section) var(--gutter); background: var(--tint-cloud); }
.philo__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.philo__media { position: relative; aspect-ratio: 1 / 1; }
.philo__media img { width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, rgba(0,0,0,.4) 83%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, rgba(0,0,0,.4) 83%, transparent 100%); }
.philo__badge { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .85rem 1.1rem; border-radius: 16px; box-shadow: var(--sh-sm); }
.philo__badge-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--tint-peach); color: var(--terra); display: grid; place-items: center; }
.philo__badge-ic svg { width: 20px; height: 20px; }
.philo__badge span span, .philo__badge > span { display: flex; flex-direction: column; line-height: 1.3; font-size: .8rem; color: var(--muted); }
.philo__badge strong { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.philo__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.philo__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.philo__text { font-family: var(--font); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.45; color: var(--text); }
.philo__text em { font-style: normal; color: #b56a4f; }
.philo__note { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--muted); max-width: 56ch; }
.philo__points { display: flex; flex-direction: column; gap: .7rem; margin-top: .5rem; }
.philo__points li { position: relative; padding-left: 1.9rem; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); }
.philo__points li::before { content: ""; position: absolute; left: 0; top: .05rem; width: 22px; height: 22px; border-radius: 50%; background: var(--tint-peach);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0593b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E"); background-size: 13px; background-repeat: no-repeat; background-position: center; }

@media (max-width: 900px) {
  .philo__inner { grid-template-columns: 1fr; }
  .philo__media { max-width: 300px; aspect-ratio: 3 / 4; margin: 0 auto; }
}

/* ---- About: Why choose (light editorial: sticky head + icon rows) ---- */
.awhy2 { padding: var(--section) var(--gutter); background: var(--tint-cloud); }
.awhy2__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.awhy2__head { position: sticky; top: clamp(6rem, 14vh, 8rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.awhy2__head .section-sub { max-width: 42ch; }
.awhy2__cta { margin-top: .6rem; }
.awhy2__cta--m { display: none; }
.awhy2__list { display: flex; flex-direction: column; }
.wrow2 { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; padding: 1.6rem 0; border-top: 1px solid var(--line); align-items: start; }
.wrow2:first-child { border-top: 0; padding-top: 0; }
.wrow2__ic { width: 54px; height: 54px; flex: none; border-radius: 15px; background: var(--tint-peach); color: var(--terra); display: grid; place-items: center; transition: background-color .4s var(--ease), color .4s var(--ease); }
.wrow2__ic svg { width: 26px; height: 26px; }
.wrow2:hover .wrow2__ic { background: var(--terra); color: #fff; }
.wrow2 h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--ink); margin-bottom: .35rem; }
.wrow2 p { font-size: 1rem; color: var(--muted); }
@media (max-width: 900px) {
  .awhy2__inner { display: flex; flex-direction: column; gap: 1.35rem; }
  .awhy2__head { position: static; }
  .awhy2__cta--d { display: none; }
  .awhy2__cta--m { display: inline-flex; align-self: stretch; justify-content: center; margin-top: .2rem; }
}

/* ---- Services listing page ---- */
.shero__inner--single { grid-template-columns: 1fr; }
.shero__inner--single .shero__tag { max-width: 60ch; }
.slist { padding: var(--section) var(--gutter); }
.slist--catalog { padding-top: clamp(1rem, 2.5vw, 2rem); }
.slist--alt { background: var(--tint-cloud); }
.slist__inner { max-width: var(--maxw); margin: 0 auto; }
.slist .section-head { max-width: none; }
@media (min-width: 768px) { .slist .section-title { white-space: nowrap; } }
.slist__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
@media (max-width: 1024px) { .slist__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .slist__grid { grid-template-columns: 1fr; } }

/* Filter chips */
.sfilter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.sfilter__btn { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--muted);
  padding: .6rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.sfilter__btn:hover { color: var(--ink); border-color: #dfe4f2; }
.sfilter__btn.is-active { color: #fff; background: var(--terra); border-color: var(--terra); }
.sothercard.is-hidden { display: none; }
/* Smaller chips so all three fit on one row on phones */
@media (max-width: 480px) {
  .sfilter { flex-wrap: nowrap; gap: .4rem; }
  .sfilter__btn { font-size: .78rem; padding: .5rem .8rem; white-space: nowrap; }
}

/* Areas We Serve */
.shero__map { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; background: var(--tint-blue); }
.shero__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.15) contrast(1.02); }
.shero__map-pin { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .65rem 1rem; border-radius: 100px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--navy); box-shadow: var(--sh-sm); }
.shero__map-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px rgba(224,103,63,.2); }
@media (max-width: 860px) { .shero__map { aspect-ratio: 16/10; } }

.areas { padding: 0 var(--gutter) var(--section); background: var(--white); }
.areas__inner { max-width: var(--maxw); margin: 0 auto; display: block; }
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.6vw, 1.3rem); margin-top: clamp(1.8rem, 3.5vw, 2.8rem); }
.acard { position: relative; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.5rem 1.6rem; box-shadow: var(--sh-sm); overflow: hidden; cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.acard:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.acard.is-active { border-color: var(--terra); box-shadow: var(--sh); }
.acard.is-active::before { transform: scaleY(1); }
.acard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--terra); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.acard:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: #dfe4f2; }
.acard:hover::before { transform: scaleY(1); }
.acard__name { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.2; }
.acard__name::before { content: ""; width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--tint-peach);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0593b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); background-size: 17px; background-repeat: no-repeat; background-position: center; }
.acard p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.areas__note { margin-top: clamp(1.8rem, 3vw, 2.6rem); font-size: 1.02rem; color: var(--text); text-align: center; }
.areas__note a { color: var(--terra); font-weight: 600; }
@media (max-width: 1024px) { .areas__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .areas__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .areas__grid { grid-template-columns: 1fr; } }

/* Mega menu: "View all services" link */
.mega__all { margin-top: .25rem; border-top: 1px solid var(--line); padding-top: .8rem; color: var(--terra); font-weight: 700; }
.mega__all .mega__num { color: var(--terra); }
.mega__all:hover { background: var(--tint-peach); color: var(--terra); }

/* ============ Contact: swap columns (form left, details right) ============ */
.contact--swap .contact__info { order: 2; }
.contact--swap .cform { order: 1; position: sticky; top: clamp(6rem, 14vh, 8rem); align-self: start; }
@media (max-width: 900px) { .contact--swap .contact__info { order: 1; } .contact--swap .cform { order: 2; position: static; } }

/* ============ Blog ============ */
.blog { padding: 0 var(--gutter) var(--section); }
.blog__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2.2rem); }
.bpost { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.bpost:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: #dfe4f2; }
.bpost__media { aspect-ratio: 16/10; overflow: hidden; background: var(--tint-blue); }
.bpost__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bpost:hover .bpost__media img { transform: scale(1.05); }
.bpost__body { display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.3rem, 2.2vw, 1.7rem); }
.bpost__meta { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: var(--muted); }
.bpost__cat { color: var(--terra); text-transform: uppercase; letter-spacing: .06em; }
.bpost__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.bpost__title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.bpost__excerpt { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.bpost__link { margin-top: .2rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; transition: color .3s; }
.bpost__link i { transition: transform .3s var(--ease); }
.bpost:hover .bpost__link { color: var(--terra); }
.bpost:hover .bpost__link i { transform: translateX(5px); }

/* Featured post: image + copy side by side */
.bpost--feature { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.bpost--feature .bpost__media { aspect-ratio: auto; height: 100%; min-height: 340px; }
.bpost--feature .bpost__body { justify-content: center; gap: 1rem; padding: clamp(1.8rem, 4vw, 3rem); }
.bpost--feature .bpost__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.bpost--feature .bpost__excerpt { font-size: 1.02rem; }

/* Grid of posts */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2vw, 1.6rem); }
@media (max-width: 1000px) { .blog__grid { grid-template-columns: 1fr 1fr; } .bpost--feature { grid-template-columns: 1fr; } .bpost--feature .bpost__media { min-height: 260px; } }
@media (max-width: 620px) { .blog__grid { grid-template-columns: 1fr; } }

/* Newsletter CTA */
.bnews { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(160deg, var(--navy), #26325b); color: #fff; border-radius: var(--r-xl); padding: clamp(1.8rem, 4vw, 3rem); margin-top: clamp(1rem, 2vw, 2rem); }
.bnews__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.bnews__sub { margin-top: .6rem; color: rgba(255,255,255,.75); font-size: 1rem; max-width: 46ch; }
.bnews__form { display: flex; gap: .7rem; align-items: stretch; flex: 1 1 340px; max-width: 480px; }
.bnews__form .cfield { flex: 1; margin: 0; }
.bnews__form .cfield input { background: rgba(255,255,255,.95); }
.bnews__form .btn { white-space: nowrap; }
@media (max-width: 560px) { .bnews__form { flex-direction: column; } }

/* ============ Article (blog post template) ============ */
.art { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(6.5rem, 11vh, 8.5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); }
/* text spans the full block width */
.art__head { max-width: none; }
.art__body p, .art__body ul, .art__body blockquote { max-width: none; }
.art__head { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.art__crumb { font-size: .85rem; color: var(--muted); }
.art__crumb a { color: var(--muted); } .art__crumb a:hover { color: var(--terra); }
.art__title { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(1.9rem, 4.2vw, 3.1rem); color: var(--ink); }
.art__lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--text); }
.art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--muted); }
.art__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.art__byline { color: var(--ink); }
.art__cover { margin: clamp(1.6rem, 3.5vw, 2.6rem) 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 2.6 / 1; background: var(--tint-blue); }
.art__cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) { .art__cover { aspect-ratio: 4 / 3; } }
/* Related articles → swipe slider with dots on phones */
.rel__dots { display: none; }
@media (max-width: 620px) {
  .art__related .blog__grid { display: flex; flex-wrap: nowrap; gap: 1.25rem; padding: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .art__related .blog__grid::-webkit-scrollbar { display: none; }
  .art__related .bpost { flex: 0 0 100%; width: 100%; max-width: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .rel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
}
.art__body { display: flex; flex-direction: column; }
.art__body h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--ink); margin: clamp(1.6rem, 3vw, 2.4rem) 0 .3rem; }
.art__body p { font-size: 1.12rem; line-height: 1.75; color: var(--text); margin-top: 1rem; }
.art__body ul { margin: 1rem 0 .2rem; display: flex; flex-direction: column; gap: .7rem; }
.art__body li { position: relative; padding-left: 1.9rem; font-size: 1.08rem; line-height: 1.6; color: var(--text); }
.art__body li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-peach);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0593b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.art__body blockquote { margin: clamp(1.6rem, 3vw, 2.2rem) 0 .6rem; padding: 1.2rem 1.6rem; border-left: 3px solid var(--terra); background: var(--tint-peach);
  border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.4; color: var(--ink); }
.art__cta { margin-top: clamp(2.2rem, 4vw, 3.2rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: linear-gradient(160deg, #ffffff, var(--tint-cloud)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.art__cta-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--ink); }
.art__cta-sub { margin-top: .4rem; color: var(--muted); }
.art__cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 620px) {
  .art__cta-actions { flex-wrap: nowrap; gap: .6rem; }
  .art__cta-actions .btn { --pad: .7rem 1rem; font-size: .85rem; white-space: nowrap; flex: 0 1 auto; }
}
.art__related { padding-top: 0; }
.art__related .section-head { margin-bottom: clamp(.6rem, 1.4vw, 1rem); }
