/* ============================================================
   Salus Medical — Shared Design System
   Design language mirrored from babyvaccine.salusmedical.co
   Font: Nunito · Headings #1E3A8A · Primary #4F46E5 · Pink #EC4899
   ============================================================ */

:root {
  --navy: #1E3A8A;
  --navy-deep: #1E1B4B;
  --indigo: #4F46E5;
  --indigo-deep: #2E24E0;
  --pink: #EC4899;
  --rose: #F43F5E;
  --pink-soft: #F472B6;
  --purple: #A855F7;
  --blue-soft: #6366F1;
  --text: #334155;
  --text-muted: #64748B;
  --bg-cream: linear-gradient(135deg, #FFF7ED, #FFFBEB, #EFF6FF);
  --bg-lavender: linear-gradient(135deg, #EDECFD, #EDECFD, #EFF6FF);
  --grad-indigo: linear-gradient(135deg, #4F46E5, #2E24E0);
  --grad-pink: linear-gradient(to right, #F472B6, #F43F5E);
  --grad-cta: linear-gradient(to right, #EC4899, #A855F7, #6366F1);
  --grad-chip: linear-gradient(135deg, #FBCFE8, #BFDBFE);
  --grad-rose-chip: linear-gradient(135deg, #FB7185, #EC4899);
  --card-shadow: 0 4px 24px rgba(30, 58, 138, 0.08);
  --card-shadow-hover: 0 12px 32px rgba(30, 58, 138, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-cream);
  background-attachment: fixed;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

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

h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

a { color: var(--indigo); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  background: transparent;
  padding: 18px 0 0;
  position: relative;
  overflow: visible;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { width: 52px; height: auto; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(30, 58, 138, 0.18)); }
.brand-name {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.brand-tagline {
  display: block;
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 700;
  margin-top: 3px;
}
.brand-tagline .tg-pink { color: var(--pink); }
.brand-tagline .tg-navy { color: var(--navy); }
.brand-tagline .tg-green { color: #15803D; }

.header-cta {
  background: var(--grad-pink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244, 63, 94, 0.45); }

/* ---------- Nav tabs (baby-site style) ---------- */
.site-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 13px 20px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  box-shadow: 0 -2px 12px rgba(30, 58, 138, 0.06);
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: #EEF2FF; }
.site-nav a.active { background: var(--grad-indigo); color: #fff; }
.site-nav a.nav-parentclub {
  background: var(--grad-pink);
  color: #fff;
}
.site-nav a.nav-parentclub:hover { filter: brightness(1.06); }
.nav-icon { font-size: 1.05rem; line-height: 1; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; text-align: center; position: relative; overflow: hidden; }
.hero-eyebrow {
  display: inline-block;
  background: #fff;
  color: var(--pink);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  box-shadow: var(--card-shadow);
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 14px; }
.hero .hero-sub {
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: var(--pink);
  margin-bottom: 18px;
}
.hero p.lead {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--text-muted);
  font-size: 1.06rem;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(168, 85, 247, 0.5); }
.btn-secondary {
  background: #fff;
  color: var(--indigo);
  box-shadow: var(--card-shadow);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }

/* Floating pastel decorations */
.float-deco { position: absolute; font-size: 2rem; opacity: 0.18; pointer-events: none; user-select: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .kicker {
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 10px;
}
.section-head p { color: var(--text-muted); margin-top: 12px; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

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

.icon-chip {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.icon-chip.chip-rose { background: var(--grad-rose-chip); }
.icon-chip.chip-indigo { background: var(--grad-indigo); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

.badge {
  display: inline-block;
  background: var(--grad-pink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.badge.badge-soft { background: #EEF2FF; color: var(--indigo); }

.card-link { font-weight: 800; text-decoration: none; display: inline-block; margin-top: 14px; }
.card-link:hover { text-decoration: underline; }

/* Highlight card (flagship service) */
.card-featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-cta) border-box;
}

/* ---------- Stats / trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -10px;
}
.trust-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  text-align: center;
}
.trust-item .big { font-size: 1.55rem; font-weight: 900; color: var(--indigo); display: block; }
.trust-item .small { font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 38px; }
.step-num {
  position: absolute;
  top: -24px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-indigo);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 800;
  color: var(--indigo);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "▾";
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); box-shadow: var(--card-shadow); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
thead th {
  background: var(--grad-indigo);
  color: #fff;
  font-weight: 800;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid #EEF2FF; color: var(--text); }
tbody tr:nth-child(even) { background: #F8FAFF; }
tbody tr:last-child td { border-bottom: none; font-weight: 800; color: var(--navy); }

/* ---------- Banner (Parent Club promo) ---------- */
.club-banner {
  background: var(--grad-cta);
  border-radius: var(--radius);
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
  box-shadow: 0 14px 36px rgba(168, 85, 247, 0.35);
}
.club-banner h2 { color: #fff; margin-bottom: 6px; }
.club-banner p { opacity: 0.92; font-weight: 600; }
.club-banner .btn {
  background: #fff;
  color: var(--indigo);
  flex-shrink: 0;
}
.club-banner .btn:hover { transform: translateY(-2px); }

/* ---------- Sticky bottom CTA (baby-site style) ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: min(1140px, calc(100% - 32px));
  background: var(--grad-cta);
  border-radius: 18px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(100, 60, 220, 0.45);
  z-index: 90;
  transition: transform 0.15s ease;
}
.sticky-cta:hover { transform: translateX(-50%) translateY(-3px); }
.sticky-cta .cta-icon {
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.sticky-cta .cta-text strong { display: block; font-size: 1.05rem; font-weight: 800; }
.sticky-cta .cta-text span { font-size: 0.88rem; opacity: 0.9; font-weight: 600; }
.sticky-cta .cta-arrow {
  margin-left: auto;
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
body { padding-bottom: 0; }

/* ---------- Doctor cards ---------- */
.doctor-card { text-align: center; }
.doctor-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--grad-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
  overflow: hidden;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.doctor-card .doc-cred { color: var(--pink); font-weight: 800; font-size: 0.88rem; margin: 4px 0 12px; }
.doctor-card .doc-reg { font-size: 0.8rem; color: var(--text-muted); font-weight: 700; letter-spacing: 0.5px; }

/* ---------- Location cards ---------- */
.loc-meta { list-style: none; margin-top: 14px; }
.loc-meta li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 0.95rem; color: var(--text-muted); }
.loc-meta .li-icon { flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-tile { text-align: center; text-decoration: none; display: block; }
.contact-tile .big-icon { font-size: 2.2rem; margin-bottom: 12px; }
.contact-tile strong { color: var(--navy); display: block; font-size: 1.05rem; margin-bottom: 4px; }
.contact-tile span { color: var(--text-muted); font-size: 0.95rem; font-weight: 600; }

.form-card label { display: block; font-weight: 800; color: var(--navy); margin: 18px 0 6px; font-size: 0.95rem; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease;
  background: #fff;
  color: var(--text);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--indigo); }

/* ---------- Placeholder marker ---------- */
.placeholder-note {
  background: #FEF9C3;
  border: 2px dashed #EAB308;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #854D0E;
  margin: 10px 0 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #C7D2FE;
  margin-top: 70px;
  padding: 54px 0 56px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer a { color: #C7D2FE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: 0.94rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-about { font-size: 0.92rem; opacity: 0.85; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(199, 210, 254, 0.2);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

/* ---------- Breadcrumb-ish page hero ---------- */
.page-hero { padding: 56px 0 40px; text-align: center; }
.page-hero p { max-width: 700px; margin: 14px auto 0; color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 44px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 0; }
  .container { padding: 0 16px; }

  /* Header & nav */
  .brand-logo { width: 42px; }
  .brand-name { font-size: 1.35rem; }
  .brand-tagline { font-size: 0.76rem; }
  .header-cta { display: none; }
  .site-nav { gap: 5px; }
  .site-nav a { padding: 12px 12px; font-size: 0.85rem; gap: 6px; flex-grow: 1; justify-content: center; }

  /* Hero */
  .hero { padding: 44px 0 36px; }
  .float-deco { display: none; }
  .hero p.lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: min(100%, 340px); justify-content: center; }

  /* Sections & cards */
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  .page-hero { padding: 38px 0 26px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card { padding: 24px 20px; }
  .steps { gap: 34px; }

  /* Trust strip */
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-item { padding: 18px 14px; }
  .trust-item .big { font-size: 1.3rem; }
  .trust-item .small { font-size: 0.8rem; }

  /* Tables */
  table { font-size: 0.85rem; }
  thead th { padding: 11px 12px; }
  tbody td { padding: 10px 12px; }

  /* Banners & CTAs */
  .club-banner { padding: 26px 20px; }
  .club-banner .btn { width: 100%; justify-content: center; }
  .sticky-cta { bottom: 12px; padding: 13px 16px; gap: 12px; border-radius: 16px; }
  .sticky-cta .cta-icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .sticky-cta .cta-text strong { font-size: 0.93rem; }
  .sticky-cta .cta-text span { display: none; }
  .sticky-cta .cta-arrow { width: 36px; height: 36px; }

  /* FAQ */
  .faq-item summary { padding: 16px 18px; font-size: 0.97rem; }
  .faq-item .faq-body { padding: 0 18px 18px; }

  /* Doctors */
  .doctor-photo { width: 108px; height: 108px; font-size: 2.4rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 400px) {
  .grid-4 { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .site-nav a { font-size: 0.8rem; padding: 11px 9px; }
}
