:root {
  --ink: #173153;
  --muted: #5d6b7d;
  --blue: #0f67b1;
  --green: #33a852;
  --yellow: #ffd35a;
  --orange: #ff8a3d;
  --pink: #f25f91;
  --sky: #eaf7ff;
  --paper: #fffdf6;
  --line: rgba(23, 49, 83, .12);
  --shadow: 0 18px 40px rgba(18, 51, 84, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 253, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--orange) 48%, var(--green));
  border-radius: 50%;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Baloo 2", "Nunito", Arial, sans-serif;
  line-height: 1.04;
}

.brand strong {
  display: block;
  font-size: 1.25rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  color: var(--muted);
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(9, 28, 51, .72), rgba(9, 28, 51, .24) 58%, rgba(9, 28, 51, .08));
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(680px, calc(100% - 36px));
  margin: 0 0 clamp(40px, 8vw, 96px) clamp(18px, 6vw, 84px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  margin: 18px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #173153;
  background: var(--yellow);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
}

.callout .button.secondary {
  color: var(--blue);
  border-color: rgba(15, 103, 177, .35);
  background: #fff;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.intro p:last-child,
.feature-copy p,
.callout-copy p,
.vacancy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

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

.program-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.program-card .icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
}

.program-card.yellow .icon {
  background: var(--orange);
}

.program-card.green .icon {
  background: var(--green);
}

.program-card.blue .icon {
  background: var(--blue);
}

.program-card p {
  margin: 0;
  color: var(--muted);
}

.feature,
.callout,
.vacancy {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.feature-images {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 14px;
}

.feature-images img,
.callout img,
.vacancy img,
.gallery img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-images img:first-child {
  transform: translateY(34px);
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  content: "✓";
  background: var(--green);
  border-radius: 50%;
}

.gallery-section {
  width: min(1280px, calc(100% - 36px));
}

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

.gallery img {
  aspect-ratio: 4 / 3;
  min-height: 0;
  grid-column: span 4;
}

.gallery img:nth-child(1),
.gallery img:nth-child(6) {
  grid-column: span 6;
}

.callout {
  width: min(1160px, calc(100% - 36px));
  padding: clamp(30px, 5vw, 56px);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff6cf, #eaf7ff);
}

.callout img {
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

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

.vacancy img {
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.contact {
  padding-top: 0;
}

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

.contact-grid article {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-grid a {
  color: var(--blue);
  text-decoration: none;
}

.footer {
  padding: 28px 18px;
  color: #fff;
  text-align: center;
  background: var(--ink);
}

.footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 620px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(9, 28, 51, .76), rgba(9, 28, 51, .16));
  }

  .hero-content {
    margin: 0 auto 36px;
  }

  .intro,
  .program-grid,
  .feature,
  .callout,
  .vacancy,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-images img:first-child {
    transform: none;
  }

  .gallery img,
  .gallery img:nth-child(1),
  .gallery img:nth-child(6) {
    grid-column: span 12;
  }
}

@media (max-width: 520px) {
  .brand small {
    max-width: 210px;
  }

  .nav {
    gap: 16px;
    font-size: .95rem;
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

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