:root {
  --green-900: #073b34;
  --green-800: #0d5147;
  --green-600: #16856f;
  --green-500: #21a184;
  --yellow: #f1c84b;
  --orange: #e58f35;
  --blue: #2467b2;
  --ink: #17231f;
  --muted: #66736f;
  --line: #d9e3df;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --soft-green: #e7f3ef;
  --shadow: 0 22px 60px rgba(7, 59, 52, 0.14);
  --content-max: 1120px;
  --page-x: max(28px, calc((100vw - var(--content-max)) / 2));
  --header-height: 166px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: block;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
  padding: 0 var(--page-x);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 360px;
}

.brand-logo {
  display: block;
  width: 360px;
  max-width: 100%;
  max-height: 102px;
  object-fit: contain;
  transform: translateX(-64px);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--green-900);
  background: #eef3f1;
  border: 1px solid #d8e2de;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0;
  font-weight: 900;
  transition: border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  border-color: rgba(13, 81, 71, 0.34);
  transform: translateY(-1px);
}

.social-links svg {
  display: block;
  width: 19px;
  height: 19px;
}

.social-links svg path {
  fill: currentColor;
}

.social-links .instagram {
  color: #e4405f;
}

.social-links .facebook {
  color: #1877f2;
}

.social-links .flickr-blue {
  fill: #0063dc;
}

.social-links .flickr-pink {
  fill: #ff0084;
}

.social-links span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 0 var(--page-x);
  background: #f6f8f7;
  border-top: 3px solid var(--yellow);
}

.nav-links a,
.nav-links button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--green-900);
  background: transparent;
  text-decoration: none;
  font-size: 15.4px;
  font-weight: 780;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--green-600);
  background: transparent;
}

.nav-links .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  color: white;
  background: var(--green-800);
  border-radius: 7px;
}

.nav-links .nav-cta:hover {
  background: var(--green-500);
  color: white;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green-900);
  background: white;
  font-size: 22px;
}

.project-strip {
  padding: clamp(56px, 9vw, 110px) var(--page-x);
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  border-bottom: 4px solid var(--yellow);
}

.project-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.project-strip-kicker {
  color: var(--yellow);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.project-strip-inner h1 {
  margin: 0;
  max-width: 16ch;
  color: #ffffff;
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero {
  padding: clamp(56px, 8vw, 96px) var(--page-x) clamp(64px, 9vw, 104px);
  background:
    linear-gradient(135deg, #f7fbf9 0%, #edf6f2 58%, #f3f7f5 100%);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-content p {
  margin-left: auto;
  margin-right: auto;
}

.hero-secondary {
  font-size: 17px;
  color: var(--muted);
}

.hero .hero-actions {
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
}

.hero .hero-actions .primary-button,
.hero .hero-actions .secondary-button {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(7, 59, 52, 0.16);
}

.hero .hero-actions .secondary-button {
  background: #ffffff;
  border: 2px solid var(--green-600);
  color: var(--green-900);
}

.hero .hero-actions .secondary-button:hover {
  background: var(--soft-green);
}

.hero .hero-actions .primary-button {
  box-shadow: 0 14px 30px rgba(13, 81, 71, 0.32);
}

.hero-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--green-600);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0 auto;
  color: var(--green-900);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  white-space: pre-line;
}

.hero-content p {
  max-width: 640px;
  margin: 26px auto 0;
  color: #40524d;
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 352px;
  gap: 30px;
  align-items: stretch;
  margin-top: 48px;
}

.project-hero-story {
  padding: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.project-hero-story span {
  color: var(--green-600);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-hero-story h2 {
  max-width: 720px;
  margin: 14px 0 18px;
  color: var(--green-900);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
}

.project-hero-story p {
  max-width: 760px;
  margin: 0;
  color: #40524d;
  font-size: 18px;
  line-height: 1.72;
}

.project-hero-stats {
  display: grid;
  gap: 12px;
}

.project-hero-stats article {
  min-height: 132px;
  padding: 24px;
  color: white;
  background: var(--green-900);
  border-radius: 10px;
}

.project-hero-stats strong,
.project-hero-stats span {
  display: block;
}

.project-hero-stats strong {
  color: var(--yellow);
  font-size: 42px;
  line-height: 1;
}

.project-hero-stats span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
  margin-top: 24px;
}

.hero-highlights article {
  min-height: 112px;
  padding: 18px;
  color: white;
  background: var(--green-900);
  border-radius: 10px;
}

.hero-highlights strong,
.hero-highlights span {
  display: block;
}

.hero-highlights strong {
  color: var(--yellow);
  font-size: 34px;
  line-height: 1;
}

.hero-highlights span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.primary-button,
.secondary-button,
.course-card button,
.dashboard-title button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.primary-button,
.course-card button {
  color: white;
  background: var(--green-800);
  box-shadow: 0 12px 26px rgba(13, 81, 71, 0.22);
}

.secondary-button,
.dashboard-title button {
  color: var(--green-900);
  background: white;
  border: 1px solid var(--line);
}

.project-section {
  padding: 78px var(--page-x);
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-heading {
  display: block;
  max-width: 980px;
  margin-bottom: 42px;
}

.project-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.project-heading p {
  max-width: 820px;
  margin: 18px 0 0;
  color: #40524d;
  font-size: 18px;
  line-height: 1.65;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
}

.project-story {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.project-story p,
.project-cards p,
.course-areas p,
.project-impact p {
  margin: 0;
  color: #4b5e58;
  line-height: 1.72;
}

.project-stats {
  display: grid;
  gap: 12px;
}

.project-stats article {
  padding: 24px;
  color: white;
  background: var(--green-900);
  border-radius: 10px;
}

.project-stats strong {
  display: block;
  color: var(--yellow);
  font-size: 36px;
  line-height: 1;
}

.project-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  line-height: 1.45;
}

.project-cards,
.project-impact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.project-cards article,
.project-impact article {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.project-cards h3,
.course-areas h3,
.project-impact h3 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: 20px;
}

.course-areas {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  margin-top: 18px;
  padding: 28px;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: 10px;
}

.course-areas h3,
.course-areas p {
  color: white;
}

.course-areas p {
  color: rgba(255, 255, 255, 0.74);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.area-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border-bottom: 2px solid rgba(241, 200, 75, 0.7);
  font-size: 13px;
  font-weight: 850;
}

.project-close {
  margin: 18px 0 0;
  padding: 28px 32px;
  color: var(--green-900);
  background: #fff6d8;
  border-left: 6px solid var(--yellow);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.55;
}

.home-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 72px var(--page-x);
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-links article {
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.home-links span {
  color: var(--green-600);
  font-size: 12px;
  font-weight: 900;
}

.home-links h2 {
  margin: 18px 0 12px;
  color: var(--green-900);
  font-size: 30px;
  line-height: 1.08;
}

.home-links p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.distribution-section {
  padding: 78px var(--page-x);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.distribution-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

.distribution-heading > * {
  min-width: 0;
}

.distribution-heading span {
  display: block;
  margin-bottom: 12px;
  color: var(--green-600);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.distribution-heading h2 {
  max-width: 620px;
  margin: 0;
  color: var(--green-900);
  font-size: clamp(34px, 4.1vw, 50px);
  line-height: 1.02;
}

.distribution-heading p {
  margin: 0;
  color: #40524d;
  font-size: 18px;
  line-height: 1.65;
}

.distribution-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.distribution-summary article {
  padding: 22px;
  color: white;
  background: var(--green-900);
  border-radius: 10px;
}

.distribution-summary strong,
.distribution-summary span {
  display: block;
}

.distribution-summary strong {
  color: var(--yellow);
  font-size: 40px;
  line-height: 1;
}

.distribution-summary span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.municipality-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.municipality-grid article {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.municipality-grid strong,
.municipality-grid span,
.municipality-grid em {
  display: block;
}

.municipality-grid strong {
  min-height: 42px;
  color: var(--green-900);
  font-size: 17px;
  line-height: 1.2;
}

.municipality-grid span {
  margin-top: 14px;
  color: var(--green-600);
  font-size: 13px;
  font-weight: 900;
}

.municipality-grid em {
  margin-top: 4px;
  color: #40524d;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.distribution-table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(7, 59, 52, 0.08);
}

.distribution-table {
  min-width: 1080px;
}

.distribution-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: white;
  background: var(--green-900);
  border-bottom: 0;
  font-size: 12px;
  text-transform: uppercase;
}

.distribution-table td,
.distribution-table th {
  padding: 15px 14px;
  vertical-align: top;
}

.distribution-table td:nth-child(4),
.distribution-table td:nth-child(5),
.distribution-table td:nth-child(6),
.distribution-table td:nth-child(7),
.distribution-table th:nth-child(4),
.distribution-table th:nth-child(5),
.distribution-table th:nth-child(6),
.distribution-table th:nth-child(7) {
  text-align: right;
  white-space: nowrap;
}

.distribution-table td:first-child,
.distribution-table td:nth-child(2) {
  font-weight: 800;
}

.subtotal-row td {
  color: var(--green-900);
  background: var(--soft-green);
  font-weight: 900;
}

.total-row td {
  color: white;
  background: var(--green-800);
  border-bottom: 0;
  font-weight: 900;
}

.distribution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.section-block,
.split-section {
  padding: 74px var(--page-x);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-section h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 38px;
}

.section-heading p,
.split-section p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.course-list {
  display: grid;
  gap: 18px;
}

.course-card.horizontal {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  min-height: 292px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(7, 59, 52, 0.08);
}

.course-card.horizontal.tone-dark {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: white;
  border-color: rgba(7, 59, 52, 0.22);
}

.course-card.horizontal.tone-light {
  background: linear-gradient(135deg, #e4f4ef, #f7fbf9);
  border-color: #c8ded7;
}

.course-card.horizontal.linked {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.course-card.horizontal.linked:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 133, 111, 0.45);
  box-shadow: 0 24px 54px rgba(7, 59, 52, 0.14);
}

.course-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.course-copy span {
  display: block;
  min-height: 0;
  padding: 0;
  color: var(--green-700, #0d5147);
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.course-card.tone-dark .course-copy span,
.course-card.featured .course-copy span {
  color: var(--yellow);
  background: transparent;
}

.course-copy h3 {
  margin: 10px 0 12px;
  color: var(--green-900);
  font-size: 28px;
  line-height: 1.08;
}

.course-card.tone-dark .course-copy h3,
.course-card.featured .course-copy h3 {
  color: white;
}

.course-copy p {
  max-width: 720px;
  margin: 0;
  color: #52645f;
  line-height: 1.62;
}

.course-card.tone-dark .course-copy p,
.course-card.featured .course-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.course-copy small {
  display: block;
  margin-top: 14px;
  color: var(--green-700, #0d5147);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.course-card.tone-dark .course-copy small,
.course-card.featured .course-copy small {
  color: rgba(255, 255, 255, 0.82);
}

.course-unit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.course-unit-pills span {
  min-height: 30px;
  padding: 0;
  color: var(--green-900);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  text-transform: none;
}

.course-card.tone-light .course-unit-pills span {
  background: transparent;
}

.course-card.horizontal img {
  width: 100%;
  height: 100%;
  min-height: 292px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.course-card button {
  margin-top: auto;
  transform: translateY(12px);
  color: var(--green-900);
  background: var(--yellow);
}

.courses-page {
  background: var(--soft);
}

.course-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: stretch;
  padding: 74px var(--page-x);
  background:
    radial-gradient(circle at 18% 18%, rgba(241, 200, 75, 0.24), transparent 30%),
    linear-gradient(135deg, #f7fbf9 0%, #e9f4f0 68%, #fbf4dd 100%);
}

.course-detail-copy {
  align-self: center;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-800);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.course-detail-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 0.98;
}

.course-detail-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #40524d;
  font-size: 19px;
  line-height: 1.62;
}

.course-detail-hero img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.course-fact-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 var(--page-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.course-fact-band article {
  min-width: 0;
  padding: 32px 30px;
  border-right: 1px solid var(--line);
}

.course-fact-band article:last-child {
  border-right: 0;
}

.course-fact-band span,
.course-fact-band strong {
  display: block;
}

.course-fact-band span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.course-fact-band strong {
  margin-top: 8px;
  color: var(--green-900);
  font-size: 28px;
}

.course-availability {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 58px var(--page-x);
  background: white;
  border-bottom: 1px solid var(--line);
}

.course-availability > div:first-child span {
  color: var(--green-600);
  font-size: 12px;
  font-weight: 900;
}

.course-availability h2 {
  margin: 12px 0 0;
  color: var(--green-900);
  font-size: 34px;
  line-height: 1.05;
}

.availability-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.availability-pill {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 210px;
  min-height: 74px;
  padding: 12px 16px;
  color: white;
  background: var(--green-900);
  border-radius: 10px;
  text-decoration: none;
}

.availability-pill strong,
.availability-pill span {
  display: block;
}

.availability-pill strong {
  font-size: 15px;
}

.availability-pill span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.course-detail-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 74px var(--page-x);
  background: var(--soft);
}

.course-detail-content article {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.course-detail-content h2 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: 26px;
}

.course-detail-content p,
.course-detail-content li {
  color: #4b5e58;
  line-height: 1.7;
}

.course-detail-content p {
  margin: 0;
}

.course-detail-content ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
}

.curriculum-card {
  background: var(--green-900) !important;
}

.curriculum-card h2,
.curriculum-card li {
  color: white;
}

.course-deep-dive {
  padding: 78px var(--page-x);
  background: white;
}

.course-section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.course-section-heading span,
.module-section-title span,
.course-module-grid span,
.course-results-grid span {
  color: var(--green-600);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.course-section-heading h2,
.module-section-title h2 {
  margin: 10px 0 0;
  color: var(--green-900);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
}

.course-section-heading p {
  margin: 0;
  color: #4b5e58;
  font-size: 17px;
  line-height: 1.7;
}

.course-emphasis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 44px;
}

.course-emphasis-grid article,
.course-results-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.course-emphasis-grid h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-size: 22px;
}

.course-emphasis-grid p,
.course-module-grid p,
.course-results-grid p {
  margin: 0;
  color: #4b5e58;
  line-height: 1.68;
}

.module-section-title {
  margin-bottom: 18px;
}

.course-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-module-grid article {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 22px;
  border-radius: 10px;
  background: var(--green-900);
}

.course-module-grid article:nth-child(even) {
  background: var(--green-800);
}

.course-module-grid span {
  color: var(--yellow);
}

.course-module-grid h3 {
  margin: 12px 0 12px;
  color: white;
  font-size: 19px;
  line-height: 1.18;
}

.course-module-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.course-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.course-results-grid article {
  background: #f8fbfa;
}

.course-results-grid p {
  margin-top: 10px;
}

.course-detail-cta {
  padding: 72px var(--page-x);
  color: white;
  background: var(--green-900);
}

.course-detail-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
}

.course-detail-cta p {
  max-width: 620px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  background: var(--soft);
}

.unit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.unit-list span {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.units-page {
  padding: 78px var(--page-x);
  background: var(--soft);
}

.units-heading {
  margin-bottom: 28px;
}

.unit-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.unit-summary-grid article {
  padding: 22px;
  color: white;
  background: var(--green-900);
  border-radius: 10px;
}

.unit-summary-grid strong,
.unit-summary-grid span {
  display: block;
}

.unit-summary-grid strong {
  color: var(--yellow);
  font-size: 38px;
  line-height: 1;
}

.unit-summary-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.unit-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.unit-card {
  overflow: hidden;
  min-height: 420px;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(7, 59, 52, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.unit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(7, 59, 52, 0.14);
}

.unit-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.unit-card-body {
  padding: 24px;
}

.unit-card-body span {
  color: var(--green-600);
  font-size: 12px;
  font-weight: 900;
}

.unit-card-body h3 {
  margin: 14px 0 10px;
  color: var(--green-900);
  font-size: 25px;
  line-height: 1.1;
}

.unit-card-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.unit-card-body small {
  display: block;
  margin-top: 14px;
  color: #40524d;
  line-height: 1.55;
}

.unit-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 42px;
  align-items: center;
  padding: 74px var(--page-x);
  background:
    radial-gradient(circle at 18% 18%, rgba(241, 200, 75, 0.22), transparent 30%),
    linear-gradient(135deg, #f7fbf9 0%, #e9f4f0 68%, #fbf4dd 100%);
}

.unit-detail-hero h1 {
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 0.98;
}

.unit-detail-hero p {
  max-width: 700px;
  margin: 0;
  color: #40524d;
  font-size: 19px;
  line-height: 1.62;
}

.unit-detail-hero img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.site-footer {
  color: white;
  background: #075b58;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  padding: 76px var(--page-x) 58px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  text-decoration: none;
}

.footer-logo-img {
  display: block;
  width: 270px;
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 310px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.footer-links h2 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-links a,
.footer-links button {
  display: block;
  width: fit-content;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
}

.footer-links a + a,
.footer-links button + a,
.footer-links h2 + a,
.footer-links h2 + button {
  margin-top: 13px;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px var(--page-x) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.unit-detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 18px;
  padding: 74px var(--page-x);
  background: var(--soft);
}

.unit-about,
.unit-courses-panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.unit-about h2,
.unit-courses-panel h2 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: 28px;
}

.unit-about p {
  margin: 0;
  color: #4b5e58;
  line-height: 1.7;
}

.unit-about dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.unit-about div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.unit-about dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.unit-about dd {
  margin: 0;
  color: var(--green-900);
  font-weight: 800;
}

.unit-course-list {
  display: grid;
  gap: 10px;
}

.unit-course-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: inherit;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.unit-course-row strong,
.unit-course-row span,
.unit-course-row em {
  display: block;
}

.unit-course-row strong {
  color: var(--green-900);
}

.unit-course-row span,
.unit-course-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.employment-section {
  background: var(--green-900);
}

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

.employment-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.employment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.employment-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.employment-grid strong,
.employment-grid span {
  display: block;
}

.employment-grid strong {
  color: var(--yellow);
  font-size: 18px;
}

.employment-grid span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.muted {
  background: white;
}

.institucional-header {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.institucional-identity {
  padding: 20px 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.institucional-identity span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-600);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.institucional-identity strong {
  color: var(--green-900);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.institucional-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}

.institucional-story h3,
.institucional-areas h3,
.institucional-projects h3 {
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: 22px;
}

.institucional-story p {
  margin: 0 0 16px;
  color: #40524d;
  font-size: 16px;
  line-height: 1.75;
}

.institucional-story p:last-child {
  margin-bottom: 0;
}

.institucional-areas {
  padding: 28px;
  background: var(--green-900);
  border-radius: 12px;
}

.institucional-areas h3 {
  color: white;
}

.institucional-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.institucional-area-list span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.institucional-projects h3 {
  margin-bottom: 20px;
}

.institucional-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.institucional-project-grid article {
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.institucional-project-grid span {
  color: var(--green-600);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.institucional-project-grid strong {
  color: var(--green-900);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.institucional-project-grid em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
  margin-top: auto;
}

/* ── Organograma ── */
.org-wrap {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.org-wrap h3 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 22px;
  font-weight: 800;
}

.org-wrap > p {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 16px;
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Vertical connector lines */
.org-vline {
  width: 2px;
  height: 36px;
  background: var(--green-500);
  flex-shrink: 0;
}

/* Node base */
.org-node {
  padding: 18px 32px;
  border-radius: 10px;
  text-align: center;
}

.org-node strong {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.org-node span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
}

/* Top node — dark green */
.org-node-top {
  background: var(--green-900);
  color: white;
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(7, 59, 52, 0.22);
}

.org-node-top strong {
  color: var(--yellow);
}

/* Mid nodes — white with green border */
.org-node-mid {
  background: white;
  border: 2px solid var(--green-600);
  color: var(--green-900);
  min-width: 190px;
}

.org-node-mid strong {
  color: var(--green-600);
}

/* Bottom node — yellow */
.org-node-bottom {
  background: var(--yellow);
  color: var(--green-900);
  min-width: 260px;
  box-shadow: 0 8px 20px rgba(241, 200, 75, 0.35);
}

/* Branches row */
.org-branches {
  display: flex;
  align-items: flex-start;
  position: relative;
  width: min(740px, 100%);
}

/* Horizontal bar: from center of branch-1 to center of branch-3 */
.org-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--green-500);
}

/* Each branch column */
.org-branch {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
}

.org-branch-drop {
  height: 36px;
}

/* Responsive */
@media (max-width: 640px) {
  .org-branches {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .org-branches::before {
    display: none;
  }

  .org-branch {
    padding: 0;
    width: 100%;
  }
}

.form-screen,
.dashboard-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  overflow: auto;
  background: rgba(7, 22, 19, 0.72);
}

.form-screen.active,
.dashboard-screen.active {
  display: block;
}

.form-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 28px auto;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  color: white;
  background: var(--green-900);
  border-radius: 12px 12px 0 0;
}

.form-header span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.form-header h2 {
  margin: 4px 0 0;
}

.close-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: white;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.signup-form {
  padding: 28px;
}

.form-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.form-section:first-child {
  padding-top: 0;
}

.form-section h3 {
  margin: 0 0 16px;
  color: var(--green-900);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

label {
  color: #354641;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #fbfdfc;
}

textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.choice-row,
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.choice-row label,
.check-grid label,
.terms-box label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfdfc;
}

.choice-row input,
.check-grid input,
.terms-box input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.wide-label {
  display: block;
  margin-top: 14px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.terms-box {
  margin: 22px 0 0;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
}

.dashboard-screen {
  background: #edf4f1;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 244px 1fr;
  min-height: 100vh;
}

.dashboard-sidebar {
  padding: 28px;
  color: white;
  background: var(--green-900);
}

.dashboard-sidebar strong {
  display: block;
  margin-bottom: 36px;
  font-size: 20px;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 8px;
}

.dashboard-sidebar span {
  padding: 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.dashboard-sidebar .active {
  color: var(--green-900);
  background: var(--yellow);
}

.dashboard-main {
  padding: 28px;
}

.dashboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.dashboard-title span {
  color: var(--green-600);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-title h2 {
  margin: 4px 0 0;
  font-size: 34px;
}

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

.metric-grid article,
.dashboard-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--green-900);
  font-size: 38px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
}

.dashboard-card.wide {
  grid-column: span 2;
}

.dashboard-card h3 {
  margin: 0 0 18px;
}

.bar-list {
  display: grid;
  gap: 16px;
}

.bar-list div {
  display: grid;
  grid-template-columns: 54px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.bar-list span,
.bar-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.bar-list b {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--green-500);
}

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.donut {
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: conic-gradient(var(--green-500) 0 48%, var(--blue) 48% 75%, var(--orange) 75% 100%);
  box-shadow: inset 0 0 0 26px white;
}

.donut-wrap ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}

.dot.green { background: var(--green-500); }
.dot.blue { background: var(--blue); }
.dot.orange { background: var(--orange); }

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

th {
  color: var(--muted);
  font-size: 12px;
}

.status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: #8a5a00;
  background: #fff2c1;
  font-size: 12px;
  font-weight: 800;
}

.status.ok {
  color: var(--green-900);
  background: var(--soft-green);
}

.percent-list {
  display: grid;
  gap: 12px;
}

.percent-list p {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
}

.percent-list strong {
  color: var(--green-800);
}

@media (max-width: 1020px) {
  :root {
    --header-height: 112px;
  }

  .header-top {
    min-height: var(--header-height);
    padding: 0 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(330px, 62vw);
    max-height: 94px;
  }

  .social-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links button {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 12px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 4px;
    justify-content: center;
  }

  .hero,
  .split-section,
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-heading,
  .project-layout,
  .project-hero-grid,
  .course-areas,
  .distribution-heading,
  .course-detail-hero,
  .course-detail-content,
  .course-section-heading,
  .course-emphasis-grid,
  .course-module-grid,
  .course-results-grid,
  .course-availability,
  .unit-detail-hero,
  .unit-detail-content {
    grid-template-columns: 1fr;
  }

  .project-heading p {
    grid-column: auto;
  }

  .project-cards,
  .project-impact {
    grid-template-columns: 1fr;
  }

  .home-links {
    grid-template-columns: 1fr;
  }

  .unit-card-grid,
  .unit-summary-grid {
    grid-template-columns: 1fr;
  }

  .distribution-summary,
  .municipality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .field-grid,
  .check-grid,
  .employment-grid {
    grid-template-columns: 1fr;
  }

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

  .course-card.horizontal img {
    min-height: 220px;
    max-height: 280px;
  }

  .course-fact-band {
    grid-template-columns: 1fr;
  }

  .course-fact-band article {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .course-fact-band article:last-child {
    border-bottom: 0;
  }

  .course-detail-hero img {
    min-height: 320px;
  }

  .course-module-grid article {
    min-height: auto;
  }

  .unit-detail-hero img {
    min-height: 300px;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 20px;
    --header-height: 104px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(285px, 66vw);
    max-height: 86px;
  }

  .hero {
    padding: 46px 20px 58px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .project-hero-story,
  .project-hero-stats article {
    padding: 24px;
  }

  .unit-list,
  .metric-grid,
  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .section-block,
  .split-section,
  .project-section,
  .home-links,
  .distribution-section,
  .course-detail-hero,
  .course-detail-content,
  .course-deep-dive,
  .course-detail-cta,
  .course-availability,
  .units-page,
  .unit-detail-hero,
  .unit-detail-content {
    padding: 54px 20px;
  }

  .unit-course-row,
  .unit-about div {
    grid-template-columns: 1fr;
  }

  .unit-course-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-heading h2 {
    font-size: 31px;
  }

  .project-story,
  .course-areas,
  .project-close {
    padding: 22px;
  }

  .section-heading,
  .dashboard-title {
    align-items: start;
    flex-direction: column;
  }

  .distribution-summary,
  .municipality-grid {
    grid-template-columns: 1fr;
  }

  .municipality-grid strong {
    min-height: auto;
  }

  .distribution-table-wrap {
    margin-right: -20px;
    border-right: 0;
    border-radius: 10px 0 0 10px;
  }

  .footer-inner {
    padding: 54px 20px 38px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 18px 20px 24px;
  }

  .form-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }

  .form-header {
    border-radius: 0;
  }

  .signup-form,
  .dashboard-main {
    padding: 18px;
  }

  .form-footer {
    flex-direction: column;
  }
}
