:root {
  --ink: #0f2a2e;
  --ink-soft: #4b6267;
  --brand: #0e7c7b;
  --brand-dark: #0a5a5a;
  --brand-soft: #e4f3f2;
  --accent: #f26b4f;
  --bg: #f7fbfb;
  --card: #ffffff;
  --line: #e2ecec;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 42, 46, .08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 46, .16);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover, a:focus-visible { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 92%); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--brand-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .8rem;
}
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head--center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem;
  border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(14, 124, 123, .3); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(242, 107, 79, .3); }
.btn--accent:hover { color: #fff; filter: brightness(.95); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Top strip */
.topbar { background: var(--ink); color: #d6e7e6; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .55rem 0; }
.topbar span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: #7fd1cf; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: .95rem; padding: .55rem .9rem; border-radius: 999px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }
.nav-cta { margin-left: .5rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(120deg, #0a5a5a 0%, #0e7c7b 55%, #3aa6a3 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(242,107,79,.25), transparent 40%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(56px, 9vw, 110px) 0; }
.hero h1 { color: #fff; }
.hero .lead { color: #d7f0ef; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-photo {
  position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: #0a5a5a;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--ink);
  padding: .8rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; font-size: .92rem;
}
.hero-badge small { display: block; color: var(--ink-soft); font-weight: 500; }

/* Quick info strip */
.quick { margin-top: -38px; position: relative; z-index: 2; }
.quick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem;
}
.quick-item { display: flex; gap: .9rem; align-items: center; padding: .4rem .5rem; }
.quick-item .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.quick-item .ic svg { width: 22px; height: 22px; }
.quick-item strong { display: block; font-size: .95rem; }
.quick-item span { font-size: .9rem; color: var(--ink-soft); }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--brand), #3aa6a3); color: #fff;
}
.card .ic svg { width: 26px; height: 26px; }
.card p { color: var(--ink-soft); margin: 0; }

/* Camps */
.camps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.camp { border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); margin: 0; }
.camp img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.camp:hover img { transform: scale(1.04); }
.camp figcaption { padding: .8rem 1rem; font-weight: 700; font-size: .95rem; }

/* Doctors */
.doctors {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1.25rem;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.doctor {
  scroll-snap-align: start; background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.doctor-photo { aspect-ratio: 4 / 4.2; background: var(--brand-soft); overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doctor-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.doctor-body h3 { margin: 0; font-size: 1.1rem; }
.doctor-body .qual { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.pill {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: .4rem;
  background: var(--brand-soft); color: var(--brand-dark); font-size: .84rem; font-weight: 700;
  padding: .4rem .8rem; border-radius: 999px;
}
.pill svg { width: 14px; height: 14px; }
.pill--muted { background: #fff1ee; color: #b04428; }
.doctors-note { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }

/* Specialisations (alternating) */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.spec:last-child { border-bottom: 0; }
.spec:nth-child(even) .spec-img { order: 2; }
.spec-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.spec-img img { width: 100%; height: 100%; object-fit: cover; }
.spec h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .6rem; }
.spec p { color: var(--ink-soft); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, #0a5a5a 0%, #0e7c7b 60%, #3aa6a3 100%); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .4rem; }
.crumbs { font-size: .9rem; color: #d7f0ef; margin: 0; }
.crumbs a { color: #fff; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: 100px; }
.about-photo img { width: 100%; }
.prose p { color: var(--ink-soft); font-size: 1.04rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat { background: var(--card); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); text-align: center; }
.stat strong { display: block; font-size: 1.8rem; color: var(--brand); }
.stat span { font-size: .85rem; color: var(--ink-soft); }

/* Newsletter */
.issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.issue {
  background: var(--card); border-radius: var(--radius); padding: 1.5rem 1.2rem; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: .8rem; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.issue:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.issue .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.issue .ic svg { width: 20px; height: 20px; }
.issue strong { font-size: 1rem; line-height: 1.35; }
.issue small { color: var(--ink-soft); margin-top: auto; font-weight: 600; }
.issue--highlight { background: linear-gradient(135deg, #0e7c7b, #3aa6a3); color: #fff; border: 0; }
.issue--highlight .ic { background: rgba(255,255,255,.2); color: #fff; }
.issue--highlight small { color: #d7f0ef; }
.issue--highlight:hover { color: #fff; }

/* Forms */
.form-card { background: var(--card); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fbfefe; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,124,123,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.form-actions small { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; background: var(--card); padding: 1.1rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-list .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list p { margin: 0; color: var(--ink); }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-side h3 { margin-bottom: 1rem; }
.map-embed { margin-top: 1rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #0a5a5a, #0e7c7b); color: #fff; border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0; color: #d7f0ef; }

/* Footer */
.site-footer { background: var(--ink); color: #c3d6d5; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: #c3d6d5; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 48px; filter: brightness(0) invert(1); }
.footer-meta { margin-top: 1rem; font-size: .95rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social a:hover { background: var(--brand); }
.social svg { width: 18px; height: 18px; }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.copyright a { color: #7fd1cf; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .camps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; max-height: calc(100vh - 76px); overflow-y: auto;
    background: #fff; padding: .75rem 4% 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .85rem 1rem; font-size: 1rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .hero .wrap { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; }
  .spec { grid-template-columns: 1fr; }
  .spec:nth-child(even) .spec-img { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick { margin-top: -28px; }
}
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .topbar { display: none; }
  .nav { height: 66px; }
  .brand img { height: 32px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .camps { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,42,46,.08);
    padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: .2rem; font-size: .72rem; font-weight: 700;
    color: var(--ink-soft); padding: .35rem; border-radius: 12px;
  }
  .mobile-bar a.is-accent { color: #fff; background: var(--accent); }
  .mobile-bar svg { width: 20px; height: 20px; }
  .copyright { flex-direction: column; }
  .doctors { grid-auto-columns: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
