/* ================================================
   DBN INFERTILITY CLINIC — Luxury Medical 2026
   Deep Navy · Gold · Refined · Premium
   ================================================ */

:root {
  /* Primary: Refined Blue */
  --teal-900:  #1e3a5f;
  --teal-800:  #1d4ed8;
  --teal-700:  #2563eb;
  --teal-600:  #3b82f6;
  --teal-500:  #60a5fa;
  --teal-400:  #93c5fd;
  --teal-200:  #bfdbfe;
  --teal-100:  #dbeafe;
  --teal-50:   #eff6ff;

  /* Gold Accent — replaces orange */
  --gold-900:  #6b4c1a;
  --gold-700:  #a07830;
  --gold-500:  #c9a058;
  --gold-400:  #d9b978;
  --gold-300:  #e8cc9a;
  --gold-100:  #fdf5e6;
  --gold-50:   #fffbf2;

  /* Section backgrounds — warm white tints */
  --bg-alt:    #f8f6f2;
  --bg-tint:   #f2efe9;

  /* Navy (hero & footer only) */
  --navy:      #080f1e;
  --navy-800:  #0d1830;
  --navy-700:  #111f3d;

  /* Neutrals — slightly warm */
  --white:     #ffffff;
  --gray-25:   #fdfcfa;
  --gray-50:   #f7f5f2;
  --gray-100:  #ede9e3;
  --gray-200:  #d8d1c6;
  --gray-300:  #b8ae9e;
  --gray-400:  #928679;
  --gray-500:  #6e6155;
  --gray-600:  #4e4438;
  --gray-700:  #342c22;
  --gray-800:  #1e1710;
  --gray-900:  #100c07;

  /* Accents */
  --green-700: #15803d;
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;

  /* Radii */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  22px;
  --r-2xl: 32px;

  /* Shadows — warm, luxurious */
  --sh-xs:  0 1px 3px rgba(10,8,5,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --sh-sm:  0 2px 10px rgba(10,8,5,0.08), 0 1px 4px rgba(0,0,0,0.05);
  --sh-md:  0 6px 24px rgba(10,8,5,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --sh-lg:  0 16px 48px rgba(10,8,5,0.13), 0 4px 14px rgba(0,0,0,0.07);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.25s;

  /* Display font */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color var(--dur); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 20px; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px; flex-shrink: 0;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600; color: var(--gray-800);
  line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.lead {
  font-size: 0.97rem; color: var(--gray-500);
  line-height: 1.85; max-width: 560px;
}
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.center .eyebrow { justify-content: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  font-size: 0.84rem; font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-teal {
  background: var(--teal-700); color: var(--white); border-color: var(--teal-700);
}
.btn-orange {
  background: linear-gradient(135deg, #a07830 0%, #c9a058 60%, #d9b978 100%);
  color: var(--white); border-color: transparent;
  box-shadow: 0 2px 12px rgba(160,120,48,0.25);
}
.btn-orange:hover {
  background: linear-gradient(135deg, #8c6824 0%, #b8924a 60%, #c9a968 100%);
  box-shadow: 0 6px 24px rgba(160,120,48,0.4); transform: translateY(-2px);
}
.btn-teal:hover {
  background: var(--teal-800); border-color: var(--teal-800);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3); transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.7);
}
.btn-white {
  background: var(--white); color: var(--gray-800);
  border-color: var(--white); font-weight: 600;
}
.btn-white:hover { background: var(--gold-50); border-color: var(--gold-300); transform: translateY(-1px); }
.btn-outline-teal {
  background: transparent; color: var(--teal-700);
  border-color: var(--teal-200);
}
.btn-outline-teal:hover { background: var(--teal-50); border-color: var(--teal-700); }
.btn-lg { padding: 15px 32px; font-size: 0.92rem; letter-spacing: 0.04em; }
.btn-full { width: 100%; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  font-size: 0.74rem; padding: 7px 0;
  border-bottom: 1px solid rgba(201,160,88,0.18);
}
.topbar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar-inner .lang-toggle { margin-left: auto; }
.topbar a { color: rgba(255,255,255,0.75); font-weight: 500; }
.topbar a:hover { color: var(--gold-300); }
.topbar-sep { color: rgba(255,255,255,0.15); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(10,8,5,0.09);
  border-bottom-color: var(--gray-200);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 44px; width: auto; flex-shrink: 0;
  display: block;
}
.logo-name { font-size: 0.92rem; font-weight: 700; color: var(--gray-800); line-height: 1.25; letter-spacing: 0.01em; }
.logo-sub  { font-size: 0.64rem; color: var(--gold-500); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 1px; }
.nav-links a {
  padding: 8px 12px;
  font-size: 0.83rem; font-weight: 500; color: var(--gray-500);
  border-radius: var(--r-sm); transition: all var(--dur) var(--ease);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--gray-800); background: var(--gray-50); }
.nav-links a.active { color: var(--gray-800); font-weight: 600; }

.nav-cta {
  margin-left: 8px;
  background: linear-gradient(135deg, #a07830 0%, #c9a058 60%, #d9b978 100%) !important;
  color: var(--white) !important;
  border-radius: var(--r-sm) !important; padding: 9px 20px !important;
  font-weight: 600 !important; letter-spacing: 0.03em !important;
  box-shadow: 0 2px 10px rgba(160,120,48,0.28) !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #8c6824 0%, #b8924a 60%, #c9a968 100%) !important;
  box-shadow: 0 4px 18px rgba(160,120,48,0.45) !important;
  transform: translateY(-1px);
}

/* Language toggle */
.nav-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.1); border-radius: 100px;
  padding: 3px 10px; flex-shrink: 0;
}
.lang-btn {
  font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.55);
  background: none; border: none; cursor: pointer;
  padding: 2px 1px; border-radius: 100px;
  transition: all var(--dur) var(--ease);
  letter-spacing: 0.02em;
  font-family: inherit; white-space: nowrap;
}
.lang-btn.active { color: #ffffff; }
.lang-btn:hover:not(.active) { color: rgba(255,255,255,0.8); }
.lang-sep { font-size: 0.6rem; color: rgba(255,255,255,0.25); user-select: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 6px;
  border-radius: var(--r-sm);
}
.nav-toggle span { width: 21px; height: 1.5px; background: var(--gray-600); border-radius: 2px; transition: all var(--dur) var(--ease); }

/* Language overrides */
body.lang-th { font-size: 15px; line-height: 1.75; }
.th { display: none !important; }
.zh { display: none !important; }
body.lang-th .th { display: revert !important; }
body.lang-th .en { display: none !important; }
body.lang-th .zh { display: none !important; }
body.lang-zh .zh { display: revert !important; }
body.lang-zh .en { display: none !important; }
body.lang-zh .th { display: none !important; }

/* Thai: revert serif font to Inter — Cormorant has no Thai glyphs */
body.lang-th .hero-h1,
body.lang-th .h2,
body.lang-th .jstep-body h3,
body.lang-th .why-card h3,
body.lang-th .svc-card h3,
body.lang-th .doc-name,
body.lang-th .about-quote,
body.lang-th .about-num strong,
body.lang-th .hstat-n {
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}
body.lang-th .hero-h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.65; font-weight: 800; }
body.lang-th .h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.3; }

/* ===== HERO ===== */
@keyframes floatA {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(18px,-22px) scale(1.06); }
  66%      { transform: translate(-12px,14px) scale(0.96); }
}
@keyframes floatB {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(-20px,16px) scale(1.08); }
  70%      { transform: translate(14px,-10px) scale(0.94); }
}
@keyframes floatC {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(10px,18px); }
}
@keyframes shimmer {
  0%,100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.hero {
  position: relative;
  background: #f7f9fb;
  border-bottom: 1px solid #e8ecf0;
  display: flex; align-items: stretch; overflow: hidden;
}

/* Animated orbs */
.hero::before,
.hero::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px;
  top: -140px; left: -100px;
  background: radial-gradient(circle, rgba(201,160,88,0.10) 0%, rgba(201,160,88,0.03) 50%, transparent 70%);
  animation: floatA 12s ease-in-out infinite;
}
.hero::after {
  width: 380px; height: 380px;
  bottom: -80px; right: 30%;
  background: radial-gradient(circle, rgba(160,120,48,0.07) 0%, transparent 65%);
  animation: floatB 15s ease-in-out infinite;
}

/* Extra orb via hero-pattern */
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-pattern::before {
  content: ''; position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  top: 20%; right: 10%;
  background: radial-gradient(circle, rgba(201,160,88,0.06) 0%, transparent 65%);
  animation: floatC 9s ease-in-out infinite;
}
/* Canvas flowing lines */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  width: 100%; height: 100%;
}

.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 48px 48px 44px;
  display: grid; grid-template-columns: 1fr 0.8fr;
  gap: 72px; align-items: center;
}

/* ── Left column ── */
.hero-left { display: flex; flex-direction: column; }

/* Accreditation bar — shown first for trust */
.hero-accred-bar {
  display: flex; align-items: stretch; gap: 0;
  background: #fff;
  border: 1px solid #dde2ea;
  border-radius: 8px; overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 1px 4px rgba(8,15,30,0.06);
}
.accred-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 500;
  color: rgba(8,15,30,0.65);
  letter-spacing: 0.01em;
  padding: 11px 16px;
  flex: 1; white-space: nowrap;
}
.accred-item svg { color: var(--gold-500); flex-shrink: 0; }
.accred-sep {
  width: 1px;
  background: #dde2ea;
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  font-weight: 600; color: var(--navy);
  line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 18px;
}
.hero-h1 .hero-accent {
  background: linear-gradient(135deg, var(--gold-700) 0%, var(--gold-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-p {
  font-size: 0.97rem; color: rgba(8,15,30,0.52);
  line-height: 1.82; margin-bottom: 30px; max-width: 520px;
}

/* Stats — clinical data style */
.hero-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid #dde2ea;
  border-radius: 10px; overflow: hidden;
  margin-bottom: 32px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(8,15,30,0.06);
}
.hstat {
  padding: 18px 20px;
  border-right: 1px solid #dde2ea;
}
.hstat:last-child { border-right: none; }
.hstat-n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 600; color: var(--navy);
  line-height: 1; letter-spacing: -0.01em;
}
.hstat-l {
  display: block;
  font-size: 0.64rem; color: rgba(8,15,30,0.42); margin-top: 5px;
  line-height: 1.35; text-transform: uppercase; letter-spacing: 0.06em;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Right column ── */
.hero-right { position: relative; }

.hero-img-frame {
  position: relative;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(201,160,88,0.15);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  aspect-ratio: 4/5;
}
.hero-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 12%;
  display: block;
}
.hero-img-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,15,30,0.75) 0%, rgba(8,15,30,0.15) 40%, transparent 65%);
}

/* Credential overlay on image */
.hero-cred-overlay {
  position: absolute; bottom: 20px; left: 16px; right: 16px; z-index: 2;
  background: rgba(6,12,24,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201,160,88,0.2);
  border-radius: 10px; padding: 12px 16px;
}
.hco-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.74rem; color: rgba(255,255,255,0.72);
}
.hco-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ecf5e; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(62,207,94,0.2);
}
.hco-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 9px 0; }
.hco-hours { color: rgba(255,255,255,0.5); }
.hco-hours svg { color: var(--gold-400); flex-shrink: 0; }

/* Institution tag below image */
.hero-inst-tag {
  margin-top: 12px; text-align: center;
  font-size: 0.65rem; color: rgba(8,15,30,0.35);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Hero outline button — dark on light bg */
.hero .btn-outline-white {
  color: var(--navy) !important;
  border-color: rgba(8,15,30,0.25) !important;
  background: transparent !important;
}
.hero .btn-outline-white:hover {
  background: rgba(8,15,30,0.06) !important;
  border-color: rgba(8,15,30,0.45) !important;
}

/* Legacy elements hidden */
.hero-image-panel { display: none; }
.hero-panel { display: none; }
.hero-badge { display: none; }
.hero-creds { display: none; }
.hp-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,160,88,0.12);
  border-radius: var(--r-lg); padding: 18px 20px;
  transition: all var(--dur) var(--ease);
}
.hp-card:hover { background: rgba(201,160,88,0.06); border-color: rgba(201,160,88,0.22); }
.hp-card-top { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.hp-ico {
  width: 34px; height: 34px;
  background: rgba(201,160,88,0.15); border-radius: var(--r-sm);
  border: 1px solid rgba(201,160,88,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.hp-ttl { font-size: 0.855rem; font-weight: 600; color: var(--white); letter-spacing: 0.01em; }
.hp-sub { font-size: 0.74rem; color: rgba(255,255,255,0.38); margin-top: 2px; }
.hp-list { display: flex; flex-direction: column; gap: 5px; }
.hp-list li {
  font-size: 0.77rem; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 8px;
}
.hp-list li::before {
  content: ''; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-400); flex-shrink: 0;
}
.hp-open {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,160,88,0.12); border: 1px solid rgba(201,160,88,0.28);
  color: var(--gold-300); font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px; margin-bottom: 8px;
}
.hp-open-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400); }
.hp-hours { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 6px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  border-top: 1px solid var(--gray-100);
  padding: 24px 0;
  position: relative;
}
.trust-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-300), var(--gold-500), transparent);
}
.trust-bar-inner {
  display: flex; align-items: center;
  justify-content: space-around; gap: 16px; flex-wrap: wrap;
}
.titem { display: flex; align-items: center; gap: 12px; }
.titem-ico {
  width: 38px; height: 38px;
  background: var(--gold-50); border: 1px solid var(--gold-100);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.titem-txt strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-800); }
.titem-txt span { font-size: 0.71rem; color: var(--gray-400); }

/* ===== ABOUT ===== */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 80px; align-items: center;
}

.about-card {
  background: linear-gradient(155deg, var(--navy) 0%, #0d1830 50%, #111f3d 100%);
  border-radius: var(--r-xl); padding: 44px 40px;
  color: var(--white); box-shadow: var(--sh-lg);
  position: relative; overflow: hidden;
  border: 1px solid rgba(201,160,88,0.12);
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,160,88,0.5), transparent);
}
.about-card-top {
  display: flex; align-items: center; gap: 13px; margin-bottom: 26px;
}
.about-card-ico {
  width: 46px; height: 46px;
  background: rgba(201,160,88,0.15); border-radius: var(--r-sm);
  border: 1px solid rgba(201,160,88,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.about-lbl {
  font-size: 0.66rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold-400); margin-bottom: 3px;
}
.about-name { font-size: 0.96rem; font-weight: 600; color: var(--white); letter-spacing: 0.01em; }
.about-quote {
  font-family: var(--font-display);
  font-size: 1.05rem; font-style: italic; line-height: 1.8;
  color: rgba(255,255,255,0.75); margin-bottom: 28px;
  position: relative; z-index: 1;
}
.about-quote::before {
  content: '"'; font-size: 4rem; line-height: 0.6;
  color: var(--gold-700); display: block; margin-bottom: 10px; font-style: normal;
  font-family: var(--font-display);
}
.about-nums {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; position: relative; z-index: 1;
}
.about-num {
  background: rgba(201,160,88,0.06); border: 1px solid rgba(201,160,88,0.12);
  border-radius: var(--r-md); padding: 14px 16px;
}
.about-num strong {
  display: block; font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
  color: var(--gold-400); line-height: 1;
}
.about-num span { font-size: 0.7rem; color: rgba(255,255,255,0.42); margin-top: 4px; display: block; letter-spacing: 0.02em; }

.about-body p { font-size: 0.94rem; color: var(--gray-500); line-height: 1.9; margin-bottom: 16px; }
.about-checks { margin: 22px 0 34px; display: flex; flex-direction: column; gap: 10px; }
.acheck { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--gray-600); }
.acheck-tick {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-50); border: 1.5px solid var(--gold-300);
  color: var(--gold-700); font-size: 0.55rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

/* ===== SERVICES ===== */
.services-section { background: var(--gray-50); }
.services-layout {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto; gap: 14px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 26px; transition: all var(--dur) var(--ease);
}
.svc-card:hover { border-color: var(--teal-200); box-shadow: var(--sh-md); transform: translateY(-2px); }

.svc-card.primary {
  grid-row: span 2;
  background: linear-gradient(150deg, var(--teal-900) 0%, var(--teal-700) 100%);
  border-color: transparent; color: var(--white);
}
.svc-card.primary .svc-ico-wrap { background: rgba(255,255,255,0.15); }
.svc-card.primary h3 { color: var(--white); font-size: 1.25rem; }
.svc-card.primary p  { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.svc-card.primary .svc-li  { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.1); }
.svc-card.primary .svc-li::before { background: var(--teal-400); }
.svc-card.primary .svc-cta { color: var(--teal-300, #5eead4); }

.svc-ico-wrap {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--gold-50); border: 1px solid var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: 18px;
}
.svc-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--gray-800); margin-bottom: 8px; line-height: 1.3; }
.svc-card p  { font-size: 0.84rem; color: var(--gray-500); line-height: 1.78; margin-bottom: 14px; }
.svc-blist   { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
.svc-li {
  font-size: 0.79rem; color: var(--gray-500);
  padding: 6px 0; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 8px;
}
.svc-li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-500); flex-shrink: 0;
}
.svc-cta { font-size: 0.79rem; font-weight: 600; color: var(--gold-700); letter-spacing: 0.01em; }
.svc-cta:hover { color: var(--gold-900); }

/* Blastocyst featured card */
.svc-card.blasto {
  grid-row: span 2; position: relative;
  background: linear-gradient(150deg, #7c2d12 0%, #c2410c 50%, #f97316 100%);
  border-color: transparent;
}
.svc-card.blasto h3 { color: #fff; font-size: 1.25rem; }
.svc-card.blasto p  { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.svc-card.blasto .svc-li { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.12); }
.svc-card.blasto .svc-li::before { background: #fed7aa; }

/* GIFT featured card — teal-green */
.svc-card.gift {
  grid-row: span 2; position: relative;
  background: linear-gradient(150deg, #064e3b 0%, #065f46 45%, #059669 100%);
  border-color: transparent;
}
.svc-card.gift h3 { color: #fff; font-size: 1.25rem; }
.svc-card.gift p  { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.svc-card.gift .svc-li { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.12); }
.svc-card.gift .svc-li::before { background: #6ee7b7; }
.svc-card.gift .svc-cta { color: #6ee7b7; }
.svc-card.gift .svc-cta:hover { color: #a7f3d0; }
.svc-card.blasto .svc-cta { color: #fed7aa; }
.svc-card.blasto .svc-ico-wrap { background: rgba(255,255,255,0.15); }
.svc-blasto-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.22); color: #fff;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px;
}

/* ===== BLASTOCYST DETAIL ===== */
.blasto-section { background: var(--bg-alt); }
.blasto-intro { max-width: 760px; margin: 0 auto 64px; }
.blasto-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.blasto-why h3, .blasto-steps h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-100);
}
.blasto-adv-list { display: flex; flex-direction: column; gap: 16px; }
.blasto-adv-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }
.badv-ico { color: var(--gold-500); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }
.blasto-adv-list strong { color: var(--gray-800); }

.blasto-step-list { display: flex; flex-direction: column; gap: 20px; list-style: none; }
.blasto-step-list li { display: flex; gap: 16px; align-items: flex-start; }
.bstep-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500)); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.blasto-step-list strong { font-size: 0.88rem; font-weight: 700; color: var(--gray-800); display: block; margin-bottom: 3px; }
.blasto-step-list p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

.blasto-cta-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-900) 100%);
  border-radius: var(--r-xl); padding: 36px 44px;
}
.blasto-cta-bar strong { color: #fff; font-size: 1.05rem; display: block; margin-bottom: 6px; }
.blasto-cta-bar p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }

@media (max-width: 900px) {
  .blasto-grid { grid-template-columns: 1fr; gap: 36px; }
  .blasto-cta-bar { flex-direction: column; text-align: center; padding: 28px 24px; }
}

/* ===== IVF DETAIL ===== */
.ivf-section { background: var(--white); }
.ivf-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
.ivf-steps h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-100);
}
.bstep-num.ivf-num { background: var(--teal-700); }
.badv-ico.ivf-ico { color: var(--teal-600); }
.ivf-info-card {
  background: var(--bg-alt); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 28px 30px;
}
.ivf-info-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-100);
}
@media (max-width: 900px) {
  .ivf-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== DOCTORS ===== */
.doctors-section { background: var(--white); }
.doctors-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

/* Main doctor — full-width featured card */
.doc-card.doc-main {
  grid-column: span 2; position: relative;
  border-color: var(--gold-200, #e8cc9a);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gold-50) 100%);
  box-shadow: var(--sh-md);
}
.doc-main-badge {
  position: absolute; top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  color: #fff;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 99px;
  box-shadow: 0 2px 8px rgba(160,120,48,0.3);
}
.doc-avatar-main {
  width: 88px; height: 88px; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--navy), #1a3a6e);
  border: 2px solid var(--gold-300);
  overflow: hidden; padding: 0;
}
.doc-avatar-main img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.doc-social {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 0.78rem; font-weight: 600;
  color: var(--gold-700); transition: color var(--dur);
}
.doc-social:hover { color: var(--gold-900); text-decoration: underline; }

.doc-card {
  border: 1px solid var(--gray-100); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-xs);
  transition: all var(--dur) var(--ease);
}
.doc-card:hover { box-shadow: var(--sh-lg); border-color: var(--gold-300); }

.doc-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1830 50%, #111f3d 100%);
  padding: 28px 30px; display: flex; align-items: center; gap: 18px;
  border-bottom: 1px solid rgba(201,160,88,0.15);
}
.doc-avatar {
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  background: rgba(201,160,88,0.1); border: 2px solid rgba(201,160,88,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 800; color: var(--white);
}
.doc-dept {
  font-size: 0.66rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold-400); margin-bottom: 5px;
}
.doc-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 3px; letter-spacing: 0.01em; }
.doc-thai { font-size: 0.8rem; color: rgba(255,255,255,0.38); }

.doc-body { padding: 26px 30px; background: var(--white); }
.doc-bio { font-size: 0.87rem; color: var(--gray-500); line-height: 1.85; margin-bottom: 20px; }
.doc-cred-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 18px; }
.doc-cred {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 0.82rem; color: var(--gray-500);
}
.doc-cred-ico { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-tag {
  font-size: 0.69rem; font-weight: 600;
  background: var(--gold-50); color: var(--gold-700);
  border: 1px solid var(--gold-100); padding: 4px 12px; border-radius: 100px;
}

/* ===== JOURNEY ===== */
.journey-section { background: var(--bg-alt); }
.journey-wrap { max-width: 780px; margin: 0 auto; position: relative; }
.journey-wrap::before {
  content: ''; position: absolute;
  left: 23px; top: 44px; bottom: 44px; width: 1px;
  background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-100) 100%);
}
.jstep { display: flex; gap: 30px; padding: 22px 0; }
.jstep-num {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--white); border: 1.5px solid var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--gold-700); z-index: 1;
  box-shadow: var(--sh-sm); transition: all var(--dur) var(--ease);
}
.jstep:hover .jstep-num {
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  color: var(--white); border-color: transparent;
  box-shadow: 0 0 0 5px rgba(201,160,88,0.15);
}
.jstep-body { padding-top: 10px; }
.jstep-body h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--gray-800); margin-bottom: 5px; }
.jstep-body p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.85; }

/* ===== WHY US ===== */
.why-section { background: linear-gradient(160deg, var(--navy) 0%, #0d1830 50%, #111f3d 100%); position: relative; overflow: hidden; }
.why-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 60px,
    rgba(201,160,88,0.02) 60px, rgba(201,160,88,0.02) 61px
  );
}
.why-section .eyebrow { color: var(--gold-400); }
.why-section .eyebrow::before { background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }
.why-section .h2 { color: var(--white); }
.why-section .lead { color: rgba(255,255,255,0.42); }

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 52px; }
.why-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(201,160,88,0.1);
  border-radius: var(--r-lg); padding: 28px;
  transition: all var(--dur) var(--ease); position: relative; z-index: 1;
}
.why-card:hover {
  background: rgba(201,160,88,0.06); border-color: rgba(201,160,88,0.3);
  transform: translateY(-3px);
}
.why-ico {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: rgba(201,160,88,0.12); border: 1px solid rgba(201,160,88,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 18px;
}
.why-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; line-height: 1.35; }
.why-card p  { font-size: 0.81rem; color: rgba(255,255,255,0.42); line-height: 1.8; }

/* ===== CONDITIONS ===== */
.conditions-section { background: var(--white); }
.cond-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.cond-item {
  display: flex; align-items: center; gap: 9px;
  background: var(--white); border: 1px solid var(--gray-100);
  border-left: 2px solid var(--gold-400);
  border-radius: var(--r-sm); padding: 12px 14px;
  font-size: 0.82rem; font-weight: 500; color: var(--gray-600);
  transition: all var(--dur) var(--ease);
}
.cond-item:hover {
  background: var(--teal-50); border-color: var(--teal-200);
  border-left-color: var(--teal-700); color: var(--teal-800);
}

/* ===== FAQ ===== */
.faq-section { background: var(--gray-50); }
.faq-inner { max-width: 740px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease);
}
.faq-item.open { border-color: var(--gold-300); box-shadow: var(--sh-sm); }

.faq-btn {
  width: 100%; text-align: left; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-800);
  transition: background var(--dur);
}
.faq-btn:hover { background: var(--gold-50); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gray-100); color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
  transition: all var(--dur) var(--ease);
}
.faq-item.open .faq-icon { background: var(--gold-50); color: var(--gold-700); transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 22px 18px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p {
  padding-top: 14px; border-top: 1px solid var(--gray-100);
  font-size: 0.875rem; color: var(--gray-500); line-height: 1.85;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--white); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 0.7fr;
  gap: 72px; align-items: start;
}
.contact-left > p { font-size: 0.94rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 36px; }
.contact-rows { display: flex; flex-direction: column; gap: 18px; }
.crow { display: flex; gap: 13px; align-items: flex-start; }
.crow-ico {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--gold-50); border: 1px solid var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.crow-body strong {
  display: block; font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold-700); margin-bottom: 3px;
}
.crow-body p, .crow-body a { font-size: 0.855rem; color: var(--gray-500); line-height: 1.65; }
.crow-body a { color: var(--gray-700); font-weight: 500; }
.crow-body a:hover { color: var(--gold-700); }

.contact-line-box {
  position: sticky; top: 110px;
}
.line-box-inner {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-xl); padding: 40px;
  box-shadow: var(--sh-md); text-align: center;
}
.line-box-icon { margin-bottom: 16px; }
.line-box-inner h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.line-box-inner p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; }
.line-id-badge {
  display: inline-block; background: #e8fbe8; color: #15803d;
  font-size: 0.82rem; padding: 6px 16px; border-radius: 99px; margin-bottom: 12px;
}
.line-note {
  font-size: 0.75rem; color: var(--gray-400);
  display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 0 !important;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrp { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.fgrp label { font-size: 0.775rem; font-weight: 600; color: var(--gray-700); }
.fgrp input, .fgrp select, .fgrp textarea {
  padding: 10px 13px; border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 0.875rem; font-family: inherit; color: var(--gray-800);
  background: var(--gray-25); outline: none;
  transition: all var(--dur) var(--ease);
}
.fgrp input:focus, .fgrp select:focus, .fgrp textarea:focus {
  border-color: var(--teal-600); background: var(--white);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}
.fgrp textarea { resize: vertical; min-height: 90px; }
.fcheck {
  display: flex; gap: 8px; font-size: 0.775rem;
  color: var(--gray-500); line-height: 1.5; cursor: pointer;
}
.fcheck input { margin-top: 2px; flex-shrink: 0; }
.form-success {
  display: none; margin-top: 12px; padding: 12px 16px;
  background: var(--green-50); border: 1px solid #bbf7d0;
  color: var(--green-700); border-radius: var(--r-sm);
  font-size: 0.86rem; font-weight: 600;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(120deg, #1e3a5f, #2563eb);
  padding: 60px 0; text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.cta-banner p { font-size: 0.97rem; color: rgba(255,255,255,0.6); margin-bottom: 30px; }
.cta-banner-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== MAP ===== */
.map-section { background: var(--gray-50); padding: 60px 0 0; }
.map-header { text-align: center; margin-bottom: 28px; }
.map-header h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.map-header p { font-size: 0.84rem; color: var(--gray-400); }
.map-frame { border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--gray-200); }
.map-frame iframe { display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 60px 0 0; color: rgba(255,255,255,0.45); border-top: 1px solid rgba(201,160,88,0.15); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.28); }
.footer-brand .logo-sub  { color: var(--gold-500) !important; }
.footer-brand .logo-mark { background: rgba(201,160,88,0.12); border: 1px solid rgba(201,160,88,0.2); }
.footer-desc { font-size: 0.835rem; line-height: 1.8; color: rgba(255,255,255,0.38); margin: 14px 0 18px; }
.f-socials { display: flex; gap: 7px; }
.f-social {
  width: 32px; height: 32px; border-radius: var(--r-xs);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.67rem; font-weight: 700; color: rgba(255,255,255,0.45);
  text-transform: uppercase; transition: all var(--dur) var(--ease);
}
.f-social:hover { background: var(--teal-700); border-color: var(--teal-700); color: var(--white); }

.f-col h4 {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--white); margin-bottom: 16px;
}
.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col li a { font-size: 0.835rem; color: rgba(255,255,255,0.38); transition: color var(--dur); }
.f-col li a:hover { color: var(--white); }
.f-col li:not(:has(a)) { font-size: 0.835rem; color: rgba(255,255,255,0.32); }

.footer-bottom { padding: 18px 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom-inner p { font-size: 0.74rem; color: rgba(255,255,255,0.22); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.74rem; color: rgba(255,255,255,0.22); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ===== FLOAT DOCK ===== */
.float-dock {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 8px; z-index: 997;
}
.float-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all var(--dur) var(--ease);
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); }
.float-line { background: #06C755; color: var(--white); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.float-call { background: var(--white); color: var(--teal-700); font-size: 1.1rem; box-shadow: 0 4px 16px rgba(37,99,235,0.18); }
.float-wechat { background: #07C160; color: var(--white); display: flex; align-items: center; justify-content: center; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(62,207,94,0.5); }
  60%     { box-shadow: 0 0 0 7px rgba(62,207,94,0); }
}

/* Hero: staggered entrance */
.hero-accred-bar { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
.hero-h1         { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.18s both; }
.hero-p          { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.28s both; }
.hero-stats      { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.36s both; }
.hero-actions    { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.44s both; }
.hero-right      { animation: slideLeft 0.8s cubic-bezier(0.16,1,0.3,1) 0.22s both; }

/* Green live dot */
.hco-dot { animation: dotPulse 2s ease-in-out infinite; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Card hover lifts */
.svc-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(8,15,30,0.18); }
.why-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(8,15,30,0.22); }
.doc-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(8,15,30,0.18); }
.titem {
  transition: transform 0.22s ease;
}
.titem:hover { transform: translateY(-2px); }
.about-num {
  transition: transform 0.2s ease;
}
.about-num:hover { transform: scale(1.04); }

/* ===== RESPONSIVE ===== */

/* Large tablet / small desktop */
@media (max-width: 1100px) {
  .services-layout { grid-template-columns: 1fr 1fr; }
  .svc-card.primary, .svc-card.blasto, .svc-card.gift { grid-row: span 1; grid-column: span 2; }
  .cond-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { max-width: 480px; margin: 0 auto; }
  .hero-panel { display: none; }
  .hero-stats { grid-template-columns: repeat(4,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-card { order: 2; }
  .about-body { order: 1; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .trust-bar-inner { justify-content: flex-start; gap: 20px; }
}

/* Tablet portrait — keep full nav, adjust layouts */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Topbar: single compact row */
  .topbar-inner { gap: 8px; font-size: 0.72rem; flex-wrap: nowrap; justify-content: center; }

  /* Navbar: tighter spacing */
  .logo-mark { width: 34px; height: 34px; font-size: 0.75rem; }
  .logo-name { font-size: 0.8rem; white-space: nowrap; }
  .logo-sub  { display: none; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 7px; font-size: 0.76rem; white-space: nowrap; }
  .nav-cta { padding: 8px 11px !important; font-size: 0.76rem !important; margin-left: 4px; }

  /* Hero */
  .hero-content { padding: 60px 20px 64px; }
  .hero-h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
  .hero-stats { grid-template-columns: repeat(4,1fr); }

  /* Trust bar */
  .trust-bar-inner { flex-wrap: wrap; gap: 14px; justify-content: flex-start; }

  /* Layouts */
  .services-layout { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card.primary, .svc-card.blasto, .svc-card.gift { grid-row: span 1; grid-column: span 2; }
  .cond-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile — hamburger nav kicks in at 680px */
@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* Topbar: single compact row */
  .topbar { padding: 6px 0; }
  .topbar-inner {
    justify-content: center; gap: 10px;
    font-size: 0.72rem; flex-wrap: nowrap; overflow: hidden;
  }
  /* Hide address & LINE on small screens, keep hours & phone */
  .topbar-inner span:nth-child(1),
  .topbar-inner span:nth-child(2),
  .topbar-inner span:nth-child(7),
  .topbar-inner a:nth-child(8) { display: none; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed; inset: 0; top: 66px;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 16px; gap: 3px;
    border-top: 1px solid var(--gray-100);
    z-index: 800; overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 0.95rem; border-radius: var(--r-sm); }
  .nav-cta { margin: 8px 0 0; text-align: center; border-radius: var(--r-sm) !important; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 48px 16px 52px; grid-template-columns: 1fr; }
  .hero-right { max-width: 340px; margin: 0 auto; }
  .hero-img-frame { aspect-ratio: 3/2; }
  .hero-badge { flex-wrap: nowrap; }
  .badge-text { font-size: 0.65rem; letter-spacing: 0.07em; }
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0; padding-top: 24px;
  }
  .hstat + .hstat { padding-left: 14px; }
  .hstat:first-child { padding-right: 14px; }
  .hstat-n { font-size: 1.6rem; }

  /* Trust bar */
  .trust-bar-inner {
    flex-direction: column; align-items: flex-start;
    gap: 12px; padding: 0 16px;
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-card { order: 1; padding: 28px 22px; }
  .about-body { order: 2; }
  .about-nums { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Services */
  .services-layout { grid-template-columns: 1fr; gap: 10px; }
  .svc-card.primary, .svc-card.blasto, .svc-card.gift { grid-column: span 1; }

  /* Doctors */
  .doctors-grid { grid-template-columns: 1fr; }
  .doc-card.doc-main { grid-column: span 1; }
  .doc-header { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 22px; }
  .doc-body { padding: 22px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Conditions */
  .cond-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Journey */
  .journey-wrap::before { left: 20px; }
  .jstep-num { width: 42px; height: 42px; font-size: 0.78rem; }
  .jstep { gap: 20px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .line-box-inner { padding: 22px 16px; }
  .frow { grid-template-columns: 1fr; }

  /* CTA Banner */
  .cta-banner { padding: 48px 0; }
  .cta-banner-btns { flex-direction: column; align-items: stretch; padding: 0 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }

  .float-dock { bottom: 14px; right: 14px; }
  .float-btn { width: 44px; height: 44px; }
}

/* Small phones */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .cond-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .about-nums { grid-template-columns: 1fr 1fr; }
  .hero-badge { display: none; } /* hide pill on tiny screens */
}
