/* =================================================================
   Calgary Foot Care Nurses — design system
   ================================================================= */
:root {
  /* primary — #7356a4 */
  --purple-900: #2b2042;
  --purple-800: #3f2f5e;
  --purple-700: #5a4488;
  --purple-600: #7356a4;
  --purple-500: #8c70bd;
  --purple-300: #bba9da;
  --purple-100: #ece6f6;
  --purple-50:  #f6f3fb;

  /* accent (soft rose — complementary to the primary purple; no green/blue) */
  --teal-600: #b15a86;
  --teal-500: #d985b0;
  --teal-100: #f7eaf1;
  --pink-600: #b15a86;
  --pink-500: #d985b0;
  --pink-200: #f0d4e2;
  --pink-100: #f7eaf1;
  --pink-50:  #fcf4f8;

  --ink:    #241f33;
  --body:   #4a4658;
  --muted:  #6a6578;
  --line:   #e7e2ef;
  --bg:     #ffffff;
  --bg-alt: #f7f5fb;

  --radius:   16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(44, 26, 77, .06), 0 2px 8px rgba(44, 26, 77, .05);
  --shadow:    0 10px 30px rgba(44, 26, 77, .10);
  --shadow-lg: 0 24px 60px rgba(44, 26, 77, .16);

  --container: 1180px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--purple-600); text-decoration: none; }
a:hover { color: var(--purple-700); }

/* visible keyboard focus indicator (WCAG 2.4.7) */
:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible, .nav__cta:focus-visible, .nav__call:focus-visible { outline-color: var(--purple-800); }
a:focus-visible { outline-color: var(--purple-700); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--purple-600); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: 760px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: 12px; z-index: 200; background: var(--purple-700);
  color: #fff; padding: 10px 16px; border-radius: 8px; }

.icon { flex: none; vertical-align: middle; }
.text-gradient {
  background: linear-gradient(100deg, var(--purple-500), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--purple-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: .98rem; line-height: 1; cursor: pointer;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--full { width: 100%; }
.btn--primary { background: var(--btn-bg); color: #fff; box-shadow: 0 8px 20px rgba(115,86,164,.32); }
.btn--primary:hover { background: var(--purple-700); color: #fff; }
.btn--outline { background: transparent; color: var(--purple-700); border-color: var(--purple-300); }
.btn--outline:hover { background: var(--purple-50); color: var(--purple-700); }
.btn--ghost { background: #fff; color: var(--purple-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--purple-700); }
.btn--white { background: #fff; color: var(--purple-700); }
.btn--white:hover { color: var(--purple-800); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-white:hover { background: rgba(255,255,255,.12); color:#fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  color: #9c3f72; background: var(--pink-100);
  padding: 7px 13px; border-radius: 9px; margin-bottom: 16px;
}
.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow--light { color: #9c3f72; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
body.nav-open .site-header { z-index: 9000; }   /* lift drawer above the scrim */
.topbar { background: var(--purple-800); color: #e9defb; font-size: .85rem; }
.topbar__inner { display: flex; gap: 26px; align-items: center; padding-block: 8px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; color: #e9defb; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--purple-300); }
a.topbar__item:hover { color: #fff; }

.navbar { position: relative; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled .navbar { box-shadow: 0 8px 30px rgba(44,26,77,.10); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; padding-block: 8px; }
.brand__logo { height: 58px; width: auto; }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__drawer-head, .nav__close { display: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 11px;
  font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; transition: background .18s ease, color .18s ease;
}
.nav__link:hover { background: var(--purple-50); color: var(--purple-700); }
.nav__link.is-active { color: var(--purple-700); background: var(--purple-50); }
.nav__caret { transition: transform .25s ease; opacity: .65; }
.nav__cta-li { margin-left: 6px; }
.nav__cta { padding: 10px 16px; font-size: .88rem; }
.nav__subtoggle { display: none; }
.nav__call { display: none; }   /* mobile-only quick-call button */

/* premium mega-menu (desktop) */
.nav__item--has-children { position: static; }
.nav__item--has-children:hover .nav__caret { transform: rotate(180deg); }
.nav__mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: min(780px, calc(100vw - 36px));
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 20px; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
/* invisible bridge so the cursor can travel from the link to the panel */
.nav__mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--has-children:hover .nav__mega,
.nav__item--has-children:focus-within .nav__mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__mega-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.nav__mega-eyebrow { font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9c3f72; }
.nav__mega-all { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .85rem; color: var(--purple-600); }
.nav__mega-all:hover { color: var(--purple-700); }
.nav__mega-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.nav__sublink { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 12px;
  font-size: .9rem; font-weight: 500; color: var(--ink); transition: background .15s ease, color .15s ease; }
.nav__sublink:hover { background: var(--purple-50); color: var(--purple-700); }
.nav__sublink-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--purple-50); color: var(--purple-600); transition: background .15s ease, color .15s ease; }
.nav__sublink-ic .icon { width: 18px; height: 18px; }
.nav__sublink:hover .nav__sublink-ic { background: var(--purple-600); color: #fff; }
.nav__sublink-txt { line-height: 1.25; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-left: -6px; }
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ''; position: absolute; left: 0; }
.nav__bars::before { top: -8px; }
.nav__bars::after { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after  { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 88% 0%, var(--purple-100), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fdf6fa 55%, #f6e7f0 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-block: 84px; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4rem); margin-bottom: 18px; font-weight: 700; }
.hero__lead { font-size: 1.18rem; max-width: 36ch; color: var(--body); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px; list-style: none; }
.hero__badges li { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: .92rem; color: var(--ink); }
.hero__badges .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); }
.hero__logo { width: 100%; max-width: 480px; margin-inline: auto; height: auto;
  filter: drop-shadow(0 18px 40px rgba(107,70,168,.22)); }
.intro-band { max-width: 880px; margin-inline: auto; text-align: center; }
.intro-band p { font-size: 1.22rem; color: var(--ink); margin: 0; line-height: 1.6; }
.eyebrow--center { justify-content: center; }
.hero__media { position: relative; }
.hero__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 540px; object-fit: cover;
  background: var(--purple-100); }
.hero__card {
  position: absolute; left: -18px; bottom: 30px; background: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); display: grid; gap: 2px; max-width: 230px;
  border: 1px solid var(--line);
}
.hero__card strong { font-family: var(--font-serif); font-size: 2rem; color: var(--purple-700); line-height: 1; }
.hero__card span { font-size: .86rem; color: var(--muted); }

/* ---------- hero slider ---------- */
.hero-slider { position: relative; isolation: isolate; }
/* animated gradient blobs */
.hero-slider::before, .hero-slider::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px);
  z-index: 0; pointer-events: none;
}
.hero-slider::before {
  width: 460px; height: 460px; top: -150px; right: -90px; opacity: .38;
  background: radial-gradient(circle, var(--purple-300), transparent 70%);
  animation: heroBlobA 20s ease-in-out infinite;
}
.hero-slider::after {
  width: 420px; height: 420px; bottom: -170px; left: -80px; opacity: .3;
  background: radial-gradient(circle, var(--teal-500), transparent 70%);
  animation: heroBlobB 26s ease-in-out infinite;
}
@keyframes heroBlobA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.12); }
}
@keyframes heroBlobB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
}
.hero-slider__track { display: flex; transition: transform .7s cubic-bezier(.5, 0, .15, 1); will-change: transform; position: relative; z-index: 1; }
.hero-slide { flex: 0 0 100%; min-width: 100%; position: relative; z-index: 1; }
.hero-slide--banner .hero__title { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
.hero-slide--banner .hero__lead { max-width: 52ch; font-size: 1.05rem; }

/* staggered entrance animation — only once JS has marked the slider ready */
@keyframes heroRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
/* Content is visible by default; the active slide animates in. This way the
   hero never depends on JS to show its content. */
.hero-slide.is-active .hero__content > * { animation: heroRise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-active .hero__content > *:nth-child(1) { animation-delay: .08s; }
.hero-slide.is-active .hero__content > *:nth-child(2) { animation-delay: .18s; }
.hero-slide.is-active .hero__content > *:nth-child(3) { animation-delay: .28s; }
.hero-slide.is-active .hero__content > *:nth-child(4) { animation-delay: .40s; }
.hero-slide.is-active .hero__media { animation: heroMedia .85s .2s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-active .hero__logo { animation: heroFloat 6s ease-in-out 1s infinite; }
.hero-slide.is-active .hero-banner-card { animation: heroFloat 7s ease-in-out 1.1s infinite; }

/* autoplay progress bar */
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(107, 70, 168, .12); z-index: 6; overflow: hidden; }
.hero-progress__fill { display: block; height: 100%; width: 0; transform-origin: left;
  background: linear-gradient(90deg, var(--purple-500), var(--teal-500)); }
.hero-slider.is-animating .hero-progress__fill { animation: heroProgress 6s linear forwards; }
.hero-slider.is-paused .hero-progress__fill { animation-play-state: paused; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }
.hero-banner-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; margin-inline: auto;
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 40px;
}
.hero-banner-card img { width: 100%; height: 100%; object-fit: contain; }
.hero-banner-card span { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  color: var(--purple-700); text-align: center; line-height: 1.3; }
/* brand logo above a banner heading */
.hero-banner__logo { height: 78px; width: auto; max-width: 240px; object-fit: contain;
  object-position: left center; border-radius: 10px; margin-bottom: 22px; }
/* product photo on the right of a banner slide */
.hero-banner-photo {
  width: 100%; max-width: 440px; margin-inline: auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; aspect-ratio: 1 / 1; border: 1px solid var(--line);
}
.hero-banner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px); color: var(--purple-700); display: grid; place-items: center;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: background .2s ease, color .2s ease;
}
.hero-arrow:hover { background: var(--purple-600); color: #fff; }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }
.hero-arrow .icon { width: 22px; height: 22px; }
.hero-arrow--prev .icon { transform: rotate(180deg); }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 6; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--purple-300);
  opacity: .55; cursor: pointer; padding: 0; transition: width .2s ease, opacity .2s ease, background .2s ease; }
.hero-dot.is-active { opacity: 1; width: 26px; border-radius: 5px; background: var(--purple-600); }
.hero-pause {
  position: absolute; bottom: 18px; right: 18px; z-index: 6; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.9);
  color: var(--purple-700); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
}
.hero-pause:hover { background: var(--purple-600); color: #fff; }
.hero-pause__play { display: none; }
.hero-pause.is-paused .hero-pause__pause { display: none; }
.hero-pause.is-paused .hero-pause__play { display: block; }
@media (max-width: 880px) {
  .hero-slide--banner .hero__media { order: -1; }
  .hero-banner-card { max-width: 320px; aspect-ratio: 16 / 9; padding: 28px; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow--prev { left: 8px; }
  .hero-arrow--next { right: 8px; }
}
@media (max-width: 560px) {
  .hero-arrow { display: none; }
  .hero-dots { bottom: 14px; }
}

/* ---------- sections ---------- */
.section { padding-block: 84px; }
.section--tight { padding-block: 56px; }
.section--accent { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section__sub { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }
.section__cta { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- value props ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800)); color: #fff; margin-bottom: 18px; }
.value__icon .icon { width: 28px; height: 28px; }
.value__title { font-size: 1.25rem; margin-bottom: 8px; }
.value p { margin: 0; color: var(--body); }

/* ---------- service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: var(--body);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--purple-300); }
.service-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--purple-50); color: var(--purple-600); margin-bottom: 16px; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__title { font-size: 1.22rem; margin-bottom: 8px; color: var(--purple-600); }
.service-card__sub { font-size: .96rem; margin-bottom: 18px; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--purple-600); font-size: .92rem; }
.service-card__more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* ---------- split ---------- */
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 440px; object-fit: cover; }
.split--reverse .split__media { order: 2; }
.split__content p { color: var(--body); }

/* ---------- testimonials ---------- */
.testi-carousel { position: relative; }
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 4px 12px; -ms-overflow-style: none; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi {
  scroll-snap-align: center; flex: 0 0 clamp(280px, 33%, 380px); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 0;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.testi__stars { display: flex; gap: 3px; color: #f5a623; margin-bottom: 14px; }
.testi__stars .icon { width: 18px; height: 18px; }
.testi__quote { font-size: 1.02rem; color: var(--ink); margin: 0 0 16px; line-height: 1.6; }
.testi__author { font-weight: 700; color: var(--purple-700); font-family: var(--font-serif); }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.testi-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--purple-300);
  background: #fff; color: var(--purple-700); display: grid; place-items: center; cursor: pointer; transition: all .2s ease; }
.testi-btn:hover { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }
.testi-btn:first-child .icon { transform: rotate(180deg); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--purple-300); cursor: pointer; padding: 0; opacity: .5; transition: all .2s ease; }
.testi-dot.is-active { opacity: 1; width: 24px; border-radius: 5px; background: var(--purple-600); }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center;
  box-shadow: var(--shadow-sm); }
.partner__logo { height: 64px; display: grid; place-items: center; margin-bottom: 16px; }
.partner__logo img { max-height: 56px; width: auto; object-fit: contain; }
.partner__logo span { font-weight: 700; color: var(--purple-700); }
.partner__name { font-size: 1.1rem; margin-bottom: 6px; }
.partner__sub { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: var(--purple-300); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px;
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.faq-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--purple-50); color: var(--purple-600); transition: transform .25s ease, background .2s ease; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(135deg); background: var(--purple-600); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0; padding: 0 22px 22px; color: var(--body); }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(120deg, var(--purple-800), var(--purple-600)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-block: 60px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; max-width: 18ch; }
.cta-band__sub { color: var(--purple-100); margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.page-hero { background:
    radial-gradient(50% 120% at 90% 0%, var(--purple-100), transparent 60%), var(--bg-alt);
  padding-block: 64px 56px; border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.page-hero__sub { font-size: 1.12rem; color: var(--body); max-width: 60ch; margin-bottom: 0; }
.crumbs { margin-top: 18px; font-size: .88rem; color: var(--muted); display: flex; gap: 8px; }
.crumbs span { color: var(--muted); }

/* ---------- article (service detail) ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.article__hero { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); margin-bottom: 28px; background: var(--purple-100); }
.article__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800)); color: #fff; margin-bottom: 22px; }
.article__icon .icon { width: 32px; height: 32px; }
.article__lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.article p { color: var(--body); font-size: 1.05rem; }
.article__box { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--purple-50);
  border: 1px solid var(--purple-100); }
.article__box h2 { font-size: 1.3rem; margin-bottom: 8px; }
.article__box p { margin-bottom: 16px; }
.article-aside { display: grid; gap: 20px; position: sticky; top: 120px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-links { list-style: none; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: .6em; padding: 9px 10px; border-radius: 9px; color: var(--body); font-weight: 500; font-size: .95rem; }
.aside-links a:hover { background: var(--purple-50); color: var(--purple-700); }
.aside-links .icon { width: 18px; height: 18px; color: var(--purple-500); }
.aside-all { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .92rem; }
.aside-card--accent { background: linear-gradient(135deg, var(--purple-700), var(--purple-900)); color: #fff; border: 0; }
.aside-card--accent h3 { color: #fff; }
.aside-card--accent p { color: var(--purple-100); font-size: .95rem; margin-bottom: 16px; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card__top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.avatar { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--teal-500)); color: #fff;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; }
.team-card__name { font-size: 1.2rem; margin: 0; }
.team-card__role { margin: 2px 0 0; font-size: .9rem; font-weight: 600; color: var(--purple-600); }
.team-card__bio { font-size: .96rem; color: var(--body); }
.team-card__quote { display: flex; gap: 12px; margin: 16px 0 0; padding: 16px; border-radius: var(--radius-sm);
  background: var(--purple-50); color: var(--purple-800); font-size: .95rem; font-style: italic; }
.team-card__quote .icon { flex: none; width: 22px; height: 22px; color: var(--purple-300); }

/* ---------- staff (About page) ---------- */
.staff-list { display: grid; gap: 64px; max-width: 1000px; margin-inline: auto; }
.staff { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.staff--reverse { grid-template-columns: 1fr 300px; }
.staff--reverse .staff__media { order: 2; }
.staff__media { position: sticky; top: 110px; }
.staff__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 26px;
  box-shadow: var(--shadow-lg); background: var(--purple-100);
}
.staff__avatar {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; border-radius: 26px;
  background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
  color: #fff; font-family: var(--font-serif); font-size: 4rem; font-weight: 700;
}
.staff__name { font-size: 1.7rem; margin-bottom: 4px; }
.staff__role { color: #9c3f72; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; margin-bottom: 16px; }
.staff__bio { color: var(--body); margin-bottom: 14px; }
.staff__subhead { font-size: 1.15rem; color: var(--purple-600); margin: 18px 0 8px; }
.staff__footnote { color: var(--muted); font-size: .92rem; margin-top: 16px; }
.staff__list-title { font-weight: 700; color: var(--ink); margin: 10px 0 12px; }
.staff__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 22px; margin: 0 0 20px; }
.staff__list li { display: flex; align-items: flex-start; gap: .5em; font-size: .95rem; color: var(--body); }
.staff__list .icon { flex: none; width: 18px; height: 18px; color: var(--purple-500); margin-top: 3px; }
.staff__quote {
  display: flex; gap: 14px; margin: 6px 0 0; padding: 20px 22px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink); font-style: italic;
}
.staff__quote .icon { flex: none; width: 24px; height: 24px; color: var(--purple-300); }
.staff__quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--purple-600); }
@media (max-width: 768px) {
  .staff, .staff--reverse { grid-template-columns: 1fr; gap: 22px; }
  .staff--reverse .staff__media { order: 0; }
  .staff__media { position: static; max-width: 280px; }
  .staff__list { grid-template-columns: 1fr; }
}

/* ---------- mission/values ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.mv-card__title { font-size: 1.4rem; margin-bottom: 12px; color: var(--purple-700); }
.mv-card p { margin: 0; color: var(--body); }

/* ---------- location ---------- */
.loc-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.loc-info { display: grid; gap: 24px; align-content: start; }
.loc-card, .hours-card, .detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.loc-card h2 { display: flex; align-items: center; gap: .5em; font-size: 1.3rem; }
.loc-card h2 .icon { color: var(--purple-600); }
.loc-address { font-size: 1.1rem; color: var(--ink); font-weight: 500; }
.loc-contact { list-style: none; display: grid; gap: 10px; margin: 18px 0 22px; }
.loc-contact li a, .loc-contact li span { display: inline-flex; align-items: center; gap: .55em; color: var(--body); }
.loc-contact .icon { color: var(--purple-500); width: 18px; height: 18px; }
.hours-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hours-col h3 { display: flex; align-items: center; gap: .45em; font-size: 1.05rem; margin-bottom: 12px; }
.hours-col h3 .icon { color: var(--purple-600); width: 18px; height: 18px; }
.hours-col ul { list-style: none; display: grid; gap: 8px; }
.hours-col li { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.hours-col li span:first-child { color: var(--muted); }
.hours-col li span:last-child { font-weight: 600; color: var(--ink); }
.loc-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; border: 1px solid var(--line); }
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-card h2 { display: flex; align-items: center; gap: .5em; font-size: 1.3rem; }
.detail-card h2 .icon { color: var(--purple-600); width: 22px; height: 22px; }
.detail-list { list-style: none; display: grid; gap: 12px; }
.detail-list li { position: relative; padding-left: 26px; color: var(--body); }
.detail-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--teal-500); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 1.9rem; }
.contact-points { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.contact-points li { display: flex; gap: 16px; align-items: flex-start; }
.contact-points__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--purple-50); color: var(--purple-600); }
.contact-points span span { display: block; }
.contact-points strong { display: block; font-family: var(--font-serif); color: var(--ink); font-size: 1.02rem; }
.contact-points a { color: var(--purple-600); }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label span { color: #d6336c; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100);
}
.field .is-invalid { border-color: #e35d6a; }
.form-error { color: #c92a4b; font-size: .85rem; }
.form-error--top { padding: 12px 14px; background: #fdeef1; border-radius: 8px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.alert--success { background: var(--teal-100); color: #a01658; }
.alert--success .icon { flex: none; width: 24px; height: 24px; padding: 4px; background: var(--teal-500); color: #fff; border-radius: 50%; }
.alert strong { font-family: var(--font-serif); }
.alert p { margin: 4px 0 0; font-size: .92rem; }

/* ---------- prose / generic page ---------- */
.prose-block { margin-bottom: 32px; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 28px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose-block h2 { font-size: 1.5rem; color: var(--purple-700); margin-bottom: 10px; }
.prose-block p { color: var(--body); }
.prose-list { list-style: none; display: grid; gap: 10px; margin: 4px 0 8px; }
.prose-list li { display: flex; align-items: flex-start; gap: .6em; color: var(--body); }
.prose-list .icon { flex: none; width: 18px; height: 18px; color: var(--purple-500); margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--purple-900); color: #cdbfe6; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { height: 70px; width: auto; margin-bottom: 16px; }
.footer__tagline { color: #b6a4d6; font-size: .95rem; max-width: 30ch; }
.footer__social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; margin-top: 8px; }
.footer__social:hover { background: var(--purple-600); color: #fff; }
.footer__heading { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__links, .footer__hours, .footer__contact { list-style: none; display: grid; gap: 11px; }
.footer__links a, .footer__contact a, .footer__contact span { color: #cdbfe6; font-size: .94rem; display: inline-flex; align-items: center; gap: .55em; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact .icon { color: var(--purple-300); width: 16px; height: 16px; flex: none; }
.footer__indent { padding-left: 24px; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.footer__hours li span:first-child { color: #b6a4d6; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.footer__bar p { margin: 0; font-size: .85rem; color: #9d8cc0; }
.footer__legal { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: #9d8cc0; }
.footer__legal a { color: #cdbfe6; }
.footer__legal a:hover { color: #fff; }

/* ---------- error pages ---------- */
.error-page { text-align: center; }
.error-code { font-family: var(--font-serif); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700;
  color: var(--purple-100); line-height: 1; display: block; }
.error-page h1 { font-size: 2rem; margin-top: 8px; }
.error-page .hero__actions { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { gap: 36px; }
  .faq-intro, .article-aside { position: static; }
}
@media (max-width: 1080px) {
  .navbar__inner { gap: 8px; }                          /* logo left; call + hamburger right */
  .brand { order: 1; margin-right: auto; }
  .nav { order: 2; }
  .nav__call {
    display: inline-flex; order: 3; align-items: center; gap: .45em;
    padding: 9px 16px; border-radius: 999px; background: var(--purple-600); color: #fff;
    font-weight: 700; font-size: .9rem; white-space: nowrap;
  }
  .nav__call:hover { background: var(--purple-700); color: #fff; }
  .nav__call .icon { width: 18px; height: 18px; }
  .nav__toggle { display: inline-flex; order: 4; }      /* hamburger on the far RIGHT */

  /* drawer slides in from the LEFT */
  .nav__list {
    position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); height: 100dvh; background: #fff;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 18px 18px 32px;
    box-shadow: 24px 0 60px rgba(44,26,77,.18); transform: translateX(-100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1); overflow-y: auto; z-index: 9000;
  }
  .nav__list.is-open { transform: translateX(0); }
  body.nav-open { overflow: hidden; }

  .nav__drawer-head { display: flex; align-items: center; justify-content: space-between;
    padding: 4px 6px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .nav__drawer-logo { height: 52px; width: auto; }
  .nav__close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: var(--purple-50); color: var(--purple-700); font-size: 1.6rem; line-height: 1; cursor: pointer; }
  .nav__close:hover { background: var(--purple-100); }

  .nav__item { position: relative; }
  .nav__link { font-size: 1.02rem; padding: 13px 12px; border-radius: 12px; }
  .nav__caret { display: none; }
  .nav__subtoggle {
    display: block; position: absolute; top: 4px; right: 2px; width: 48px; height: 48px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__subtoggle::after {
    content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
    border-right: 2.4px solid var(--muted); border-bottom: 2.4px solid var(--muted);
    transform: translate(-50%, -65%) rotate(45deg); transition: transform .25s ease;
  }
  .nav__subtoggle[aria-expanded="true"]::after { transform: translate(-50%, -35%) rotate(-135deg); }

  /* mega-menu becomes an inline accordion inside the drawer */
  .nav__mega {
    position: static; width: auto; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0; margin: 0 0 4px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__mega.is-open { max-height: 1400px; }
  /* cancel the desktop hover/focus transform so the panel isn't shifted off-screen */
  .nav__item--has-children:hover .nav__mega,
  .nav__item--has-children:focus-within .nav__mega { transform: none; opacity: 1; visibility: visible; }
  .nav__mega-head { display: none; }
  .nav__mega-grid { grid-template-columns: 1fr; gap: 0; padding: 2px 0 8px 6px; }
  .nav__sublink { padding: 11px 10px; word-break: break-word; }
  .nav__sublink-ic { width: 30px; height: 30px; flex: none; }
  .nav__sublink-txt { line-height: 1.3; }

  .nav__cta-li { margin: 16px 0 0; }
  .nav__cta { width: 100%; justify-content: center; }

  .nav-scrim { position: fixed; inset: 0; background: rgba(36,31,51,.5); opacity: 0; pointer-events: none;
    transition: opacity .3s ease; z-index: 8000; }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }

  .hero__inner { grid-template-columns: 1fr; padding-block: 56px; }
  .hero__media { order: -1; }
  .hero__img { height: 380px; }
  .hero__lead { max-width: none; }
  .split__inner, .faq-layout, .article-layout, .loc-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .mv-grid, .detail-grid, .hours-card { grid-template-columns: 1fr; }
  .section { padding-block: 60px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .topbar { font-size: .8rem; }
  .topbar__inner { gap: 16px; justify-content: center; padding-block: 7px; }
  .topbar__item--hide-sm { display: none; }
  .brand__logo { height: 46px; }
  .nav__toggle { padding: 8px; }
  .nav__call { padding: 9px 13px; font-size: .85rem; }

  .section { padding-block: 48px; }
  .section--tight { padding-block: 36px; }
  .section__head { margin-bottom: 30px; }
  .section__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .section__cta { margin-top: 30px; }

  .card-grid, .team-grid, .partner-grid, .mv-grid, .detail-grid, .hours-card, .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  /* hero */
  .hero__inner { padding-block: 40px; gap: 24px; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__lead { font-size: 1.05rem; }
  .hero__logo { max-width: 280px; }
  .hero__actions { width: 100%; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero-slide--banner .hero__title { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  .hero-banner-card, .hero-banner-photo { max-width: 240px; }
  .hero-banner__logo { height: 56px; margin-bottom: 16px; }
  .hero-dots { bottom: 12px; }

  /* buttons / CTAs full-width where it reads better */
  .cta-band { text-align: center; }
  .cta-band__inner { flex-direction: column; align-items: stretch; gap: 20px; padding-block: 44px; }
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .btn--lg { padding: 14px 22px; }

  /* sections */
  .value { padding: 24px; }
  .service-card { padding: 22px; }
  .split__media img, .staff__media img { border-radius: 18px; }
  .staff-list { gap: 44px; }
  .staff__name { font-size: 1.4rem; }
  .article__lead { font-size: 1.08rem; }
  .loc-map, .loc-map iframe { min-height: 320px; }
  .testi { padding: 24px; flex-basis: 86vw; }
  .footer__grid { gap: 28px; text-align: left; }
  .footer__bar-inner { flex-direction: column; gap: 6px; }
}
@media (max-width: 380px) {
  .nav__call-txt { display: none; }   /* icon-only call on very small phones */
  .nav__call { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
