/* Sehat Health Camps: clinical white, teal and coral on a soft plus-grid. Lexend for headings, Source Sans 3 for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F1F8F6;
  --ink: #0F2A2A;
  --muted: #4A6260;
  --line: #DCEAE7;
  --line-strong: #BCD6D1;
  --brand: #0F766E;
  --brand-hover: #0B5D57;
  --brand-ink: #FFFFFF;
  --brand-text: #0F766E;
  --coral: #F25F4C;
  --eyebrow: #C2412F;
  --head: "Lexend", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --fs-body: 1.06rem;
  --radius: 10px;
  --radius-lg: 18px;
  --btn-radius: 10px;
  --wrap: 1200px;
  --gap: 20px;
  --out-bg: #0F2A2A;
  --out-btn: #F25F4C;
  --out-btn-ink: #FFFFFF;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
.header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.logo b { font: 700 1.35rem var(--head); color: var(--ink); }
.logo small { font-size: .78rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.nav a { font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--soft); }

/* hero: a soft plus-grid */
.hero { padding-block: clamp(36px, 6vw, 80px); background-color: #F6FBFA; background-image: radial-gradient(circle at 85% 20%, rgba(242,95,76,.10), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M18 14h4v4h4v4h-4v4h-4v-4h-4v-4h4Z' fill='%230F766E' opacity='.07'/%3E%3C/svg%3E"); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(242,95,76,.2); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.06; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.next-camps { padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(15,42,42,.4); }
.nc-title { font: 600 1.1rem var(--head); margin-bottom: 12px; }
.next-camps ol { list-style: none; display: grid; gap: 8px; margin-bottom: 8px; }
.next-camps li a { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center; padding: 10px; border-radius: var(--radius); text-decoration: none; background: var(--soft); }
.next-camps li a:hover { background: #E3F2EF; }
.next-camps time { grid-row: span 2; display: grid; place-items: center; height: 56px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .78rem; line-height: 1; }
.next-camps time b { font: 700 1.4rem var(--head); }
.next-camps span { display: grid; font-size: .92rem; color: var(--muted); }
.next-camps span b { color: var(--ink); }
.next-camps i { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--eyebrow); }
.stats-sec { padding-bottom: 0; }
.stats { background: var(--line); }
.camp-day { background: var(--soft); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: t; }
.timeline li { position: relative; display: grid; gap: 6px; padding: 26px 16px 0 0; border-top: 3px solid var(--brand); }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--coral); border: 3px solid #fff; }
.timeline b { font: 600 1.2rem var(--head); color: var(--brand); }
.timeline span { color: var(--muted); }
@media (max-width: 820px) { .timeline { grid-template-columns: minmax(0, 1fr); } .timeline li { border-top: 0; border-left: 3px solid var(--brand); padding: 0 0 22px 22px; } .timeline li::before { top: 0; left: -9px; } }

/* camp calendar */
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--soft); }
.chips button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cal-sel { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cal-sel .input { width: auto; min-height: 44px; }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: start; margin-top: 24px; }
@media (max-width: 860px) { .cal-wrap { grid-template-columns: minmax(0, 1fr); } }
.cal { padding: 18px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.cal-title { font: 600 1.15rem var(--head); margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.cal-grid span, .cal-h { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; font-size: .92rem; }
.cal-h { aspect-ratio: auto; padding: 4px 0; font-size: .74rem; color: var(--muted); font-weight: 600; }
.cal-grid .is-camp { background: var(--brand); color: #fff; font-weight: 700; }
.cal-grid .t-eye, .camp-list .t-eye time { background: #2563EB; }
.cal-grid .t-women, .camp-list .t-women time { background: #BE185D; }
.cal-grid .t-dental, .camp-list .t-dental time { background: #7C3AED; }
.cal-grid .t-diabetes, .camp-list .t-diabetes time { background: #C2410C; }
.cal-grid .t-child, .camp-list .t-child time { background: #0E7490; }
.cal-count { font-weight: 700; margin-bottom: 12px; }
.camp-list { list-style: none; display: grid; gap: 10px; }
.camp-list li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
@media (max-width: 480px) { .camp-list li { grid-template-columns: 58px minmax(0, 1fr); } .camp-list .btn { grid-column: 1 / -1; } }
.camp-list time { display: grid; place-items: center; height: 58px; border-radius: 12px; background: var(--brand); color: #fff; font-size: .76rem; line-height: 1.1; }
.camp-list time b { font: 700 1.4rem var(--head); }
.camp-list h3 { font-size: 1.05rem; }
.camp-list p { color: var(--muted); font-size: .94rem; }
.camp-list .need { color: var(--eyebrow); font-weight: 700; font-size: .85rem; }
.signup { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: start; margin-top: clamp(40px, 6vw, 72px); scroll-margin-top: 90px; }
@media (max-width: 900px) { .signup { grid-template-columns: minmax(0, 1fr); } }
.tool-total { font-size: clamp(1.6rem, 4vw, 2.2rem); }

/* inner pages */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 40px); }
.cta-band { background: var(--brand); color: #fff; }
.cta-band .btn-primary { background: var(--coral); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.footer { background: var(--ink); color: #BFD3D0; --footer-line: rgba(255,255,255,.14); }
.footer .logo b, .footer h2 { color: #fff; }
.footer .logo small { color: #7FD1C7; }
.footer .credit a { color: #fff; }
