/* ===============================================================
   Joel A. Sach, MD — stylesheet
   Palette: calm teal + warm cream, professional medical feel
   =============================================================== */

/* -----------------------------------------------------------------
   COLOR SCHEME
   Two options, both drawn from the practice logo. To switch, change
   the <html data-scheme="..."> attribute in index.html:
     data-scheme="clinical"  → cool navy + cyan (modern, sleek, clinical)
     data-scheme="wellness"  → sage green + gold (holistic, matches logo)
   ----------------------------------------------------------------- */

:root {
  /* Structural tokens (shared by both schemes) */
  --shadow-sm: 0 1px 3px rgba(15, 33, 43, .08);
  --shadow-md: 0 10px 30px rgba(15, 33, 43, .10);
  --shadow-lg: 0 24px 60px rgba(15, 33, 43, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
}

/* Scheme A — Clinical Modern (default): cool navy + cyan accent */
:root,
:root[data-scheme="clinical"] {
  --teal-900: #0c2e3d;
  --teal-800: #124a5e;
  --teal-700: #0e7490;
  --teal-600: #0891a5;
  --teal-050: #e8f6f9;
  --sand-050: #f6fafb;
  --sand-100: #eaf1f5;
  --ink: #132029;
  --ink-soft: #51636f;
  --line: #e0e8ed;
  --white: #ffffff;
  --gold: #12b0c2;
}

/* Scheme B — Holistic Wellness: sage green + gold (matches the logo) */
:root[data-scheme="wellness"] {
  --teal-900: #213f33;
  --teal-800: #2d5544;
  --teal-700: #3a6b57;
  --teal-600: #4a7d67;
  --teal-050: #eef4f0;
  --sand-050: #faf7f1;
  --sand-100: #f2ece0;
  --ink: #20261f;
  --ink-soft: #586257;
  --line: #e7e0d2;
  --white: #ffffff;
  --gold: #c1974a;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-050);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal-700); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--teal-700);
  background: var(--teal-700); color: #fff; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--teal-800); border-color: var(--teal-800); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--teal-800); }
.btn-ghost:hover { background: var(--teal-050); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn-stack { flex-direction: column; gap: .1rem; line-height: 1.15; }
.btn-stack .btn-sub { font-size: .88rem; font-weight: 600; opacity: .92; }

/* ---------- Announcement banner ---------- */
.announce { background: linear-gradient(90deg, var(--teal-900), var(--teal-700)); color: #fff; }
.announce-inner {
  display: flex; align-items: center; justify-content: center; gap: .9rem 1.1rem;
  flex-wrap: wrap; text-align: center; padding: .65rem 0; font-size: .92rem;
}
.announce-badge {
  flex: 0 0 auto; background: var(--gold); color: #10241f; font-weight: 700;
  font-size: .74rem; letter-spacing: .04em; padding: .28rem .7rem; border-radius: 999px; white-space: nowrap;
}
.announce p { margin: 0; }
.announce strong { font-weight: 700; }
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.announce a:hover { opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { position: relative; width: 46px; height: 46px; flex: 0 0 auto; }
.brand-mono {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.brand-logo {
  position: relative; z-index: 1; width: 46px; height: 46px;
  object-fit: cover; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.brand-md { color: var(--teal-700); }
.brand-text em { font-style: normal; font-size: .74rem; color: var(--ink-soft); letter-spacing: .01em; }

.main-nav ul { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.main-nav a:hover { color: var(--teal-700); text-decoration: none; }
.main-nav .btn { color: #fff; }
.main-nav .btn:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--teal-050), transparent 60%),
    linear-gradient(180deg, var(--sand-050), var(--white));
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 3rem; align-items: center; }
.hero-copy h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em;
  margin: .3rem 0 1.1rem;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .9rem; margin: 1.8rem 0 2rem; }

.hero-trust { display: flex; gap: 2.2rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--teal-800); line-height: 1; }
.hero-trust span { font-size: .85rem; color: var(--ink-soft); margin-top: .25rem; }

.hero-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin-bottom: 1.2rem; }
.info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.4rem; }
.info-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink-soft); }
.info-list a { color: var(--ink); font-weight: 600; }
.info-ic {
  flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--teal-050); border-radius: 9px; font-size: 1rem;
}

/* ---------- Affiliations strip ---------- */
.affiliations { background: var(--white); border-bottom: 1px solid var(--line); padding: 1.8rem 0; }
.affil-label {
  text-align: center; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.2rem;
}
.affil-logos {
  display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.affil-logos img {
  height: 60px; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .7; transition: filter .2s ease, opacity .2s ease;
}
.affil-logos img:hover { filter: none; opacity: 1; }

/* ---------- Recognition / Awards ---------- */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.award {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  align-items: center; gap: 1rem; text-align: center; transition: transform .18s ease, box-shadow .18s ease;
}
.award:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.award img { width: 100%; max-width: 300px; height: 210px; object-fit: contain; border-radius: var(--radius-sm); }
.award figcaption { font-family: var(--font-display); font-weight: 600; color: var(--teal-800); font-size: 1.05rem; max-width: 100%; overflow-wrap: break-word; }
.award-medal {
  width: 100%; max-width: 300px; height: 210px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900)); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
}
.award-star { font-size: 2.4rem; color: var(--gold); line-height: 1; }
.award-medal strong { font-family: var(--font-display); font-size: 1.6rem; }
.award-medal span { font-size: .9rem; opacity: .85; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--sand-100), var(--sand-050)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em;
}
.section-sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: .7rem; }
h2 { color: var(--ink); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.about-media { position: relative; width: 70%; margin-inline: auto; }
.about-portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  font-family: var(--font-display); font-size: 5rem; color: rgba(255,255,255,.9); letter-spacing: .05em;
}
.portrait-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-badge {
  position: absolute; right: -14px; bottom: -18px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; line-height: 1.3; max-width: 220px;
}
.about-badge strong { font-family: var(--font-display); color: var(--teal-800); }
.about-badge span { font-size: .85rem; color: var(--ink-soft); }
.about-copy h2 { margin: .2rem 0 1.1rem; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.05rem; }
.about-copy blockquote {
  font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--teal-800);
  border-left: 4px solid var(--teal-600); padding: .3rem 0 .3rem 1.3rem; margin-top: 1.6rem; line-height: 1.4;
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal-600); }
.card-ic {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--teal-050); font-size: 1.6rem; margin-bottom: 1.1rem;
}
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; margin-bottom: .5rem; line-height: 1.25; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Credentials (education & awards) ---------- */
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.cred-col {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-sm);
}
.cred-col h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; gap: .55rem; margin-bottom: 1.3rem;
  padding-bottom: .9rem; border-bottom: 2px solid var(--teal-050);
}
.cred-list { display: flex; flex-direction: column; gap: 1.05rem; }
.cred-list li { position: relative; padding-left: 1.25rem; display: flex; flex-direction: column; line-height: 1.4; color: var(--ink-soft); }
.cred-list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal-600);
}
.cred-list strong { color: var(--ink); font-weight: 600; }
.cred-list span { font-size: .85rem; color: var(--teal-700); font-weight: 600; margin-top: .1rem; }

/* ---------- Clinical research ---------- */
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.research-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.research-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-600); }
.research-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  padding-bottom: .8rem; border-bottom: 2px solid var(--teal-050);
}
.research-card ul { display: flex; flex-direction: column; gap: .6rem; }
.research-card li { position: relative; padding-left: 1.15rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.research-card li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-600);
}

/* ---------- Ongoing trials ---------- */
.ongoing { margin-top: 2.6rem; }
.ongoing-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  text-align: center; margin-bottom: 1.4rem; color: var(--ink);
}
.trial-card {
  max-width: 760px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-left: 5px solid var(--teal-700);
  border-radius: var(--radius); padding: 1.8rem 2rem; box-shadow: var(--shadow-md);
}
.trial-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.trial-status {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #12813f; color: #fff; font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; padding: .32rem .8rem; border-radius: 999px;
}
.trial-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.trial-pi { font-size: .85rem; font-weight: 600; color: var(--teal-700); }
.trial-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin-bottom: .3rem; color: var(--ink); }
.trial-cond { font-weight: 600; color: var(--teal-800); margin-bottom: .9rem; }
.trial-card > p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.trial-elig { background: var(--teal-050); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin-bottom: 1.3rem; }
.trial-elig strong { display: block; margin-bottom: .6rem; color: var(--ink); }
.trial-elig ul { display: flex; flex-direction: column; gap: .5rem; }
.trial-elig li { position: relative; padding-left: 1.5rem; color: var(--ink-soft); line-height: 1.4; }
.trial-elig li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-700); font-weight: 700; }
.trial-btn { margin-bottom: .9rem; }
.trial-note { font-size: .8rem; color: var(--ink-soft); font-style: italic; margin: 0; }

/* questionnaire form */
.trial-form { margin-top: .4rem; }
.tf-set { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem 1.1rem; margin: 0 0 1.1rem; }
.tf-set legend { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--teal-800); padding: 0 .45rem; }
.tf-hint { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--ink-soft); }
.tf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.tf-field { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.tf-field:first-child { grid-column: 1 / -1; }
.tf-field input { font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.tf-field input:focus { outline: 2px solid var(--teal-600); outline-offset: 1px; border-color: var(--teal-600); }
.tf-q { padding: .75rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: .8rem 1.2rem; flex-wrap: wrap; }
.tf-q:first-of-type { border-top: 0; }
.tf-qtext { margin: 0; font-weight: 500; color: var(--ink); flex: 1 1 250px; line-height: 1.35; }
.tf-qtext em { display: block; font-style: normal; font-size: .8rem; color: var(--ink-soft); font-weight: 400; margin-top: .12rem; }
.tf-opts { display: flex; gap: 1rem; flex: 0 0 auto; }
.tf-opts label { display: inline-flex; align-items: center; gap: .32rem; font-size: .9rem; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.tf-opts input { accent-color: var(--teal-700); }
.trial-thanks { background: var(--teal-050); border-left: 5px solid var(--teal-700); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; color: var(--ink); line-height: 1.5; }

/* clinical trial interest */
.trial-interest-cta { text-align: center; margin: 0 auto 2.8rem; }
.trial-interest { max-width: 760px; margin: 0 auto 2.8rem; }
.interest-lead { text-align: center; color: var(--ink-soft); margin-bottom: 1.3rem; }
.interest-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm); }
.interest-q { font-weight: 600; color: var(--ink); margin-bottom: .7rem; }
.interest-opts { display: flex; gap: 1.6rem; }
.interest-opts label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font-weight: 500; color: var(--ink); }
.interest-opts input { accent-color: var(--teal-700); }
.interest-details { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.tf-full { grid-column: 1 / -1; }
.interest-details textarea { font: inherit; font-weight: 400; padding: .7rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); resize: vertical; min-height: 88px; }
.interest-details textarea:focus { outline: 2px solid var(--teal-600); outline-offset: 1px; border-color: var(--teal-600); }

@media (prefers-reduced-motion: reduce) { .trial-status .dot { animation: none; } }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; max-width: 900px; margin: 0 auto; }
.chips li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .7rem 1.3rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: .16s;
}
.chips li:hover { border-color: var(--teal-600); color: var(--teal-800); transform: translateY(-2px); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .9rem; }
.review blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.55; flex: 1; }
.review figcaption { margin-top: 1.1rem; font-weight: 600; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Concierge After-Hours banner ---------- */
.concierge {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-800));
  color: #fff; position: relative; overflow: hidden;
}
.concierge::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 120%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%);
}
.concierge-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 1.6rem 2.5rem; padding: 2.6rem 0; flex-wrap: wrap;
}
.concierge-copy { max-width: 640px; }
.concierge-eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--gold); margin-bottom: .5rem;
}
.concierge h2 {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin-bottom: .6rem;
}
.concierge-copy p { color: #d5e6e3; font-size: 1.05rem; }
.concierge-btn { flex: 0 0 auto; background: var(--gold); border-color: var(--gold); color: #10241f; }
.concierge-btn:hover { background: #fff; border-color: #fff; color: var(--teal-900); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--sand-050), var(--teal-050)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-copy h2 { margin: .2rem 0 1rem; }
.contact-copy > p { color: var(--ink-soft); font-size: 1.08rem; }
.info-list-lg { margin: 1.6rem 0; }
.info-list-lg li { font-size: 1.05rem; }
.contact-map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); min-height: 380px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #bfe0dc; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text em { color: #7fbdb6; }
.footer-note { margin-top: 1rem; max-width: 34ch; color: #9fccc6; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 600; }
.site-footer a { color: #bfe0dc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { display: flex; flex-direction: column; gap: .6rem; font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0; margin-top: 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: #8fc3bd;
}

/* ---------- Expedited Scheduling dialog ---------- */
.exp-dialog {
  border: none; border-radius: var(--radius); padding: 0;
  max-width: 560px; width: calc(100% - 2rem); max-height: 90vh; overflow-y: auto;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg);
}
.exp-dialog::backdrop { background: rgba(11, 33, 43, .55); backdrop-filter: blur(2px); }
.exp-form, .exp-thanks { padding: 1.8rem 1.9rem 1.6rem; position: relative; }
.exp-form h3, .exp-thanks h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: .4rem; color: var(--ink); }
.exp-lead { color: var(--ink-soft); margin-bottom: 1.2rem; }
.exp-close { position: absolute; top: .7rem; right: 1rem; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: .1rem .4rem; }
.exp-close:hover { color: var(--ink); }
.exp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.exp-fields .tf-full { grid-column: 1 / -1; }
.exp-form textarea { font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); resize: vertical; }
.exp-form textarea:focus, .exp-form input:focus { outline: 2px solid var(--teal-600); outline-offset: 1px; border-color: var(--teal-600); }
.exp-ins { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem 1.1rem; margin: 1.2rem 0; }
.exp-ins legend { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--teal-800); padding: 0 .4rem; }
.exp-submit { width: 100%; margin-top: .2rem; }
.exp-thanks { text-align: center; }
.exp-check { width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; background: #12813f; color: #fff; display: grid; place-items: center; font-size: 2rem; }
.exp-thanks p { color: var(--ink-soft); margin-bottom: 1rem; }
.exp-thanks p strong { color: var(--ink); }
.exp-thanks .btn { margin: .35rem .3rem 0; }

/* concierge service modal */
.concierge-modal { padding: 1.9rem 1.9rem 1.6rem; position: relative; text-align: center; }
.cm-price { display: inline-block; background: var(--gold); color: #10241f; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; padding: .15rem .95rem; border-radius: 999px; margin-bottom: .8rem; }
.cm-heading { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 1.2rem; color: var(--ink); }
.cm-offer { border: 1px solid var(--line); border-top: 4px solid var(--teal-600); border-radius: var(--radius); padding: 1.6rem 1.5rem; margin-bottom: 1.9rem; box-shadow: var(--shadow-md); background: var(--sand-050); }
.cm-offer:last-of-type { margin-bottom: 1.3rem; }
.cm-offer h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: .4rem; color: var(--ink); }
.cm-offer > p { color: var(--ink-soft); margin-bottom: .3rem; }
.cm-cta { width: 100%; margin-top: .5rem; }
.cm-disclaimer { font-size: .78rem; color: var(--ink-soft); font-style: italic; margin-top: .9rem; line-height: 1.45; text-align: left; }
.cm-list { text-align: left; max-width: 430px; margin: 1.3rem auto 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.cm-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); line-height: 1.4; }
.cm-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-700); font-weight: 700; }
.cm-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.cm-pay { margin-top: 1.3rem; padding: 1.2rem 1.3rem; background: var(--teal-050); border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; }
.cm-pay h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; color: var(--ink); }
.cm-pay p { color: var(--ink-soft); margin-bottom: .5rem; }
.cm-zelle { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--teal-800); margin: .3rem 0 .7rem; }
.cm-paynote { font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-media { max-width: 360px; margin-inline: auto; }
  .cards, .reviews, .award-grid, .research-grid { grid-template-columns: repeat(2, 1fr); }
  .award-note { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav ul {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav ul.open { max-height: 420px; }
  .main-nav li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1rem 1.5rem; }
  .main-nav .btn { margin: .8rem 1.5rem; }
  .cards, .reviews, .award-grid, .cred-grid, .research-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .concierge-inner { flex-direction: column; text-align: center; }
  .tf-fields, .exp-fields { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.5rem; }
  .about-badge { right: 0; }
  .affil-logos img { height: 46px; }
}
