:root {
  --medical-navy: #12363f;
  --medical-navy-mid: #0e252f;
  --medical-blue: #22b8c7;
  --medical-blue-dark: #1699a6;
  --medical-blue-light: #e7f7fa;
  --accent: #2ec7d7;
  --slate: #33565e;
  --muted: #5c7b82;
  --surface: #ffffff;
  --bg: #f0f4f7;
  --border: #d9e2e8;
  --radius-pill: 999px;
  --radius-lg: 8px;
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 1px 3px rgba(10, 22, 40, 0.08), 0 8px 24px rgba(10, 22, 40, 0.08);
  --shadow-soft: 0 4px 24px rgba(18, 54, 63, 0.07);
}

*,
*::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: var(--medical-navy-mid);
  color: #c5d4e0;
  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(16, 50, 58, 0.95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(10, 22, 40, 0.04);
  backdrop-filter: blur(6px);
}

.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: #fff;
}

.brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #b8d4d8;
}

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

.nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #d3eaee;
}

.nav a:hover {
  color: #fff;
  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, #1f4e57 0%, #1699a6 55%, #4ec8d5 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 {
  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 1fr 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;
}

/* Chat */
.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;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  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;
}

@keyframes fab-pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

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

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

.doctor-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.doctor-filter {
  min-width: 220px;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  font-family: inherit;
}

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

.doctor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.doctor-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.doctor-card-body {
  padding: 1rem;
}

.doctor-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.doctor-meta {
  margin: 0.25rem 0 0.65rem;
  color: var(--medical-blue-dark);
  font-weight: 600;
}

.doctor-bio {
  margin: 0 0 0.75rem;
  color: var(--slate);
}

.doctor-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--medical-blue-light);
  color: var(--medical-blue-dark);
}

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

.timetable-grid {
  display: grid;
  gap: 0.75rem;
}

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

.calendar-toolbar label {
  font-weight: 700;
  color: var(--medical-navy);
}

.calendar-toolbar input[type="date"] {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: inherit;
}

.calendar-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.slots-indicator {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(22, 153, 166, 0.12), rgba(18, 54, 63, 0.06));
  color: #0f766e;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.slots-indicator--closed {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.timetable-row--closed {
  border-color: #fed7aa;
  background: #fffbeb;
}

.slot-booked {
  background: #e5e7eb !important;
  color: #6b7280 !important;
  box-shadow: none !important;
}

.timetable-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 0.8rem 1rem;
}

.time-day {
  font-weight: 700;
  color: var(--medical-navy);
}

.time-slot {
  color: var(--slate);
  font-weight: 600;
}

.section--posts {
  background: #f9fbfc;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card-body {
  padding: 0.9rem 1rem 1rem;
}

.post-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

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

.book-form select,
.booking-modal-form input {
  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;
}

/* Booking time: native <select> <option> styling is ignored on Chrome/Windows — use
   .slot-picker (script.js) for a themed custom list instead. */
.book-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Custom slot picker (div buttons) — full control vs. OS-native option list */
.slot-picker {
  position: relative;
  width: 100%;
}

.slot-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 45, 52, 0.55);
  color: #f1f5f9;
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  min-height: 2.75rem;
}

.slot-picker-trigger:hover {
  border-color: rgba(46, 199, 215, 0.45);
  background: rgba(15, 45, 52, 0.78);
}

.slot-picker-trigger:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.slot-picker-trigger[aria-expanded="true"] {
  border-color: rgba(46, 199, 215, 0.65);
}

.slot-picker-chevron {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid rgba(226, 232, 240, 0.9);
  border-bottom: 2px solid rgba(226, 232, 240, 0.9);
  transform: rotate(45deg);
  margin-top: -0.15rem;
  margin-right: 0.15rem;
}

.slot-picker-trigger[aria-expanded="true"] .slot-picker-chevron {
  transform: rotate(-135deg);
  margin-top: 0.12rem;
}

.slot-picker-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 80;
  max-height: min(280px, 52vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46, 199, 215, 0.4);
  background: #0b2730;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
}

.slot-picker-panel:not([hidden]) {
  min-height: 4rem;
}

.slot-picker-panel[hidden] {
  display: none !important;
}

.slot-picker-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #ecfdf5;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.slot-picker-option:hover,
.slot-picker-option:focus {
  background: rgba(34, 184, 199, 0.32);
  color: #fff;
  outline: none;
}

.slot-picker-empty {
  margin: 0;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
  text-align: center;
}

.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;
}

.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);
}

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

.chat-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  z-index: 95;
}

.chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(380px, calc(100vw - 2rem));
  max-height: min(520px, 70vh);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(10, 22, 40, 0.35);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.chat-chip {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--medical-navy);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.chat-chip:hover {
  background: var(--medical-blue-light);
  border-color: var(--medical-blue);
  transform: translateY(-1px);
}

.chat-panel-header {
  display: flex;
  align-items: center;
  padding: 0.72rem 0.85rem;
  background: linear-gradient(180deg, #edf8fb 0%, var(--medical-blue-light) 100%);
  border-bottom: 1px solid var(--border);
}

.chat-panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.chat-panel-header h2 {
  margin: 0;
  font-size: 1rem;
  color: var(--medical-navy);
  flex-shrink: 0;
  margin-right: auto;
}

.chat-voice-call {
  position: static;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.28rem;
  padding: 0.26rem 0.58rem 0.26rem 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 184, 199, 0.32);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(228, 248, 252, 0.95) 100%
  );
  text-decoration: none;
  color: var(--medical-navy);
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(18, 54, 63, 0.06),
    0 4px 14px rgba(22, 153, 166, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease;
  animation: chat-voice-card-glow 4s ease-in-out infinite;
  flex-shrink: 0;
  white-space: nowrap;
}

.chat-voice-call:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 184, 199, 0.5);
  box-shadow:
    0 2px 4px rgba(18, 54, 63, 0.08),
    0 8px 22px rgba(22, 153, 166, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  color: var(--medical-navy);
}

.chat-voice-call:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

.chat-voice-call-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.chat-voice-call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 184, 199, 0.45);
  opacity: 0;
  pointer-events: none;
}

.chat-voice-call-ring--1 {
  animation: chat-voice-ring 4s ease-out infinite;
}

.chat-voice-call-ring--2 {
  animation: chat-voice-ring 4s ease-out 0.6s infinite;
}

.chat-voice-call-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2ec7d7 0%, var(--medical-blue-dark) 55%, #0d7a84 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.55),
    0 3px 12px rgba(22, 153, 166, 0.45),
    0 0 18px rgba(34, 184, 199, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-voice-call:hover .chat-voice-call-icon {
  transform: scale(1.08);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.7),
    0 4px 16px rgba(22, 153, 166, 0.5),
    0 0 22px rgba(34, 184, 199, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.chat-voice-call-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--medical-navy);
  white-space: nowrap;
  line-height: 1;
  padding-right: 0.1rem;
}

@keyframes chat-voice-card-glow {
  0%,
  78%,
  100% {
    box-shadow:
      0 1px 2px rgba(18, 54, 63, 0.06),
      0 6px 18px rgba(22, 153, 166, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  86% {
    box-shadow:
      0 1px 2px rgba(18, 54, 63, 0.06),
      0 6px 22px rgba(22, 153, 166, 0.22),
      0 0 0 3px rgba(34, 184, 199, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

@keyframes chat-voice-ring {
  0%,
  72%,
  100% {
    transform: scale(1);
    opacity: 0;
  }
  78% {
    transform: scale(1);
    opacity: 0.55;
  }
  92% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.chat-close {
  position: static;
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--slate);
  box-shadow: 0 1px 3px rgba(18, 54, 63, 0.08);
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.chat-close:hover {
  color: var(--medical-navy);
  background: #fff;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 200px;
  max-height: 320px;
  background: var(--bg);
}

.chat-msg {
  max-width: 88%;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.chat-msg--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--medical-navy);
}

.chat-msg--bot a {
  color: var(--teal, #1699a6);
  font-weight: 600;
  word-break: break-all;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--medical-blue);
  color: #fff;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background: #fff;
  align-items: center;
}

.chat-stt-status {
  padding: 0.35rem 0.75rem 0;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--medical-blue);
  text-align: center;
}

.chat-mic-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--medical-blue);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-mic-btn:hover:not(:disabled) {
  border-color: var(--medical-blue);
  background: #f0f9ff;
}

.chat-mic-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.chat-mic-btn--recording {
  border-color: #ef4444;
  color: #dc2626;
  background: #fef2f2;
  animation: chat-mic-pulse 1.1s ease-in-out infinite;
}

.chat-mic-btn--transcribing {
  opacity: 0.75;
}

@keyframes chat-mic-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-mic-btn--recording {
    animation: none;
  }
}

.chat-form input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.875rem;
}

.chat-form input:focus {
  outline: 2px solid var(--medical-blue);
  outline-offset: 0;
}

/* Premium Syra assistant */
.chat-backdrop {
  background: rgba(8, 24, 32, 0.38);
  backdrop-filter: blur(4px);
  animation: syra-fade-in 0.22s ease;
}

.chat-panel {
  width: min(410px, calc(100vw - 2rem));
  max-height: min(620px, 78vh);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 253, 255, 0.9)),
    rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow:
    0 26px 70px -28px rgba(10, 22, 40, 0.48),
    0 10px 28px rgba(22, 153, 166, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: syra-panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-panel-header {
  padding: 0.9rem 1rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 184, 199, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(241, 253, 255, 0.98), rgba(225, 247, 251, 0.92));
  border-bottom: 1px solid rgba(34, 184, 199, 0.16);
}

.chat-panel-header h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.chat-panel-header h2::after {
  content: "AI";
  padding: 0.08rem 0.38rem;
  border-radius: var(--radius-pill);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--medical-blue-dark);
  background: rgba(34, 184, 199, 0.12);
  border: 1px solid rgba(34, 184, 199, 0.2);
  box-shadow: 0 0 14px rgba(34, 184, 199, 0.16);
}

.chat-voice-call {
  padding: 0.34rem 0.72rem 0.34rem 0.38rem;
  gap: 0.35rem;
  border: 1px solid rgba(34, 184, 199, 0.24);
  background: linear-gradient(135deg, #ffffff 0%, #e8fbff 45%, #d8f6fb 100%);
  box-shadow:
    0 8px 22px rgba(22, 153, 166, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.chat-voice-call-icon-wrap,
.chat-voice-call-icon {
  width: 1.45rem;
  height: 1.45rem;
}

.chat-voice-call-label {
  font-size: 0.79rem;
}

.chat-close {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #55747b;
}

.chat-quick-actions {
  padding: 0.72rem 0.85rem;
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(217, 226, 232, 0.78);
}

.chat-chip {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(217, 226, 232, 0.85);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.chat-chip:hover {
  background: #ecfbfd;
  box-shadow: 0 6px 16px rgba(22, 153, 166, 0.12);
}

.chat-messages {
  padding: 1rem;
  gap: 0.78rem;
  background:
    radial-gradient(circle at 10% 8%, rgba(34, 184, 199, 0.08), transparent 28%),
    linear-gradient(180deg, #f6fbfd 0%, #eef5f8 100%);
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 90%;
  border-radius: 18px;
  padding: 0.68rem 0.9rem;
  font-size: 0.91rem;
  line-height: 1.5;
  animation: syra-message-in 0.22s ease both;
}

.chat-msg--bot {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 226, 232, 0.84);
  box-shadow: 0 8px 22px rgba(10, 22, 40, 0.07);
}

.chat-msg--user {
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(135deg, var(--medical-blue), var(--medical-blue-dark));
  box-shadow: 0 8px 20px rgba(22, 153, 166, 0.22);
}

.chat-form {
  padding: 0.85rem;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(217, 226, 232, 0.84);
}

.chat-form input {
  min-width: 0;
  padding: 0.72rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(169, 191, 199, 0.78);
  box-shadow: inset 0 1px 2px rgba(10, 22, 40, 0.04);
}

.chat-form input:focus {
  outline: none;
  border-color: rgba(34, 184, 199, 0.85);
  box-shadow:
    0 0 0 3px rgba(34, 184, 199, 0.14),
    inset 0 1px 2px rgba(10, 22, 40, 0.04);
}

.chat-form .btn-primary {
  border-radius: 15px;
  background: linear-gradient(135deg, var(--medical-blue), var(--medical-blue-dark));
  box-shadow: 0 8px 18px rgba(22, 153, 166, 0.22);
}

.chat-mic-btn {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
}

.syra-card {
  overflow: hidden;
  min-width: min(290px, 100%);
  border: 1px solid rgba(205, 220, 227, 0.9);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
  box-shadow:
    0 10px 26px rgba(10, 22, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  white-space: normal;
}

.syra-card-wrap {
  margin-top: 0.85rem;
}

.syra-card__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #f0fbfd, #ffffff);
  border-bottom: 1px solid rgba(217, 226, 232, 0.84);
}

.syra-card__icon {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 14px;
  background: rgba(34, 184, 199, 0.12);
  color: var(--medical-blue-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.syra-card__title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--medical-navy);
}

.syra-card__subtitle {
  margin: 0.18rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.syra-card__body {
  padding: 0.9rem 1rem 1rem;
}

.syra-card__row {
  display: grid;
  grid-template-columns: 1.55rem 1fr;
  gap: 0.55rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(217, 226, 232, 0.72);
}

.syra-card__row .syra-card__icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 10px;
  font-size: 0.82rem;
}

.syra-card__row:last-child {
  border-bottom: 0;
}

.syra-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.syra-card__value {
  display: block;
  margin-top: 0.12rem;
  color: var(--medical-navy);
  font-weight: 700;
}

.syra-card__note {
  margin: 0.7rem 0 0;
  color: var(--slate);
  font-size: 0.86rem;
}

.syra-card__slots {
  display: grid;
  gap: 0.45rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}

.syra-card__slot {
  padding: 0.52rem 0.65rem;
  border-radius: 12px;
  background: #f5fbfc;
  border: 1px solid rgba(217, 226, 232, 0.8);
  color: var(--medical-navy);
  font-weight: 650;
}

.syra-card__footer {
  padding: 0.8rem 1rem;
  background: #f8fcfd;
  border-top: 1px solid rgba(217, 226, 232, 0.72);
  color: var(--slate);
  font-size: 0.84rem;
}

.syra-card__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.syra-card--availability-actions .syra-card__body {
  padding-top: 0.75rem;
}

.syra-card--availability-actions .syra-card__actions {
  margin-top: 0;
}

.syra-card__action {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(34, 184, 199, 0.18);
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f2fbfd 100%);
  color: var(--medical-navy);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 3px 10px rgba(10, 22, 40, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.syra-card__action:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 184, 199, 0.36);
  box-shadow: 0 8px 18px rgba(22, 153, 166, 0.12);
}

.syra-card__action:active {
  transform: translateY(0) scale(0.99);
}

@keyframes syra-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes syra-message-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes syra-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 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;
  }

  .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;
  }
}

@media (max-width: 600px) {
  .chat-panel {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-height: 75vh;
  }

  .chat-panel-header {
    padding: 0.68rem 0.7rem;
  }

  .chat-voice-call {
    padding: 0.24rem 0.48rem 0.24rem 0.3rem;
    gap: 0.25rem;
  }

  .chat-voice-call-icon-wrap,
  .chat-voice-call-icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  .chat-voice-call-label {
    font-size: 0.72rem;
  }

  .chat-msg {
    max-width: 94%;
  }

  .syra-card {
    min-width: 0;
    border-radius: 16px;
  }

  .syra-card__header,
  .syra-card__body,
  .syra-card__footer {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-voice-call,
  .chat-voice-call-ring,
  .chat-voice-call-icon,
  .chat-panel,
  .chat-msg,
  .chat-backdrop {
    animation: none;
    transition: none;
  }
}

/* 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;
}

/* Chat typing indicator */
.chat-msg--typing-wrap {
  align-self: flex-start;
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.05);
}

.chat-typing-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.chat-msg--typing {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-msg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--medical-blue);
  opacity: 0.4;
  animation: chat-typing-pulse 1s ease-in-out infinite;
}

.chat-msg--typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-msg--typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chat-typing-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-directions:hover,
  .btn-directions:active {
    transform: none;
  }

  .reveal,
  .reveal:not(.reveal--visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .utility-ticker,
  .utility-ticker--fade {
    transition: none;
    opacity: 1;
  }

  .chat-msg--typing span {
    animation: none;
    opacity: 0.6;
  }

  .chat-fab--pulse::after {
    animation: none;
  }

  .book-success-card {
    animation: none;
  }

}

@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 {
  width: 100%;
  min-width: 0;
}

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

.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(14, 165, 233, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(99, 102, 241, 0.08), transparent 45%),
    linear-gradient(180deg, #eef2f7 0%, #f8fafc 40%, #f1f5f9 100%);
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0c4a6e 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.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: rgba(255, 255, 255, 0.12);
  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: rgba(186, 230, 253, 0.85);
}

.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: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.admin-back-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.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, #0ea5e9, #0284c7);
}

.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;
  }
}
