:root {
  --ink: #16231d;
  --muted: #5f6b65;
  --leaf: #1f7651;
  --leaf-dark: #14583b;
  --leaf-soft: #e8f3ed;
  --sun: #f2c14e;
  --mist: #f7f8f5;
  --stone: #eef1ec;
  --white: #ffffff;
  --line: rgba(22, 35, 29, 0.11);
  --line-strong: rgba(22, 35, 29, 0.18);
  --shadow: 0 18px 46px rgba(22, 35, 29, 0.08);
  --shadow-soft: 0 8px 24px rgba(22, 35, 29, 0.06);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.section,
.hero,
.legal-main {
  scroll-margin-top: 84px;
}

.shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(22, 35, 29, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 218px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 700;
}

.nav-links a {
  border-radius: 999px;
  padding: 0.56rem 0.82rem;
}

.nav-links a,
.footer-links a,
.contact-links a {
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: var(--leaf-soft);
  color: var(--leaf);
}

.footer-links a:hover,
.contact-links a:hover {
  color: var(--leaf-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 118, 81, 0.28);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.78rem 1.12rem;
  border: 1px solid transparent;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24) inset;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button-primary {
  background: var(--leaf);
  color: var(--white);
}

.button-primary:hover {
  background: var(--ink);
}

.button-whatsapp {
  background: #25d366;
  color: var(--ink);
}

.button-whatsapp:hover {
  background: var(--sun);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--leaf);
  color: var(--leaf);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding-top: 72px;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.99) 0%, rgba(247, 248, 245, 0.92) 45%, rgba(247, 248, 245, 0.16) 100%),
    linear-gradient(0deg, rgba(22, 35, 29, 0.08), rgba(22, 35, 29, 0));
}

.hero-content {
  position: relative;
  display: flex;
  min-height: calc(92vh - 72px);
  align-items: center;
  padding-block: 88px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-sun {
  color: var(--sun);
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(3.05rem, 7.2vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-copy > p:not(.eyebrow),
.lead {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-white {
  background: var(--white);
}

.section-mist {
  background: var(--mist);
}

.section-dark {
  background: linear-gradient(135deg, #16231d 0%, #20372b 100%);
  color: var(--white);
}

.section-dark .lead,
.dark-card p,
.dark-card h2 {
  color: rgba(255, 255, 255, 0.8);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 72px);
}

.split-end {
  align-items: end;
}

.stat-grid,
.feature-grid,
.programme-grid,
.two-cards {
  display: grid;
  gap: 18px;
}

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

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 44px;
}

.programme-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

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

.section-intro {
  max-width: 760px;
}

.card,
.quote-panel,
.legal-content,
.inquiry-form {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  border-color: rgba(31, 118, 81, 0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.programme-grid .card {
  display: flex;
  min-height: 150px;
  align-items: flex-end;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.stat-card h3 {
  margin-top: 0.7rem;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}

.stats-band {
  border-block: 1px solid rgba(22, 35, 29, 0.06);
}

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

.step-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  padding: 22px;
}

.step-card span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--leaf);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
}

.step-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.pill-grid span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.light-pills span {
  border-color: var(--line);
  background: var(--leaf-soft);
}

.large-card {
  min-height: 390px;
  padding: 34px;
}

.large-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.dark-card {
  border-color: var(--ink);
  background: linear-gradient(135deg, #16231d 0%, #244231 100%);
  color: var(--white);
}

.quote-panel {
  overflow: hidden;
  border: 1px solid rgba(31, 118, 81, 0.15);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

.quote-panel blockquote {
  max-width: 900px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.75rem, 3.8vw, 3.05rem);
  font-weight: 800;
  line-height: 1.25;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-links a {
  color: var(--leaf);
}

.contact-links p {
  margin: 0;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  max-width: 620px;
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 38px;
  padding: 0.5rem 0.75rem;
}

textarea {
  min-height: 112px;
  padding: 0.72rem 0.85rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(34, 113, 79, 0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.form-status {
  margin: 0;
  color: var(--leaf);
  font-size: 0.92rem;
  font-weight: 800;
}

address {
  margin-top: 1.2rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}

.map-button {
  margin-top: 24px;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-top,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-top img {
  width: 190px;
}

.footer-top p {
  margin: 0;
}

.footer-links {
  justify-content: flex-start;
  flex-wrap: wrap;
  font-weight: 700;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.legal-nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-main {
  padding: 64px 0 88px;
}

.legal-main h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.updated {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.legal-content {
  display: grid;
  gap: 32px;
  margin-top: 40px;
  padding: 40px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--ink);
  font-size: 1.55rem;
}

.legal-content p {
  margin: 0.75rem 0 0;
}

@media (max-width: 980px) {
  .shell {
    width: min(100% - 32px, 1280px);
  }

  .nav {
    gap: 12px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    grid-auto-rows: min-content;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 12px 16px 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    border-radius: var(--radius);
    padding: 14px 12px;
  }

  .split,
  .two-cards {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 34px;
  }

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

  .hero-scrim {
    background: linear-gradient(90deg, rgba(247, 248, 245, 0.98) 0%, rgba(247, 248, 245, 0.9) 64%, rgba(247, 248, 245, 0.42) 100%);
  }
}

@media (max-width: 680px) {
  .section,
  .hero,
  .legal-main {
    scroll-margin-top: 68px;
  }

  .shell {
    width: min(100% - 28px, 1280px);
  }

  .nav {
    min-height: 64px;
  }

  .brand img {
    width: min(174px, 48vw);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    top: 64px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding-inline: 14px;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-content {
    min-height: 660px;
    align-items: end;
    padding-block: 56px 44px;
  }

  .hero-scrim {
    background: linear-gradient(0deg, var(--mist) 8%, rgba(247, 248, 245, 0.94) 52%, rgba(247, 248, 245, 0.34) 100%);
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
    line-height: 1.1;
  }

  h3 {
    font-size: 1.12rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    line-height: 1.5;
  }

  .hero-copy > p:not(.eyebrow),
  .lead {
    font-size: 1rem;
    line-height: 1.68;
  }

  .section {
    padding: 64px 0;
  }

  .stat-grid,
  .feature-grid,
  .programme-grid,
  .pill-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .programme-grid {
    margin-top: 30px;
  }

  .button-row,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .form-actions .button {
    width: 100%;
  }

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

  .quote-panel,
  .large-card,
  .legal-content,
  .inquiry-form {
    padding: 24px;
  }

  .large-card {
    min-height: auto;
  }

  .card {
    padding: 22px;
  }

  .programme-grid .card {
    min-height: auto;
  }

  .pill-grid {
    margin-top: 24px;
  }

  .map-frame iframe {
    height: 320px;
  }

  .legal-nav {
    min-height: auto;
    padding-block: 18px;
  }

  .legal-main {
    padding: 48px 0 64px;
  }

  .footer-top,
  .footer-links,
  .legal-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(100% - 24px, 1280px);
  }

  .hero-content {
    min-height: 620px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.65rem, 9vw, 2.25rem);
  }

  .button {
    min-height: 48px;
    padding-inline: 0.9rem;
  }

  .stat-card h3 {
    font-size: 1.35rem;
  }

  .quote-panel blockquote {
    font-size: 1.55rem;
  }

  .footer-top img,
  .legal-nav .brand img {
    width: min(178px, 72vw);
  }
}
