:root {
  --bg: #ffffff;
  --text: #18202a;
  --muted: #5d6673;
  --line: rgba(19, 31, 48, 0.10);

  --accent: #f16522; /* bright orange */
  --accent-hover: #d95618;
  --purple: #625299;
  --indigo: #4f46e5;
  --teal: #19b3b1;
  --sky: #2aa9ff;
  --green: #39b54a;
  --yellow: #ffd54a;

  --cream-1: #ffe566;
  --cream-2: #fff6c8;
  --gray-section: #f4f4f4;

  --shadow-lg: 0 18px 45px rgba(19, 31, 48, 0.12);
  --shadow-md: 0 12px 28px rgba(19, 31, 48, 0.10);
  --shadow-sm: 0 10px 18px rgba(19, 31, 48, 0.10);

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 14px;
  padding: 10px 14px;
  background: #0b1220;
  color: #fff;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
  z-index: 999;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Buttons */
.btn {
  --btn-bg: rgba(19, 31, 48, 0.06);
  --btn-bg-hover: rgba(19, 31, 48, 0.10);
  --btn-text: var(--text);
  --btn-border: rgba(19, 31, 48, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    filter 200ms ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--btn-bg-hover, var(--btn-bg));
  box-shadow: var(--shadow-sm);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--accent {
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-text: #fff;
  --btn-border: rgba(0, 0, 0, 0);
}
.btn--accent:hover {
  filter: brightness(0.98);
}
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.92);
  --btn-bg-hover: #ffffff;
  --btn-border: rgba(19, 31, 48, 0.14);
}
.btn--soft {
  --btn-bg: rgba(98, 82, 153, 0.10);
  --btn-bg-hover: rgba(98, 82, 153, 0.16);
  --btn-text: var(--purple);
  --btn-border: rgba(98, 82, 153, 0.18);
}
.btn--lg {
  padding: 14px 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(19, 31, 48, 0.08);
  box-shadow: 0 6px 24px rgba(19, 31, 48, 0.06);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 140px;
}
.brand__logo {
  width: auto;
  height: 80px;
 
  object-fit: contain;
}

.nav {
  justify-self: center;
}
.nav__list {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav__link {
  position: relative;
  font-weight: 600;
  color: rgba(19, 31, 48, 0.80);
  padding: 8px 9px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.nav__link:hover {
  background: rgba(98, 82, 153, 0.10);
  color: rgba(19, 31, 48, 0.92);
}
.nav__link.is-active {
  background: rgba(255, 255, 255, 0.01);
  color: rgba(19, 31, 48, 0.92);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  justify-self: end;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(19, 31, 48, 0.12);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(19, 31, 48, 0.06);
}
.nav-toggle__icon {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: rgba(19, 31, 48, 0.78);
  position: relative;
  border-radius: 999px;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(19, 31, 48, 0.78);
  border-radius: 999px;
}
.nav-toggle__icon::before {
  top: -6px;
}
.nav-toggle__icon::after {
  top: 6px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 56px) 0 clamp(72px, 9vw, 108px);
  background: linear-gradient(180deg, #fff1da 0%, #fff5e9 58%, #ffffff 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__shine {
  display: none;
}

.hero__dots {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image: radial-gradient(rgba(98, 82, 153, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 0;
  mask-image: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.85), transparent 64%);
}

.hero__cloud {
  position: absolute;
  width: 340px;
  height: 200px;
  background: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 22px 24px rgba(19, 31, 48, 0.10));
  border-radius: 999px;
}
.hero__cloud::before,
.hero__cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}
.hero__cloud::before {
  width: 160px;
  height: 160px;
  left: 26px;
  top: -52px;
}
.hero__cloud::after {
  width: 200px;
  height: 200px;
  right: 18px;
  top: -72px;
}
.hero__cloud--left {
  left: -140px;
  top: 110px;
  transform: rotate(-8deg);
  opacity: 0.65;
}
.hero__cloud--right {
  right: -180px;
  top: 20px;
  transform: rotate(10deg);
  opacity: 0.55;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 7; /* Top priority: text */
}

.hero__kicker {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  transform: translateY(-40px);
}

.hero__title {
  margin: 0 0 10px;
  font-family: "Fredoka", "Poppins", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  transform: translateY(-15px);
}

.hero__lead {
  margin: 0 0 22px;
  color: rgba(19, 31, 48, 0.72);
  font-size: 15px;
  max-width: 46ch;
}

.hero__media {
  position: relative;
  display: grid;
  place-items: start start;
  min-height: 400px;
  transform: translateY(-26px);
  z-index: 5; /* Keep Kid layer above intersect/rectangle */
}

.hero__kids {
  width: min(1200px, 145%);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(19, 31, 48, 0.14));
  position: relative;
  z-index: 5; /* Between Union and Intersect */
  transform: translateX(-20%) translateY(6%);
}

.hero__badge {
  position: absolute;
  left: -8%;
  top: 48%;
  z-index: 5;
  display: grid;
  gap: 4px;
  transform: rotate(-6deg);
}

.hero-transition {
  position: relative;
  height: clamp(120px, 16vw, 230px);
  margin-top: -220px;
  margin-bottom: -4px;
  pointer-events: none;
}
.hero-transition__shape {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  height: auto;
  opacity: 0.96;
}
.hero-transition__shape--rectangle {
  width: min(1440px, 116%);
  bottom: 86px;
  z-index: 1; /* Lowest */
}
.hero-transition__shape--intersect {
  width: min(1320px, 108%);
  bottom: 108px;
  z-index: 2; /* Below Kid */
}
.hero-transition__shape--union {
  width: min(1380px, 112%);
  bottom: 82px;
  z-index: 6; /* Above Kid, below text */
}
.hero__badge-start,
.hero__badge-now {
  display: block;
  font-family: "Fredoka", "Poppins", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(19, 31, 48, 0.12);
}
.hero__badge-start {
  background: #ffe566;
  color: #1a1a1a;
}
.hero__badge-now {
  background: #5c2e2e;
  color: #fff;
  margin-left: 12px;
}

.pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(19, 31, 48, 0.10);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}
.pill__value {
  font-weight: 800;
  font-family: "Fredoka", "Poppins", system-ui, sans-serif;
}
.pill__label {
  font-size: 12px;
  color: rgba(19, 31, 48, 0.70);
}
.pill--teal .pill__value {
  color: var(--teal);
}
.pill--purple .pill__value {
  color: var(--purple);
}
.pill--sky .pill__value {
  color: var(--sky);
}

/* Collage */
.photo-collage {
  position: relative;
  width: min(520px, 100%);
  margin-inline: auto;
  padding: 22px;
  border-radius: 32px;
}

.photo-collage__cloud {
  position: absolute;
  inset: auto 0 0 0;
  height: 54%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 26px 30px rgba(19, 31, 48, 0.12));
}
.photo-collage__cloud--back {
  width: 96%;
  left: 2%;
  bottom: 18px;
  transform: rotate(-4deg);
  opacity: 0.9;
}
.photo-collage__cloud--front {
  width: 92%;
  left: 4%;
  bottom: -6px;
  transform: rotate(6deg);
  opacity: 0.95;
}
.photo-collage__cloud::before,
.photo-collage__cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}
.photo-collage__cloud::before {
  width: 52%;
  height: 70%;
  left: 8%;
  top: -32%;
}
.photo-collage__cloud::after {
  width: 58%;
  height: 78%;
  right: 8%;
  top: -38%;
}

.photo-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 14px;
  height: 440px;
  border-radius: 34px;
}

.photo {
  border-radius: 22px;
  border: 2px dashed rgba(19, 31, 48, 0.18);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, rgba(42, 169, 255, 0.25), rgba(98, 82, 153, 0.18));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 0;
  transform: scale(1.02);
  /* Start hidden if the image is still loading; fade in. */
  opacity: 0;
  transition: opacity 220ms ease;
}
.photo__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(19, 31, 48, 0.72);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 31, 48, 0.10);
  padding: 8px 10px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.photo--a {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3;
}
.photo--b {
  grid-column: 4 / span 3;
  grid-row: 1 / span 2;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, rgba(25, 179, 177, 0.24), rgba(255, 213, 74, 0.20));
}
.photo--c {
  grid-column: 4 / span 3;
  grid-row: 3 / span 3;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, rgba(241, 101, 34, 0.22), rgba(98, 82, 153, 0.18));
}
.photo--d {
  grid-column: 1 / span 3;
  grid-row: 4 / span 3;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, rgba(57, 181, 74, 0.22), rgba(42, 169, 255, 0.18));
}

.floating-shape {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  filter: drop-shadow(0 16px 16px rgba(19, 31, 48, 0.14));
}
.floating-shape--star {
  left: -4px;
  top: 24px;
  background: conic-gradient(from 0deg, var(--yellow), #fff, var(--yellow));
  clip-path: polygon(
    50% 6%,
    61% 36%,
    94% 36%,
    67% 56%,
    78% 88%,
    50% 68%,
    22% 88%,
    33% 56%,
    6% 36%,
    39% 36%
  );
  border-radius: 12px;
}
.floating-shape--ring {
  right: 10px;
  top: 46px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 56%, rgba(25, 179, 177, 0.55) 58%, rgba(25, 179, 177, 0.55) 74%, rgba(255, 255, 255, 0) 76%);
}
.floating-shape--spark {
  right: -10px;
  bottom: 52px;
  background: linear-gradient(135deg, rgba(98, 82, 153, 0.5), rgba(42, 169, 255, 0.48));
  transform: rotate(18deg);
  clip-path: polygon(50% 0%, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0% 50%, 38% 36%);
}

/* Sections */
.section-kicker {
  margin: 0 0 10px;
  color: rgba(19, 31, 48, 0.72);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section-title {
  margin: 0 0 10px;
  font-family: "Fredoka", "Poppins", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  position: relative;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 26px;
}
.section-head .section-lead {
  margin-inline: auto;
}

.underline {
  display: block;
  width: 120px;
  height: 10px;
  border-radius: 999px;
  margin-top: 10px;
}
.underline--orange {
  background: linear-gradient(90deg, rgba(241, 101, 34, 0.20), rgba(241, 101, 34, 0.85), rgba(241, 101, 34, 0.20));
}
.underline--yellow {
  background: linear-gradient(90deg, rgba(255, 213, 74, 0.25), rgba(255, 213, 74, 1), rgba(255, 213, 74, 0.25));
}
.section-kicker {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
}
.about__content .section-title .underline {
  margin-inline: 0;
}
.section-head--enroll {
  position: relative;
  padding-right: 120px;
}
.enroll__monkey {
  position: absolute;
  right: 0;
  top: -20px;
  width: min(140px, 28vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(19, 31, 48, 0.12));
  pointer-events: none;
}
.enroll__strip {
  display: none;
}

/* About */
.about {
  padding: clamp(44px, 6vw, 76px) 0;
  background: #fff;
}
.about__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.about__media {
  display: grid;
  place-items: center;
}
.about__photo {
  width: min(860px, 132%);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(19, 31, 48, 0.12));
  transform: translateX(-2%);
}
.about__content .section-lead {
  margin-bottom: 22px;
}

/* Enroll cards */
.enroll {
  padding: clamp(52px, 6.8vw, 84px) 0 clamp(40px, 5vw, 56px);
  background: var(--gray-section);
}

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

.feature-card {
  grid-column: span 3;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.feature-card__photo {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e8e8e8;
}
.feature-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.feature-card__body {
  position: relative;
  margin-top: -14px;
  padding: 30px 18px 52px;
  background: #ffffff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 14px 32px rgba(19, 31, 48, 0.12);
  filter: drop-shadow(0 8px 18px rgba(19, 31, 48, 0.06));
}

.feature-card__body::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 28px;
  background:
    radial-gradient(circle at 14px 100%, #ffffff 13px, transparent 13.6px);
  background-size: 28px 28px;
  background-repeat: repeat-x;
  background-position: center top;
  pointer-events: none;
}

.feature-card__dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.feature-card--orange .feature-card__dot {
  background: var(--accent);
}
.feature-card--green .feature-card__dot {
  background: var(--green);
}
.feature-card--sky .feature-card__dot {
  background: var(--sky);
}
.feature-card--yellow .feature-card__dot {
  background: #ffbf1b;
}

.feature-card__title {
  margin: 0 0 8px;
  font-family: "Fredoka", "Poppins", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.25;
}
.feature-card__text {
  margin: 0;
  color: rgba(19, 31, 48, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.arrow-btn {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0);
  box-shadow: 0 16px 24px rgba(19, 31, 48, 0.16);
  transform: translateY(0);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    filter 200ms ease,
    background 200ms ease;
}
.arrow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 28px rgba(19, 31, 48, 0.20);
  filter: brightness(0.96);
}
.arrow-btn:active {
  transform: translateY(0);
}
.arrow-btn--orange:hover {
  background: linear-gradient(135deg, #ff6f2e, var(--accent-hover));
}
.arrow-btn__icon {
  font-weight: 900;
  font-size: 18px;
  color: #fff;
}

.arrow-btn--orange {
  background: linear-gradient(135deg, #ff7a3a, var(--accent));
}
.arrow-btn--green {
  background: linear-gradient(135deg, #4bd85e, var(--green));
}
.arrow-btn--sky {
  background: linear-gradient(135deg, #50c0ff, var(--sky));
}
.arrow-btn--yellow {
  background: linear-gradient(135deg, #ffe38b, #ffbf1b);
}

/* Footer */
.site-footer {
  position: relative;
  background: #ffffff;
  color: var(--text);
  overflow: clip;
}

.footer__top {
  padding: clamp(30px, 5vw, 54px) 0 16px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.3fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.footer__col {
  min-width: 0;
}
.footer__col--logo {
  padding-top: 8px;
}
.footer__logo-full {
  width: min(210px, 100%);
  height: auto;
  object-fit: contain;
}

.footer__title {
  margin: 0 0 12px;
  font-family: "Fredoka", "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  position: relative;
}
.footer__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(241, 101, 34, 0.2), rgba(241, 101, 34, 0.9), rgba(241, 101, 34, 0.2));
}
.footer__title--small {
  margin-top: 16px;
  font-size: 18px;
}

.footer__label {
  margin: 10px 0 2px;
  font-weight: 500;
  color: rgba(19, 31, 48, 0.62);
}
.footer__text {
  margin: 0;
  color: rgba(19, 31, 48, 0.84);
  line-height: 1.45;
}
.footer__text--mt {
  margin-top: 14px;
}
.footer__license {
  margin-top: 10px;
  font-weight: 700;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  background: #f4f4f4;
  border: 1px solid rgba(19, 31, 48, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.footer__newsletter input {
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font: inherit;
  color: rgba(19, 31, 48, 0.88);
}
.footer__newsletter input::placeholder {
  color: rgba(19, 31, 48, 0.46);
}
.footer__newsletter input:focus {
  outline: none;
}
.footer__newsletter button {
  border: 0;
  background: var(--accent);
  color: #fff;
  width: 44px;
  cursor: pointer;
  font-size: 16px;
}

.footer__train-wrap {
  margin-top: 12px;
  line-height: 0;
}
.footer__train {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  object-position: center bottom;
}

/* Responsive */
@media (max-width: 980px) {
  .header__inner {
    grid-template-columns: 1fr auto auto;
  }
  .nav {
    justify-self: end;
  }
  .nav__list {
    gap: 10px;
  }
  .header__cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__kids {
    width: min(1400px, 100%);
    transform: translateX(-8%) translateY(4%);
  }
  .hero__badge {
    left: 0;
    top: 46%;
  }
  .photo-grid {
    height: 380px;
  }

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

  .feature-card {
    grid-column: span 6;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__title {
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: 66px 14px auto 14px;
    background: #ffffff;
    border: 1px solid rgba(19, 31, 48, 0.12);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 6px;
  }
  .nav__link {
    padding: 12px 14px;
  }
  .brand__logo {
    height: 78px;
    max-width: min(260px, 62vw);
  }

  .nav-open .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__media {
    min-height: 430px;
    place-items: end center;
  }
  .hero__kids {
    transform: translateX(-4%) translateY(0);
  }
  .hero__badge {
    left: 2%;
    top: 20%;
  }
  .hero-transition {
    height: clamp(90px, 16vw, 150px);
    margin-top: -125px;
    margin-bottom: -2px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer__logo-full {
    width: min(200px, 74%);
  }
  .footer__title {
    font-size: 22px;
  }
  .footer__train {
    max-height: 120px;
  }

  .photo-grid {
    height: 340px;
    gap: 12px;
  }

  .feature-card {
    grid-column: span 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}