:root {
  --ink: #1f2b34;
  --muted: #5b6f82;
  --paper: #fffaf0;
  --cream: #fff6df;
  --sun: #ffd23f;
  --sun-dark: #e4aa18;
  --leaf: #61bd3c;
  --leaf-dark: #2f7e25;
  --sky: #20a9df;
  --blue: #073f9e;
  --coral: #ff6258;
  --line: rgba(31, 43, 52, 0.12);
  --shadow: 0 22px 55px rgba(20, 48, 68, 0.14);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(32, 169, 223, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(255, 210, 63, 0.22), transparent 30rem),
    #fffdf6;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 22px;
  left: 50%;
  width: min(calc(100% - 44px), 1260px);
  min-height: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 24px;
  border: 3px solid rgba(255, 210, 63, 0.78);
  border-radius: 30px 18px 30px 18px;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -9px;
  width: 180px;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sun), var(--coral), var(--sky));
  opacity: 0.9;
}

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

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(7, 63, 158, 0.18);
}

.brand strong {
  display: block;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--leaf-dark);
  max-width: 300px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.main-nav a {
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  color: #111b24;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: #18212a;
  background: var(--sun);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--sun);
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-slider {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
  background: #11354a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 160px max(8vw, 26px) 110px;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 700ms ease, transform 1200ms ease;
  transform: scale(1.02);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 35, 52, 0.82), rgba(8, 35, 52, 0.42) 48%, rgba(8, 35, 52, 0.18)),
    linear-gradient(0deg, rgba(8, 35, 52, 0.7), transparent 42%);
}

.hero-slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--sun);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  color: #1d242a;
  background: var(--sun);
}

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

.slider-arrow {
  position: absolute;
  z-index: 4;
  top: 55%;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  color: var(--coral);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  z-index: 5;
  bottom: 62px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--sun);
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  right: max(8vw, 28px);
  bottom: 38px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

main > section:not(.hero-slider) {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
  padding: 88px 0;
}

.hello-card {
  position: relative;
  margin-top: -34px;
  padding: 42px !important;
  border: 2px solid rgba(32, 169, 223, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 210, 63, 0.34), transparent 18rem),
    #fff;
  box-shadow: var(--shadow);
}

.hello-card h2 {
  color: var(--blue);
}

.hello-card p:last-child {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.13rem;
}

.about-card p + p {
  margin-top: 16px;
}

.lead-text {
  color: var(--coral);
  font-size: clamp(1.25rem, 2vw, 1.7rem) !important;
  font-weight: 950;
}

.activity-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: start;
  border-top: 2px solid rgba(255, 210, 63, 0.6);
  border-bottom: 2px solid rgba(32, 169, 223, 0.18);
}

.activity-highlight h2 {
  color: var(--blue);
}

.activity-highlight p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 1.08rem;
}

.adaptation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.adaptation-steps {
  display: grid;
  gap: 16px;
}

.adaptation-steps article {
  padding: 24px;
  border: 2px solid rgba(47, 126, 37, 0.16);
  border-radius: 24px 14px 24px 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 48, 68, 0.07);
}

.adaptation-steps strong,
.adaptation-steps span {
  display: block;
}

.adaptation-steps strong {
  color: var(--blue);
  font-size: 1.15rem;
}

.adaptation-steps span {
  margin-top: 8px;
  color: var(--muted);
}

.enrolment-docs {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.documents-card {
  padding: 30px;
  border: 2px solid rgba(32, 169, 223, 0.18);
  border-radius: 24px 14px 24px 14px;
  background:
    linear-gradient(135deg, rgba(255, 210, 63, 0.16), transparent 34%),
    #fff;
  box-shadow: 0 16px 36px rgba(20, 48, 68, 0.08);
}

.documents-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.2rem;
}

.documents-card li {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.5;
}

.parent-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.parent-info .info-card {
  padding: 30px;
  border-left: 8px solid var(--sun);
}

.parent-info .info-card:nth-child(2) {
  border-left-color: var(--leaf);
}

.parent-info span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.parent-info h2 {
  color: var(--blue);
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.parent-info p {
  margin-top: 16px;
  font-size: 1.06rem;
}

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

.benefit {
  min-height: 310px;
  padding: 34px;
  border: 2px solid rgba(31, 43, 52, 0.08);
  border-radius: 34px 18px 34px 18px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(20, 48, 68, 0.08);
}

.benefit-icon {
  display: grid;
  width: 86px;
  height: 86px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 42% 58% 52% 48%;
  color: var(--sun-dark);
  background: #fff0ca;
  font-size: 2.3rem;
  font-weight: 900;
}

.benefit-icon.coral {
  color: var(--sun);
  background: var(--coral);
}

.benefit-icon.blue {
  color: var(--sun);
  background: var(--blue);
}

.benefit p {
  margin-top: 18px;
  font-size: 1.04rem;
}

.locations-home,
.intro,
.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.locations-home h2,
.intro h2,
.split h2,
.city-hero h1 {
  color: var(--ink);
}

.locations-home p:not(.eyebrow),
.intro p:not(.eyebrow),
.split p,
.city-hero p {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
}

.location-cards,
.feature-list,
.contact-list {
  display: grid;
  gap: 18px;
}

.location-card,
.feature-card,
.contact-card,
.info-card,
.form-card {
  border: 2px solid rgba(32, 169, 223, 0.16);
  border-radius: 24px 14px 24px 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 36px rgba(20, 48, 68, 0.08);
}

.location-card {
  display: block;
  padding: 24px;
  text-decoration: none;
}

.location-card span {
  color: var(--leaf-dark);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card strong {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 1.55rem;
  line-height: 1.15;
}

.location-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.location-card.muted {
  opacity: 0.82;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
  overflow-x: auto;
}

.gallery-strip img,
.photo-grid img {
  width: 100%;
  height: 240px;
  border-radius: 24px 12px 24px 12px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(20, 48, 68, 0.1);
}

.city-hero {
  padding-top: 170px !important;
}

.city-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
}

.page-hero,
.city-hero {
  background:
    radial-gradient(circle at top left, rgba(32, 169, 223, 0.12), transparent 27rem),
    radial-gradient(circle at top right, rgba(255, 210, 63, 0.22), transparent 25rem);
}

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

.feature-card,
.info-card,
.contact-card {
  padding: 26px;
}

.feature-card h3,
.info-card h3,
.contact-card h3 {
  color: var(--blue);
}

.feature-card p,
.info-card p,
.contact-card p {
  margin-top: 10px;
}

.form-card {
  padding: 28px;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 2px solid rgba(32, 169, 223, 0.16);
  border-radius: 24px 14px 24px 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 48, 68, 0.08);
}

.inquiry-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.inquiry-submit {
  width: fit-content;
  min-width: 220px;
}

.inquiry-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 1.6em;
  color: var(--muted);
  font-weight: 900;
}

.form-status.success {
  color: var(--leaf-dark);
}

.form-status.error {
  color: var(--coral);
}

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

label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  border: 2px solid rgba(31, 43, 52, 0.12);
  border-radius: 14px;
  padding: 0.85rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 80px;
  padding: 44px max(7vw, 24px);
  color: #fff;
  background:
    radial-gradient(circle at 14% 35%, rgba(255, 210, 63, 0.24), transparent 16rem),
    linear-gradient(135deg, #073f9e, #0c6e9a 58%, #2f7e25);
}

.site-footer p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible,
.hero-slide.active .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 82px;
    padding: 12px 16px;
  }

  .brand img {
    width: 60px;
    height: 60px;
  }

  .main-nav {
    position: fixed;
    inset: 92px 18px auto;
    display: none;
    padding: 16px;
    border: 2px solid rgba(255, 210, 63, 0.8);
    border-radius: 22px;
    background: #fffdf6;
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: grid;
  }

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

  .hero-slide {
    padding-top: 136px;
  }

  .locations-home,
  .intro,
  .split,
  .contact-section,
  .activity-highlight,
  .adaptation-section,
  .enrolment-docs,
  .parent-info,
  .benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 22px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand strong {
    font-size: 1.45rem;
  }

  .brand small {
    max-width: 220px;
    font-size: 0.62rem;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .hero-slider {
    min-height: 92vh;
  }

  .hero-slide {
    padding: 126px 22px 108px;
  }

  .hero-actions {
    display: grid;
  }

  .slider-arrow {
    top: auto;
    bottom: 28px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }

  .slider-dots {
    bottom: 42px;
  }

  .scroll-cue {
    display: none;
  }

  main > section:not(.hero-slider) {
    width: min(100% - 28px, var(--max));
    padding: 58px 0;
  }

  .hello-card {
    padding: 26px !important;
  }

  .benefit {
    min-height: auto;
    padding: 26px;
  }

  .form-grid,
  .inquiry-section,
  .inquiry-form .form-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
