/* =========================================================
   Advanced Resolution Care — Design System
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — drawn from the Advanced Resolution Care logo */
  --violet-950: #1c1438;
  --violet-900: #2a1f52;
  --violet-800: #3a2a6f;
  --violet-700: #4c3793;
  --violet-600: #604aa8;
  --violet-500: #7b5ea7;
  --violet-200: #ddd3f2;
  --violet-100: #efe9fb;
  --violet-50: #f7f4fd;

  --cyan-700: #0a6f92;
  --cyan-600: #0f87b3;
  --cyan-500: #2fa8dc;
  --cyan-400: #66c4e8;
  --cyan-100: #e2f5fd;
  --cyan-50: #f1fbff;

  /* Neutrals */
  --ink: #14112a;
  --ink-soft: #3b3752;
  --muted: #6a6680;
  --muted-light: #8b8798;
  --line: #e8e4f1;
  --line-strong: #d8d2e8;
  --paper: #ffffff;
  --bg: #fcfaf7;
  --wash: #f7f4fb;
  --sand: #f7f1e8;

  /* System */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(20, 17, 42, .05);
  --shadow-sm: 0 2px 10px rgba(20, 17, 42, .05), 0 1px 2px rgba(20, 17, 42, .04);
  --shadow: 0 14px 34px -14px rgba(42, 31, 82, .18), 0 3px 10px rgba(42, 31, 82, .05);
  --shadow-lg: 0 34px 70px -30px rgba(42, 31, 82, .35), 0 10px 24px -12px rgba(42, 31, 82, .12);

  --grad-brand: linear-gradient(118deg, #6a4fb0 0%, #4f6cc0 45%, #1f9bcc 100%);
  --grad-brand-soft: linear-gradient(118deg, #efe9fb 0%, #e6f4fd 100%);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --header-h: 84px;

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

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

* { margin: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 1.0125rem;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.018em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--violet-200); color: var(--violet-900); }

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

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

.container--wide { max-width: 1340px; }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--wash { background: var(--wash); }
.section--cream { background: var(--bg); }
.section--sand { background: var(--sand); }
.section--white { background: var(--paper); }

.section--ink {
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(123, 94, 167, .42), transparent 62%),
    radial-gradient(760px 460px at 92% 8%, rgba(47, 168, 220, .26), transparent 60%),
    var(--ink);
  color: rgba(255, 255, 255, .74);
  overflow: hidden;
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid-2 { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: clamp(1.1rem, 2vw, 1.5rem); grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 4. Typography utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--violet-700);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.section--ink .eyebrow { color: var(--cyan-400); }

.display-1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.03em;
}
.display-2 { font-size: clamp(2.1rem, 3.9vw, 3.3rem); }
.display-3 { font-size: clamp(1.5rem, 2.3vw, 1.95rem); letter-spacing: -.02em; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.185rem);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--ink .lead { color: rgba(255, 255, 255, .76); }

.muted { color: var(--muted); }
.text-sm { font-size: .9125rem; }
.text-xs { font-size: .8125rem; }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--violet-800);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.55rem;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
  box-shadow: 0 10px 24px -14px rgba(42, 31, 82, .7);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(42, 31, 82, .62); }
.btn:active { transform: translateY(0); }

.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn--primary {
  background-image: var(--grad-brand);
  background-color: var(--violet-800);
}
.btn--primary:hover { filter: saturate(1.06) brightness(1.04); }

.btn--solid { background: var(--ink); }
.btn--solid:hover { background: var(--violet-900); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--violet-300, #cbbfe8);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--light {
  background: #fff;
  color: var(--violet-900);
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .8);
}
.btn--light:hover { background: #f7f4ff; }

.btn--outline-light {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  box-shadow: none;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn--sm { padding: .68rem 1.15rem; min-height: 42px; font-size: .875rem; }
.btn--lg { padding: 1.05rem 1.9rem; min-height: 56px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--violet-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.section--ink .link-arrow { color: var(--cyan-400); }

/* ---------- 6. Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: .8125rem;
  letter-spacing: .005em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: .45rem;
}
.topbar__group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { width: 14px; height: 14px; color: var(--cyan-400); flex: none; }
.topbar a:hover { color: #fff; }
.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-weight: 600;
}
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5fdc9e;
  box-shadow: 0 0 0 3px rgba(95, 220, 158, .18);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(95, 220, 158, .18); }
  50% { box-shadow: 0 0 0 6px rgba(95, 220, 158, .05); }
}
@media (max-width: 860px) {
  .topbar__group--hide-sm { display: none; }
}
@media (max-width: 780px) {
  .topbar__inner { justify-content: center; min-height: 38px; }
  .topbar__group { gap: 0; justify-content: center; }
  .topbar__item { font-size: .765rem; }
  .topbar__badge { display: none; }
}
@media (max-width: 420px) {
  .topbar__item { font-size: .71rem; }
}

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(252, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 228, 241, .8);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px -22px rgba(20, 17, 42, .5);
  background: rgba(255, 255, 255, .94);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  transition: min-height .3s var(--ease);
}
.site-header.is-stuck .header__inner { min-height: 70px; }

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand img { width: clamp(148px, 18vw, 224px); height: auto; transition: width .3s var(--ease); }
.site-header.is-stuck .brand img { width: clamp(136px, 15vw, 190px); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative;
  display: block;
  padding: .55rem .7rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: var(--radius-xs);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .24rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--violet-800); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--violet-800); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .7rem; flex: none; }
.header__actions .btn { padding: .62rem .95rem; min-height: 44px; font-size: .8125rem; }
.header__actions .btn svg { width: 15px; height: 15px; }
@media (min-width: 480px) {
  .header__actions .btn { padding: .78rem 1.2rem; min-height: 47px; font-size: .875rem; }
  .header__actions .btn svg { width: 17px; height: 17px; }
}

.header__phone {
  display: none;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  padding: .5rem .2rem;
}
.header__phone svg { width: 16px; height: 16px; color: var(--cyan-600); }

@media (min-width: 1024px) {
  .nav { display: block; }
}
@media (min-width: 1200px) {
  .header__phone { display: inline-flex; }
}

/* Mobile toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.nav-toggle:hover { background: var(--violet-50); }
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
body.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg);
  padding: 6.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .3s;
}
body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s;
}
.mobile-nav__list { display: grid; gap: .1rem; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem .25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}
.mobile-nav__link span { font-family: var(--font-sans); font-size: .75rem; color: var(--muted-light); letter-spacing: .1em; }
.mobile-nav__link[aria-current="page"] { color: var(--violet-700); }
.mobile-nav__foot { display: grid; gap: .85rem; padding-top: 1.75rem; }
.mobile-nav__contact {
  display: grid;
  gap: .15rem;
  font-size: .9rem;
  color: var(--muted);
}
.mobile-nav__contact strong { color: var(--ink); font-size: 1.05rem; }
body.nav-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(760px 520px at 88% 6%, rgba(47, 168, 220, .14), transparent 62%),
    radial-gradient(680px 520px at 4% 88%, rgba(123, 94, 167, .13), transparent 64%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 102, 128, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 102, 128, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__copy { max-width: 640px; }

.hero__pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .42rem .82rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: .775rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
}
.pill svg { width: 13px; height: 13px; color: var(--cyan-600); }
.pill--accent {
  background: var(--violet-50);
  border-color: var(--violet-200);
  color: var(--violet-800);
}

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__sub { margin-bottom: 2rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero__trust-item { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--violet-600); flex: none; }
.hero__trust-item strong { color: var(--ink); font-weight: 650; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  max-width: 460px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  background: var(--violet-100);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 20, 56, .42));
  pointer-events: none;
}
.hero__frame-tag {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.hero__frame-tag .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-brand);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  flex: none;
}
.hero__frame-tag p { font-size: .78rem; line-height: 1.35; color: var(--muted); }
.hero__frame-tag strong { display: block; font-size: .87rem; color: var(--ink); font-weight: 650; }

.hero__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 228, 241, .9);
  animation: float 7s ease-in-out infinite;
}
.hero__float--tl { top: 8%; left: -6%; }
.hero__float--br { bottom: 24%; right: -4%; animation-delay: -3s; }
.hero__float svg { width: 20px; height: 20px; color: var(--cyan-600); }
.hero__float p { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.hero__float strong { display: block; font-size: .84rem; color: var(--ink); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.hero__ring {
  position: absolute;
  inset: -26px -26px auto auto;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1.5px dashed var(--violet-200);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
  .hero__frame { max-width: 520px; }
}
@media (max-width: 560px) {
  .hero__float--tl { left: 0; top: 4%; }
  .hero__float--br { right: 0; bottom: 18%; }
  .hero__frame { border-width: 5px; }
}

/* ---------- 9. Quick actions ---------- */
.quick {
  position: relative;
  z-index: 5;
  margin-top: clamp(-4.5rem, -5vw, -3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.quick__card {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quick__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  border-bottom: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.quick__item:last-child { border-bottom: 0; }
.quick__item:hover { background: var(--violet-50); }
.quick__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  color: var(--violet-700);
  flex: none;
}
.quick__icon svg { width: 21px; height: 21px; }
.quick__item-title { font-family: var(--font-sans); font-size: .95rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); margin-bottom: .1rem; line-height: 1.35; }
.quick__item p { font-size: .83rem; color: var(--muted); line-height: 1.45; }
.quick__item .chev { margin-left: auto; color: var(--violet-400, #a48fd0); flex: none; transition: transform .25s var(--ease); }
.quick__item:hover .chev { transform: translateX(3px); }
.quick__item .chev svg { width: 17px; height: 17px; }

@media (min-width: 720px) {
  .quick__card { grid-template-columns: repeat(2, 1fr); }
  .quick__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .quick__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1080px) {
  .quick__card { grid-template-columns: repeat(4, 1fr); }
  .quick__item { border-right: 1px solid var(--line); border-bottom: 0; flex-direction: column; align-items: flex-start; gap: .85rem; padding: 1.75rem 1.5rem; }
  .quick__item:last-child { border-right: 0; }
  .quick__item .chev { display: none; }
}

/* ---------- 10. Cards & feature blocks ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2vw, 1.9rem);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--violet-200); }
.card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.card p { font-size: .9375rem; color: var(--muted); }
.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--grad-brand-soft);
  color: var(--violet-700);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card__icon--cyan { background: var(--cyan-50); color: var(--cyan-700); }

/* Program cards with imagery */
.program {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--violet-100); }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.program:hover .program__media img { transform: scale(1.055); }
.program__num {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .28rem .6rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--violet-800);
}
.program__body { padding: 1.4rem 1.45rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.program__body h3 { font-size: 1.245rem; margin-bottom: .55rem; }
.program__body p { font-size: .9125rem; color: var(--muted); line-height: 1.62; }
.program__link { margin-top: 1.15rem; }

/* Service detail cards */
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 28px);
  transition: border-color .3s, box-shadow .3s;
}
.service:hover { border-color: var(--violet-200); box-shadow: var(--shadow-sm); }
.service__inner { display: grid; gap: 0; }
.service__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--violet-50); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__body { padding: clamp(1.4rem, 2.6vw, 2.1rem); }
.service__body h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: .6rem; }
.service__body > p { color: var(--muted); font-size: .95rem; }
.service__list-title {
  margin-top: 1.35rem;
  margin-bottom: .6rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet-700);
}
.ticks { display: grid; gap: .5rem; }
.ticks li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .9125rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--cyan-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f87b3' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 9px no-repeat;
}
@media (min-width: 860px) {
  .service__inner { grid-template-columns: 300px 1fr; align-items: stretch; }
  .service__media { aspect-ratio: auto; height: 100%; min-height: 100%; }
}
@media (min-width: 1200px) {
  .service__inner { grid-template-columns: 350px 1fr; }
}

/* ---------- 11. Stats ---------- */
.stats {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  background: rgba(255, 255, 255, .04);
  padding: 1.6rem 1.25rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.stat__num sup { font-size: .45em; top: -.7em; color: var(--cyan-400); }
.stat__label { margin-top: .55rem; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 12. Split feature / about ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .split--wide-left { grid-template-columns: 1.05fr .95fr; }
}

.split__media { position: relative; }
.split__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--violet-100);
}
.split__frame img { width: 100%; height: 100%; object-fit: cover; }
.split__frame--tall { aspect-ratio: 4 / 4.4; }
.split__frame--wide { aspect-ratio: 4 / 3; }

.split__badge {
  position: absolute;
  bottom: -1.2rem;
  left: -1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 240px;
}
.split__badge .icon-circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #fff; flex: none;
}
.split__badge svg { width: 19px; height: 19px; }
.split__badge p { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.split__badge strong { display: block; font-size: .86rem; color: var(--ink); }

.accent-block {
  position: absolute;
  z-index: -1;
  inset: auto auto 2rem -2rem;
  width: 70%;
  height: 60%;
  border-radius: var(--radius-lg);
  background: var(--grad-brand-soft);
}

/* Feature list */
.feature-list { display: grid; gap: 1.15rem; margin-top: 1.9rem; }
.feature-list li { display: flex; gap: .9rem; }
.feature-list .icon {
  width: 38px; height: 38px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--violet-700);
  box-shadow: var(--shadow-xs);
}
.feature-list .icon svg { width: 17px; height: 17px; }
.feature-list h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 650; color: var(--ink); margin-bottom: .12rem; letter-spacing: -.005em; line-height: 1.35; }
.feature-list p { font-size: .885rem; color: var(--muted); line-height: 1.55; }

/* ---------- 13. Values ---------- */
.values { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.value {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__icon {
  width: 44px; height: 44px; margin: 0 auto .8rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  color: var(--violet-700);
}
.value__icon svg { width: 20px; height: 20px; }
.value h3 { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.value p { margin-top: .35rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 780px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 14. Insurance strip ---------- */
.plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}
.plan {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .68rem 1.15rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), border-color .25s, color .25s;
}
.plan:hover { transform: translateY(-2px); border-color: var(--violet-200); color: var(--violet-800); }
.plan svg { width: 15px; height: 15px; color: var(--cyan-600); }

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 15. Testimonial ---------- */
.quote {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -.1em;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--violet-100);
  pointer-events: none;
}
.quote blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -.015em;
}
.quote__by { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.quote__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-brand);
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: .9rem; flex: none;
}
.quote__by strong { display: block; font-size: .875rem; color: var(--ink); }
.quote__by span { font-size: .78rem; color: var(--muted); }

/* ---------- 16. CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(700px 400px at 88% 0%, rgba(47, 168, 220, .38), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(123, 94, 167, .55), transparent 60%),
    var(--ink);
  color: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-lg);
}
.cta__grid { display: grid; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) {
  .cta__grid { grid-template-columns: 1.4fr .9fr; }
  .cta__actions { justify-content: flex-end; }
}
.cta__glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  right: -80px; bottom: -140px;
  pointer-events: none;
}
.cta__glow::before {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
}

/* ---------- 17. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.6rem; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.9rem; } }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--violet-300, #c3b3e4);
  letter-spacing: -.02em;
}
.step::after {
  content: "";
  position: absolute;
  top: .95rem; left: 3rem; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 650; margin-bottom: .4rem; color: var(--ink); }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- 18. Accordion / FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] { border-color: var(--violet-200); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .975rem;
  color: var(--ink);
  list-style: none;
  letter-spacing: -.005em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--violet-50); }
.faq__sign {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background-color .25s;
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  background: var(--violet-700);
  border-radius: 2px;
}
.faq__sign::before { width: 9px; height: 1.5px; }
.faq__sign::after { width: 1.5px; height: 9px; transition: transform .3s var(--ease); }
.faq__item[open] .faq__sign { background: var(--violet-50); }
.faq__item[open] .faq__sign::after { transform: scaleY(0); }
.faq__a { padding: 0 1.35rem 1.35rem; font-size: .925rem; color: var(--muted); line-height: 1.65; max-width: 68ch; }

/* ---------- 19. Page header ---------- */
.page-head {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.5rem, 5vw, 3.75rem);
  background:
    radial-gradient(720px 420px at 82% 0%, rgba(47, 168, 220, .16), transparent 62%),
    radial-gradient(600px 400px at 6% 100%, rgba(123, 94, 167, .14), transparent 66%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head__inner { position: relative; max-width: 760px; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1rem; }
.page-head p { max-width: 60ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--muted-light);
  margin-bottom: 1.3rem;
  letter-spacing: .02em;
}
.breadcrumb a:hover { color: var(--violet-700); }
.breadcrumb span { opacity: .5; }

/* ---------- 20. Insurance page ---------- */
.plan-grid { display: grid; gap: .85rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 560px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.05rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .3s, border-color .25s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--violet-200); }
.plan-card__mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  color: var(--violet-700);
}
.plan-card__mark svg { width: 17px; height: 17px; }
.plan-card small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted); letter-spacing: .01em; }

/* ---------- 21. Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

.info-list { display: grid; gap: .85rem; }
.info-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s;
}
.info-item:hover { border-color: var(--violet-200); box-shadow: var(--shadow-xs); }
.info-item__icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  color: var(--violet-700);
}
.info-item__icon svg { width: 18px; height: 18px; }
.info-item h3 { font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.info-item p, .info-item a { font-size: .9375rem; color: var(--ink); line-height: 1.55; }
.info-item a:hover { color: var(--violet-700); text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: .5rem; }
.form-card > p { font-size: .9rem; color: var(--muted); margin-bottom: 1.6rem; }

.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field label { font-size: .78rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--violet-500);
  box-shadow: 0 0 0 4px rgba(123, 94, 167, .14);
}
.field textarea { min-height: 132px; resize: vertical; }
.field--error input, .field--error textarea { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }
.field__error { font-size: .78rem; color: #b53125; display: none; }
.field--error .field__error { display: block; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .85rem; text-align: center; }
.form-success {
  display: none;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #eafaf1;
  border: 1px solid #bfe9d1;
  color: #16663f;
  font-size: .9rem;
  margin-top: 1rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
  background: var(--violet-50);
}
.map iframe { width: 100%; height: 340px; border: 0; filter: saturate(.92) contrast(1.02); }

.hours { display: grid; gap: .45rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { color: var(--muted); }
.hours span:last-child { font-weight: 600; color: var(--ink); }

/* ---------- 22. Sticky service index ---------- */
.with-rail { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); align-items: start; }
@media (min-width: 1000px) { .with-rail { grid-template-columns: 250px 1fr; } }
.rail { position: sticky; top: calc(var(--header-h) + 24px); display: none; }
@media (min-width: 1000px) { .rail { display: block; } }
.rail h2 { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.rail__list { display: grid; gap: 0; border-left: 1px solid var(--line); }
.rail__link {
  position: relative;
  display: block;
  padding: .5rem 0 .5rem 1rem;
  font-size: .845rem;
  color: var(--muted);
  line-height: 1.4;
  transition: color .2s;
}
.rail__link::before {
  content: "";
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  width: 2px;
  background: var(--grad-brand);
  transform: scaleY(0);
  transition: transform .25s var(--ease);
}
.rail__link:hover { color: var(--ink); }
.rail__link.is-active { color: var(--violet-800); font-weight: 600; }
.rail__link.is-active::before { transform: scaleY(1); }
.rail .btn { margin-top: 1.35rem; }

/* ---------- 23. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--violet-950);
  color: rgba(255, 255, 255, .62);
  padding-block: clamp(3rem, 5vw, 4.25rem) 0;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 168, 220, .22), transparent 68%);
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  gap: 2.25rem;
  padding-bottom: clamp(2.5rem, 4vw, 3.25rem);
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.5fr .8fr .9fr 1.1fr; gap: 2.5rem; } }

.footer__brand img { width: 200px; height: auto; margin-bottom: 1.15rem; }
.footer__brand p { font-size: .89rem; line-height: 1.65; max-width: 34ch; }
.footer__social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .75);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.footer__social a:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__col h3 {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.05rem;
}
.footer__col ul { display: grid; gap: .5rem; }
.footer__col a, .footer__col li { font-size: .89rem; color: rgba(255, 255, 255, .62); line-height: 1.5; }
.footer__col a { display: inline-block; padding-block: .2rem; }
.footer__col a:hover { color: #fff; }
.footer__col .contact-line { display: flex; gap: .55rem; align-items: flex-start; }
.footer__col .contact-line svg { width: 15px; height: 15px; margin-top: .25rem; color: var(--cyan-400); flex: none; }

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.footer__bottom nav a { display: inline-block; padding-block: .2rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- 24. Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--violet-800);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--violet-50); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 25. Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

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

/* ---------- 26. Utilities ---------- */
.sr-only {
  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;
  top: -100px; left: 1rem;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-size: .875rem;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin-block: clamp(2rem, 4vw, 3rem);
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1.4rem; }
.center { text-align: center; }

/* Responsive text swap (e.g. "Book Appointment" → "Book") */
.show-sm { display: none; }
@media (max-width: 479px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}
