/* =========================================================================
   Siddhi Children Clinic - theme stylesheet
   Ported 1:1 (colors, spacing, shadows, motion) from the original React
   app's Tailwind config (src/index.css) into plain, semantic CSS.
   ========================================================================= */

:root {
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --color-brand-50: #f0fbfa;
  --color-brand-100: #dbf3f1;
  --color-brand-200: #b8e7e3;
  --color-brand-300: #8bd4ce;
  --color-brand-400: #57b8b1;
  --color-brand-500: #349b95;
  --color-brand-600: #227d79;
  --color-brand-700: #1f6462;
  --color-brand-800: #1d5150;
  --color-brand-900: #1b4443;
  --color-brand-950: #0a2726;

  --color-sky-50: #f2f8fd;
  --color-sky-100: #e3effb;
  --color-sky-200: #c3ddf5;
  --color-sky-300: #93c3ec;
  --color-sky-400: #5da1de;

  --color-warm-50: #fff8f2;
  --color-warm-100: #ffedde;
  --color-warm-200: #ffd9b8;
  --color-warm-300: #ffbd85;
  --color-warm-400: #fb9a52;
  --color-warm-500: #f27c30;

  --color-cream-50: #fdfcfa;
  --color-cream-100: #faf7f2;
  --color-cream-200: #f4efe6;

  --shadow-soft: 0 2px 8px -2px rgb(20 60 58 / 0.06), 0 8px 24px -8px rgb(20 60 58 / 0.10);
  --shadow-soft-lg: 0 12px 32px -8px rgb(20 60 58 / 0.14), 0 4px 12px -4px rgb(20 60 58 / 0.08);
  --shadow-glow: 0 0 0 1px rgb(34 125 121 / 0.06), 0 20px 40px -12px rgb(34 125 121 / 0.22);
}

/* ---------------------------------------------------------------------- */
/* Reset / base                                                           */
/* ---------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-cream-50);
  color: var(--color-brand-950);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
  cursor: default;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"] { cursor: pointer; }
button { font: inherit; border: none; background: none; padding: 0; }
iframe { display: block; }

::selection { background-color: var(--color-brand-200); color: var(--color-brand-950); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--color-brand-600);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus { left: 0; }

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

.text-balance { text-wrap: balance; }

.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23227d79' fill-opacity='0.035'%3E%3Cpath d='M0 0h1v1H0zM10 20h1v1h-1zM30 5h1v1h-1zM45 35h1v1h-1z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------- */
/* Layout helpers                                                         */
/* ---------------------------------------------------------------------- */

.container {
  max-width: 80rem; /* 1280px, matches Tailwind max-w-7xl */
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

.section { padding-block: 6rem; }
@media (min-width: 640px) { .section { padding-block: 7rem; } }

.section--tight { padding-block: 6rem; }
.section--tinted { background: rgba(240, 251, 250, 0.5); }

.blob-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  animation: blob 14s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -32px) scale(1.08); }
  66% { transform: translate(-18px, 18px) scale(0.94); }
}

/* ---------------------------------------------------------------------- */
/* Scroll reveal (replaces Framer Motion's whileInView)                  */
/* ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group > * { transition-delay: calc(var(--reveal-index, 0) * 90ms); }

/* Fallback: never leave content invisible if JS fails to load. */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--color-brand-600); outline-offset: 2px; }

.btn--md { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }

.btn--primary { background: var(--color-brand-600); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--color-brand-700); }

.btn--secondary { background: #fff; color: var(--color-brand-700); border-color: var(--color-brand-200); }
.btn--secondary:hover { border-color: var(--color-brand-400); background: var(--color-brand-50); }

.btn--ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }
.btn--ghost:focus-visible { outline-color: #fff; }

.btn--warm { background: var(--color-warm-500); color: #fff; box-shadow: var(--shadow-soft); }
.btn--warm:hover { background: var(--color-warm-400); }

.btn__icon { transition: transform 0.2s ease; }
.btn:hover .btn__icon { transform: translateX(2px); }

/* ---------------------------------------------------------------------- */
/* Header / navbar                                                        */
/* ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(253, 252, 250, 0.85);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.site-header__row {
  max-width: 80rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
@media (min-width: 640px) { .site-header__row { padding-inline: 2rem; } }

.brand { display: flex; align-items: center; gap: 0.625rem; }
.brand__badge {
  display: flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.site-header.is-scrolled .brand__badge,
.site-header.is-open .brand__badge { background: var(--color-brand-600); color: #fff; }

.brand__logo-img { height: 2.5rem; width: auto; max-width: 9rem; border-radius: 0.5rem; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
}
.brand__tag {
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}
@media (min-width: 640px) { .brand__name { font-size: 1.125rem; } }
.site-header.is-scrolled .brand__name,
.site-header.is-open .brand__name { color: var(--color-brand-950); }
.site-header.is-scrolled .brand__tag,
.site-header.is-open .brand__tag { color: var(--color-brand-600); }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  position: relative;
  display: block;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.site-header.is-scrolled .nav-links a { color: rgba(27, 68, 67, 0.75); }
.site-header.is-scrolled .nav-links a:hover { color: var(--color-brand-700); }
.nav-links a.is-active { color: #fff; }
.site-header.is-scrolled .nav-links a.is-active { color: var(--color-brand-700); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: -0.125rem;
  height: 2px;
  border-radius: 9999px;
  background: #fff;
}
.site-header.is-scrolled .nav-links a.is-active::after { background: var(--color-brand-600); }

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

.call-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  background: #fff;
  color: var(--color-brand-700);
  transition: background-color 0.2s ease;
}
@media (min-width: 640px) { .call-btn { display: inline-flex; } }
.call-btn:hover { background: var(--color-brand-50); }
.site-header.is-scrolled .call-btn { background: var(--color-brand-600); color: #fff; }
.site-header.is-scrolled .call-btn:hover { background: var(--color-brand-700); }

.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.site-header.is-scrolled .menu-toggle,
.site-header.is-open .menu-toggle { background: var(--color-brand-50); color: var(--color-brand-700); }

.mobile-menu {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(16px);
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.site-header.is-open .mobile-menu { max-height: 32rem; border-top-color: var(--color-brand-100); }

.mobile-menu__inner { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.25rem; }
.mobile-menu a {
  display: block;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(27, 68, 67, 0.7);
}
.mobile-menu a.is-active { background: var(--color-brand-50); color: var(--color-brand-700); }
.mobile-menu .call-btn { display: flex; justify-content: center; margin-top: 0.75rem; width: 100%; background: var(--color-brand-600); color: #fff; padding: 0.875rem 1.25rem; }

/* ---------------------------------------------------------------------- */
/* Rating badge                                                           */
/* ---------------------------------------------------------------------- */

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--color-brand-100);
  background: #fff;
  color: var(--color-brand-950);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
}
.rating-badge--dark { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; }
.rating-badge__stars { display: flex; align-items: center; gap: 0.125rem; }
.rating-badge__stars svg { color: var(--color-brand-200); }
.rating-badge__stars svg.is-filled { color: var(--color-warm-400); fill: var(--color-warm-400); }
.rating-badge__value { font-size: 0.875rem; font-weight: 600; }
.rating-badge__dot { height: 0.25rem; width: 0.25rem; border-radius: 9999px; background: var(--color-brand-200); }
.rating-badge--dark .rating-badge__dot { background: rgba(255,255,255,0.4); }
.rating-badge__count { font-size: 0.875rem; color: rgba(27, 68, 67, 0.75); }
.rating-badge--dark .rating-badge__count { color: rgba(255,255,255,0.75); }

/* ---------------------------------------------------------------------- */
/* Section heading                                                        */
/* ---------------------------------------------------------------------- */

.section-heading { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-heading--left { align-items: flex-start; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-brand-200);
  background: var(--color-brand-50);
  color: var(--color-brand-700);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.eyebrow--light { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }

.section-heading__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-brand-950);
  line-height: 1.15;
}
.section-heading--light .section-heading__title { color: #fff; }
@media (min-width: 640px) { .section-heading__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-heading__title { font-size: 2.75rem; } }

.section-heading__description {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(27, 68, 67, 0.75);
}
.section-heading--light .section-heading__description { color: rgba(255,255,255,0.8); }
@media (min-width: 640px) { .section-heading__description { font-size: 1.125rem; } }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-brand-950);
  padding-block: 9rem 6rem;
}
@media (min-width: 640px) { .hero { padding-block: 11rem 7rem; } }
@media (min-width: 1024px) { .hero { padding-bottom: 8rem; } }

.hero .bg-noise { opacity: 0.25; }
.hero__blob-1 { top: 4rem; left: -8rem; height: 24rem; width: 24rem; background: rgba(31, 100, 98, 0.4); }
.hero__blob-2 { top: 33%; right: -6rem; height: 20rem; width: 20rem; background: rgba(93, 161, 222, 0.2); animation-delay: 4s; }
.hero__blob-3 { bottom: 0; left: 33%; height: 18rem; width: 18rem; background: rgba(251, 154, 82, 0.1); animation-delay: 7s; }

.hero__grid {
  position: relative;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 640px) { .hero__grid { padding-inline: 2rem; } }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; } }

.hero__heading {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  font-size: 2.25rem;
}
@media (min-width: 640px) { .hero__heading { font-size: 3rem; } }
@media (min-width: 768px) { .hero__heading { font-size: 3.4rem; } }

.hero__heading-highlight { position: relative; display: inline-block; color: var(--color-brand-300); }
.hero__heading-highlight svg { position: absolute; left: 0; bottom: -0.5rem; width: 100%; color: rgba(251, 154, 82, 0.7); }

.hero__description { margin-top: 1.5rem; max-width: 32rem; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.7); }
@media (min-width: 640px) { .hero__description { font-size: 1.125rem; } }

.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.hero__meta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 2rem 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.75rem; }
.hero__meta-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.hero__meta-item svg { color: var(--color-brand-300); }

.hero__portrait { position: relative; margin-inline: auto; width: 100%; max-width: 28rem; }
.hero__portrait-glow {
  position: absolute; inset: -1.5rem; z-index: -1; border-radius: 2.5rem;
  background: linear-gradient(to top right, rgba(34, 125, 121, 0.3), rgba(93, 161, 222, 0.2));
  filter: blur(24px);
}
.hero__portrait .doctor-portrait { aspect-ratio: 4 / 5; width: 100%; border-radius: 2rem; box-shadow: var(--shadow-glow); }

.hero__float-card {
  display: none;
  position: absolute;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.95);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-soft-lg);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
@media (min-width: 640px) { .hero__float-card { display: flex; } }
.hero__float-card--specialization { top: 2rem; left: -1.5rem; }
.hero__float-card--hours { bottom: -1.75rem; right: -1rem; display: flex; animation-duration: 7s; animation-delay: 1s; }

.hero__float-icon { display: flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem; border-radius: 9999px; background: var(--color-brand-50); color: var(--color-brand-600); flex-shrink: 0; }
.hero__float-card--hours .hero__float-icon { background: var(--color-warm-100); color: var(--color-warm-500); }
.hero__float-title { font-size: 0.75rem; font-weight: 600; color: var(--color-brand-950); }
.hero__float-sub { font-size: 0.6875rem; color: rgba(27, 68, 67, 0.75); }

/* ---------------------------------------------------------------------- */
/* Stats                                                                   */
/* ---------------------------------------------------------------------- */

.stats { position: relative; margin-top: -3.5rem; padding-inline: 1.5rem; }
@media (min-width: 640px) { .stats { margin-top: -4rem; padding-inline: 2rem; } }

.stats__grid { max-width: 72rem; margin-inline: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .stats__grid { gap: 1.25rem; } }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--color-brand-100);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 640px) { .stat-card { padding: 1.75rem; } }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft-lg); }
.stat-card__icon { margin-bottom: 1rem; display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--color-brand-50); color: var(--color-brand-600); }
.stat-card__value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; color: var(--color-brand-950); }
@media (min-width: 640px) { .stat-card__value { font-size: 2.25rem; } }
.stat-card__label { margin-top: 0.375rem; font-size: 0.875rem; font-weight: 500; color: rgba(27, 68, 67, 0.75); }

/* ---------------------------------------------------------------------- */
/* Cards grid (services / areas of care)                                  */
/* ---------------------------------------------------------------------- */

.card-grid { margin-top: 3.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid--2col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid--2col { grid-template-columns: repeat(2, 1fr); } }
.card-grid--sm3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid--sm3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--color-brand-100);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.service-card:hover { border-color: var(--color-brand-200); box-shadow: var(--shadow-soft-lg); transform: translateY(-6px); }
.service-card::before {
  content: "";
  position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(to right, var(--color-brand-500), var(--color-sky-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { margin-bottom: 1.25rem; display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--color-brand-50); color: var(--color-brand-600); transition: background-color 0.3s ease, color 0.3s ease; }
.service-card:hover .service-card__icon { background: var(--color-brand-600); color: #fff; }
.service-card__title { font-size: 1.125rem; font-weight: 700; color: var(--color-brand-950); }
.service-card__description { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }
.service-card__index { margin-top: auto; padding-top: 1.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-brand-400); }

/* ---------------------------------------------------------------------- */
/* Doctor portrait / image placeholder (decorative illustrations)         */
/* ---------------------------------------------------------------------- */

.doctor-portrait, .image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--color-brand-100), var(--color-brand-50), var(--color-sky-100));
}
.image-placeholder--warm { background: linear-gradient(to bottom right, var(--color-warm-100), var(--color-warm-50), var(--color-cream-100)); }
.doctor-portrait .bg-noise, .image-placeholder .bg-noise { opacity: 0.6; }
.doctor-portrait__glow-a, .image-placeholder__glow-a { position: absolute; top: -1.5rem; left: -1.5rem; height: 7rem; width: 7rem; border-radius: 9999px; background: rgba(255,255,255,0.4); filter: blur(24px); }
.doctor-portrait__glow-b, .image-placeholder__glow-b { position: absolute; bottom: -2rem; right: -1rem; height: 8rem; width: 8rem; border-radius: 9999px; background: rgba(139, 212, 206, 0.25); filter: blur(24px); }
.doctor-portrait svg.illustration { position: relative; height: 82%; width: auto; }
.image-placeholder__icon-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: rgba(52, 155, 149, 0.7); }
.image-placeholder__icon-tile { display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 1rem; background: rgba(255,255,255,0.7); box-shadow: var(--shadow-soft); backdrop-filter: blur(4px); }

/* ---------------------------------------------------------------------- */
/* Doctor card / bio                                                      */
/* ---------------------------------------------------------------------- */

.doctor-card { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 1024px) { .doctor-card { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }

.doctor-card__portrait { position: relative; margin-inline: auto; max-width: 28rem; width: 100%; }
.doctor-card__portrait-glow { position: absolute; inset: -1rem; z-index: -1; border-radius: 2rem; background: linear-gradient(to top right, var(--color-brand-100), var(--color-sky-100)); filter: blur(24px); }
.doctor-card__portrait .doctor-portrait { aspect-ratio: 4 / 5; width: 100%; border-radius: 1.75rem; box-shadow: var(--shadow-glow); }
.doctor-card__spec-tag { display: none; position: absolute; bottom: -1.5rem; right: -1.5rem; border-radius: 1rem; border: 1px solid var(--color-brand-100); background: #fff; padding: 1rem 1.25rem; box-shadow: var(--shadow-soft-lg); }
@media (min-width: 640px) { .doctor-card__spec-tag { display: block; } }
.doctor-card__spec-tag-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-brand-400); }
.doctor-card__spec-tag-value { margin-top: 0.125rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--color-brand-950); }

.doctor-card__name { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--color-brand-950); }
@media (min-width: 640px) { .doctor-card__name { font-size: 2.25rem; } }
.doctor-card__title { margin-top: 0.375rem; font-size: 1.125rem; font-weight: 500; color: var(--color-brand-600); }
.doctor-card__bio { margin-top: 1.25rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }

.pill-row { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.pill-card { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--color-brand-100); background: #fff; padding: 0.75rem 1rem; box-shadow: var(--shadow-soft); }
.pill-card svg { color: var(--color-brand-500); flex-shrink: 0; }
.pill-card__title { font-size: 0.875rem; font-weight: 700; color: var(--color-brand-950); }
.pill-card__sub { font-size: 0.75rem; color: rgba(27, 68, 67, 0.75); }

/* Education timeline (About Doctor page) */
.timeline { position: relative; margin-top: 1.25rem; border-left: 2px solid var(--color-brand-100); padding-left: 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
.timeline__item { position: relative; }
.timeline__dot { position: absolute; left: -2.15rem; top: 0.25rem; display: flex; height: 1.5rem; width: 1.5rem; align-items: center; justify-content: center; border-radius: 9999px; background: var(--color-brand-600); color: #fff; box-shadow: var(--shadow-soft); }
.timeline__year { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-brand-500); }
.timeline__degree { margin-top: 0.125rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--color-brand-950); }
.timeline__institution { font-size: 0.875rem; color: rgba(27, 68, 67, 0.75); }

.affiliations-grid { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .affiliations-grid { grid-template-columns: repeat(2, 1fr); } }
.affiliation-card { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--color-brand-100); background: #fff; padding: 0.875rem 1rem; box-shadow: var(--shadow-soft); }
.affiliation-card svg { color: var(--color-brand-500); flex-shrink: 0; }
.affiliation-card span { font-size: 0.875rem; font-weight: 500; color: var(--color-brand-950); }

/* ---------------------------------------------------------------------- */
/* About clinic section                                                   */
/* ---------------------------------------------------------------------- */

.about-clinic__grid { display: grid; align-items: center; gap: 3.5rem; }
@media (min-width: 1024px) { .about-clinic__grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }
.about-clinic__text { order: 2; }
.about-clinic__image { order: 1; }
@media (min-width: 1024px) { .about-clinic__text { order: 1; } .about-clinic__image { order: 2; } }
.about-clinic__copy { margin-top: 0.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }
.check-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.875rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-list svg { margin-top: 0.125rem; color: var(--color-brand-500); flex-shrink: 0; }
.check-list span { font-size: 0.9375rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }

.image-frame { position: relative; margin-inline: auto; max-width: 28rem; }
.image-frame-glow { position: absolute; inset: -1rem; z-index: -1; border-radius: 2rem; background: linear-gradient(to bottom right, var(--color-warm-100), var(--color-brand-50)); filter: blur(24px); }
.image-frame .image-placeholder { aspect-ratio: 1 / 1; width: 100%; border-radius: 1.75rem; box-shadow: var(--shadow-glow); }

/* ---------------------------------------------------------------------- */
/* Dark section (Why choose us)                                           */
/* ---------------------------------------------------------------------- */

.section--dark { position: relative; overflow: hidden; background: var(--color-brand-950); }
.section--dark .bg-noise { opacity: 0.2; }
.section--dark .blob { background: rgba(31, 100, 98, 0.3); bottom: 0; left: -5rem; height: 18rem; width: 18rem; }
.section--dark__inner { position: relative; }

.highlight-card {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  padding: 1.75rem;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.highlight-card:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.09); transform: translateY(-5px); }
.highlight-card__icon { margin-bottom: 1.25rem; display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: rgba(255,255,255,0.1); color: var(--color-brand-200); }
.highlight-card__title { font-size: 1.125rem; font-weight: 700; color: #fff; }
.highlight-card__description { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.6); }

/* Light quote card variant (patient review highlight) */
.quote-card { position: relative; border-radius: 1rem; border: 1px solid var(--color-brand-100); background: #fff; padding: 1.75rem; box-shadow: var(--shadow-soft); }
.quote-card svg.quote-mark { color: var(--color-brand-200); }
.quote-card__title { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--color-brand-950); }
.quote-card__description { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }
.quote-disclaimer { margin: 2.5rem auto 0; max-width: 36rem; text-align: center; font-size: 0.75rem; color: rgba(27, 68, 67, 0.75); }
.quote-disclaimer svg { display: inline; margin-right: 0.25rem; vertical-align: -1px; color: var(--color-warm-400); fill: var(--color-warm-400); }

/* ---------------------------------------------------------------------- */
/* CTA section                                                            */
/* ---------------------------------------------------------------------- */

.cta { position: relative; overflow: hidden; background: var(--color-brand-950); padding-block: 5rem; text-align: center; }
@media (min-width: 640px) { .cta { padding-block: 6rem; } }
.cta .bg-noise { opacity: 0.3; }
.cta__glow { position: absolute; top: 0; left: 50%; height: 18rem; width: 36rem; transform: translateX(-50%); border-radius: 9999px; background: rgba(34, 125, 121, 0.3); filter: blur(64px); }
.cta__inner { position: relative; max-width: 48rem; margin-inline: auto; padding-inline: 1.5rem; }
.cta__title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .cta__title { font-size: 2.25rem; } }
.cta__description { margin: 1rem auto 0; max-width: 28rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: rgba(255,255,255,0.7); }
.cta__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }

/* ---------------------------------------------------------------------- */
/* Page hero (inner pages)                                                */
/* ---------------------------------------------------------------------- */

.page-hero { position: relative; overflow: hidden; background: var(--color-brand-950); padding-block: 8rem 5rem; }
@media (min-width: 640px) { .page-hero { padding-block: 10rem 6rem; } }
.page-hero .bg-noise { opacity: 0.3; }
.page-hero .blob { animation: blob 14s ease-in-out infinite; }
.page-hero__blob-1 { top: 2.5rem; left: -6rem; height: 18rem; width: 18rem; background: rgba(31, 100, 98, 0.4); }
.page-hero__blob-2 { bottom: 0; right: -4rem; height: 16rem; width: 16rem; background: rgba(93, 161, 222, 0.2); animation-delay: 3s; }
.page-hero__inner { position: relative; max-width: 48rem; margin-inline: auto; padding-inline: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-hero__title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1.1; }
@media (min-width: 640px) { .page-hero__title { font-size: 3rem; } }
@media (min-width: 768px) { .page-hero__title { font-size: 3.25rem; } }
.page-hero__description { margin-top: 1.25rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.75); }
@media (min-width: 640px) { .page-hero__description { font-size: 1.125rem; } }

/* About Doctor page intro grid */
.about-doctor-grid { gap: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about-doctor-grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; } }
@media (max-width: 1023px) { .about-doctor-grid .doctor-card__portrait { position: static !important; } }

/* ---------------------------------------------------------------------- */
/* Contact page                                                           */
/* ---------------------------------------------------------------------- */

.info-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-card { display: flex; flex-direction: column; border-radius: 1rem; border: 1px solid var(--color-brand-100); background: #fff; padding: 1.75rem; box-shadow: var(--shadow-soft); }
.info-card__icon { margin-bottom: 1.25rem; display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--color-brand-50); color: var(--color-brand-600); }
.info-card__title { font-size: 1.125rem; font-weight: 700; color: var(--color-brand-950); }
.info-card__lines { margin-top: 0.625rem; display: flex; flex-direction: column; gap: 0.25rem; }
.info-card__lines p { font-size: 0.875rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }
.info-card__action { margin-top: 1.5rem; }

.find-us { margin-top: 4rem; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .find-us { grid-template-columns: 1fr 1.2fr; } }
.find-us__copy { margin-top: 1rem; max-width: 28rem; font-size: 1rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }
.find-us__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.map-embed { overflow: hidden; border-radius: 1rem; border: 1px solid var(--color-brand-100); box-shadow: var(--shadow-soft-lg); height: 24rem; width: 100%; }
@media (min-width: 640px) { .map-embed { height: 24rem; } }
.map-embed iframe { width: 100%; height: 100%; border: 0; min-height: 340px; }

/* ---------------------------------------------------------------------- */
/* Services page notice                                                   */
/* ---------------------------------------------------------------------- */

.notice {
  margin: 3.5rem auto 0;
  display: flex;
  max-width: 42rem;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--color-warm-200);
  background: var(--color-warm-50);
  padding: 1.25rem;
  text-align: left;
}
.notice svg { margin-top: 0.125rem; flex-shrink: 0; color: var(--color-warm-500); }
.notice p { font-size: 0.875rem; line-height: 1.6; color: rgba(27, 68, 67, 0.7); }

/* ---------------------------------------------------------------------- */
/* Patient experience: trust section number badges                        */
/* ---------------------------------------------------------------------- */

.theme-card { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--color-brand-100); background: #fff; padding: 2rem; box-shadow: var(--shadow-soft); transition: transform 0.3s ease; }
.theme-card:hover { transform: translateY(-5px); }
.theme-card__index { position: absolute; right: 1.5rem; top: 1.5rem; font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--color-brand-50); }
.theme-card__icon { position: relative; margin-bottom: 1.25rem; display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--color-brand-50); color: var(--color-brand-600); }
.theme-card__title { position: relative; font-size: 1.25rem; font-weight: 700; color: var(--color-brand-950); }
.theme-card__description { position: relative; margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: rgba(27, 68, 67, 0.75); }

.icon-circle { margin-inline: auto; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 1rem; background: var(--color-brand-50); color: var(--color-brand-600); }
.icon-circle--warm { background: var(--color-warm-50); color: var(--color-warm-500); }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

.site-footer { position: relative; overflow: hidden; background: var(--color-brand-950); color: rgba(255,255,255,0.7); padding-top: 4rem; }
.site-footer .bg-noise { opacity: 0.2; }
.site-footer__inner { position: relative; max-width: 80rem; margin-inline: auto; padding: 0 1.5rem 2.5rem; }
@media (min-width: 640px) { .site-footer__inner { padding-inline: 2rem; } }

.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.footer-brand p { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.55); }
.footer-heading { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.9); }
.footer-links { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }

.footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.footer-contact li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-contact svg { margin-top: 0.125rem; flex-shrink: 0; color: var(--color-brand-300); }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color 0.2s ease; }
.footer-contact a:hover { color: #fff; }

.footer-hours { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-hours li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-hours svg { margin-top: 0.125rem; flex-shrink: 0; color: var(--color-brand-300); }
.footer-hours strong { display: block; font-weight: 500; color: rgba(255,255,255,0.8); }

.footer-bottom { margin-top: 3.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.75rem; font-size: 0.75rem; color: rgba(255,255,255,0.55); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom__meta { display: flex; align-items: center; gap: 0.75rem; }
.footer-bottom__sep { color: rgba(255,255,255,0.2); }
.footer-bottom__credit { color: rgba(255,255,255,0.4); }

/* ---------------------------------------------------------------------- */
/* 404                                                                     */
/* ---------------------------------------------------------------------- */

.error-404-section { position: relative; display: flex; min-height: 70vh; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: var(--color-brand-950); padding: 8rem 1.5rem; text-align: center; }
.error-404-section .bg-noise { opacity: 0.25; }
.error-404-section .blob { top: 4rem; left: -6rem; height: 18rem; width: 18rem; background: rgba(31, 100, 98, 0.4); }
.error-404__code { position: relative; font-family: var(--font-display); font-size: 4.5rem; font-weight: 800; color: rgba(255,255,255,0.2); }
.error-404__title { position: relative; margin-top: 1rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .error-404__title { font-size: 2.25rem; } }
.error-404__description { position: relative; margin: 1rem auto 0; max-width: 28rem; color: rgba(255,255,255,0.7); }
.error-404__actions { position: relative; margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }

/* ---------------------------------------------------------------------- */
/* Utility spacing                                                        */
/* ---------------------------------------------------------------------- */

.mt-section { margin-top: 3.5rem; }
.center { text-align: center; }
.flex-center { display: flex; justify-content: center; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
svg.icon.opacity-70 { display: inline; margin-right: 0.25rem; vertical-align: -1px; }
