/* ===================== RESET & ROOT ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Logo-matched palette: deep blue, teal and clinical green */
  --primary: #0D3F93;
  --primary-dark: #0A3174;
  --primary-darker: #072553;
  --primary-light: #1D68B8;
  --accent: #0E8F9F;
  --accent-light: #2FB8C8;
  --mint: #EAF7EE;
  --mint-soft: #EEFAF8;
  --bg: #F7FAFC;               /* page background */
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;

  --text: #0F2A36;             /* near-black, slight teal tint */
  --text-strong: #0A1F2A;
  --text-soft: #45586A;
  --text-muted: #6B7C8E;
  --text-light: #94A3B8;

  --line: #E2E8F0;
  --line-soft: #EEF2F6;

  --success: #16A34A;
  --warning: #F59E0B;

  --shadow-xs: 0 1px 2px rgba(13,63,147,0.06);
  --shadow-sm: 0 2px 8px rgba(13,63,147,0.06), 0 1px 3px rgba(13,63,147,0.04);
  --shadow-md: 0 8px 24px rgba(13,63,147,0.09), 0 2px 6px rgba(13,63,147,0.05);
  --shadow-lg: 0 20px 48px rgba(13,63,147,0.12), 0 4px 12px rgba(13,63,147,0.06);
  --shadow-xl: 0 32px 80px rgba(13,63,147,0.16);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: #fff !important;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

::selection { background: var(--accent-light); color: var(--primary-darker); }

/* ===================== SCROLL PROGRESS ===================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999; width: 0%; transition: width 0.1s linear;
}

/* ===================== UTILITY ===================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; position: relative; }
.section-sm { padding: 80px 0; }

h1, h2, h3, h4, h5 { font-family: var(--font); line-height: 1.2; color: var(--text-strong); font-weight: 700; letter-spacing: -0.02em; }

.h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.0625rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--primary);
  background: var(--mint); border: 1px solid rgba(25,167,160,0.2);
  padding: 7px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow.light {
  background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18);
  color: var(--accent-light);
}

.section-header { margin-bottom: 64px; max-width: 720px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .lede { margin-left: auto; margin-right: auto; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  border: 1.5px solid transparent;
  border-radius: 10px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 20px rgba(14,95,118,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14,95,118,0.35);
}
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 20px rgba(25,167,160,0.30);
}
.btn-accent:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14,95,118,0.30);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary-dark);
  background: var(--mint-soft);
}
.btn-white {
  background: #fff; color: var(--primary);
}
.btn-white:hover { background: var(--mint); transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.30);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.10); border-color: #fff;
}

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

.arrow { display: inline-block; transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===================== TOPBAR ===================== */
.topbar {
  background: var(--primary-darker); color: rgba(255,255,255,0.85);
  font-size: 0.82rem; padding: 10px 0;
}
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.78);
}
.topbar-info svg { color: var(--accent-light); flex-shrink: 0; }
.topbar-cta {
  color: var(--accent-light); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.topbar-cta:hover { color: #fff; }

/* ---- Topbar variant: home page (index.html) only ----
   Light/white info bar showing the hospital location on the left and the
   "For Appointments" phone CTA on the right, with orange accent icons.
   Scoped via the `.topbar--locations` modifier so other pages keep their
   existing dark navy topbar.
--------------------------------------------------------------------- */
.topbar.topbar--locations {
  background: #ffffff;
  color: #1f2937;
  padding: 12px 0;
  /*border-bottom: 1px solid #e6ecf2;*/
  font-size: 0.95rem;
}
.topbar.topbar--locations .topbar-inner {
  gap: 32px;
  justify-content: flex-end;
}
.topbar-location {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.topbar-location-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(254, 130, 76, 0.12); */
  color: #fe824c;
}
.topbar-location-text {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.35;
}
.topbar-location-text strong {
  color: #1d2956;
  font-weight: 800;
}
.topbar-appointment {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}
.topbar-appointment:hover,
.topbar-appointment:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.topbar-appointment-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fe824c;
}
.topbar-appointment-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.topbar-appointment-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}
.topbar-appointment-number {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d2956;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .topbar.topbar--locations { padding: 8px 0; }
  .topbar.topbar--locations .topbar-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    text-align: left;
  }
  .topbar-location,
  .topbar-appointment {
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
  }
  .topbar-appointment {
    justify-content: flex-end;
  }
  .topbar-location-icon {
    width: 26px;
    height: 26px;
  }
  .topbar-appointment-icon {
    width: 26px;
    height: 26px;
  }
  .topbar-location-text {
    font-size: 0.78rem;
    white-space: nowrap;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-location-text br {
    display: none;
  }
  .topbar-location-text strong {
    font-weight: 400;
    color: #6b7280;
  }
  .topbar-appointment-text {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    min-width: 0;
  }
  .topbar-appointment-label:empty {
    display: none;
  }
  .topbar-appointment-label,
  .topbar-appointment-number {
    font-size: 0.78rem;
    font-weight: 400;
    color: #6b7280;
  }
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: #ffffff;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid #eceff3;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: #e5eaf1;
  box-shadow: 0 8px 20px rgba(2, 12, 27, 0.06);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 128px;
  gap: 26px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  border: none;
  background: #ffffff;
  box-shadow: none;
  flex-shrink: 0;
}
.nav-logo::after { display: none; }
.nav-logo-img {
  width: 340px;
  height: 128px;
  display: block;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.nav-logo-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 3px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-ribbon {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.nav-ribbon::before,
.nav-ribbon::after { display: none; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  min-width: 0;
  overflow: visible;
  scrollbar-width: none;
  justify-content: flex-end;
  margin-left: auto;
}
/* WordPress wp_nav_menu() wraps items in ul > li */
.nav-links > ul,
.nav-links .primary-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.nav-links .menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-ribbon,
.navbar .nav-inner {
  overflow: visible;
}
/* Desktop dropdown — hidden until hover/focus */
.nav-links .menu-item-has-children {
  position: relative;
}
.nav-links .menu-item-has-children > a::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}
.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(2, 12, 27, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-links .sub-menu a {
  display: block;
  width: 100%;
  white-space: nowrap;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-size: 1rem; font-weight: 500; color: #1f2937;
  padding: 8px 13px; border-radius: 8px;
  transition: var(--transition); position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); background: #f4f8ff; }
.nav-links a.active { color: var(--primary); background: #eef5ff; font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 10px; border: 1px solid #d8e0ea; background: #ffffff;
  border-radius: 10px;
}
.hamburger span {
  display: block; width: 18px; height: 2px;
  background: #1f2937; transition: var(--transition); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 92px; left: 0; right: 0; bottom: 0;
  background: #fff; padding: 24px; z-index: 999;
  flex-direction: column; gap: 4px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu > ul,
.mobile-menu .mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.mobile-menu .menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-menu .sub-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0 0 0 12px;
  list-style: none;
}
.mobile-menu .menu-item-has-children.is-expanded > .sub-menu {
  display: flex;
}
.mobile-menu .menu-item-has-children > a {
  justify-content: space-between;
}
.mobile-menu .menu-item-has-children > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform var(--transition);
}
.mobile-menu .menu-item-has-children.is-expanded > a::after {
  transform: rotate(180deg);
}
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--text-strong);
  padding: 14px 16px; border-radius: 10px;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
}
.mobile-menu a:hover { background: var(--mint-soft); color: var(--primary); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ===================== BANNER CAROUSEL ===================== */
.banner-carousel {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.banner-track {
  position: relative;
  display: flex;
  width: 100%;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.banner-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
}
.banner-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(13,63,147,0.22);
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 3;
}
.banner-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.banner-arrow-prev { left: 24px; }
.banner-arrow-next { right: 24px; }

/* ===================== STATS BAR ===================== */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 56px 0; color: #fff;
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(25,167,160,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(79,195,189,0.10) 0%, transparent 40%);
}
.stats-grid {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; position: relative;
}
.stat-item {
  display: flex; align-items: center; gap: 18px;
  padding: 8px 0;
}
.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.15); padding-right: 32px;
}
.stat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); flex-shrink: 0;
}
.stat-num { font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stat-num small { font-size: 1.2rem; color: var(--accent-light); margin-left: 2px; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 6px; font-weight: 500; }

/* ===================== ABOUT ===================== */
.about-inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: center;
}

.about-img-wrap { position: relative; }
.about-img {
  aspect-ratio: 4/5;
  /* background: linear-gradient(160deg, var(--mint) 0%, var(--mint-soft) 100%); */
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about-doctor-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: transparent;
  padding: 0;
  mix-blend-mode: normal;
  filter: none;
}
.about-img-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(14,95,118,0.10) 0%, transparent 50%);
}
.about-img-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary); opacity: 0.35;
}
.about-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,71,90,0.85) 100%);
  color: #fff;
}
.about-img-overlay-name {
  font-size: 1.2rem; font-weight: 700;
}
.about-img-overlay-spec {
  font-size: 0.85rem; opacity: 0.85; margin-top: 4px;
}

.about-floating {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.about-floating.tl { top: 24px; left: -32px; }
.about-floating.br { bottom: 60px; right: -32px; }
.about-floating-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--mint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-floating-num {
  font-size: 1.4rem; font-weight: 700; color: var(--primary); line-height: 1;
}
.about-floating-label {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; font-weight: 500;
}

.about-content { padding-right: 16px; }
.about-text {
  font-size: 1rem; color: var(--text-soft);
  line-height: 1.75; margin-bottom: 20px;
}

.about-credentials {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 32px 0;
}
.credential {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
}
.credential:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}
.credential-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--mint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.credential-title {
  font-size: 0.92rem; font-weight: 600; color: var(--text-strong);
  margin-bottom: 2px;
}
.credential-sub {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.5;
}

/* ===================== SERVICES ===================== */
.services {
  background: #fff;
  padding-bottom: 64px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.service-title {
  font-size: 1.18rem; font-weight: 700; color: var(--text-strong);
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.service-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--mint);
  border: 1px solid rgba(13,63,147,0.14);
  border-radius: 999px;
}
.service-desc {
  font-size: 0.92rem; color: var(--text-soft);
  line-height: 1.65; margin-bottom: 20px;
}
.service-features {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 18px; border-top: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.service-feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-soft);
}
.service-feat svg { color: var(--accent); flex-shrink: 0; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--primary);
  transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--primary-dark); }

/* ===================== WHY CHOOSE US ===================== */
.why {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.62)),
    url("assets/why-bg.png") left center / 100% auto no-repeat;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 44px;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0.3) 100%);
  pointer-events: none;
}
.why .container {
  position: relative;
  z-index: 1;
}
.why-inner {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 72px; align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item {
  display: flex; gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  backdrop-filter: blur(2px);
}
.why-item:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.why-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--mint), var(--mint-soft));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-text-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text-strong);
  margin-bottom: 6px;
}
.why-text-desc {
  font-size: 0.92rem; color: var(--text-soft);
  line-height: 1.65;
}

/* ===================== HAPPY PATIENTS ===================== */
.happy-patients {
  background: #fff;
  padding-top: 44px;
  padding-bottom: 22px;
}
.happy-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.happy-video-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  padding: 0;
}
.happy-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.happy-video-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.happy-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,63,147,0.92);
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}
.happy-video-title {
  display: block;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-strong);
  border-top: 1px solid var(--line-soft);
}
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 3000;
}
.video-modal.open { display: block; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 27, 0.72);
  backdrop-filter: blur(2px);
}
.video-modal-dialog {
  position: relative;
  width: min(960px, calc(100% - 32px));
  margin: 54px auto 0;
  z-index: 1;
}
.video-modal-frame-wrap {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow-xl);
}
.video-modal-frame-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.16);
  color: #fff;
  cursor: pointer;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  background: #fff;
  padding-top: 34px;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.testi-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testi-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.testi-quote-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.testi-card.featured .testi-quote-icon {
  background: rgba(255,255,255,0.15); color: var(--accent-light);
}
.testi-stars {
  color: #F59E0B; font-size: 0.95rem;
  letter-spacing: 2px; margin-bottom: 16px;
}
.testi-card.featured .testi-stars { color: #FCD34D; }
.testi-text {
  font-size: 0.96rem; color: var(--text-soft);
  line-height: 1.7; margin-bottom: 24px;
  flex-grow: 1;
}
.testi-card.featured .testi-text { color: rgba(255,255,255,0.92); }
.testi-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.testi-card.featured .testi-author { border-top-color: rgba(255,255,255,0.15); }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem;
  background: var(--mint); color: var(--primary); flex-shrink: 0;
}
.testi-card.featured .testi-avatar { background: rgba(255,255,255,0.18); color: #fff; }
.testi-name { font-weight: 700; font-size: 0.94rem; color: var(--text-strong); }
.testi-card.featured .testi-name { color: #fff; }
.testi-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.testi-card.featured .testi-meta { color: rgba(255,255,255,0.65); }

/* ===================== INSIGHTS VIDEO ===================== */
.insights-video { background: var(--bg); }
.insights-video-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #000;
  max-width: 1120px;
  margin: 0 auto;
}
.insights-video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* ===================== APPOINTMENT ===================== */
.appointment {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.appointment::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(25,167,160,0.18) 0%, transparent 60%);
}
.appointment::after {
  content: ''; position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,195,189,0.10) 0%, transparent 60%);
}
.appointment-inner {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 64px; align-items: center;
  position: relative;
}
.appointment .h2 { color: #fff; margin-bottom: 20px; }
.appointment-text {
  font-size: 1.05rem; color: rgba(255,255,255,0.78);
  line-height: 1.7; margin-bottom: 36px; max-width: 500px;
}
.appt-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 36px;
}
.appt-feat {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; color: rgba(255,255,255,0.92);
}
.appt-feat-check {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(25,167,160,0.25); color: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.appt-emergency {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}
.appt-emergency-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(220,38,38,0.20); color: #FCA5A5;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.appt-emergency-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 2px; font-weight: 500; }
.appt-emergency-num { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }

.appt-form-card {
  background: #fff; color: var(--text);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.appt-form-title {
  font-size: 1.5rem; font-weight: 700; color: var(--text-strong);
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.appt-form-subtitle {
  font-size: 0.92rem; color: var(--text-muted);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-strong); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font); font-size: 0.94rem;
  color: var(--text); background: var(--bg);
  transition: var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25,167,160,0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }

.appt-submit { width: 100%; justify-content: center; padding: 14px; }
.appt-form-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted);
  margin-top: 14px;
}

/* ===================== CONTACT ===================== */
.contact { background: #fff; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: stretch;
}
.contact-inner > .reveal.reveal-d1 {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-top: 0;
}
.contact-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 36px;
}
.contact-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--accent-light);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--mint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.contact-card-label {
  font-size: 0.74rem; font-weight: 600; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 0.06em; margin-bottom: 6px;
}
.contact-card-value {
  font-size: 0.98rem; font-weight: 600; color: var(--text-strong);
  line-height: 1.4; margin-bottom: 4px;
}
.contact-card-sub {
  font-size: 0.82rem; color: var(--text-muted);
}

.contact-map {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 480px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,95,118,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,95,118,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.contact-map-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px;
}
.contact-map-pin {
  width: 64px; height: 64px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 12px 32px rgba(14,95,118,0.30);
  animation: pinPulse 2.4s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.contact-map-title {
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-strong); margin-bottom: 6px;
}
.contact-map-addr {
  font-size: 0.92rem; color: var(--text-soft);
  margin-bottom: 20px;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--primary-darker); color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-top {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-mark {
  width: 340px;
  max-width: 100%;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-name { font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-spec { font-size: 0.78rem; color: var(--accent-light); }
.footer-desc {
  font-size: 0.92rem; color: rgba(255,255,255,0.65);
  line-height: 1.7; max-width: 320px; margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition); cursor: pointer;
}
.footer-social:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.92rem; font-weight: 700; color: #fff;
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-col ul a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom-text {
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: #fff; }

/* ===================== BACK TO TOP ===================== */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ===================== FLOATING SOCIAL BUTTONS ===================== */
.floating-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px 10px 0;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-left: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}
.floating-social__link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  transition: var(--transition);
}
.floating-social__link:hover,
.floating-social__link:focus-visible {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  transform: translateX(3px);
  outline: none;
}
.floating-social__link--whatsapp:hover,
.floating-social__link--whatsapp:focus-visible {
  background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .about-inner, .why-inner, .appointment-inner, .contact-inner {
    grid-template-columns: 1fr; gap: 56px;
  }
  .banner-slide { padding: 0; }
  .banner-image { height: auto; }
  .services-grid, .testimonials-grid, .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .happy-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card.featured { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:nth-child(2) { border-right: none; padding-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .about-floating.tl { left: 1px; top: -54px; height: 75px !important; }
  .about-floating.br { right: 16px; height: 75px !important; bottom: 81px !important; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .topbar-info span:nth-child(2) { display: none; }
  .topbar-cta { display: none; }
  .topbar-info { gap: 16px; font-size: 0.74rem; }
  .nav-inner { height: 84px; gap: 10px; }
  .nav-logo { padding: 0; border-radius: 0; }
  .nav-logo::after { display: none; }
  .nav-logo-img {
    width: auto;
    height: 54px;
    max-width: min(62vw, 240px);
    border-radius: 0;
    object-position: center;
  }
  .nav-logo-name { font-size: 0.9rem; }
  .nav-logo-title { font-size: 0.62rem; }

  .nav-ribbon {
    flex: 0 0 auto;
    padding: 0;
    border-radius: 0;
    min-width: auto;
    background: transparent;
  }
  .nav-ribbon::before,
  .nav-ribbon::after { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { top: 80px; }

  .floating-social {
    padding: 8px 6px 8px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  .floating-social__link {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .banner-carousel,
  .banner-track { background: #fff; }
  .banner-slide { padding: 0; }
  .banner-image {
    height: auto;
    object-fit: contain;
    object-position: center;
    background: #fff;
  }
  .banner-arrow {
    width: 34px;
    height: 34px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
  }
  .banner-arrow-prev { left: 18px; }
  .banner-arrow-next { right: 18px; }

  .services-grid, .testimonials-grid, .insights-grid, .contact-cards, .appt-features, .about-credentials {
    grid-template-columns: 1fr;
  }
  .happy-videos-grid { grid-template-columns: 1fr; gap: 14px; }
  .testi-card.featured { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { padding: 34px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item {
    border-right: none !important;
    padding-right: 0 !important;
    gap: 10px;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .stat-num { font-size: 1.5rem; }
  .stat-num small { font-size: 0.9rem; }
  .stat-label { font-size: 0.74rem; margin-top: 3px; }
  .contact-inner > .reveal.reveal-d1 { margin-top: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }
  .appt-form-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .banner-carousel,
  .banner-track { height: auto; }
  .banner-image { height: auto; }
  .banner-arrow {
    width: 30px;
    height: 30px;
  }
  .banner-arrow-prev { left: 10px; }
  .banner-arrow-next { right: 10px; }
  .video-modal-dialog {
    width: calc(100% - 18px);
    margin-top: 70px;
  }
  .stats-bar { padding: 26px 0; }
  .stats-grid {
    padding: 0 18px;
    gap: 16px;
  }
  .stat-icon {
    width: 34px;
    height: 34px;
  }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.7rem; }
}

/* ===================== ABOUT PAGE (about.html) ===================== */
.about-page-hero {
  position: relative;
  padding: 26px 0 64px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.about-page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 100% 20%, rgba(13, 63, 147, 0.07), transparent 58%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(14, 143, 159, 0.06), transparent 50%),
    linear-gradient(165deg, #f2f7fc 0%, #f8fcfa 38%, #fff 100%);
  pointer-events: none;
}
.about-page-hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 63, 147, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 63, 147, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 75% at 70% 35%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 35%, #000 20%, transparent 70%);
  pointer-events: none;
}
.about-page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 48px 56px;
  align-items: center;
}
.about-page-hero-copy {
  max-width: 640px;
}
.about-page-breadcrumb-nav { margin-bottom: 0; }
.about-page-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.875rem;
}
.about-page-breadcrumb-link {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}
.about-page-breadcrumb-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-page-breadcrumb-sep {
  color: var(--text-light);
  font-weight: 400;
  user-select: none;
}
.about-page-breadcrumb-current {
  color: var(--text-muted);
  font-weight: 600;
}
.about-page-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.about-page-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 143, 159, 0.2);
  flex-shrink: 0;
}
.about-page-title {
  margin-bottom: 18px;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.12;
}
.about-page-lede {
  font-size: 1.125rem;
  color: var(--text-soft);
  line-height: 1.68;
  max-width: 100%;
  margin: 0;
}
.about-page-hero-aside {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.about-page-hero-visual {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  max-width: 300px;
}
.about-page-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(13, 63, 147, 0.12);
  inset: 0;
  z-index: 0;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.about-page-hero-ring--2 {
  inset: 12%;
  border-color: rgba(14, 143, 159, 0.15);
  z-index: 1;
}
.about-page-hero-ring--3 {
  inset: 24%;
  border-color: rgba(13, 63, 147, 0.1);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(238, 250, 248, 0.6));
  box-shadow: 0 12px 40px rgba(13, 63, 147, 0.08);
  z-index: 2;
}
.about-page-hero-visual:hover .about-page-hero-ring--1 {
  border-color: rgba(13, 63, 147, 0.2);
  transform: scale(1.02);
}
.about-page-hero-visual:hover .about-page-hero-ring--2 {
  border-color: rgba(14, 143, 159, 0.28);
  transform: scale(1.01);
}
.about-page-hero-icon-wrap {
  position: absolute;
  inset: 28%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.18;
  font-size: clamp(3.5rem, 8vw, 5rem);
  pointer-events: none;
}
.about-page-hero-badge {
  position: absolute;
  top: 8%;
  right: 0;
  z-index: 4;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: about-hero-float 7s ease-in-out infinite;
}
.about-page-hero-badge--alt {
  top: auto;
  bottom: 12%;
  right: auto;
  left: 0;
  z-index: 4;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: transparent;
  animation-delay: -3.5s;
}
@keyframes about-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.about-page-stats {
  margin-top: -48px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(7, 37, 83, 0.18);
}
.about-page-stats + .about-page-section {
  padding-top: 88px;
}
.about-page-section {
  padding: 100px 0;
}
.about-page-section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.about-page-section--quote {
  padding: 72px 0;
  background: linear-gradient(180deg, #fff 0%, var(--mint-soft) 100%);
}
.about-page-prose {
  max-width: 880px;
  margin: 0 auto;
}
.about-page-prose .section-header {
  margin-bottom: 40px;
}
.about-page-prose .about-text:last-child {
  margin-bottom: 0;
}

/* Rich text from CMS (lists, subheadings, nested bullets) */
.about-rich-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.about-rich-content > p,
.about-rich-content > ul,
.about-rich-content > ol {
  margin: 0 0 20px;
}
.about-rich-content > p:last-child,
.about-rich-content > ul:last-child,
.about-rich-content > ol:last-child {
  margin-bottom: 0;
}
.about-rich-content > p:first-of-type {
  font-size: 1.0625rem;
  color: var(--text);
}
.about-rich-content p:has(> strong:only-child),
.about-rich-content p:has(> b:only-child) {
  margin-top: 36px;
  margin-bottom: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.about-rich-content > p:first-of-type:has(> strong:only-child),
.about-rich-content > p:first-of-type:has(> b:only-child) {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.about-rich-content p:has(> strong:only-child) strong,
.about-rich-content p:has(> b:only-child) b,
.about-rich-content h3,
.about-rich-content h4 {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.about-rich-content h3,
.about-rich-content h4 {
  margin: 36px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.about-rich-content > h3:first-child,
.about-rich-content > h4:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.about-rich-content strong:not(p strong),
.about-rich-content b:not(p b) {
  color: var(--primary-dark);
  font-weight: 600;
}
.about-rich-content > ul,
.about-rich-content > ol,
.about-rich-content p + ul,
.about-rich-content p + ol {
  list-style: none;
  margin: 0 0 24px;
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  box-shadow: 0 4px 20px rgba(13, 63, 147, 0.06);
}
.about-rich-content > ul > li,
.about-rich-content > ol > li,
.about-rich-content p + ul > li,
.about-rich-content p + ol > li {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: calc(var(--radius-lg) - 4px);
  color: var(--text);
  line-height: 1.65;
  transition: background var(--transition);
}
.about-rich-content > ul > li:hover,
.about-rich-content > ol > li:hover,
.about-rich-content p + ul > li:hover,
.about-rich-content p + ol > li:hover {
  background: rgba(238, 250, 248, 0.65);
}
.about-rich-content > ul > li::before,
.about-rich-content p + ul > li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 4px 12px rgba(13, 63, 147, 0.22);
}
.about-rich-content > ul > li::after,
.about-rich-content p + ul > li::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 27px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.about-rich-content > ol,
.about-rich-content p + ol {
  counter-reset: about-rich-ol;
}
.about-rich-content > ol > li,
.about-rich-content p + ol > li {
  counter-increment: about-rich-ol;
  padding-left: 52px;
}
.about-rich-content > ol > li::before,
.about-rich-content p + ol > li::before {
  content: counter(about-rich-ol);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 4px 12px rgba(13, 63, 147, 0.22);
}
.about-rich-content > ol > li::after,
.about-rich-content p + ol > li::after {
  display: none;
}
.about-rich-content li strong,
.about-rich-content li b {
  color: var(--primary-dark);
  font-weight: 600;
}
.about-rich-content ul ul,
.about-rich-content ol ol,
.about-rich-content ul ol,
.about-rich-content ol ul {
  margin: 12px 0 4px;
  padding: 4px 0 4px 8px;
  border: none;
  background: transparent;
  box-shadow: none;
  border-left: 2px solid rgba(14, 143, 159, 0.35);
  border-radius: 0;
}
.about-rich-content ul ul li,
.about-rich-content ol ol li {
  padding: 6px 8px 6px 22px;
  font-size: 0.96rem;
  color: var(--text-soft);
  border-radius: 0;
}
.about-rich-content ul ul li:hover,
.about-rich-content ol ol li:hover {
  background: transparent;
  color: var(--text);
}
.about-rich-content ul ul li::before {
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
}
.about-rich-content ul ul li::after {
  display: none;
}
.about-page-copy .about-rich-content + .about-rich-content {
  margin-top: 8px;
}
.about-page-prose .about-rich-content + .about-rich-content {
  margin-top: 12px;
}
.about-eyebrow-center {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}
.about-eyebrow-glow {
  position: relative;
  padding-left: 4px;
  padding-right: 4px;
}
.about-eyebrow-glow::before {
  content: '';
  position: absolute;
  inset: -8px -20px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(14, 143, 159, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.about-section-heading { position: relative; z-index: 1; }
.about-section-title-accent {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.about-section-title-line {
  background: linear-gradient(135deg, var(--text-strong) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-section-title-muted {
  color: var(--text-soft);
  font-weight: 600;
}
.about-section-journey {
  position: relative;
  overflow: hidden;
}
.about-section-journey-deco {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(ellipse 55% 40% at 15% 20%, rgba(13, 63, 147, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 45% at 90% 60%, rgba(14, 143, 159, 0.07), transparent 55%);
  pointer-events: none;
}
.about-section-journey .container { position: relative; z-index: 1; }
.about-section-focus {
  position: relative;
  overflow: hidden;
}
.about-section-focus-deco {
  position: absolute;
  inset: auto -15% -25% -15%;
  height: 65%;
  background:
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(13, 63, 147, 0.05), transparent 55%),
    radial-gradient(ellipse 45% 40% at 10% 40%, rgba(14, 143, 159, 0.06), transparent 50%);
  pointer-events: none;
}
.about-section-focus .container { position: relative; z-index: 1; }
.about-focus-sub {
  margin-top: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.about-milestones-sub {
  margin-top: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.about-media-lede {
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.about-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 56px 64px;
  align-items: start;
}
.about-page-visual { max-width: 380px; }
.about-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.about-page-actions--cta {
  margin-top: 0;
  flex-shrink: 0;
}
.img-placeholder {
  margin: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff 0%, var(--mint-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(13, 63, 147, 0.04), transparent 55%);
  pointer-events: none;
}
.img-placeholder-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
  color: var(--text-muted);
}
.img-placeholder-inner i {
  font-size: 2.75rem;
  color: var(--primary);
  opacity: 0.22;
}
.img-placeholder-inner span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.img-placeholder-inner--sm i { font-size: 2rem; }
.img-placeholder-inner--sm span { font-size: 0.72rem; }
.img-placeholder--portrait { aspect-ratio: 4 / 5; width: 100%; }
.img-placeholder--wide { aspect-ratio: 21 / 9; width: 100%; min-height: 140px; }
.img-placeholder--square { aspect-ratio: 1; width: 100%; min-height: 0; }
.img-placeholder--landscape { aspect-ratio: 16 / 9; width: 100%; min-height: 0; }
.about-page-media-grid { display: flex; flex-direction: column; gap: 18px; }
.about-page-media-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
}
.about-timeline-shell {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(165deg, #fff 0%, var(--mint-soft) 100%);
  border: 1px solid rgba(13, 63, 147, 0.08);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 6px rgba(13, 63, 147, 0.03),
    0 24px 48px rgba(13, 63, 147, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 12px 40px 16px;
}
.about-timeline-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
  background-size: 200% 100%;
  animation: about-timeline-shimmer 5s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes about-timeline-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.about-page-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-top: 8px;
}
.about-page-timeline::before {
  content: '';
  position: absolute;
  left: calc(108px + 14px - 1.5px);
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 143, 159, 0.45) 0%, rgba(13, 63, 147, 0.25) 50%, rgba(14, 143, 159, 0.35) 100%);
  box-shadow: 0 0 16px rgba(14, 143, 159, 0.2);
}
.about-page-timeline-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 20px 28px;
  align-items: center;
  padding: 20px 16px 20px 12px;
  margin: 0 -12px;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.55;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.about-page-timeline-item:last-child { border-bottom: none; }
.about-page-timeline-item:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(13, 63, 147, 0.07);
  transform: translateX(4px);
}
.about-page-timeline-year {
  position: relative;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 10px 12px;
  text-align: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(13, 63, 147, 0.08) 0%, rgba(14, 143, 159, 0.06) 100%);
  border: 1px solid rgba(13, 63, 147, 0.1);
  box-shadow: 0 2px 8px rgba(13, 63, 147, 0.04);
}
.about-page-timeline-year::after {
  content: '';
  position: absolute;
  left: calc(100% + 14px - 5.5px);
  top: 50%;
  margin-top: -5.5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow:
    0 0 0 4px rgba(14, 143, 159, 0.12),
    0 4px 12px rgba(13, 63, 147, 0.12);
  z-index: 2;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.about-page-timeline-item:hover .about-page-timeline-year::after {
  transform: scale(1.15);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 5px rgba(14, 143, 159, 0.18), 0 6px 16px rgba(13, 63, 147, 0.15);
}
.about-quote {
  margin: 0 auto;
  max-width: 760px;
  padding: 0;
  border: none;
  text-align: center;
}
.about-quote-text {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: var(--text-strong);
  line-height: 1.55;
  font-style: italic;
  letter-spacing: -0.01em;
}
.about-quote-attrib {
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.about-expertise-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-light), var(--accent), var(--primary));
  background-size: 200% 200%;
  animation: about-expertise-border 10s ease infinite;
  box-shadow: 0 20px 50px rgba(13, 63, 147, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
@keyframes about-expertise-border {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.about-expertise-list {
  margin: 0;
  padding: 8px 10px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border-radius: calc(var(--radius-xl) - 2px);
  background: linear-gradient(180deg, #fff 0%, #fafcfe 100%);
}
.about-expertise-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(13, 63, 147, 0.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.about-expertise-list li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 63, 147, 0.04), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.about-expertise-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(13, 63, 147, 0.1);
  border-color: rgba(14, 143, 159, 0.25);
}
.about-expertise-list li:hover::before { opacity: 1; }
.about-expertise-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 55%, var(--accent) 130%);
  background-size: 140% 140%;
  box-shadow: 0 8px 22px rgba(13, 63, 147, 0.28);
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}
.about-expertise-list li:hover .about-expertise-icon {
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 12px 28px rgba(13, 63, 147, 0.35);
}
.about-expertise-text { position: relative; z-index: 1; padding-top: 2px; }
.about-page-cta {
  padding: 72px 0 96px;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 48%, #0a5080 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-page-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(47, 184, 200, 0.2), transparent 45%);
  pointer-events: none;
}
.about-page-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.about-page-cta-copy { flex: 1; min-width: 260px; max-width: 560px; }
.about-page-cta-title {
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.about-page-cta-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
.about-page-cta .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.about-page-cta .btn-primary:hover {
  background: var(--mint-soft);
  border-color: var(--mint-soft);
  color: var(--primary-darker);
}
.about-page-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.about-page-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .about-page-hero-badge,
  .about-timeline-shell::before,
  .about-expertise-panel { animation: none !important; }
  .about-page-hero-visual:hover .about-page-hero-ring--1,
  .about-page-hero-visual:hover .about-page-hero-ring--2 { transform: none; }
  .about-page-timeline-item:hover { transform: none; }
  .about-page-timeline-item:hover .about-page-timeline-year::after { transform: none; }
  .about-expertise-list li:hover { transform: none; }
  .about-expertise-list li:hover .about-expertise-icon { transform: none; }
}

@media (max-width: 900px) {
  .about-rich-content > ul > li,
  .about-rich-content > ol > li,
  .about-rich-content p + ul > li,
  .about-rich-content p + ol > li {
    padding-left: 42px;
  }
  .about-rich-content > ul > li::before,
  .about-rich-content p + ul > li::before {
    width: 20px;
    height: 20px;
    left: 12px;
    top: 18px;
  }
  .about-rich-content > ul > li::after,
  .about-rich-content p + ul > li::after {
    left: 18px;
    top: 24px;
    width: 7px;
    height: 4px;
  }

  .about-page-hero { padding: 96px 0 72px; }
  .about-page-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-page-hero-copy { max-width: none; }
  .about-page-hero-aside {
    min-height: 200px;
    max-width: 280px;
    margin: 0 auto;
  }
  .about-page-hero-visual { max-width: 260px; }
  .about-page-stats {
    margin-top: -28px;
  }
  .about-page-grid {
    grid-template-columns: 1fr;
  }
  .about-page-visual { max-width: 320px; margin: 0 auto; }
  .about-page-media-row { grid-template-columns: 1fr; }
  .about-page-timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    padding: 18px 14px;
    margin: 0;
  }
  .about-page-timeline-item:hover { transform: none; }
  .about-page-timeline::before,
  .about-page-timeline-year::after { display: none; }
  .about-page-timeline-year {
    text-align: left;
    display: inline-block;
    width: auto;
    margin-bottom: 4px;
  }
  .about-timeline-shell { padding: 4px 22px 8px; }
  .about-expertise-list { grid-template-columns: 1fr; }
  .about-page-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-page-actions--cta { width: 100%; }
  .about-page-actions--cta .btn { flex: 1; min-width: 140px; text-align: center; justify-content: center; }
}

/* ===================== SERVICES PAGE (services.html) ===================== */
.page-services {
  background: linear-gradient(180deg, #d9e4f2 0%, #e8eef6 18%, #eef2f8 45%, #f2f5f9 100%);
  min-height: 100vh;
}
.page-services .section {
  background: transparent;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.services-hero {
  position: relative;
  padding: 14px 0 30px;
  border-bottom: none;
  overflow: hidden;
  background: linear-gradient(165deg, #d2e0f0 0%, #e4edf7 35%, #f0f6fc 70%, #f7fafc 100%);
}
/* .services-hero--simple {
  padding: 72px 0 56px;
} */
.services-hero--simple .services-hero-layout {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.services-hero--simple .services-hero-copy {
  max-width: none;
}
.services-hero--simple .about-page-breadcrumb-list {
  justify-content: center;
}
.services-hero--simple .about-page-kicker {
  justify-content: center;
}
.services-hero--simple .services-hero-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
.services-hero--simple .services-hero-actions {
  justify-content: center;
  margin-top: 26px;
}
.services-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(13, 63, 147, 0.12), transparent 52%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(14, 143, 159, 0.1), transparent 50%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.75) 100%);
  pointer-events: none;
}
.services-hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 143, 159, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 63, 147, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 72% 32%, #000 18%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 72% 32%, #000 18%, transparent 68%);
  pointer-events: none;
}
.services-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, min(46vw, 520px));
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.services-hero-copy {
  max-width: 580px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.services-hero-title {
  margin-bottom: 16px;
  letter-spacing: -0.035em;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.12;
  background: linear-gradient(115deg, var(--text-strong) 0%, var(--primary) 38%, var(--accent) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.services-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.services-hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 63, 147, 0.12);
  box-shadow: 0 4px 16px rgba(13, 63, 147, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.services-hero-highlights li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 63, 147, 0.1);
  border-color: rgba(14, 143, 159, 0.25);
}
.services-hero-highlights strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.services-hero-lede {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.68;
  margin: 0 0 22px;
}
.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.services-hero-aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}
.services-hero-media {
  margin: 0;
  width: 100%;
  max-width: 520px;
}
.services-hero-media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  line-height: 0;
  box-shadow:
    0 28px 64px rgba(13, 63, 147, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.65);
  transition: box-shadow var(--transition), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.services-hero-media:hover .services-hero-media-frame,
.services-hero-media:focus-within .services-hero-media-frame {
  box-shadow:
    0 36px 72px rgba(13, 63, 147, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  transform: translateY(-4px);
}
.services-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.services-trust {
  position: relative;
  padding: 44px 0 52px;
  background: linear-gradient(180deg, #c5d8eb 0%, #dce8f4 40%, #e8f0f8 100%);
  border-bottom: 1px solid rgba(13, 63, 147, 0.12);
  overflow: hidden;
}
.services-trust-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(13, 63, 147, 0.05), transparent 55%),
    radial-gradient(ellipse 45% 50% at 95% 80%, rgba(14, 143, 159, 0.06), transparent 50%);
  pointer-events: none;
}
.services-trust .container { position: relative; z-index: 1; }
.services-trust-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.services-trust-heading {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin: 0 0 10px;
}
.services-trust-sub {
  margin: 0;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.services-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.services-trust-card {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(13, 63, 147, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition), border-color var(--transition);
}
.services-trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.services-trust-card:hover::before { transform: scaleX(1); }
.services-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 143, 159, 0.22);
}
.services-trust-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 8px 22px rgba(13, 63, 147, 0.22);
  transition: transform 0.35s ease;
}
.services-trust-card:hover .services-trust-icon {
  transform: scale(1.06) rotate(-4deg);
}
.services-trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.services-trust-desc {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

.services-pathway {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #f5f8fc 0%, #fff 50%, #f0f5fa 100%);
  border-bottom: 1px solid rgba(13, 63, 147, 0.1);
}
.services-pathway-header {
  text-align: center;
  margin-bottom: 40px;
}
.services-pathway-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.services-pathway-step {
  position: relative;
  z-index: 1;
  padding: 22px 20px 24px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 36px rgba(13, 63, 147, 0.08);
}
.services-pathway-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 10px 28px rgba(13, 63, 147, 0.25);
  margin-bottom: 18px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}
.services-pathway-step:hover .services-pathway-num {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(13, 63, 147, 0.3);
}
.services-pathway-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.services-pathway-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.services-at-a-glance {
  position: relative;
  padding: 44px 0 48px;
  overflow: hidden;
}
.services-at-a-glance-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 42%, #0a5080 100%);
}
.services-at-a-glance-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 80% 20%, rgba(47, 184, 200, 0.25), transparent 55%);
  pointer-events: none;
}
.services-at-a-glance .container {
  position: relative;
  z-index: 1;
}
.services-at-a-glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-glance-card {
  padding: 26px 22px 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.services-glance-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.services-glance-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
  color: var(--primary);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.services-glance-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.services-glance-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.88);
}
.services-glance-card strong {
  color: #fff;
  font-weight: 700;
}

.services-directory {
  position: relative;
  padding-top: 56px;
  padding-bottom: 64px;
  background: linear-gradient(180deg, #cfdcea 0%, #dce6f2 25%, #e8eef6 100%);
}
.services-directory::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
  opacity: 0.7;
}
.services-directory-lede {
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}
.services-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 8px;
  max-width: 720px;
}
.services-filter-btn {
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(13, 63, 147, 0.18);
  background: #fff;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}
.services-filter-btn:hover {
  border-color: rgba(14, 143, 159, 0.35);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.services-filter-btn.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(13, 63, 147, 0.28);
}
.services-directory-panel {
  margin-top: 28px;
  padding: 32px 28px 36px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 64px rgba(13, 63, 147, 0.14), 0 0 0 1px rgba(13, 63, 147, 0.06);
}
.services-main {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  margin-top: 0;
}
.services-toc {
  position: sticky;
  top: 100px;
  padding: 22px 16px 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #fff 0%, rgba(238, 250, 248, 0.85) 100%);
  border: 1px solid var(--line-soft);
  box-shadow: 0 12px 40px rgba(13, 63, 147, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}
.services-toc-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.services-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.services-toc-link i {
  width: 1.1rem;
  text-align: center;
  color: var(--accent);
  opacity: 0.85;
  flex-shrink: 0;
}
.services-toc-link span { line-height: 1.3; }
.services-toc-link:hover {
  color: var(--primary);
  background: rgba(13, 63, 147, 0.06);
  transform: translateX(2px);
}
.services-toc-link.is-active {
  color: var(--primary);
  background: rgba(13, 63, 147, 0.08);
  border-left-color: var(--accent);
}
.services-toc-link.is-active i { color: var(--primary); }
.services-toc-link--bottom {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.services-spotlight {
  scroll-margin-top: 104px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(13, 63, 147, 0.14), rgba(14, 143, 159, 0.22), rgba(13, 63, 147, 0.1));
  background-size: 200% 200%;
  transition: box-shadow 0.45s ease, transform 0.45s ease, background-position 0.8s ease, opacity 0.35s ease;
}
.services-spotlight:nth-child(6n + 2),
.services-spotlight:nth-child(6n + 5) {
  background: linear-gradient(135deg, rgba(14, 143, 159, 0.18), rgba(13, 63, 147, 0.12), rgba(14, 143, 159, 0.14));
}
.services-spotlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(13, 63, 147, 0.12);
  background-position: 100% 50%;
}
.services-spotlight-inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 28px 28px 26px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.services-spotlight-index {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(13, 63, 147, 0.11);
  pointer-events: none;
  user-select: none;
}
.services-spotlight-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.services-spotlight-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 10px 26px rgba(13, 63, 147, 0.28);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}
.services-spotlight:hover .services-spotlight-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 14px 32px rgba(13, 63, 147, 0.32);
}
.services-spotlight-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.services-spotlight .service-desc { margin-bottom: 14px; color: var(--text); }
.services-spotlight-ideal {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-soft);
  background: linear-gradient(90deg, rgba(14, 143, 159, 0.08), rgba(13, 63, 147, 0.04));
  border-left: 3px solid var(--accent);
}
.services-spotlight-ideal-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.services-spotlight-bullets {
  margin: 0 0 22px;
  padding: 0 0 0 1.1rem;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.6;
}
.services-spotlight-bullets li { margin-bottom: 6px; }
.services-spotlight-bullets li::marker { color: var(--accent); }
.services-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.services-spotlight-actions .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-faq-section {
  background: linear-gradient(180deg, #dce6f2 0%, #e8eef6 40%, #f0f4f9 100%);
  border-top: 1px solid rgba(13, 63, 147, 0.1);
  padding: 52px 0 64px;
}
.services-faq-section .section-header {
  margin-bottom: 28px;
}
.services-faq-intro {
  margin-top: 8px;
  margin-bottom: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}
.services-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.services-faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 63, 147, 0.1);
  background: #fff;
  box-shadow: 0 4px 14px rgba(13, 63, 147, 0.06);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.services-faq-item:hover {
  box-shadow: 0 10px 24px rgba(13, 63, 147, 0.1);
  border-color: rgba(14, 143, 159, 0.28);
  transform: translateY(-1px);
}
.services-faq-item[open] {
  box-shadow: 0 14px 30px rgba(13, 63, 147, 0.12);
  border-color: rgba(14, 143, 159, 0.32);
  transform: none;
}
.services-faq-item[open]::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.services-faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-strong);
  position: relative;
  transition: background var(--transition), color var(--transition);
}
.services-faq-summary::-webkit-details-marker { display: none; }
.services-faq-summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  background: rgba(13, 63, 147, 0.08);
  transition: transform 0.3s ease, background var(--transition), color var(--transition);
}
.services-faq-item[open] .services-faq-summary {
  color: var(--primary-darker);
}
.services-faq-item[open] .services-faq-summary::after {
  content: '\2212';
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}
.services-faq-summary:hover { background: rgba(13, 63, 147, 0.03); }
.services-faq-summary:hover::after {
  background: rgba(13, 63, 147, 0.14);
}
.services-faq-panel {
  padding: 4px 24px 22px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: services-faq-open 0.35s ease;
}
.services-faq-panel p { margin: 0; }
@keyframes services-faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .services-trust-card:hover,
  .services-spotlight:hover { transform: none; }
  .services-spotlight:hover .services-spotlight-icon { transform: none; }
  .services-hero-media:hover .services-hero-media-frame,
  .services-hero-media:focus-within .services-hero-media-frame {
    transform: none;
  }
  .services-faq-panel { animation: none; }
  .services-hero-highlights li:hover { transform: none; }
  .services-trust-card:hover .services-trust-icon { transform: none; }
  .services-pathway-step:hover .services-pathway-num { transform: none; }
}

@media (max-width: 1024px) {
  .services-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-at-a-glance-grid { grid-template-columns: repeat(2, 1fr); }
  .services-pathway-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .services-hero { padding: 96px 0 72px; }
  .services-hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-hero-copy { max-width: none; }
  .services-hero-aside {
    justify-content: center;
    max-width: min(100%, 440px);
    margin: 0 auto;
  }
  .services-hero-media {
    max-width: 100%;
  }
  .services-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .services-toc {
    position: relative;
    top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 6px;
    padding: 16px;
  }
  .services-toc-label {
    width: 100%;
    margin-bottom: 6px;
  }
  .services-toc-link {
    display: inline-flex;
    margin-bottom: 0;
    padding: 8px 12px;
    font-size: 0.8125rem;
    border-left: none;
    border-radius: 999px;
    background: rgba(13, 63, 147, 0.06);
  }
  .services-toc-link i { font-size: 0.8rem; }
  .services-toc-link.is-active {
    background: var(--primary);
    color: #fff;
    border-left: none;
  }
  .services-toc-link.is-active i { color: rgba(255, 255, 255, 0.92); }
  .services-toc-link--bottom {
    width: 100%;
    margin-top: 8px;
    padding-top: 12px;
    border-radius: var(--radius-sm);
  }
  .services-spotlight-inner { padding-right: 56px; }
  .services-spotlight-index { font-size: 2rem; top: 16px; right: 14px; }
  .services-at-a-glance-grid { grid-template-columns: 1fr; }
  .services-directory-panel {
    padding: 22px 16px 26px;
    margin-top: 20px;
    border-radius: var(--radius-lg);
  }
}
@media (max-width: 560px) {
  .services-trust-grid { grid-template-columns: 1fr; }
  .services-at-a-glance { padding: 40px 0 44px; }
  .services-glance-card { padding: 20px 18px 22px; }
}

/* ===================== CENTERS OF EXCELLENCE (home tiles) ===================== */
.coe-sub {
  text-align: center;
  max-width: 640px;
  margin: 18px auto 36px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.coe-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.coe-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px 18px 26px;
  min-height: 168px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--primary-darker);
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(13, 63, 147, 0.1);
  box-shadow: 0 6px 18px rgba(13, 63, 147, 0.08),
              0 1px 2px rgba(13, 63, 147, 0.04);
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.coe-tile:hover,
.coe-tile:focus-visible {
  background: #ffffff;
  color: var(--primary-darker);
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent) inset,
    0 14px 30px rgba(14, 143, 159, 0.14),
    0 2px 6px rgba(13, 63, 147, 0.06);
  transform: translateY(-3px);
  outline: none;
}
.coe-tile-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: inherit;
  transition: transform var(--transition);
}
.coe-tile-icon i { color: inherit; }
.coe-tile-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  color: inherit;
}
/* Image icons: shown in their natural color, recoloured to white on hover. */
.coe-tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: filter var(--transition);
}
.coe-tile:hover .coe-tile-icon,
.coe-tile:focus-visible .coe-tile-icon {
  transform: scale(1.06);
}
/* Icons keep their natural colour on hover (no white-invert).
   The hover state is now a clean teal outline + soft shadow only. */
.coe-tile-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .coe-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .coe-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .coe-tile { min-height: 150px; padding: 24px 14px 22px; }
  .coe-tile-icon { width: 54px; height: 54px; font-size: 2rem; }
  .coe-tile-label { font-size: 0.94rem; }
}
@media (max-width: 480px) {
  .coe-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .coe-tile,
  .coe-tile-icon,
  .coe-tile-icon img { transition: none; }
  .coe-tile:hover,
  .coe-tile:focus-visible { transform: none; }
  .coe-tile:hover .coe-tile-icon,
  .coe-tile:focus-visible .coe-tile-icon { transform: none; }
}

/* ===================== COE SECTION BACKGROUND PATTERN =====================
   Themed backdrop for the "Centers of Excellence" tile grid.
   Layered, in stacking order (top -> bottom):
     1. Soft orange glow (top-left)   -> ties in the accent hover colour
     2. Soft navy glow   (bottom-right) -> brand primary
     3. Fine navy dot grid             -> subtle texture, clinical feel
     4. Cool base gradient             -> light blue wash, easy on eyes
   Tiles sit on top with their own white card surfaces so the pattern
   reads as ambient backdrop, never competing with content.
============================================================================ */
.coe-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 620px 420px at 6% -10%,
      rgba(254, 130, 76, 0.10), transparent 65%),
    radial-gradient(ellipse 720px 520px at 96% 110%,
      rgba(13, 63, 147, 0.12), transparent 65%),
    radial-gradient(circle at 1px 1px,
      rgba(13, 63, 147, 0.12) 1px, transparent 1.6px),
    linear-gradient(180deg, #f4f8fd 0%, #e7eff8 55%, #dfe9f4 100%);
  background-size: auto, auto, 22px 22px, auto;
  background-attachment: scroll;
}

/* Decorative "medical plus" motif in opposing corners -- pure CSS, no images.
   Uses the same dot-grid trick rotated into a plus, kept very faint. */
.coe-section::before,
.coe-section::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(0deg, transparent 46%, rgba(13, 63, 147, 0.18) 46%, rgba(13, 63, 147, 0.18) 54%, transparent 54%),
    linear-gradient(90deg, transparent 46%, rgba(13, 63, 147, 0.18) 46%, rgba(13, 63, 147, 0.18) 54%, transparent 54%);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
}
.coe-section::before {
  top: -60px;
  left: -60px;
}
.coe-section::after {
  bottom: -60px;
  right: -60px;
  opacity: 0.45;
  background-image:
    linear-gradient(0deg, transparent 46%, rgba(254, 130, 76, 0.22) 46%, rgba(254, 130, 76, 0.22) 54%, transparent 54%),
    linear-gradient(90deg, transparent 46%, rgba(254, 130, 76, 0.22) 46%, rgba(254, 130, 76, 0.22) 54%, transparent 54%);
}

/* Keep the .container above the decorative pseudo-elements. */
.coe-section > .container {
  position: relative;
  z-index: 1;
}

/* The pre-existing .services-directory has its own top accent bar; preserve it. */
.coe-section.services-directory::before {
  /* If both ::before rules apply, the later one wins -- the original 4px ribbon
     was defined earlier, so re-declare it here to keep the ribbon intact. */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
  opacity: 0.7;
  mask-image: none;
  -webkit-mask-image: none;
}
/* Add the corner motif back on services-directory via a wrapper element fallback:
   we use the ::after slot for the orange corner motif (already defined above),
   and rely on background layers for the navy corner glow. */

@media (max-width: 768px) {
  .coe-section::before,
  .coe-section::after {
    width: 140px;
    height: 140px;
    opacity: 0.35;
  }
}

/* ===================== SERVICE DETAIL PAGE (bariatric-surgery.html etc.) ===================== */
.page-service-detail {
  background: #fff;
}
.page-service-detail .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero band */
.svc-hero {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 60%, #0a5080 100%);
  color: #fff;
  padding: 56px 0 44px;
  position: relative;
  overflow: hidden;
}
.svc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(47, 184, 200, 0.18), transparent 55%);
  pointer-events: none;
}
.svc-hero .container {
  position: relative;
  z-index: 1;
}
.svc-hero-title {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
}
.svc-hero-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.svc-hero-crumb a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  transition: color var(--transition);
}
.svc-hero-crumb a:hover { color: #fff; text-decoration: underline; }
.svc-hero-crumb span[aria-current] {
  color: #fe824c;
  font-weight: 600;
}

/* Main grid */
.svc-section {
  padding: 56px 0 48px;
}
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.svc-article {
  font-size: 1rem;
  line-height: 1.8;
  color: #1a2834;
  /* background: #e8f2f7; */
  border-radius: 6px;
  padding: 32px 36px 36px;
  /* border: 1px solid rgba(13, 63, 147, 0.08); */
  text-align: justify;
  text-justify: inter-word;
}
.svc-article::after {
  content: '';
  display: table;
  clear: both;
}
.svc-article > p,
.svc-article > ul,
.svc-block--text > p,
.svc-block--text > ul,
.svc-block--legacy > p,
.svc-block--legacy > ul {
  margin: 0 0 22px;
}
.svc-block {
  margin-bottom: 0;
}
.svc-block--text,
.svc-block--legacy {
  margin-bottom: 22px;
  width: 100%;
  text-align: justify;
  text-justify: inter-word;
}
.svc-block--text:last-child,
.svc-block--legacy:last-child {
  margin-bottom: 0;
}
/* Uniform body copy — justified paragraphs, dark body text */
.svc-block--text p,
.svc-block--text li,
.svc-block--legacy p,
.svc-block--legacy li,
.svc-figure__caption--rich p,
.svc-figure__caption--rich li {
  margin: 0;
  color: #1a2834 !important;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}
.svc-block--text p + p,
.svc-block--legacy p + p,
.svc-figure__caption--rich p + p {
  margin-top: 22px;
}
.svc-block--text ul,
.svc-block--legacy ul,
.svc-figure__caption--rich ul {
  list-style: disc;
  padding-left: 24px;
  margin: 14px 0 18px;
}
.svc-block--text ol,
.svc-block--legacy ol,
.svc-figure__caption--rich ol {
  list-style: decimal;
  padding-left: 24px;
  margin: 14px 0 18px;
}
.svc-block--text li,
.svc-block--legacy li,
.svc-figure__caption--rich li {
  display: list-item;
  margin: 6px 0;
  padding-left: 0;
}
.svc-block--text ul ul,
.svc-block--legacy ul ul,
.svc-figure__caption--rich ul ul {
  list-style: circle;
  margin-top: 8px;
}
.svc-block--text ol ol,
.svc-block--legacy ol ol,
.svc-figure__caption--rich ol ol {
  list-style: lower-alpha;
  margin-top: 8px;
}
.svc-block--text > *:last-child,
.svc-block--legacy > *:last-child {
  margin-bottom: 0;
}
/* Keep headings left-aligned; justify pasted paragraph copy */
.svc-block--text p.has-text-align-center,
.svc-block--text p.aligncenter,
.svc-block--legacy p.has-text-align-center,
.svc-block--legacy p.aligncenter,
.svc-figure__caption--rich p.has-text-align-center,
.svc-figure__caption--rich p.aligncenter {
  text-align: justify !important;
  text-justify: inter-word;
}
.svc-block--text h2.has-text-align-center,
.svc-block--text h3.has-text-align-center,
.svc-block--text h4.has-text-align-center,
.svc-block--legacy h2.has-text-align-center,
.svc-block--legacy h3.has-text-align-center,
.svc-block--legacy h4.has-text-align-center,
.svc-figure__caption--rich h2.has-text-align-center,
.svc-figure__caption--rich h3.has-text-align-center,
.svc-figure__caption--rich h4.has-text-align-center {
  text-align: left !important;
}
/* Inline images inserted via WYSIWYG Add Media */
.svc-block--text img,
.svc-block--legacy img,
.svc-figure__caption--rich img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  /* box-shadow: 0 10px 32px rgba(13, 63, 147, 0.14);
  border: 1px solid var(--line-soft); */
}
.svc-block--text img.alignleft,
.svc-block--legacy img.alignleft,
.svc-figure__caption--rich img.alignleft,
.svc-block--text .wp-caption.alignleft,
.svc-block--legacy .wp-caption.alignleft,
.svc-figure__caption--rich .wp-caption.alignleft {
  float: left;
  width: auto;
  max-width: min(48%, 340px);
  margin: 6px 28px 18px 0;
}
.svc-block--text img.alignright,
.svc-block--legacy img.alignright,
.svc-figure__caption--rich img.alignright,
.svc-block--text .wp-caption.alignright,
.svc-block--legacy .wp-caption.alignright,
.svc-figure__caption--rich .wp-caption.alignright {
  float: right;
  width: auto;
  max-width: min(48%, 340px);
  margin: 6px 0 18px 28px;
}
.svc-block--text img.aligncenter,
.svc-block--legacy img.aligncenter,
.svc-figure__caption--rich img.aligncenter,
.svc-block--text .wp-caption.aligncenter,
.svc-block--legacy .wp-caption.aligncenter,
.svc-figure__caption--rich .wp-caption.aligncenter {
  display: block;
  max-width: min(100%, 640px);
  margin: 24px auto;
}
.svc-block--text .wp-caption,
.svc-block--legacy .wp-caption,
.svc-figure__caption--rich .wp-caption {
  max-width: 100%;
  margin: 24px 0;
  background: transparent;
  border: 0;
  padding: 0;
}
.svc-block--text .wp-caption img,
.svc-block--legacy .wp-caption img,
.svc-figure__caption--rich .wp-caption img {
  margin: 0;
}
.svc-block--text .wp-caption-text,
.svc-block--legacy .wp-caption-text,
.svc-figure__caption--rich .wp-caption-text {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  text-align: left !important;
}
/* WYSIWYG h2 headings — same brand gradient as site-wide h2 */
.svc-article .svc-block-heading,
.svc-article .svc-block--text h2,
.svc-article .svc-block--legacy h2,
.svc-article .svc-figure__caption--rich h2 {
  background-image: linear-gradient(135deg, #022d80 0%, #26b3da 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #022d80;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  margin: 0 0 18px !important;
  text-align: left !important;
}
.svc-block--text h3,
.svc-block--legacy h3,
.svc-figure__caption--rich h3 {
  background: none !important;
  -webkit-text-fill-color: var(--primary-darker) !important;
  color: var(--primary-darker) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 22px 0 10px !important;
  text-align: left !important;
}
.svc-block--text a,
.svc-block--legacy a,
.svc-figure__caption--rich a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.svc-block--text strong,
.svc-block--legacy strong,
.svc-figure__caption--rich strong {
  color: #0f1c26;
  font-weight: 600;
}

/* Inline images between paragraphs */
.svc-figure {
  margin: 28px 0;
  padding: 0;
  border: 0;
}
.svc-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 32px rgba(13, 63, 147, 0.14);
  border: 1px solid var(--line-soft);
}
.svc-figure__caption {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #1a2834;
  text-align: left !important;
  width: 100%;
}
.svc-figure__caption--rich p:last-child {
  margin-bottom: 0;
}
.svc-figure--center {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.svc-figure--center .svc-figure__img {
  max-width: min(100%, 640px);
  margin-left: auto;
  margin-right: auto;
}
.svc-figure--left {
  float: left;
  width: min(48%, 340px);
  margin: 6px 28px 18px 0;
}
.svc-figure--right {
  float: right;
  width: min(48%, 340px);
  margin: 6px 0 18px 28px;
}
.svc-article-heading {
  background-image: linear-gradient(135deg, #022d80 0%, #26b3da 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #022d80;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 28px 0 14px;
}
.svc-article-heading:first-child { margin-top: 0; }
.svc-article-subhead {
  color: var(--primary-darker);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 22px 0 10px;
}
.svc-article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.svc-article-list li {
  position: relative;
  padding: 4px 0 4px 22px;
}
.svc-article-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-darker);
}

/* Sidebar */
.svc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 96px;
}
.svc-side-box {
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(7, 37, 83, 0.1);
}
.svc-side-box--list {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}
.svc-side-box--form {
  background: var(--primary-darker);
  color: #fff;
}
.svc-side-title {
  margin: 0;
  padding: 18px 22px 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
}
.svc-side-box--list .svc-side-title {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}
.svc-side-box--form .svc-side-title {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.svc-side-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 10px 0 4px;
  border-radius: 2px;
}
.svc-side-box--list .svc-side-title::after {
  background: var(--primary);
}
.svc-side-box--form .svc-side-title::after {
  background: rgba(255, 255, 255, 0.85);
}
.svc-side-list {
  list-style: none;
  margin: 0;
  padding: 8px 14px 18px;
}
.svc-side-list > li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-side-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
  transition: padding var(--transition), background var(--transition), color var(--transition);
}
.svc-side-list > li:last-child > a { border-bottom: none; }
.svc-side-list li a i {
  font-size: 0.8rem;
  color: var(--accent);
  opacity: 0.85;
  transition: transform var(--transition);
}
.svc-side-list li a:hover {
  padding-left: 14px;
  color: var(--primary-dark);
  background: #f4f8ff;
}
.svc-side-list li a:hover i {
  transform: translateX(2px);
}
.svc-side-list .sub-menu {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0 0 4px 14px;
  border-left: 2px solid var(--line-soft);
}
.svc-side-list .sub-menu li a {
  padding: 8px 8px 8px 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary-light);
  border-bottom: 1px solid var(--line-soft);
}
.svc-side-list .sub-menu li:last-child a { border-bottom: none; }
.svc-side-list .sub-menu li a:hover {
  color: var(--primary);
  background: #f4f8ff;
}
.svc-side-list li.is-active > a,
.svc-side-list .current-menu-item > a,
.svc-side-list .current-menu-ancestor > a {
  color: var(--primary);
  background: #eef5ff;
  font-weight: 700;
}
.svc-side-list li.is-active > a i,
.svc-side-list .current-menu-item > a i,
.svc-side-list .current-menu-ancestor > a i {
  color: var(--primary);
}

/* Sidebar form */
.svc-side-form {
  padding: 14px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-side-field input,
.svc-side-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color var(--transition), background var(--transition);
}
.svc-side-field input::placeholder,
.svc-side-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.svc-side-field input:focus,
.svc-side-field textarea:focus {
  outline: none;
  border-color: #fe824c;
  background: rgba(255, 255, 255, 0.1);
}
.svc-side-field textarea { resize: vertical; min-height: 96px; }
.svc-side-submit {
  margin-top: 6px;
  padding: 12px 18px;
  border: none;
  background: #fff;
  color: var(--primary-darker);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.svc-side-submit:hover {
  background: #fe824c;
  color: #fff;
  transform: translateY(-2px);
}

/* Small call button at end of service detail article (left column) */
.svc-article-call {
  margin-top: 28px;
  clear: both;
}
.svc-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fe824c;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(254, 130, 76, 0.28);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.svc-call-btn:hover {
  background: #ff6b2c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(254, 130, 76, 0.36);
}
.svc-call-btn i {
  font-size: 0.82rem;
  opacity: 0.95;
}
.svc-call-btn__sep {
  opacity: 0.75;
  font-weight: 400;
}
.svc-call-btn__phone {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Phone CTA between article and map/form */
.svc-phone-cta {
  padding: 0 0 48px;
}
.svc-phone-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fe824c 0%, #f96a2e 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(254, 130, 76, 0.32);
  transition: transform var(--transition), box-shadow var(--transition);
}
.svc-phone-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(254, 130, 76, 0.4);
}
.svc-phone-btn-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.svc-phone-btn-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.svc-phone-btn-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.svc-phone-btn-number {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.svc-phone-btn-arrow {
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform var(--transition);
}
.svc-phone-btn:hover .svc-phone-btn-arrow {
  transform: translateX(6px);
}

/* Map + Form section */
.svc-map-form {
  padding: 0 0 80px;
  background: #f5f8fc;
  padding-top: 64px;
}
.svc-map-form-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.svc-map-form-header .h2 {
  margin-bottom: 10px;
}
.svc-map-form-header p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.svc-map-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.svc-map {
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: 0 12px 28px rgba(13, 63, 147, 0.12);
  min-height: 440px;
  position: relative;
}
.svc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 440px;
}
.svc-contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 12px 28px rgba(13, 63, 147, 0.12);
  border: 1px solid rgba(13, 63, 147, 0.06);
}
.svc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.svc-contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-contact-field--wide { grid-column: 1 / -1; }
.svc-contact-field > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}
.svc-contact-field input,
.svc-contact-field textarea,
.svc-contact-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(13, 63, 147, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.4;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.svc-contact-field input:focus,
.svc-contact-field textarea:focus,
.svc-contact-field select:focus {
  outline: none;
  border-color: #fe824c;
  box-shadow: 0 0 0 3px rgba(254, 130, 76, 0.18);
}
.svc-contact-field textarea { resize: vertical; min-height: 110px; }

/* Custom-styled <select> -- removes native chrome, adds a chevron arrow,
   and makes the placeholder option appear muted until a real value is
   chosen. */
.svc-contact-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230D3F93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}
.svc-contact-field select:hover {
  border-color: rgba(13, 63, 147, 0.35);
}
/* Placeholder-style: the first hidden option keeps the field looking
   like a hint while no choice has been made. */
.svc-contact-field select:has(option[value=""]:checked) {
  color: #94a3b8;
}
.svc-contact-field select option {
  color: var(--text);
}
.svc-contact-field select option[hidden] {
  display: none;
}
.svc-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  justify-content: space-between;
}
.svc-contact-submit {
  background: #fe824c;
  border-color: transparent;
  color: #fff;
  padding: 12px 22px;
  box-shadow: 0 10px 22px rgba(254, 130, 76, 0.28);
}
.svc-contact-submit:hover {
  background: #f96a2e;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(254, 130, 76, 0.36);
}
.svc-contact-mail {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-contact-mail:hover { color: var(--primary-dark); text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
  .svc-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .svc-sidebar { position: static; top: auto; }
}
@media (max-width: 768px) {
  .svc-article {
    padding: 24px 20px 28px;
  }
  .svc-figure--left,
  .svc-figure--right {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
  }
  .svc-hero { padding: 44px 0 32px; }
  .svc-section { padding: 44px 0 36px; }
  .svc-map-form { padding: 48px 0 60px; }
  .svc-map-form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .svc-contact-grid { grid-template-columns: 1fr; }
  .svc-phone-btn { padding: 16px 18px; gap: 14px; }
  .svc-phone-btn-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .svc-phone-btn-number { font-size: 1.25rem; }
  .svc-phone-btn-label { font-size: 0.74rem; }
  .svc-contact-actions { justify-content: center; }
}
@media (max-width: 480px) {
  .svc-phone-btn-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-phone-btn:hover,
  .svc-side-list li a:hover,
  .svc-side-submit:hover,
  .svc-contact-submit:hover { transform: none; }
  .svc-phone-btn:hover .svc-phone-btn-arrow { transform: none; }
}

/* ===================== CONTACT PAGE =====================
   Page-specific styling for contact.html. Reuses .svc-hero,
   .contact-card, .svc-phone-cta, and .svc-map-form patterns from
   elsewhere on the site; only adds layout glue + a themed background
   so the page feels native to the rest of the design.
============================================================================ */
.page-contact .contact-hero {
  padding: 60px 0 48px;
}
.page-contact .contact-intro {
  background: #ffffff;
  padding: 56px 0 28px;
}
.page-contact .contact-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.page-contact .contact-intro-eyebrow {
  margin: 0 auto 14px;
  justify-content: center;
}
.page-contact .contact-intro-lede {
  margin: 14px auto 0;
  color: var(--text-soft);
  max-width: 620px;
}

/* Light themed band that holds the 4 info cards. */
.page-contact .contact-cards-section {
  padding: 24px 0 36px;
  background:
    radial-gradient(ellipse 600px 380px at 6% 0%,
      rgba(13, 63, 147, 0.06), transparent 65%),
    radial-gradient(ellipse 680px 460px at 96% 100%,
      rgba(14, 143, 159, 0.05), transparent 65%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}
.page-contact .contact-cards.contact-cards--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 0;
}
/* Contact cards that double as links (Address / Phone / Email tiles).
   Keep the visual identical to a normal card but add an interactive lift. */
.page-contact .contact-card.contact-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.page-contact .contact-card.contact-card--link:hover {
  border-color: rgba(14, 143, 159, 0.35);
  box-shadow: 0 12px 28px rgba(13, 63, 147, 0.12),
              0 2px 6px rgba(13, 63, 147, 0.06);
  transform: translateY(-2px);
}

/* Slim wrapper around the big orange phone CTA so it doesn't get
   overshadowed by neighbouring sections. */
.page-contact .contact-phone-section {
  background: transparent;
  padding: 4px 0 32px;
  margin-top: -16px;
}

/* Light wash behind the map+form block. */
.page-contact .contact-map-form {
  background:
    radial-gradient(ellipse 700px 460px at 100% 0%,
      rgba(14, 143, 159, 0.08), transparent 60%),
    radial-gradient(ellipse 640px 420px at 0% 100%,
      rgba(13, 63, 147, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
  padding: 56px 0 64px;
}

/* "How to reach us" closing band. */
.page-contact .contact-directions {
  background: #ffffff;
  padding: 32px 0 80px;
}
.contact-directions-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f5f9ff 0%, #ecf2fa 100%);
  border: 1px solid rgba(13, 63, 147, 0.08);
  box-shadow: 0 8px 24px rgba(13, 63, 147, 0.06);
}
.contact-directions-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 130, 76, 0.14);
  color: #fe824c;
}
.contact-directions-body { flex: 1; min-width: 0; }
.contact-directions-title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.25;
}
.contact-directions-body p {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.contact-directions-body p:last-child { margin-bottom: 0; }
.contact-directions-body a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dotted rgba(13, 63, 147, 0.4);
  transition: color var(--transition), border-color var(--transition);
}
.contact-directions-body a:hover {
  color: #fe824c;
  border-bottom-color: #fe824c;
}

@media (max-width: 1024px) {
  .page-contact .contact-cards.contact-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .page-contact .contact-hero { padding: 48px 0 36px; }
  .page-contact .contact-intro { padding: 40px 0 20px; }
  .page-contact .contact-cards-section { padding: 16px 0 24px; }
  .page-contact .contact-cards.contact-cards--4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .page-contact .contact-map-form { padding: 44px 0 52px; }
  .page-contact .contact-directions { padding: 24px 0 64px; }
  .contact-directions-card {
    flex-direction: column;
    padding: 24px;
    align-items: flex-start;
    gap: 14px;
  }
  .contact-directions-icon { width: 48px; height: 48px; }
}

/* ===================== DOCTOR TALKS PAGE =====================
   Page-specific styling for doctor-talks.html.
   The hero reuses the existing .svc-hero (dark navy gradient band).
   Below the hero: intro band + a responsive grid of YouTube embeds.
============================================================================ */
.doctor-talks-hero {
  padding: 64px 0 52px;
}
.doctor-talks-intro {
  background: #fff;
  padding: 56px 0 24px;
}
.doctor-talks-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.doctor-talks-eyebrow {
  margin: 0 auto 14px;
  justify-content: center;
}
.doctor-talks-lede {
  margin: 14px auto 0;
  color: var(--text-soft);
  max-width: 620px;
}
.doctor-talks-section {
  background:
    radial-gradient(ellipse 600px 380px at 8% 0%,
      rgba(13, 63, 147, 0.07), transparent 65%),
    radial-gradient(ellipse 680px 460px at 95% 100%,
      rgba(14, 143, 159, 0.06), transparent 65%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
  padding: 44px 0 80px;
}
.doctor-talks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.doctor-talk-card {
  background: #ffffff;
  border: 1px solid rgba(13, 63, 147, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 63, 147, 0.08),
              0 1px 2px rgba(13, 63, 147, 0.04);
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition);
}
.doctor-talk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(13, 63, 147, 0.14),
              0 2px 6px rgba(13, 63, 147, 0.06);
  border-color: rgba(14, 143, 159, 0.35);
}
.doctor-talk-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1830;
  overflow: hidden;
}
.doctor-talk-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.doctor-talk-body {
  padding: 18px 22px 22px;
}
.doctor-talk-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary-darker);
  letter-spacing: -0.01em;
}
.doctor-talk-sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .doctor-talks-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .doctor-talks-hero { padding: 52px 0 40px; }
  .doctor-talks-intro { padding: 44px 0 16px; }
  .doctor-talks-section { padding: 32px 0 56px; }
  .doctor-talks-grid { grid-template-columns: 1fr; gap: 18px; }
  .doctor-talk-body { padding: 16px 18px 20px; }
  .doctor-talk-title { font-size: 1rem; }
}

/* ===================== GLOBAL H2 GRADIENT =====================
   Project-wide brand gradient on every <h2> (and the `.h2` utility
   class): deep navy #022d80 -> sky cyan #26b3da.

   Implementation: linear-gradient painted into the text via
   background-clip:text + transparent fill. A solid fallback colour
   is provided for browsers that don't support background-clip:text.
============================================================================ */
h2,
.h2,
.services-trust-heading {
  background-image: linear-gradient(135deg, #022d80 0%, #26b3da 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #022d80; /* fallback: deep navy if gradient text isn't supported */
}

/* --- Exceptions: H2s that must stay a solid colour --- */

/* CTA banner ("Quality Healthcare...") + service sidebar titles
   use solid colours instead of the global h2 gradient. */
.appointment .h2,
.svc-side-box--form .svc-side-title {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.svc-side-box--list .svc-side-title {
  background: none;
  -webkit-text-fill-color: var(--primary);
  color: var(--primary);
}

/* Legacy utility class — match article h2 gradient on service pages */
.svc-article-heading {
  background-image: linear-gradient(135deg, #022d80 0%, #26b3da 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #022d80;
}

/* Children of gradient h2s -- prevent them inheriting the transparent
   fill from the parent so their own colours render correctly. */
.about-section-title-muted {
  background: none;
  -webkit-text-fill-color: var(--text-soft);
  color: var(--text-soft);
}
.about-section-title-line {
  /* Already paints its own gradient via background-clip:text -- just
     re-assert the transparent fill so the inner gradient is visible. */
  -webkit-text-fill-color: transparent;
}

/* ===================== REQUEST A CALL BACK =====================
   Orange CTA button placed inside the main nav (and the mobile menu),
   plus a centered popup modal with a Name / Phone / Service form.

   Markup pattern:
     <button data-callback-open class="nav-cta-callback">Request a Call Back</button>
     ...
     <div id="callbackModal" class="callback-modal" role="dialog">...</div>

   JS wires `[data-callback-open]` -> open, `[data-callback-close]` -> close.
   Also closes on Escape key. Page scroll is locked while open.
============================================================================ */

/* ---- Nav trigger button ---- */
.nav-cta-callback {
  background: #fe824c;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 6px;
  box-shadow: 0 6px 18px rgba(254, 130, 76, 0.32);
  transition: background var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
}
.nav-cta-callback:hover,
.nav-cta-callback:focus-visible {
  background: #ff6b2c;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(254, 130, 76, 0.42);
  outline: none;
}
/* Hide nav button at mobile widths; it will surface in the mobile menu instead. */
@media (max-width: 1024px) {
  .nav-links > .nav-cta-callback { display: none; }
}
/* Mobile-menu variant of the same button. */
.mobile-menu .nav-cta-callback {
  display: block;
  width: 100%;
  padding: 14px 22px;
  margin-top: 6px;
  text-align: center;
  font-size: 1rem;
}

/* ---- Modal shell ---- */
.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.callback-modal.is-open {
  display: flex;
  animation: callbackFadeIn 0.2s ease-out;
}
.callback-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 40, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.callback-modal-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  padding: 48px 40px 36px;
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(8, 18, 40, 0.35);
  animation: callbackSlideUp 0.28s cubic-bezier(0.16, 0.84, 0.44, 1);
}
@keyframes callbackFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes callbackSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Modal close (×) ---- */
.callback-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f2937;
  color: #ffffff;
  border: none;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.callback-modal-close:hover,
.callback-modal-close:focus-visible {
  background: #0a1730;
  transform: rotate(90deg);
  outline: none;
}

/* ---- Title ---- */
.callback-modal-title {
  text-align: center;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
  color: #1d2956;
  margin: 0 0 28px;
  letter-spacing: 0.01em;
  /* Override the global gradient h2 styling -- this h2 is solid navy
     with a single orange accent word. */
  background: none;
  -webkit-text-fill-color: #1d2956;
}
.callback-modal-title-accent {
  color: #fe824c;
  -webkit-text-fill-color: #fe824c;
}
.callback-modal-title strong {
  color: #1d2956;
  font-weight: 800;
}

/* ---- Form fields (underline style) ---- */
.callback-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.callback-field {
  display: block;
  position: relative;
}
.callback-field-label {
  display: block;
  font-size: 0.95rem;
  color: #7c8694;
  margin-bottom: 6px;
  font-weight: 500;
}
.callback-field input,
.callback-field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid #cdd9e1;
  background: transparent;
  padding: 6px 0 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #1d2956;
  outline: none;
  border-radius: 0;
  transition: border-color var(--transition);
}
.callback-field input:focus,
.callback-field select:focus {
  border-bottom-color: #fe824c;
}
.callback-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 26px;
  cursor: pointer;
}

/* ---- Submit ---- */
.callback-submit {
  align-self: center;
  margin-top: 18px;
  background: #fe824c;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 14px 40px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(254, 130, 76, 0.34);
  transition: background var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
}
.callback-submit:hover,
.callback-submit:focus-visible {
  background: #ff6b2c;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(254, 130, 76, 0.42);
  outline: none;
}

/* Lock background scroll while modal is open. */
body.callback-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .callback-modal { padding: 16px; }
  .callback-modal-card { padding: 40px 24px 28px; }
  .callback-modal-title { font-size: 1.15rem; margin-bottom: 22px; }
  .callback-form { gap: 18px; }
}

/* ===================== FORM VALIDATION (site-wide) ===================== */
.dvrk-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.dvrk-field-error input,
.dvrk-field-error select,
.dvrk-field-error textarea {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}
.dvrk-error-msg {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #dc2626;
  font-weight: 500;
}
.dvrk-form-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.dvrk-form-status--success {
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.25);
}
.dvrk-form-status--error {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.22);
}
