/* ============================================================
   Texas Lung Specialists — Design System
   A calm, professional, modern medical theme.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — calming clinical blues + fresh teal accent */
  --navy:       #0b2a4a;
  --navy-700:   #123a63;
  --blue:       #1d6fb8;
  --blue-600:   #2a86d6;
  --teal:       #16b6a6;
  --teal-600:   #087f75;
  --sky:        #eaf4fb;
  --sky-200:    #d6e9f7;
  --mint:       #e9fbf7;

  --ink:        #16212e;
  --body:       #46586b;
  --muted:      #5b7088;
  --line:       #e4ecf3;
  --white:      #ffffff;
  --cloud:      #f6fafd;

  --gold:       #f5a623;

  /* Effects */
  --shadow-sm:  0 2px 8px rgba(11, 42, 74, .06);
  --shadow:     0 12px 30px rgba(11, 42, 74, .10);
  --shadow-lg:  0 26px 60px rgba(11, 42, 74, .16);
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;

  --container:  1180px;
  --gap:        clamp(1.5rem, 4vw, 3rem);

  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display:    'Fraunces', 'Inter', Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-600); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1 { font-family: var(--display); font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 600; }
h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2rem); }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

.lede { font-size: 1.18rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 130%); color: #fff; box-shadow: 0 10px 24px rgba(29,111,184,.32); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(29,111,184,.4); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { color: var(--blue); border-color: var(--blue-600); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy); color: #cfe3f4; font-size: .86rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #cfe3f4; }
.topbar a:hover { color: #fff; }
.topbar .tb-group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--teal)); display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(29,111,184,.3);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.08rem; color: var(--navy); letter-spacing: -.01em; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .97rem; padding: .55rem .85rem; border-radius: 10px;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--sky); color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(22,182,166,.16), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(29,111,184,.12), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--sky-200);
  padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--navy-700);
  box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22,182,166,.22); }
.hero h1 { color: var(--navy); }
.hero h1 .accent { color: var(--blue); }
.hero p.lede { margin-top: 1.4rem; max-width: 540px; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-trust { margin-top: 2.6rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-trust .ht { display: flex; flex-direction: column; }
.hero-trust .ht b { font-family: var(--display); font-size: 1.9rem; color: var(--navy); font-weight: 600; }
.hero-trust .ht span { font-size: .85rem; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%); box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; background: #fff; border: 2px solid var(--blue); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .75rem; font-size: .9rem;
}
.hero-float .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-float .ico svg { width: 20px; height: 20px; }
.hero-float b { display: block; color: var(--ink); font-size: .95rem; }
.hero-float small { color: var(--muted); }
.hero-float.f1 { top: 8%; left: -12%; }
.hero-float.f2 { bottom: 9%; right: -10%; }
.hero-float.f3 { bottom: 38%; left: -14%; }

/* Gentle vertical bob — stays beside the photo, never drifts across it */
@keyframes cloudFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.hero-float {
  cursor: default;
  animation: cloudFloat 7s ease-in-out infinite;
  transition: transform .35s ease, box-shadow .35s ease;
}
.hero-float.f1 { animation-duration: 6.5s; animation-delay: 0s; }
.hero-float.f2 { animation-duration: 8s;   animation-delay: -2s; }
.hero-float.f3 { animation-duration: 7.5s; animation-delay: -4s; }
.hero-float:hover {
  animation-play-state: paused;
  transform: translateY(-14px) scale(1.07);
  box-shadow: var(--shadow-lg);
  z-index: 5;
}
@media (prefers-reduced-motion: reduce) {
  .hero-float { animation: none; }
}

/* ---------- Logo / trust strip ---------- */
.trustbar { position: relative; z-index: 3; margin-top: clamp(-4.5rem, -5vw, -2.5rem); }
.trustbar .container {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.6rem clamp(1.5rem, 3vw, 2.5rem);
}
.trustbar .tb-cell { display: flex; align-items: center; gap: .7rem; color: var(--navy-700); font-weight: 600; font-size: .95rem; }
.trustbar .tb-cell svg { width: 26px; height: 26px; color: var(--teal-600); flex: none; }

/* ---------- Photo slideshow ---------- */
.slideshow { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.slideshow .slides { position: relative; aspect-ratio: 16 / 7; background: var(--navy); }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slideshow .slide.active { opacity: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: none;
  border-radius: 50%; background: rgba(255,255,255,.85); color: var(--navy); font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow); transition: background .2s ease, transform .2s ease; z-index: 2;
}
.slide-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.slide-nav.prev { left: 16px; }
.slide-nav.next { right: 16px; }
.slide-pause {
  position: absolute; top: 16px; right: 16px; z-index: 2; border: none; border-radius: 999px;
  padding: .35rem .9rem; background: rgba(255,255,255,.85); color: var(--navy);
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; box-shadow: var(--shadow);
}
.slide-pause:hover { background: #fff; }
.slide-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; z-index: 2; }
.slide-dots button { width: 11px; height: 11px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: .25s ease; }
.slide-dots button.active { background: #fff; width: 28px; border-radius: 6px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.card.svc-card:hover { border-color: #fff; box-shadow: 0 10px 30px rgba(100, 100, 100, .35); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--sky); color: var(--blue);
}
.card .ico.teal { background: var(--mint); color: var(--teal-600); }
.card .ico svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; color: var(--body); }
.card .more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 600; font-size: .92rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Education cards (centered) ---------- */
.education .card { text-align: center; }
.education .card .ico { margin-left: auto; margin-right: auto; }
.education .card h3 { text-align: center; }
.education .card p { margin-top: .6rem; color: var(--body); }

/* ---------- Conditions chips ---------- */
.conditions { display: flex; flex-wrap: wrap; gap: .8rem; }
.condition {
  display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .7rem 1.2rem; font-weight: 600; color: var(--navy-700); font-size: .96rem;
  box-shadow: var(--shadow-sm); transition: .2s;
}
.condition:hover, .condition-action:hover { border-color: var(--teal); color: var(--teal-600); transform: translateY(-2px); }
.condition .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.condition-action {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-weight: 600;
  color: var(--navy-700);
  font-size: .96rem;
  box-shadow: var(--shadow-sm);
  transition: .2s;
  cursor: pointer;
}
.condition-action:focus-visible {
  outline: 3px solid rgba(22, 182, 166, .35);
  outline-offset: 2px;
}
.condition-tooltip { position: relative; }
.condition-tooltip .tooltip-copy {
  position: absolute;
  left: 50%;
  bottom: calc(100% + .75rem);
  transform: translateX(-50%) translateY(6px);
  width: min(280px, 100vw - 3rem);
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(16, 56, 95, .12);
  box-shadow: 0 18px 40px rgba(11, 42, 74, .14);
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 10;
}
.condition-tooltip .tooltip-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
}
.condition-tooltip:hover .tooltip-copy {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.condition-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 42, 74, .32);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}
.condition-panel-overlay.show {
  display: flex;
}
.condition-panel {
  background: #fff;
  border-radius: 28px;
  max-width: 640px;
  width: min(100%, 640px);
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(11, 42, 74, .16);
  position: relative;
}
.condition-panel .eyebrow {
  color: var(--teal-600);
  display: inline-flex;
  margin-bottom: 1rem;
}
.condition-panel h2 {
  margin-bottom: 1rem;
}
.condition-panel p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 1rem;
}
.condition-symptoms {
  display: grid;
  gap: .75rem;
  margin-top: .5rem;
}
.condition-symptoms-label {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.symptom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.symptom-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(29, 111, 184, .1);
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
}
.condition-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(29, 111, 184, .1);
  border: 1px solid rgba(29, 111, 184, .2);
  border-radius: 20px;
  padding: 1rem 1.2rem;
  margin-top: .75rem;
}
.condition-alert .alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.condition-alert p {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}
.condition-panel .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.condition-panel .close-btn:hover {
  background: var(--sky);
}

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4;
  background: linear-gradient(160deg, var(--blue), var(--teal));
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.portrait { aspect-ratio: 4/5; }

/* Hovering outer line */
.hover-frame {
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.hover-frame:hover {
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(100, 100, 100, .35);
  transform: translateY(-3px);
}
.checklist { margin-top: 1.6rem; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--teal-600); display: grid; place-items: center; flex: none; margin-top: 2px; }
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { color: var(--ink); }

/* ---------- Stats band ---------- */
.band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, var(--blue) 130%); color: #fff; position: relative; overflow: hidden;
}
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 80% 20%, rgba(22,182,166,.25), transparent 60%); }
.band .container { position: relative; }
.band h2 { color: #fff; }
.band .stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.band .stat b { display: block; font-family: var(--display); font-size: clamp(2.2rem,5vw,3.2rem); font-weight: 600; color: #fff; }
.band .stat span { color: #bcd6ee; font-size: .95rem; }

/* ---------- Doctor profile ---------- */
.doc-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem,4vw,2.6rem); }
.doc-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--navy), var(--blue)); box-shadow: var(--shadow); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-cred { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.doc-cred .pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; font-weight: 600; color: var(--navy-700); }
.timeline { margin-top: 1.4rem; display: grid; gap: 1rem; }
.timeline li { display: flex; gap: 1rem; }
.timeline .yr { font-weight: 700; color: var(--blue); font-size: .9rem; min-width: 70px; flex: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 2.4rem 1.5rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -22px; left: 1.5rem; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg,var(--blue),var(--teal)); color:#fff; display:grid; place-items:center; font-weight:700; font-size:1.15rem; box-shadow: 0 8px 18px rgba(29,111,184,.32); }
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testi { background: var(--cloud); }
.t-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; gap:1rem; }
.t-stars { color: var(--gold); display:flex; gap:2px; }
.t-stars svg { width:18px; height:18px; }
.t-card p { color: var(--ink); font-size: 1.02rem; }
.t-author { display:flex; align-items:center; gap:.8rem; margin-top:auto; }
.t-avatar { width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--teal)); color:#fff; display:grid; place-items:center; font-weight:700; flex:none; }
.t-author b { display:block; color:var(--ink); font-size:.95rem; }
.t-author small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width:100%; background:none; text-align:left; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.4rem 0; font-size:1.08rem; font-weight:600; color:var(--ink); }
.faq-q .pm { width:30px; height:30px; border-radius:50%; background:var(--sky); color:var(--blue); display:grid; place-items:center; flex:none; transition:.25s; }
.faq-q .pm svg { width:16px; height:16px; transition:transform .25s; }
.faq-item.open .pm { background: var(--blue); color:#fff; }
.faq-item.open .pm svg { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a p { padding-bottom:1.4rem; color:var(--body); }

/* ---------- Locations ---------- */
.loc-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:.25s; }
.loc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.loc-map { aspect-ratio: 16/10; background: var(--sky); position:relative; }
.loc-map iframe { width:100%; height:100%; border:0; filter: saturate(1.05); }
.loc-body { padding: 1.6rem; }
.loc-body h3 { margin-bottom:.6rem; }
.loc-meta { display:grid; gap:.6rem; margin:1rem 0; }
.loc-meta li { display:flex; gap:.7rem; align-items:flex-start; font-size:.95rem; }
.loc-meta svg { width:18px; height:18px; color:var(--teal-600); flex:none; margin-top:3px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 130%); color:#fff; border-radius: var(--radius-lg); padding: clamp(2.5rem,6vw,4rem); text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(40% 80% at 20% 20%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position:relative; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width:620px; margin: 1rem auto 2rem; font-size:1.1rem; }
.cta-band .hero-actions { justify-content:center; }

/* ---------- Appointment form ---------- */
.form-wrap { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,2.6rem); box-shadow: var(--shadow); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.field { display:flex; flex-direction:column; gap:.4rem; margin-bottom:1.1rem; }
.field label { font-size:.88rem; font-weight:600; color:var(--navy-700); }
.field input, .field select, .field textarea {
  font-family:inherit; font-size:1rem; padding:.85rem 1rem; border:1.5px solid var(--line); border-radius:12px; background:var(--cloud); color:var(--ink); transition:.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--blue-600); background:#fff; box-shadow:0 0 0 4px rgba(42,134,214,.12); }
.field textarea { resize:vertical; min-height:110px; }
.field.name-field input:hover { border-color:#fff; background:#fff; box-shadow:0 10px 30px rgba(100, 100, 100, .35); }
.form-note { font-size:.85rem; color:var(--muted); margin-top:.4rem; }
.form-success { display:none; background:var(--mint); border:1px solid #b9ece4; color:var(--teal-600); padding:1rem 1.2rem; border-radius:12px; font-weight:600; margin-bottom:1.2rem; }
.form-success.show { display:block; }

/* ---------- Animated underline link ---------- */
.link{position:relative;text-decoration:none}
.link::after{content:"";position:absolute;left:0;
  bottom:-3px;width:100%;height:2px;background:#4C5BFF;
  transform:scaleX(0);transform-origin:center;
  transition:transform .3s ease}
.link:hover::after{transform:scaleX(1)}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color:#aac4dc; padding-top: clamp(3rem,6vw,4.5rem); }
.footer a { color:#aac4dc; }
.footer a:hover { color:#fff; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer .brand-text strong { color:#fff; }
.footer .brand-text span { color:#7fa3c4; }
.footer h4 { color:#fff; font-size:.95rem; letter-spacing:.04em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer ul { display:grid; gap:.7rem; font-size:.95rem; }
.foot-contact li { display:flex; gap:.6rem; align-items:flex-start; }
.foot-contact svg { width:17px; height:17px; color:var(--teal); flex:none; margin-top:3px; }
.foot-about p { font-size:.95rem; margin:1rem 0; }
.socials { display:flex; gap:.7rem; }
.socials a { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.08); display:grid; place-items:center; transition:.2s; }
.socials a:hover { background:var(--teal); }
.socials svg { width:18px; height:18px; color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding:1.6rem 0; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.85rem; color:#7fa3c4; }
.footer-bottom .disc { max-width: 640px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--sky), #fff); border-bottom:1px solid var(--line); padding: clamp(2.5rem,5vw,4rem) 0; }
.crumbs { font-size:.85rem; color:var(--muted); margin-bottom:.8rem; }
.crumbs a { color:var(--blue); }
.page-hero h1 { color:var(--navy); }
.page-hero p { margin-top:1rem; max-width:640px; color:var(--body); font-size:1.1rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:1; transform:none; transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }
[data-delay="1"]{ transition-delay:.08s; }
[data-delay="2"]{ transition-delay:.16s; }
[data-delay="3"]{ transition-delay:.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline:auto; order:-1; }
  .hero-float.f3 { display:none; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .band .stats { grid-template-columns: repeat(2,1fr); }
  .split, .doc-card { grid-template-columns: 1fr; }
  .doc-photo { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-text { display: none; }
  .nav-toggle { display: grid; }
  .nav-links.open {
    display:flex; flex-direction:column; align-items:stretch; gap:.2rem;
    position:absolute; top:76px; left:0; right:0; background:#fff; padding:1rem;
    border-bottom:1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open a { padding:.9rem 1rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-group.secondary { display:none; }
  .hero-float { transform: scale(.9); }
  .hero-float.f1 { left:0; }
  .hero-float.f2 { right:0; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps, .band .stats { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; }
  .reveal { opacity:1; transform:none; transition:none; }
}

/* Patient journey: concise hero, visible actions, static clinic photography. */
:root { scroll-padding-top: 160px; }
[id] { scroll-margin-top: 160px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.hero { padding: 0; }
.hero .container { padding-block: clamp(2rem, 5vw, 4rem); }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; min-width: 0; }
.hero-photo { grid-column: 1 / -1; }
.hero-float { position: static; animation: none; transform: none; padding: .8rem; border: 1px solid var(--line); font-size: .8rem; box-shadow: var(--shadow-sm); }
.hero-float:hover { transform: none; }
.hero-float b { font-size: .85rem; }
.hero-float .ico { width: 30px; height: 30px; }
.header-appointment { padding: .8rem 1rem; font-size: .88rem; }
.nav-links a { padding-inline: .55rem; font-size: .9rem; }
.clinic-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.clinic-gallery figure { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cloud); }
.clinic-gallery img { width: 100%; height: 240px; object-fit: cover; }
.clinic-gallery figcaption { padding: 1rem; color: var(--navy); font-weight: 600; }
.patient-info h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.scheduling-card p { margin-block: 1rem; }
.scheduling-next { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.5rem; }
.appointment-checklist { list-style: disc; padding-left: 1.3rem; margin-top: 1rem; }
.appointment-checklist li + li { margin-top: .6rem; }
@media (max-width: 1120px) {
  .nav { flex-wrap: wrap; padding-block: .75rem; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
}
@media (max-width: 980px) {
  .hero-visual { order: initial; width: 100%; max-width: 460px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: center 25%; }
}
@media (max-width: 760px) {
  .nav { position: relative; gap: .75rem; }
  .nav .brand { flex: 1; min-width: 0; }
  .brand-text span { font-size: .63rem; letter-spacing: .04em; }
  .nav-cta { display: contents; }
  .nav-toggle { display: grid; }
  .header-appointment { order: 3; width: 100%; padding: .6rem 1rem; }
  .nav-links.open { top: 100%; max-height: 65vh; overflow-y: auto; }
  .hero .container { padding-block: 1.75rem 2.5rem; gap: 2rem; }
  .hero-badge { font-size: .75rem; padding-inline: .7rem; margin-bottom: 1rem; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .hero p.lede { font-size: 1rem; margin-top: 1rem; }
  .hero-actions { margin-top: 1.25rem; gap: .65rem; }
  .hero-actions .btn { width: 100%; padding: .85rem 1rem; font-size: 1rem; white-space: normal; }
  .hero-float { transform: none; }
  .hero-float .ico { display: none; }
  .clinic-gallery { grid-template-columns: 1fr; }
  .clinic-gallery img { height: auto; aspect-ratio: 4 / 3; }
  .scheduling-card .btn { width: 100%; font-size: 1rem; padding-inline: .75rem; white-space: normal; }
}

/* Physician-authored content stays readable on large and small screens. */
.physician-quote { border-left: 4px solid var(--teal); background: var(--cloud); border-radius: 0 var(--radius) var(--radius) 0; padding: clamp(1.5rem,4vw,3rem); max-width: 850px; }
.physician-quote p { font-family: var(--display); font-size: clamp(1.2rem,2.4vw,1.65rem); color: var(--navy); line-height: 1.6; }
.physician-quote footer { margin-top: 1rem; font-weight: 600; }
.physician-story { max-width: 820px; }
.physician-voice .physician-story { margin-top: 3rem; }
.physician-story p { margin-top: 1.25rem; }
.hero-float small { display: block; line-height: 1.45; }

/* ---------- HIPAA Notice of Privacy Practices ---------- */
.visually-hidden { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
/* The site-wide blue focus ring is too faint on the navy footer. */
.footer a:focus-visible { outline-color:#fff; }
.page-hero .npp-practice { font-size:1.2rem; font-weight:700; color:var(--navy); }
.page-hero .npp-effective-top { margin-top:.35rem; font-weight:600; color:var(--navy); }
.npp-meta { margin-top:1rem; font-style:normal; color:var(--body); }
.npp-article { max-width:820px; }
.npp-article a:not(.btn) { text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.npp-article h2 { font-size:clamp(1.4rem, 2.6vw, 1.75rem); color:var(--navy); margin-top:2.75rem; }
.npp-article h3 { font-size:1.15rem; color:var(--navy); margin-top:2rem; }
.npp-article p, .npp-article address, .npp-article ul { margin-top:1rem; }
.npp-notice-box { border:2px solid var(--navy); border-left-width:6px; border-radius:var(--radius-sm); background:var(--sky); padding:1.25rem 1.5rem; }
.npp-notice-box p { margin:0; color:var(--navy); font-weight:700; letter-spacing:.01em; }
.npp-toc { margin-top:2rem; padding:1.25rem 1.5rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--cloud); }
.npp-toc-title { font-weight:700; color:var(--navy); }
.npp-article .npp-toc-title { margin-top:0; }
.npp-toc ol { list-style:none; display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:.45rem 1.5rem; margin-top:.75rem; font-size:.95rem; }
.npp-list { list-style:disc; padding-left:1.4rem; }
.npp-list li + li { margin-top:.55rem; }
.npp-list strong, .npp-agencies strong, .npp-address strong { color:var(--ink); }
.npp-address { font-style:normal; padding:1rem 1.25rem; border:1px solid var(--line); border-left:4px solid var(--teal); border-radius:var(--radius-sm); background:var(--cloud); }
.npp-agencies { display:grid; gap:1rem; }
.npp-agencies li { padding:1rem 1.25rem; border:1px solid var(--line); border-radius:var(--radius-sm); }
.npp-divider { border:0; border-top:1px solid var(--line); margin-top:3rem; }
.npp-effective { font-weight:700; color:var(--navy); }
.npp-back { margin-top:3rem; }
@media (max-width: 480px) {
  .npp-notice-box, .npp-toc, .npp-address, .npp-agencies li { padding:1rem; }
}
@media print {
  .npp-page .topbar, .npp-page .header, .npp-page .footer, .npp-page .crumbs, .npp-toc, .npp-back { display:none !important; }
  .npp-page { font-size:11pt; line-height:1.45; color:#000; background:#fff; }
  .npp-page section { padding:0; }
  .npp-page .page-hero { background:none; border:0; padding:0 0 1rem; }
  .npp-page .container { max-width:none; padding:0; }
  .npp-page h1, .npp-page h2, .npp-page h3, .npp-page p, .npp-page li, .npp-page address, .npp-page strong { color:#000; }
  .npp-page h1 { font-size:20pt; }
  .npp-article { max-width:none; }
  .npp-article h2 { font-size:14pt; margin-top:1.5rem; break-after:avoid; page-break-after:avoid; }
  .npp-article h3 { font-size:12pt; margin-top:1rem; break-after:avoid; page-break-after:avoid; }
  .npp-page a { color:#000; }
  .npp-notice-box, .npp-address, .npp-agencies li { background:none; border-color:#000; break-inside:avoid; page-break-inside:avoid; }
  .npp-list li, .npp-section:last-of-type { break-inside:avoid; page-break-inside:avoid; }
}
