:root {
  --navy: #17324d;
  --navy-deep: #0f2438;
  --sage: #7f9f8b;
  --sage-light: #dfe9e2;
  --cream: #f7f4ed;
  --white: #ffffff;
  --gold: #c9a65c;
  --text: #243341;
  --muted: #667684;
  --line: #d9e1e5;
  --shadow: 0 24px 60px rgba(23, 50, 77, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  min-height: 82px;
  padding: 16px clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 50, 77, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 26px;
}

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

.brand strong { font-size: 17px; line-height: 1.2; }
.brand small { color: var(--muted); margin-top: 3px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { background: var(--navy-deep); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; }

.hero {
  min-height: 740px;
  padding: clamp(70px, 9vw, 130px) clamp(22px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  background:
    radial-gradient(circle at 85% 15%, rgba(127,159,139,.20), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7f4ed 100%);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  color: var(--sage);
}

h1, h2, h3 {
  color: var(--navy);
  margin-top: 0;
}

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.5vw, 88px);
}

h2 { font-size: clamp(38px, 4.8vw, 64px); margin-bottom: 22px; }
h3 { font-size: 22px; margin-bottom: 12px; }

.hero-copy {
  max-width: 680px;
  font-size: 19px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.trust-row {
  margin-top: 42px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-row span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-visual { position: relative; min-height: 500px; }

.arch-card {
  position: absolute;
  inset: 0;
  border-radius: 240px 240px 32px 32px;
  overflow: hidden;
  background: #d9e6de;
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: #edcc7b;
  top: 85px;
  right: 75px;
}

.hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
  bottom: -90px;
}

.hill-one {
  width: 130%;
  height: 58%;
  left: -20%;
  background: #8baa93;
}

.hill-two {
  width: 115%;
  height: 42%;
  right: -28%;
  background: #688775;
}

.little-house {
  position: absolute;
  width: 180px;
  height: 145px;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  background: var(--cream);
  border-radius: 8px;
}

.roof {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 115px solid transparent;
  border-right: 115px solid transparent;
  border-bottom: 92px solid var(--navy);
  top: -82px;
  left: -25px;
}

.door {
  position: absolute;
  width: 48px;
  height: 78px;
  background: var(--gold);
  bottom: 0;
  left: 66px;
  border-radius: 22px 22px 0 0;
}

.window {
  position: absolute;
  width: 33px;
  height: 38px;
  background: #bcd5df;
  top: 42px;
  border: 5px solid var(--white);
}

.window-one { left: 20px; }
.window-two { right: 20px; }

.floating-note {
  position: absolute;
  right: -24px;
  bottom: 32px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.floating-note strong,
.floating-note span { display: block; }
.floating-note strong { color: var(--navy); }
.floating-note span { color: var(--muted); font-size: 13px; margin-top: 4px; }

.intro-strip {
  padding: 28px 22px;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.5vw, 30px);
}

.intro-strip p { margin: 0; }

.section {
  padding: clamp(78px, 10vw, 145px) clamp(22px, 7vw, 110px);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 130px);
}

.body-copy {
  color: var(--muted);
  font-size: 18px;
}

.section-tinted { background: var(--cream); }

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.section-heading.narrow { max-width: 670px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card {
  min-height: 310px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--white);
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(23, 50, 77, 0.06);
}

.card-number,
.feature-icon {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .1em;
}

.program-card p,
.feature-grid p { color: var(--muted); }

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-section {
  padding: clamp(80px, 10vw, 150px) 22px;
  background: var(--sage);
  color: var(--white);
  text-align: center;
}

.quote-section blockquote {
  max-width: 1050px;
  margin: 0 auto;
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.2;
}

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(45px, 8vw, 120px);
  background: var(--cream);
}

.contact-copy > p { color: var(--muted); font-size: 18px; }
.contact-details { margin-top: 34px; }
.contact-details a { color: var(--navy); font-weight: 700; }

.contact-form {
  padding: clamp(26px, 4vw, 48px);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 17px;
}

input, select, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

textarea { resize: vertical; }
.contact-form small { display: block; margin-top: 12px; color: var(--muted); }

.site-footer {
  padding: 42px clamp(22px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
}

.site-footer strong,
.site-footer a { color: var(--white); }
.site-footer p { margin: 6px 0 0; }

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

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

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

  .hero { min-height: auto; }
  .hero-visual { min-height: 520px; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 12px 16px; }
  .brand small { display: none; }
  .brand strong { font-size: 14px; }

  h1 { font-size: 48px; }
  h2 { font-size: 40px; }

  .hero,
  .section { padding-left: 20px; padding-right: 20px; }

  .hero-visual { min-height: 420px; }
  .floating-note { right: 8px; bottom: 18px; }

  .feature-grid { grid-template-columns: 1fr; }

  .site-footer {
    flex-direction: column;
    padding: 36px 20px;
  }
}
