/* ==========================================================================
   성모척바른의원 공식 홍보 홈페이지 디자인 시스템
   Brand Palette: Pure White, Deep Medical Navy (#0F2744), Spine Cobalt (#1464D6),
                  Warm Wood Accent (#C7A27C), Therapy Sage (#2E7D6B)
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-subtle: #f7f9fc;
  --bg-warm: #fbf8f4;
  --bg-navy: #0f2744;
  --bg-navy-deep: #091a2f;

  --brand-blue: #1464d6;
  --brand-blue-hover: #0e4eb0;
  --brand-blue-soft: #ebf3fe;
  --brand-sage: #2e7d6b;
  --brand-sage-soft: #eaf6f2;
  --brand-wood: #b88e64;

  --text-primary: #111827;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 10px rgba(15, 39, 68, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 22px 54px rgba(15, 39, 68, 0.14);

  --container: 1200px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   Buttons & Reusable Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
  border-radius: 9px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(20, 100, 214, 0.24);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  box-shadow: 0 8px 22px rgba(20, 100, 214, 0.32);
}

.btn-outline {
  background: #ffffff;
  color: var(--bg-navy);
  border-color: #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-white {
  background: #ffffff;
  color: var(--bg-navy);
}

.btn-white:hover {
  background: #eff6ff;
}

.btn-ghost-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-naver {
  background: #03c75a;
  color: #ffffff;
}

.btn-naver:hover {
  background: #02b050;
}

.btn-kakao {
  background: #fee500;
  color: #191919;
}

.btn-kakao:hover {
  background: #f2da00;
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Top Utility Bar & Header
   ========================================================================== */
.top-utility {
  background: var(--bg-navy);
  color: #dbe7f5;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 6px;
}

.top-utility__left,
.top-utility__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.78rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.status-pill.is-open .status-dot {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
}

.status-pill.is-lunch .status-dot {
  background: #fbbf24;
}

.status-pill.is-closed .status-dot {
  background: #f87171;
}

.utility-divider {
  opacity: 0.35;
}

.utility-info strong {
  color: #ffffff;
}

.utility-address {
  color: #b7cae0;
}

.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(20, 100, 214, 0.45);
}

.utility-phone:hover {
  background: var(--brand-blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.07);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bg-navy);
}

.brand-accent {
  color: var(--brand-blue);
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #334155;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn-header-call:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--bg-navy);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mobile-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 26, 47, 0.55);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(330px, 86vw);
  background: #ffffff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.icon-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
  gap: 4px;
}

.mobile-nav-link {
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--bg-navy);
}

.mobile-nav-link:hover {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.mobile-drawer__contact {
  margin-top: auto;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.mobile-contact-label {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mobile-contact-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 2px 0 6px;
}

.mobile-contact-hours {
  margin: 0 0 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 76px;
  background:
    radial-gradient(circle at 90% 10%, rgba(20, 100, 214, 0.08), transparent 44%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-navy);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.eyebrow-tag {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--bg-navy);
}

.text-accent {
  color: var(--brand-blue);
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 540px;
}

/* Hero Representative Phone Box */
.hero-phone-box {
  background: #ffffff;
  border: 1.5px solid #d5e4fa;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.hero-phone-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.hero-phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-phone-number {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--bg-navy);
  line-height: 1.15;
}

.hero-phone-number:hover {
  color: var(--brand-blue);
}

.btn-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-copy-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.hero-phone-sub {
  margin: 8px 0 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero-phone-box__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.highlight-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 14px;
}

.highlight-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.highlight-item strong {
  font-size: 0.9rem;
  color: var(--bg-navy);
}

/* Hero Visual */
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #e2e8f0;
  aspect-ratio: 4 / 4.4;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(15, 39, 68, 0.88);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-float-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.float-badge {
  background: var(--brand-blue);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.float-station {
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 600;
}

.hero-float-hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-float-hours div {
  display: flex;
  flex-direction: column;
}

.hero-float-hours span {
  font-size: 0.74rem;
  color: #cbd5e1;
}

.hero-float-hours strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.hero-float-hours .is-night strong {
  color: #7dd3fc;
}

.float-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #93c5fd;
}

.float-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Shared Section Header
   ========================================================================== */
section {
  padding: 88px 0;
}

.section-header {
  margin-bottom: 44px;
}

.section-header--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}

.section-header--center {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--bg-navy);
}

.section-lead {
  margin: 12px 0 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   About & Pillars
   ========================================================================== */
.pillars-section {
  background: #ffffff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pillar-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #b7d3fa;
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.pillar-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-navy);
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.space-showcase {
  background: var(--bg-warm);
  border: 1px solid #ece4da;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.space-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.space-figure {
  margin: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #ede6dd;
}

.space-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.space-figure figcaption {
  padding: 18px 20px;
}

.space-figure figcaption strong {
  display: block;
  font-size: 1.02rem;
  color: var(--bg-navy);
  margin-bottom: 4px;
}

.space-figure figcaption span {
  font-size: 0.89rem;
  color: var(--text-secondary);
}

.philosophy-quote {
  margin: 26px 0 0;
  padding: 22px 26px;
  background: #ffffff;
  border-left: 4px solid var(--brand-blue);
  border-radius: 12px;
}

.philosophy-quote p {
  margin: 0 0 8px;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--bg-navy);
}

.philosophy-quote footer {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Doctors Section
   ========================================================================== */
.doctors-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.doctor-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.doctor-card__head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.doctor-avatar {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.doctor-role-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.doctor-role-badge--sage {
  background: var(--brand-sage-soft);
  color: var(--brand-sage);
}

.doctor-name {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--bg-navy);
}

.doctor-name span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}

.doctor-tagline {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.doctor-list {
  margin: 20px 0 18px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.doctor-list li {
  margin-bottom: 8px;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doctor-tags span {
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--bg-navy);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ==========================================================================
   9 Specialized Clinics
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-tab:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-tab.is-active {
  background: var(--bg-navy);
  border-color: var(--bg-navy);
  color: #ffffff;
}

.clinics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.clinic-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.clinic-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.clinic-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.clinic-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.clinic-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

.clinic-card:hover .clinic-arrow {
  transform: translateX(4px);
  color: var(--brand-blue);
}

.clinic-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--bg-navy);
}

.clinic-card p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
}

.clinic-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clinic-keywords span {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 3px 9px;
  border-radius: 6px;
}

/* ==========================================================================
   Treatments Section
   ========================================================================== */
.treatments-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.treatment-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.treatment-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-navy);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.treatment-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  color: var(--bg-navy);
}

.treatment-card p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
}

.treatment-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Interactive Self-Check Widget
   ========================================================================== */
.selfcheck-section {
  background: #ffffff;
}

.selfcheck-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.selfcheck-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.check-option:hover {
  border-color: #93c5fd;
}

.check-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: all 0.16s ease;
}

.check-option input:checked + .check-box {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.check-option input:checked + .check-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.check-option:has(input:checked) {
  border-color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.selfcheck-result {
  background: var(--bg-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.result-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(94, 164, 255, 0.22);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.selfcheck-result h3 {
  margin: 0 0 10px;
  font-size: 1.38rem;
  line-height: 1.35;
}

.selfcheck-result p {
  margin: 0 0 18px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.result-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.result-chips span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.result-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.result-note {
  margin: 14px 0 0 !important;
  font-size: 0.76rem !important;
  color: #94a3b8 !important;
}

/* ==========================================================================
   Non-Covered Fee Table
   ========================================================================== */
.fees-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.fees-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.fee-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fee-tab {
  padding: 9px 15px;
  border-radius: 9px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.fee-tab.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.fee-search-wrap {
  position: relative;
  min-width: 280px;
  flex: 1;
  max-width: 360px;
}

.fee-search-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.fee-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-size: 0.9rem;
}

.fee-search:focus {
  outline: 2px solid rgba(20, 100, 214, 0.25);
  border-color: var(--brand-blue);
}

.fee-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.fee-table th,
.fee-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.93rem;
}

.fee-table th {
  background: #f1f5f9;
  color: var(--bg-navy);
  font-weight: 700;
  font-size: 0.86rem;
}

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

.fee-table tbody tr:hover {
  background: #fafcff;
}

.fee-cat-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--bg-navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-right {
  text-align: right !important;
}

.fee-price {
  font-weight: 800;
  color: var(--bg-navy);
  white-space: nowrap;
}

.fee-empty {
  padding: 36px;
  text-align: center;
  color: var(--text-muted);
}

.fee-footnote {
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.fee-footnote a {
  color: var(--brand-blue);
}

/* ==========================================================================
   Hours, Location & Contact Section
   ========================================================================== */
.location-section {
  background: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-banner {
  background: linear-gradient(135deg, var(--bg-navy) 0%, #163b6b 100%);
  color: #ffffff;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-banner__label {
  display: block;
  font-size: 0.8rem;
  color: #bfdbfe;
  margin-bottom: 4px;
}

.contact-banner__number {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.contact-banner__btns {
  display: flex;
  gap: 8px;
}

.hours-block,
.address-block {
  padding: 24px 26px;
}

.hours-block {
  border-bottom: 1px solid var(--border-subtle);
}

.hours-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hours-block h3,
.address-block h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  color: var(--bg-navy);
}

.hours-block__head h3 {
  margin: 0;
}

.hours-night-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.hours-list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-subtle);
  font-size: 0.93rem;
}

.hours-row dt {
  font-weight: 700;
  color: var(--bg-navy);
}

.hours-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--text-secondary);
}

.hours-row.is-highlight {
  background: var(--brand-blue-soft);
  border: 1px solid #c7dffc;
}

.hours-row.is-highlight dd {
  color: var(--brand-blue);
  font-weight: 800;
}

.badge-inline {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.72rem;
  vertical-align: middle;
}

.hours-row.is-closed dd {
  color: #b91c1c;
}

.hours-row.is-closed small {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: right;
}

.address-main {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bg-navy);
}

.address-sub {
  margin: 0 0 14px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.transit-list {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.transit-list li {
  margin-bottom: 6px;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-right {
  display: grid;
  gap: 20px;
}

.map-card,
.inline-booking-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-card__head {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.map-card__head span {
  font-size: 0.8rem;
  color: var(--brand-blue);
  font-weight: 700;
}

.schematic-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.inline-booking-card {
  padding: 24px 26px;
}

.inline-booking-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--bg-navy);
}

.inline-booking-card p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Form Elements */
.booking-form {
  display: grid;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bg-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(20, 100, 214, 0.22);
  border-color: var(--brand-blue);
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  padding: 58px 0;
  background: linear-gradient(125deg, #0d233f 0%, #1453ac 100%);
  color: #ffffff;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-banner__kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 8px;
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.cta-banner p {
  margin: 0;
  color: #dbeafe;
}

.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--bg-navy-deep);
  color: #94a3b8;
  padding: 54px 0 34px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-slogan {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-weight: 600;
}

.footer-meta {
  margin: 0;
  line-height: 1.75;
}

.footer-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 8px;
}

.footer-phone {
  display: inline-block;
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-hours {
  margin: 0;
  line-height: 1.7;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   Floating Quickbar & Mobile Sticky Bar
   ========================================================================== */
.floating-quickbar {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quick-item {
  width: 76px;
  padding: 12px 6px;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--bg-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.quick-item:last-child {
  border-bottom: none;
}

.quick-item:hover {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.quick-item--call {
  background: var(--brand-blue);
  color: #ffffff;
}

.quick-item--call strong {
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

.quick-item--call:hover {
  background: var(--brand-blue-hover);
  color: #ffffff;
}

.mobile-sticky-bar {
  display: none;
}

/* ==========================================================================
   Modals & Toast
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 26, 47, 0.62);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal__head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.modal__head h3 {
  margin: 0;
  font-size: 1.32rem;
  color: var(--bg-navy);
}

.modal__body {
  padding: 22px 24px;
}

.modal__foot {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-section-title {
  margin: 16px 0 8px;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--bg-navy);
}

.modal-section-title:first-child {
  margin-top: 0;
}

.modal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.modal-list li {
  margin-bottom: 6px;
}

.modal-call-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  color: var(--bg-navy);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.modal-call-strip a {
  color: var(--brand-blue);
  font-weight: 700;
}

.booking-confirm {
  text-align: center;
}

.confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--brand-sage-soft);
  color: var(--brand-sage);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.booking-confirm h4 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--bg-navy);
}

.confirm-sub {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.confirm-summary {
  text-align: left;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.88rem;
  white-space: pre-wrap;
  color: var(--bg-navy);
  margin: 0 0 18px;
}

.confirm-actions {
  display: grid;
  gap: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 400;
  background: var(--bg-navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .section-header--split,
  .selfcheck-shell,
  .location-grid,
  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-frame {
    aspect-ratio: 16 / 10;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinics-grid,
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-quickbar {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 68px;
  }

  .top-utility__right .utility-address,
  .utility-divider,
  .btn-header-call,
  .header-actions .btn-primary {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 36px 0 54px;
  }

  .hero-highlights,
  .pillars-grid,
  .space-media-grid,
  .clinics-grid,
  .treatments-grid,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-float-hours {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .selfcheck-shell {
    padding: 22px;
  }

  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -6px 20px rgba(15, 39, 68, 0.1);
  }

  .mobile-bar-call,
  .mobile-bar-book {
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.96rem;
    border: none;
    cursor: pointer;
  }

  .mobile-bar-call {
    background: var(--brand-blue);
    color: #ffffff;
  }

  .mobile-bar-book {
    background: var(--bg-navy);
    color: #ffffff;
  }

  .toast {
    bottom: 78px;
    width: max-content;
    max-width: calc(100vw - 32px);
    text-align: center;
  }
}
