:root {
  --primary: #2a71a7;
  --secondary: #ffcd7a;
  --accent: #06bcc0;
  --muted: #939393;
  --line: #e0e0e0;
  --ink: #123047;
  --soft: #f5fbfd;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(26, 74, 105, 0.14);
  --radius: 22px;
  --font-body: "Cairo", "Almarai", "Tajawal", "Bein Sport", sans-serif;
  --font-display: "Tajawal", "Cairo", "Almarai", "Bein Sport", sans-serif;
  --font-accent: "Bein Sport", "Tajawal", "Cairo", "Almarai", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#details,
#booking,
#faq {
  scroll-margin-top: 150px;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.035) 0 1px, transparent 1px 20px),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 38%, #ffffff 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}

body.ltr {
  direction: ltr;
}

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

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

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

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

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(224, 224, 224, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(224, 224, 224, 0.95);
  box-shadow: 0 12px 32px rgba(18, 48, 71, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand img {
  width: 86px;
  height: 64px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.3;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.nav > a,
.nav-mega > a,
.lang-switch {
  padding: 12px 13px;
  border-radius: 999px;
  color: #24465c;
  font-weight: 800;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav > a:hover,
.nav-mega:hover > a,
.lang-switch:hover {
  background: rgba(6, 188, 192, 0.12);
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-mega {
  position: relative;
}

.mega-panel {
  position: absolute;
  top: 100%;
  inset-inline-start: 50%;
  width: min(760px, 88vw);
  transform: translateX(50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  transition: opacity 180ms ease, transform 180ms ease;
}

body.ltr .mega-panel {
  transform: translateX(-50%) translateY(12px);
}

.nav-mega:hover .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(50%) translateY(0);
}

body.ltr .nav-mega:hover .mega-panel {
  transform: translateX(-50%) translateY(0);
}

.mega-copy {
  background: linear-gradient(140deg, rgba(42, 113, 167, 0.10), rgba(6, 188, 192, 0.12));
  border-radius: 18px;
  padding: 18px;
}

.mega-copy strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.mega-copy p {
  margin: 8px 0 0;
  color: #496574;
  font-size: 0.9rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(224, 224, 224, 0.75);
  transition: border 180ms ease, transform 180ms ease, background 180ms ease;
}

.mega-grid a:hover {
  background: var(--soft);
  border-color: rgba(6, 188, 192, 0.35);
  transform: translateY(-2px);
}

.service-svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(120%);
  transition: transform 420ms ease;
}

.btn:hover::after {
  transform: translateX(-120%);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(42, 113, 167, 0.20);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 8px 20px rgba(42, 113, 167, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1f608f);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: rgba(255, 255, 255, 0.78);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-whatsapp {
  gap: 9px;
}

.whatsapp-icon-img {
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
  vertical-align: middle;
}

.button-whatsapp-svg {
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

.btn-outline {
  border-color: rgba(42, 113, 167, 0.24);
  color: var(--primary);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(6, 188, 192, 0.08);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  place-items: center;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--primary);
  border-radius: 4px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 120px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 7vw, 92px) 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(42, 113, 167, 0.06), rgba(6, 188, 192, 0.035) 52%, rgba(255, 205, 122, 0.10));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(42, 113, 167, 0.12) 46% 47%, transparent 47% 100%),
    linear-gradient(0deg, transparent 0 46%, rgba(6, 188, 192, 0.10) 46% 47%, transparent 47% 100%);
  background-size: 150px 150px;
  animation: driftGrid 18s linear infinite;
}

.hero-bg-shape {
  position: absolute;
  inset-inline-end: -12vw;
  top: 12%;
  width: 42vw;
  height: 42vw;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 205, 122, 0.30), rgba(6, 188, 192, 0.12)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0 2px, transparent 2px 18px);
  transform: rotate(-10deg);
  pointer-events: none;
  animation: softFloat 9s ease-in-out infinite;
}

.hero-grid,
.detail-hero-grid,
.doctor-grid,
.contact-grid,
.article-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.trust-line,
.section-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0;
}

.section-mark {
  position: relative;
  padding-inline-start: 22px;
  font-size: 0.86rem;
}

.section-mark::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.bmi-figure-tag,
.bmi-category-pill {
  font-variant-numeric: tabular-nums;
}

.hero h1,
.page-hero h1,
.section h2 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  font-family: var(--font-accent);
  margin: 10px 0 18px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  color: var(--primary);
}

.hero-lead,
.page-hero p,
.section-copy p,
.doctor-copy p {
  color: #476271;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  max-width: 62ch;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 205, 122, 0.24);
  color: #354b57;
  font-weight: 800;
}

.hero-media,
.doctor-image {
  position: relative;
}

.hero-media::before,
.doctor-image::before {
  content: "";
  position: absolute;
  inset: 18px -14px -18px 18px;
  border: 2px solid rgba(255, 205, 122, 0.72);
  border-radius: 30px;
  z-index: -1;
}

.hero-media img,
.doctor-image img,
.detail-hero-image {
  width: 100%;
  border-radius: 30px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: var(--line);
}

.hero-card {
  position: absolute;
  inset-block-end: 28px;
  inset-inline-start: -28px;
  width: min(300px, 70%);
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: floatCard 5.5s ease-in-out infinite;
}

.hero-pulse-card {
  position: absolute;
  inset-block-start: 28px;
  inset-inline-end: -18px;
  width: min(230px, 58%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 42px rgba(42, 113, 167, 0.24);
  animation: pulseCard 4s ease-in-out infinite;
}

.hero-pulse-card svg {
  width: 34px;
  height: 34px;
  color: var(--secondary);
}

.hero-pulse-card span {
  font-weight: 900;
  line-height: 1.45;
  font-size: 0.92rem;
}

.hero-card svg {
  color: var(--accent);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 116px) 0;
}

.bmi-showcase {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(6, 188, 192, 0.10), transparent 60%),
    radial-gradient(50rem 26rem at -10% 110%, rgba(42, 113, 167, 0.08), transparent 60%),
    #fbfdfe;
  overflow: hidden;
}

.bmi-showcase-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.bmi-showcase-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.bmi-showcase-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.bmi-figure-panel {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 32px;
  padding: 30px 20px 22px;
  background: linear-gradient(160deg, #123a56 0%, #0d2c43 55%, #0a2036 100%);
  box-shadow: 0 30px 70px rgba(10, 32, 54, 0.32);
  overflow: hidden;
  min-height: 420px;
}

.bmi-figure-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}

.bmi-figure-glow {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 42%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(6, 188, 192, 0.38), transparent 68%);
  filter: blur(6px);
  animation: bmiGlowPulse 4.5s ease-in-out infinite;
}

@keyframes bmiGlowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.bmi-figure-svg {
  position: relative;
  width: min(100%, 250px);
  height: auto;
  z-index: 1;
}

.bmi-figure-floor {
  fill: rgba(0, 0, 0, 0.28);
  filter: blur(3px);
}

.bmi-figure-body,
.bmi-figure-arm {
  fill: url(#bmiBodyGradient);
  transition: fill 240ms ease;
}

.bmi-figure-head {
  fill: url(#bmiBodyGradient);
}

.bmi-figure-tag {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #2fae6b;
  color: #fff;
  font-weight: 900;
  font-size: 0.86rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: background 240ms ease;
}

.bmi-info-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(18, 48, 71, 0.08);
}

.bmi-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bmi-input-field {
  display: grid;
  gap: 8px;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--muted);
}

.bmi-input-row {
  display: grid;
  grid-template-columns: 1fr 64px;
  align-items: center;
  gap: 10px;
}

.bmi-input-row input[type="number"] {
  min-height: 40px;
  padding: 6px 8px;
  text-align: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--primary);
}

.bmi-input-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  cursor: pointer;
}

.bmi-input-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 12px rgba(18, 48, 71, 0.3);
  cursor: pointer;
}

.bmi-input-row input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 12px rgba(18, 48, 71, 0.3);
  cursor: pointer;
}

.bmi-result-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(42, 113, 167, 0.07), rgba(6, 188, 192, 0.09));
}

.bmi-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bmi-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  line-height: 1;
}

.bmi-number-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  max-width: 90px;
}

.bmi-category-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: #2fae6b;
  color: #fff;
  font-weight: 900;
  font-size: 0.86rem;
  transition: background 240ms ease;
  white-space: nowrap;
}

.bmi-gauge {
  display: grid;
  gap: 8px;
}

.bmi-gauge-track {
  position: relative;
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: visible;
}

.bmi-gauge-segment {
  height: 100%;
}

.bmi-gauge-segment:first-child {
  border-start-start-radius: 999px;
  border-end-start-radius: 999px;
}

.bmi-gauge-segment:last-child {
  border-start-end-radius: 999px;
  border-end-end-radius: 999px;
}

.seg-under { flex: 0 0 11.7%; background: #5b9bd8; }
.seg-normal { flex: 0 0 21.6%; background: #2fae6b; }
.seg-over { flex: 0 0 16.7%; background: #e2a83c; }
.seg-obese1 { flex: 0 0 16.7%; background: #e2793c; }
.seg-obese2 { flex: 0 0 16.7%; background: #d8552f; }
.seg-obese3 { flex: 0 0 16.6%; background: #b8342a; }

.bmi-gauge-marker {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 40%;
  width: 18px;
  height: 18px;
  margin-inline-start: -9px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink, #123047);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: inset-inline-start 420ms cubic-bezier(.21,.79,.32,1);
}

.bmi-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

.bmi-extra-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bmi-stat-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f6fafb;
  border: 1px solid var(--line);
}

.bmi-stat-card span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

.bmi-stat-card strong {
  font-size: 1.05rem;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.bmi-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.bmi-info-panel .btn {
  justify-self: start;
}

.home-trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding-bottom: 30px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  display: grid;
  gap: 7px;
  min-height: 144px;
  padding: 18px;
  border: 1px solid rgba(224, 224, 224, 0.86);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(18, 48, 71, 0.08);
  backdrop-filter: blur(12px);
}

.trust-item svg {
  color: var(--accent);
}

.trust-item strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
}

.trust-item span {
  color: #536d7a;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.65;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2,
.section-copy h2,
.doctor-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  max-width: 820px;
}

.section-head a {
  color: var(--primary);
  font-weight: 900;
  border-bottom: 2px solid var(--secondary);
}

.service-grid,
.article-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid.large,
.article-grid.large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.article-card,
.testimonial-card,
.custom-widget {
  position: relative;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(224, 224, 224, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(18, 48, 71, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.service-card::before,
.custom-widget::before,
.journey-card::before,
.focus-card::before {
  content: "";
  position: absolute;
  inset-inline: 18px;
  inset-block-start: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-card:hover,
.article-card:hover,
.testimonial-card:hover,
.custom-widget:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 188, 192, 0.45);
  box-shadow: 0 22px 48px rgba(18, 48, 71, 0.12);
  background: #fff;
}

.service-card:hover::before,
.custom-widget:hover::before,
.journey-card:hover::before,
.focus-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.widget-zone {
  padding-top: 0;
}

.widget-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.custom-widget {
  display: grid;
  align-content: start;
  gap: 12px;
  background:
    linear-gradient(145deg, rgba(255, 205, 122, 0.18), rgba(6, 188, 192, 0.08)),
    #fff;
}

.custom-widget h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.custom-widget p {
  margin: 0;
  color: #536d7a;
}

.service-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--primary);
  background: linear-gradient(145deg, rgba(42, 113, 167, 0.10), rgba(255, 205, 122, 0.24));
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.service-icon .service-svg,
.service-icon .icon-img {
  width: 38px;
  height: 38px;
}

.service-card:hover .service-icon,
.custom-widget:hover .service-icon,
.focus-card:hover .focus-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-2px) rotate(-2deg);
}

.service-card h2,
.service-card h3,
.article-card h2,
.article-card h3 {
  margin: 18px 0 10px;
  font-family: var(--font-display);
  line-height: 1.35;
  font-size: 1.24rem;
}

.service-card p,
.article-card p {
  color: #526b78;
  margin: 0 0 18px;
}

.service-card span,
.article-card span {
  color: var(--primary);
  font-weight: 900;
}

.doctor-band {
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.08), rgba(6, 188, 192, 0.08)),
    #fff;
  border-block: 1px solid rgba(224, 224, 224, 0.72);
}

.journey-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff, rgba(245, 251, 253, 0.92));
}

.journey-section::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 188, 192, 0.55), transparent);
}

.journey-grid,
.prep-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.journey-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(224, 224, 224, 0.86);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 253, 0.92));
  box-shadow: 0 14px 34px rgba(18, 48, 71, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 188, 192, 0.38);
  box-shadow: 0 24px 54px rgba(18, 48, 71, 0.13);
}

.journey-card > span {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 18px;
  color: rgba(42, 113, 167, 0.18);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.journey-card svg {
  width: 44px;
  height: 44px;
  color: var(--primary);
}

.journey-card h3,
.focus-card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  line-height: 1.35;
  color: var(--ink);
}

.journey-card p,
.focus-card p {
  margin: 0;
  color: #536d7a;
}

.focus-services {
  padding-top: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.focus-card {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 172px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(224, 224, 224, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 205, 122, 0.12), rgba(6, 188, 192, 0.08)),
    #fff;
  box-shadow: 0 14px 34px rgba(18, 48, 71, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.focus-card:hover {
  transform: translateY(-5px);
  border-color: rgba(42, 113, 167, 0.28);
  box-shadow: 0 24px 52px rgba(18, 48, 71, 0.13);
}

.focus-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--primary);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(224, 224, 224, 0.86);
  transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}

.focus-icon .service-svg,
.focus-icon .icon-img {
  width: 42px;
  height: 42px;
}

.focus-card > span {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding-inline: 14px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.doctor-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}

.doctor-metrics div {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(224, 224, 224, 0.86);
}

.doctor-metrics strong,
.doctor-metrics span {
  display: block;
}

.doctor-metrics strong {
  color: var(--primary);
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 900;
}

.doctor-metrics span {
  margin-top: 7px;
  color: #536d7a;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.prep-section {
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.08), rgba(255, 205, 122, 0.12)),
    #fff;
}

.prep-panel {
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.96), rgba(6, 188, 192, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 16px);
  box-shadow: var(--shadow);
}

.prep-panel .section-mark,
.prep-panel h2 {
  color: #fff;
}

.prep-panel p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.prep-list {
  display: grid;
  gap: 14px;
}

.prep-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(224, 224, 224, 0.85);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(18, 48, 71, 0.06);
  font-weight: 900;
  color: #28475a;
}

.prep-item svg {
  flex: 0 0 auto;
  color: var(--primary);
}

.doctor-bullets {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.doctor-bullets span {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(224, 224, 224, 0.9);
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 188, 192, 0.14);
}

output {
  display: grid;
  place-items: center;
  min-height: 90px;
  border-radius: 22px;
  background: rgba(42, 113, 167, 0.10);
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 900;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.7fr;
  grid-auto-rows: 170px;
  gap: 14px;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(18, 48, 71, 0.10);
}

.photo-strip img:nth-child(1),
.photo-strip img:nth-child(6) {
  grid-row: span 2;
}

.article-card {
  padding: 0;
  overflow: hidden;
}

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

.article-card h2,
.article-card h3,
.article-card p,
.article-card span {
  margin-inline: 20px;
}

.article-card span {
  display: inline-block;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.04rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

.section-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 0 18px;
  box-shadow: 0 10px 26px rgba(18, 48, 71, 0.04);
}

summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 900;
}

details p {
  margin: 0 0 18px;
  color: #536d7a;
}

.cta-band {
  padding-block: 42px;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.contact-band {
  background: linear-gradient(180deg, #fff, var(--soft));
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 390px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.12), rgba(6, 188, 192, 0.10)),
    repeating-linear-gradient(45deg, rgba(42, 113, 167, 0.05) 0 1px, transparent 1px 18px);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.map-fallback {
  position: absolute;
  inset-inline: 18px;
  inset-block-end: 18px;
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(18, 48, 71, 0.12);
  backdrop-filter: blur(10px);
}

.page-insight-band,
.service-summary-strip,
.article-topic-band,
.gallery-intro-section,
.contact-quick-section,
.landing-proof-section {
  padding-block: clamp(34px, 5vw, 62px);
}

.insight-grid,
.bmi-guide-grid,
.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.insight-card,
.bmi-guide-card,
.contact-quick-card,
.gallery-intro-card,
.gallery-count-card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(224, 224, 224, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(18, 48, 71, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.insight-card:hover,
.bmi-guide-card:hover,
.contact-quick-card:hover,
.gallery-intro-card:hover,
.gallery-count-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 188, 192, 0.38);
  box-shadow: 0 24px 52px rgba(18, 48, 71, 0.13);
}

.insight-card svg,
.bmi-guide-card svg,
.contact-quick-card svg,
.gallery-intro-card svg {
  width: 44px;
  height: 44px;
  color: var(--primary);
}

.insight-card h2,
.bmi-guide-card h2,
.contact-quick-card strong,
.gallery-intro-card strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
}

.insight-card p,
.bmi-guide-card p,
.contact-quick-card span,
.gallery-intro-card span {
  margin: 0;
  color: #536d7a;
  line-height: 1.75;
}

.treatment-compass,
.bmi-guide-section {
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.06), rgba(255, 205, 122, 0.10)),
    #fff;
}

.compass-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.compass-item {
  min-height: 170px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(224, 224, 224, 0.86);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 48, 71, 0.06);
}

.compass-item strong,
.compass-item span {
  display: block;
}

.compass-item strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
}

.compass-item span {
  margin-top: 10px;
  color: #536d7a;
  line-height: 1.75;
}

.summary-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.summary-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(224, 224, 224, 0.86);
  box-shadow: 0 12px 30px rgba(18, 48, 71, 0.06);
  font-weight: 900;
  color: #28475a;
}

.summary-pill svg {
  flex: 0 0 auto;
  color: var(--accent);
}

.service-decision {
  background: var(--ink);
  color: #fff;
}

.decision-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
}

.decision-panel {
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.72), rgba(6, 188, 192, 0.38)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.decision-panel .section-mark,
.decision-panel h2 {
  color: #fff;
}

.decision-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.decision-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 900;
}

.decision-item svg {
  flex: 0 0 auto;
  color: var(--secondary);
}

.featured-article-section {
  padding-bottom: 0;
}

.featured-article {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 205, 122, 0.16), rgba(6, 188, 192, 0.10)),
    #fff;
  border: 1px solid rgba(224, 224, 224, 0.86);
  box-shadow: var(--shadow);
}

.featured-article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
}

.featured-article h2 {
  margin: 10px 0;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: clamp(1.7rem, 3.2vw, 3.2rem);
  line-height: 1.25;
}

.featured-article p {
  color: #536d7a;
}

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

.topic-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(224, 224, 224, 0.86);
  box-shadow: 0 12px 28px rgba(18, 48, 71, 0.05);
  color: var(--primary);
  font-weight: 900;
}

.gallery-intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 16px;
}

.gallery-count-card {
  display: grid;
  place-items: center;
  text-align: center;
}

.gallery-count-card strong {
  color: var(--primary);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.gallery-count-card span {
  margin-top: 8px;
  color: #536d7a;
  font-weight: 900;
}

.contact-quick-card {
  color: inherit;
}

.contact-quick-whatsapp {
  width: 44px;
  height: 44px;
  color: #25d366;
  fill: currentColor;
}

.page-hero {
  padding: clamp(62px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 205, 122, 0.26), transparent 26rem),
    linear-gradient(135deg, rgba(42, 113, 167, 0.10), rgba(6, 188, 192, 0.05));
  border-bottom: 1px solid rgba(224, 224, 224, 0.8);
}

.page-hero.compact h1 {
  margin: 12px 0;
  max-width: 920px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  color: var(--primary);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.detail-hero-image {
  max-height: 560px;
}

.medical-article {
  background: #fff;
}

.procedure-rich-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  margin: 0 0 30px;
  border: 1px solid rgba(42, 113, 167, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.06), rgba(6, 188, 192, 0.05)),
    #fff;
  box-shadow: 0 18px 48px rgba(18, 48, 71, 0.07);
}

.procedure-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 205, 122, 0.30);
  font-weight: 900;
}

.procedure-inline-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--soft);
}

.procedure-inline-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.procedure-inline-visual figcaption {
  padding: 10px 12px;
  color: #476271;
  font-size: 0.88rem;
  font-weight: 800;
}

.procedure-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 28px;
  list-style: none;
}

.procedure-checklist li {
  position: relative;
  padding: 13px 48px 13px 16px;
  border: 1px solid rgba(42, 113, 167, 0.11);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 48, 71, 0.05);
}

.procedure-checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: auto;
  inset-inline-end: 16px;
  top: 17px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 10px rgba(6, 188, 192, 0.3);
}

.procedure-checklist li::after {
  content: "";
  position: absolute;
  inset-inline-start: auto;
  inset-inline-end: 23px;
  top: 21px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

body.ltr .procedure-checklist li {
  padding: 13px 16px 13px 48px;
}

body.ltr .procedure-checklist li::before {
  inset-inline-start: 16px;
  inset-inline-end: auto;
}

body.ltr .procedure-checklist li::after {
  inset-inline-start: 23px;
  inset-inline-end: auto;
}

.procedure-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 32px;
}

.procedure-info-grid article,
.procedure-timeline div,
.procedure-faq-mini details,
.procedure-booking-note {
  border: 1px solid rgba(224, 224, 224, 0.92);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(18, 48, 71, 0.06);
}

.procedure-info-grid article {
  min-height: 150px;
  padding: 18px;
}

.procedure-info-grid strong,
.procedure-timeline strong,
.procedure-booking-note strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.procedure-info-grid p,
.procedure-timeline p,
.procedure-booking-note p {
  margin-bottom: 0;
}

.procedure-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 32px;
}

.procedure-timeline div {
  min-height: 190px;
  padding: 18px;
}

.procedure-timeline span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 15px;
  color: var(--primary);
  background: rgba(255, 205, 122, 0.35);
  font-weight: 900;
  font-family: var(--font-display);
}

.procedure-faq-mini {
  display: grid;
  gap: 10px;
  margin: 18px 0 28px;
}

.procedure-faq-mini details {
  padding: 0;
  overflow: hidden;
}

.procedure-faq-mini summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--primary);
  font-weight: 900;
}

.procedure-faq-mini p {
  margin: 0;
  padding: 0 18px 18px;
  color: #476271;
}

.procedure-booking-note {
  padding: 20px;
  border-color: rgba(6, 188, 192, 0.25);
  background:
    linear-gradient(135deg, rgba(6, 188, 192, 0.10), rgba(255, 205, 122, 0.16)),
    #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.toc strong {
  color: var(--primary);
}

.toc a {
  color: #476271;
  font-weight: 800;
}

.article-content {
  color: #263f4e;
  font-size: 1.08rem;
}

.article-content h2 {
  margin-top: 36px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.article-content p {
  margin: 14px 0;
}

.article-content a {
  color: var(--primary);
  font-weight: 900;
  border-bottom: 2px solid rgba(255, 205, 122, 0.7);
}

.source-note {
  margin-top: 34px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 205, 122, 0.20);
  color: #314b59;
}

.narrow {
  max-width: 880px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-tabs button.active,
.gallery-tabs button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.gallery-tab-description {
  margin: -6px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 60ch;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 10px 30px rgba(18, 48, 71, 0.10);
}

.gallery-item.is-filtered-in {
  animation: zoomIn 320ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease, filter 350ms ease;
}

.gallery-item:hover img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 22, 32, 0.82);
  backdrop-filter: blur(12px);
  animation: fadeIn 220ms ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 82svh;
  max-width: min(100%, 1120px);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: zoomIn 240ms ease;
}

.lightbox-close {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
}

.bmi-form {
  display: grid;
  gap: 16px;
}

.bmi-result {
  display: grid;
  align-content: center;
  gap: 16px;
  text-align: center;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #eaf7fb;
  padding-top: 70px;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background:
    linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.22) 36%, transparent 37%),
    radial-gradient(circle at 80% 10%, rgba(255, 205, 122, 0.34), transparent 25rem);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 28px;
}

.footer-grid h3,
.footer-brand h2 {
  color: #fff;
  margin-top: 0;
  font-family: var(--font-display);
}

.footer-brand img {
  width: 112px;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  margin: 8px 0;
}

.footer-grid a.btn {
  display: inline-flex;
}

.footer-grid a.btn-secondary {
  color: var(--primary);
}

.footer-grid a.btn-secondary:hover {
  color: #fff;
}

.phone-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  color: var(--primary);
  background: var(--secondary);
  border-color: var(--secondary);
}

.social-svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #c5d8df;
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  inset-inline-end: 18px;
  inset-block-end: 18px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.32);
  font-weight: 900;
  font-size: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-svg {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.42);
}

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

.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 650ms cubic-bezier(.21,.79,.32,1), transform 650ms cubic-bezier(.21,.79,.32,1);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
}

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

.back-to-top {
  position: fixed;
  inset-inline-start: 18px;
  inset-block-end: 18px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(42, 113, 167, 0.16);
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 34px rgba(18, 48, 71, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease, color 180ms ease;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
}

@keyframes driftGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 150px 0, 0 150px; }
}

@keyframes softFloat {
  0%, 100% { transform: rotate(-10deg) translate3d(0, 0, 0); }
  50% { transform: rotate(-7deg) translate3d(-12px, 10px, 0); }
}

@keyframes floatCard {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes pulseCard {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); box-shadow: 0 18px 42px rgba(42, 113, 167, 0.24); }
  50% { transform: translate3d(0, -7px, 0) scale(1.02); box-shadow: 0 24px 56px rgba(42, 113, 167, 0.30); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.topbar {
  overflow: hidden;
}

.topbar-inner {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
  min-height: 42px;
}

.topbar-brandline {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 900;
}

.topbar-brandline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: translateX(118%);
  animation: topbarShine 5s ease-in-out infinite;
  pointer-events: none;
}

.topbar-info,
.topbar-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.topbar-info span,
.topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: inherit;
}

.topbar-info a:hover {
  text-decoration: underline;
}

.topbar-bmi-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 1px solid rgba(42, 113, 167, 0.18);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.topbar-bmi-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.topbar .service-svg {
  width: 17px;
  height: 17px;
  stroke-width: 3.4;
}

.quick-util-bar {
  display: none;
  background: var(--secondary);
  color: var(--primary);
}

.quick-util-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 800;
}

.quick-util-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  overflow: hidden;
  min-width: 0;
}

.quick-util-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-util-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.quick-util-bmi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(42, 113, 167, 0.18);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.quick-util-socials {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quick-util-socials a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(42, 113, 167, 0.10);
  flex-shrink: 0;
}

.quick-util-socials .social-svg {
  width: 13px;
  height: 13px;
}

.quick-util-bar .service-svg {
  width: 15px;
  height: 15px;
  stroke-width: 3.4;
  flex-shrink: 0;
}

.bmi-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 22, 32, 0.6);
  backdrop-filter: blur(10px);
  animation: fadeIn 200ms ease;
}

.bmi-modal[hidden] {
  display: none;
}

.bmi-modal-backdrop {
  position: absolute;
  inset: 0;
}

.bmi-modal-card {
  position: relative;
  width: min(420px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  padding: 30px 26px;
  display: grid;
  gap: 14px;
  animation: zoomIn 220ms ease;
}

.bmi-modal-card .bmi-result {
  background: rgba(42, 113, 167, 0.06);
  border-radius: 18px;
  padding: 14px;
}

.bmi-modal-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(42, 113, 167, 0.10);
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.topbar-socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(42, 113, 167, 0.10);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.topbar-socials a:hover {
  transform: translateY(-1px);
  background: var(--primary);
  color: #fff;
}

.topbar-socials .social-svg {
  width: 17px;
  height: 17px;
}

.nav-shell {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 92px;
}

.brand img {
  width: 104px;
  height: 76px;
}

.brand strong {
  font-size: 1.16rem;
}

.brand small {
  color: #456372;
  font-weight: 800;
}

.nav > a,
.nav-mega > a,
.lang-switch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.mega-panel {
  left: 50%;
  inset-inline-start: auto;
  width: min(900px, calc(100vw - 36px));
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
  border-color: rgba(42, 113, 167, 0.12);
  border-radius: 20px;
  transform: translateX(-50%) translateY(14px);
}

body.ltr .mega-panel,
.nav-mega:hover .mega-panel,
body.ltr .nav-mega:hover .mega-panel {
  transform: translateX(-50%) translateY(0);
}

.mega-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(42, 113, 167, 0.12), rgba(6, 188, 192, 0.12)),
    #f7fbfd;
}

.mega-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 205, 122, 0.32);
  font-weight: 900;
}

.mega-all-link .service-svg {
  width: 21px;
  height: 21px;
}

.mega-grid a {
  min-height: 64px;
  border-radius: 14px;
}

.hero-slider {
  min-height: min(760px, calc(100svh - 124px));
  align-items: end;
  padding: 0;
  background: var(--primary);
}

.hero-slider::before {
  z-index: -2;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: -4;
  overflow: hidden;
  background: var(--primary);
}

.hero-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -26px;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  opacity: 0.72;
  transform: scale(1.04);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  position: absolute;
  inset-block: 0;
  left: clamp(34px, 7vw, 120px);
  width: 100%;
  height: 100%;
  max-width: min(48vw, 620px);
  object-fit: contain;
  object-position: bottom center;
  filter: saturate(1.02) contrast(1.02);
}

body.ltr .hero-slide img {
  left: auto;
  right: clamp(34px, 7vw, 120px);
}

.hero-slider .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 36, 58, 0.18), rgba(9, 36, 58, 0.72)),
    linear-gradient(0deg, rgba(7, 27, 43, 0.88), rgba(7, 27, 43, 0.18) 58%, rgba(7, 27, 43, 0.34));
}

body.ltr .hero-slider .hero__overlay {
  background:
    linear-gradient(270deg, rgba(9, 36, 58, 0.18), rgba(9, 36, 58, 0.72)),
    linear-gradient(0deg, rgba(7, 27, 43, 0.88), rgba(7, 27, 43, 0.18) 58%, rgba(7, 27, 43, 0.34));
}

.hero-slider .hero-bg-shape {
  z-index: 0;
  inset-inline-end: 5vw;
  top: auto;
  bottom: 10%;
  width: clamp(180px, 24vw, 360px);
  height: clamp(180px, 24vw, 360px);
  opacity: 0.42;
  background:
    radial-gradient(circle, rgba(255, 205, 122, 0.38), transparent 62%),
    linear-gradient(135deg, rgba(6, 188, 192, 0.18), rgba(255, 255, 255, 0.08));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  padding: clamp(148px, 18vw, 230px) 0 clamp(48px, 7vw, 78px);
}

.hero-slider .hero-copy {
  max-width: 820px;
  color: #fff;
}

.hero-slider .hero-eyebrow {
  color: #ffdfaa;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  padding: 7px 12px;
  backdrop-filter: blur(12px);
}

.hero-slider h1 {
  max-width: 880px;
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.6rem);
  text-shadow: 0 18px 38px rgba(7, 27, 43, 0.42);
}

.hero-slider .hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
}

.hero-slider .hero-actions .btn {
  min-height: 52px;
}

.hero-slider .btn-light {
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--primary);
}

.hero-slider .btn-light .service-svg {
  width: 22px;
  height: 22px;
}

.hero-slider .hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-slider .hero-proof .service-svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}

.hero-slider-controls {
  display: flex;
  gap: 9px;
  margin-top: 26px;
}

.hero-slider-controls button {
  width: 36px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-slider-controls button:hover,
.hero-slider-controls button.is-active {
  width: 52px;
  background: var(--secondary);
  transform: translateY(-1px);
}

.service-visual-hero {
  min-height: min(680px, calc(100svh - 124px));
}

.service-visual-hero .hero__content {
  padding: clamp(116px, 14vw, 180px) 0 clamp(44px, 6vw, 70px);
}

.service-visual-hero .hero-copy {
  max-width: 820px;
}

.service-visual-hero .hero-slide img {
  max-width: min(46vw, 590px);
  object-fit: contain;
  object-position: bottom center;
  opacity: 0.98;
}

.services-index-hero .hero-slide img {
  max-width: min(42vw, 560px);
}

.hero-breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.hero-breadcrumbs a:hover {
  color: var(--secondary);
}

.service-visual-hero .hero-eyebrow .service-svg {
  width: 21px;
  height: 21px;
  color: var(--secondary);
}

.footer-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 205, 122, 0.30), transparent 24rem),
    radial-gradient(circle at 82% 62%, rgba(6, 188, 192, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

.footer-logo {
  width: 142px;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  margin-bottom: 10px;
}

.footer-specialties {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.footer-specialties a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 900;
}

.footer-specialties .service-svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(7, 27, 43, 0.18);
}

.footer-whatsapp-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.footer-grid .footer-whatsapp {
  color: var(--primary);
}

.footer-hours {
  margin-top: 16px;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-hours strong {
  color: #fff;
}

.footer-bottom a {
  color: #fff;
  font-weight: 800;
}

.footer-bottom-location {
  color: #fff;
  font-weight: 800;
}

@keyframes topbarShine {
  0%, 54% { transform: translateX(118%); }
  78%, 100% { transform: translateX(-118%); }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.open {
    display: grid;
    gap: 8px;
    padding: 14px 16px 22px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .mobile-menu a {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--soft);
    font-weight: 900;
  }

  .service-grid,
  .service-grid.large,
  .service-grid.compact,
  .article-grid,
  .article-grid.large,
  .testimonial-grid,
  .widget-grid,
  .trust-grid,
  .focus-grid,
  .insight-grid,
  .bmi-guide-grid,
  .contact-quick-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid,
  .prep-grid,
  .decision-grid,
  .featured-article {
    grid-template-columns: 1fr;
  }

  .bmi-showcase-grid {
    grid-template-columns: 1fr;
  }

  .bmi-figure-panel {
    min-height: 320px;
    padding: 24px 16px 18px;
  }

  .bmi-figure-svg {
    width: min(100%, 190px);
  }

  .compass-grid,
  .summary-strip-grid,
  .decision-list,
  .gallery-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .procedure-rich-intro,
  .procedure-info-grid,
  .procedure-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  body {
    padding-bottom: 84px;
    background:
      linear-gradient(135deg, rgba(42, 113, 167, 0.04) 0 1px, transparent 1px 18px),
      linear-gradient(180deg, #ffffff 0%, #f5fbfd 44%, #ffffff 100%);
  }

  .site-header {
    border-bottom: 1px solid rgba(224, 224, 224, 0.9);
  }

  .header-inner {
    min-height: 70px;
  }

  .bmi-info-panel {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .bmi-inputs,
  .bmi-extra-stats {
    grid-template-columns: 1fr;
  }

  .bmi-number {
    font-size: 2.1rem;
  }

  .bmi-showcase-head p {
    font-size: 0.94rem;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 60px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .hero-grid,
  .detail-hero-grid,
  .doctor-grid,
  .contact-grid,
  .article-hero-grid,
  .section-split,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
    margin-bottom: 12px;
  }

  .page-hero.compact h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.7rem);
  }

  .section h2 {
    font-size: clamp(1.55rem, 7.4vw, 2.25rem);
  }

  .hero-lead,
  .page-hero p,
  .section-copy p,
  .doctor-copy p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .hero-media {
    order: 2;
  }

  .hero-copy {
    order: 1;
    padding-top: 4px;
  }

  .hero-media img,
  .doctor-image img,
  .detail-hero-image {
    aspect-ratio: 1 / 1.12;
    max-height: 430px;
    border-radius: 24px;
    object-position: top center;
  }

  .hero-card {
    inset-inline-start: 14px;
    inset-block-end: 14px;
    width: min(250px, 74%);
    padding: 14px;
    border-radius: 18px;
  }

  .hero-pulse-card {
    inset-block-start: 14px;
    inset-inline-end: 10px;
    width: min(210px, 58%);
    padding: 11px;
    border-radius: 16px;
  }

  .hero-pulse-card span {
    font-size: 0.78rem;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: grid;
  }

  .service-grid,
  .service-grid.large,
  .service-grid.compact,
  .article-grid,
  .article-grid.large,
  .testimonial-grid,
  .widget-grid,
  .trust-grid,
  .focus-grid,
  .journey-steps,
  .doctor-metrics,
  .insight-grid,
  .bmi-guide-grid,
  .contact-quick-grid,
  .compass-grid,
  .summary-strip-grid,
  .decision-list,
  .gallery-intro-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .home-trust-strip {
    margin-top: -22px;
    padding-bottom: 8px;
  }

  .trust-grid {
    gap: 10px;
  }

  .trust-item {
    min-height: auto;
    grid-template-columns: 42px 1fr;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
  }

  .trust-item svg {
    grid-row: span 2;
  }

  .trust-item strong {
    font-size: 1rem;
  }

  .trust-item span {
    font-size: 0.84rem;
  }

  .service-card,
  .article-card,
  .testimonial-card,
  .custom-widget,
  .journey-card,
  .focus-card,
  .insight-card,
  .bmi-guide-card,
  .contact-quick-card,
  .gallery-intro-card,
  .gallery-count-card,
  .decision-panel,
  .decision-item,
  .compass-item,
  .summary-pill {
    border-radius: 18px;
  }

  .service-card,
  .custom-widget {
    padding: 18px;
  }

  .procedure-rich-intro {
    padding: 16px;
    border-radius: 18px;
  }

  .procedure-inline-visual {
    border-radius: 16px;
  }

  .procedure-checklist li {
    padding: 12px 42px 12px 14px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  body.ltr .procedure-checklist li {
    padding: 12px 14px 12px 42px;
  }

  .procedure-info-grid,
  .procedure-timeline {
    gap: 10px;
  }

  .procedure-info-grid article,
  .procedure-timeline div,
  .procedure-booking-note {
    min-height: auto;
    padding: 16px;
    border-radius: 16px;
  }

  .procedure-faq-mini summary {
    padding: 14px 16px;
    font-size: 0.94rem;
  }

  .procedure-faq-mini p {
    padding: 0 16px 16px;
    font-size: 0.92rem;
  }

  .service-card h2,
  .service-card h3,
  .article-card h2,
  .article-card h3 {
    font-size: 1.08rem;
  }

  .service-card p,
  .article-card p,
  .journey-card p,
  .focus-card p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .focus-card {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    min-height: auto;
    padding: 16px;
  }

  .focus-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .focus-icon .service-svg,
  .focus-icon .icon-img {
    width: 32px;
    height: 32px;
  }

  .service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .service-icon .service-svg,
  .service-icon .icon-img {
    width: 32px;
    height: 32px;
  }

  .focus-card > span {
    grid-column: 1 / -1;
    min-height: 42px;
    min-width: 0;
    border-radius: 14px;
  }

  .journey-card {
    min-height: auto;
    padding: 18px;
  }

  .doctor-metrics {
    gap: 8px;
  }

  .doctor-metrics div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .doctor-metrics strong {
    font-size: 1.45rem;
  }

  .prep-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .prep-item {
    min-height: 66px;
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 0.92rem;
  }

  .page-insight-band,
  .service-summary-strip,
  .article-topic-band,
  .gallery-intro-section,
  .contact-quick-section,
  .landing-proof-section {
    padding-block: 30px;
  }

  .insight-card,
  .bmi-guide-card,
  .contact-quick-card,
  .gallery-intro-card,
  .gallery-count-card,
  .compass-item {
    padding: 18px;
  }

  .insight-card h2,
  .bmi-guide-card h2,
  .contact-quick-card strong,
  .gallery-intro-card strong {
    font-size: 1.08rem;
  }

  .summary-pill,
  .decision-item,
  .topic-chip {
    min-height: 66px;
    padding: 13px 14px;
    font-size: 0.92rem;
  }

  .decision-panel {
    padding: 22px;
  }

  .featured-article {
    padding: 16px;
    border-radius: 22px;
  }

  .featured-article img {
    border-radius: 18px;
  }

  .photo-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .photo-strip img {
    min-width: 76%;
    height: 280px;
    scroll-snap-align: center;
  }

  .toc {
    position: static;
  }

  .cta-inner,
  .footer-bottom {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .masonry-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-item {
    aspect-ratio: 1 / 1.18;
    border-radius: 18px;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-app-bar {
    position: fixed;
    inset-inline: 10px;
    inset-block-end: max(10px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    padding: 9px;
    border: 1px solid rgba(224, 224, 224, 0.9);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 44px rgba(18, 48, 71, 0.18);
    backdrop-filter: blur(16px);
  }

  .mobile-app-bar a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-height: 58px;
    border-radius: 18px;
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.25;
    background: rgba(42, 113, 167, 0.06);
    border: 1px solid rgba(42, 113, 167, 0.10);
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
  }

  .mobile-app-bar a:active {
    transform: scale(0.98);
  }

  .mobile-app-bar .mobile-whatsapp {
    min-height: 66px;
    margin-block-start: -14px;
    background: #fff;
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.34);
  }

  .mobile-app-bar svg {
    width: 23px;
    height: 23px;
  }

  .mobile-app-bar .mobile-whatsapp svg,
  .mobile-app-bar .mobile-whatsapp img {
    width: 30px;
    height: 30px;
  }

  .mobile-bar-svg {
    border-radius: 50%;
  }
}

@media (max-width: 1100px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .topbar-info {
    display: none;
  }

  .quick-util-bar {
    display: block;
  }

  .mobile-menu.open {
    position: absolute;
    inset-inline: 14px;
    top: calc(100% + 10px);
    z-index: 95;
    display: grid;
    gap: 14px;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid rgba(42, 113, 167, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(18, 48, 71, 0.20);
    backdrop-filter: blur(18px);
  }

  .mobile-menu-links,
  .mobile-menu-services {
    display: grid;
    gap: 8px;
  }

  .mobile-menu-services strong {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 1.02rem;
  }

  .mobile-menu a {
    margin: 0;
  }

  .mobile-menu-services a {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-menu-services .service-svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
  }

  .mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 16px;
    background: #25d366;
    color: #fff;
    font-weight: 900;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
  }

  .nav-shell {
    background: rgba(255, 255, 255, 0.96);
  }

  .header-inner {
    min-height: 74px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 66px;
    height: 50px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    display: block;
    max-width: 148px;
    color: #526b78;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .lang-switch {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-slider {
    min-height: calc(100svh - 74px);
    padding: 0;
  }

  .hero-slider .hero-slide img {
    inset: 0;
    left: 0;
    right: auto;
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 18%;
  }

  body.ltr .hero-slider .hero-slide img {
    left: 0;
    right: auto;
  }

  .service-visual-hero {
    min-height: calc(100svh - 74px);
  }

  .service-visual-hero .hero__content {
    padding: min(42svh, 310px) 0 32px;
  }

  .hero-breadcrumbs {
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .hero-slider .hero__overlay {
    background:
      linear-gradient(0deg, rgba(7, 27, 43, 0.92), rgba(7, 27, 43, 0.28) 58%, rgba(7, 27, 43, 0.42)),
      linear-gradient(90deg, rgba(9, 36, 58, 0.22), rgba(9, 36, 58, 0.48));
  }

  .hero__content {
    width: min(100% - 28px, 1180px);
    padding: min(44svh, 330px) 0 32px;
  }

  .hero-slider .hero-copy {
    max-width: 100%;
  }

  .hero-slider h1 {
    font-size: clamp(2.05rem, 10vw, 3.1rem);
    line-height: 1.18;
    margin: 12px 0 12px;
  }

  .hero-slider .hero-lead {
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 36rem;
  }

  .hero-slider .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .hero-slider .hero-actions .btn {
    min-height: 48px;
    padding-inline: 16px;
  }

  .hero-slider .hero-proof {
    gap: 7px;
    margin-top: 18px;
  }

  .hero-slider .hero-proof span {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .hero-slider .hero-proof .service-svg {
    width: 18px;
    height: 18px;
  }

  .hero-slider-controls {
    margin-top: 18px;
  }

  .hero-slider-controls button {
    width: 28px;
    height: 7px;
  }

  .hero-slider-controls button:hover,
  .hero-slider-controls button.is-active {
    width: 42px;
  }

  .home-trust-strip {
    margin-top: 0;
    padding-top: 16px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-logo {
    width: 122px;
  }

  .footer-specialties a {
    width: 100%;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-hours div {
    font-size: 0.92rem;
  }
}

@media (max-width: 390px) {
  .quick-util-location span {
    max-width: 96px;
  }

  .quick-util-bmi span {
    display: none;
  }

  .quick-util-bmi {
    padding: 4px 8px;
  }

  .quick-util-right {
    gap: 6px;
  }

  .quick-util-socials {
    gap: 4px;
  }

  .quick-util-socials a {
    width: 21px;
    height: 21px;
  }

  .brand small {
    max-width: 122px;
    font-size: 0.63rem;
  }

  .hero-slider h1 {
    font-size: 1.92rem;
  }

  .hero-slider .hero-lead {
    font-size: 0.9rem;
  }

  .hero-slider .hero-proof span {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==================================================
   DrDawoud Site Visual Builder Compiled Blocks Styles
   ================================================== */

.builder-heading {
  font-family: var(--font-display);
  line-height: 1.35;
}

.builder-text-block {
  margin-bottom: 2rem;
}

.builder-image-text-block {
  margin-bottom: 2.2rem;
}

.builder-image-text-block img {
  transition: transform 300ms ease, box-shadow 300ms ease;
  box-shadow: 0 10px 30px rgba(18, 48, 71, 0.05);
}

.builder-image-text-block:hover img {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(18, 48, 71, 0.1);
}

/* Notice Cards */
.medical-notice-card {
  border-radius: 22px;
  padding: 24px;
  background: #fff;
  border-inline-start: 6px solid var(--primary);
  box-shadow: 0 12px 32px rgba(18, 48, 71, 0.04);
  border: 1px solid rgba(224, 224, 224, 0.8);
  border-inline-start: 6px solid var(--primary);
}

.medical-notice-card.type-notice_accent {
  border-inline-start-color: var(--accent);
  background: linear-gradient(135deg, rgba(6, 188, 192, 0.03), #fff 60%);
}

.medical-notice-card.type-warning {
  border-inline-start-color: #b42318;
  background: linear-gradient(135deg, #fef2f2, #fff 60%);
  border-color: #fca5a5;
}

.medical-notice-card strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.medical-notice-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* Care Steps Timeline */
.steps-timeline {
  position: relative;
  padding-inline-start: 32px;
  margin-block: 24px;
}

.steps-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  inset-inline-start: 13px;
  width: 2px;
  background: var(--line);
}

.timeline-step {
  position: relative;
  margin-bottom: 24px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step .step-number {
  position: absolute;
  inset-inline-start: -32px;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(42, 113, 167, 0.2);
  z-index: 2;
}

.timeline-step .step-content {
  background: #fff;
  border: 1px solid rgba(224, 224, 224, 0.86);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 8px 20px rgba(18, 48, 71, 0.02);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timeline-step .step-content:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(18, 48, 71, 0.08);
}

.timeline-step .step-content h4 {
  margin: 0 0 6px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.timeline-step .step-content p {
  margin: 0;
  color: #536d7a;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Steps Grid Layout Option */
.steps-timeline.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding-inline-start: 0;
}

.steps-timeline.grid::before {
  display: none;
}

.steps-timeline.grid .timeline-step {
  margin-bottom: 0;
}

.steps-timeline.grid .timeline-step .step-number {
  position: static;
  margin-bottom: 12px;
}

/* Collapsible FAQ Custom styles */
.faq-accordion-wrap details summary::marker {
  display: none;
}

.faq-accordion-wrap details summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-wrap details summary {
  position: relative;
  padding-inline-end: 44px !important;
}

.faq-accordion-wrap details summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  transition: transform 200ms ease;
}

.faq-accordion-wrap details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

/* Comparison Tables */
.builder-table-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 48, 71, 0.05);
  border: 1px solid var(--line);
  margin-bottom: 1.8rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  background: linear-gradient(135deg, rgba(42, 113, 167, 0.06), rgba(6, 188, 192, 0.04));
  font-weight: 800;
  color: var(--primary);
  border: 1px solid rgba(224, 224, 224, 0.8) !important;
}

.comparison-table tr:nth-child(even) {
  background: rgba(245, 251, 253, 0.6);
}

.comparison-table td {
  border: 1px solid rgba(224, 224, 224, 0.8) !important;
  color: #334155;
}

/* Features Cards Grid */
.builder-features-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 2rem;
}

.builder-features-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.builder-features-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.builder-features-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.feature-item-card {
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.feature-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent) !important;
  box-shadow: 0 15px 35px rgba(18, 48, 71, 0.08) !important;
}

.feature-item-card .feature-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: var(--primary);
}

@media (max-width: 767px) {
  .builder-features-grid.cols-2,
  .builder-features-grid.cols-3,
  .builder-features-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   LIQUID GLASS DESIGN SYSTEM (2026)
   Token-driven glassmorphism layer over the brand identity.
   Only backgrounds/borders/shadows are re-skinned; layout,
   color identity and existing transforms are preserved.
   ============================================================ */

:root {
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-bg-soft: rgba(255, 255, 255, 0.44);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-edge: rgba(18, 48, 71, 0.09);
  --glass-blur: 22px;
  --glass-saturate: 175%;
  --glass-shadow: 0 18px 48px rgba(26, 74, 105, 0.14);
  --glass-shadow-soft: 0 10px 30px rgba(26, 74, 105, 0.1);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* --- Ambient aurora background: gives the glass something to refract --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 12% 8%, rgba(6, 188, 192, 0.11), transparent 70%),
    radial-gradient(42% 34% at 88% 16%, rgba(42, 113, 167, 0.1), transparent 72%),
    radial-gradient(50% 40% at 78% 88%, rgba(255, 205, 122, 0.14), transparent 70%),
    radial-gradient(38% 32% at 8% 82%, rgba(6, 188, 192, 0.08), transparent 72%);
}

/* --- Core glass recipe --- */
.site-header,
.mega-panel,
.mobile-menu,
.quick-util-bar,
.service-card,
.article-card,
.testimonial-card,
.trust-item,
.focus-card,
.contact-quick-card,
.bmi-guide-card,
.prep-panel,
.decision-panel,
.map-card,
.bmi-figure-panel,
.bmi-info-panel,
.bmi-modal-card,
.featured-article {
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
}

.service-card,
.article-card,
.testimonial-card,
.trust-item,
.focus-card,
.contact-quick-card,
.bmi-guide-card,
.prep-panel,
.decision-panel,
.map-card,
.featured-article {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-soft), var(--glass-highlight), 0 0 0 1px var(--glass-edge);
}

.service-card:hover,
.article-card:hover,
.testimonial-card:hover,
.focus-card:hover,
.contact-quick-card:hover {
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow), var(--glass-highlight), 0 0 0 1px var(--glass-edge);
}

/* Specular sweep on card hover (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .service-card,
  .article-card,
  .focus-card,
  .contact-quick-card {
    position: relative;
    overflow: hidden;
  }
  .service-card::after,
  .article-card::after,
  .focus-card::after,
  .contact-quick-card::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: -75%;
    width: 55%;
    height: 100%;
    transform: skewX(-18deg) translateX(0);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }
  .service-card:hover::after,
  .article-card:hover::after,
  .focus-card:hover::after,
  .contact-quick-card:hover::after {
    opacity: 1;
    animation: glass-sweep 850ms ease forwards;
  }
}

@keyframes glass-sweep {
  to {
    transform: skewX(-18deg) translateX(340%);
  }
}

/* --- Header: true liquid glass --- */
.site-header {
  background: rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(18, 48, 71, 0.05);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 38px rgba(18, 48, 71, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.mega-panel,
.mobile-menu {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.quick-util-bar {
  background: var(--glass-bg-soft);
  border-bottom: 1px solid var(--glass-border);
}

/* --- Buttons: tactile press --- */
.btn {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-outline {
  background: var(--glass-bg-soft);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border-color: var(--glass-edge);
}

/* --- Floating elements --- */
.floating-whatsapp,
.back-to-top {
  box-shadow: 0 14px 34px rgba(18, 48, 71, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.back-to-top {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  color: var(--primary);
}

/* --- BMI panels: hero glass treatment --- */
.bmi-figure-panel,
.bmi-info-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight), 0 0 0 1px var(--glass-edge);
}

.bmi-stat-card,
.bmi-metric-card {
  background: var(--glass-bg-soft);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-soft), var(--glass-highlight);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
}

.bmi-modal-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

/* ============================================================
   BMI CALCULATOR v2 — profile row, metrics grid, recommendation
   ============================================================ */

.bmi-profile-row {
  display: grid;
  grid-template-columns: auto 92px 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.bmi-gender-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(18, 48, 71, 0.06);
  border: 1px solid var(--glass-edge);
  gap: 4px;
}

.bmi-gender-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #40607a;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bmi-gender-btn:hover {
  color: var(--primary);
}

.bmi-gender-btn.is-active {
  background: var(--glass-bg-strong);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(26, 74, 105, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bmi-gender-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.bmi-age-field,
.bmi-activity-field {
  display: grid;
  gap: 6px;
}

.bmi-age-field span,
.bmi-activity-field span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #40607a;
}

.bmi-age-field input,
.bmi-activity-field select {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--glass-edge);
  background: var(--glass-bg-strong);
  color: var(--ink);
  font-weight: 700;
  width: 100%;
}

.bmi-age-field input:focus-visible,
.bmi-activity-field select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.bmi-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.bmi-metric-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  justify-items: center;
}

.bmi-metric-card svg {
  color: var(--accent);
  margin-bottom: 2px;
}

.bmi-metric-card span {
  font-size: 0.72rem;
  font-weight: 800;
  color: #52708a;
  line-height: 1.4;
}

.bmi-metric-card strong {
  font-size: 1.02rem;
  color: var(--ink);
  font-family: var(--font-display);
}

.bmi-metric-card strong em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.bmi-reco-card {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-inline-start: 4px solid var(--reco-color, var(--accent));
  box-shadow: var(--glass-shadow-soft), var(--glass-highlight);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}

.bmi-reco-card.is-refreshed {
  animation: reco-pop 420ms ease;
}

@keyframes reco-pop {
  0% {
    transform: translateY(6px);
    opacity: 0.4;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.bmi-reco-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.bmi-reco-badge {
  display: inline-flex;
  padding: 3px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--accent);
}

.bmi-reco-head strong {
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--font-display);
}

.bmi-reco-card p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #33526c;
}

.bmi-reco-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 14px;
  margin: -4px -8px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: gap 180ms ease, background 180ms ease;
}

.bmi-reco-link:hover {
  gap: 11px;
  background: rgba(42, 113, 167, 0.07);
}

.bmi-reco-link svg {
  flex: none;
}

body:not(.ltr) .bmi-reco-link svg {
  transform: scaleX(-1);
}

/* ============================================================
   Responsiveness, performance & accessibility guards
   ============================================================ */

@media (max-width: 900px) {
  .bmi-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bmi-profile-row {
    grid-template-columns: 1fr 88px;
  }
  .bmi-gender-toggle {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .bmi-gender-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --glass-blur: 14px;
  }
}

@media (max-width: 480px) {
  .bmi-profile-row {
    grid-template-columns: 1fr;
  }
  .bmi-age-field,
  .bmi-activity-field {
    width: 100%;
  }
}

/* Solid fallbacks when backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .mega-panel,
  .mobile-menu,
  .bmi-modal-card {
    background: rgba(255, 255, 255, 0.97);
  }
  .service-card,
  .article-card,
  .testimonial-card,
  .trust-item,
  .focus-card,
  .contact-quick-card,
  .bmi-guide-card,
  .prep-panel,
  .decision-panel,
  .map-card,
  .featured-article,
  .bmi-figure-panel,
  .bmi-info-panel,
  .bmi-stat-card,
  .bmi-metric-card,
  .bmi-reco-card {
    background: rgba(255, 255, 255, 0.96);
  }
}

/* Respect users who prefer opaque surfaces */
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .mega-panel,
  .mobile-menu,
  .service-card,
  .article-card,
  .testimonial-card,
  .trust-item,
  .focus-card,
  .contact-quick-card,
  .bmi-guide-card,
  .prep-panel,
  .decision-panel,
  .map-card,
  .featured-article,
  .bmi-figure-panel,
  .bmi-info-panel,
  .bmi-stat-card,
  .bmi-metric-card,
  .bmi-modal-card,
  .bmi-reco-card,
  .back-to-top,
  .btn-outline {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #ffffff;
  }
  body::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card::after,
  .article-card::after,
  .focus-card::after,
  .contact-quick-card::after {
    display: none;
  }
  .bmi-reco-card.is-refreshed {
    animation: none;
  }
}

.article-updated-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 188, 192, 0.1);
  color: #0d7c80;
  font-size: 0.78rem;
  font-weight: 800;
}

/* ============================================================
   INTERACTIVE PATIENT COMPONENTS — quiz, testimonial slider,
   weight projection, journey polish
   ============================================================ */

/* --- Procedure quiz --- */
.quiz-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 36px) 20px;
  border-radius: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight), 0 0 0 1px var(--glass-edge);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
}

.quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(18, 48, 71, 0.08);
  overflow: hidden;
  margin-bottom: 22px;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 320ms ease;
}

.quiz-steps {
  position: relative;
  min-height: 210px;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
  animation: quiz-step-in 320ms ease;
}

@keyframes quiz-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-step h3 {
  margin: 0 0 18px;
  font-size: 1.12rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.quiz-options button {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--glass-edge);
  background: var(--glass-bg-strong);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.quiz-options button:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 188, 192, 0.16);
}

.quiz-options button:active {
  transform: scale(0.97);
}

.quiz-options button.is-selected {
  border-color: var(--primary);
  background: rgba(42, 113, 167, 0.1);
  color: var(--primary);
}

.quiz-options button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.quiz-hint {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.quiz-result {
  text-align: start;
}

.quiz-result-badge {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--accent);
  margin-bottom: 10px;
}

.quiz-result h3 {
  margin-bottom: 8px;
}

.quiz-result p {
  margin: 0 0 16px;
  color: #33526c;
  line-height: 1.8;
  font-size: 0.94rem;
}

.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.quiz-disclaimer {
  font-size: 0.78rem;
  color: #6b8299;
  margin: 0;
}

.quiz-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.quiz-back,
.quiz-restart {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-edge);
  background: transparent;
  color: #40607a;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.quiz-back:hover,
.quiz-restart:hover {
  background: rgba(42, 113, 167, 0.08);
  color: var(--primary);
}

/* --- Testimonials slider --- */
.testimonial-slider {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.testimonial-slider .testimonial-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 6px 2px 14px;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.testimonial-slider .testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-slider .testimonial-card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  position: relative;
}

.testimonial-quote-mark {
  position: absolute;
  top: 8px;
  inset-inline-end: 16px;
  font-size: 3.4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(6, 188, 192, 0.25);
  pointer-events: none;
}

.testimonial-nav {
  flex: none;
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--glass-shadow-soft), var(--glass-highlight);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.testimonial-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.testimonial-nav:active {
  transform: scale(0.94);
}

.testimonial-nav:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

body:not(.ltr) .testimonial-nav svg {
  transform: scaleX(-1);
}

@media (max-width: 640px) {
  .testimonial-nav {
    display: none;
  }
}

/* --- BMI weight projection --- */
.bmi-projection {
  margin-top: 14px;
  padding: 14px 16px 12px;
  border-radius: 18px;
  background: var(--glass-bg-soft);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-soft), var(--glass-highlight);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
}

.bmi-projection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 8px;
}

.bmi-projection-head strong {
  font-size: 0.86rem;
  color: var(--ink);
  font-family: var(--font-display);
}

.bmi-projection-head span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0d7c80;
}

.bmi-projection-svg {
  display: block;
  width: 100%;
  height: 96px;
}

body:not(.ltr) .bmi-projection-svg {
  transform: scaleX(-1);
}

.bmi-projection-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: #52708a;
  margin-top: 4px;
}

.bmi-projection-note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #6b8299;
}

/* --- Journey cards polish --- */
.journey-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.journey-card:hover {
  transform: translateY(-4px);
}

.journey-card span {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
  .quiz-step.is-active {
    animation: none;
  }
  .quiz-options button:hover,
  .testimonial-nav:hover,
  .journey-card:hover {
    transform: none;
  }
}
