/* =========================================================
   GHE — CARDIOVASCULAR HEALTH / STROKE / HYPERTENSION
   Child-page prototype
========================================================= */

:root {
  --navy: #092c4c;
  --blue: #1769aa;
  --cyan: #168aad;
  --teal: #1b998b;
  --green: #3a9d5d;
  --red: #d94b4b;
  --orange: #e58b3a;

  --ink: #17324d;
  --muted: #5d7182;

  --light: #f4f8fb;
  --lighter: #f9fbfd;
  --white: #ffffff;

  --border: #dce6ed;
  --shadow: 0 10px 28px rgba(20, 55, 80, 0.08);

  --radius: 18px;
  --max-width: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
}

img {
  max-width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;

  background: rgba(9, 44, 76, 0.97);
  color: white;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.top-bar {
  max-width: var(--max-width);
  margin: auto;

  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 22px;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 250px;
}

.brand-mark {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  background: white;
  color: var(--navy);

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  opacity: 0.75;
  font-size: 10px;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  background: rgba(255,255,255,0.08);

  padding: 5px;
  border-radius: 999px;
}

.main-nav a {
  padding: 8px 15px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  background: white;
  color: var(--navy);
}

.breadcrumb {
  max-width: var(--max-width);
  margin: auto;

  padding: 7px 22px 10px;

  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 12px;
  opacity: 0.78;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 600px;

  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  align-items: center;

  gap: 60px;

  padding: 90px max(22px, calc((100vw - var(--max-width)) / 2));

  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(22, 138, 173, 0.24),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #eaf5fb,
      #f7fbfd 60%,
      #edf8f5
    );
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-block;

  color: var(--cyan);

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 22px;

  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;

  letter-spacing: -0.045em;

  color: var(--navy);
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-lead {
  max-width: 700px;

  font-size: 21px;
  line-height: 1.6;

  color: #294c65;
}

.hero-support {
  max-width: 690px;

  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  margin-top: 32px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 22px;

  border-radius: 999px;

  font-weight: 800;
  font-size: 14px;

  transition: 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #123f63;
}

.btn-secondary {
  background: white;
  color: var(--navy);

  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-stat-card {
  padding: 34px;

  background: white;
  border: 1px solid var(--border);

  border-radius: 26px;

  box-shadow: var(--shadow);
}

.stat-label {
  display: block;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;

  color: var(--muted);
}

.hero-stat-card strong {
  display: block;

  margin: 12px 0 4px;

  color: var(--red);

  font-size: 48px;
  line-height: 1;
}

.hero-stat-card p {
  color: var(--muted);
}

.hero-stat-card small {
  font-weight: 800;
  color: var(--navy);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.content-section,
.pathway-section {
  max-width: var(--max-width);
  margin: auto;

  padding: 82px 22px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 8px 0 12px;

  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;

  letter-spacing: -0.025em;

  color: var(--navy);
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}


/* =========================================================
   PATHWAY
========================================================= */

.pathway-section {
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));

  background: var(--navy);
  color: white;
}

.pathway-section .section-heading h2,
.pathway-section .section-heading p {
  color: white;
}

.pathway-section .section-kicker {
  color: #9dd8e5;
}

.pathway-grid {
  max-width: var(--max-width);

  display: grid;
  grid-template-columns: repeat(6, 1fr);

  gap: 12px;
}

.pathway-card {
  padding: 22px;

  min-height: 180px;

  border-radius: var(--radius);

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.pathway-card span {
  font-size: 11px;
  font-weight: 900;
  color: #9dd8e5;
}

.pathway-card h3 {
  margin: 15px 0 8px;
}

.pathway-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.78;
}


/* =========================================================
   TWO COLUMN
========================================================= */

.two-column {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;

  gap: 50px;

  align-items: start;
}

.two-column p {
  font-size: 17px;
}


/* =========================================================
   FACT PANEL
========================================================= */

.fact-panel {
  display: grid;
  gap: 12px;
}

.fact {
  padding: 23px;

  border-left: 5px solid var(--red);

  background: var(--light);
  border-radius: 0 15px 15px 0;
}

.fact strong {
  display: block;

  color: var(--red);
  font-size: 34px;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 6px;

  color: var(--muted);
  font-size: 13px;
}


/* =========================================================
   QUESTION CARDS
========================================================= */

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.question-card {
  padding: 26px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--lighter);

  transition: 0.2s ease;
}

.question-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.question-card span {
  font-size: 30px;
}

.question-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.question-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   CONCEPTS
========================================================= */

.concept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.concept-card {
  padding: 28px;

  border-radius: var(--radius);

  background: white;
  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

.concept-icon {
  font-size: 34px;
}

.concept-card h3 {
  margin: 15px 0 8px;
}

.concept-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   LEARN
========================================================= */

.learn-section {
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));

  background: var(--light);
}

.learn-block {
  max-width: var(--max-width);
  margin: 0 auto 35px;

  padding: 30px;

  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.learn-block h3 {
  color: var(--navy);
  font-size: 23px;
}

.learn-block p {
  max-width: 900px;
}

.highlight-box {
  margin-top: 22px;
  padding: 20px;

  border-radius: 14px;

  background: #eaf7f5;
  border-left: 5px solid var(--teal);

  color: #28584f;
}


/* =========================================================
   THINK
========================================================= */

.think-section {
  background: #fffaf5;
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));
}

.think-grid {
  max-width: var(--max-width);

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.think-card {
  padding: 28px;

  border-radius: var(--radius);

  background: white;
  border: 1px solid #f0dfcb;
}

.think-card span {
  display: block;

  color: var(--orange);
  font-weight: 900;
}

.think-card h3 {
  margin: 12px 0 8px;
}

.think-card p {
  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   CONNECT
========================================================= */

.connect-section {
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));

  background: #f5f8fb;
}

.circle-path {
  max-width: var(--max-width);

  display: grid;

  grid-template-columns:
    1fr auto 1fr auto 1fr auto 1fr auto 1fr;

  align-items: stretch;

  gap: 10px;
}

.circle-card {
  min-width: 0;

  padding: 23px;

  border-radius: 22px;

  background: white;
  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

.circle-card span {
  display: inline-block;

  padding: 4px 9px;

  border-radius: 999px;

  background: var(--navy);
  color: white;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 0.08em;
}

.circle-card h3 {
  margin: 14px 0 8px;

  font-size: 17px;
}

.circle-card p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
}

.connector {
  align-self: center;

  font-size: 24px;
  color: var(--cyan);
  font-weight: 900;
}


/* =========================================================
   SDH
========================================================= */

.sdh-section {
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));
}

.sdh-grid {
  max-width: var(--max-width);

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.sdh-card {
  padding: 27px;

  background: var(--lighter);

  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sdh-card h3 {
  margin-top: 0;
  font-size: 18px;
}

.sdh-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   SDGs
========================================================= */

.sdg-section {
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));

  background: var(--light);
}

.sdg-grid {
  max-width: var(--max-width);

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.sdg-card {
  padding: 27px;

  border-radius: var(--radius);

  background: white;
  border: 1px solid var(--border);
}

.sdg-card strong {
  display: inline-block;

  padding: 5px 10px;

  border-radius: 8px;

  background: var(--navy);
  color: white;

  font-size: 12px;
}

.sdg-card h3 {
  margin: 14px 0 8px;
}

.sdg-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.primary-sdg {
  border-top: 5px solid var(--green);
}


/* =========================================================
   LEADERSHIP
========================================================= */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.leader-card {
  padding: 26px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: white;

  box-shadow: var(--shadow);
}

.leader-card strong {
  display: block;

  color: var(--navy);
  font-size: 20px;

  margin-bottom: 8px;
}

.leader-card p {
  margin: 0;

  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   EVIDENCE
========================================================= */

.evidence-section {
  padding: 55px 22px;

  background: var(--navy);
}

.evidence-card {
  max-width: var(--max-width);
  margin: auto;

  display: grid;
  grid-template-columns: 80px 1fr;

  gap: 25px;

  align-items: start;
}

.evidence-icon {
  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  border-radius: 20px;

  background: rgba(255,255,255,0.1);

  font-size: 32px;
}

.evidence-card h2 {
  margin: 6px 0 8px;

  color: white;
}

.evidence-card p {
  color: rgba(255,255,255,0.72);
}

.evidence-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 22px;
}

.evidence-meta div {
  min-width: 190px;

  padding: 14px 17px;

  border-radius: 13px;

  background: rgba(255,255,255,0.08);
}

.evidence-meta strong,
.evidence-meta span {
  display: block;
}

.evidence-meta strong {
  color: white;
  font-size: 12px;
}

.evidence-meta span {
  margin-top: 3px;

  color: #a9dce7;

  font-size: 13px;
}


/* =========================================================
   REFLECTION
========================================================= */

.reflect-section {
  background: #fbfcfd;
}

.reflection-box {
  margin-bottom: 18px;

  padding: 30px;

  border-radius: var(--radius);

  background: white;
  border: 1px solid var(--border);
}

.reflection-box h3 {
  margin-top: 0;
  color: var(--navy);
}

.reflection-box li {
  margin-bottom: 9px;
}

.community-reflection {
  border-left: 5px solid var(--cyan);
}


/* =========================================================
   ACT
========================================================= */

.act-section {
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));

  background: #edf8f5;
}

.action-grid {
  max-width: var(--max-width);

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.action-card {
  padding: 28px;

  background: white;

  border: 1px solid #d6e9e3;
  border-radius: var(--radius);
}

.action-card span {
  font-size: 32px;
}

.action-card h3 {
  margin: 12px 0 8px;
}

.action-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.core-message {
  max-width: var(--max-width);

  margin: 38px auto 0;

  padding: 30px;

  text-align: center;

  border-radius: 22px;

  background: var(--navy);
  color: white;

  font-size: 21px;
}


/* =========================================================
   QUICK CHECK
========================================================= */

.quick-check {
  max-width: none;

  padding-left: max(22px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2));
}

.quick-grid {
  max-width: var(--max-width);

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 14px;
}

.quick-grid > div {
  padding: 20px;

  border-radius: 15px;

  background: var(--light);
  border: 1px solid var(--border);
}

.quick-grid strong {
  display: block;
  margin-bottom: 5px;
}

.quick-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}


/* =========================================================
   QUIZ
========================================================= */

.quiz-section {
  padding: 90px 22px;

  background:
    linear-gradient(
      135deg,
      #edf7fb,
      #f7fbfd
    );
}

.quiz-heading {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

#cvdQuiz {
  max-width: 900px;
  margin: auto;
}

.quiz-question {
  margin: 0 0 20px;

  padding: 25px 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: white;

  box-shadow: 0 5px 16px rgba(20,55,80,0.04);
}

.quiz-question legend {
  padding: 0 5px;

  font-weight: 850;
  color: var(--navy);

  font-size: 17px;
}

.quiz-question label {
  display: block;

  margin-top: 12px;
  padding: 11px 13px;

  border-radius: 10px;

  background: var(--lighter);

  cursor: pointer;

  font-size: 14px;

  transition: 0.15s ease;
}

.quiz-question label:hover {
  background: #eaf5f9;
}

.quiz-question input {
  margin-right: 9px;
}

.quiz-button {
  display: block;

  margin: 30px auto 0;

  padding: 14px 28px;

  border: 0;
  border-radius: 999px;

  background: var(--navy);
  color: white;

  font-weight: 900;
  font-size: 15px;

  cursor: pointer;

  transition: 0.2s ease;
}

.quiz-button:hover {
  transform: translateY(-2px);
}

.quiz-result {
  margin: 24px auto 0;

  max-width: 700px;

  padding: 22px;

  text-align: center;

  border-radius: 16px;

  display: none;
}

.quiz-result.complete,
.quiz-result.incomplete {
  display: block;
}

.quiz-result.complete {
  background: #eaf7f0;
  border: 1px solid #c8e7d6;
  color: #235d3d;
}

.quiz-result.incomplete {
  background: #fff6e9;
  border: 1px solid #f0d8ad;
  color: #79521c;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #061e34;
  color: white;
}

.footer-main {
  max-width: var(--max-width);
  margin: auto;

  padding: 60px 22px;

  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr;

  gap: 50px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 900;
}

.footer-main p {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.footer-main h3 {
  margin-top: 0;
  font-size: 14px;
}

.footer-main a {
  display: block;

  margin-bottom: 7px;

  color: rgba(255,255,255,0.7);

  font-size: 13px;
}

.footer-main a:hover {
  color: white;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: auto;

  padding: 18px 22px;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid rgba(255,255,255,0.1);

  color: rgba(255,255,255,0.45);

  font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

  .main-nav {
    display: none;
  }

  .pathway-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .question-grid,
  .concept-grid,
  .think-grid,
  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .circle-path {
    grid-template-columns: 1fr;
  }

  .connector {
    transform: rotate(90deg);
    justify-self: center;
  }

}


@media (max-width: 800px) {

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .sdh-grid,
  .sdg-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }

  .evidence-card {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 560px) {

  .top-bar {
    min-height: 62px;
  }

  .brand small {
    display: none;
  }

  .breadcrumb {
    font-size: 10px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .content-section,
  .pathway-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .pathway-grid,
  .question-grid,
  .concept-grid,
  .think-grid,
  .action-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .evidence-meta {
    flex-direction: column;
  }

  .evidence-meta div {
    width: 100%;
  }

}
