/* HealthSanta — Custom Styles */

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

:root {
  --emerald-100: #d1fae5;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --teal-700:    #0f766e;
  --teal-900:    #134e4a;
  --amber-400:   #fbbf24;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-800:    #1f2937;
  --gray-900:    #111827;
  --white:       #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

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

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--emerald-600);
  display: flex; align-items: center; justify-content: center;
}
.brand-icon svg { width: 16px; height: 16px; stroke: white; fill: white; }
.brand-name { font-size: 1.2rem; font-weight: 800; color: var(--gray-900); }
.brand-name span { color: var(--emerald-600); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--gray-600); transition: color .2s; }
.nav-links a:hover { color: var(--emerald-600); }
.nav-cta {
  font-size: .875rem; font-weight: 600;
  background: var(--emerald-600); color: white;
  padding: 8px 20px; border-radius: 9999px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--emerald-700); }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-800) 55%, var(--teal-900) 100%);
  padding: 80px 0 120px;
}
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0; line-height: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5,150,105,.35);
  border: 1px solid rgba(52,211,153,.3);
  color: #a7f3d0; font-size: .82rem; font-weight: 600;
  padding: 6px 16px; border-radius: 9999px; margin-bottom: 24px;
}
.hero-badge svg { width: 14px; height: 14px; stroke: currentColor; }
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 800;
  color: white; line-height: 1.15; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--emerald-400); }
.hero-desc { color: #d1fae5; font-size: 1.05rem; line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--emerald-500); color: white;
  font-weight: 700; font-size: .9rem; font-family: inherit;
  padding: 12px 24px; border-radius: 9999px;
  transition: background .2s; box-shadow: 0 4px 20px rgba(5,150,105,.4);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--emerald-400); color: white; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(52,211,153,.5); color: #d1fae5;
  font-weight: 600; font-size: .9rem;
  padding: 12px 24px; border-radius: 9999px;
  transition: background .2s;
}
.btn-outline:hover { background: rgba(5,150,105,.3); }
.btn-primary svg, .btn-outline svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }
.hero-trusts { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-trust { display: flex; align-items: center; gap: 6px; color: #a7f3d0; font-size: .82rem; }
.hero-trust svg { width: 14px; height: 14px; stroke: var(--emerald-400); }

/* Doctor card */
.hero-img-side { display: flex; justify-content: flex-end; }
.doctor-wrap { position: relative; }
.doctor-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px; padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.doctor-card img {
  width: 320px; height: 400px; object-fit: cover; border-radius: 18px;
  display: block;
}
.doctor-badge {
  position: absolute; bottom: 20px; left: 16px; right: 16px;
  background: rgba(255,255,255,.97);
  border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.doctor-badge .role {
  font-size: .68rem; color: var(--emerald-600); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px;
}
.doctor-badge .dname { font-size: .88rem; font-weight: 800; color: var(--gray-900); }
.doctor-badge .cred { font-size: .7rem; color: var(--gray-500); }
.doctor-stars { display: flex; align-items: center; gap: 2px; margin-top: 6px; }
.doctor-stars span { font-size: .7rem; color: var(--gray-400); margin-left: 4px; }
.bubble {
  position: absolute; top: -16px; right: -16px;
  background: var(--emerald-500); color: white;
  border-radius: 18px; padding: 12px 16px;
  max-width: 175px; box-shadow: 0 8px 24px rgba(5,150,105,.4);
}
.bubble svg { width: 18px; height: 18px; stroke: white; margin-bottom: 4px; display: block; }
.bubble p { font-size: .72rem; font-weight: 600; line-height: 1.45; }

/* ── Stats ── */
.stats { background: white; border-bottom: 1px solid var(--gray-100); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-val { font-size: 2rem; font-weight: 800; color: var(--emerald-700); }
.stat-lbl { font-size: .82rem; color: var(--gray-500); margin-top: 2px; }

/* ── Products ── */
.products { background: var(--gray-50); padding: 80px 0; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--emerald-100); color: var(--emerald-700);
  font-size: .78rem; font-weight: 700;
  padding: 6px 16px; border-radius: 9999px; margin-bottom: 16px;
}
.section-badge svg { width: 14px; height: 14px; fill: var(--emerald-500); stroke: none; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }
.section-sub { color: var(--gray-500); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.products-header { margin-bottom: 52px; text-align: center; }

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

/* Product card */
.card {
  background: white; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .25s, box-shadow .25s;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.card-img { position: relative; height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.card:hover .card-img img { transform: scale(1.06); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.4), transparent); }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .68rem; font-weight: 700;
  padding: 4px 10px; border-radius: 9999px;
}
.card-cat {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(255,255,255,.92); color: var(--gray-700);
  font-size: .68rem; font-weight: 600;
  padding: 4px 10px; border-radius: 9999px;
}
.card-body { padding: 20px; }
.card-name { font-size: 1.05rem; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; transition: color .2s; }
.card:hover .card-name { color: var(--emerald-700); }
.card-tagline { font-size: .8rem; color: var(--emerald-600); font-weight: 600; margin-bottom: 10px; }
.card-desc { font-size: .8rem; color: var(--gray-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.rating-row { display: flex; align-items: center; gap: 6px; }
.stars { display: flex; gap: 2px; }
.stars svg { width: 13px; height: 13px; }
.s-fill { fill: var(--amber-400); stroke: none; }
.s-empty { fill: var(--gray-200); stroke: none; }
.rval { font-size: .8rem; font-weight: 800; color: var(--gray-800); }
.rcnt { font-size: .7rem; color: var(--gray-400); }
.read-link { display: flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; color: var(--emerald-600); }
.read-link svg { width: 13px; height: 13px; stroke: var(--emerald-600); }

/* Badge accent colours */
.acc-indigo  { background: #e0e7ff; color: #4338ca; }
.acc-green   { background: #d1fae5; color: #065f46; }
.acc-red     { background: #fee2e2; color: #991b1b; }
.acc-amber   { background: #fef3c7; color: #92400e; }
.acc-teal    { background: #ccfbf1; color: #0f766e; }
.acc-purple  { background: #ede9fe; color: #5b21b6; }
.acc-sky     { background: #e0f2fe; color: #0369a1; }
.acc-orange  { background: #ffedd5; color: #9a3412; }
.acc-rose    { background: #ffe4e6; color: #9f1239; }

/* ── Trust ── */
.trust { background: white; padding: 80px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.trust-card {
  background: var(--gray-50); border-radius: 20px;
  border: 1px solid var(--gray-100);
  padding: 36px 24px; text-align: center;
}
.trust-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--emerald-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.trust-icon svg { width: 26px; height: 26px; stroke: var(--emerald-600); fill: none; }
.trust-title { font-size: .98rem; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.trust-desc { font-size: .82rem; color: var(--gray-500); line-height: 1.65; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--emerald-700) 0%, var(--teal-700) 100%);
  padding: 72px 0; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 12px; }
.cta-banner p { color: #d1fae5; font-size: .98rem; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.sub-form { display: flex; gap: 10px; max-width: 430px; margin: 0 auto 10px; }
.sub-form input {
  flex: 1; padding: 12px 20px; border-radius: 9999px;
  border: none; outline: none; font-size: .88rem;
  font-family: inherit; color: var(--gray-900);
}
.sub-form input:focus { box-shadow: 0 0 0 2px var(--emerald-400); }
.sub-form button {
  padding: 12px 22px; border-radius: 9999px; border: none;
  background: var(--emerald-500); color: white;
  font-weight: 700; font-size: .88rem; cursor: pointer;
  white-space: nowrap; font-family: inherit;
  box-shadow: 0 4px 16px rgba(5,150,105,.35);
  transition: background .2s;
}
.sub-form button:hover { background: var(--emerald-400); }
.cta-note { font-size: .72rem; color: #a7f3d0; }

/* ── Footer ── */
.footer { background: var(--gray-900); padding: 48px 0 28px; }
.footer-main {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #1f2937;
}
.footer-copy { font-size: .8rem; color: var(--gray-500); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .8rem; color: var(--gray-500); transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-disc {
  font-size: .72rem; color: #4b5563; text-align: center;
  line-height: 1.6; max-width: 680px; margin: 0 auto;
}
.footer-disc strong { color: #6b7280; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-card img { width: 270px; height: 340px; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img-side { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-main { flex-direction: column; text-align: center; }
  .sub-form { flex-direction: column; }
}
@media (max-width: 540px) {
  .products-grid { grid-template-columns: 1fr; }
}
