/* =========================================================
   Dr. Yousef Nasrawi — Design System
   Palette derived from the official brand mark: a monoline
   white/ivory signature logo set against deep navy. We echo
   that navy as the primary dark anchor, warm off-white as the
   base canvas, and add a muted teal + warm sand accent so nothing
   competes with the logo itself.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Brand palette */
  --navy-900: #0c1526;
  --navy-800: #131f36;
  --navy-700: #1c2c48;
  --navy-600: #2b3f60;
  --cream-050: #fbf8f2;
  --cream-100: #f5efe3;
  --cream-200: #ece2cd;
  --teal-600: #3f7268;
  --teal-500: #4f8c82;
  --teal-100: #dfe9e5;
  --sand-500: #b6935f;
  --sand-300: #d9c4a0;
  --sand-100: #f1e7d6;
  --charcoal: #23262b;
  --slate: #5b6470;
  --slate-light: #8791a0;
  --line: #e4dfd3;
  --line-dark: #2b3a56;
  --white: #ffffff;
  --success: #3f7268;
  --error: #a3403a;

  /* Semantic tokens */
  --color-bg: var(--cream-050);
  --color-bg-alt: var(--cream-100);
  --color-text: var(--charcoal);
  --color-text-muted: var(--slate);
  --color-surface: var(--white);
  --color-border: var(--line);
  --color-accent: var(--teal-600);
  --color-accent-soft: var(--teal-100);
  --color-highlight: var(--sand-500);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.3vw, 3.6rem);
  --step-5: clamp(2.9rem, 2.1rem + 3.6vw, 4.6rem);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
  --space-3xl: 7.5rem;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(12, 21, 38, 0.04), 0 12px 32px -16px rgba(12, 21, 38, 0.18);
  --shadow-lifted: 0 4px 8px rgba(12, 21, 38, 0.06), 0 24px 48px -20px rgba(12, 21, 38, 0.28);

  --max-width: 1280px;
  --content-width: 72ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: var(--navy-900);
    --color-bg-alt: var(--navy-800);
    --color-text: #eef1f6;
    --color-text-muted: #aab4c4;
    --color-surface: var(--navy-800);
    --color-border: var(--line-dark);
    --color-accent: #6ea69a;
    --color-accent-soft: rgba(79, 140, 130, 0.18);
    --color-highlight: var(--sand-300);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Safety net: every icon macro outputs a 24x24 viewBox SVG with no
   width/height, so it has no intrinsic size to constrain against.
   Default to a sane 1.2em unless a more specific rule overrides it. */
svg[viewBox="0 0 24 24"] {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--space-s);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 var(--space-s); }

ul, ol { padding-left: 1.2em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.eyebrow::before {
  content: "";
  width: 1.5em;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lede {
  font-size: var(--step-1);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* -------------------- Layout helpers -------------------- */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-m);
}

.section {
  padding-block: var(--space-2xl);
}

.section--tight { padding-block: var(--space-xl); }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--navy-900);
  color: #eef1f6;
}
.section--dark .eyebrow { color: var(--sand-300); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #c3cbd8; }

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-xl);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--space-l);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-s);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* -------------------- Focus states -------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 1em; height: 1em; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow-lifted); }

.btn--accent {
  background: var(--teal-600);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--accent:hover { background: var(--teal-500); box-shadow: var(--shadow-lifted); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn--on-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--on-dark:hover { background: rgba(255,255,255,0.16); border-color: #fff; }

.btn--sm { padding: 0.6em 1.2em; font-size: 0.8rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  align-items: center;
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(12, 21, 38, 0.92); }
}

.site-header .wrap {
  max-width: 1560px;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: 0.85rem;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__logo-chip {
  background: var(--navy-900);
  border-radius: var(--radius-s);
  padding: 0.4rem 0.7rem;
  display: inline-flex;
  align-items: center;
}
.brand__logo-chip img {
  height: 28px;
  width: auto;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .brand__logo-chip { background: transparent; padding: 0; }
}

.brand__text {
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  display: block;
}
.brand__role {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  min-width: 0;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.main-nav__list > li {
  position: relative;
}

.main-nav__list a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.main-nav__list a:hover { color: var(--color-accent); }

.has-dropdown > a::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2em;
  opacity: 0.6;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lifted);
  padding: 0.6rem;
  min-width: 260px;
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 20;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}

.dropdown a {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-s);
  font-weight: 500;
  font-size: 0.88rem;
}
.dropdown a:hover { background: var(--color-accent-soft); color: var(--color-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  flex-shrink: 0;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
}
.icon-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.icon-link:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1620px) {
  .main-nav__list, .header-actions .icon-link { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--primary { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  visibility: hidden;
}
.mobile-drawer[data-open="true"] { visibility: visible; }

.mobile-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 21, 38, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-drawer[data-open="true"] .mobile-drawer__scrim { opacity: 1; }

.mobile-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: var(--color-bg);
  padding: var(--space-m);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}
.mobile-drawer[data-open="true"] .mobile-drawer__panel { transform: translateX(0); }

.mobile-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer__close {
  background: none; border: none; cursor: pointer; padding: 0.4rem;
}
.mobile-drawer__close svg { width: 24px; height: 24px; }

.mobile-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
}
.mobile-nav-list > li { border-bottom: 1px solid var(--color-border); }
.mobile-nav-list a {
  display: block;
  padding: 0.9rem 0.1rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text);
}
.mobile-sub-list {
  list-style: none;
  margin: 0 0 0.6rem; padding: 0 0 0 0.9rem;
  display: grid;
}
.mobile-sub-list a { padding: 0.55rem 0.1rem; font-size: 0.92rem; color: var(--color-text-muted); }

/* Mobile quick-action bar */
.quick-actions {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  display: none;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgba(12,21,38,0.08);
}
@media (max-width: 720px) {
  .quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); }
  body { padding-bottom: 64px; }
}
.quick-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.25rem 0.7rem;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.68rem;
  font-weight: 600;
  border-right: 1px solid var(--color-border);
}
.quick-actions a:last-child { border-right: none; }
.quick-actions svg { width: 20px; height: 20px; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 12%, rgba(79,140,130,0.35), transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(182,147,95,0.18), transparent 40%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-3xl) var(--space-2xl);
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: var(--space-xl) var(--space-l); gap: var(--space-l); }
}

.hero__logo {
  margin-bottom: var(--space-l);
  height: 34px;
}
.hero__logo img { height: 100%; width: auto; }

.hero h1 { color: #fff; margin-bottom: var(--space-m); }
.hero .lede { color: #c9d2e0; margin-bottom: var(--space-m); }

.hero__trust {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-m);
  padding: var(--space-s) var(--space-m);
  font-size: 0.9rem;
  color: #dde4ee;
  margin-block: var(--space-m) var(--space-l);
  max-width: 46ch;
}
.hero__trust svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--sand-300); margin-top: 0.15em; }

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  color: #aeb9ca;
  margin-top: var(--space-m);
}
.hero__location svg { width: 16px; height: 16px; }

.hero__portrait {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
  aspect-ratio: 4 / 4.6;
}
.hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,21,38,0.55) 100%);
}
.hero__portrait-caption {
  position: absolute;
  left: var(--space-m); right: var(--space-m); bottom: var(--space-m);
  color: #fff; font-size: 0.85rem; z-index: 2;
}

/* -------------------- Credentials strip -------------------- */
.credentials-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-s);
}
@media (max-width: 900px) { .credentials-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) and (max-width: 1150px) { .credentials-strip { grid-template-columns: repeat(3, 1fr); } }

.credential-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  display: grid;
  gap: 0.6rem;
  text-align: left;
}
.credential-card__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.credential-card__icon svg { width: 20px; height: 20px; }
.credential-card h4 { margin: 0; font-size: 0.95rem; }
.credential-card p { margin: 0; font-size: 0.85rem; color: var(--color-text-muted); }

/* -------------------- Cards -------------------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.treatment-card {
  padding: var(--space-m);
  text-decoration: none;
  color: var(--color-text);
  height: 100%;
}
.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lifted); }
.treatment-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-s);
}
.treatment-card__icon svg { width: 24px; height: 24px; }
.treatment-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.treatment-card p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 0.8rem; }
.treatment-card__link {
  font-size: 0.85rem; font-weight: 600; color: var(--color-accent);
  display: inline-flex; align-items: center; gap: 0.3em; margin-top: auto;
}
.treatment-card__link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* -------------------- Philosophy steps -------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-m);
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: var(--space-m) var(--space-m) var(--space-m) 0;
  border-top: 2px solid var(--color-border);
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--color-accent);
  display: block;
  margin: 0.6rem 0 0.4rem;
}
.step h4 { margin-bottom: 0.4rem; }
.step p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

/* -------------------- Journey timeline -------------------- */
.journey {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-s);
}
@media (max-width: 1000px) { .journey { grid-template-columns: repeat(2, 1fr); } }
.journey__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: var(--space-m) var(--space-s);
}
.journey__index {
  font-family: var(--font-display);
  color: var(--color-highlight);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}
.journey__item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.journey__item p { font-size: 0.82rem; color: var(--color-text-muted); margin: 0; }

/* -------------------- Case gallery -------------------- */
.case-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-l);
}
.chip {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-muted);
}
.chip[aria-pressed="true"] {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  text-decoration: none;
  color: var(--color-text);
}
.case-card__media {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  background: var(--color-bg-alt);
}
.case-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.case-card:hover .case-card__media img { transform: scale(1.03); }
.case-card__tag {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(12,21,38,0.82);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.case-card__body { padding-top: 0.8rem; }
.case-card__body h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.case-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
}

.consent-badge {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-size: 0.72rem; font-weight: 600;
  color: var(--color-accent);
  margin-top: 0.4rem;
}
.consent-badge svg { width: 14px; height: 14px; }

.disclaimer-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  font-size: 0.86rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.8rem;
}
.disclaimer-box svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-highlight); }

/* Case detail image */
.case-image {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-soft);
}
.case-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------- FAQ -------------------- */
.faq-list { display: grid; gap: 0.75rem; max-width: 78ch; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: var(--space-s) var(--space-m);
  cursor: pointer;
  color: var(--color-text);
}
.faq-item__q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[data-open="true"] .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a {
  padding: 0 var(--space-m);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.faq-item[data-open="true"] .faq-item__a {
  padding-bottom: var(--space-m);
}

/* -------------------- Testimonials -------------------- */
.testimonial-placeholder {
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-m);
  padding: var(--space-l);
  text-align: center;
  color: var(--color-text-muted);
}

/* -------------------- Forms -------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-m);
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field .hint { font-size: 0.78rem; color: var(--color-text-muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
.checkbox-field { display: flex; gap: 0.6rem; align-items: flex-start; }
.checkbox-field input { width: auto; margin-top: 0.3rem; }
.checkbox-field label { font-weight: 400; font-size: 0.85rem; }

.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: var(--radius-s);
  padding: 0.75rem 1rem;
  margin-top: var(--space-s);
}

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* -------------------- Contact info blocks -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-m); }
.contact-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  padding: var(--space-s) var(--space-m);
}
.contact-list svg { width: 22px; height: 22px; color: var(--color-accent); flex-shrink: 0; margin-top: 0.15rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--color-accent); }
.contact-list .placeholder-text { color: var(--color-text-muted); font-style: italic; font-weight: 400; }

.map-embed {
  aspect-ratio: 4/3;
  border-radius: var(--radius-m);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* -------------------- Placeholder tag -------------------- */
.placeholder-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sand-100);
  color: var(--sand-500);
  border: 1px solid var(--sand-300);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-left: 0.4rem;
  vertical-align: middle;
}
@media (prefers-color-scheme: dark) {
  .placeholder-tag { background: rgba(182,147,95,0.15); }
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--navy-900);
  color: #c3cbd8;
  padding-block: var(--space-2xl) var(--space-l);
}
.site-footer a { text-decoration: none; color: #c3cbd8; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h5 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-s);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.footer-links li { display: flex; align-items: center; gap: 0.5rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links svg { width: 16px; height: 16px; flex-shrink: 0; color: #97a1b2; }

.footer-brand__logo { height: 30px; margin-bottom: var(--space-s); }
.footer-brand p { font-size: 0.88rem; color: #97a1b2; max-width: 34ch; }

.footer-social { display: flex; gap: 0.6rem; margin-top: var(--space-s); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: var(--space-m);
  font-size: 0.78rem;
  color: #7d879a;
}

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flow > * + * { margin-top: var(--space-s); }

.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.pill-list li {
  font-size: 0.8rem; font-weight: 600;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}

.page-banner {
  background: var(--navy-900);
  color: #fff;
  padding-block: var(--space-2xl) var(--space-xl);
}
.page-banner .eyebrow { color: var(--sand-300); }
.page-banner h1 { color: #fff; margin-bottom: var(--space-s); }
.page-banner p { color: #c3cbd8; max-width: 62ch; }
.breadcrumb {
  font-size: 0.8rem;
  color: #97a1b2;
  margin-bottom: var(--space-m);
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.breadcrumb a { color: #97a1b2; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: var(--space-l); } }
.two-col img { border-radius: var(--radius-l); box-shadow: var(--shadow-soft); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.94rem; }
.check-list svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; margin-top: 0.1rem; }

.cta-band {
  background: var(--teal-600);
  color: #fff;
  border-radius: var(--radius-l);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
  flex-wrap: wrap;
}
.cta-band h3 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; max-width: 46ch; }

.article-card { text-decoration: none; color: var(--color-text); }
.article-card__media { aspect-ratio: 16/10; border-radius: var(--radius-m); overflow: hidden; background: var(--color-bg-alt); margin-bottom: var(--space-s); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card time { font-size: 0.78rem; color: var(--color-text-muted); }

.print-hint { display: none; }
@media print {
  .site-header, .site-footer, .quick-actions, .skip-link { display: none; }
}
