:root {
  --ink: #182322;
  --muted: #60706d;
  --line: #d9e5e1;
  --surface: #f6faf8;
  --white: #ffffff;
  --brand: #247b75;
  --brand-dark: #14514e;
  --accent: #7aa342;
  --soft: #e8f3ef;
  --shadow: 0 16px 34px rgba(20, 81, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--white);
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.5;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

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

.nav {
  display: flex;
  max-width: 1160px;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.72);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--brand);
}

.hero {
  min-height: min(660px, calc(100svh - 76px));
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(246, 250, 248, 0.96),
      rgba(246, 250, 248, 0.82) 45%,
      rgba(246, 250, 248, 0.2)
    ),
    url("./hero.png") center right / cover no-repeat;
}

.hero-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 76px 24px 96px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(39px, 5.5vw, 70px);
}

h2 {
  font-size: clamp(28px, 3.8vw, 43px);
}

h3 {
  font-size: 19px;
}

p {
  margin: 0;
}

.lead {
  max-width: 600px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1),
    background 160ms ease;
}

.button:hover {
  background: var(--brand-dark);
}

.button:active {
  transform: scale(0.97);
}

.button.secondary {
  background: var(--white);
  color: var(--brand);
}

.section {
  padding: 76px 24px;
}

.section.soft {
  background: var(--surface);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.intro p,
.text-block p {
  color: var(--muted);
  font-size: 17px;
}

.programs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.program {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

.program-mark {
  width: 34px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.program p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.photo-panel {
  min-height: 390px;
  border-radius: 8px;
  background: url("./process.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  content: "";
}

.checklist li::after {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(42deg);
}

.page-title {
  padding: 78px 24px 54px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-title .wrap {
  display: grid;
  gap: 16px;
}

.page-title p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.content {
  padding: 62px 24px 86px;
}

.narrow {
  max-width: 820px;
  margin: 0 auto;
}

.narrow h2 {
  margin-top: 34px;
  font-size: 24px;
}

.narrow h2:first-child {
  margin-top: 0;
}

.narrow p,
.narrow li {
  color: var(--muted);
  font-size: 16px;
}

.narrow p {
  margin-top: 12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: start;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
}

.contact-box a {
  color: var(--brand-dark);
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  max-width: 1160px;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 880px) {
  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    min-height: 620px;
    background-position: center;
  }

  .hero-inner,
  .section,
  .content,
  .page-title {
    padding-right: 20px;
    padding-left: 20px;
  }

  .intro,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .photo-panel {
    min-height: 280px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 881px) and (max-width: 1060px) {
  .programs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
