/* Carewell Multispeciality Hospital: white, deep teal, coral and mint. Plus Jakarta Sans for headings, Noto Sans for
   text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #EEF7F5;
  --ink: #0E2A2D;
  --muted: #4B6466;
  --line: #DCEAE7;
  --line-strong: #BFD6D2;
  --brand: #0B5D63;
  --brand-hover: #084A4F;
  --brand-ink: #FFFFFF;
  --brand-text: #0B5D63;
  --coral: #F26B5B;
  --eyebrow: #C9473A;
  --announce-bg: #0E2A2D;
  --announce-ink: #FFFFFF;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Noto Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --btn-radius: 999px;
  --wrap: 1200px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; }
h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 62%, #CFEDE6 62%); }
.btn { font-weight: 700; }
.em-call { color: var(--coral); border-color: var(--coral); }

/* header */
.header { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 800 1.35rem var(--head); color: var(--brand); }
.logo small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.header-cta { display: flex; gap: 8px; }
.nav a { font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px); background: linear-gradient(160deg, #EEF7F5 0 55%, #fff 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.er-card { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: #D7E6E4; box-shadow: 0 30px 60px -34px rgba(14,42,45,.7); }
.er-top { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.pulse-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(242,107,91,.7); animation: beat 1.6s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 12px rgba(242,107,91,0); } 100% { box-shadow: 0 0 0 0 rgba(242,107,91,0); } }
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }
.er-phone { font: 800 clamp(1.5rem, 3vw, 2rem) var(--head); color: #fff; text-decoration: none; white-space: nowrap; }
.er-list { list-style: none; display: grid; gap: 8px; }
.er-list li { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); }
.er-list b { color: #fff; }
.dept-strip { padding-block: 0; }
.depts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-block: 1px solid var(--line); }
.depts a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--brand); font-weight: 600; text-decoration: none; }
.depts a:hover { background: var(--brand); color: #fff; }

/* doctor finder */
.fd { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .fd { grid-template-columns: minmax(0, 1fr); } }
.fd-in { display: grid; gap: 18px; }
.fd-title { font-size: 1.5rem; }
.fd-list { list-style: none; display: grid; gap: 10px; }
.fd-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.fd-list li.off { background: var(--soft); }
.fd-list b { font: 700 1.05rem var(--head); }
.fd-list small { grid-column: 1; color: var(--muted); }
.fd-list .fd-time { grid-row: 1 / span 2; grid-column: 2; font-weight: 700; color: var(--brand); text-align: right; }
.fd-list li.off .fd-time { color: var(--muted); font-weight: 600; }
.fd-list a { grid-column: 1 / -1; justify-self: start; }

/* inner pages */
.page-head { margin-bottom: clamp(24px, 4vw, 40px); background: var(--soft); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--brand); color: #D3ECE8; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.footer { background: var(--ink); color: #A9C1BF; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #A9C1BF; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 36ch; }
.footer .credit a { color: #fff; }
