/* ============================================================
   Global Sai Health Care — style.css
   Design system: tokens, layout, components
   Palette: Navy #0B2E59 · Teal #00A6A6 · BG #F7FBFC
   Type: Poppins (display) · Inter (body) · 8pt spacing
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0B2E59;
  --navy-700: #0e3a70;
  --navy-soft: #1a4d82;
  --teal: #00A6A6;
  --teal-600: #008f8f;
  --teal-100: #e3f5f5;
  --white: #FFFFFF;
  --bg: #F7FBFC;
  --bg-alt: #eef6f8;
  --ink: #18324d;
  --muted: #5a6b7e;
  --line: #dde7ec;
  --success: #4CAF50;
  --error: #D32F2F;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* 8pt spacing scale */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s7: 64px; --s8: 80px; --s9: 96px; --s10: 120px;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11,46,89,.06);
  --shadow: 0 10px 30px rgba(11,46,89,.08);
  --shadow-lg: 0 24px 60px rgba(11,46,89,.14);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.1em; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.18; margin: 0 0 var(--s2); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); letter-spacing: -.3px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--s2); color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: var(--s2);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }
.section { padding: var(--s10) 0; }
.section--tight { padding: var(--s8) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #d7e3ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto var(--s7); text-align: center; }
.section-head p { font-size: 1.08rem; }

.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(0,166,166,.28); }
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 12px 28px rgba(0,166,166,.36); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-600); }
.btn-white { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy); color: #cfe0f1; font-size: .9rem;
  text-align: center; padding: 9px var(--s2);
  font-family: var(--font-display); font-weight: 500;
}
.announce a { color: #fff; font-weight: 600; }
.announce strong { color: var(--teal); }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: var(--s3); }
.nav__logo img { height: 44px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  color: var(--ink); padding: 10px 12px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--teal-600); background: var(--teal-100); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: var(--s2); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.nav__phone:hover { text-decoration: none; color: var(--teal-600); }

/* Dropdown */
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: var(--s1); min-width: 250px;
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 10px 14px; border-radius: 10px; font-size: .92rem; }

/* Burger */
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .3s; }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(0,166,166,.14), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(11,46,89,.08), transparent 55%),
    var(--bg);
  padding: var(--s9) 0 var(--s10);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s7); align-items: center; }
.hero h1 { margin-bottom: var(--s3); }
.hero h1 .accent { color: var(--teal); }
.hero__lead { font-size: 1.2rem; max-width: 520px; margin-bottom: var(--s4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero__trust div { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero__trust svg { color: var(--teal); flex: none; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--s4); position: relative; z-index: 2; border: 1px solid var(--line);
}
.hero__card h3 { color: var(--navy); margin-bottom: var(--s1); }
.hero__pulse { width: 100%; height: 70px; margin: var(--s2) 0; }
.hero__pulse path { stroke: var(--teal); stroke-width: 3; fill: none; stroke-linecap: round; }
.hero__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s2); margin-top: var(--s3); text-align: center; }
.hero__stats .num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.hero__stats .lbl { font-size: .76rem; color: var(--muted); }
.hero__badge {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy);
}
.hero__badge--tl { top: -20px; left: -16px; }
.hero__badge--br { bottom: -22px; right: -10px; }
.hero__badge .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-100); display: grid; place-items: center; color: var(--teal-600); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; margin-bottom: var(--s2); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; margin-bottom: var(--s2); }
.card__link { font-family: var(--font-display); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { gap: 10px; text-decoration: none; }

/* Why-choose feature */
.feature { display: flex; gap: var(--s2); align-items: flex-start; }
.feature__icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.section--navy .feature p { color: #b9c9da; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Process / steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s3); position: relative; }
.step { position: relative; padding-top: var(--s5); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--teal);
  color: var(--teal-600); display: grid; place-items: center;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .94rem; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow-sm); height: 100%; }
.quote__stars { color: #f5a623; margin-bottom: var(--s2); letter-spacing: 2px; }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: var(--s3); }
.quote__by .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.quote__by strong { display: block; color: var(--navy); font-family: var(--font-display); }
.quote__by span { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: var(--s2); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy);
  padding: 20px var(--s3); display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
}
.faq__q .ico { flex: none; transition: transform .3s; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq__item.open .faq__q .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 var(--s3) 20px; margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s2); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .82rem; color: var(--muted); }
.form__msg { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form__msg.ok { display: block; background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form__msg.err { display: block; background: #fdecea; color: #c62828; border: 1px solid #f5c6c2; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field .err-text { color: var(--error); font-size: .8rem; margin-top: 4px; display: none; }
.field--error .err-text { display: block; }

/* ---------- Split / contact strip ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.info-list li { display: flex; gap: var(--s2); align-items: flex-start; }
.info-list .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; }
.info-list strong { display: block; font-family: var(--font-display); color: var(--navy); }
.info-list a, .info-list span { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  color: #fff; border-radius: var(--radius-lg); padding: var(--s7); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,166,.4), transparent 70%);
  top: -120px; right: -80px;
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #c5d4e6; max-width: 560px; margin: 0 auto var(--s4); position: relative; }
.cta-band .btn { position: relative; }
.cta-band__actions { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebfd2; padding: var(--s8) 0 var(--s4); }
.footer a { color: #c7d6e6; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s5); margin-bottom: var(--s6); }
.footer__brand img { height: 46px; margin-bottom: var(--s2); filter: brightness(0) invert(1); }
.footer__brand p { color: #9fb2c8; font-size: .92rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--s2); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: .92rem; text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); font-size: .85rem; color: #8ba0b8; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; transition: transform .2s; }
.fab:hover { transform: scale(1.08); text-decoration: none; }
.fab--wa { background: #25D366; }
.fab--call { background: var(--teal); }

/* ---------- Breadcrumb + page hero ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-soft)); color: #fff; padding: var(--s8) 0 var(--s7); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c5d4e6; max-width: 620px; }
.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 var(--s2); font-size: .85rem; color: #9fb6d2; }
.breadcrumb a { color: #cfe0f1; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: #5d7799; }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s4); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-100); color: var(--teal-600); font-family: var(--font-display); font-weight: 600; font-size: .8rem; padding: 6px 14px; border-radius: 50px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.check-list li::before { content: "✓"; color: var(--teal-600); font-weight: 700; flex: none; }

/* Long services dropdown scrolls on shorter screens */
.dropdown { max-height: 76vh; overflow-y: auto; }
