:root {
  --red: #e94738;
  --green: #25a75b;
  --blue: #1f84d5;
  --yellow: #f4c534;
  --teal: #0fa987;
  --ink: #10324f;
  --muted: #5b6e7d;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: rgba(16, 50, 79, 0.14);
  --shadow: 0 24px 60px rgba(16, 50, 79, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(244, 197, 52, 0.24), transparent 28%),
    radial-gradient(circle at 86% 6%, rgba(31, 132, 213, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdf7 0%, #eef9ff 44%, #fffaf0 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 8px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 50, 79, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  width: 112px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  font-size: 0.96rem;
  font-weight: 800;
}

.nav-links a {
  color: #254962;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 26px rgba(233, 71, 56, 0.26);
}

.button.secondary {
  color: var(--ink);
  background: var(--yellow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  min-height: calc(100vh - 68px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 76px) 42px;
}

.hero-copy,
.feature-copy,
.contact-card {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 730px;
  font-size: clamp(4rem, 8vw, 8.4rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}

h3 {
  font-size: 1.65rem;
}

.hero-text,
.intro > p,
.feature-copy p,
.contact-card p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.6;
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: clamp(18px, 4vw, 46px);
  overflow: hidden;
  border: 10px solid #ffffff;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #fff4bd 48%, #dff4ff 100%);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 24px;
  content: "";
  transform: rotate(16deg);
}

.hero-visual::before {
  top: -48px;
  right: -44px;
  background: var(--green);
}

.hero-visual::after {
  bottom: -58px;
  left: -48px;
  background: var(--blue);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  filter: drop-shadow(0 20px 28px rgba(16, 50, 79, 0.18));
}

.section {
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

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

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

.program-card {
  position: relative;
  grid-column: span 2;
  min-height: 278px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(16, 50, 79, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    var(--accent-soft);
  box-shadow: 0 16px 36px rgba(16, 50, 79, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--accent);
  content: "";
}

.program-card::after {
  position: absolute;
  top: -46px;
  right: -44px;
  width: 130px;
  height: 130px;
  border-radius: 8px;
  background: var(--accent-soft);
  opacity: 0.9;
  content: "";
  transform: rotate(18deg);
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent), transparent 42%);
  box-shadow: 0 22px 48px rgba(16, 50, 79, 0.14);
}

.program-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
  border-radius: 8px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.4)),
    var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent), transparent 72%);
}

.program-card h3,
.program-card p,
.program-card small {
  position: relative;
  z-index: 1;
}

.program-card h3 {
  max-width: 10ch;
  min-height: 3.2rem;
}

.program-card p,
.timeline span,
.site-footer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
}

.program-card small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  color: color-mix(in srgb, var(--accent), #0f2f4c 36%);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--accent-soft);
}

.program-card.red {
  --accent: var(--red);
  --accent-soft: rgba(233, 71, 56, 0.12);
}

.program-card.green {
  --accent: var(--green);
  --accent-soft: rgba(37, 167, 91, 0.12);
}

.program-card.blue {
  --accent: var(--blue);
  --accent-soft: rgba(31, 132, 213, 0.12);
}

.program-card.yellow {
  --accent: var(--yellow);
  --accent-soft: rgba(244, 197, 52, 0.18);
}

.program-card.teal {
  --accent: var(--teal);
  --accent-soft: rgba(15, 169, 135, 0.12);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(64px, 8vw, 110px) clamp(18px, 5vw, 76px);
  color: var(--white);
  background: linear-gradient(135deg, #12344f 0%, #1f84d5 52%, #25a75b 100%);
}

.feature-band .eyebrow,
.feature-band p {
  color: #fff6b6;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 84px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.timeline strong {
  font-size: 1.15rem;
}

.timeline span {
  color: rgba(255, 255, 255, 0.88);
}

.contact-section {
  width: min(100% - 36px, 1180px);
  margin: 0 auto clamp(54px, 8vw, 92px);
  padding: clamp(36px, 6vw, 64px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.simple-contact {
  text-align: center;
}

.simple-contact p {
  margin-right: auto;
  margin-left: auto;
}

.simple-contact .contact-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 51px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  min-height: 66px;
  padding: 8px clamp(18px, 5vw, 76px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 51px;
  align-self: center;
}

.footer-brand-copy {
  display: grid;
  gap: 3px;
  align-self: center;
  min-width: 0;
}

.site-footer strong {
  font-size: 1.2rem;
  line-height: 1;
}

.site-footer p {
  margin: 0;
  overflow: hidden;
  color: #70808d;
  font-size: 1.08rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  gap: 18px;
  font-weight: 900;
}

.footer-links a {
  display: grid;
  grid-template-columns: 15px auto;
  align-items: center;
  justify-items: start;
  gap: 7px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #254962;
  background: transparent;
  font-size: 1.08rem;
  line-height: 1;
}

.footer-links a span {
  display: block;
  line-height: 1;
}

.footer-links .footer-icon {
  display: block;
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-links svg.footer-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-links a:first-child {
  color: #c13584;
}

.footer-links a:last-child {
  color: var(--green);
}

@media (max-width: 1040px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-card {
    grid-column: span 1;
  }

  .hero,
  .intro,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 8px 12px;
  }

  .brand {
    flex: 0 0 82px;
    width: 82px;
  }

  .brand img {
    height: 34px;
  }

  .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .header-cta {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-visual {
    min-height: 300px;
  }

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

  .timeline div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-section {
    padding: 28px 20px;
  }

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

  .site-footer {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 76px);
  }

  .footer-logo {
    width: 72px;
  }

  .footer-brand-copy {
    display: block;
  }

  .site-footer p {
    margin: 4px 0 0;
    font-size: 1rem;
    line-height: 1.55;
    white-space: normal;
  }

  .footer-links {
    flex-wrap: wrap;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .footer-links a {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfd;
    font-size: 1rem;
  }

  .footer-links .footer-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }
}
