:root {
  --ink: #16212a;
  --muted: #5d6a74;
  --paper: #fffdfa;
  --sun: #ffd447;
  --school-blue: #2e3192;
  --red: #f5282c;
  --aqua: #13afd7;
  --leaf: #00a85a;
  --violet: #4e43bc;
  --coral: #f5282c;
  --line: rgba(22, 33, 42, 0.12);
  --shadow: 0 24px 80px rgba(22, 33, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 16px 18px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 16px 42px rgba(22, 33, 42, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--school-blue);
  color: var(--sun);
  font-family: Nunito, sans-serif;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Nunito, sans-serif;
  font-size: 1rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.language-select {
  width: auto;
  height: 38px;
  border-radius: 999px;
  padding: 0 28px 0 12px;
  background: #fff;
  color: var(--school-blue);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.main-nav a {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 10px 14px;
  color: #33414b;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.main-nav a::after,
.button::after,
.contact-pills a::after,
.gallery-notes button::after,
.text-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 26%, var(--sun) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 22%, var(--aqua) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 78%, var(--red) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 82%, var(--leaf) 0 3px, transparent 4px);
  transform: scale(0.78) rotate(-4deg);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, 1.35, .5, 1);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 212, 71, 0.34);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.82),
    0 0 0 6px rgba(19, 175, 215, 0.2);
  color: var(--school-blue);
  transform: translateY(-2px) rotate(-1deg);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.button:hover::after,
.button:focus-visible::after,
.contact-pills a:hover::after,
.contact-pills a:focus-visible::after,
.gallery-notes button:hover::after,
.gallery-notes button:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: clamp(28px, 5vw, 70px);
  min-height: 92vh;
  overflow: hidden;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 84px) 50px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=1800&q=86");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 253, 250, 0.82) 48%, rgba(255, 253, 250, 0.38) 100%),
    linear-gradient(140deg, rgba(255, 212, 71, 0.44), rgba(19, 175, 215, 0.18) 45%, rgba(245, 40, 44, 0.15));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrowTime {
  margin: 0 0 12px;
  color: var(--school-blue);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: Nunito, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--school-blue);
  font-size: clamp(3.7rem, 9.5vw, 7.8rem);
  font-weight: 900;
}

h2 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 900;
}

h3 {
  font-size: 1.35rem;
}

.hero-content > p:not(.eyebrow) {
  max-width: 570px;
  margin: 18px 0 0;
  color: #2c3a43;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 700;
}

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

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-family: Inter, sans-serif;
  font-size: 0.96rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.2, 1.35, .5, 1), box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  filter: saturate(1.16);
  transform: translateY(-4px) rotate(-1deg);
  outline: 0;
}

.button.primary {
  background: var(--school-blue);
  color: #fff;
  box-shadow: 0 16px 34px rgba(46, 49, 146, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow:
    0 18px 34px rgba(46, 49, 146, 0.3),
    0 0 0 4px rgba(255, 212, 71, 0.9),
    0 0 0 8px rgba(19, 175, 215, 0.35);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(22, 33, 42, 0.12);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  box-shadow:
    0 16px 30px rgba(22, 33, 42, 0.14),
    0 0 0 4px rgba(19, 175, 215, 0.28),
    0 0 0 8px rgba(255, 212, 71, 0.44);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin-top: 48px;
}

.hero-stats > span {
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(22, 33, 42, 0.08);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-stats strong {
  display: block;
  color: var(--school-blue);
  font-family: Nunito, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-stats em {
  display: block;
  font-style: normal;
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, 100%);
  gap: 14px;
  align-self: center;
  justify-self: end;
  isolation: isolate;
}

.hero-logo::before {
  content: none;
}

.hero-logo img {
  position: relative;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 10px rgba(255, 253, 250, 0.78))
    drop-shadow(0 24px 34px rgba(22, 33, 42, 0.18));
}

.contact-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-pills a {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--school-blue);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(46, 49, 146, 0.2);
  transition: transform 180ms cubic-bezier(.2, 1.35, .5, 1), box-shadow 180ms ease, filter 180ms ease;
}

.contact-pills a:hover,
.contact-pills a:focus-visible {
  filter: saturate(1.18);
  outline: 0;
  transform: translateY(-3px) rotate(1deg);
  box-shadow:
    0 18px 32px rgba(46, 49, 146, 0.24),
    0 0 0 4px rgba(255, 253, 250, 0.86),
    0 0 0 8px rgba(255, 212, 71, 0.4);
}

.social-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-pills a:first-child {
  background: linear-gradient(90deg, var(--red), var(--violet));
}

.section {
  padding: 92px clamp(20px, 6vw, 84px);
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 34px;
}

.intro {
  background:
    linear-gradient(120deg, rgba(255, 212, 71, 0.26), transparent 42%),
    linear-gradient(270deg, rgba(19, 175, 215, 0.18), transparent 50%);
}

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

.feature-card,
.class-card,
.quote-panel,
.visit-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(22, 33, 42, 0.08);
}

.feature-card {
  min-height: 250px;
  padding: 24px;
}

.feature-card .icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: #fff;
  font-size: 1.5rem;
}

.feature-card .icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card:nth-child(2) .icon {
  background: var(--coral);
}

.feature-card:nth-child(3) .icon {
  background: var(--violet);
}

.feature-card p,
.class-card p,
.split-copy p,
.visit-copy p {
  color: var(--muted);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: #f5f7ff;
}

.split-copy {
  position: sticky;
  top: 120px;
}

.text-link {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  margin-top: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--school-blue);
  font-weight: 900;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  background: rgba(255, 212, 71, 0.32);
  box-shadow: 0 0 0 4px rgba(19, 175, 215, 0.16);
  outline: 0;
  transform: translateY(-2px) rotate(-1deg);
}

.map-link {
  display: inline-flex;
  max-width: 560px;
  margin-top: 18px;
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(22, 33, 42, 0.08);
  color: var(--school-blue);
  font-weight: 900;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.map-link:hover,
.map-link:focus-visible {
  background: rgba(255, 212, 71, 0.34);
  box-shadow:
    0 16px 34px rgba(22, 33, 42, 0.12),
    0 0 0 4px rgba(19, 175, 215, 0.2);
  outline: 0;
  transform: translateY(-2px);
}

.map-preview {
  position: relative;
  display: block;
  width: min(560px, 100%);
  height: clamp(230px, 26vw, 310px);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: #dfe8df;
  box-shadow: 0 18px 48px rgba(22, 33, 42, 0.12);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.08) contrast(0.96);
  pointer-events: none;
}

.map-preview::after {
  content: attr(data-map-label);
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 250, 0.92);
  color: var(--school-blue);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(22, 33, 42, 0.12);
}

.map-preview:hover,
.map-preview:focus-visible {
  box-shadow:
    0 22px 52px rgba(22, 33, 42, 0.16),
    0 0 0 4px rgba(255, 212, 71, 0.5),
    0 0 0 8px rgba(19, 175, 215, 0.18);
  outline: 0;
  transform: translateY(-3px);
}

.map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.96);
  box-shadow:
    0 18px 34px rgba(22, 33, 42, 0.24),
    0 0 0 8px rgba(255, 212, 71, 0.36);
  pointer-events: none;
  transform: translate(-50%, -88%);
}

.map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 8px);
  width: 18px;
  height: 18px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 8px 8px 18px rgba(22, 33, 42, 0.16);
  transform: translateX(-50%) rotate(45deg);
}

.map-marker img {
  position: relative;
  z-index: 1;
  width: 68px;
  filter: drop-shadow(0 5px 8px rgba(22, 33, 42, 0.16));
}

.class-list {
  display: grid;
  gap: 14px;
}

.class-card {
  padding: 24px;
  border-left: 9px solid var(--sun);
}

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

.class-card:nth-child(3) {
  border-left-color: var(--coral);
}

.class-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.class-card strong {
  display: block;
  margin: 4px 0 8px;
  font-family: Nunito, sans-serif;
  font-size: 1.7rem;
}

.spaces {
  background: var(--paper);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

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

.gallery-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 150px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 33, 42, 0.12);
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms cubic-bezier(.2, 1.35, .5, 1), filter 180ms ease;
}

.gallery-thumb::after {
  content: "+";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.88);
  color: var(--school-blue);
  font-family: Nunito, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(22, 33, 42, 0.14);
  backdrop-filter: blur(12px);
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  filter: saturate(1.12);
  outline: 0;
  transform: translateY(-4px) rotate(-1deg);
  box-shadow:
    0 18px 36px rgba(22, 33, 42, 0.16),
    0 0 0 4px rgba(255, 253, 250, 0.92),
    0 0 0 8px rgba(255, 212, 71, 0.38);
}

.gallery-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-notes button {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  margin: 0;
  border: 0;
  border-radius: 8px;
  padding: 18px;
  background: var(--school-blue);
  color: #fff;
  font-family: Nunito, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.08;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.2, 1.35, .5, 1), box-shadow 180ms ease, filter 180ms ease;
}

.gallery-notes button:hover,
.gallery-notes button:focus-visible {
  filter: saturate(1.2);
  outline: 0;
  transform: translateX(6px) rotate(-1deg);
  box-shadow:
    0 18px 34px rgba(22, 33, 42, 0.16),
    0 0 0 4px rgba(255, 253, 250, 0.92),
    0 0 0 8px rgba(19, 175, 215, 0.24);
}

.gallery-notes button:nth-child(6n + 1) {
  background: var(--school-blue);
}

.gallery-notes button:nth-child(6n + 2) {
  background: var(--sun);
  color: var(--school-blue);
}

.gallery-notes button:nth-child(6n + 3) {
  background: var(--red);
}

.gallery-notes button:nth-child(6n + 4) {
  background: var(--leaf);
}

.gallery-notes button:nth-child(6n + 5) {
  background: var(--aqua);
}

.gallery-notes button:nth-child(6n) {
  background: var(--violet);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 212, 71, 0.28), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(19, 175, 215, 0.26), transparent 32%),
    radial-gradient(circle at 50% 92%, rgba(245, 40, 44, 0.18), transparent 36%),
    rgba(22, 33, 42, 0.42);
  backdrop-filter: blur(18px) saturate(1.28);
}

.gallery-modal__panel {
  position: relative;
  display: grid;
  width: min(980px, 100%);
  min-height: min(720px, 82vh);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.28)),
    linear-gradient(45deg, rgba(255, 212, 71, 0.18), rgba(19, 175, 215, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 30px 90px rgba(22, 33, 42, 0.34);
  backdrop-filter: blur(26px) saturate(1.35);
}

.gallery-modal__figure {
  display: grid;
  gap: 14px;
  margin: 0;
}

.gallery-modal__image {
  width: 100%;
  max-height: min(620px, 68vh);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(22, 33, 42, 0.22);
  object-fit: contain;
}

.gallery-modal__caption,
.gallery-modal__count {
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.gallery-modal__caption {
  font-family: Nunito, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
}

.gallery-modal__count {
  margin-top: 8px;
  color: var(--school-blue);
}

.gallery-modal__close,
.gallery-modal__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.8);
  color: var(--school-blue);
  box-shadow: 0 14px 34px rgba(22, 33, 42, 0.18);
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-modal__close:hover,
.gallery-modal__close:focus-visible,
.gallery-modal__nav:hover,
.gallery-modal__nav:focus-visible {
  outline: 0;
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 18px 38px rgba(22, 33, 42, 0.22),
    0 0 0 5px rgba(255, 212, 71, 0.32);
}

.gallery-modal__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.gallery-modal__nav {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 2.9rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-modal__nav:hover,
.gallery-modal__nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.gallery-modal__nav--prev {
  left: 18px;
}

.gallery-modal__nav--next {
  right: 18px;
}

.testimonials {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  background: #fff6cf;
}

.quote-panel {
  padding: clamp(26px, 5vw, 48px);
}

.quote-panel p {
  margin: 0;
  font-family: Nunito, sans-serif;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
}

.quote-panel span {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 900;
}

.quote-panel.accent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--sun);
}

.quote-panel.accent p {
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: stretch;
  background:
    linear-gradient(145deg, rgba(46, 49, 146, 0.16), transparent 42%),
    linear-gradient(20deg, rgba(95, 194, 105, 0.22), transparent 48%);
}

.visit-copy {
  display: flex;
  flex-direction: column;
}

.visit-form {
  display: grid;
  min-height: 100%;
  align-content: space-between;
  gap: clamp(18px, 2.4vw, 28px);
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
}

label {
  display: grid;
  gap: 8px;
  color: #33414b;
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

input:focus,
select:focus {
  border-color: var(--aqua);
  outline: 3px solid rgba(0, 184, 176, 0.18);
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--school-blue);
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 6vw, 84px);
  background: var(--school-blue);
  color: #fff;
  font-weight: 800;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-credit {
  opacity: 0.86;
  font-size: 0.88rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  opacity: 1;
  outline: 0;
  transform: translateY(-2px);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .site-header {
    border-radius: 24px;
    gap: 10px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
    order: 3;
  }

  .main-nav {
    position: absolute;
    inset: calc(100% + 10px) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 10px;
    background: rgba(255, 253, 250, 0.96);
    box-shadow: 0 20px 50px rgba(22, 33, 42, 0.16);
  }

  .main-nav.is-open {
    display: flex;
  }

  .language-switcher {
    margin-left: auto;
    order: 2;
  }

  .hero {
    min-height: 96vh;
    padding-top: 130px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(255, 253, 250, 0.88) 56%, rgba(255, 253, 250, 0.48) 100%),
      linear-gradient(180deg, rgba(255, 212, 71, 0.24), rgba(19, 175, 215, 0.18));
  }

  .hero,
  .hero-stats,
  .feature-grid,
  .split,
  .gallery,
  .testimonials,
  .visit {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    align-self: start;
    max-width: 540px;
  }

  .visit-form {
    min-height: auto;
    align-content: start;
  }

  .split-copy {
    position: static;
  }

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

  .gallery-thumb {
    min-height: 160px;
  }
}

@media (max-width: 560px) {
  .site-header {
    inset: 10px 10px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 8px;
  }

  .brand {
    overflow: hidden;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .language-switcher {
    margin-left: 0;
  }

  .language-switcher span {
    display: none;
  }

  .language-select {
    height: 42px;
    max-width: 72px;
    padding-inline: 10px;
  }

  .main-nav {
    grid-column: 1 / -1;
    inset: calc(100% + 8px) 0 auto;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .hero {
    padding-top: 118px;
  }

  .gallery-photos {
    grid-template-columns: 1fr;
  }

  .gallery-photos.reveal {
    opacity: 1;
    transform: none;
  }

  .gallery-thumb {
    aspect-ratio: 1 / 1;
  }

  .gallery-modal {
    padding: 12px;
  }

  .gallery-modal__panel {
    min-height: auto;
    padding: 62px 12px 18px;
  }

  .gallery-modal__image {
    max-height: 64vh;
  }

  .gallery-modal__nav {
    top: auto;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 2.3rem;
    transform: none;
  }

  .gallery-modal__nav:hover,
  .gallery-modal__nav:focus-visible {
    transform: scale(1.04);
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 5.1rem);
  }

  .section {
    padding-block: 68px;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats > span {
    min-height: auto;
  }

  .button {
    width: 100%;
  }

  .quote-panel p {
    font-size: 1.7rem;
  }
}
