:root {
  --ink: #1f2933;
  --muted: #5d6b78;
  --teal: #4aa6a5;
  --teal-dark: #167475;
  --sky: #d9edf7;
  --sun: #f4a73e;
  --coral: #d65b55;
  --leaf: #6f9f73;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: #dde7ea;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  gap: 20px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: var(--sky);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 78vh, 760px);
  overflow: hidden;
  background: #123;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 41, 51, 0.72), rgba(31, 41, 51, 0.28) 58%, rgba(31, 41, 51, 0.1));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  align-self: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 116px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #caeef1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--sun);
  color: #231f20;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 32px));
  margin: -68px auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-info article {
  padding: 28px;
}

.quick-info article:nth-child(1) {
  border-top: 6px solid var(--teal);
}

.quick-info article:nth-child(2) {
  border-top: 6px solid var(--coral);
}

.quick-info article:nth-child(3) {
  border-top: 6px solid var(--sun);
}

.quick-info h2 {
  font-size: 1.35rem;
}

.quick-info p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.section-copy p:first-child {
  margin-top: 0;
}

.section-copy p,
.approach p,
.program-card p,
.tour p {
  color: var(--muted);
}

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

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

.program-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.08);
}

.program-card:hover,
.program-card:focus {
  transform: translateY(-3px);
  outline: 3px solid rgba(74, 166, 165, 0.28);
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card div {
  padding: 20px;
}

.program-card p {
  margin: 0;
}

.approach {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.approach-grid article {
  min-height: 230px;
  padding: 24px;
  border-radius: 8px;
  background: #f7efe3;
}

.approach-grid article:nth-child(2) {
  background: #e5f3f3;
}

.approach-grid article:nth-child(3) {
  background: #f9e7e3;
}

.approach-grid article:nth-child(4) {
  background: #e9f1e5;
}

.parent-focus {
  padding-top: 0;
}

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

.parent-grid article {
  min-height: 225px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
}

.parent-grid article:nth-child(3n + 1) {
  border-top: 6px solid var(--teal);
}

.parent-grid article:nth-child(3n + 2) {
  border-top: 6px solid var(--sun);
}

.parent-grid article:nth-child(3n + 3) {
  border-top: 6px solid var(--coral);
}

.parent-grid p {
  margin: 0;
  color: var(--muted);
}

.tour-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 10px;
}

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

.tour-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.tour-form input,
.tour-form select,
.tour-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b9c8cf;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.tour-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 46px max(16px, calc((100vw - 1120px) / 2));
  background: #1f2933;
  color: var(--white);
}

.footer img {
  width: 190px;
  margin-bottom: 12px;
}

.footer address {
  display: grid;
  align-content: start;
  gap: 10px;
  font-style: normal;
}

.fine-print {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: #ccd6dd;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 8px;
  }

  .quick-info,
  .split,
  .program-grid,
  .approach-grid,
  .parent-grid,
  .tour-panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .quick-info {
    margin-top: -42px;
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 138px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(31, 41, 51, 0.64), rgba(31, 41, 51, 0.58));
  }

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

  .quick-info article {
    padding: 22px;
  }

  .program-card {
    grid-template-rows: 210px 1fr;
    min-height: 350px;
  }

  .tour-form {
    grid-template-columns: 1fr;
  }
}
