/* ==========================================================================
   Medical & Psychiatric Institute of Florida, Inc.
   Brand stylesheet — built from the official identity system.

   Palette      Persian Blue #0162bf · Vitality Blue #0182ff · Serenity Blue #99cdff
                Clinical Mist #f2f7fc · Midnight Charcoal #1e1e1e
   Typeface     Brand: Salmond (display) + Gill Sans (text) — not licensed for
                web use, so the site self-hosts Nunito + Cabin as substitutes.
                See section 0 below.
   ========================================================================== */

/* ------------------------------ 0. Webfonts ----------------------------- */
/* The identity specifies Salmond (display) + Gill Sans (text). Neither could be
   licensed for web use, so the site ships the closest open-source substitutes,
   both SIL Open Font License and free for commercial use, self-hosted:

     Nunito  -> stands in for Salmond   (rounded geometric, double-storey a)
     Cabin   -> stands in for Gill Sans (humanist, drawn in the Eric Gill line)

   If the brand licences are bought later, swap the files in assets/fonts/ and
   the two family names below; nothing else needs to change. */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cabin";
  src: url("../fonts/cabin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cabin";
  src: url("../fonts/cabin-400i.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cabin";
  src: url("../fonts/cabin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cabin";
  src: url("../fonts/cabin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cabin";
  src: url("../fonts/cabin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ------------------------------ 1. Tokens ------------------------------- */
:root {
  /* Brand color */
  --persian-blue:      #0162bf;
  --vitality-blue:     #0182ff;
  --serenity-blue:     #99cdff;
  --clinical-mist:     #f2f7fc;
  --midnight-charcoal: #1e1e1e;

  /* Extended tints derived from the palette, for UI states */
  --blue-700: #01509c;
  --blue-400: #4da3ff;
  --blue-100: #d6e9ff;

  --ink:        var(--midnight-charcoal);
  --ink-strong: #101828;
  --ink-muted:  #556070;
  --ink-soft:   #7d8798;
  --line:       #e3ebf5;
  --line-soft:  #edf3fa;

  --grad-brand:   linear-gradient(135deg, #0182ff 0%, #0162bf 100%);
  --grad-coastal: linear-gradient(180deg, #f6fbff 0%, #eaf4ff 45%, #f2f7fc 100%);

  /* Type */
  --font-display: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-text:    "Cabin", "Segoe UI", system-ui, sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 2px 10px rgba(1, 98, 191, .06);
  --shadow-md: 0 10px 30px rgba(1, 98, 191, .09);
  --shadow-blue: 0 12px 28px rgba(1, 130, 255, .28);

  --container: 1280px;
  --gutter: 24px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink-muted);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  -webkit-font-synthesis: none;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;            /* main headings */
}

/* Sub-headings a step lighter than the main headings. */
h3, h4, h5 { font-weight: 700; letter-spacing: -.018em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--persian-blue); text-decoration: none; }
a:hover { color: var(--vitality-blue); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--vitality-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  background: var(--vitality-blue); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 0; color: #fff; }

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

.section { padding: 96px 0; }
.section--tight { padding: 68px 0; }
.section--mist { background: var(--clinical-mist); }
.section--coastal { background: var(--grad-coastal); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: .45em; }
.section-head p { font-size: 1.075rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vitality-blue);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--serenity-blue); }

.lede { font-size: 1.125rem; }

/* ------------------------------ 4. Brand lockup ------------------------- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 33px; flex: none; }
.brand__text { display: block; line-height: 1.16; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand__sub {
  display: block;
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 13px;
  color: #3d4654;
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: rgba(255, 255, 255, .78); }

/* ------------------------------ 5. Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--vitality-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--persian-blue); color: #fff; }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--serenity-blue); color: var(--persian-blue); }

.btn--white { background: #fff; color: var(--persian-blue); }
.btn--white:hover { background: var(--clinical-mist); color: var(--persian-blue); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.btn--pill { border-radius: var(--radius-pill); padding-inline: 30px; }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-text); font-weight: 700; font-size: 15.5px;
  color: var(--vitality-blue);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------ 6. Header ------------------------------- */
.announce {
  background: var(--persian-blue);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  padding: 8px 0;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--vitality-blue);
  transform: scaleX(0);
  transition: transform .24s var(--ease);
}
.nav__link:hover { color: var(--vitality-blue); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--vitality-blue); }

.header__cta { flex: none; }
.nav > .btn { display: none; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  margin-left: auto;
  background: var(--clinical-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

/* ------------------------------ 7. Hero --------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background: var(--grad-coastal);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/pattern-tile.svg");
  background-size: 260px;
  opacity: .05;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero__top {
  display: grid;
  grid-template-columns: 1.28fr .72fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 62px;
}
.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 3.95rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0;
  color: var(--ink-strong);
}
.hero__aside p { font-size: 1.2rem; line-height: 1.55; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero card row */
.hero__cards {
  display: grid;
  grid-template-columns: .95fr 1.5fr 1.88fr;
  gap: 22px;
  align-items: stretch;
}

.card-highlight {
  background: var(--vitality-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-blue);
}
.card-highlight h3 { color: #fff; font-size: 2.1rem; line-height: 1.06; margin-bottom: .5em; }
.card-highlight p { color: rgba(255, 255, 255, .92); font-size: 1.02rem; }
.card-highlight hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .42);
  margin: 26px 0 18px;
  width: 78%;
}
.card-highlight__note { font-size: .98rem; color: rgba(255, 255, 255, .92); margin: 0; }
.card-highlight .spacer { flex: 1; min-height: 18px; }

.card-plan {
  background: var(--clinical-mist);
  border: 1px solid #e6eefa;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
}
.card-plan h3 { font-size: 1.95rem; line-height: 1.1; margin-bottom: 0; }

.care-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  margin: 30px 0 auto;
}
.care-flow__step { text-align: center; position: relative; }
.care-flow__step + .care-flow__step::before {
  content: "";
  position: absolute;
  top: 27px;
  right: calc(50% + 32px);
  left: calc(-50% + 32px);
  height: 1.5px;
  background: var(--blue-100);
}
.care-flow__icon {
  width: 54px; height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  color: var(--vitality-blue);
  box-shadow: 0 2px 8px rgba(1, 98, 191, .08);
}
.care-flow__icon svg { width: 25px; height: 25px; }
.care-flow__label { font-family: var(--font-text); font-weight: 500; font-size: 15px; color: var(--ink); }

.card-plan hr { border: 0; border-top: 1px solid #dde8f5; margin: 26px 0 16px; }
.card-plan__note { font-size: .99rem; margin: 0; }

.card-photo {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius-lg);
  background: var(--blue-100);
  box-shadow: var(--shadow-md);
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-photo__caption {
  position: absolute;
  left: 20px; bottom: 20px;
  background: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 40px);
}

/* Inner-page hero */
.page-hero {
  position: relative;
  background: var(--grad-coastal);
  padding: 72px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/pattern-tile.svg");
  background-size: 240px;
  opacity: .045;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__inner { max-width: 780px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
.page-hero p { font-size: 1.16rem; margin-bottom: 0; }
.page-hero .hero__actions { margin-top: 30px; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 18px; padding: 0;
  font-size: 14px; color: var(--ink-soft);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--serenity-blue); }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--vitality-blue); }

/* ------------------------------ 8. Trust strip -------------------------- */
.trust { border-block: 1px solid var(--line-soft); background: #fff; padding: 34px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.35rem;
  line-height: 1;
  color: var(--persian-blue);
  letter-spacing: -.03em;
}
.trust__label { font-size: .94rem; color: var(--ink-soft); margin-top: 8px; }

/* ------------------------------ 9. Cards -------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card h3 { font-size: 1.32rem; margin-bottom: .5em; }
.card p { font-size: 1rem; margin-bottom: 0; }
.card .link-arrow { margin-top: 20px; }
.card--mist { background: var(--clinical-mist); border-color: #e6eefa; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--clinical-mist);
  color: var(--vitality-blue);
  margin-bottom: 22px;
}
.card__icon svg { width: 27px; height: 27px; }
.card--accent .card__icon { background: var(--grad-brand); color: #fff; }

/* Split feature */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.split__panel {
  border-radius: var(--radius-xl);
  padding: 46px 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.split__panel h3 { font-size: 1.95rem; margin-bottom: .45em; }
.split__panel .btn { align-self: flex-start; margin-top: 26px; }
.split__panel--medical { background: var(--clinical-mist); border: 1px solid #e6eefa; }
.split__panel--psych { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-md); }
.split__panel--psych h3 { color: #fff; }
.split__panel--psych p, .split__panel--psych li { color: rgba(255, 255, 255, .93); }
.split__panel--psych .tick svg { color: #fff; }

.tick-list { list-style: none; padding: 0; margin: 22px 0 0; }
.tick { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; font-size: 1.02rem; }
.tick svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--vitality-blue); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.step__num {
  counter-increment: step;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.22rem; }
.step p { font-size: 1rem; margin: 0; }

/* Testimonials */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; color: var(--vitality-blue); margin-bottom: 18px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.01em;
}
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 13px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: .98rem;
  flex: none;
}
.quote__name { display: block; font-family: var(--font-text); font-weight: 600; font-size: .99rem; color: var(--ink); line-height: 1.3; }
.quote__meta { display: block; font-size: .88rem; color: var(--ink-soft); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0;
  padding: 24px 4px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.09rem;
  color: var(--ink);
}
.faq__q:hover { color: var(--vitality-blue); }
.faq__q svg { width: 22px; height: 22px; flex: none; color: var(--vitality-blue); transition: transform .26s var(--ease); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 4px 26px; max-width: 74ch; }
.faq__a.is-open { display: block; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chips li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: .97rem;
  color: var(--ink);
}

/* ------------------------------ 10. CTA band ---------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/pattern-tile.svg");
  background-size: 220px;
  opacity: .14;
  mix-blend-mode: soft-light;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.05rem); max-width: 17ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, .92); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 32px; }
.cta-band .hero__actions { justify-content: center; }

/* ------------------------------ 11. Forms ------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field .req { color: var(--vitality-blue); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--clinical-mist);
  border: 1.5px solid #e2ebf6;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--vitality-blue);
  box-shadow: 0 0 0 4px rgba(1, 130, 255, .13);
}
.field__hint { font-size: .85rem; color: var(--ink-soft); margin-top: 7px; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; }
.consent input { width: 19px; height: 19px; flex: none; margin-top: 3px; accent-color: var(--vitality-blue); }

.form-note {
  background: var(--clinical-mist);
  border-left: 3px solid var(--vitality-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: .93rem;
  margin-top: 26px;
}
.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: #e9f6ec;
  border: 1px solid #bfe3c8;
  color: #1c5b30;
  font-size: .96rem;
}
.form-status.is-visible { display: block; }

/* Contact details */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 15px; margin-bottom: 24px; }
.contact-list__icon {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--radius-md);
  background: var(--clinical-mist);
  color: var(--vitality-blue);
  display: grid; place-items: center;
}
.contact-list__icon svg { width: 21px; height: 21px; }
.contact-list__title {
  display: block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.contact-list a { font-weight: 600; }

.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours th { font-family: var(--font-text); font-weight: 500; color: var(--ink); }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* ------------------------------ 12. Media panel ------------------------- */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media--flip .media__figure { order: 2; }
.media__figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--blue-100);
}
.media__figure img { width: 100%; }
.media__body h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); }

.stat-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.stat-pair div { background: var(--clinical-mist); border-radius: var(--radius-md); padding: 20px 22px; }
.stat-pair strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--persian-blue);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.stat-pair span { font-size: .92rem; color: var(--ink-soft); }

/* ------------------------------ 13. Footer ------------------------------ */
.footer {
  background: var(--midnight-charcoal);
  color: rgba(255, 255, 255, .72);
  padding: 76px 0 0;
  font-size: .97rem;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__about p { margin-top: 20px; max-width: 34ch; color: rgba(255, 255, 255, .62); }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 11px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: .89rem;
  color: rgba(255, 255, 255, .55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .8);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.social a:hover { background: var(--vitality-blue); border-color: var(--vitality-blue); color: #fff; }
.social svg { width: 18px; height: 18px; }

.emergency {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
}
.emergency strong { color: #fff; }

/* ------------------------------ 14. Motion ------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------ 15. Responsive -------------------------- */
@media (max-width: 1180px) {
  .hero__cards { grid-template-columns: 1fr 1.35fr; }
  .card-photo { grid-column: 1 / -1; min-height: 280px; }
  .nav__list { gap: 24px; }
  .nav__link { font-size: 15.5px; }
}

@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .hero { padding: 62px 0 78px; }
  .hero__top { grid-template-columns: 1fr; gap: 34px; align-items: start; margin-bottom: 46px; }
  .media { grid-template-columns: 1fr; gap: 38px; }
  .media--flip .media__figure { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-band { padding: 58px 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .header { position: relative; }
  .header__inner { position: relative; }
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__link { display: block; padding: 15px 2px; font-size: 17px; }
  .nav__link::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 18px; width: 100%; }

  .grid--3, .grid--2, .steps, .split, .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { gap: 28px 20px; }
  .hero__cards { grid-template-columns: 1fr; }
  .card-photo { min-height: 260px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  :root { --gutter: 20px; }
  .section, .section--tight { padding: 58px 0; }
  .hero { padding: 46px 0 62px; }
  .hero__title { letter-spacing: -.025em; }
  .hero__aside p { font-size: 1.08rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .grid--3, .grid--2, .grid--4, .steps, .split, .trust__grid,
  .stat-pair, .footer__grid { grid-template-columns: 1fr; }
  .trust__grid { gap: 26px; }
  .card, .step, .quote { padding: 26px 22px; }
  .card-highlight, .card-plan { padding: 28px 24px; }
  .split__panel { padding: 34px 26px; }
  .cta-band { padding: 46px 24px; border-radius: var(--radius-lg); }
  .form-card { padding: 26px 22px; }
  .care-flow__step + .care-flow__step::before { display: none; }
  .footer { padding-top: 56px; }
  .footer__bottom { justify-content: flex-start; }
}

/* ==========================================================================
   16. Brand banner
   Reproduces the poster / billboard layout from the identity deck: a photo or
   brand-gradient field crossed by the diagonal ribbon, with a rounded panel
   carrying an outlined eyebrow pill and a two-tone stacked headline.
   ========================================================================== */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--grad-brand);
  color: #fff;
  isolation: isolate;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 32px;
}

/* photo / gradient field */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(1, 44, 90, .72) 0%, rgba(1, 44, 90, .5) 45%, rgba(1, 44, 90, 0) 78%);
  pointer-events: none;
}

.banner__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.banner__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease);
}
.banner:hover .banner__media img { transform: scale(1.07); }
.banner__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(1, 62, 120, .82) 0%,
    rgba(1, 98, 191, .70) 42%,
    rgba(1, 130, 255, .30) 72%,
    rgba(1, 130, 255, .10) 100%);
}
.banner--photo-right .banner__media img { object-position: 78% center; }

/* the diagonal brand ribbon */
.banner__ribbon {
  position: absolute;
  inset: -12% -6%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
  transition: transform 1s var(--ease);
}
.banner:hover .banner__ribbon { transform: translateX(14px); }
.banner__ribbon svg { width: 100%; height: 100%; }

/* text panel */
.banner__panel { padding: 56px 12px 56px 56px; position: relative; z-index: 1; }

.banner__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-pill);
  padding: 9px 20px 9px 16px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.banner__pill svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.banner:hover .banner__pill { background: rgba(255, 255, 255, .14); border-color: #fff; }
.banner:hover .banner__pill svg { transform: translate(2px, 2px); }

.banner__title {
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1;
  letter-spacing: -.035em;
  margin: 0 0 22px;
}
.banner__title em,
.banner__title .alt { display: block; font-style: normal; color: var(--serenity-blue); }
.banner__title .hl { color: var(--serenity-blue); }

.banner__panel > p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .92);
  max-width: 44ch;
  margin-bottom: 30px;
}

.banner__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* nested lighter sub-panel (the QR block in the poster) */
.banner__note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: .95rem;
  color: rgba(255, 255, 255, .95);
  max-width: 42ch;
  transition: background-color .3s var(--ease);
}
.banner:hover .banner__note { background: rgba(255, 255, 255, .2); }
.banner__note svg { width: 26px; height: 26px; flex: none; }

/* cut-out figure */
.banner__figure {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  padding-right: 34px;
}
.banner__figure img {
  display: block;
  max-height: 460px;
  width: auto;
  filter: drop-shadow(0 26px 44px rgba(1, 40, 84, .42));
  transition: transform .7s var(--ease);
}
.banner:hover .banner__figure img { transform: translateY(-9px); }

.banner--text-only { grid-template-columns: 1fr; }
.banner--text-only .banner__panel { padding-right: 56px; max-width: 760px; }

/* ==========================================================================
   17. Hover & focus motion
   All of this is suppressed by the reduced-motion rule in section 14.
   ========================================================================== */

/* buttons: sheen sweep + icon nudge */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .28) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  transition: left .55s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 135%; }
.btn--ghost::after,
.btn--white::after {
  background: linear-gradient(100deg, rgba(1,130,255,0) 0%, rgba(1,130,255,.10) 50%, rgba(1,130,255,0) 100%);
}
.btn > svg { transition: transform .25s var(--ease); }
.btn:hover > svg { transform: translateX(3px); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(1, 130, 255, .38); }

/* brand lockup */
.brand__mark { transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px) scale(1.06); }

/* cards: lift, and the icon tile flips to the brand gradient */
.card__icon,
.card__icon svg { transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.card:hover .card__icon { background: var(--grad-brand); color: #fff; transform: translateY(-2px) rotate(-4deg); }
.card:hover .card__icon svg { transform: scale(1.08); }
.card h3 { transition: color .28s var(--ease); }
.card:hover h3 { color: var(--persian-blue); }
.card .link-arrow svg { transition: transform .25s var(--ease); }
.card:hover .link-arrow svg { transform: translateX(5px); }

/* step cards */
.step { transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.step__num { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover .step__num { transform: scale(1.1) rotate(-6deg); box-shadow: var(--shadow-blue); }

/* quote cards */
.quote { transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease); }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.quote__avatar { transition: transform .35s var(--ease); }
.quote:hover .quote__avatar { transform: scale(1.08); }

/* split panels */
.split__panel { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.split__panel:hover { transform: translateY(-4px); }
.split__panel--psych:hover { box-shadow: 0 22px 48px rgba(1, 98, 191, .3); }
.split__panel--medical:hover { box-shadow: var(--shadow-md); }
.tick svg { transition: transform .25s var(--ease); }
.tick:hover svg { transform: scale(1.16); }

/* media figures: photo zoom inside a fixed frame */
.media__figure { overflow: hidden; }
.media__figure img { transition: transform .8s var(--ease); }
.media__figure:hover img { transform: scale(1.055); }

/* hero photo card */
.card-photo img { transition: transform .9s var(--ease); }
.card-photo:hover img { transform: scale(1.06); }
.card-photo__caption { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-photo:hover .card-photo__caption { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(1, 62, 120, .22); }

/* hero highlight + plan cards */
.card-highlight, .card-plan { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card-highlight:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(1, 130, 255, .34); }
.card-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.care-flow__icon { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease); }
.care-flow__step:hover .care-flow__icon {
  transform: translateY(-4px) scale(1.09);
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

/* chips */
.chips li { transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease); }
.chips li:hover { transform: translateY(-3px); border-color: var(--serenity-blue); color: var(--persian-blue); box-shadow: var(--shadow-sm); }

/* trust strip */
.trust__item { transition: transform .3s var(--ease); }
.trust__num { transition: color .3s var(--ease); }
.trust__item:hover { transform: translateY(-3px); }
.trust__item:hover .trust__num { color: var(--vitality-blue); }

/* contact list */
.contact-list li { transition: transform .25s var(--ease); }
.contact-list__icon { transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.contact-list li:hover { transform: translateX(3px); }
.contact-list li:hover .contact-list__icon { background: var(--grad-brand); color: #fff; transform: scale(1.06); }

/* footer links slide */
.footer__list a { display: inline-block; transition: transform .25s var(--ease), color .2s var(--ease); }
.footer__list a:hover { transform: translateX(4px); }
.social a { transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.social a:hover { transform: translateY(-3px); }

/* form fields */
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--serenity-blue); }

/* FAQ rows */
.faq__item { transition: background-color .25s var(--ease); }
.faq__item:hover { background: rgba(242, 247, 252, .7); }

/* CTA band pattern drift */
.cta-band::before { transition: transform 1.4s var(--ease); }
.cta-band:hover::before { transform: scale(1.06) rotate(1deg); }

/* ==========================================================================
   18. Banner responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .banner { grid-template-columns: 1fr; min-height: 0; }
  .banner__panel { padding: 44px 40px 8px; }
  .banner__figure { justify-self: center; padding-right: 0; }
  .banner__figure img { max-height: 340px; }
  .banner__media::after {
    background: linear-gradient(170deg, rgba(1, 62, 120, .94) 0%, rgba(1, 98, 191, .88) 55%, rgba(1, 130, 255, .55) 100%);
  }
}

@media (max-width: 640px) {
  .banner { border-radius: var(--radius-lg); }
  .banner__panel { padding: 34px 24px 6px; }
  .banner__title { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .banner__actions .btn { flex: 1 1 100%; }
  .banner__figure img { max-height: 260px; }
  .banner__note { margin-top: 24px; }
}

/* ==========================================================================
   19. People, specification tables and program chips
   ========================================================================== */

/* Clinician / staff cards -------------------------------------------------- */
.person {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }

.person__avatar {
  width: 58px; height: 58px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--clinical-mist);
  border: 1.5px solid var(--serenity-blue);
  color: var(--persian-blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.person:hover .person__avatar { background: var(--grad-brand); color: #fff; border-color: transparent; transform: scale(1.05); }

.person__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.person__role {
  display: block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--vitality-blue);
  margin: 6px 0 12px;
}
.person p { font-size: .98rem; margin: 0; }

.person--lead { grid-column: 1 / -1; background: var(--clinical-mist); border-color: #e6eefa; }
.person--lead .person__avatar { width: 74px; height: 74px; font-size: 1.3rem; }
.person--lead .person__name { font-size: 1.45rem; }

/* Specification / credential tables --------------------------------------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: .99rem;
  text-align: left;
}
.spec th, .spec td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec th {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  width: 34%;
  padding-right: 24px;
}
.spec td { color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  padding-bottom: 14px;
}

/* Program chips (IOP levels of care) --------------------------------------- */
.programs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.programs li {
  list-style: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--vitality-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .99rem;
  line-height: 1.35;
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.programs li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* Compact two-column list used for governance and compliance --------------- */
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.pairs > div { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .99rem; }

/* Column of labelled bullets ----------------------------------------------- */
.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li {
  margin: 0;
  padding: 11px 0 11px 16px;
  border-left: 2px solid var(--blue-100);
  font-size: 1rem;
  transition: border-color .25s var(--ease), padding-left .25s var(--ease);
}
.bullets li:hover { border-left-color: var(--vitality-blue); padding-left: 20px; }

/* Condition category card -------------------------------------------------- */
.cond h3 { font-size: 1.15rem; margin-bottom: .45em; }
.cond p { font-size: .99rem; }

@media (max-width: 1024px) {
  .programs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pairs { grid-template-columns: 1fr; gap: 0; }
  .programs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .programs { grid-template-columns: 1fr; }
  .person { flex-direction: column; gap: 14px; padding: 24px 22px; }
  .spec th { width: auto; display: block; padding-bottom: 4px; border-bottom: 0; }
  .spec td { display: block; padding-top: 0; }
  .spec tr { display: block; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .spec th, .spec td { border-bottom: 0; padding-block: 2px; }
}
