/* Wellness Physiotherapy — brand overrides layered on the base template styles. */

/* ============================================================ brand styling truth
   Palette: warm ivory 50% · deep medical blue 25% · sky blue 10% · light sage 10% · bright mint 5%
   Type: Alte Haas Grotesk (headings & hero) · Inter (body, nav, buttons) */

@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url('/assets/fonts/brand/AlteHaasGroteskRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url('/assets/fonts/brand/AlteHaasGroteskBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Apollo';
  src: url('/assets/fonts/brand/apollo.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Apollo';
  src: url('/assets/fonts/brand/apollo-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('/assets/fonts/brand/recoleta.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* design tokens — one type scale, one radius scale, a muted-text pair per surface */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;

  --radius-pill: 999px;
  --radius-panel: 28px;
  --radius-card: 20px;
  --radius-tile: 16px;
  --radius-input: 14px;
  --radius-chip: 12px;

  --text-muted: #566670;
  --on-dark-muted: #ccdbe4;
  --on-dark-body: #dbe5ec;

  --brand-ivory: #fafaf6;
  --brand-blue: #155a91;
  --brand-blue-deep: #0f3f66;
  --brand-sky: #8ccfe0;
  --brand-sage: #d3f0d9;
  --brand-sage-tint: #edf6f0;
  --brand-mint: #8ad9ae;
  --brand-ink: #34424d;

  /* User Defined Signature Dark Section Gradient */
  --gradient-dark-section: linear-gradient(180deg, #0c2342 0%, #12385d 15%, #1d5785 35%, #418abb 55%, #75b4dc 75%, #a6d5ed 90%, #c0e6f4 100%);
  --bg-dark-section: var(--gradient-dark-section);

  --body-font: Inter, sans-serif;
  --heading-font: 'Alte Haas Grotesk', 'Clashgrotesk Variable', Arial, sans-serif;
  --accent-font: 'Alte Haas Grotesk', 'Clashgrotesk Variable', Arial, sans-serif;

  --_color-pallet---background-color--snow-white: #fafaf6;
  --_color-pallet---white-shade--white: #fafaf6;
  --_color-pallet---white-shade--frost-white: #edf6f0;
  --_color-pallet---white-shade--silver-mist: #e3ede6;
  --_color-pallet---dark-shade--black: #0f3f66;
  --_color-pallet---dark-shade--carbon-black: #0b3453;
  --_color-pallet---dark-shade--carbon-gray: #34424d;
  --_color-pallet---theme-color--primary-color: #155a91;
  --_color-pallet---border-color--border-100: #e3ede6;
  --_color-pallet---other-colors--coffee-brown: #155a91;
  --_color-pallet---other-colors--olive-green: #4f9d76;
  --_color-pallet---other-colors--dusty-coral: #8ccfe0;

  --_typography---letter-spacing--h1: -1px;
}

/* the base stylesheet re-declares its tokens on body, so the brand set lives here too */
body {
  background-color: var(--brand-ivory);
  color: var(--brand-ink);
  font-family: var(--body-font);
  --body-font: Inter, sans-serif;
  --heading-font: 'Alte Haas Grotesk', 'Clashgrotesk Variable', Arial, sans-serif;
  --accent-font: 'Alte Haas Grotesk', 'Clashgrotesk Variable', Arial, sans-serif;
  --_color-pallet---background-color--snow-white: #fafaf6;
  --_color-pallet---white-shade--white: #fafaf6;
  --_color-pallet---white-shade--frost-white: #edf6f0;
  --_color-pallet---white-shade--silver-mist: #e3ede6;
  --_color-pallet---dark-shade--black: #0f3f66;
  --_color-pallet---dark-shade--carbon-black: #0b3453;
  --_color-pallet---dark-shade--carbon-gray: #34424d;
  --_color-pallet---theme-color--primary-color: #155a91;
  --_color-pallet---border-color--border-100: #e3ede6;
  --_color-pallet---other-colors--coffee-brown: #155a91;
  --_color-pallet---other-colors--olive-green: #4f9d76;
  --_color-pallet---other-colors--dusty-coral: #8ccfe0;
}

/* Headings use Alte Haas Grotesk font across all pages */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.title,
.sub-title,
.page-hero-title,
.hero-editorial-h1,
.cta-band-title,
.cta-panel-title,
.footer-wordmark,
.doctor-panel-name,
.mission-card-title,
.svc-card-title,
.svc-detail-card-title,
.svc-related-title,
.footer-info-title,
.contact-hours-title,
.appointment-modal-title {
  font-family: 'Alte Haas Grotesk', 'Clashgrotesk Variable', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: -0.015em;
}

.booking-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 28px !important;
  border-radius: var(--radius-pill) !important;
  background: linear-gradient(135deg, #124b78 0%, #0a2d4a 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.32),
    inset 2px 3px 6px rgba(255, 255, 255, 0.18),
    inset 0 -3px 6px rgba(0, 0, 0, 0.36),
    inset -2px -3px 5px rgba(0, 0, 0, 0.22),
    0 10px 24px rgba(8, 35, 58, 0.28),
    0 2px 6px rgba(8, 35, 58, 0.16) !important;
  font-family: var(--body-font) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 360ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.booking-submit:hover {
  background: linear-gradient(135deg, #ffffff 0%, #edf3f8 100%) !important;
  color: #0a2d4a !important;
  border-color: rgba(10, 45, 74, 0.12) !important;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 2px 3px 6px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(10, 45, 74, 0.12),
    inset -2px -3px 5px rgba(10, 45, 74, 0.08),
    0 14px 30px rgba(10, 45, 74, 0.22),
    0 4px 10px rgba(10, 45, 74, 0.12) !important;
  transform: translateY(-2px) !important;
}

.booking-submit:active {
  transform: translateY(1px) scale(0.98) !important;
}

.booking-panel {
  margin-top: 56px;
  border-radius: var(--radius-panel);
  background-color: var(--brand-sage-tint, #edf6f0);
  padding: 44px 40px;
  border: 1px solid rgba(15, 63, 102, 0.08);
}

.booking-head {
  display: flex;
  flex-flow: column;
  gap: 10px;
  max-width: 620px;
}

.form-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.form-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  flex: none;
}

.form-tag-text {
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.form-title {
  color: var(--brand-blue-deep);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.25;
  margin: 0;
}

.form-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.booking-form {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.booking-field {
  display: flex;
  flex-flow: column;
  gap: 8px;
}

.booking-field-half {
  grid-column: span 1;
}

.booking-field-full {
  grid-column: span 2;
}

.booking-label {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--brand-blue-deep);
}

.field-required {
  color: #e11d48;
  font-weight: 700;
}

.booking-input {
  width: 100%;
  border: 1px solid rgba(15, 63, 102, 0.15);
  border-radius: var(--radius-input, 14px);
  background-color: #ffffff;
  padding: 15px 18px;
  font-family: var(--body-font);
  font-size: 15px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  box-sizing: border-box;
}

.booking-input::placeholder {
  color: #94a3b8;
}

.booking-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(21, 90, 145, 0.12);
}

.booking-textarea {
  resize: vertical;
  min-height: 110px;
}

.booking-error {
  font-family: var(--body-font);
  font-size: 12px;
  color: #e11d48;
  margin-top: 2px;
}

.booking-summary {
  grid-column: span 2;
  margin: 0;
  padding: 12px 18px;
  border-radius: var(--radius-input, 14px);
  background-color: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.2);
  color: #be123c;
  font-size: 14px;
}

.booking-actions {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-urgent-note {
  margin: 0;
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 360px;
}

.form-urgent-note a {
  color: var(--brand-blue-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(15, 63, 102, 0.35);
}

@media screen and (max-width: 768px) {
  .booking-panel {
    padding: 32px 20px;
  }
  .booking-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .booking-field-half,
  .booking-field-full,
  .booking-summary,
  .booking-actions {
    grid-column: span 1;
  }
  .booking-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(9, 44, 72, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  animation: booking-fade 0.28s ease both;
}

.booking-modal {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-card);
  background-color: #fff;
  padding: 40px 32px 32px;
  text-align: center;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 14px;
  animation: booking-pop 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-modal .h3 {
  color: #0f3f66;
}

.booking-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #0f3f66;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.booking-modal .booking-submit {
  margin-top: 8px;
  padding: 14px 40px;
}

@keyframes booking-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes booking-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media screen and (max-width: 1100px) {
  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 991px) {

  .booking-form {
    grid-template-columns: 1fr 1fr;
  }

  .booking-field-wide,
  .booking-actions {
    grid-column: span 2;
  }

  .booking-panel {
    padding: 32px 24px;
  }
}

@media screen and (max-width: 767px) {
  .credentials-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }

  .credentials-card {
    min-height: 0;
    gap: 20px;
  }

  .journey-stat .count-number {
    font-size: 34px;
    line-height: 46px;
  }

  .journey-stat .count-num {
    height: 46px;
  }

  .journey-stats {
    gap: 24px 28px;
  }

  .journey-facility {
    align-items: flex-start;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-field-wide,
  .booking-actions {
    grid-column: span 1;
  }

  .booking-panel {
    margin-top: 36px;
    padding: 26px 18px;
  }
}

@media screen and (max-width: 479px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------- desktop nav */
@media screen and (min-width: 992px) {
  .nav-brand {
    width: auto;
    flex: none;
    gap: 10px;
  }

  .navigation-wrapper {
    gap: 16px;
  }

  .nav-link-block {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ------------------------------------------------------------ mobile navigation */
@media screen and (max-width: 991px) {
  .navigation-wrapper[data-nav-menu-open] {
    background-color: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    padding: 8px 20px 20px;
    margin-top: 10px;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-menu {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding-top: 8px;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-block {
    width: 100%;
    padding: 12px 0;
    color: #123c5e;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-block:hover {
    color: #123c5e;
    opacity: 0.65;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-block:last-child {
    border-bottom: none;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-text {
    font-size: var(--text-base);
  }

  .menu-button.w--open .menu-top {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button.w--open .menu-bottom {
    transform: translateY(-4px) rotate(-45deg);
  }

  .menu-top,
  .menu-bottom {
    transition: transform 0.3s ease;
  }
}

/* The bundled interaction hides the header with a -80px translate and never
   restores it, which leaves mobile users without a menu button. */
.navbar.w-nav {
  transform: none !important;
}

/* ------------------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 72px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b3453 0%, #104470 45%, #155587 100%) !important;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b3453 0%, #104470 45%, #155587 100%) !important;
  opacity: 0.9 !important;
  z-index: 1;
}

.page-hero-shader-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 2 !important;
  opacity: 0.88 !important;
}

.page-hero .container {
  position: relative;
  z-index: 5;
}

.page-hero-content {
  max-width: 760px;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 18px;
  animation: page-hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-tag {
  background-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.page-hero-tag .body-text {
  color: #fff;
}

.page-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 400;
}

.page-hero-text {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
}

@keyframes page-hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------------- add-ons */
.addons {
  padding-top: 0;
}

.addons-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.addon-card {
  border-radius: var(--radius-card);
  background-color: #edf6f0;
  padding: 26px 24px 30px;
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.addon-card .h4 {
  color: #0f3f66;
}

.addon-index {
  font-family: var(--heading-font);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ------------------------------------------------------------------ cta band */
.cta-band {
  padding-top: 0;
}

.cta-band-inner {
  border-radius: var(--radius-panel);
  background-color: #0f3f66;
  color: #fff;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-flow: row wrap;
}

.cta-band-copy {
  max-width: 560px;
  display: flex;
  flex-flow: column;
  gap: 12px;
}

.cta-band-title {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: #fff;
}

.cta-band-text {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-body);
}

.cta-band-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-band .booking-submit {
  background-color: #fff;
  color: #0f3f66;
}

.cta-band .booking-submit:hover {
  background-color: #e6efe9;
}

.cta-band-call {
  font-family: var(--body-font);
  font-size: var(--text-base);
  color: var(--on-dark-body);
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.cta-band-call:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* ---------------------------------------------------------------- contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-page-info {
  display: flex;
  flex-flow: column;
  gap: 28px;
}

.contact-page-list {
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-hours {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  display: flex;
  flex-flow: column;
  gap: 12px;
}

.contact-hours-title {
  font-family: var(--heading-font);
  font-size: 16px;
  color: #0f3f66;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--body-font);
  font-size: var(--text-base);
  color: #34424d;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 10px;
}

.contact-hours-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-map-link {
  font-family: var(--body-font);
  font-size: var(--text-base);
  color: #0f3f66;
  text-decoration-color: rgba(15, 63, 102, 0.45);
  transition: opacity 0.25s ease;
}

.contact-map-link:hover {
  opacity: 0.6;
}

.contact-page-form .booking-panel {
  margin-top: 0;
}

/* ----------------------------------------------------------------- misc pages */
.blog-page-head {
  margin-bottom: 8px;
}

.blog-all-link-wrap {
  margin-top: 20px;
}

.notfound-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

@media screen and (max-width: 1100px) {
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 991px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-hero {
    min-height: 420px;
    padding: 150px 0 56px;
  }

  .cta-band-inner {
    padding: 36px 28px;
  }
}

@media screen and (max-width: 767px) {
  .page-hero {
    min-height: 360px;
    padding: 130px 0 44px;
  }

  .page-hero-text {
    font-size: 16px;
  }

  .addons-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-page-list {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------- meet the doctor */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.doctor-copy {
  display: flex;
  flex-flow: column;
  gap: 16px;
  padding-top: 8px;
}

.doctor-quals {
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: 1.4;
  color: #34424d;
  max-width: 520px;
}

.doctor-bio {
  max-width: 560px;
}

.doctor-specialties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 8px 0 10px;
}

.doctor-specialty {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
}

.doctor-specialty-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0f3f66;
  flex: none;
}

.doctor-media {
  display: flex;
  flex-flow: column;
  gap: 16px;
}

.doctor-panel {
  border-radius: var(--radius-panel);
  background-color: #0f3f66;
  color: #fff;
  padding: 36px 32px 32px;
  display: flex;
  flex-flow: column;
  gap: 6px;
}

.doctor-monogram {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: var(--text-xl);
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 18px;
}

.doctor-panel-name {
  font-family: var(--heading-font);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}

.doctor-panel-role {
  font-family: var(--body-font);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.doctor-panel-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.16);
  margin: 22px 0;
}

.doctor-panel-quals {
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-body);
}

.doctor-panel-quote {
  margin-top: 24px;
  font-family: var(--heading-font);
  font-size: var(--text-md);
  line-height: 1.45;
  color: #fff;
}

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.doctor-stat {
  border-radius: var(--radius-tile);
  background-color: #edf6f0;
  padding: 16px 18px;
  display: flex;
  flex-flow: column;
  gap: 2px;
}

.doctor-stat .count-num {
  height: 40px;
}

.doctor-stat .count-number {
  font-size: 32px;
  line-height: 40px;
  color: #0f3f66;
}

.doctor-stat .body-text {
  font-size: var(--text-sm);
  line-height: 1.45;
}

/* ------------------------------------------------------------ mission & vision */
.mission-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mission-card {
  border-radius: var(--radius-card);
  background-color: #edf6f0;
  padding: 40px 38px 44px;
  display: flex;
  flex-flow: column;
  gap: 14px;
  min-height: 300px;
}

.mission-card-number {
  font-family: var(--heading-font);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.mission-card-title {
  font-family: var(--heading-font);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: #0f3f66;
  margin-top: auto;
}

.mission-card .body-text {
  font-size: 16px;
  line-height: 1.6;
  max-width: 460px;
}

.mission-values {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mission-value {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 18px;
  display: flex;
  flex-flow: column;
  gap: 8px;
}

.mission-value-mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: #0f3f66;
}

.mission-value-title {
  font-family: var(--heading-font);
  font-size: 18px;
  color: #0f3f66;
}

.mission-value .body-text {
  font-size: 14px;
  line-height: 1.5;
}

.sub-text-wrap.mission {
  max-width: 560px;
}

@media screen and (max-width: 991px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

    .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: 0;
    padding: 32px 28px 34px;
  }

  .mission-values {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .doctor-specialties {
    grid-template-columns: 1fr;
  }

  .doctor-stats {
    grid-template-columns: 1fr 1fr;
  }

  .mission-values {
    grid-template-columns: 1fr;
  }
}

/* Section padding is defined per section class in the base stylesheet, so the
   custom sections need it too. */
.section.doctor,
.section.mission,
.section.credentials,
.section.addons,
.section.contact-page,
.section.notfound {
  padding-top: var(--_spacing---section-spacing--s);
  padding-bottom: var(--_spacing---section-spacing--s);
}

.section.cta-band {
  padding-top: 0;
  padding-bottom: var(--_spacing---section-spacing--s);
}

.section.gallery {
  padding-top: var(--_spacing---section-spacing--s);
  padding-bottom: var(--_spacing---section-spacing--s);
}

/* ------------------------------------------------------------- services list */
.svc-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-flow: row wrap;
}

.svc-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  border-radius: var(--radius-card);
  background-color: #edf6f0;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-flow: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.svc-card-image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.svc-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-card:hover .svc-card-image {
  transform: scale(1.06);
}

.svc-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-flow: column;
  gap: 10px;
  flex: 1;
}

.svc-card-title {
  font-family: var(--heading-font);
  font-size: var(--text-lg);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0f3f66;
}

.svc-card-text {
  font-size: var(--text-base);
  line-height: 1.55;
}

.svc-card-link {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  color: #0f3f66;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  align-self: flex-start;
  transition: opacity 0.25s ease;
}

.svc-card:hover .svc-card-link {
  opacity: 0.6;
}

/* ----------------------------------------------------------------- specialty */
.svc-specialty-head {
  max-width: 560px;
  margin: 0 auto;
}

.svc-specialty-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
}

.svc-specialty-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-tile);
  background-color: #edf6f0;
  padding: 16px 18px;
}

.svc-specialty-mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: #0f3f66;
  flex: none;
}

.svc-specialty-text {
  font-size: var(--text-base);
}

/* ------------------------------------------------------------- service detail */
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 48px;
  align-items: start;
}

.svc-detail-copy {
  display: flex;
  flex-flow: column;
  gap: 18px;
}

.svc-detail-para {
  font-size: var(--text-md);
  line-height: 1.65;
  max-width: 640px;
}

.svc-detail-card {
  border-radius: var(--radius-card);
  background-color: #edf6f0;
  padding: 32px 28px;
  display: flex;
  flex-flow: column;
  gap: 18px;
}

.svc-detail-card-title {
  font-family: var(--heading-font);
  font-size: 20px;
  color: #0f3f66;
}

.svc-detail-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: column;
  gap: 12px;
}

.svc-detail-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--text-base);
}

.svc-detail-points .svc-specialty-mark {
  margin-top: 6px;
}

.svc-detail-card .primary-button {
  margin-top: 8px;
}

/* ---------------------------------------------------------- related services */
.svc-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.svc-related-title {
  font-family: var(--heading-font);
  font-size: 20px;
  color: #0f3f66;
  margin-bottom: 20px;
}

.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.svc-related-card {
  border-radius: var(--radius-card);
  background-color: #edf6f0;
  padding: 24px 22px;
  text-decoration: none;
  display: flex;
  flex-flow: column;
  gap: 10px;
  transition: transform 0.3s ease;
}

.svc-related-card:hover {
  transform: translateY(-4px);
}

.svc-related-name {
  font-family: var(--heading-font);
  font-size: 18px;
  color: #0f3f66;
}

@media screen and (max-width: 1100px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-specialty-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 991px) {
  .svc-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc-related-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-specialty-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ beacon pagination */
.beacon-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 24px 0 52px;
}

.beacon-tab-slot {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
}

.beacon-tab {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #cccccc;
  border-radius: var(--radius-chip);
  background-color: transparent;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: scale(1);
  transition:
    transform 480ms cubic-bezier(0.22, 0.68, 0.28, 1),
    border-color 480ms cubic-bezier(0.22, 0.68, 0.28, 1),
    box-shadow 480ms cubic-bezier(0.22, 0.68, 0.28, 1);
}

.beacon-tab:focus-visible {
  outline: 2px solid #155a91;
  outline-offset: 3px;
}

.beacon-tab-fill {
  position: absolute;
  inset: 0;
  background-color: #155a91;
  transform: translateY(-100%);
  transition: transform 480ms cubic-bezier(0.22, 0.68, 0.28, 1);
}

.beacon-tab-label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  color: #155a91;
  transition: color 160ms linear 0ms;
}

.beacon-tab.is-active {
  transform: scale(1.1);
  border-color: #155a91;
  box-shadow: 0 1px 2px rgba(23, 23, 23, 0.18);
}

.beacon-tab.is-active .beacon-tab-fill {
  transform: translateY(0);
}

.beacon-tab.is-active .beacon-tab-label {
  color: #ffffff;
  transition-delay: 240ms;
}

.beacon-tab-beacon {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  margin-left: -4px;
  border-radius: var(--radius-pill);
  background-color: #155a91;
  opacity: 0;
  transform: translateY(-16px) scale(0.6);
  transition:
    opacity 480ms ease 200ms,
    transform 480ms ease 200ms;
  pointer-events: none;
}

.beacon-tab-slot.is-active .beacon-tab-beacon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#services-list,
#blog-grid {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .beacon-tab,
  .beacon-tab-fill,
  .beacon-tab-label,
  .beacon-tab-beacon {
    transition: none;
  }
}

/* ------------------------------------------------------------- extracted logo */
.nav-brand .brand-mark {
  width: 40px;
  height: 40px;
}

@media screen and (max-width: 991px) {
  .nav-brand .brand-mark {
    width: 40px;
    height: 40px;
  }
}

/* --------------------------------------------- brand pass over the base components */
.svc-specialty-item {
  background-color: var(--brand-sage);
  border-color: var(--brand-sage);
}

.svc-specialty-text {
  color: var(--brand-blue-deep);
}

.svc-specialty-mark,
.doctor-specialty-dot,
.mission-value-mark,
.hero-trust-dot {
  background-color: var(--brand-mint);
}

.svc-card-title,
.svc-detail-card-title,
.svc-related-title {
  font-family: var(--body-font);
  font-weight: 700;
  letter-spacing: 0;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--body-font);
  letter-spacing: 0;
}

.client-heading-wrap .h3,
.doctor-panel-quote {
  font-family: var(--accent-font);
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* -------------------------------------------------------------------- footer */
.section.footer {
  background-color: var(--brand-blue-deep);
  background-blend-mode: multiply;
}

/* ------------------------------------------- pagination accent in the brand ink */
.beacon-tab.is-active {
  border-color: var(--brand-ink);
  box-shadow: 0 1px 2px rgba(52, 66, 77, 0.18);
}

.beacon-tab.is-active .beacon-tab-fill {
  background-color: var(--brand-ink);
}

.beacon-tab-slot.is-active .beacon-tab-beacon {
  background-color: var(--brand-ink);
}

@media screen and (max-width: 991px) {
  .navigation-wrapper[data-nav-menu-open] {
    background-color: var(--brand-ivory);
  }
}

/* -------------------------------------------------- sky accents on dark surfaces */
.hero-trust-dot {
  background-color: var(--brand-sky);
}

.page-hero-tag {
  background-color: rgba(140, 207, 224, 0.26);
}

.hero-tag-wrap {
  background-color: rgba(140, 207, 224, 0.22);
}

/* -------------------------------------------------------------------- scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(52, 66, 77, 0.3) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(52, 66, 77, 0.3);
  background-clip: content-box;
  border: 3px solid transparent;
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(21, 90, 145, 0.55);
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

/* ---------------------------------------------------- specialities carousel */
.spec-carousel {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  min-height: 600px;
  border: 1px solid rgba(52, 66, 77, 0.16);
  border-radius: var(--radius-panel);
  overflow: hidden;
  background-color: var(--brand-sage-tint);
}

.spec-rail {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background-color: var(--brand-blue);
}

.spec-rail-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 96px;
  z-index: 3;
  pointer-events: none;
}

.spec-rail-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--brand-blue), rgba(21, 90, 145, 0));
}

.spec-rail-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--brand-blue), rgba(21, 90, 145, 0));
}

.spec-chip {
  position: absolute;
  top: 50%;
  left: 40px;
  z-index: 2;
  height: 48px;
  margin-top: -24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid rgba(250, 250, 246, 0.24);
  border-radius: var(--radius-pill);
  background-color: transparent;
  color: rgba(250, 250, 246, 0.72);
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 480ms cubic-bezier(0.22, 0.68, 0.28, 1),
    opacity 480ms cubic-bezier(0.22, 0.68, 0.28, 1),
    background-color 480ms,
    color 480ms,
    border-color 480ms;
}

.spec-chip:hover {
  border-color: rgba(250, 250, 246, 0.5);
  color: var(--brand-ivory);
}

.spec-chip.is-active {
  z-index: 4;
  background-color: var(--brand-ivory);
  border-color: var(--brand-ivory);
  color: var(--brand-blue);
}

.spec-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.8;
  flex: none;
}

.spec-chip:focus-visible {
  outline: 2px solid var(--brand-ivory);
  outline-offset: 3px;
}

.spec-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px;
}

.spec-cards {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 4 / 5;
}

.spec-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 8px solid var(--brand-ivory);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--brand-ivory);
  box-shadow: 0 24px 50px rgba(9, 44, 72, 0.16);
  filter: grayscale(0.2);
  transition:
    transform 520ms cubic-bezier(0.22, 0.68, 0.28, 1),
    opacity 520ms cubic-bezier(0.22, 0.68, 0.28, 1),
    filter 520ms;
}

.spec-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-card.is-active {
  transform: translateX(0) scale(1) rotate(0deg);
  opacity: 1;
  filter: none;
  z-index: 3;
}

.spec-card.is-prev {
  transform: translateX(-88px) scale(0.85) rotate(-3deg);
  opacity: 0.35;
  filter: grayscale(0.5) brightness(0.85);
  z-index: 2;
}

.spec-card.is-next {
  transform: translateX(88px) scale(0.85) rotate(3deg);
  opacity: 0.35;
  filter: grayscale(0.5) brightness(0.85);
  z-index: 2;
}

.spec-card.is-hidden {
  transform: scale(0.7);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.spec-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 96px 26px 24px;
  background: linear-gradient(to top, rgba(9, 44, 72, 0.95) 0%, rgba(9, 44, 72, 0.55) 48%, rgba(9, 44, 72, 0) 100%);
  color: var(--brand-ivory);
}

.spec-card-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-ivory);
  color: var(--brand-blue);
  font-family: var(--body-font);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spec-card-title {
  font-family: var(--heading-font);
  font-size: var(--text-xl);
  line-height: 1.1;
  color: var(--brand-ivory);
}

.spec-card-text {
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--on-dark-body);
}

.spec-count {
  margin: 0;
  font-family: var(--body-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media screen and (max-width: 991px) {
  .spec-carousel {
    grid-template-columns: 1fr;
    border-radius: var(--radius-panel);
  }

  .spec-rail {
    min-height: 340px;
  }

  .spec-chip {
    left: 28px;
  }

  .spec-stage {
    padding: 32px 24px 40px;
  }

  .spec-cards {
    width: min(100%, 340px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spec-chip,
  .spec-card {
    transition: none;
  }
}

.spec-carousel {
  margin-top: 44px;
}

@media screen and (max-width: 991px) {
  .spec-carousel {
    margin-top: 32px;
  }
}

/* ---------------------------------------------------------- doctor portrait */
.doctor-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-panel);
  background-color: #f5f7f9;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.doctor-portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* ------------------------------------------------------------ clinic bento grid */
.clinic-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(150px, 190px));
  gap: 14px;
  margin-top: 48px;
}

.clinic-bento-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--brand-sage-tint);
}

.clinic-bento-item.clinic-bento-large {
  grid-row: span 2;
}

.clinic-bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 640ms cubic-bezier(0.22, 0.68, 0.28, 1);
}

.clinic-bento-item:hover img {
  transform: scale(1.05);
}

.clinic-bento-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(250, 250, 246, 0.94);
  color: var(--brand-blue-deep);
  font-family: var(--body-font);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

@media screen and (max-width: 991px) {
  .clinic-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 170px);
  }

  .clinic-bento-item.clinic-bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media screen and (max-width: 479px) {
  .clinic-bento {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 190px);
  }

  .clinic-bento-item.clinic-bento-large {
    grid-column: span 1;
  }
}

/* ------------------------------------------------------------ gallery carousel */
.gallery-main-wrapper {
  display: flex;
  flex-flow: column;
}

.gallery-title-wrapper {
  max-width: 700px;
}

/* ------------------------------------------------------------ clinic gallery carousel */
.gallery-carousel {
  max-width: 840px;
  margin: 36px auto 0;
  outline: none;
  position: relative;
}

.gallery-carousel:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 6px;
  border-radius: var(--radius-panel);
}

/* Smaller, compact 16:10 frame matching reference */
.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--brand-sage-tint);
  box-shadow: 0 16px 42px rgba(15, 63, 102, 0.12);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 480ms cubic-bezier(0.22, 0.68, 0.28, 1),
    transform 560ms cubic-bezier(0.22, 0.68, 0.28, 1);
  pointer-events: none;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
  pointer-events: auto;
}

/* Circular floating stage arrow buttons matching 21st.dev reference */
.gallery-stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--brand-blue-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 220ms, transform 220ms, box-shadow 220ms;
}

.gallery-stage-prev {
  left: 18px;
}

.gallery-stage-next {
  right: 18px;
}

.gallery-stage-arrow:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.gallery-stage-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.gallery-arrow-icon {
  width: 20px;
  height: 20px;
}

/* Floating counter badge at bottom center of frame */
.gallery-stage-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background-color: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 4px 10px;
}

.gallery-meta-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-sage-tint);
  color: var(--brand-blue-deep);
  font-family: var(--body-font);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.gallery-title {
  font-family: var(--heading-font);
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--brand-blue-deep);
}

/* 21st.dev thumbnail row: narrow portrait slices that smoothly expand into wide landscape card */
.gallery-thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  position: relative;
  width: 32px;
  height: 52px;
  flex: none;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--brand-sage-tint);
  opacity: 0.55;
  cursor: pointer;
  transition: width 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover {
  opacity: 0.9;
  transform: scaleY(1.05);
}

/* Active thumbnail expands wide into landscape card */
.gallery-thumb.is-active {
  width: 88px;
  opacity: 1;
  border-color: var(--brand-blue-deep);
  box-shadow: 0 4px 16px rgba(15, 63, 102, 0.25);
  transform: scale(1.02);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.gallery-standalone {
  padding-top: 176px;
  background-color: var(--brand-blue);
}

.gallery-standalone .sub-title,
.gallery-standalone .sub-tag-text-wrap .body-text,
.gallery-standalone .sub-text-wrap .body-text {
  color: var(--brand-ivory);
}

.gallery-standalone .sub-text-wrap .body-text {
  color: var(--on-dark-body);
}

.gallery-standalone .gallery-title {
  color: var(--brand-ivory);
}

.gallery-standalone .gallery-tag {
  background-color: var(--brand-ivory);
  color: var(--brand-blue);
}

.gallery-standalone .gallery-count {
  color: var(--on-dark-muted);
}

.gallery-standalone .gallery-arrow {
  border-color: rgba(250, 250, 246, 0.35);
  color: var(--brand-ivory);
}

.gallery-standalone .gallery-arrow:hover {
  background-color: var(--brand-ivory);
  border-color: var(--brand-ivory);
  color: var(--brand-blue);
}

.gallery-standalone .gallery-thumb.is-active {
  border-color: var(--brand-ivory);
}

@media screen and (max-width: 991px) {
  .gallery-stage {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-panel);
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-meta {
    flex-flow: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-slide,
  .gallery-thumb,
  .clinic-bento-item img {
    transition: none;
  }
}

/* ============================================================
   UX refinement pass
   Evidence-based fixes: WCAG contrast failures, sub-40px tap targets, missing
   focus-visible states, inconsistent section rhythm, booking form error states. */

/* --- 1. contrast fixes (measured < 4.5:1 on ivory/white) --- */
.cta-contact-label,
.booking-label {
  color: #566670;
}

/* ivory on olive-green measured 3.13:1 — darken the pill */
.about-pill-wrap._02 {
  background-color: #2f7a56;
}

/* ivory on sky blue measured 1.66:1 — navy text measures 6.3:1 */
.about-pill-wrap._04 .about-pill-text {
  color: #0f3f66;
}

/* --- 2. booking form validation states --- */
.booking-error {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  line-height: 1.4;
  color: #b3261e;
}

.booking-input[aria-invalid='true'] {
  border-color: #b3261e;
}

.booking-input[aria-invalid='true']:focus {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.booking-modal-note {
  font-size: var(--text-sm);
}

/* --- 3. touch targets (Fitts): nav, footer and text links were 23-32px tall --- */
.nav-link-block {
  padding-top: 10px;
  padding-bottom: 10px;
}

.footer-link,
.footer-info-link {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 10px;
}

.footer-info-link {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 16px text + 2 × 12px padding clears a 44px tap target, and the rule sits as
   an underline 4px under the text instead of a border 8px away (Fitts's law). */
.hero-call-link,
.cta-band-call,
.contact-map-link {
  display: inline-block;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: none;
  /* the longhand keeps the per-link text-decoration-color from being reset */
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* --- 4. focus visibility (was defined for 5 custom widgets only) ---
   currentColor keeps the ring visible on both light surfaces and dark sections */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* --- 5. section rhythm: 60/64/120/222px were mixed across sections --- */
@media screen and (min-width: 992px) {
  #about,
  #services,
  #why,
  #process,
  #stories,
  #pricing,
  #reviews,
  #clinic,
  #blog,
  #doctor,
  #mission,
  #credentials,
  #gallery {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  #contact {
    padding-top: 96px;
  }
}

/* booking error summary sits with the action it blocks (proximity) */
.booking-summary {
  grid-column: span 3;
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--radius-chip);
  background-color: rgba(179, 38, 30, 0.08);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.4;
  color: #b3261e;
}

/* ============================================================ home redesign pass
   Sticky header, hero faces, richer about cards, carousel reviews, the CTA panel
   with its cursor-following orb, and the footer's bars / slide links / credit. */

/* --- floating header ---------------------------------------------------- */
.navbar,
.navbar.w-nav,
.page-wrapper > .navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background-color: transparent !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding-top: 22px !important;
  padding-bottom: 14px !important;
  transition: padding 260ms ease, background-color 260ms ease, box-shadow 260ms ease !important;
}

.navbar.is-scrolled {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  background: transparent !important;
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.nav-brand .brand-mark {
  width: 62px !important;
  height: 62px !important;
  padding: 6px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 63, 102, 0.25) !important;
  flex-shrink: 0 !important;
  transition: transform 260ms ease !important;
}

.nav-brand:hover .brand-mark {
  transform: scale(1.05) !important;
}

.navbar .brand-name {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 18.5px !important;
  letter-spacing: -0.015em;
  margin-left: 4px !important;
  transition: color 260ms ease !important;
}

.navbar.is-scrolled .brand-name {
  color: #0b3453 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.navbar.is-scrolled .nav-brand .brand-mark {
  box-shadow: 0 4px 16px rgba(15, 63, 102, 0.28) !important;
}

@media (min-width: 992px) {
  .navbar .navigation-wrapper {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
    border-radius: var(--radius-pill) !important;
    padding: 6px 10px !important;
    transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease !important;
  }

  .navbar.is-scrolled .navigation-wrapper {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 63, 102, 0.12) !important;
    box-shadow: 0 8px 24px rgba(15, 63, 102, 0.1) !important;
  }

  .nav-link-block {
    background-color: transparent !important;
    color: #ffffff !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-radius: var(--radius-pill) !important;
    transition: all 220ms ease !important;
  }

  .nav-link-block:hover {
    background-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }

  .nav-link-block.w--current {
    background-color: #ffffff !important;
    color: #0b3453 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  }

  .navbar.is-scrolled .nav-link-block {
    color: #102d46 !important;
  }

  .navbar.is-scrolled .nav-link-block:hover {
    background-color: rgba(140, 207, 224, 0.2) !important;
    color: #0b3453 !important;
  }

  .navbar.is-scrolled .nav-link-block.w--current {
    background-color: #0b3453 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(11, 52, 83, 0.25) !important;
  }
}

.navbar.is-scrolled .menu-button {
  background-color: rgba(15, 63, 102, 0.06) !important;
  border: 1px solid rgba(15, 63, 102, 0.15) !important;
}

.navbar.is-scrolled .menu-button .menu-top,
.navbar.is-scrolled .menu-button .menu-bottom {
  background-color: #0b3453 !important;
}

@media (max-width: 991px) {
  .navigation-wrapper[data-nav-menu-open] {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 63, 102, 0.14) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(15, 63, 102, 0.22) !important;
    padding: 14px 16px !important;
    margin-top: 12px !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 9999 !important;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-block {
    color: #102d46 !important;
    background-color: transparent !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(15, 63, 102, 0.08) !important;
    text-decoration: none !important;
    transition: background-color 160ms ease, color 160ms ease !important;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-block:last-child {
    border-bottom: none !important;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-block:hover,
  .navigation-wrapper[data-nav-menu-open] .nav-link-block:focus-visible {
    background-color: rgba(140, 207, 224, 0.18) !important;
    color: #0b3453 !important;
  }

  .navigation-wrapper[data-nav-menu-open] .nav-link-block.w--current {
    background-color: rgba(140, 207, 224, 0.28) !important;
    color: #0b3453 !important;
    font-weight: 700 !important;
  }

  .navbar .menu-button {
    background-color: rgba(255, 255, 255, 0.18) !important;
    border-radius: 50% !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    transition: background-color 160ms ease !important;
  }

  .navbar .menu-button:hover,
  .navbar .menu-button:focus-visible {
    background-color: rgba(255, 255, 255, 0.28) !important;
  }

  .navbar .menu-button .menu-top,
  .navbar .menu-button .menu-bottom {
    background-color: #ffffff !important;
  }
}

.nav-brand .brand-mark {
  width: 44px;
  height: 44px;
  padding: 6px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(15, 63, 102, 0.16);
}

/* the header is in flow now, so the heroes no longer clear an absolute bar */
.section.hero {
  padding-top: 88px;
}

.page-hero {
  padding-top: 72px;
}

.gallery-standalone {
  padding-top: 72px;
}

/* --- hero ----------------------------------------------------------------- */
.title-wrapper-middle {
  grid-column-gap: 0;
  column-gap: 0;
}

.hero-wrap-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-face-stack {
  display: flex;
  align-items: center;
}

.hero-face {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-ivory);
  box-shadow: 0 8px 18px rgba(9, 44, 72, 0.3);
  margin-left: -16px;
}

.hero-face:first-child {
  margin-left: 0;
}

/* --- filled buttons: the two variants whose label inherited the template's
   dark ink landed at 1.51:1 on the brand fill ------------------------------ */
.button-text:where(.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5),
.button-text:where(.w-variant-44e41eb2-8e60-c979-6a7d-35d888e578c2) {
  color: var(--brand-ivory);
}

.button-arrow-wrap:where(.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5) {
  background-color: var(--brand-ivory);
}

/* --- about: stat cards (Clinical, elegant white cards matching site aesthetic) --- */
.about-content-wrapper {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(15, 63, 102, 0.1) !important;
  border-radius: 20px !important;
  padding: 32px 28px !important;
  box-shadow: 0 8px 24px rgba(15, 63, 102, 0.05), 0 2px 6px rgba(15, 63, 102, 0.03) !important;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease, border-color 320ms ease !important;
}

.about-content-wrapper::after,
.about-content-wrapper._02::after,
.about-content-wrapper._03::after {
  content: none !important;
  display: none !important;
}

.about-content-wrapper:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(140, 207, 224, 0.6) !important;
  box-shadow: 0 16px 36px rgba(15, 63, 102, 0.12) !important;
}

/* Choose Cards with Gradient Sky Blue Vanilla CSS Background */
.choose-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--_spacing---radius--radius-3x, 18px) !important;
  border: 1px solid rgba(13, 68, 110, 0.12) !important;
  background-color: #eaf6fb !important;
  background-image: linear-gradient(180deg, #eaf6fb 0%, #d6ecf6 100%) !important;
  box-shadow: 0 4px 16px rgba(11, 52, 83, 0.06) !important;
  padding: 14px 18px !important;
  grid-column-gap: 10px !important;
  grid-row-gap: 10px !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  min-height: unset !important;
  height: auto !important;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease, border-color 320ms ease, background-color 320ms ease !important;
}

.choose-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 10px 24px rgba(11, 52, 83, 0.12) !important;
  background-color: #e2f1fa !important;
  background-image: linear-gradient(180deg, #e2f1fa 0%, #cfe6f3 100%) !important;
}

.choose-card-icon-wrap,
.choose-card-content-wrap,
.choose-card .group-vector {
  position: relative !important;
  z-index: 1 !important;
}

.choose-card-icon-wrap {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 0 !important;
}

.choose-card .choose-icon {
  width: 20px !important;
  height: 20px !important;
}

.choose-card-content-wrap {
  gap: 4px !important;
  grid-row-gap: 4px !important;
}

.choose-card .h4.black {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin-top: 0 !important;
  margin-bottom: 2px !important;
  color: #0b3453 !important;
}

.choose-card .body-text.gray {
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  color: #556987 !important;
}

.choose-card .group-vector {
  width: 64px !important;
  height: auto !important;
  opacity: 0.5 !important;
}

.about-content-block {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.about-stat-mark {
  width: 32px !important;
  height: 4px !important;
  border-radius: 4px !important;
  background-color: var(--brand-sky, #8ccfe0) !important;
  margin-bottom: 8px !important;
}

.about-content-wrapper._02 .about-stat-mark {
  background-color: var(--brand-blue, #155a91) !important;
}

.about-content-wrapper._03 .about-stat-mark {
  background-color: var(--brand-blue-deep, #0b3453) !important;
}

.about-content-wrapper .count-num,
.about-content-wrapper .count-number {
  font-family: 'Alte Haas Grotesk', 'Clashgrotesk Variable', sans-serif !important;
  font-size: clamp(40px, 3.4vw, 54px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--brand-blue-deep, #0b3453) !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 4px !important;
  height: auto !important;
}

.about-content-wrapper .body-text.gray {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  line-height: 1.45 !important;
}

/* --- patient stories moving carousel (reference card layout) -------------- */
.reviews-carousel {
  margin-top: 44px;
  position: relative;
  width: 100%;
  outline: none;
  overflow: hidden;
  padding: 18px 0 12px;
}

.reviews-carousel:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 8px;
  border-radius: var(--radius-panel);
}

.reviews-stage {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: pan-y;
}

.reviews-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(720px, 84vw);
  margin: 0;
  display: flex;
  flex-flow: column;
  align-items: center;
  text-align: center;
  padding: 46px 48px 38px;
  border-radius: 24px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 63, 102, 0.08);
  box-shadow: 0 10px 30px -5px rgba(15, 63, 102, 0.06), 0 4px 12px rgba(15, 63, 102, 0.03);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 650ms ease,
              box-shadow 400ms ease,
              filter 650ms ease;
  will-change: transform, opacity;
}

/* Center active card */
.reviews-card.is-center {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 18px 45px -8px rgba(15, 63, 102, 0.1), 0 6px 18px rgba(15, 63, 102, 0.04);
}

/* Faded card on the left */
.reviews-card.is-left {
  transform: translateX(calc(-50% - 94%)) scale(0.9);
  opacity: 0.35;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
  filter: blur(0.3px);
}

.reviews-card.is-left:hover {
  opacity: 0.55;
  transform: translateX(calc(-50% - 92%)) scale(0.92);
}

/* Faded card on the right */
.reviews-card.is-right {
  transform: translateX(calc(-50% + 94%)) scale(0.9);
  opacity: 0.35;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
  filter: blur(0.3px);
}

.reviews-card.is-right:hover {
  opacity: 0.55;
  transform: translateX(calc(-50% + 92%)) scale(0.92);
}

/* Far cards hidden off-stage */
.reviews-card.is-hidden-left {
  transform: translateX(calc(-50% - 170%)) scale(0.75);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.reviews-card.is-hidden-right {
  transform: translateX(calc(-50% + 170%)) scale(0.75);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Quote mark icon at top */
.reviews-quote-icon {
  width: 38px;
  height: 38px;
  color: var(--brand-blue, #155a91);
  margin-bottom: 20px;
  flex: none;
}

/* Italicized patient quote text */
.reviews-quote {
  margin: 0 0 18px;
  font-family: var(--body-font);
  font-style: italic;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.65;
  color: #2c3e50;
  max-width: 620px;
  padding: 0 6px;
}

/* 5 stars centered */
.reviews-stars {
  font-size: 20px;
  letter-spacing: 5px;
  color: #f59e0b;
  margin-bottom: 22px;
  line-height: 1;
}

/* Author row */
.reviews-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  width: 100%;
}

.reviews-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 2px 8px rgba(15, 63, 102, 0.12);
}

.reviews-person-text {
  display: flex;
  flex-flow: column;
  text-align: left;
  gap: 2px;
}

.reviews-name {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-blue-deep);
  line-height: 1.25;
}

.reviews-role {
  font-family: var(--body-font);
  font-size: 13px;
  color: var(--text-muted);
}

/* Side Navigation Arrows on Carousel (Placed on left & right of cards) */
.reviews-carousel {
  position: relative !important;
}

.reviews-nav-side-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 50px !important;
  height: 50px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  border: 1px solid rgba(15, 63, 102, 0.12) !important;
  background-color: #ffffff !important;
  color: var(--brand-blue-deep, #0b3453) !important;
  box-shadow: 0 6px 20px rgba(15, 63, 102, 0.15) !important;
  cursor: pointer !important;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease !important;
}

.reviews-nav-side-btn.is-prev {
  left: 20px !important;
}

.reviews-nav-side-btn.is-next {
  right: 20px !important;
}

.reviews-nav-side-btn:hover {
  background-color: #0b3453 !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 10px 28px rgba(15, 63, 102, 0.25) !important;
}

@media screen and (max-width: 768px) {
  .reviews-nav-side-btn {
    width: 42px !important;
    height: 42px !important;
  }
  .reviews-nav-side-btn.is-prev {
    left: 8px !important;
  }
  .reviews-nav-side-btn.is-next {
    right: 8px !important;
  }
}

/* --- Google Business / Reviews linking ----------------------------------- */
.reviews-google-badge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  border: 1px solid rgba(15, 63, 102, 0.12);
  box-shadow: 0 2px 8px rgba(15, 63, 102, 0.05);
  text-decoration: none;
  color: var(--brand-blue-deep);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.reviews-google-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 63, 102, 0.1);
  border-color: var(--brand-blue);
}

.reviews-google-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.reviews-google-badge-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  color: var(--brand-blue-deep);
}

.reviews-google-score {
  font-weight: 700;
  color: var(--brand-blue-deep);
}

.reviews-google-stars {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #d99b23;
}

.reviews-google-label {
  font-weight: 500;
  color: var(--text-muted);
}

.reviews-external-icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--brand-blue);
  transition: transform 200ms ease;
}

.reviews-google-badge:hover .reviews-external-icon,
.reviews-google-cta-btn:hover .reviews-external-icon,
.reviews-card-google-link:hover .reviews-external-icon {
  transform: translate(2px, -2px);
}

.reviews-card-google-link {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(15, 63, 102, 0.05);
  border: 1px solid rgba(15, 63, 102, 0.08);
  color: var(--brand-blue-deep);
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.reviews-card-google-link:hover {
  background-color: var(--brand-blue-deep);
  color: #ffffff;
  border-color: var(--brand-blue-deep);
  transform: translateY(-1px);
}

.reviews-card-google-link:hover .reviews-external-icon {
  color: #ffffff;
}

.reviews-google-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.reviews-google-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-blue-deep);
  color: #ffffff;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 63, 102, 0.12);
  transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.reviews-google-cta-btn:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 63, 102, 0.2);
}

.reviews-google-cta-btn .reviews-external-icon {
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .reviews-stage {
    min-height: 480px;
  }
  .reviews-card {
    padding: 32px 22px 28px;
    width: min(92vw, 540px);
  }
  .reviews-card.is-left {
    transform: translateX(calc(-50% - 98%)) scale(0.86);
    opacity: 0.28;
  }
  .reviews-card.is-right {
    transform: translateX(calc(-50% + 98%)) scale(0.86);
    opacity: 0.28;
  }
  .reviews-quote {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .reviews-stars {
    font-size: 17px;
    letter-spacing: 3px;
    margin-bottom: 16px;
  }
  .reviews-avatar {
    width: 44px;
    height: 44px;
  }
  .reviews-footer {
    max-width: 92vw;
    margin-top: 24px;
  }
}

@media screen and (max-width: 640px) {
  .reviews-google-badge {
    padding: 6px 14px;
    font-size: var(--text-xs);
  }
  .reviews-google-label {
    display: none;
  }
  .reviews-google-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

/* WebGL Shader Background for CTA (Inline and Bottom Band) */
.cta-shader-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  border-radius: inherit !important;
  opacity: 0.88 !important;
}

.cta-band-inner {
  position: relative !important;
  overflow: hidden !important;
}

.cta-band-copy,
.cta-band-actions {
  position: relative !important;
  z-index: 2 !important;
}

/* --- closing call to action ----------------------------------------------- */
.cta-panel {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 24px !important;
  padding: 80px 48px !important;
  border-radius: var(--radius-panel) !important;
  background-color: var(--brand-blue-deep) !important;
  color: var(--brand-ivory) !important;
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: -45%;
  right: -12%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(140, 207, 224, 0.24), rgba(140, 207, 224, 0) 68%);
  pointer-events: none;
}

.cta-panel-copy,
.cta-panel-copy.cta-panel-centered {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 18px !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.cta-panel-title {
  color: var(--brand-ivory) !important;
  text-align: center !important;
  width: 100% !important;
}

.cta-panel-text {
  color: var(--on-dark-body) !important;
  max-width: 540px !important;
  text-align: center !important;
  margin: 0 auto 24px !important;
  width: 100% !important;
}

.cta-panel .primary-button {
  margin: 0 auto !important;
  align-self: center !important;
}


/* Standalone live-orb (if used on a page outside a button) */
.live-orb {
  position: relative;
  z-index: 2;
  flex: none;
  width: 176px;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border-radius: 50%;
  background-image: radial-gradient(circle at 34% 26%, #eef9ff 0%, var(--brand-sky) 48%, var(--brand-blue) 100%);
  box-shadow:
    inset 0 -20px 34px rgba(15, 63, 102, 0.35),
    0 26px 50px rgba(9, 44, 72, 0.4);
  animation: orb-breathe 5s ease-in-out infinite;
}

.live-orb-eye {
  width: 34px;
  height: 46px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orb-blink 6.4s ease-in-out infinite;
}

.live-orb-pupil {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--brand-blue-deep);
  transition: transform 200ms cubic-bezier(0.22, 0.68, 0.28, 1);
}

/* Button-embedded compact live-orb: sphere with two animated short vertical line eyes */
.button-arrow-wrap .live-orb,
.live-orb-compact,
.cta-button-orb {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at 35% 30%, #c4eafc 0%, #68bcee 55%, #2a8bc8 100%) !important;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.95),
    inset 0 -2px 4px rgba(11, 52, 83, 0.22),
    0 3px 8px rgba(11, 52, 83, 0.22) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  animation: none !important;
  pointer-events: none !important;
  border-radius: 50% !important;
  z-index: 2 !important;
}

.live-orb-eyes {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  pointer-events: none !important;
  will-change: transform !important;
  transition: transform 90ms ease-out !important;
}

.live-orb-slit {
  display: block !important;
  width: 3.5px !important;
  height: 12px !important;
  border-radius: 2px !important;
  background-color: #0b1c2d !important;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5) !important;
}

/* Standalone large orb */
.live-orb:not(.live-orb-compact) .live-orb-eyes {
  gap: 16px !important;
}
.live-orb:not(.live-orb-compact) .live-orb-slit {
  width: 10px !important;
  height: 38px !important;
  border-radius: 5px !important;
}

/* On hover of primary-button: eyes hide so double-arrow animation shows */
.primary-button:hover .button-arrow-wrap .live-orb,
.primary-button:hover .button-arrow-wrap .live-orb-eyes {
  opacity: 0 !important;
  transform: scale(0.6) !important;
  transition: opacity 250ms ease, transform 250ms ease !important;
}

.primary-button .button-arrow-wrap .live-orb,
.primary-button .button-arrow-wrap .live-orb-eyes {
  opacity: 1 !important;
  transition: opacity 280ms ease, transform 100ms ease-out !important;
}

@keyframes orb-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes orb-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}

/* --- footer (Complete, beautifully styled 4-column layout) --- */
.section.footer {
  position: relative !important;
  overflow: hidden !important;
  background-color: #061929 !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(21, 90, 145, 0.45) 0%, transparent 65%),
    url("/assets/img/1c9ad7-6a8fdb8a2d8d2fcfe6d7bf7e_Frame-1171276711-1-.webp") !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: overlay !important;
  padding-top: 80px !important;
  padding-bottom: 36px !important;
  color: #ffffff !important;
}

.section.footer .footer-image-wrapper,
.section.footer .footer-divider,
.footer-image-wrapper,
.footer-divider,
.footer-wordmark {
  visibility: visible !important;
  opacity: 1 !important;
}

.footer-bars {
  display: none !important;
}

.footer-main-wrapper {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

/* 4-Column Navigation Layout */
.footer-info {
  display: grid !important;
  grid-template-columns: 2.2fr 1.2fr 1.2fr 1.8fr !important;
  gap: 48px !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin-bottom: 50px !important;
}

.footer-info-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.footer-info-title {
  font-family: 'Alte Haas Grotesk', 'Clashgrotesk Variable', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 4px !important;
}

.footer-brand-desc {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 320px !important;
  margin: 0 !important;
}

.footer-info-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-info-item {
  display: block !important;
  list-style: none !important;
}

.footer-info-link {
  display: inline-block !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  transition: color 200ms ease, transform 200ms ease !important;
}

.footer-info-link:hover,
.footer-info-link:focus-visible {
  color: var(--brand-sky, #8ccfe0) !important;
  text-decoration: none !important;
  transform: translateX(4px) !important;
}

/* Giant Magazine Wordmark across the base of the footer */
.footer-image-wrapper {
  margin: 40px 0 30px !important;
  text-align: center !important;
  overflow: hidden !important;
  width: 100% !important;
}

.footer-wordmark-link {
  display: block !important;
  text-decoration: none !important;
}

.footer-wordmark {
  font-family: 'Alte Haas Grotesk', 'Clashgrotesk Variable', sans-serif !important;
  font-size: clamp(48px, 8.4vw, 126px) !important;
  font-weight: 700 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.035em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 35%, rgba(140, 207, 224, 0.48) 75%, rgba(140, 207, 224, 0.08) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 12px 30px rgba(140, 207, 224, 0.2)) !important;
  user-select: none !important;
}

.footer-divider {
  width: 100% !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 50%, transparent) !important;
  margin-bottom: 28px !important;
}

/* Bottom Bar */
.footer-bottom-wrap {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.footer-bottom-wrap .body-text.white {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13.5px !important;
}

.footer-credit {
  margin-top: 4px !important;
  font-size: 12.5px !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-icon-wrapper {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
}

.footer-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 220ms ease !important;
}

.footer-icon-wrap:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

@media screen and (max-width: 991px) {
  .footer-info {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
  }
}

@media screen and (max-width: 640px) {
  .footer-info {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .footer-bottom-wrap {
    flex-direction: column !important;
    gap: 20px !important;
    text-align: center !important;
  }
}

@media screen and (max-width: 991px) {
  .reviews-card {
    padding: 32px 28px 28px;
  }

  .reviews-stage {
    min-height: 440px;
  }

  .cta-panel {
    flex-flow: column;
    align-items: flex-start;
    gap: 36px;
    padding: 44px 28px;
  }

  .live-orb {
    width: 140px;
    height: 140px;
    gap: 20px;
  }

  .live-orb-eye {
    width: 28px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-bar,
  .live-orb,
  .live-orb-eye {
    animation: none !important;
  }

  .about-content-wrapper:hover {
    transform: none;
  }

  .footer-slide-lines,
  .reviews-card {
    transition: none;
  }
}


/* ============================================================ 18-Point Feedback System Updates */

/* Nav slide animation for header links */
.nav-slide-track {
  display: inline-block;
  height: 20px;
  overflow: hidden;
  vertical-align: middle;
}

.nav-slide-lines {
  display: flex;
  flex-direction: column;
  transition: transform 340ms cubic-bezier(0.22, 0.68, 0.28, 1);
}

.nav-slide-line {
  display: block;
  height: 20px;
  line-height: 20px;
}

.nav-link-block:hover .nav-slide-lines,
.nav-link-block:focus-visible .nav-slide-lines {
  transform: translateY(-50%);
}

/* CTA centered copy and button eyes */
.cta-eyes-wrap {
  position: relative !important;
  overflow: hidden !important;
}

.cta-button-eyes .cta-hover-arrow {
  opacity: 0 !important;
  transform: scale(0.6) !important;
  transition: opacity 240ms ease, transform 240ms ease !important;
}

.cta-button-eyes:hover .cta-button-orb {
  opacity: 0 !important;
  transform: scale(0.6) !important;
}

.cta-button-eyes:hover .cta-hover-arrow {
  opacity: 1 !important;
  transform: scale(1) translate(2px, -2px) !important;
}

.journey-facility-centered {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  margin-top: 36px !important;
}

.journey-facility-centered .cta-button-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  gap: 20px !important;
}


.journey-facility-centered .hero-call-link {
  color: var(--brand-blue-deep, #0b3453) !important;
  font-weight: 600 !important;
}

/* ============================================================
   OUR PROCESS (WORKS) — CLONED FROM BASE HELORA TEMPLATE LOOK & ANIMATIONS
   ============================================================ */
#process.section.works,
.section.works {
  background-color: var(--_color-pallet---white-shade--white, #ffffff) !important;
  background-image: none !important;
  color: var(--_color-pallet---dark-shade--black, #102d46) !important;
  position: relative !important;
  overflow: visible !important;
  padding-top: 100px !important;
  padding-bottom: 140px !important;
}

#process.section.works .works-main-wrapper {
  position: relative !important;
}

#process.section.works .works-top {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 110px !important;
  z-index: 2 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: 100% !important;
  pointer-events: none !important;
  margin-bottom: 0 !important;
}

#process.section.works .works-title-wrapper {
  pointer-events: auto !important;
  width: 100% !important;
  max-width: 680px !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  will-change: transform, opacity;
  transform-origin: center top;
}

#process.section.works .sub-title-wrapper.middle {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

#process.section.works .sub-tag-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

#process.section.works .sub-tag-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #155a91 !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

#process.section.works .sub-tag-text-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#process.section.works .sub-tag-text-wrap .body-text {
  color: #155a91 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

#process.section.works .sub-title-wrap {
  margin-bottom: 16px !important;
}

#process.section.works .sub-title {
  color: #0b3453 !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

#process.section.works .sub-text-wrap.works {
  max-width: 596px !important;
  margin: 0 auto !important;
}

#process.section.works .body-text.gray {
  color: #556987 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.works-flex {
  display: flex !important;
  flex-flow: row !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 1 !important;
  margin-top: 64px !important;
}

.works-left-wrap,
.works-right-wrap {
  width: 446px !important;
  max-width: 45% !important;
}

.works-wrapper {
  display: flex !important;
  flex-flow: column !important;
  row-gap: 323px !important;
  grid-row-gap: 323px !important;
  width: 100% !important;
}

.works-wrapper.right {
  margin-top: 307px !important;
}

.works-wrap {
  position: relative !important;
  border-radius: 20px !important;
  background-color: var(--_color-pallet---white-shade--frost-white, #f6f7f9) !important;
  border: 1px solid rgba(16, 45, 70, 0.05) !important;
  box-shadow: 0 4px 20px rgba(11, 52, 83, 0.04) !important;
  padding: 12px 12px 24px !important;
  display: flex !important;
  flex-flow: column !important;
  width: 100% !important;
  transition: box-shadow 0.35s ease, transform 0.35s ease !important;
}

.works-wrap:hover {
  box-shadow: 0 16px 36px rgba(11, 52, 83, 0.08) !important;
  transform: translateY(-4px) !important;
}

.works-wrap .works-image-wrapper {
  border-radius: 20px !important;
  overflow: hidden !important;
  aspect-ratio: 422 / 435 !important;
  width: 100% !important;
  background-color: #eaf0f4 !important;
}

.works-wrap .works-image {
  border-radius: 20px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: saturate(125%) !important;
  transform: scale(1);
  will-change: transform;
}

.works-wrap .works-content {
  width: 100% !important;
  max-width: 286px !important;
  margin: 24px auto 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.works-wrap .h3 {
  color: #0b3453 !important;
  font-family: var(--heading-font) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

.works-wrap .body-text.middle {
  color: #556987 !important;
  line-height: 1.6 !important;
  font-size: 15px !important;
  text-align: center !important;
  margin: 0 !important;
}

/* Horizontal auto-loop marquee ticker for mobile & tablet */
.work-loop-wrapper {
  display: none !important;
  overflow: hidden !important;
  width: 100% !important;
  margin-top: 48px !important;
  user-select: none !important;
  position: relative !important;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.work-loop-track {
  display: flex !important;
  gap: 16px !important;
  width: max-content !important;
  animation: workLoopMarquee 38s linear infinite !important;
}

.work-loop-track:hover {
  animation-play-state: paused !important;
}

.work-loop {
  display: flex !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

.work-loop .works-wrap {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  flex-shrink: 0 !important;
}

@keyframes workLoopMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 991px) {
  #process.section.works,
  .section.works {
    padding-top: 60px !important;
    padding-bottom: 80px !important;
  }

  #process.section.works .works-top {
    position: static !important;
    top: auto !important;
    pointer-events: auto !important;
  }

  .works-flex {
    display: none !important;
  }

  .work-loop-wrapper {
    display: flex !important;
  }
}

/* Modern Blog Cards */
.blog-wrapper {
  background: #ffffff !important;
  border: 1px solid rgba(52, 66, 77, 0.09) !important;
  border-radius: var(--radius-card) !important;
  padding: 16px !important;
  box-shadow: 0 4px 18px rgba(15, 63, 102, 0.05) !important;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms ease, border-color 320ms ease !important;
}

.blog-wrapper:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(15, 63, 102, 0.12) !important;
  border-color: rgba(21, 90, 145, 0.3) !important;
}

.blog-image-wrap {
  border-radius: 14px !important;
  height: 220px !important;
  overflow: hidden !important;
}

.blog-image {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  filter: none !important;
  transition: transform 420ms ease !important;
}

.blog-wrapper:hover .blog-image {
  transform: scale(1.05) !important;
}

.blog-content-wrapper {
  padding-top: 14px !important;
  gap: 10px !important;
}

.blog-wrap {
  background: #f0f6fa !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  width: fit-content !important;
}

.blog-wrap .h5 {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--brand-blue-deep) !important;
}

.blog-wrap .body-text-s {
  font-size: 13px !important;
  color: var(--brand-ink) !important;
}

.blog-divider {
  display: none !important;
}

.blog-title-wrap .h5 {
  font-size: 17px !important;
  line-height: 1.4 !important;
  color: var(--brand-ink) !important;
  transition: color 220ms ease !important;
}

.blog-wrapper:hover .blog-title-wrap .h5 {
  color: var(--brand-blue-deep) !important;
}

/* Blog Section Heading One-Line constraint */
.sub-title-wrap.blog {
  max-width: 680px !important;
  width: 100% !important;
}

.blog-insights-line {
  white-space: nowrap !important;
  display: inline-block !important;
}


/* ============================================================ Full-Bleed Editorial Hero (Magazine Cover Style) */
.hero-editorial-section {
  position: relative !important;
  background: linear-gradient(180deg, #0b3453 0%, #104470 45%, #155587 100%) !important;
  padding-top: clamp(125px, 11vw, 155px) !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
}

/* WebGL Shader Background matching CTA */
.hero-shader-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0.9 !important;
}

.hero-editorial-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.hero-mobile-copy {
  display: none !important;
}

.hero-editorial-top,
.hero-editorial-badge {
  display: none !important;
}

/* Stage: Headline layout & overlapping runner cutout */
.hero-editorial-stage {
  position: relative;
  width: 100%;
  padding-bottom: 50px;
}

.hero-editorial-h1 {
  font-family: 'Alte Haas Grotesk', 'Clashgrotesk Variable', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(54px, 7.8vw, 116px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0;
  display: flex;
  flex-direction: column;
  perspective: 800px !important;
  transform-style: preserve-3d !important;
}

.hero-editorial-line-left {
  display: block;
  text-align: left;
  transform-style: preserve-3d !important;
}

.hero-editorial-line-right {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: 6px !important;
  padding-right: 0 !important;
  transform-style: preserve-3d !important;
}

.hero-text-foryour {
  display: inline-block !important;
  flex: none !important;
  white-space: nowrap !important;
  text-align: left !important;
  transform-style: preserve-3d !important;
}

/* Individual letter 3D flip animation (Graceful 1.2s pacing) */
.hero-flip-char {
  display: inline-block !important;
  transform-origin: 50% 100% !important; /* Hinged on bottom edge */
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
  opacity: 0;
  transform: rotateX(-90deg);
  animation: heroLetterFlipUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
  will-change: transform, opacity;
}

.hero-char-space {
  display: inline-block !important;
  width: 0.28em;
}

@keyframes heroLetterFlipUp {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

/* ========================================================================== */
/* Universal Section Header Typography 3D Flip Animation                      */
/* ========================================================================== */
.perspective-header {
  perspective: 800px !important;
  transform-style: preserve-3d !important;
}

.flip-header-inner {
  display: inline !important;
  transform-style: preserve-3d !important;
}

.flip-word {
  display: inline-block !important;
  white-space: nowrap !important;
  transform-style: preserve-3d !important;
}

.flip-space {
  display: inline-block !important;
  width: 0.28em !important;
}

.flip-char {
  display: inline-block !important;
  transform-origin: 50% 100% !important; /* Hinged on bottom edge */
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
  opacity: 0;
  transform: rotateX(-90deg);
  will-change: transform, opacity;
}

/* Trigger animation on viewport entry */
.perspective-header.is-flipped .flip-char {
  animation: sectionLetterFlipUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
  animation-delay: calc(var(--char-index, 0) * 60ms) !important;
}

@keyframes sectionLetterFlipUp {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flip-char,
  .flip-char {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes mobile-orb-blink {
  0%, 88%, 100% { transform: scaleY(1); }
  91% { transform: scaleY(0.12); }
  94% { transform: scaleY(1); }
}

.live-orb-eyes-blink .live-orb-slit {
  transform-origin: center;
  animation: mobile-orb-blink 4.8s ease-in-out infinite;
}

.live-orb-eyes-blink .live-orb-slit:last-child {
  animation-delay: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .live-orb-eyes-blink .live-orb-slit {
    animation: none !important;
  }
}

/* Overlapping Running Girl Cutout (Centered between 'for your' and 'recovery' & overlapping clinic image) */
.hero-runner-overlap-wrap {
  position: absolute !important;
  left: 50% !important;
  bottom: -85px !important;
  transform: translateX(-50%) rotate(-10deg) !important;
  transform-origin: center center !important;
  z-index: 20 !important;
  pointer-events: none !important;
  transition: transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.hero-runner-cutout {
  display: block !important;
  width: clamp(170px, 20vw, 290px) !important;
  height: auto !important;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45)) !important;
}

.hero-text-recovery {
  display: inline-block !important;
  flex: none !important;
  white-space: nowrap !important;
  text-align: right !important;
}

/* Full-Bleed Viewport-Width Clinic Photo: Flush edges, 0 curved corners */
.hero-editorial-fullbleed {
  position: relative;
  width: 100%;
  line-height: 0;
  border-radius: 0 !important;
  overflow: hidden;
  border: none !important;
  box-shadow: none !important;
  z-index: 1;
  margin-top: -24px;
}

.hero-editorial-fullbleed-img {
  width: 100%;
  height: clamp(480px, 64vh, 740px);
  object-fit: cover;
  object-position: center 20% !important;
  display: block;
  border-radius: 0 !important;
  border: none !important;
}

.hero-editorial-fullbleed-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 52, 83, 0.28) 0%, rgba(11, 52, 83, 0) 25%, rgba(0, 0, 0, 0.22) 100%);
}

@media (max-width: 991px) {
  .hero-editorial-h1 {
    font-size: clamp(42px, 8vw, 76px);
  }

  .hero-runner-overlap-wrap {
    left: 50% !important;
    bottom: -62px !important;
    transform: translateX(-50%) rotate(-10deg) !important;
  }

  .hero-runner-cutout {
    width: clamp(135px, 20vw, 190px) !important;
  }

  .hero-editorial-fullbleed-img {
    height: 440px;
    object-position: center 20% !important;
  }
}

@media (max-width: 640px) {
  .hero-editorial-section {
    padding-top: 105px !important;
  }

  .hero-editorial-stage {
    padding-bottom: 35px;
  }

  .hero-editorial-h1 {
    font-size: clamp(34px, 9.5vw, 50px);
  }

  .hero-runner-overlap-wrap {
    left: 50% !important;
    bottom: -48px !important;
    transform: translateX(-50%) rotate(-10deg) !important;
  }

  .hero-runner-cutout {
    width: 125px !important;
  }

  .hero-editorial-fullbleed-img {
    height: 350px;
    object-position: center 20% !important;
  }
}


/* ---------------------------------------------------- doctor timeline animation */
.doctor-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 63, 102, 0.1);
  border-radius: var(--radius-panel);
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(15, 63, 102, 0.05);
}

.doctor-timeline-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doctor-timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}

.doctor-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-mint);
  box-shadow: 0 0 0 3px rgba(138, 217, 174, 0.35);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.doctor-timeline-title {
  font-family: var(--heading-font);
  font-size: clamp(20px, 2vw, 24px);
  color: var(--brand-blue-deep);
  margin: 0;
}

.doctor-timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}

.doctor-timeline-line {
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-mint) 100%);
  border-radius: 2px;
}

.doctor-timeline-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0.35;
  transform: translateX(12px);
  transition: opacity 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.doctor-timeline-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.doctor-timeline-node {
  position: relative;
  z-index: 2;
  flex: none;
  width: 36px;
  height: 36px;
  margin-left: -19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-timeline-node-inner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--brand-blue-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--brand-blue-deep);
  transition: background-color 300ms, transform 300ms, box-shadow 300ms;
}

.doctor-timeline-item.is-visible .doctor-timeline-node-inner {
  background-color: var(--brand-blue-deep);
  box-shadow: 0 0 0 3px var(--brand-mint);
  transform: scale(1.08);
}

.doctor-timeline-card {
  flex: 1;
  background-color: #fafbfd;
  border: 1px solid rgba(15, 63, 102, 0.08);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  box-shadow: 0 3px 10px rgba(15, 63, 102, 0.03);
  transition: box-shadow 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.doctor-timeline-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 6px 18px rgba(15, 63, 102, 0.09);
  transform: translateY(-2px);
}

.doctor-timeline-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.doctor-timeline-phase {
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}

.doctor-timeline-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-sage-tint);
  color: var(--brand-blue-deep);
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
}

.doctor-timeline-card-title {
  font-family: var(--heading-font);
  font-size: 15px;
  line-height: 1.3;
  color: var(--brand-blue-deep);
  margin: 0 0 4px;
}

.doctor-timeline-card-desc {
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 1.5;
  color: #556977;
  margin: 0;
}

/* ============================================================ Consultation Appointment Modal Overlay */
.appointment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(8, 28, 46, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-y: auto;
  animation: modalBackdropFadeIn 240ms ease-out forwards;
}

.appointment-modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: #fafaf6;
  border: 1px solid rgba(15, 63, 102, 0.12);
  border-radius: var(--radius-panel);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4.5vw, 46px);
  box-shadow:
    0 24px 64px rgba(6, 23, 38, 0.38),
    0 4px 16px rgba(0, 0, 0, 0.08);
  animation: modalCardPop 320ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
}

.appointment-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(15, 63, 102, 0.14);
  color: #4b5d6b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.appointment-modal-close:hover {
  background: #f0f5fa;
  color: var(--brand-blue-deep);
  border-color: var(--brand-blue);
  transform: scale(1.06);
}

.appointment-modal-header {
  margin-bottom: 24px;
}

.appointment-modal-tag {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b4382;
  margin-bottom: 8px;
}

.appointment-modal-title {
  font-family: 'Alte Haas Grotesk', 'Clashgrotesk Variable', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: #102d46;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.appointment-modal-desc {
  font-family: var(--body-font);
  font-size: 14.5px;
  line-height: 1.55;
  color: #556775;
  margin: 0;
  max-width: 520px;
}

/* Grid & Fields */
.appointment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-bottom: 22px;
}

.appointment-form-field {
  display: flex;
  flex-direction: column;
}

.appointment-form-field-full {
  grid-column: span 2;
}

.appointment-form-label {
  font-family: var(--body-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #566775;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.required-star {
  color: #d9383a;
  margin-left: 2px;
  font-weight: 700;
}

.appointment-form-input,
.appointment-form-select,
.appointment-form-textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--body-font);
  font-size: 14.5px;
  color: #102d46;
  background-color: #ffffff;
  border: 1px solid #d5e0e8;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  appearance: none;
}

.appointment-form-input {
  height: 48px;
}

.appointment-form-input::placeholder,
.appointment-form-textarea::placeholder {
  color: #9aa9b4;
  opacity: 1;
}

.appointment-form-input:focus,
.appointment-form-select:focus,
.appointment-form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(21, 90, 145, 0.16);
  background-color: #ffffff;
}

.appointment-form-input.has-error {
  border-color: #d9383a;
  background-color: #fff9f9;
}

.appointment-field-error {
  font-size: 11.5px;
  color: #d9383a;
  margin-top: 4px;
  font-weight: 500;
}

/* Custom Select Dropdown */
.appointment-select-wrap {
  position: relative;
  width: 100%;
}

.appointment-form-select {
  height: 48px;
  padding-right: 36px;
  cursor: pointer;
}

.appointment-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #607382;
  display: flex;
  align-items: center;
}

.appointment-form-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

/* Actions */
.appointment-modal-actions {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.appointment-modal-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--body-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: linear-gradient(135deg, #124b78 0%, #0a2d4a 100%);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.32),
    inset 0 -3px 6px rgba(0, 0, 0, 0.36),
    0 10px 24px rgba(8, 35, 58, 0.24);
  transition: all 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.appointment-modal-submit-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #edf3f8 100%);
  color: #0a2d4a;
  border-color: rgba(10, 45, 74, 0.16);
  box-shadow:
    inset 0 2px 4px #ffffff,
    inset 0 -3px 6px rgba(10, 45, 74, 0.12),
    0 12px 28px rgba(10, 45, 74, 0.26);
  transform: translateY(-1px);
}

.appointment-submit-arrow {
  font-size: 15px;
  transition: transform 240ms ease;
}

.appointment-modal-submit-btn:hover .appointment-submit-arrow {
  transform: translateX(4px);
}

.appointment-modal-disclaimer {
  font-family: var(--body-font);
  font-size: 12px;
  line-height: 1.5;
  color: #718391;
  margin: 0;
}

/* Success View */
.appointment-modal-success {
  text-align: center;
  padding: 20px 0;
}

.appointment-modal-success-badge {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #10663f;
  background: #e4f7ed;
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 12px;
}

@keyframes modalBackdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalCardPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .appointment-modal-overlay {
    padding: 14px;
    align-items: flex-end;
  }

  .appointment-modal-card {
    border-radius: 22px 22px 14px 14px;
    padding: 28px 18px 24px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .appointment-modal-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .appointment-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .appointment-form-field-full {
    grid-column: span 1;
  }

  .appointment-modal-submit-btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Accessibility & Interaction Enhancements (Jakob's, Fitts's & WCAG)         */
/* -------------------------------------------------------------------------- */

/* Skip to main content link for keyboard / screen reader users */
.skip-link {
  position: fixed;
  top: -120px;
  left: 20px;
  background-color: var(--brand-ink, #0b3453);
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  z-index: 999999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: top 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 20px;
  outline: 3px solid var(--brand-sky, #8ccfe0);
  outline-offset: 3px;
}

/* Global focus-visible indicator */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--brand-sky, #8ccfe0) !important;
  outline-offset: 3px !important;
}

/* Footer wordmark home link */
.footer-wordmark-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.footer-wordmark-link:hover .footer-wordmark {
  opacity: 0.94;
  transform: scale(1.004);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Service Card interactive affordance */
.service-card-interactive {
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease;
}

.service-card-interactive:hover {
  transform: translateY(-4px);
}

.service-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-sky, #8ccfe0);
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.service-card-interactive:hover .service-card-action-arrow {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}

/* Services explore link */
.services-explore-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
  text-align: center;
}

.services-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 63, 102, 0.12);
  border-radius: var(--radius-pill);
  color: #102d46;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 63, 102, 0.06);
  transition: all 0.22s ease;
}

.services-explore-link:hover {
  background-color: #ffffff;
  color: #0b3453;
  box-shadow: 0 8px 24px rgba(15, 63, 102, 0.12);
  transform: translateY(-2px);
}

.services-explore-link .services-explore-arrow {
  transition: transform 0.2s ease;
}

.services-explore-link:hover .services-explore-arrow {
  transform: translateX(4px);
}

/* -------------------------------------------------------------------------- */
/* WCAG 2.2 Level AA Responsive & Usability Enhancements                       */
/* -------------------------------------------------------------------------- */

/* Prevent horizontal scroll bleed on mobile viewports */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

.page-wrapper {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Prevent unwanted iOS Safari auto-zoom on form inputs below 16px */
@media screen and (max-width: 768px) {
  .appointment-form-input,
  .appointment-form-select,
  .appointment-form-textarea,
  .booking-input,
  .booking-textarea {
    font-size: 16px !important;
  }
}

/* WCAG 2.2 SC 2.5.8 Target Size Minimum (24x24px min, 44x44px for touch) */
button,
a,
input,
select,
textarea {
  min-height: 24px;
}

@media (pointer: coarse) {
  .navbar .menu-button,
  .nav-link-block,
  .primary-button,
  .appointment-modal-close,
  .gallery-stage-arrow,
  .beacon-tab {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Comprehensive WCAG 2.2 SC 2.3.3 Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [zoom-out],
  [img-scroll],
  [grow-in],
  [slide-bottom-all] {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}


/* ========================================================================== */
/* Pricing Middle Card: Shader Background & High-Contrast Button Text         */
/* ========================================================================== */
.pricing-plan-wrapper.middle {
  position: relative !important;
  overflow: hidden !important;
  background-color: var(--brand-blue-deep, #0b3453) !important;
  box-shadow: 0 20px 48px rgba(11, 52, 83, 0.28) !important;
}

.pricing-shader-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  opacity: 0.88 !important;
}

.pricing-plan-wrapper.middle > *:not(.pricing-shader-bg) {
  position: relative !important;
  z-index: 1 !important;
}


/* ========================================================================== */
/* Service Cards: Smaller Floating Pill with Thin Border & Padding from Image */
/* ========================================================================== */
.service-wrapper {
  position: relative !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}

.service-image {
  border-radius: 24px !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 440px !important;
  display: block !important;
}

.service-wrap {
  position: absolute !important;
  inset: auto 16px 16px 16px !important;
  border-radius: 20px !important;
  padding: 18px 20px !important;
  background: rgba(11, 52, 83, 0.82) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background-color 300ms ease, border-color 300ms ease !important;
}

.service-card-interactive:hover .service-wrap {
  background: rgba(11, 52, 83, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  transform: translateY(-2px) !important;
}

.service-wrap .h4 {
  font-size: 20px !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.service-wrap .body-text.mist {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.service-wrap .service-card-action {
  margin-top: 8px !important;
}

@media screen and (max-width: 768px) {
  .service-wrap {
    inset: auto 12px 12px 12px !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
  }
}

/* ========================================================================== */
/* Section Headers Bolder (Item 4)                                            */
/* ========================================================================== */
.sub-title {
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* ========================================================================== */
/* Primary Buttons (Restored to Authentic Unified Pill Design)                */
/* ========================================================================== */
.primary-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-radius: var(--_spacing---radius--radius-6x, 9999px) !important;
  background-color: #0b3453 !important;
  padding: 8px 8px 8px 24px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(11, 52, 83, 0.18) !important;
  border: none !important;
  line-height: normal !important;
  position: relative !important;
  transition: background-color 260ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 260ms ease,
              transform 260ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.primary-button:hover {
  background-color: #155a91 !important;
  box-shadow: 0 8px 24px rgba(11, 52, 83, 0.26) !important;
  transform: translateY(-2px) !important;
}

.primary-button:active {
  transform: translateY(0) scale(0.98) !important;
}

.primary-button-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.primary-button .button-text-wrap {
  position: relative !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  line-height: normal !important;
}

.primary-button .button-text {
  color: #ffffff !important;
  font-family: var(--body-font) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  word-spacing: 0.15em !important;
  line-height: normal !important;
  white-space: nowrap !important;
  display: block !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: color 240ms ease !important;
}

/* Hide duplicate second .button-text so only one text is visible and never translated out of view */
.primary-button .button-text + .button-text {
  display: none !important;
}

.primary-button:hover .button-text-wrap,
.primary-button:focus-visible .button-text-wrap {
  height: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.primary-button:hover .button-text,
.primary-button:hover .button-text *,
.primary-button:hover .hero-mobile-button-label,
.primary-button:hover .hero-mobile-button-label *,
.primary-button:focus-visible .button-text,
.primary-button:focus-visible .button-text *,
.primary-button:focus-visible .hero-mobile-button-label,
.primary-button:focus-visible .hero-mobile-button-label * {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.primary-button .button-arrow-wrap {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), background-color 260ms ease !important;
}

.primary-button .button-arrow-wrap::before,
.primary-button .button-arrow-wrap::after {
  display: none !important;
  content: none !important;
}

.primary-button .arrow-icon,
.primary-button .button-arrow-wrap .arrow-icon,
.arrow-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  flex: none !important;
  display: inline-block !important;
  content: url("/assets/img/arrow-navy.svg") !important;
  transform: rotate(0deg) !important;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.primary-button:hover .arrow-icon,
.primary-button:hover .button-arrow-wrap .arrow-icon,
.primary-button:focus-visible .arrow-icon,
.primary-button:focus-visible .button-arrow-wrap .arrow-icon {
  transform: rotate(45deg) translateX(1px) !important;
}

/* Light variant (Hero, white cards, light mode) */
.primary-button[data-wf--button--variant="light"],
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 {
  background-color: #ffffff !important;
  color: #0b3453 !important;
  border: 1px solid rgba(11, 52, 83, 0.12) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.primary-button[data-wf--button--variant="light"] .button-text,
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 .button-text {
  color: #0b3453 !important;
}

.primary-button[data-wf--button--variant="light"] .button-arrow-wrap,
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 .button-arrow-wrap {
  background-color: #0b3453 !important;
}

.primary-button[data-wf--button--variant="light"] .arrow-icon,
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 .arrow-icon {
  content: url("/assets/img/arrow-white.svg") !important;
}

.primary-button[data-wf--button--variant="light"]:hover,
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover {
  background-color: #0b3453 !important;
  color: #ffffff !important;
  border-color: #0b3453 !important;
  box-shadow: 0 8px 24px rgba(11, 52, 83, 0.22) !important;
}

.primary-button[data-wf--button--variant="light"]:hover .button-text,
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover .button-text {
  color: #ffffff !important;
}

.primary-button[data-wf--button--variant="light"]:hover .button-arrow-wrap,
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover .button-arrow-wrap {
  background-color: #ffffff !important;
}

.primary-button[data-wf--button--variant="light"]:hover .arrow-icon,
.primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover .arrow-icon {
  content: url("/assets/img/arrow-navy.svg") !important;
  transform: rotate(45deg) translateX(1px) !important;
}

/* Navbar button sizing (clean proportional fit) */
.nav-button-wrap .primary-button {
  padding: 6px 6px 6px 20px !important;
}

.nav-button-wrap .primary-button .button-text-wrap {
  height: auto !important;
}

.nav-button-wrap .primary-button .button-text {
  font-size: 14px !important;
  line-height: normal !important;
}

.nav-button-wrap .primary-button:hover .button-text {
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-button-wrap .primary-button .button-arrow-wrap {
  width: 34px !important;
  height: 34px !important;
}

.nav-button-wrap .primary-button .arrow-icon {
  width: 12px !important;
  height: 12px !important;
}

/* Scrolled Navbar Button: switches from white pill to bold navy pill with white text & white arrow circle */
.navbar.is-scrolled .nav-button-wrap .primary-button,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"],
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 {
  background-color: #0b3453 !important;
  color: #ffffff !important;
  border: 1px solid rgba(11, 52, 83, 0.25) !important;
  box-shadow: 0 4px 14px rgba(11, 52, 83, 0.25) !important;
}

.navbar.is-scrolled .nav-button-wrap .primary-button .button-text,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"] .button-text,
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 .button-text {
  color: #ffffff !important;
}

.navbar.is-scrolled .nav-button-wrap .primary-button .button-arrow-wrap,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"] .button-arrow-wrap,
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 .button-arrow-wrap {
  background-color: #ffffff !important;
}

.navbar.is-scrolled .nav-button-wrap .primary-button .arrow-icon,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"] .arrow-icon,
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5 .arrow-icon {
  content: url("/assets/img/arrow-navy.svg") !important;
}

/* Scrolled Navbar Button Hover */
.navbar.is-scrolled .nav-button-wrap .primary-button:hover,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"]:hover,
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover {
  background-color: #155a91 !important;
  border-color: #155a91 !important;
  box-shadow: 0 8px 24px rgba(11, 52, 83, 0.32) !important;
  transform: translateY(-2px) !important;
}

.navbar.is-scrolled .nav-button-wrap .primary-button:hover .button-text,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"]:hover .button-text,
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover .button-text {
  color: #ffffff !important;
}

.navbar.is-scrolled .nav-button-wrap .primary-button:hover .button-arrow-wrap,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"]:hover .button-arrow-wrap,
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover .button-arrow-wrap {
  background-color: #ffffff !important;
}

.navbar.is-scrolled .nav-button-wrap .primary-button:hover .arrow-icon,
.navbar.is-scrolled .nav-button-wrap .primary-button[data-wf--button--variant="light"]:hover .arrow-icon,
.navbar.is-scrolled .nav-button-wrap .primary-button.w-variant-9f496ac8-f61b-3279-92be-98c0542260e5:hover .arrow-icon {
  content: url("/assets/img/arrow-navy.svg") !important;
  transform: rotate(45deg) translateX(1px) !important;
}


/* 5. Appointment Modal Buttons (Glassmorphic Submit & Close) */
.appointment-modal-submit-btn {
  background: rgba(11, 52, 83, 0.92) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 12px 28px rgba(7, 31, 51, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
  transform: translateZ(0) !important;
  transition: all 280ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.appointment-modal-submit-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: #155a91 !important;
  border-color: rgba(140, 207, 224, 0.6) !important;
  box-shadow:
    0 18px 36px rgba(21, 90, 145, 0.45),
    0 0 20px rgba(56, 189, 248, 0.3) !important;
}

.appointment-modal-submit-btn:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 4px 10px rgba(7, 31, 51, 0.25) !important;
}

.appointment-modal-close-btn {
  border-radius: var(--radius-pill, 9999px) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 8px 20px rgba(11, 52, 83, 0.12) !important;
  transition: all 280ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.appointment-modal-close-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  background: #0b3453 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(11, 52, 83, 0.24) !important;
}

/* 6. Google Review CTA & Carousel Controls */
.reviews-google-cta-btn {
  border-radius: var(--radius-pill, 9999px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fa 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow:
    inset 0 3px 5px rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgba(11, 52, 83, 0.14),
    0 10px 22px -4px rgba(11, 52, 83, 0.16) !important;
  transition: all 260ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.reviews-google-cta-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    inset 0 4px 6px rgba(255, 255, 255, 1),
    inset 0 -4px 7px rgba(11, 52, 83, 0.18),
    0 16px 30px -4px rgba(11, 52, 83, 0.24) !important;
}

.reviews-nav-side-btn {
  border-radius: 50% !important;
  background: linear-gradient(180deg, #ffffff 0%, #eef4f9 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    inset 0 2px 4px #ffffff,
    inset 0 -2px 4px rgba(11, 52, 83, 0.18),
    0 8px 18px rgba(11, 52, 83, 0.16) !important;
  transition: all 240ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.reviews-nav-side-btn:hover {
  transform: translateY(-2px) scale(1.06) !important;
  box-shadow:
    inset 0 3px 5px #ffffff,
    inset 0 -3px 5px rgba(11, 52, 83, 0.22),
    0 12px 24px rgba(11, 52, 83, 0.22) !important;
}

.gallery-stage-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 50 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #ffffff 0%, #eef4f9 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    inset 0 2px 4px #ffffff,
    inset 0 -2px 4px rgba(11, 52, 83, 0.18),
    0 8px 18px rgba(11, 52, 83, 0.16) !important;
  transition: all 240ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.gallery-stage-arrow:hover {
  transform: translateY(calc(-50% - 2px)) scale(1.08) !important;
  box-shadow:
    inset 0 3px 5px #ffffff,
    inset 0 -3px 5px rgba(11, 52, 83, 0.22),
    0 12px 24px rgba(11, 52, 83, 0.22) !important;
}

.gallery-stage-arrow:active {
  transform: translateY(calc(-50% + 1px)) scale(0.96) !important;
}


/* ============================================================
   FEEDBACK UPDATES:
   1. Unified Liquid Glass Navbar Pill (Logo + Items)
   2. Sky Blue Journey Section
   3. Blog Section Spacing Reduction
   4. Prominent Expanded CTA Panel
   5. Client Stories / Testimonials Spacing Reduction
   6. Cloudscape Hero Background & High Contrast Typography
   ============================================================ */

/* --- 1. UNIFIED LIQUID GLASS NAVBAR PILL --- */
.unified-nav-wrapper {
  padding-top: 14px !important;
  padding-bottom: 12px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: transparent !important;
}

.unified-navbar-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 16px !important;
}

.unified-pill-container {
  display: inline-flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  max-width: fit-content !important;
}

.unified-liquid-pill.nimbus-nav {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 5px 8px 5px 8px !important;
  border-radius: 9999px !important;
  isolation: isolate !important;
  background: transparent !important;
}

.unified-liquid-pill .nimbus-glass {
  background: rgba(255, 255, 255, 0.78) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.4) brightness(1.05) !important;
  backdrop-filter: blur(24px) saturate(1.4) brightness(1.05) !important;
  border-radius: 9999px !important;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(11, 52, 83, 0.12),
    0 14px 34px -8px rgba(11, 52, 83, 0.18),
    0 2px 8px rgba(0, 40, 90, 0.06) !important;
  transition: background 260ms ease, box-shadow 260ms ease !important;
}

.navbar.is-scrolled .unified-liquid-pill .nimbus-glass {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(11, 52, 83, 0.15),
    0 16px 36px -6px rgba(11, 52, 83, 0.22),
    0 3px 10px rgba(0, 40, 90, 0.1) !important;
}

.liquid-pill-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  padding: 2px 10px 2px 4px !important;
  border-radius: 9999px !important;
  flex-shrink: 0 !important;
  transition: transform 220ms ease, opacity 220ms ease !important;
}

.liquid-pill-brand:hover {
  transform: scale(1.02) !important;
}

.liquid-pill-logo {
  width: 36px !important;
  height: 36px !important;
  padding: 4px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(11, 52, 83, 0.22) !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

.liquid-pill-name {
  font-family: 'Alte Haas Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #0b3453 !important;
  white-space: nowrap !important;
  letter-spacing: -0.015em !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

.liquid-pill-divider {
  display: inline-block !important;
  width: 1px !important;
  height: 22px !important;
  background: rgba(11, 52, 83, 0.16) !important;
  margin: 0 4px !important;
  flex-shrink: 0 !important;
}

.unified-liquid-pill .nimbus-item {
  color: #0b3453 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: -0.01em !important;
  height: 38px !important;
  padding: 0 14px !important;
  transition: color 200ms ease, text-shadow 200ms ease !important;
}

.unified-liquid-pill .nimbus-drop {
  display: block !important;
  top: 4px !important;
  bottom: 4px !important;
  border-radius: 9999px !important;
  background: #e0f2fe !important;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(186, 230, 253, 0.9) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  z-index: 0 !important;
}

.unified-liquid-pill .nimbus-water {
  display: none !important;
}

/* ========================================================================== */
/* Video Reel Carousel (3D Depth Circular Queue)                              */
/* ========================================================================== */
.video-carousel-section {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  background: #f7f9fc !important;
  overflow: hidden !important;
  position: relative !important;
}

.video-carousel-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-carousel-subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: #556987;
  margin-top: 12px;
  text-align: center;
}

/* 3D Reel Stage */
.reel-stage-container {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.reel-cards-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual Reel Card */
.reel-card {
  position: absolute;
  width: 320px;
  height: 540px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(11, 52, 83, 0.28);
  cursor: pointer;
  transition: transform 500ms cubic-bezier(0.25, 1, 0.5, 1),
              opacity 500ms ease,
              filter 500ms ease,
              box-shadow 500ms ease;
  user-select: none;
  background: #000000;
}

/* Center Card (Elevated, Sharp, In Front) */
.reel-card-center {
  z-index: 5;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  filter: blur(0px);
  box-shadow: 0 28px 64px -10px rgba(11, 52, 83, 0.35), 0 0 0 1.5px rgba(255, 255, 255, 0.2);
}

/* Left Card (Depth Perspective, Dimmed) */
.reel-card-left {
  z-index: 2;
  transform: translate3d(-270px, 0, -80px) scale(0.84);
  opacity: 0.65;
  filter: blur(2px) brightness(0.85);
}

/* Right Card (Depth Perspective, Dimmed) */
.reel-card-right {
  z-index: 2;
  transform: translate3d(270px, 0, -80px) scale(0.84);
  opacity: 0.65;
  filter: blur(2px) brightness(0.85);
}

.reel-card-hidden {
  z-index: 0;
  transform: translate3d(0, 0, -180px) scale(0.7);
  opacity: 0;
  pointer-events: none;
}

/* Video Wrapper & Media */
.reel-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
}

.reel-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlays & Badges */
.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.reel-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(11, 52, 83, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 5px 12px;
}

.reel-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.reel-badge-text {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Sound Button */
.reel-sound-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(11, 52, 83, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 180ms ease, background 180ms ease;
}

.reel-sound-btn:hover {
  transform: scale(1.08);
  background: rgba(11, 52, 83, 0.95);
}

/* Play/Pause Center Indicator */
.reel-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(11, 52, 83, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.reel-play-indicator svg {
  margin-left: 3px;
}

/* Reel Caption Box */
.reel-info-box {
  margin-top: auto;
}

.reel-title {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 4px 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.reel-patient {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px !important;
  margin: 0 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Navigation Arrow Buttons */
.reel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 52, 83, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(11, 52, 83, 0.28);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.reel-nav-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: #0b3453;
  box-shadow: 0 12px 30px rgba(11, 52, 83, 0.38);
}

.reel-nav-btn.prev-btn {
  left: 20px;
}

.reel-nav-btn.next-btn {
  right: 20px;
}

/* Dots */
.reel-dots-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 28px !important;
  position: relative !important;
  z-index: 10 !important;
}

.reel-dot {
  position: relative !important;
  width: 10px !important;
  height: 10px !important;
  min-height: unset !important;
  max-height: 10px !important;
  min-width: unset !important;
  border-radius: 9999px !important;
  background: rgba(11, 52, 83, 0.22) !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
  box-shadow: none !important;
}

.reel-dot::after {
  content: "" !important;
  position: absolute !important;
  inset: -8px -6px !important;
}

.reel-dot:hover {
  background: rgba(11, 52, 83, 0.5) !important;
  transform: scale(1.15) !important;
}

.reel-dot.is-active {
  width: 32px !important;
  height: 10px !important;
  min-height: unset !important;
  max-height: 10px !important;
  background: #0b3453 !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 8px rgba(11, 52, 83, 0.28) !important;
  transform: none !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .reel-card {
    width: 280px;
    height: 480px;
  }
  .reel-stage-container {
    height: 510px;
  }
  .reel-card-left {
    transform: translate3d(-200px, 0, -60px) scale(0.84);
  }
  .reel-card-right {
    transform: translate3d(200px, 0, -60px) scale(0.84);
  }
}

@media (max-width: 640px) {
  .reel-card {
    width: 260px;
    height: 440px;
  }
  .reel-stage-container {
    height: 460px;
  }
  .reel-card-left {
    transform: translate3d(-140px, 0, -40px) scale(0.8);
    opacity: 0.4;
  }
  .reel-card-right {
    transform: translate3d(140px, 0, -40px) scale(0.8);
    opacity: 0.4;
  }
  .reel-nav-btn {
    width: 40px;
    height: 40px;
  }
  .reel-nav-btn.prev-btn {
    left: 8px;
  }
  .reel-nav-btn.next-btn {
    right: 8px;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
}

@media (max-width: 991px) {
  .unified-liquid-pill .nimbus-item {
    padding: 0 10px !important;
  }
  .liquid-pill-name {
    display: none !important;
  }
  .menu-button.w-nav-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .mobile-nav-drawer {
    display: block;
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(11, 52, 83, 0.12);
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(11, 52, 83, 0.25);
    padding: 16px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: all 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 999;
  }
  .mobile-nav-drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: #0b3453;
    font-weight: 600;
    font-size: 15px;
    transition: background 200ms ease;
  }
  .mobile-nav-link:hover,
  .mobile-nav-link.is-active {
    background: #eaf5fc;
    color: #042137;
  }
}

/* --- 2. SKY BLUE JOURNEY SECTION --- */
#clinic.section.journey,
.section.journey {
  background: linear-gradient(180deg, #d8eefc 0%, #cae8f8 50%, #dcf0fb 100%) !important;
  padding-top: 52px !important;
  padding-bottom: 56px !important;
  position: relative !important;
}

.section.journey .sub-title {
  color: #0b3453 !important;
}

.section.journey .body-text.gray {
  color: #1a496f !important;
}

.section.journey .sub-tag-text-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.section.journey .sub-tag-text-wrap .body-text.gray {
  color: #0b3453 !important;
  font-weight: 700 !important;
}

.section.journey .clinic-bento-item {
  background-color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(11, 52, 83, 0.12) !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
}

.section.journey .clinic-bento-label {
  background-color: rgba(255, 255, 255, 0.96) !important;
  color: #0b3453 !important;
  box-shadow: 0 2px 8px rgba(11, 52, 83, 0.15) !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
}

/* --- 3. BLOG SECTION SPACING REDUCTION --- */
#blog.section.blog,
.section.blog {
  padding-top: 48px !important;
  padding-bottom: 52px !important;
}

.blog-title-wrapper {
  margin-bottom: 24px !important;
}

.blog-cms-wrapper {
  margin-top: 24px !important;
}

/* --- 4. PROMINENT EXPANDED CTA PANEL --- */
.cta-panel.cta-panel-prominent {
  padding: 68px 48px !important;
  border-radius: 36px !important;
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #0b3453 0%, #061e31 55%, #0f466e 100%) !important;
  box-shadow:
    0 24px 70px -15px rgba(11, 52, 83, 0.42),
    inset 0 1px 2px rgba(255, 255, 255, 0.28) !important;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.cta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse 2s infinite;
}

.cta-panel-title {
  font-size: clamp(32px, 4.2vw, 54px) !important;
  color: #ffffff !important;
  line-height: 1.12 !important;
  margin-bottom: 16px !important;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.cta-panel-text {
  font-size: clamp(16px, 1.8vw, 19px) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.62 !important;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 38px !important;
}

.cta-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 38px auto;
  text-align: left;
}

.cta-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, background 220ms ease;
}

.cta-feature-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.cta-feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e0f2fe;
  flex-shrink: 0;
}

.cta-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.cta-feature-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  margin: 0;
}

.cta-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.cta-phone-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 240ms ease;
}

.cta-phone-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.cta-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  flex-wrap: wrap;
}

.cta-trust-star {
  color: #facc15;
}

.cta-trust-sep {
  opacity: 0.4;
}

@media (max-width: 991px) {
  .cta-panel.cta-panel-prominent {
    padding: 44px 24px !important;
  }
  .cta-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* --- 5. TESTIMONIALS / CLIENT STORIES SPACING REDUCTION --- */
#reviews.section.client-stories,
.section.client-stories {
  padding-bottom: 28px !important;
}


/* ============================================================
   USER SPECIFIED SIGNATURE DARK SECTION GRADIENT
   Exact vertical transition from deep midnight navy to ice sky:
   #0c2342 -> #12385d -> #1d5785 -> #418abb -> #75b4dc -> #a6d5ed -> #c0e6f4
   ============================================================ */

/* Reusable Standard Classes for any section requested to be "dark" */
.section.is-dark,
.section[data-theme="dark"],
.section-dark,
.dark-section,
.bg-dark-gradient {
  background: var(--gradient-dark-section) !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

.section.is-dark .sub-title,
.section[data-theme="dark"] .sub-title,
.section-dark .sub-title,
.dark-section .sub-title {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(12, 35, 66, 0.5) !important;
}

.section.is-dark .body-text.gray,
.section[data-theme="dark"] .body-text.gray,
.section-dark .body-text.gray,
.dark-section .body-text.gray {
  color: rgba(230, 243, 252, 0.88) !important;
}

.section.is-dark .sub-tag-text-wrap,
.section[data-theme="dark"] .sub-tag-text-wrap,
.section-dark .sub-tag-text-wrap,
.dark-section .sub-tag-text-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

.section.is-dark .sub-tag-text-wrap .body-text,
.section[data-theme="dark"] .sub-tag-text-wrap .body-text,
.section-dark .sub-tag-text-wrap .body-text,
.dark-section .sub-tag-text-wrap .body-text {
  color: #e0f2fe !important;
}



/* 2. Preexisting Dark Section: .section.footer (#footer) */
.section.footer,
#footer {
  background-color: #061929 !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(21, 90, 145, 0.55) 0%, transparent 68%),
    radial-gradient(circle at 80% 90%, rgba(14, 64, 102, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, #061929 0%, #0b3453 50%, #04121e 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding-top: 80px !important;
  padding-bottom: 36px !important;
  color: #ffffff !important;
}

.section.footer .footer-info-title {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(12, 35, 66, 0.4) !important;
}

.section.footer .footer-brand-desc,
.section.footer .footer-info-link {
  color: rgba(235, 245, 255, 0.88) !important;
}

.section.footer .footer-info-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7) !important;
}

.section.footer .footer-wordmark {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 40%, rgba(140, 207, 224, 0.3) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 8px 24px rgba(140, 207, 224, 0.2)) !important;
}

.section.footer .footer-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 50%, transparent) !important;
}

.section.footer .footer-bottom-wrap {
  color: rgba(255, 255, 255, 0.75) !important;
}

.section.footer .footer-bottom-wrap .body-text.white {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500 !important;
}

.section.footer .footer-credit {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section.footer .footer-icon-wrap {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.section.footer .footer-icon-wrap img,
.section.footer .footer-icon-wrap svg {
  filter: brightness(0) invert(1) !important;
}

.section.footer .footer-icon-wrap:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.section.footer .footer-icon-wrap:hover img,
.section.footer .footer-icon-wrap:hover svg {
  filter: brightness(0) invert(1) !important;
}

/* 3. Preexisting Dark Component: .cta-panel & .cta-panel-prominent */
.cta-panel,
.cta-panel.cta-panel-prominent {
  background: var(--gradient-dark-section) !important;
  box-shadow:
    0 24px 70px -15px rgba(12, 35, 66, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.3) !important;
}

.cta-panel .cta-feature-item {
  background: rgba(12, 35, 66, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(14px) !important;
}

.cta-panel .cta-feature-item:hover {
  background: rgba(12, 35, 66, 0.4) !important;
}

.cta-panel .cta-phone-button {
  background: rgba(12, 35, 66, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #ffffff !important;
}

.cta-panel .cta-phone-button:hover {
  background: rgba(12, 35, 66, 0.42) !important;
}

.cta-panel .cta-trust-strip {
  color: #0c2342 !important;
  font-weight: 700 !important;
}

/* 4. Preexisting Dark Component: .cta-band-inner */
.cta-band-inner {
  background: var(--gradient-dark-section) !important;
  box-shadow: 0 16px 40px rgba(12, 35, 66, 0.28) !important;
  color: #ffffff !important;
}

/* 5. Preexisting Dark Component: .pricing-plan-wrapper.middle */
.pricing-plan-wrapper.middle {
  background: var(--gradient-dark-section) !important;
  box-shadow: 0 20px 48px rgba(12, 35, 66, 0.35) !important;
  color: #ffffff !important;
}

/* 6. Preexisting Dark Component: .doctor-panel */
.doctor-panel {
  background: var(--gradient-dark-section) !important;
  box-shadow: 0 16px 40px rgba(12, 35, 66, 0.25) !important;
  color: #ffffff !important;
}

/* Remove loading screen overlay altogether */
.page-load,
.load-overlay {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ============================================================
   PAGE FEEDBACK /ABOUT ENHANCEMENTS:
   1. Gallery Carousel comfortable sizing (not tiny) & centered title
   2. Horizontal Scroll-Animated Doctor Timeline
   3. Dark Approach Section (#stories) with Signature Gradient
   ============================================================ */

/* --- 1. Gallery Title Centering & Sizing --- */
.gallery-title-wrapper {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  width: 100% !important;
}

.gallery-title-wrapper .sub-title-wrapper {
  align-items: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.gallery-title-wrapper .sub-tag-wrap,
.gallery-title-wrapper .sub-title-wrap,
.gallery-title-wrapper .sub-text-wrap {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.gallery-carousel {
  max-width: 1040px !important;
  margin: 36px auto 0 !important;
  width: 100% !important;
}

.gallery-stage {
  aspect-ratio: 16 / 10 !important;
  min-height: 440px !important;
  max-height: 560px !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 50px rgba(15, 63, 102, 0.16) !important;
}

/* --- 2. Horizontal Scroll-Animated Doctor Timeline --- */
.doctor-timeline.horizontal-timeline {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin-top: 52px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%) !important;
  border: 1px solid rgba(15, 63, 102, 0.1) !important;
  border-radius: 28px !important;
  padding: 40px 32px 36px !important;
  box-shadow:
    0 16px 44px rgba(11, 52, 83, 0.08),
    inset 0 1px 2px #ffffff !important;
}

.horizontal-timeline-track-wrap {
  position: relative !important;
  width: 100% !important;
  margin-top: 36px !important;
}

.horizontal-timeline-line-bg {
  position: absolute !important;
  left: 36px !important;
  right: 36px !important;
  top: 20px !important;
  height: 4px !important;
  background: rgba(11, 52, 83, 0.1) !important;
  border-radius: 9999px !important;
  z-index: 1 !important;
}

.horizontal-timeline-line-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #0b3453 0%, #155a91 40%, #38bdf8 100%) !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
  transition: width 240ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.horizontal-timeline-cards {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  position: relative !important;
  z-index: 2 !important;
}

.horizontal-timeline-card-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
}

.horizontal-timeline-node-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
}

.horizontal-timeline-node {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid rgba(11, 52, 83, 0.22) !important;
  box-shadow: 0 4px 10px rgba(11, 52, 83, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0b3453 !important;
  font-family: var(--heading-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: all 360ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.horizontal-timeline-card-item.is-highlighted .horizontal-timeline-node {
  background: linear-gradient(135deg, #0b3453 0%, #155a91 100%) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.3),
    0 6px 18px rgba(11, 52, 83, 0.25) !important;
  transform: scale(1.12) !important;
}

.horizontal-timeline-card {
  width: 100% !important;
  min-height: 205px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  border-radius: 18px !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  box-shadow: 0 4px 12px rgba(11, 52, 83, 0.04) !important;
  opacity: 0.52 !important;
  transform: translateY(6px) !important;
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.horizontal-timeline-card-item.is-highlighted .horizontal-timeline-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow:
    0 14px 32px -4px rgba(11, 52, 83, 0.12),
    inset 0 1px 2px #ffffff !important;
}

.horizontal-timeline-card-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.horizontal-timeline-card .doctor-timeline-card-title {
  font-family: var(--heading-font) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.horizontal-timeline-card .doctor-timeline-card-desc {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: #475569 !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  .horizontal-timeline-track-wrap {
    overflow-x: auto !important;
    padding-bottom: 16px !important;
    -webkit-overflow-scrolling: touch;
  }
  .horizontal-timeline-cards {
    display: flex !important;
    width: max-content !important;
    gap: 18px !important;
  }
  .horizontal-timeline-card-item {
    width: 260px !important;
    flex-shrink: 0 !important;
  }
  .horizontal-timeline-line-bg {
    width: calc(260px * 4 + 72px) !important;
  }
}

/* --- 3. Approach Section (#stories) Signature Dark Styling --- */
#stories.section.approach,
.section.approach {
  background: var(--gradient-dark-section) !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

#stories.section.approach .sub-title {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(12, 35, 66, 0.5) !important;
}

#stories.section.approach .body-text.gray {
  color: rgba(230, 243, 252, 0.88) !important;
}

#stories.section.approach .sub-tag-text-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

#stories.section.approach .sub-tag-text-wrap .body-text.gray {
  color: #e0f2fe !important;
  font-weight: 700 !important;
}

#stories.section.approach .approach-slide-wrap {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 16px 48px rgba(12, 35, 66, 0.28) !important;
  border-radius: 28px !important;
}

#stories.section.approach .approach-title-wrap .h3 {
  color: #0b3453 !important;
}

#stories.section.approach .approach-content .body-text {
  color: #34424d !important;
}

/* --- Services List Spacing from Page Hero --- */
#services-list.section.svc-list,
.section.svc-list {
  padding-top: 84px !important;
  padding-bottom: 72px !important;
}

/* --- Remove Hazy Background on All Page Hero Eyebrows --- */
.page-hero .sub-tag-wrap,
.page-hero .sub-tag-text-wrap,
.page-hero-tag {
  background: transparent !important;
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
}

.page-hero .sub-tag-wrap .body-text,
.page-hero .sub-tag-text-wrap .body-text,
.page-hero-tag .body-text {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* ============================================================
   GRADIENT BARS BACKGROUND (Blue Shade Footer)
   Inspired by @waleedkibhen/gradient-bars-background (21st.dev)
   ============================================================ */
.section.footer,
#footer {
  position: relative !important;
  overflow: hidden !important;
  background-color: #061929 !important;
}

.section.footer .container,
#footer .w-container {
  position: relative !important;
  z-index: 2 !important;
}

/* ============================================================
   SERVICES SECTION — LIGHT BLUE
   ============================================================ */
#services.section.service,
.section.service {
  background: linear-gradient(180deg, #e7f4fc 0%, #d8ecf8 50%, #e8f4fc 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

#services .sub-title {
  color: #0b3453 !important;
}

#services .service-para-wrap .body-text.gray {
  color: #344d63 !important;
  font-weight: 500 !important;
}


#services .services-explore-link {
  background: #ffffff !important;
  color: #0b3453 !important;
  border: 1.5px solid rgba(140, 207, 224, 0.6) !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  box-shadow: 0 6px 20px rgba(11, 52, 83, 0.07) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

#services .services-explore-link:hover {
  background: #0b3453 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(11, 52, 83, 0.2) !important;
}

/* ============================================================
   ABOUT SECTION ENHANCEMENT
   ============================================================ */
#about.section.about,
.section.about {
  background: #f8fcfe !important;
  position: relative !important;
  overflow: hidden !important;
}

#about::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: radial-gradient(circle, rgba(140, 207, 224, 0.3) 0%, rgba(211, 240, 217, 0.18) 45%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

#about .about-main-wrapper {
  position: relative;
  z-index: 1;
}

#about .about-pill-wrap {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(140, 207, 224, 0.5) !important;
  box-shadow: 0 8px 24px rgba(11, 52, 83, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-radius: 999px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#about .about-pill-wrap:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 12px 30px rgba(11, 52, 83, 0.12) !important;
}

#about .about-pill-text {
  color: #0b3453 !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

#about .about-credentials {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(21, 90, 145, 0.08) !important;
  color: #155a91 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  padding: 8px 20px !important;
  border-radius: 999px !important;
  margin: 16px auto 20px auto !important;
  border: 1px solid rgba(21, 90, 145, 0.2) !important;
  box-shadow: 0 2px 10px rgba(21, 90, 145, 0.06) !important;
}

#about .about-bio {
  color: #34424d !important;
  font-size: 16.5px !important;
  line-height: 1.65 !important;
  max-width: 660px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#about .about-content-wrapper {
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 32px 28px !important;
  border: 1px solid rgba(140, 207, 224, 0.4) !important;
  box-shadow: 0 12px 32px rgba(11, 52, 83, 0.06), inset 0 1px 0 #ffffff !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#about .about-content-wrapper:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 42px rgba(11, 52, 83, 0.12), inset 0 1px 0 #ffffff !important;
}

#about .about-stat-mark {
  background: #00b4d8 !important;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.6) !important;
}

#about .count-num {
  color: #0b3453 !important;
  font-family: 'Alte Haas Grotesk', -apple-system, sans-serif !important;
  font-size: clamp(38px, 4vw, 54px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

#about .about-content-block .body-text.gray {
  color: #4a6174 !important;
  font-weight: 600 !important;
}


/* ============================================================
   MODULAR BLOG CARDS (HOMEPAGE & BLOG PAGE)
   ============================================================ */
.blog-wrapper.blog-card-modular {
  background: #ffffff !important;
  border: 1px solid rgba(140, 207, 224, 0.45) !important;
  border-radius: 24px !important;
  padding: 16px !important;
  box-shadow: 0 10px 30px rgba(11, 52, 83, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.blog-wrapper.blog-card-modular:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 50px rgba(11, 52, 83, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-color: rgba(21, 90, 145, 0.4) !important;
}

.blog-wrapper.blog-card-modular .blog-image-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.blog-wrapper.blog-card-modular .blog-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.blog-wrapper.blog-card-modular:hover .blog-image {
  transform: scale(1.06) !important;
}

.blog-card-badges {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.blog-badge-category {
  background: #0b3453 !important;
  color: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.blog-badge-date {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0b3453 !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(11, 52, 83, 0.1) !important;
  border: 1px solid rgba(140, 207, 224, 0.4) !important;
}

.blog-wrapper.blog-card-modular .blog-content-wrapper {
  padding: 18px 8px 8px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.blog-card-title {
  font-family: 'Alte Haas Grotesk', -apple-system, sans-serif !important;
  font-size: 19.5px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
}

.blog-wrapper.blog-card-modular:hover .blog-card-title {
  color: #155a91 !important;
}

.blog-card-excerpt {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #4a6174 !important;
  margin: 0 0 18px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.blog-card-footer {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(140, 207, 224, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.blog-read-time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #6a8296 !important;
}

.blog-card-action {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #155a91 !important;
  transition: color 0.2s ease !important;
}

.blog-wrapper.blog-card-modular:hover .blog-card-action {
  color: #0b3453 !important;
}

.blog-card-arrow {
  transition: transform 0.25s ease !important;
}

.blog-wrapper.blog-card-modular:hover .blog-card-arrow {
  transform: translateX(4px) !important;
}

/* ============================================================
   MODULAR SERVICES CARDS (/services PAGE)
   ============================================================ */
.svc-card.svc-card-modular {
  background: #ffffff !important;
  border: 1px solid rgba(140, 207, 224, 0.45) !important;
  border-radius: 24px !important;
  padding: 16px !important;
  box-shadow: 0 10px 30px rgba(11, 52, 83, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
}

.svc-card.svc-card-modular:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 50px rgba(11, 52, 83, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-color: rgba(21, 90, 145, 0.4) !important;
}

.svc-card.svc-card-modular .svc-card-image-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.svc-card.svc-card-modular .svc-card-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.svc-card.svc-card-modular:hover .svc-card-image {
  transform: scale(1.06) !important;
}

.svc-card-top-badges {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.svc-badge-index {
  background: #0b3453 !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.svc-badge-evidence {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0b3453 !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(11, 52, 83, 0.1) !important;
  border: 1px solid rgba(140, 207, 224, 0.4) !important;
}

.svc-card.svc-card-modular .svc-card-body {
  padding: 18px 8px 8px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.svc-card.svc-card-modular .svc-card-title {
  font-family: 'Alte Haas Grotesk', -apple-system, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  line-height: 1.25 !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
}

.svc-card.svc-card-modular:hover .svc-card-title {
  color: #155a91 !important;
}

.svc-card.svc-card-modular .svc-card-text {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #4a6174 !important;
  margin: 0 0 16px 0 !important;
}

.svc-card-points {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-bottom: 18px !important;
}

.svc-point-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f0f7fb !important;
  padding: 5px 10px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(140, 207, 224, 0.35) !important;
}

.svc-point-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #00b4d8 !important;
  flex-shrink: 0 !important;
}

.svc-point-label {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #155a91 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.svc-card.svc-card-modular .svc-card-footer {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(140, 207, 224, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.svc-card.svc-card-modular .svc-card-link {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #155a91 !important;
  border: none !important;
  padding: 0 !important;
  transition: color 0.2s ease !important;
}

.svc-card.svc-card-modular:hover .svc-card-link {
  color: #0b3453 !important;
  opacity: 1 !important;
}

.svc-card-arrow-circle {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #eaf4fb !important;
  color: #155a91 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
}

.svc-card.svc-card-modular:hover .svc-card-arrow-circle {
  background: #0b3453 !important;
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

/* ==========================================================================
   SERVICE DETAILS & BLOG DETAILS TEMPLATES (EDITORIAL & CLINICAL ALIGNMENT)
   ========================================================================== */

/* 1. Common Breadcrumbs & Meta Bar */
.detail-breadcrumb-bar {
  background-color: #f6f9fc !important;
  border-bottom: 1px solid rgba(11, 52, 83, 0.08) !important;
  padding: 16px 0 !important;
}

.detail-breadcrumb-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.detail-breadcrumbs {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #64748b !important;
}

.breadcrumb-link {
  color: #0b3453 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.breadcrumb-link:hover {
  color: #155a91 !important;
  text-decoration: underline !important;
}

.breadcrumb-sep {
  color: #94a3b8 !important;
  font-size: 12px !important;
}

.breadcrumb-current {
  color: #64748b !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 320px !important;
}

.detail-pills-row,
.blog-meta-tags-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.detail-pill,
.blog-meta-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 52, 83, 0.1) !important;
  font-family: var(--body-font) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #0b3453 !important;
  box-shadow: 0 1px 3px rgba(11, 52, 83, 0.04) !important;
}

.detail-pill-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: #10b981 !important;
}

.blog-meta-tag.is-badge {
  background: rgba(21, 90, 145, 0.08) !important;
  border-color: rgba(21, 90, 145, 0.2) !important;
  color: #155a91 !important;
}

/* 2. Service Detail Page Layout */
.svc-detail-section {
  padding: 64px 0 100px !important;
  background-color: #fafbfc !important;
}

.svc-detail-layout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 48px !important;
  align-items: start !important;
}

.svc-detail-main-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 44px !important;
  min-width: 0 !important;
}

.svc-hero-media-wrap {
  position: relative !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9.5 !important;
  box-shadow: 0 12px 36px rgba(11, 52, 83, 0.08) !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
}

.svc-hero-media-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.svc-media-badge {
  position: absolute !important;
  bottom: 18px !important;
  left: 18px !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  background: rgba(11, 52, 83, 0.88) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  color: #ffffff !important;
  font-family: var(--body-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

.svc-media-badge-icon {
  color: #f59e0b !important;
}

.svc-section-h2 {
  font-family: var(--heading-font) !important;
  font-size: clamp(26px, 3.2vw, 36px) !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  line-height: 1.22 !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.015em !important;
}

.svc-body-para {
  font-family: var(--body-font) !important;
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
  margin: 0 0 18px !important;
}

/* 4-Stage Protocol Block */
.svc-protocol-block {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 36px 32px !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  box-shadow: 0 4px 24px rgba(11, 52, 83, 0.04) !important;
}

.svc-sub-h3 {
  font-family: var(--heading-font) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 0 10px !important;
}

.svc-protocol-intro {
  font-family: var(--body-font) !important;
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 0 0 24px !important;
}

.svc-protocol-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px !important;
}

.svc-protocol-card {
  background: #f8fafc !important;
  border-radius: 16px !important;
  padding: 22px 20px !important;
  border: 1px solid rgba(11, 52, 83, 0.06) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.svc-protocol-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(11, 52, 83, 0.08) !important;
  border-color: rgba(21, 90, 145, 0.25) !important;
  background: #ffffff !important;
}

.svc-protocol-step-num {
  font-family: var(--heading-font) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #155a91 !important;
  margin-bottom: 6px !important;
}

.svc-protocol-title {
  font-family: var(--heading-font) !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin-bottom: 6px !important;
}

.svc-protocol-desc {
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  margin: 0 !important;
}

/* Conditions & Symptoms Checklist */
.svc-conditions-container {
  background: #f0f7fc !important;
  border-radius: 24px !important;
  padding: 34px 32px !important;
  border: 1px solid rgba(21, 90, 145, 0.14) !important;
}

.svc-points-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px 20px !important;
  margin-top: 18px !important;
}

.svc-point-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.svc-point-icon-box {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #155a91 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  margin-top: 2px !important;
}

.svc-point-text {
  font-family: var(--body-font) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #0b3453 !important;
  line-height: 1.45 !important;
}

/* FAQ Accordion */
.svc-faq-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.svc-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.svc-faq-item {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.svc-faq-item.is-expanded {
  border-color: rgba(21, 90, 145, 0.25) !important;
  box-shadow: 0 4px 18px rgba(11, 52, 83, 0.05) !important;
}

.svc-faq-question-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 22px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  text-align: left !important;
  min-height: unset !important;
}

.svc-faq-question-text {
  font-family: var(--heading-font) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  padding-right: 14px !important;
}

.svc-faq-chevron-box {
  color: #155a91 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease !important;
}

.svc-faq-item.is-expanded .svc-faq-chevron-box {
  transform: rotate(180deg) !important;
}

.svc-faq-answer {
  padding: 0 22px 18px !important;
  font-family: var(--body-font) !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #64748b !important;
}

.svc-faq-answer p {
  margin: 0 !important;
}

/* 3. Service Sidebar Sticky Card */
.svc-sidebar-sticky-card {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 110px !important;
  background: #ffffff !important;
  border-radius: 28px !important;
  padding: 30px 26px !important;
  border: 1px solid rgba(11, 52, 83, 0.1) !important;
  box-shadow: 0 16px 44px rgba(11, 52, 83, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.svc-card-header-badge {
  display: inline-block !important;
  font-family: var(--body-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #155a91 !important;
  background: rgba(21, 90, 145, 0.08) !important;
  border-radius: 9999px !important;
  padding: 4px 12px !important;
  align-self: flex-start !important;
}

.svc-sidebar-card-title {
  font-family: var(--heading-font) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

.svc-sidebar-card-desc {
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  margin: 0 !important;
}

.svc-sidebar-trust-box {
  background: #f8fafc !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(11, 52, 83, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.svc-doctor-mini-profile {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.svc-doctor-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.svc-doctor-name {
  font-family: var(--heading-font) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
}

.svc-doctor-role {
  font-family: var(--body-font) !important;
  font-size: 11.5px !important;
  color: #64748b !important;
}

.svc-rating-strip {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-top: 6px !important;
  border-top: 1px solid rgba(11, 52, 83, 0.06) !important;
}

.svc-stars {
  color: #f59e0b !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
}

.svc-rating-num {
  font-family: var(--body-font) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
}

.svc-sidebar-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

.svc-sidebar-book-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 48px !important;
  background: #0b3453 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-family: var(--body-font) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(11, 52, 83, 0.22) !important;
  transition: all 0.25s ease !important;
  border: 1px solid transparent !important;
}

.svc-sidebar-book-btn:hover {
  background: #155a91 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(11, 52, 83, 0.28) !important;
}

.svc-btn-arrow {
  transition: transform 0.2s ease !important;
}

.svc-sidebar-book-btn:hover .svc-btn-arrow {
  transform: translateX(4px) !important;
}

.svc-sidebar-phone-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 44px !important;
  background: #f0f7fc !important;
  color: #0b3453 !important;
  border-radius: 9999px !important;
  font-family: var(--body-font) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  border: 1px solid rgba(21, 90, 145, 0.18) !important;
  transition: background 0.2s ease !important;
}

.svc-sidebar-phone-btn:hover {
  background: #e2f0fb !important;
  color: #0b3453 !important;
}

.svc-sidebar-whatsapp-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 40px !important;
  background: #e7f7ed !important;
  color: #166534 !important;
  border-radius: 9999px !important;
  font-family: var(--body-font) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  border: 1px solid rgba(22, 101, 52, 0.18) !important;
  transition: background 0.2s ease !important;
}

.svc-sidebar-whatsapp-btn:hover {
  background: #d4f2df !important;
}

.svc-sidebar-features {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(11, 52, 83, 0.08) !important;
}

.svc-feature-bullet {
  font-family: var(--body-font) !important;
  font-size: 12.5px !important;
  color: #556987 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.svc-sidebar-location-info {
  background: #f8fafc !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(11, 52, 83, 0.06) !important;
}

.svc-loc-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #64748b !important;
  margin-bottom: 2px !important;
}

.svc-loc-text {
  font-size: 12px !important;
  color: #334155 !important;
  line-height: 1.4 !important;
}

/* 4. Related Specialties Grid */
.svc-related-wrapper {
  margin-top: 80px !important;
  padding-top: 60px !important;
  border-top: 1px solid rgba(11, 52, 83, 0.08) !important;
}

.svc-related-header {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  margin-bottom: 32px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.svc-related-tag {
  display: inline-block !important;
  font-family: var(--body-font) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #155a91 !important;
  margin-bottom: 6px !important;
}

.svc-related-main-title {
  font-family: var(--heading-font) !important;
  font-size: clamp(22px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 !important;
}

.svc-view-all-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--body-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #155a91 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease !important;
}

.svc-view-all-link:hover {
  gap: 10px !important;
  text-decoration: underline !important;
}

.svc-related-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.svc-related-item-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  box-shadow: 0 4px 18px rgba(11, 52, 83, 0.04) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.svc-related-item-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(11, 52, 83, 0.1) !important;
  border-color: rgba(21, 90, 145, 0.25) !important;
}

.svc-related-img-box {
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  position: relative !important;
}

.svc-related-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.svc-related-item-card:hover .svc-related-img {
  transform: scale(1.05) !important;
}

.svc-related-content-box {
  padding: 22px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.svc-related-card-title {
  font-family: var(--heading-font) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
}

.svc-related-card-summary {
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  margin: 0 0 16px !important;
  flex: 1 !important;
}

.svc-related-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #155a91 !important;
}

.svc-read-arrow {
  transition: transform 0.2s ease !important;
}

.svc-related-item-card:hover .svc-read-arrow {
  transform: translateX(4px) !important;
}

/* 5. Blog Detail Page Layout */
.blog-article-section {
  padding: 64px 0 100px !important;
  background-color: #fafbfc !important;
}

.blog-article-layout {
  max-width: 840px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 36px !important;
}

.blog-featured-media-wrap {
  border-radius: 24px !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9.5 !important;
  box-shadow: 0 12px 36px rgba(11, 52, 83, 0.08) !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  position: relative !important;
}

.blog-featured-media-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.blog-featured-caption {
  position: absolute !important;
  bottom: 14px !important;
  left: 16px !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  background: rgba(11, 52, 83, 0.8) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}

.blog-author-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 24px !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  box-shadow: 0 4px 18px rgba(11, 52, 83, 0.03) !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.blog-author-avatar {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.blog-author-info {
  flex: 1 !important;
  min-width: 200px !important;
}

.blog-author-name {
  font-family: var(--heading-font) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
}

.blog-author-title {
  font-family: var(--body-font) !important;
  font-size: 12.5px !important;
  color: #64748b !important;
}

.blog-verified-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--body-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #10663f !important;
  background: #eaf7f0 !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
}

/* Key Takeaways Box */
.blog-takeaways-card {
  background: #f0f7fc !important;
  border-radius: 20px !important;
  padding: 26px 28px !important;
  border: 1px solid rgba(21, 90, 145, 0.16) !important;
}

.blog-takeaways-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.blog-takeaways-icon-box {
  font-size: 18px !important;
}

.blog-takeaways-title {
  font-family: var(--heading-font) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 !important;
}

.blog-takeaways-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.blog-takeaways-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-family: var(--body-font) !important;
  font-size: 14.5px !important;
  color: #334155 !important;
  line-height: 1.5 !important;
}

.blog-takeaway-check {
  color: #155a91 !important;
  font-weight: 700 !important;
  flex: none !important;
}

/* Blog Body & Typography */
.blog-article-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.blog-lead-paragraph {
  font-family: var(--body-font) !important;
  font-size: 19px !important;
  line-height: 1.7 !important;
  color: #0b3453 !important;
  font-weight: 500 !important;
  margin: 0 0 12px !important;
}

.blog-content-h2 {
  font-family: var(--heading-font) !important;
  font-size: clamp(22px, 2.5vw, 26px) !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 28px 0 12px !important;
  line-height: 1.3 !important;
}

.blog-regular-para {
  font-family: var(--body-font) !important;
  font-size: 16.5px !important;
  line-height: 1.8 !important;
  color: #475569 !important;
  margin: 0 0 16px !important;
}

.blog-protip-quote {
  display: flex !important;
  gap: 18px !important;
  padding: 24px 28px !important;
  background: #ffffff !important;
  border-left: 4px solid #155a91 !important;
  border-radius: 0 18px 18px 0 !important;
  box-shadow: 0 6px 24px rgba(11, 52, 83, 0.05) !important;
  margin: 24px 0 !important;
  border-top: 1px solid rgba(11, 52, 83, 0.06) !important;
  border-right: 1px solid rgba(11, 52, 83, 0.06) !important;
  border-bottom: 1px solid rgba(11, 52, 83, 0.06) !important;
}

.blog-quote-mark {
  font-family: Georgia, serif !important;
  font-size: 42px !important;
  color: #155a91 !important;
  line-height: 1 !important;
  opacity: 0.6 !important;
  flex: none !important;
}

.blog-quote-text {
  font-family: var(--body-font) !important;
  font-size: 16px !important;
  font-style: italic !important;
  line-height: 1.65 !important;
  color: #0b3453 !important;
  margin: 0 0 8px !important;
}

.blog-quote-cite {
  font-family: var(--body-font) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  color: #155a91 !important;
}

/* Author Bio Card */
.blog-bio-card {
  display: flex !important;
  align-items: center !important;
  gap: 26px !important;
  padding: 30px !important;
  background: #ffffff !important;
  border-radius: 24px !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  box-shadow: 0 6px 24px rgba(11, 52, 83, 0.04) !important;
  margin-top: 16px !important;
}

.blog-bio-photo {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  flex: none !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
}

.blog-bio-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #155a91 !important;
  margin-bottom: 4px !important;
  display: inline-block !important;
}

.blog-bio-name {
  font-family: var(--heading-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 0 8px !important;
}

.blog-bio-desc {
  font-family: var(--body-font) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  margin: 0 0 16px !important;
}

.blog-bio-book-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  background: #0b3453 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-family: var(--body-font) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.blog-bio-book-btn:hover {
  background: #155a91 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Share Strip */
.blog-share-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 22px 0 !important;
  border-top: 1px solid rgba(11, 52, 83, 0.1) !important;
  border-bottom: 1px solid rgba(11, 52, 83, 0.1) !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 10px !important;
}

.blog-share-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.blog-share-label {
  font-family: var(--body-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
}

.blog-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  background: #f0f7fc !important;
  border: 1px solid rgba(21, 90, 145, 0.16) !important;
  color: #155a91 !important;
  font-family: var(--body-font) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  min-height: unset !important;
  transition: all 0.2s ease !important;
}

.blog-share-btn:hover {
  background: #155a91 !important;
  color: #ffffff !important;
  border-color: #155a91 !important;
}

.blog-back-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--body-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0b3453 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease !important;
}

.blog-back-button:hover {
  gap: 10px !important;
  color: #155a91 !important;
}

/* Related Articles Container */
.blog-related-container {
  margin-top: 80px !important;
  padding-top: 60px !important;
  border-top: 1px solid rgba(11, 52, 83, 0.08) !important;
}

.blog-related-header {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  margin-bottom: 32px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.blog-related-tag {
  display: inline-block !important;
  font-family: var(--body-font) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #155a91 !important;
  margin-bottom: 6px !important;
}

.blog-related-main-title {
  font-family: var(--heading-font) !important;
  font-size: clamp(22px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 !important;
}

.blog-view-all-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--body-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #155a91 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease !important;
}

.blog-view-all-link:hover {
  gap: 10px !important;
  text-decoration: underline !important;
}

.blog-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.blog-related-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  box-shadow: 0 4px 18px rgba(11, 52, 83, 0.04) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.blog-related-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(11, 52, 83, 0.1) !important;
  border-color: rgba(21, 90, 145, 0.25) !important;
}

.blog-related-img-box {
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  position: relative !important;
}

.blog-related-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.blog-related-card:hover .blog-related-img {
  transform: scale(1.05) !important;
}

.blog-related-category-pill {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: rgba(11, 52, 83, 0.88) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  font-family: var(--body-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.blog-related-content-box {
  padding: 22px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.blog-related-date {
  font-family: var(--body-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-bottom: 6px !important;
}

.blog-related-title {
  font-family: var(--heading-font) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
}

.blog-related-excerpt {
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  margin: 0 0 16px !important;
  flex: 1 !important;
}

.blog-related-link-text {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #155a91 !important;
}

.blog-arrow {
  transition: transform 0.2s ease !important;
}

.blog-related-card:hover .blog-arrow {
  transform: translateX(4px) !important;
}

/* 6. Responsive Breakpoints for Both Details */
@media (max-width: 991px) {
  .svc-detail-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .svc-sidebar-sticky-card {
    position: static !important;
    top: auto !important;
  }

  .svc-protocol-grid,
  .svc-points-grid {
    grid-template-columns: 1fr !important;
  }

  .svc-related-cards-grid,
  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .blog-bio-card {
    flex-direction: column !important;
    text-align: center !important;
  }

  .blog-bio-photo {
    margin: 0 auto !important;
  }
}

@media (max-width: 640px) {
  .svc-detail-section,
  .blog-article-section {
    padding: 36px 0 64px !important;
  }

  .detail-breadcrumb-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .svc-related-cards-grid,
  .blog-related-grid {
    grid-template-columns: 1fr !important;
  }

  .svc-protocol-block,
  .svc-conditions-container,
  .blog-bio-card,
  .blog-takeaways-card {
    padding: 24px 18px !important;
  }

  .blog-lead-paragraph {
    font-size: 17px !important;
  }
}

/* ==========================================================================
   Universal Eyebrow Headers - Remove backgrounds and borders universally
   ========================================================================== */
.sub-tag-wrap,
.sub-tag-text-wrap,
.hero-tag-wrap,
.page-hero-tag,
.sub-title-wrapper .sub-tag-wrap,
.sub-title-wrapper .sub-tag-text-wrap,
.journey-title-wrapper .sub-tag-wrap,
.journey-title-wrapper .sub-tag-text-wrap,
.about-title-wrapper .sub-tag-wrap,
.about-title-wrapper .sub-tag-text-wrap,
.choose-title-wrap .sub-tag-wrap,
.choose-title-wrap .sub-tag-text-wrap,
.works-title-wrapper .sub-tag-wrap,
.works-title-wrapper .sub-tag-text-wrap,
.pricing-title-wrap .sub-tag-wrap,
.pricing-title-wrap .sub-tag-text-wrap,
.testimonials-title-wrap .sub-tag-wrap,
.testimonials-title-wrap .sub-tag-text-wrap,
.gallery-title-wrapper .sub-tag-wrap,
.gallery-title-wrapper .sub-tag-text-wrap,
.page-hero-content .sub-tag-wrap,
.page-hero-content .sub-tag-text-wrap {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
}

.sub-tag-wrap .body-text,
.sub-tag-text-wrap .body-text,
.sub-tag-wrap .body-text.gray,
.sub-tag-text-wrap .body-text.gray,
.hero-tag-wrap .body-text,
.page-hero-tag .body-text {
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

/* Light sections eyebrow text */
:not(.is-dark):not([data-theme="dark"]):not(.dark-section):not(.section-dark):not(.page-hero) > .container .sub-tag-text-wrap .body-text,
:not(.is-dark):not([data-theme="dark"]):not(.dark-section):not(.section-dark):not(.page-hero) .sub-tag-text-wrap .body-text,
.section.journey .sub-tag-text-wrap .body-text,
.section.journey .sub-tag-text-wrap .body-text.gray,
#about .sub-tag-text-wrap .body-text,
#about .sub-tag-text-wrap .body-text.gray,
#choose .sub-tag-text-wrap .body-text,
#choose .sub-tag-text-wrap .body-text.gray,
#process .sub-tag-text-wrap .body-text,
#testimonials .sub-tag-text-wrap .body-text,
#pricing .sub-tag-text-wrap .body-text,
#blog .sub-tag-text-wrap .body-text,
.gallery-title-wrapper .sub-tag-text-wrap .body-text {
  color: var(--brand-navy, #0b3453) !important;
}

/* Dark sections eyebrow text */
.section.is-dark .sub-tag-text-wrap .body-text,
.section[data-theme="dark"] .sub-tag-text-wrap .body-text,
.section-dark .sub-tag-text-wrap .body-text,
.dark-section .sub-tag-text-wrap .body-text,
#stories.section.approach .sub-tag-text-wrap .body-text,
#stories.section.approach .sub-tag-text-wrap .body-text.gray,
.page-hero .sub-tag-text-wrap .body-text,
.page-hero-tag .body-text {
  color: #38bdf8 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Keep eyebrow dot clean and centered */
.sub-tag-dot,
#process.section.works .sub-tag-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background-color: var(--brand-blue, #155a91) !important;
  display: inline-block !important;
  margin-right: 8px !important;
  flex-shrink: 0 !important;
}

.section.is-dark .sub-tag-dot,
.section[data-theme="dark"] .sub-tag-dot,
#stories.section.approach .sub-tag-dot,
.page-hero .sub-tag-dot {
  background-color: #38bdf8 !important;
}

/* Mobile-first layouts for the editorial hero, nav and stacked content. */
@media screen and (max-width: 640px) {
  .navbar.unified-nav-wrapper {
    padding: 10px 0 !important;
  }

  .unified-navbar-row {
    gap: 10px !important;
  }

  .unified-pill-container {
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
  }

  .unified-liquid-pill.nimbus-nav {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: space-between !important;
    padding: 5px 8px !important;
  }

  .unified-liquid-pill .nimbus-item,
  .unified-liquid-pill .liquid-pill-divider {
    display: none !important;
  }

  .unified-liquid-pill .liquid-pill-brand {
    min-width: 0 !important;
    gap: 9px !important;
    padding-right: 10px !important;
  }

  .unified-liquid-pill .liquid-pill-logo {
    width: 38px !important;
    height: 38px !important;
  }

  .unified-liquid-pill .liquid-pill-name {
    display: block !important;
    overflow: hidden !important;
    font-size: clamp(13px, 4vw, 16px) !important;
    text-overflow: ellipsis !important;
  }

  .navbar .menu-button {
    flex: 0 0 44px !important;
    color: #0b3453 !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 14px rgba(11, 52, 83, 0.16) !important;
  }

  .navbar .menu-button .menu-top,
  .navbar .menu-button .menu-bottom {
    background-color: #0b3453 !important;
  }

  .mobile-nav-drawer {
    top: 68px !important;
  }

  .hero-editorial-section {
    padding-top: 100px !important;
    overflow: hidden !important;
  }

  .hero-editorial-stage {
    padding-bottom: 0 !important;
  }

  .hero-editorial-h1 {
    position: relative !important;
    z-index: 1 !important;
    gap: 0 !important;
    font-size: clamp(42px, 12vw, 52px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
  }

  .hero-editorial-line-left {
    white-space: nowrap !important;
  }

  .hero-editorial-line-right {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .hero-text-foryour,
  .hero-text-recovery {
    width: auto !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .hero-runner-overlap-wrap {
    left: auto !important;
    right: -4px !important;
    top: 108px !important;
    bottom: auto !important;
    transform: rotate(-8deg) !important;
  }

  .hero-runner-cutout {
    width: clamp(104px, 31vw, 122px) !important;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)) !important;
  }

  .hero-mobile-copy {
    position: relative !important;
    display: flex !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin: 22px 0 24px !important;
  }

  .hero-mobile-copy > p {
    max-width: 280px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: clamp(18px, 5.2vw, 21px) !important;
    line-height: 1.35 !important;
  }

  .hero-mobile-copy .primary-button {
    width: min(100%, 320px) !important;
    min-height: 56px !important;
    padding-left: 20px !important;
    color: #ffffff !important;
    background-color: #0b3453 !important;
    border-color: #0b3453 !important;
  }

  .hero-mobile-copy .primary-button[data-wf--button--variant="light"]:not(:hover):not(:focus-visible) .button-arrow-wrap {
    background-color: #ffffff !important;
  }

  /* White circle needs the dark arrow back (light variant forces white) */
  .hero-mobile-copy .primary-button[data-wf--button--variant="light"]:not(:hover):not(:focus-visible) .arrow-icon,
  .hero-mobile-copy .primary-button:not(:hover):not(:focus-visible) .arrow-icon {
    content: url("/assets/img/arrow-navy.svg") !important;
    opacity: 1 !important;
  }

  .hero-mobile-copy .primary-button:not(:hover):not(:focus-visible) .cta-button-orb {
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f4faff 75%) !important;
    border-color: rgba(11, 52, 83, 0.18) !important;
  }

  .hero-mobile-copy .primary-button:not(:hover):not(:focus-visible) .live-orb-slit {
    background-color: #0b3453 !important;
  }

  .hero-mobile-button-label {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
  }

  .hero-mobile-copy .primary-button:hover,
  .hero-mobile-copy .primary-button:focus-visible {
    background-color: #0b3453 !important;
    color: #ffffff !important;
    border-color: #0b3453 !important;
  }

  .hero-mobile-copy .primary-button:hover .hero-mobile-button-label,
  .hero-mobile-copy .primary-button:focus-visible .hero-mobile-button-label {
    color: #ffffff !important;
  }

  .hero-mobile-copy .primary-button:hover .button-arrow-wrap,
  .hero-mobile-copy .primary-button:focus-visible .button-arrow-wrap {
    background-color: #ffffff !important;
  }

  .hero-mobile-copy .primary-button:hover .cta-button-orb,
  .hero-mobile-copy .primary-button:focus-visible .cta-button-orb {
    opacity: 0 !important;
    transform: scale(0.6) !important;
  }

  .hero-mobile-copy .primary-button:hover .arrow-icon,
  .hero-mobile-copy .primary-button:focus-visible .arrow-icon {
    content: url("/assets/img/arrow-navy.svg") !important;
    opacity: 1 !important;
  }

  .primary-button[data-wf--button--variant="light"]:hover .hero-mobile-button-label,
  .primary-button[data-wf--button--variant="light"]:focus-visible .hero-mobile-button-label {
    color: #ffffff !important;
  }

  .hero-editorial-fullbleed {
    margin-top: -30px !important;
    overflow: visible !important;
    isolation: isolate !important;
  }

  .hero-editorial-fullbleed::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: -1px 0 auto;
    height: 86px;
    pointer-events: none;
    background: linear-gradient(180deg, #155587 0%, rgba(21, 85, 135, 0.72) 35%, rgba(21, 85, 135, 0) 100%);
  }

  .hero-editorial-fullbleed-img {
    height: 50svh !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 72px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 72px);
  }

  #about .about-main-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  #about .about-title-wrapper {
    order: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  #about .about-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 28px !important;
  }

  #about .about-content-wrapper {
    padding: 22px 20px !important;
  }

  #about .about-credentials {
    max-width: 100% !important;
    text-align: center !important;
    line-height: 1.45 !important;
  }

  #services .service-loop-wrapper {
    overflow: hidden !important;
    padding: 0 !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  #services .service-loop-wrapper .service-loop:not(:first-child) {
    display: none !important;
  }

  #services .service-loop-wrapper .service-loop {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  #services .service-loop-wrapper .service-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    height: 300px !important;
    scroll-snap-align: none !important;
  }

  #process.section.works {
    padding: 56px 0 68px !important;
  }

  #process .works-title-wrapper {
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }

  #process .works-title-wrapper .sub-title {
    font-size: clamp(30px, 8.6vw, 38px) !important;
  }

  #process .works-flex {
    display: none !important;
  }

  #process .work-loop-wrapper {
    display: block !important;
    margin: 28px 0 0 !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #process .work-loop-track,
  #process .work-loop {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 16px !important;
    animation: none !important;
    transform: none !important;
  }

  #process .work-loop {
    flex: 0 1 auto !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-columns: auto !important;
  }

  #process .work-loop .works-wrap {
    flex: 0 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 10px 10px 20px !important;
    scroll-snap-align: none !important;
    transform: none !important;
  }

  #process .works-wrap .works-image-wrapper {
    aspect-ratio: 1.08 / 1 !important;
  }

  #process .works-wrap .works-content {
    margin-top: 18px !important;
  }

  #process .works-wrap .h3 {
    font-size: 22px !important;
  }

  #process .works-wrap .body-text.middle {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .spec-carousel {
    overflow: hidden !important;
  }

  .spec-stage {
    min-width: 0 !important;
    padding: 24px 12px 28px !important;
  }

  .spec-cards {
    width: min(100%, 300px) !important;
  }

  .spec-card {
    width: min(74vw, 260px) !important;
  }

  .pricing-plan-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .reviews-stage {
    min-height: 490px !important;
    overflow: hidden !important;
  }

  .reviews-card {
    width: calc(100vw - 76px) !important;
    padding: 28px 20px 24px !important;
  }

  .reviews-card.is-left {
    transform: translateX(calc(-50% - 112%)) scale(0.88) !important;
  }

  .reviews-card.is-right {
    transform: translateX(calc(-50% + 112%)) scale(0.88) !important;
  }

  .reviews-nav-side-btn.is-prev {
    left: 6px !important;
  }

  .reviews-nav-side-btn.is-next {
    right: 6px !important;
  }

  .cta-band-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
    padding: 28px 20px !important;
  }

  .cta-band-copy,
  .cta-band-actions {
    width: 100% !important;
    max-width: none !important;
  }

  .cta-panel.cta-panel-prominent {
    padding: 40px 20px !important;
    border-radius: 26px !important;
  }

  .cta-panel-copy.cta-panel-centered {
    max-width: none !important;
    gap: 12px !important;
  }

  .cta-badge {
    margin-bottom: 8px !important;
    padding: 7px 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
    text-align: left !important;
  }

  .cta-panel-title {
    font-size: clamp(30px, 8vw, 38px) !important;
  }

  .cta-panel-text {
    margin-bottom: 12px !important;
    font-size: 15px !important;
  }

  .cta-actions-row {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin-bottom: 12px !important;
  }

  .cta-actions-row > a {
    width: 100% !important;
  }

  .cta-phone-button {
    justify-content: center !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
  }

  .cta-trust-strip {
    gap: 8px 12px !important;
    font-size: 12px !important;
  }

  .cta-trust-sep {
    display: none !important;
  }

  .gallery-carousel {
    width: 100% !important;
  }

  .gallery-stage-arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .gallery-stage-prev {
    left: 10px !important;
  }

  .gallery-stage-next {
    right: 10px !important;
  }

  .footer-info {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .footer-wordmark {
    max-width: 100% !important;
    font-size: clamp(34px, 10vw, 48px) !important;
  }
}

@media (hover: none) {
  .primary-button:hover {
    transform: none !important;
  }
}

/* ==========================================================================
   Mobile feedback pass (427px): nav, hero halves, cards, CTA, footer
   ========================================================================== */

/* Shared wrapper for the two footer link columns: a 4-column row on desktop,
   a two-up flex row on small screens (see the mobile block below). */
.footer-info-links {
  display: contents;
}

@media screen and (max-width: 640px) {
  /* 3. The Nimbus active-drop highlight has no items to point at on mobile */
  .unified-liquid-pill .nimbus-drop {
    display: none !important;
  }

  /* 5. Larger runner figure */
  .hero-runner-cutout {
    width: clamp(150px, 42vw, 176px) !important;
  }

  .hero-runner-overlap-wrap {
    top: 84px !important;
  }

  /* 6. Hero fills the viewport: top half gradient, bottom half photo */
  .hero-editorial-section {
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-editorial-section > .w-layout-blockcontainer {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-editorial-section > .w-layout-blockcontainer .hero-editorial-wrapper {
    width: 100% !important;
  }

  .hero-editorial-fullbleed {
    flex: 0 0 50svh !important;
    margin-top: 0 !important;
  }

  .hero-editorial-fullbleed-img {
    height: 50svh !important;
  }

  /* 8. Bigger hero headline */
  .hero-editorial-h1 {
    font-size: clamp(46px, 14vw, 60px) !important;
  }

  /* 9. The mobile service stack must not slide out of its clipped stage */
  #services .service-loop {
    transform: none !important;
  }

  /* 10. Choose cards, two per row */
  .choose-wrap {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .choose-card {
    padding: 12px 12px !important;
  }

  .choose-card .h4 {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  .choose-card .body-text {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .choose-card-icon-wrap {
    margin-bottom: 0 !important;
  }

  /* 12. CTA band: everything centred */
  .cta-band-inner {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .cta-band-copy {
    align-items: center !important;
    text-align: center !important;
  }

  .cta-band-actions {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 14. Footer: services + quick links side by side, shorter footer */
  .footer-info {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 18px !important;
    margin-bottom: 34px !important;
  }

  .footer-info > .footer-info-brand,
  .footer-info > .footer-info-links,
  .footer-info > .footer-info-col:last-child {
    grid-column: 1 / -1 !important;
  }

  .footer-info-links {
    display: flex !important;
    gap: 18px !important;
  }

  .footer-info-links > * {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .footer-info-links .footer-info-title,
  .footer-info-links .footer-info-list {
    min-width: 0 !important;
  }

  .section.footer {
    padding-top: 56px !important;
    padding-bottom: 28px !important;
  }

  .footer-image-wrapper {
    margin: 26px 0 22px !important;
  }
}

/* 2. Eyebrow headers: no background pill anywhere (scoped fixes already exist
   for #process, .section.journey and dark sections; this covers the rest). */
.sub-tag-text-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}



/* Unified pill: hamburger lives inside the glass pill on mobile */
@media (max-width: 991px) {
  .navbar .unified-liquid-pill .menu-button,
  .navbar.is-scrolled .unified-liquid-pill .menu-button {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-left: auto !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
  }

  .navbar .unified-liquid-pill .menu-button .menu-button-wrap {
    width: 22px !important;
    height: 22px !important;
  }

  .navbar .unified-liquid-pill .menu-button .menu-top,
  .navbar .unified-liquid-pill .menu-button .menu-bottom {
    background-color: #0b3453 !important;
  }
}

/* --- About page mobile pass: taller hero, single-row stats, vertical timeline --- */
@media (max-width: 767px) {
  /* Hero sits clear of the fixed navbar and fills more of the screen */
  .page-hero {
    min-height: 62svh !important;
    padding: 100px 0 48px !important;
    align-items: flex-start !important;
  }

  .page-hero-content {
    gap: 26px !important;
  }

  .page-hero-title {
    font-size: clamp(40px, 10.4vw, 56px) !important;
    line-height: 1 !important;
  }

  .page-hero-text {
    font-size: 17.5px !important;
    line-height: 1.6 !important;
  }

  /* Three doctor stats side by side */
  .doctor-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .doctor-stat {
    padding: 12px 10px !important;
  }

  .doctor-stat .count-num {
    height: 32px !important;
  }

  .doctor-stat .count-number {
    font-size: 22px !important;
    line-height: 32px !important;
  }

  .doctor-stat .body-text {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  /* Tighter gap before the following CTA band */
  .section.doctor {
    padding-bottom: 32px !important;
  }
}

@media (max-width: 991px) {
  .doctor-timeline.horizontal-timeline {
    padding: 26px 18px 24px !important;
  }

  /* Track starts right below the timeline header */
  .horizontal-timeline-track-wrap {
    margin-top: 18px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  /* Vertical rail: line on the left, node + card stacked down the page */
  .horizontal-timeline-cards {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    gap: 18px !important;
  }

  .horizontal-timeline-card-item {
    width: 100% !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .horizontal-timeline-node-wrap {
    height: auto !important;
    flex: 0 0 auto !important;
  }

  .horizontal-timeline-line-bg {
    left: 18px !important;
    right: auto !important;
    top: 20px !important;
    bottom: 20px !important;
    width: 4px !important;
    height: auto !important;
  }

  .horizontal-timeline-line-fill {
    width: 100% !important;
    height: calc(var(--tl-progress, 0) * 100%) !important;
    background: linear-gradient(180deg, #0b3453 0%, #155a91 40%, #38bdf8 100%) !important;
    transition: height 240ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  }
}

/* Custom hamburger: React owns the open state (Webflow's w--open no longer toggles it) */
.menu-button {
  cursor: pointer;
  background: none;
  border: 0;
}

@media (min-width: 992px) {
  .navbar .menu-button {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .menu-button.is-open .menu-top {
    transform: translateY(4px) rotate(45deg) !important;
  }

  .menu-button.is-open .menu-bottom {
    transform: translateY(-4px) rotate(-45deg) !important;
  }
}

/* ==========================================================================
   DETAIL PAGES REFRESH (service, blog, contact) — one clean card system
   ========================================================================== */

.blog-detail-page,
.service-detail-page,
.section.contact-page {
  background-color: #f7fafc !important;
}

/* Slim, quiet breadcrumb strip */
.detail-breadcrumb-bar {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(11, 52, 83, 0.06) !important;
  padding: 12px 0 !important;
}

.detail-breadcrumbs {
  font-size: 12.5px !important;
}

.breadcrumb-current {
  max-width: 240px !important;
}

.detail-pill,
.blog-meta-tag {
  padding: 4px 11px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  background: #f4f8fb !important;
  border-color: rgba(11, 52, 83, 0.08) !important;
}

.blog-meta-tag.is-badge {
  background: rgba(21, 90, 145, 0.07) !important;
}

/* Shared card surface */
.svc-protocol-card,
.svc-point-item,
.svc-faq-item,
.svc-sidebar-sticky-card,
.blog-author-strip,
.blog-takeaways-card,
.blog-bio-card,
.blog-related-card,
.svc-related-item-card,
.cta-contact-item,
.contact-hours,
.contact-page-form .booking-panel {
  background: #ffffff !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 10px rgba(11, 52, 83, 0.04) !important;
}

/* ---- Service detail ---- */
.svc-detail-section {
  padding: 48px 0 88px !important;
}

.svc-detail-layout-grid {
  gap: 40px !important;
}

.svc-detail-main-content {
  gap: 36px !important;
}

.svc-hero-media-wrap {
  border-radius: 20px !important;
  aspect-ratio: 16 / 10 !important;
  box-shadow: none !important;
}

.svc-media-badge {
  border-radius: 9999px !important;
  padding: 6px 12px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0b3453 !important;
  backdrop-filter: none !important;
}

.svc-section-h2 {
  font-size: clamp(24px, 3vw, 32px) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
}

.svc-body-para {
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  color: #3f4c5a !important;
}

.svc-protocol-grid {
  gap: 12px !important;
}

.svc-protocol-card {
  padding: 18px !important;
  box-shadow: none !important;
  transform: none !important;
}

.svc-protocol-card:hover {
  border-color: rgba(21, 90, 145, 0.25) !important;
  transform: none !important;
}

.svc-protocol-step-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
  background: #edf6f0 !important;
  color: #10663f !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

.svc-protocol-title {
  font-size: 15px !important;
  margin-bottom: 4px !important;
}

.svc-protocol-desc {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #5a6b7b !important;
}

.svc-points-grid {
  gap: 10px !important;
}

.svc-point-item {
  padding: 12px 14px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.svc-point-text {
  font-size: 14px !important;
  color: #334155 !important;
}

.svc-faq-item {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.svc-faq-question-btn {
  padding: 16px 18px !important;
}

.svc-faq-question-text {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #0b3453 !important;
}

.svc-faq-answer {
  padding: 0 18px 16px !important;
}

.svc-faq-answer p {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #52616f !important;
  margin: 0 !important;
}

.svc-sidebar-sticky-card {
  padding: 24px !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 28px rgba(11, 52, 83, 0.06) !important;
}

.svc-sidebar-book-btn {
  width: 100% !important;
  justify-content: center !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 14.5px !important;
  box-shadow: none !important;
}

.svc-sidebar-phone-btn,
.svc-sidebar-whatsapp-btn {
  width: 100% !important;
  justify-content: center !important;
  border-radius: 12px !important;
  padding: 11px 16px !important;
  border: 1px solid rgba(11, 52, 83, 0.14) !important;
  background: #ffffff !important;
  color: #0b3453 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.svc-sidebar-phone-btn:hover,
.svc-sidebar-whatsapp-btn:hover {
  background: #f4f8fb !important;
}

.svc-related-cards-grid {
  gap: 14px !important;
}

.svc-related-item-card {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.svc-related-item-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(21, 90, 145, 0.24) !important;
}

.svc-related-img-box {
  aspect-ratio: 16 / 10 !important;
}

/* ---- Blog detail ---- */
.blog-article-section {
  padding: 48px 0 88px !important;
}

.blog-article-layout {
  gap: 28px !important;
}

.blog-featured-media-wrap {
  border-radius: 20px !important;
  aspect-ratio: 16 / 10 !important;
  box-shadow: none !important;
}

.blog-featured-caption {
  font-size: 11.5px !important;
  padding: 5px 12px !important;
}

.blog-author-strip {
  border-radius: 16px !important;
  padding: 14px 18px !important;
  box-shadow: none !important;
}

.blog-takeaways-card {
  background: #edf6f0 !important;
  border-color: rgba(16, 102, 63, 0.14) !important;
  border-radius: 16px !important;
  padding: 22px 24px !important;
}

.blog-takeaways-icon-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  font-size: 0 !important;
}

.blog-takeaways-icon-box::before {
  content: '' !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10663f !important;
}

.blog-takeaways-title {
  font-size: 17px !important;
}

.blog-takeaways-item {
  font-size: 14px !important;
  color: #33473b !important;
}

.blog-article-body {
  gap: 18px !important;
}

.blog-regular-para {
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  color: #3f4c5a !important;
  margin: 0 !important;
}

.blog-lead-paragraph {
  font-size: 18px !important;
  line-height: 1.7 !important;
  font-weight: 500 !important;
  color: #0b3453 !important;
}

.blog-content-h2 {
  font-size: clamp(21px, 2.6vw, 26px) !important;
  margin: 10px 0 2px !important;
  line-height: 1.25 !important;
}

.blog-protip-quote {
  background: #f4f8fb !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  border-left: 3px solid #155a91 !important;
  border-radius: 4px 16px 16px 4px !important;
  padding: 20px 22px !important;
  margin: 6px 0 !important;
}

.blog-quote-text {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #0b3453 !important;
}

.blog-quote-cite {
  font-size: 12.5px !important;
  color: #64748b !important;
}

.blog-bio-card {
  border-radius: 18px !important;
  padding: 22px 24px !important;
  box-shadow: none !important;
}

.blog-bio-photo {
  width: 76px !important;
  height: 76px !important;
  border-radius: 16px !important;
}

.blog-bio-book-btn {
  border-radius: 12px !important;
  padding: 11px 16px !important;
  font-size: 13.5px !important;
  box-shadow: none !important;
}

.blog-share-strip {
  border-top: 1px solid rgba(11, 52, 83, 0.08) !important;
  padding-top: 18px !important;
  gap: 12px !important;
}

.blog-share-btn {
  border-radius: 9999px !important;
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 52, 83, 0.12) !important;
  box-shadow: none !important;
}

.blog-back-button {
  font-size: 13px !important;
  font-weight: 600 !important;
}

.blog-related-grid {
  gap: 14px !important;
}

.blog-related-card {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.blog-related-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(21, 90, 145, 0.24) !important;
}

.blog-related-img-box {
  aspect-ratio: 16 / 10 !important;
}

/* ---- Contact ---- */
.section.contact-page {
  padding: 56px 0 88px !important;
}

.contact-page-grid {
  gap: 32px !important;
}

.contact-page-info {
  gap: 20px !important;
}

.contact-page-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.cta-contact-item {
  padding: 14px 16px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.cta-contact-item:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(21, 90, 145, 0.24) !important;
}

.cta-contact-label {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin-bottom: 4px !important;
}

.cta-contact-value {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #0b3453 !important;
  line-height: 1.45 !important;
}

.contact-hours {
  padding: 18px 20px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  gap: 10px !important;
}

.contact-hours-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.contact-hours-row {
  font-size: 13.5px !important;
  padding-top: 8px !important;
}

.contact-actions {
  gap: 12px !important;
}

.contact-page-form .booking-panel {
  padding: 24px !important;
  border-radius: 20px !important;
}

/* ---- Detail pages mobile refinements (<= 767px) ---- */
@media (max-width: 767px) {
  .svc-detail-section,
  .blog-article-section,
  .section.contact-page {
    padding: 28px 0 60px !important;
  }

  .detail-breadcrumb-flex {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .breadcrumb-current {
    max-width: 100% !important;
    white-space: normal !important;
  }

  .detail-breadcrumbs {
    flex-wrap: wrap !important;
    row-gap: 4px !important;
  }

  .detail-pills-row,
  .blog-meta-tags-row {
    gap: 8px !important;
  }

  .detail-pill,
  .blog-meta-tag {
    font-size: 11.5px !important;
    padding: 4px 10px !important;
  }

  .svc-detail-layout-grid,
  .contact-page-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .svc-detail-main-content {
    gap: 28px !important;
  }

  .svc-hero-media-wrap,
  .blog-featured-media-wrap {
    aspect-ratio: 16 / 11 !important;
    border-radius: 16px !important;
  }

  .svc-section-h2 {
    font-size: 23px !important;
  }

  .svc-body-para,
  .blog-regular-para {
    font-size: 15.5px !important;
    line-height: 1.7 !important;
  }

  .svc-protocol-grid,
  .svc-points-grid,
  .svc-related-cards-grid,
  .blog-related-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .svc-sidebar-sticky-card {
    padding: 20px !important;
  }

  .svc-sidebar-actions {
    gap: 8px !important;
  }

  .blog-article-layout {
    gap: 22px !important;
  }

  .blog-author-strip {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .blog-takeaways-card {
    padding: 18px !important;
  }

  .blog-bio-card {
    padding: 18px !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .blog-bio-photo {
    margin: 0 !important;
  }

  .blog-share-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .blog-share-group {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .blog-back-button {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .blog-related-header,
  .svc-related-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .contact-page-list {
    grid-template-columns: 1fr !important;
  }

  .contact-actions .booking-submit,
  .contact-actions .contact-map-link {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .contact-page-form .booking-panel {
    padding: 18px !important;
  }
}

/* Pill hamburger bars: custom classes so Webflow/GSAP never animates them */
.nv-bar {
  display: block !important;
  width: 100% !important;
  height: 2px !important;
  border-radius: 9999px !important;
  background-color: #0b3453 !important;
  transform: none !important;
  transition: transform 0.25s ease !important;
}

.menu-button.is-open .nv-bar-top {
  transform: translateY(4px) rotate(45deg) !important;
}

.menu-button.is-open .nv-bar-bottom {
  transform: translateY(-4px) rotate(-45deg) !important;
}

/* Contact page map card */
.contact-map-embed {
  margin-top: 40px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 52, 83, 0.08) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 2px 10px rgba(11, 52, 83, 0.04) !important;
}

.contact-map-embed-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-bottom: 16px !important;
}

.contact-map-embed-tag {
  display: block !important;
  font-family: var(--body-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin-bottom: 4px !important;
}

.contact-map-embed-title {
  font-family: var(--heading-font) !important;
  font-size: clamp(19px, 2.2vw, 23px) !important;
  font-weight: 700 !important;
  color: #0b3453 !important;
  margin: 0 0 2px !important;
  line-height: 1.25 !important;
}

.contact-map-embed-address {
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  margin: 0 !important;
}

.contact-map-embed-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 9999px !important;
  background: #0b3453 !important;
  color: #ffffff !important;
  font-family: var(--body-font) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
}

.contact-map-embed-link:hover {
  background: #155a91 !important;
}

.contact-map-frame {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #eef3f7 !important;
}

.contact-map-frame iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

@media (max-width: 767px) {
  .contact-map-embed {
    margin-top: 24px !important;
    padding: 14px !important;
  }

  .contact-map-embed-head {
    align-items: flex-start !important;
    margin-bottom: 12px !important;
  }

  .contact-map-embed-link {
    width: 100% !important;
    justify-content: center !important;
  }

  .contact-map-frame {
    aspect-ratio: 4 / 3 !important;
  }
}
