:root {
  --medical-navy: #0f172a;
  --medical-navy-mid: #1e293b;
  --medical-blue: #1a73e8;
  --medical-blue-dark: #1557b0;
  --medical-blue-light: #e8f1fc;
  --accent: #3b82f6;
  --slate: #334155;
  --muted: #64748b;
  --surface: #ffffff;
  --bg: #f0f4f9;
  --border: #e2e8f0;
  --radius-pill: 999px;
  --radius-lg: 12px;
  --font: "DM Sans", "Source Sans 3", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--medical-navy);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--medical-blue);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-lg);
  z-index: 200;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Utility bar */
.utility-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  padding: 0.45rem 0;
}

.utility-item a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.utility-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.utility-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px) {
  .utility-divider {
    display: none;
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--medical-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--medical-navy);
}

.brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-tagline strong {
  color: var(--medical-blue);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate);
}

.nav a:hover {
  color: var(--medical-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--medical-navy);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--medical-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 90, 156, 0.35);
}

.btn-primary:hover {
  background: var(--medical-blue-dark);
}

.btn-blue {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 119, 200, 0.35);
}

.btn-blue:hover {
  background: var(--medical-blue);
}

.btn-outline {
  background: #fff;
  color: var(--medical-blue);
  border: 2px solid var(--medical-blue);
}

.btn-outline:hover {
  background: var(--medical-blue-light);
}

.btn-ghost {
  background: #fff;
  color: var(--medical-navy);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--medical-blue);
  color: var(--medical-blue);
}

.btn-search {
  background: var(--medical-navy);
  color: #fff;
  padding-inline: 1.25rem;
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--medical-navy-mid);
}

.btn-arrow {
  margin-top: 1rem;
}

.btn-compact {
  padding: 0.55rem 1rem;
  white-space: nowrap;
}

.text-link {
  font-weight: 600;
  color: var(--medical-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--medical-blue-dark);
}

/* Hero */
.hero {
  position: relative;
  padding-bottom: 0;
  overflow: hidden;
  background: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #0f172a 0%, #1a73e8 55%, #60a5fa 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 2rem;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0.35rem 0 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bff3f8;
  margin: 0;
}

.lead {
  color: #e4f5f7;
  font-size: 1.0625rem;
  margin: 0 0 1.25rem;
  max-width: 42ch;
}

.hero-search {
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.search-label {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.search-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-search input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.hero-search input[type="search"]:focus {
  outline: 2px solid var(--medical-blue);
  outline-offset: 2px;
  border-color: var(--medical-blue);
}

.search-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.search-suggestions {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  max-height: 220px;
  overflow-y: auto;
}

.search-suggestions[hidden] {
  display: none !important;
}

.search-suggestions li {
  border-bottom: 1px solid var(--border);
}

.search-suggestions li:last-child {
  border-bottom: 0;
}

.search-suggestions button {
  width: 100%;
  text-align: left;
  padding: 0.65rem 1rem;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  color: var(--medical-navy);
}

.search-suggestions button:hover,
.search-suggestions button:focus {
  background: var(--medical-blue-light);
  outline: none;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.hero-card--primary {
  border-left: 4px solid var(--medical-blue);
}

.hero-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.hero-card p {
  margin: 0 0 0.75rem;
  color: var(--slate);
  font-size: 0.98rem;
}

.hero-card--muted {
  background: var(--medical-navy);
  color: #e8f0f7;
  border-color: var(--medical-navy);
}

.hero-card--muted .hero-card-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero-stat {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin-top: 0.15rem;
}

.feature-bar {
  position: relative;
  z-index: 1;
  background: var(--medical-navy);
  color: #e8f0f7;
  padding: 0.9rem 0;
  margin-top: 0;
}

.feature-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-bar .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}

/* AI-powered section */
.section--ai {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.section-head--center {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-lead--center {
  margin-inline: auto;
  max-width: 42ch;
}

.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ai-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.ai-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(18, 54, 63, 0.12);
  border-color: rgba(34, 184, 199, 0.45);
}

.ai-feature-icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.ai-feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--medical-navy);
}

.ai-feature-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.45;
}

/* Doctor profile */
.section--doctor {
  background: #fff;
  border-top: 1px solid var(--border);
}

.doctor-profile {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.doctor-profile-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  background: var(--bg);
}

.doctor-profile-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.eyebrow--dark {
  color: var(--medical-blue-dark);
}

.doctor-profile-name {
  margin: 0.35rem 0 0.25rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  color: var(--medical-navy);
}

.doctor-profile-spec {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--medical-blue-dark);
}

.doctor-profile-bio {
  margin: 0 0 1.25rem;
  color: var(--slate);
  font-size: 1.0625rem;
  max-width: 48ch;
}

.doctor-profile-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.doctor-profile-stats li {
  font-size: 0.95rem;
  color: var(--slate);
}

.doctor-profile-stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--medical-navy);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--medical-navy);
}

.section-lead {
  margin: 0 0 1.75rem;
  color: var(--slate);
  max-width: 52ch;
  font-size: 1.0625rem;
}

.section--locations {
  background: #fff;
  border-top: 1px solid var(--border);
}

.section--services {
  background: var(--bg);
}

.section--why {
  background: #fff;
}

.section--how {
  background: linear-gradient(130deg, #1f4e57 0%, #26bac9 100%);
  color: #f2fbfc;
}

.section--how h2,
.section--how .how-step-title {
  color: #fff;
}

.how-intro {
  text-align: center;
  max-width: 54ch;
  margin: 0 auto 2.5rem;
}

.how-intro-lead {
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
  color: #daf0f3;
}

.how-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
}

.how-step {
  flex: 1 1 160px;
  max-width: 220px;
  text-align: center;
  padding: 1.35rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.how-step:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

.how-step-icon {
  font-size: 1.65rem;
  display: block;
  margin-bottom: 0.35rem;
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: var(--radius-pill);
  background: var(--medical-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.how-step-title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}

.how-step-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #daf0f3;
}

.how-connector {
  align-self: center;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  flex-shrink: 0;
}

.how-footnote {
  text-align: center;
  margin: 1.75rem auto 0;
  max-width: 46ch;
  font-size: 0.875rem;
  color: rgba(230, 247, 249, 0.85);
}

.how-cta {
  text-align: center;
  margin-top: 1.75rem;
}

.section--reviews {
  background: #fff;
}

.section--book {
  background: var(--medical-navy);
  color: #e2e8f0;
}

.section--book h2 {
  color: #fff;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.location-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.location-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  color: var(--medical-navy);
}

.location-meta {
  font-weight: 600;
  color: var(--medical-blue);
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.location-card p:last-of-type {
  margin: 0 0 1rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.service-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--medical-navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
}

.service-tile:hover {
  border-color: var(--medical-blue);
  box-shadow: var(--shadow-card);
}

.service-icon {
  color: var(--medical-blue);
  font-size: 0.75rem;
  line-height: 1.6;
  flex-shrink: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose {
  color: var(--slate);
  margin: 0 0 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--slate);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  background: var(--medical-blue);
}

.why-visual {
  display: flex;
  justify-content: center;
}

.why-panel {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--accent);
}

.why-quote {
  margin: 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--medical-navy);
  line-height: 1.5;
}

.why-cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-lg);
  background: var(--medical-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.flow-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 100px;
}

.flow-node--highlight {
  background: var(--medical-blue-light);
  border-color: var(--medical-blue);
  color: var(--medical-blue-dark);
}

.flow-icon {
  font-size: 1rem;
  color: var(--medical-blue);
}

.flow-arrow {
  color: var(--muted);
  font-weight: 700;
}

.flow-caption {
  text-align: center;
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.centered {
  text-align: center;
  margin-bottom: 0.75rem;
}

.reviews-header {
  margin-bottom: 2rem;
}

.reviews-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.reviews-stars {
  color: #f5b000;
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.reviews-count {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--medical-blue-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.review-card {
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(18, 54, 63, 0.1);
}

.review-card-stars {
  display: block;
  margin-bottom: 0.65rem;
  color: #f5b000;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.review-card p {
  margin: 0 0 1rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.review-card cite {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--medical-navy);
}

.book-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.book-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.book-form input,
.book-form select {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  min-width: 160px;
}

.book-form input::placeholder {
  color: #94a3b8;
}

.book-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.book-success-wrap {
  flex-basis: 100%;
  margin-top: 1rem;
}

.book-success-card {
  max-width: 420px;
  margin-left: auto;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  animation: success-pop 0.45s ease forwards;
}

.book-success-card--modal {
  margin: 0.5rem 0 0;
  max-width: none;
  background: var(--medical-blue-light);
  border-color: rgba(34, 184, 199, 0.35);
  color: var(--medical-navy);
}

.booking-success-wrap {
  grid-column: 1 / -1;
}

.book-success-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.35rem;
}

.book-success-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.book-success-card--modal .book-success-title {
  color: var(--medical-navy);
}

.book-success-detail {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  color: rgba(226, 232, 240, 0.95);
  line-height: 1.45;
}

.book-success-card--modal .book-success-detail {
  color: var(--slate);
}

.book-success-follow {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(186, 230, 253, 0.95);
}

.book-inline-error {
  flex-basis: 100%;
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-lg);
  background: rgba(254, 226, 226, 0.15);
  border: 1px solid rgba(252, 165, 165, 0.45);
  color: #fecaca;
  font-size: 0.875rem;
}

.book-success-card--modal .book-success-follow {
  color: var(--muted);
}

.book-success-card--modal.book-success-card--error {
  background: #fef2f2;
  border-color: rgba(248, 113, 113, 0.45);
}

.book-success-card--modal.book-success-card--error .book-success-title {
  color: #991b1b;
}

.book-success-card--modal.book-success-card--error .book-success-detail {
  color: #7f1d1d;
}

.book-success-card--modal.book-success-card--error .book-success-follow {
  display: none;
}

@keyframes success-pop {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.book-success {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: #93c5e8;
}

.muted {
  color: var(--muted);
}

.section--book .muted {
  color: #94a3b8;
}

.small {
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 0;
  background: #070d16;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  min-width: 0;
}

.brand--footer .brand-name {
  color: #fff;
}

.brand--footer .brand-tagline {
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
}

.footer-disclaimer {
  margin: 1rem 0 0;
  max-width: 36rem;
  line-height: 1.5;
  font-size: 0.8125rem;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-link-btn {
  color: #c5d4e0;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: #fff;
}

.footer-bottom {
  padding: 1rem 0 1.5rem;
  font-size: 0.8125rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-powered {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.5);
  z-index: 120;
}

.booking-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 1.5rem));
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(10, 22, 40, 0.35);
  z-index: 130;
}

.booking-modal[hidden],
.modal-backdrop[hidden] {
  display: none !important;
}

.booking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.booking-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.modal-close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--medical-navy);
}

.booking-modal-form {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.booking-modal-form input {
  color: var(--medical-navy);
  background: #fff;
  border: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 900px) {
  .ai-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-profile-copy .doctor-profile-bio {
    margin-inline: auto;
  }

  .doctor-profile-stats {
    justify-content: center;
  }

  .how-connector {
    display: none;
  }

  .how-flow {
    gap: 0.75rem;
  }

  .how-step {
    max-width: none;
  }

  .hero-grid,
  .split,
  .reviews-grid,
  .location-grid,
  .services-grid,
  .doctor-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 82vw);
    height: 100vh;
    background: linear-gradient(180deg, #112f37 0%, #153f48 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
    padding: 4.5rem 1.2rem 1.2rem;
    z-index: 70;
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .header-actions {
    display: none;
    width: min(320px, 82vw);
    flex-direction: column;
    position: fixed;
    left: 0;
    bottom: 1rem;
    z-index: 71;
    padding: 0 1.2rem;
  }

  .site-header.nav-open .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .feature-bar-inner span:not(.divider) {
    flex: 1 1 auto;
    text-align: center;
  }

  .feature-bar .divider {
    display: none;
  }

  .book-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .book-form {
    flex-direction: column;
  }

  .book-form input,
  .book-form select,
  .book-form .btn {
    width: 100%;
  }

  .timetable-row {
    grid-template-columns: 1fr;
  }
}

/* Dynamic: scroll reveal */
.reveal {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal:not(.reveal--visible) {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.reveal--visible {
  opacity: 1;
  transform: none;
}

/* Utility ticker (site.json) */
.utility-ticker {
  transition: opacity 0.22s ease;
  min-height: 1.35em;
}

.utility-ticker--fade {
  opacity: 0.35;
}

@media (max-width: 540px) {
  .ai-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Demo enhancements: nav, about, services grid, contact, booking ---- */
.site-header .nav-toggle span {
  background: #e8f4f7;
}

.section-head--left-desktop {
  text-align: center;
}

@media (min-width: 900px) {
  .section-head--left-desktop {
    text-align: left;
  }
}

.doctor-profile--card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.doctor-profile-photo-wrap--elevated {
  box-shadow: 0 16px 48px rgba(18, 54, 63, 0.12);
}

.doctor-profile-stats--chips li {
  background: var(--medical-blue-light);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 184, 199, 0.25);
}

.doctor-profile-cta {
  margin-top: 0.5rem;
}

.services-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.service-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(18, 54, 63, 0.11);
  border-color: rgba(34, 184, 199, 0.4);
}

.service-demo-icon {
  font-size: 2rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.service-demo-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--medical-navy);
}

.service-demo-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.45;
}

.services-demo-note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
}

.section--clinic-location {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.clinic-location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.clinic-location-intro {
  margin-bottom: 1.75rem;
}

.clinic-location-title {
  margin-bottom: 0.5rem;
}

.clinic-location-lead {
  margin-bottom: 0;
  max-width: 52ch;
}

.clinic-location-lead strong {
  color: var(--medical-navy);
  font-weight: 700;
}

.clinic-location-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  max-width: 28rem;
}

.clinic-location-panel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.clinic-location-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--medical-navy);
}

.clinic-location-address {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.5;
}

.clinic-location-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 40ch;
}

.clinic-map-preview-block {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  max-width: 272px;
}

.clinic-map-preview-frame {
  position: relative;
  width: 100%;
  max-width: 272px;
  height: 152px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--bg);
}

.clinic-map-preview-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.btn-directions {
  align-self: flex-start;
  margin-top: 0.15rem;
  padding-inline: 1.35rem;
  box-shadow: 0 4px 16px rgba(34, 184, 199, 0.38);
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.btn-directions:hover {
  background: var(--medical-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 153, 166, 0.42);
}

.btn-directions:active {
  transform: translateY(0);
}

.section--contact {
  background: #fff;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(18, 54, 63, 0.09);
}

.contact-card-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--medical-navy);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
}

.contact-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
}

.contact-muted {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.map-embed-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.map-note {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.book-inner--stack {
  flex-direction: column;
  align-items: stretch;
}

.book-intro {
  width: 100%;
  margin-bottom: 0.5rem;
}

.book-form--demo {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.book-form--demo input,
.book-form--demo select,
.book-form--demo textarea,
.book-form--demo .slot-picker,
.book-form--demo .consultation-type {
  width: 100%;
  min-width: 0;
}

.book-form--demo textarea {
  min-height: 72px;
  resize: vertical;
  font-family: inherit;
}

.consultation-type {
  margin: 0.15rem 0 0.25rem;
  padding: 0;
  border: none;
  min-width: 0;
}

.consultation-type__label {
  display: block;
  margin: 0 0 0.45rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.95);
}

.consultation-type--modal .consultation-type__label {
  color: var(--medical-navy);
}

.consultation-type__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.consultation-type__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.consultation-type__btn:hover {
  border-color: rgba(34, 184, 199, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.consultation-type__btn.is-selected {
  border-color: rgba(34, 184, 199, 0.75);
  background: rgba(34, 184, 199, 0.22);
  box-shadow: 0 0 0 2px rgba(34, 184, 199, 0.18);
}

.consultation-type--modal .consultation-type__btn {
  border-color: var(--border);
  background: #fff;
  color: var(--medical-navy);
}

.consultation-type--modal .consultation-type__btn.is-selected {
  border-color: rgba(34, 184, 199, 0.7);
  background: var(--medical-blue-light);
  box-shadow: 0 0 0 2px rgba(34, 184, 199, 0.12);
}

.book-legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.15rem 0 0.35rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.book-legal-consent:hover {
  border-color: rgba(34, 184, 199, 0.45);
  background: #fff;
}

.book-legal-consent:has(input:checked) {
  border-color: rgba(34, 184, 199, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 184, 199, 0.12);
  background: #fff;
}

.book-legal-consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--medical-blue-dark);
  cursor: pointer;
}

.book-legal-consent-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--slate);
}

.book-legal-consent-text a {
  color: var(--medical-blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.book-legal-consent-text a:hover {
  color: var(--medical-navy);
}

.book-success-headline {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.book-demo-automation {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.95);
  line-height: 1.55;
}

.book-demo-automation li {
  margin-bottom: 0.45rem;
}

.demo-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  color: #bae6fd;
}

.book-success-card--demo .book-success-follow {
  margin-top: 0.5rem;
}

.btn-admin {
  font-size: 0.875rem;
  padding: 0.45rem 0.85rem;
}

.book-cancel-btn {
  margin-top: 0.75rem;
}

.book-cancel-msg {
  margin-top: 0.5rem;
  white-space: pre-wrap;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.95);
}

.book-demo-automation--modal {
  margin-top: 0.65rem;
}

.admin-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(26, 115, 232, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(59, 130, 246, 0.06), transparent 45%),
    linear-gradient(180deg, #f0f4f9 0%, #f8fafc 40%, #f1f5f9 100%);
  font-family: "DM Sans", "Source Sans 3", system-ui, sans-serif;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  color: var(--medical-navy);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid var(--border);
}

.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-header-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--medical-blue);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.admin-header-eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.admin-header h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.admin-back-link:hover {
  background: var(--medical-blue-light);
  border-color: rgba(26, 115, 232, 0.35);
  color: var(--medical-blue-dark);
}

.admin-main {
  flex: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
  box-sizing: border-box;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.admin-stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
}

.admin-stat-card--total::before {
  background: linear-gradient(180deg, #3b82f6, #1a73e8);
}

.admin-stat-card--booked::before {
  background: linear-gradient(180deg, #22c55e, #16a34a);
}

.admin-stat-card--cancelled::before {
  background: linear-gradient(180deg, #f87171, #dc2626);
}

.admin-stat-card--done::before {
  background: linear-gradient(180deg, #a78bfa, #6366f1);
}

.admin-stat-icon {
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0.92;
  filter: grayscale(0.15);
}

.admin-stat-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.admin-stat-text strong {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.admin-stat-text span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-toolbar-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.admin-toolbar--split {
  justify-content: space-between;
  align-items: flex-end;
}

.admin-date-input,
.admin-text-input {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  min-width: 160px;
}

.admin-block-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem 1.25rem;
  align-items: end;
}

.admin-slot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1.25rem 1.25rem;
}

.admin-slot-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.admin-slot-pill--ok {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.admin-slot-pill--no {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}

.admin-toolbar-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-select {
  min-width: 200px;
  font: inherit;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-select:hover,
.admin-select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.admin-toolbar .btn-refresh {
  margin-left: auto;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.admin-toolbar .btn-refresh:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.45);
}

.admin-panel {
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.admin-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1rem 1.25rem 0.85rem;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid #f1f5f9;
}

.admin-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.admin-panel-meta {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.admin-panel-meta--hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

.admin-table-wrap {
  overflow-x: auto;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.admin-table tbody tr {
  transition: background 0.12s ease;
}

.admin-table tbody tr:hover td {
  background: #f8fafc;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table th {
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  white-space: nowrap;
}

.admin-table td:first-child {
  font-weight: 600;
  color: #334155;
}

.admin-empty-cell {
  padding: 2.25rem 1.5rem !important;
  text-align: center;
  border-bottom: none !important;
}

.admin-empty-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.admin-empty-icon {
  font-size: 1.25rem;
  opacity: 0.85;
}

.badge {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-booked {
  background: linear-gradient(180deg, #dcfce7, #bbf7d0);
  color: #14532d;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.badge-cancelled {
  background: linear-gradient(180deg, #fee2e2, #fecaca);
  color: #7f1d1d;
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.badge-completed {
  background: linear-gradient(180deg, #e0e7ff, #c7d2fe);
  color: #312e81;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.admin-actions-cell {
  white-space: nowrap;
}

.admin-actions-cell button {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  margin-right: 0.35rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.admin-actions-cell button:not(.btn-muted):hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.admin-actions-cell button.btn-danger:not(.btn-muted) {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fff5f5;
}

.admin-actions-cell button.btn-danger:not(.btn-muted):hover {
  background: #fee2e2;
  border-color: #f87171;
}

.admin-actions-cell button.btn-muted {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-error-banner {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-footer {
  margin-top: auto;
  padding: 1.35rem 1.25rem 1.75rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.03));
  border-top: 1px solid #e2e8f0;
}

.admin-footer-mark {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0ea5e9;
  margin-bottom: 0.35rem;
}

.admin-footer-copy {
  font-size: 0.8rem;
  color: #64748b;
}

@media (max-width: 640px) {
  .admin-toolbar .btn-refresh {
    margin-left: 0;
    width: 100%;
  }

  .admin-select {
    width: 100%;
    min-width: 0;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  .services-demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .btn-directions {
    width: 100%;
    justify-content: center;
  }

  .services-demo-grid {
    grid-template-columns: 1fr;
  }
}

/* Visual-only Ask Syra launcher; no assistant runtime is attached. */
.chat-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.chat-bubble-text {
  margin: 0;
  padding: 0.65rem 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--medical-navy);
  border: 1px solid var(--border);
  max-width: 240px;
}

.chat-fab {
  min-height: 52px;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #3aa7ef 0%, #2088d8 100%);
  box-shadow: 0 6px 22px rgba(32, 136, 216, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
}

.chat-fab--pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(58, 167, 239, 0.55);
  animation: fab-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(32, 136, 216, 0.5);
}

.chat-fab-inner {
  font-size: 1.35rem;
}

.chat-fab-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
