/* ============================================================
   CareDoc Medical Centre — Directory Board design system
   ============================================================ */

:root {
  --ink: #0B3D5C;
  --ink-soft: #134A6E;
  --paper: #F2F8FC;
  --paper-raised: #FFFFFF;
  --slate: #51697D;
  --slate-light: #93A8B8;
  --line: #DCE7EE;
  /* Accent — was warm orange (#E0523A / #C43F2C), now professional blue.
     Variable names kept as --amber for drop-in compatibility with the
     rest of the stylesheet; only the values changed. */
  --amber: #2C7BE5;
  --amber-deep: #154C8C;
  --teal: #0E72B4;
  --teal-deep: #07466F;
  --coral: #C99A3C;
  --sage: #4C8B5B;

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --radius-s: 4px;
  --radius-m: 10px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- scroll reveal ----------
   Removed: this caused content to go invisible whenever script.js
   failed to load or run on the live server. Cards/sections are now
   always visible by default; .reveal is kept as a harmless marker
   class in the HTML in case animation is reintroduced later. */

/* ---------- ambient glow orbs ---------- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.35;
  animation: orb-drift 14s ease-in-out infinite;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -14px) scale(1.08); }
}

/* ---------- stat counters ---------- */
.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num .stat-suffix { font-size: 1.2rem; color: var(--amber); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: 4px;
}

/* ---------- animated hero illustration ---------- */
.hero-illustration .ring { animation: ring-pulse 5s ease-in-out infinite; transform-origin: center; }
.hero-illustration .ring:nth-child(2) { animation-delay: 0.4s; }
.hero-illustration .ring:nth-child(3) { animation-delay: 0.8s; }
.hero-illustration .ring:nth-child(4) { animation-delay: 1.2s; }
@keyframes ring-pulse {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.55; }
}
.hero-illustration .pulse-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-pulse 3.4s ease-in-out infinite;
}
@keyframes draw-pulse {
  0% { stroke-dashoffset: 900; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -900; }
}
.hero-illustration .node-dot { animation: node-glow 2.6s ease-in-out infinite; transform-origin: center; }
.hero-illustration .node-dot:nth-of-type(2) { animation-delay: 0.3s; }
.hero-illustration .node-dot:nth-of-type(3) { animation-delay: 0.6s; }
.hero-illustration .node-dot:nth-of-type(4) { animation-delay: 0.9s; }
.hero-illustration .node-dot:nth-of-type(5) { animation-delay: 1.2s; }
@keyframes node-glow {
  0%, 100% { opacity: 0.7; r: 4; }
  50% { opacity: 1; r: 5.5; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--slate); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover { background: var(--amber-deep); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  display: inline-flex;
}
.btn-whatsapp:hover { background: #1EBE5A; }

/* ---------- utility bar ---------- */
.utility-bar { background: var(--ink); color: #fff; }
.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 28px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
}
.utility-items { display: flex; gap: 26px; }
.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.82);
}
.utility-item svg { width: 13px; height: 13px; }
.utility-item:hover { color: var(--amber); }
.utility-cta { color: var(--amber); font-weight: 600; }
@media (max-width: 700px) {
  .utility-items { display: none; }
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--amber); }
.logo .logo-word { display: inline-flex; }
.logo .logo-accent { color: var(--amber); }
.logo-img { height: 42px; width: auto; display: block; }
.logo-chip {
  background: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}
.logo-chip .logo-img { height: 34px; }
.logo small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--slate-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--amber); }

.nav-links a.nav-book-link {
  color: var(--amber);
  font-weight: 700;
}
.nav-links a.nav-book-link:hover { color: var(--amber-deep); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s ease;
}

@media (max-width: 860px) {
  .nav-links { 
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { display: block; padding: 16px 28px; color: #E7ECEA; }
  .nav-links a.active, .nav-links a:hover { color: var(--amber); }
  .nav-links a.nav-book-link { color: var(--amber); }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- hero ---------- */
/* ---------- about page photo banner ---------- */
.about-banner {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  position: relative;
}
.about-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,61,92,0.08) 0%, transparent 30%, rgba(11,61,92,0.12) 100%);
}
@media (max-width: 640px) {
  .about-banner { max-height: 200px; }
}

.hero {
  background: var(--paper-raised);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,61,92,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,61,92,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at top right, black 10%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-illustration svg { width: 100%; height: 100%; display: block; }

.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--amber); font-style: normal; }

.brand-mark { position: relative; display: inline-flex; align-items: center; }
.brand-care {
  position: relative;
  color: #171717;
  font-weight: 500;
  text-transform: lowercase;
  padding: 0 0.06em;
}
.brand-care::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 46%;
  height: 26%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'><polyline points='0,20 24,20 32,4 40,36 48,20 120,20' fill='none' stroke='%23e2233d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.brand-doc {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.1em 0.36em 0.12em;
  margin-left: 0.14em;
  font-size: 0.8em;
  letter-spacing: 0.01em;
  line-height: 1;
  top: -0.02em;
}
.brand-cross {
  position: absolute;
  top: -0.34em;
  left: -0.24em;
  width: 0.62em;
  height: 0.62em;
  background: var(--teal-deep);
  border: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
}
.brand-cross::before, .brand-cross::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
}
.brand-cross::before { width: 58%; height: 14%; top: 43%; left: 21%; }
.brand-cross::after { width: 14%; height: 58%; left: 43%; top: 21%; }
.hero p.lead { color: var(--slate); font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* hero variant: real photo background with dark overlay */
.hero.hero-photo {
  background:
    linear-gradient(180deg, rgba(11,61,92,0.90) 0%, rgba(11,61,92,0.74) 45%, rgba(11,61,92,0.92) 100%),
    url('assets/doctor-medicine.jpg') center 25% / cover no-repeat;
}
.hero.hero-photo::before { display: none; }
.hero.hero-photo .eyebrow { color: #BFE0F2; }
.hero.hero-photo h1 { color: #fff; }
.hero.hero-photo p.lead { color: rgba(255,255,255,0.85); }
.hero.hero-photo .btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.hero.hero-photo .btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.hero.hero-photo .stat-num { color: #fff; }
.hero.hero-photo .stat-label { color: rgba(255,255,255,0.65); }
.hero.hero-photo .brand-care { color: #fff; }

/* directory-board signature panel */
.hero-photo-frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -22px rgba(11,61,92,0.3);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.board {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-m);
  padding: 26px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 0 rgba(14,114,180,0);
  animation: board-glow 5s ease-in-out infinite;
}
@keyframes board-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 24px 0 rgba(14,114,180,0.12); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 38px 4px rgba(224,82,58,0.16); }
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.18);
}
.board-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.95rem;
}
.board-row:last-child { border-bottom: none; }
.board-num {
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 0.85rem;
  width: 28px;
  flex-shrink: 0;
}
.board-name { color: #fff; font-weight: 600; flex: 1; }
.board-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink p { color: #B9C4CC; }
.section-ink h2 { color: #fff; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head p { max-width: 52ch; margin: 0; }

/* ---------- value props ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.value-card {
  background: var(--paper-raised);
  padding: 32px 28px;
}
.value-card .icon { width: 30px; height: 30px; color: var(--teal); margin-bottom: 18px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 0.95rem; }

@media (max-width: 760px) {
  .value-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- directory preview / plaque cards ---------- */
.plaque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.plaque {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 24px;
  position: relative;
  border-left: 3px solid var(--teal);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.plaque:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(22,38,58,0.35); }
.plaque.cat-specialist { border-left-color: var(--coral); }
.plaque.cat-wellness { border-left-color: var(--sage); }

.plaque-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.plaque-suite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--slate-light);
}
.plaque-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.plaque-icon svg { width: 19px; height: 19px; }
.plaque h3 { margin-bottom: 6px; font-size: 1.08rem; }
.plaque p { font-size: 0.92rem; margin-bottom: 14px; }

.plaque-services { margin-bottom: 16px; }
.plaque-services summary {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  user-select: none;
}
.plaque-services summary::-webkit-details-marker { display: none; }
.plaque-services summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 0.9rem;
  width: 16px; height: 16px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.plaque-services[open] summary::before { content: "\2212"; }
.plaque-services ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.plaque-services li {
  font-size: 0.85rem;
  color: var(--slate);
  padding-left: 17px;
  position: relative;
}
.plaque-services li::before {
  content: "";
  position: absolute;
  left: 1px; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.cat-specialist .plaque-services summary,
.cat-specialist .plaque-services summary::before { color: var(--coral); border-color: var(--coral); }
.cat-specialist .plaque-services li::before { background: var(--coral); }
.cat-wellness .plaque-services summary,
.cat-wellness .plaque-services summary::before { color: var(--sage); border-color: var(--sage); }
.cat-wellness .plaque-services li::before { background: var(--sage); }

/* ---------- accreditation logos row ---------- */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.logo-slide {
  flex: 0 0 auto;
  width: 170px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.logo-slide img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- icon list (services) ---------- */
.icon-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.icon-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--slate);
}
.icon-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--teal);
}

/* ---------- pull quote ---------- */
.pull-quote {
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 22px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 62ch;
}

.plaque-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem;
}
.category-pill {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: var(--teal-deep);
}
.cat-specialist .category-pill { color: var(--coral); }
.cat-wellness .category-pill { color: var(--sage); }

.plaque-link {
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plaque-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.plaque:hover .plaque-link svg { transform: translateX(3px); }

/* ---------- directory category headers (practitioners page) ---------- */
.cat-block { margin-bottom: 64px; }
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.cat-head .cat-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber-deep);
}
.cat-head h2 { margin: 0; }
.cat-head .cat-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate-light);
}

/* ---------- placeholder media block ---------- */
.media-block {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  background:
    repeating-linear-gradient(135deg, rgba(22,38,58,0.05) 0 2px, transparent 2px 14px),
    var(--paper);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 20px;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 40px 44px;
}
.cta-strip h2 { color: #fff; margin: 0 0 6px; font-size: 1.7rem; }
.cta-strip p { color: rgba(255,255,255,0.82); margin: 0; }
.cta-strip-booking { flex-direction: column; align-items: stretch; }
.cta-strip-booking > div:first-child { max-width: none; }

.doctor-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.doctor-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-s);
  transition: transform 0.15s ease;
}
.doctor-pick:hover { transform: translateY(-2px); }
.doctor-pick img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255,255,255,0.5);
}
.doctor-pick .no-pref-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 2.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.doctor-pick span:last-child {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.doctor-pick.selected img,
.doctor-pick.selected .no-pref-circle { border-color: var(--amber); }
.doctor-pick.selected span:last-child { color: #fff; font-weight: 700; }

.appointment-form-fields { margin-top: 22px; }
.selected-doctor-line {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 10px;
}
.selected-doctor-line strong { color: var(--amber); }

.doctor-select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  cursor: pointer;
}
.doctor-select::placeholder { color: var(--slate); opacity: 1; }
.doctor-select option { color: var(--ink); }

/* ---------- visit-us photo banner ---------- */
.visit-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.visit-banner img {
  width: 100%;
  height: clamp(260px, 38vw, 460px);
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.visit-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,61,92,0.92) 0%, rgba(11,61,92,0.55) 38%, rgba(11,61,92,0.05) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px 36px;
  color: #fff;
}
.visit-banner-overlay .eyebrow { color: #BFE0F2; }
.visit-banner-overlay .eyebrow::before { background: var(--amber); }
.visit-banner-overlay h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.visit-banner-overlay p.sub { color: rgba(255,255,255,0.85); max-width: 50ch; margin-bottom: 20px; }
@media (min-width: 700px) {
  .visit-banner-overlay { padding: 44px 56px; }
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list .icon { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.info-list strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 2px; }
.info-list span, .info-list p { color: var(--slate); font-size: 0.92rem; margin: 0; }

.map-frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 28px;
}
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }
.map-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate-light);
  margin-top: 10px;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper-raised);
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: -6px;
}
#form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
#form-status.show { display: block; }
#appointment-status {
  font-weight: 600;
  display: none;
}
#appointment-status.show { display: block; }

/* ---------- services ticker ---------- */
.ticker-strip {
  background: var(--ink-soft);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 46s linear infinite;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #C9D3D9;
  white-space: nowrap;
}
.ticker-item .num { color: #4FA8E0; font-weight: 500; display: inline-flex; align-items: center; }
.ticker-dot {
  color: var(--slate-light);
  padding: 0 26px;
  font-size: 0.7rem;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- doctor cards ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.doctor-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  display: flex;
  overflow: hidden;
  min-height: 160px;
  box-shadow: 0 1px 2px rgba(11,61,92,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.doctor-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(11,61,92,0.35); }

.card-photo {
  width: 38%;
  flex-shrink: 0;
  position: relative;
  background: var(--ink);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.card-photo .initials-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--amber);
  background: var(--ink);
}

.card-body {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.card-mark {
  height: 18px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.card-divider {
  height: 2px;
  width: 22px;
  background: var(--amber);
  margin: 7px 0 9px;
  flex-shrink: 0;
}
.card-body h3 { margin-bottom: 2px; font-size: 1rem; line-height: 1.2; }
.doctor-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal-deep);
  display: block;
  margin-bottom: auto;
  padding-bottom: 10px;
}
.qual-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.qual-tags span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px 8px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.practice-info {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.5;
  color: var(--slate-light);
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
@media (max-width: 480px) {
  .doctor-card { flex-direction: column; min-height: 0; }
  .card-photo { width: 100%; height: 240px; }
}

.glossary {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 28px;
}
.glossary dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; }
.glossary dt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-deep);
  white-space: nowrap;
}
.glossary dd { margin: 0; font-size: 0.88rem; color: var(--slate); }

/* ---------- hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-family: var(--font-mono); color: var(--ink); }
.hours-table td:first-child { color: var(--slate); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #B9C4CC;
  padding: 64px 0 28px;
}
.site-footer .logo { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--slate-light);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .hero-grid { gap: 36px; }
  .section { padding: 60px 0; }
}
