:root {
  --bg: #fffdf2;
  --surface: #ffffff;
  --surface-soft: #fff2cc;
  --primary: #ff3f8f;
  --primary-dark: #b01664;
  --accent: #ffcf24;
  --blue: #0478d8;
  --green: #14a84a;
  --purple: #7b2bc5;
  --ink: #16275a;
  --muted: #52607a;
  --border: #ffd78a;
  --shadow: 0 20px 60px rgba(22, 39, 90, 0.14);
  --body-font: "Nunito", Inter, ui-sans-serif, system-ui, sans-serif;
  --display-font: "Bree Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    var(--body-font);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 207, 36, 0.35), transparent 28rem),
    radial-gradient(circle at top right, rgba(4, 120, 216, 0.12), transparent 30rem),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(239, 213, 220, 0.8);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: #b01664;
  background: linear-gradient(135deg, #fff4c9, #ffe3ee);
  border: 1px solid rgba(255, 190, 216, 0.95);
  border-radius: 50%;
  font-size: 1.55rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(176, 22, 100, 0.12);
}

.brand-name,
.brand-subtitle {
  display: block;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 0.95;
  color: #b01664;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-subtitle {
  margin-top: 0.2rem;
  color: #17305c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary-dark);
  background: var(--surface-soft);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--primary);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--primary-dark);
}

.menu-button {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  color: var(--primary-dark);
  background: var(--surface);
  font-weight: 800;
}

.hero,
.page-hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 2rem;
  align-items: center;
  min-height: 72vh;
  padding: 4rem 0;
}

.promo-hero {
  min-height: auto;
}

.room-hero,
.rotating-hero {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 2rem));
  margin-top: 1.25rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 242, 0.98) 0%, rgba(255, 253, 242, 0.94) 45%, rgba(255, 253, 242, 0.78) 100%),
    url("assets/images/kid-room-background.jpg") center right / cover no-repeat;
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  box-shadow: var(--shadow);
}

.rotating-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  width: 100%;
  min-height: 80vh;
  margin-top: 0;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 5rem);
  background: var(--ink);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.rotating-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 39, 90, 0.58) 0%, rgba(22, 39, 90, 0.3) 42%, rgba(22, 39, 90, 0.18) 100%),
    linear-gradient(180deg, rgba(22, 39, 90, 0.08), rgba(22, 39, 90, 0.12)),
    radial-gradient(circle at 20% 20%, rgba(255, 207, 36, 0.14), transparent 28rem);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.room-hero::after,
.rotating-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 10px;
  background: linear-gradient(90deg, #ff3f8f, #ffcf24, #14a84a, #0478d8, #7b2bc5);
}

.rotating-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  color: #fff;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(90deg, rgba(22, 39, 90, 0.48), rgba(22, 39, 90, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2rem;
  box-shadow: 0 18px 44px rgba(22, 39, 90, 0.16);
  backdrop-filter: blur(8px);
}

.homepage-hero-content {
  margin-left: clamp(1.25rem, 8vw, 7rem);
}

.rotating-hero .hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
}

.tour-card {
  align-self: center;
  justify-self: end;
  max-width: 380px;
}

.rotating-hero .eyebrow,
.rotating-hero .hero-copy {
  color: #fff;
}

.rotating-hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1rem;
  color: #8a2758;
  background: linear-gradient(135deg, rgba(255, 231, 241, 0.96), rgba(255, 247, 205, 0.94));
  border: 1px solid rgba(255, 190, 216, 0.95);
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow:
    0 12px 28px rgba(22, 39, 90, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  text-shadow: none;
  backdrop-filter: blur(10px);
}

.rotating-hero .hero-note {
  padding: 0;
  color: #ffd6e7;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
}

.rotating-hero .hero-copy {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.hero h1,
.page-hero h1 {
  font-family: var(--display-font);
  margin: 0;
  max-width: 1040px;
  color: #fff;
  font-size: clamp(2.35rem, 5.8vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero h1::first-line {
  color: #fff;
}

.hero-copy,
.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.8rem;
  padding: 0.4rem 0.72rem;
  color: #8a2758;
  background: linear-gradient(135deg, #ffe7f0, #fff4c9);
  border: 1px solid rgba(255, 190, 216, 0.9);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.card-actions {
  margin-top: 1.25rem;
  flex-wrap: nowrap;
}

.card-actions .button {
  flex: 1 1 0;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ff6b2f);
  box-shadow: 0 12px 24px rgba(217, 72, 127, 0.25);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.hero-badges span {
  padding: 0.55rem 0.8rem;
  color: #17305c;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(22, 39, 90, 0.08);
  backdrop-filter: blur(8px);
}

.hero-badges span:nth-child(1) {
  background: rgba(255, 231, 239, 0.9);
  color: var(--primary-dark);
}

.hero-badges span:nth-child(2) {
  background: rgba(255, 246, 202, 0.92);
  color: #6a4300;
}

.hero-badges span:nth-child(3) {
  background: rgba(224, 247, 232, 0.9);
  color: #0f6230;
}

.hero-badges span:nth-child(4) {
  background: rgba(224, 241, 255, 0.9);
  color: #07518e;
}

.promo-visual {
  padding: 0.75rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 207, 36, 0.32), transparent 9rem),
    radial-gradient(circle at 88% 12%, rgba(255, 63, 143, 0.2), transparent 10rem),
    linear-gradient(135deg, #fff4c9, #ffe7f0 58%, #fffdf2);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.promo-visual img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  border-radius: 1.35rem;
}

.landing-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.landing-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.landing-photo-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 240px;
  padding: 0.9rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ff6b2f);
  border: 3px solid #fff;
  border-radius: 1.35rem;
  box-shadow: 0 14px 30px rgba(22, 39, 90, 0.18);
}

.landing-photo-badge span,
.landing-photo-badge strong {
  display: block;
}

.landing-photo-badge span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-photo-badge strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.gallery-banner {
  max-width: 760px;
  margin-inline: auto;
  transform: none;
  padding: clamp(0.85rem, 2vw, 1.35rem);
}

.hero-card,
.soft-panel,
.card,
.contact-form,
.contact-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
}

.bright-card {
  background: rgba(255, 255, 255, 0.92);
}

.tour-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.tour-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3rem;
  margin: 0;
  padding: 0.65rem 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, #ff5a7a, #ff2f86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(255, 47, 134, 0.32);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.sun-icon {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  color: var(--primary-dark);
  background: #fff4c9;
  border-radius: 50%;
  font-size: 2rem;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 0.55rem 0;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  margin-right: 0.55rem;
  color: var(--primary);
  font-weight: 900;
}

.section {
  padding: 3rem 0;
}

.at-a-glance {
  padding-top: 1.5rem;
}

.at-a-glance,
.welcome-section,
.programs-showcase,
.why-section,
.aligned-gallery {
  width: min(1180px, calc(100% - 2rem));
}

.welcome-section {
  max-width: 1180px;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.welcome-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: 1.75rem 2rem;
  background:
    radial-gradient(circle at 98% 80%, rgba(255, 63, 143, 0.12), transparent 10rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 226, 0.92));
  border: 1px solid rgba(255, 215, 138, 0.9);
  border-radius: 1.8rem;
  box-shadow: 0 16px 42px rgba(22, 39, 90, 0.08);
}

.welcome-card::after {
  content: "";
  position: absolute;
  right: 1.9rem;
  bottom: 0.9rem;
  width: 190px;
  height: 42px;
  background: url("data:image/svg+xml,%3Csvg width='190' height='42' viewBox='0 0 190 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 31C32 21 63 23 96 27C121 30 146 28 160 14' stroke='%23ff6fa6' stroke-width='2' stroke-linecap='round' opacity='.68'/%3E%3Cpath d='M170 16C164 7 150 9 151 22C152 32 166 36 170 40C174 36 188 32 189 22C190 9 176 7 170 16Z' stroke='%23ff6fa6' stroke-width='2.2' stroke-linejoin='round' opacity='.82'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.welcome-card::before {
  content: none;
}

.welcome-illustration {
  display: grid;
  min-height: 120px;
  place-items: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), transparent 2.2rem),
    linear-gradient(135deg, #fff4c9, #ffe3ee);
  border: 1px solid rgba(255, 190, 216, 0.8);
  border-radius: 1.5rem;
}

.home-icon {
  font-size: 4.25rem;
  filter: drop-shadow(0 8px 14px rgba(22, 39, 90, 0.12));
}

.welcome-copy {
  min-width: 0;
}

.welcome-section h2 {
  margin: 0.25rem 0 0.55rem;
  max-width: 760px;
  color: #17305c;
  font-family: var(--body-font);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.welcome-section p {
  color: var(--muted);
  font-size: 1rem;
}

.welcome-copy > p:last-child {
  max-width: 820px;
  margin-bottom: 0;
}

.welcome-copy .eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  color: #d83f7c;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  font-family: var(--display-font);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.section-heading.centered {
  overflow: hidden;
}

.section-heading.centered .eyebrow {
  position: relative;
  align-items: center;
  gap: 0.85rem;
  color: var(--primary);
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  font-family: var(--display-font);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
}

.section-heading.centered .eyebrow::before,
.section-heading.centered .eyebrow::after {
  content: "";
  display: block;
  width: clamp(2rem, 8vw, 5rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: 0.75;
}

.section-heading.centered .eyebrow::after {
  background: linear-gradient(90deg, currentColor, transparent);
}

.big-tab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.big-tab {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.7rem;
  box-shadow: 0 14px 36px rgba(22, 39, 90, 0.08);
}

.big-tab::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  opacity: 0.28;
}

.big-tab.pink::after {
  background: var(--primary);
}

.big-tab.yellow::after {
  background: var(--accent);
}

.big-tab.green::after {
  background: var(--green);
}

.big-tab.blue::after {
  background: var(--blue);
}

.big-tab.purple::after {
  background: var(--purple);
}

.big-tab h3 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.25rem;
}

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

.highlights,
.card-grid,
.placeholder-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.highlights article,
.card {
  padding: 1.5rem;
}

.highlights article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px rgba(22, 39, 90, 0.07);
}

.icon {
  font-size: 1.8rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.split h2,
.section-heading h2,
.cta-band h2 {
  font-family: var(--display-font);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.soft-panel {
  padding: 2rem;
  background: linear-gradient(135deg, #fff, #fff1fb 45%, #fff7ca);
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-heading.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered p {
  color: var(--muted);
}

.section-heading.centered .eyebrow,
.centered .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.centered .eyebrow {
  color: #8a2758;
}

.section-heading.centered .eyebrow {
  color: var(--primary);
}

.program-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.program-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 0 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  box-shadow: 0 18px 44px rgba(22, 39, 90, 0.1);
}

.program-card img {
  display: block;
  width: calc(100% + 2.7rem);
  height: 190px;
  margin: 0 -1.35rem 0.25rem;
  object-fit: cover;
}

.program-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
  margin: -2.35rem auto 1rem;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(22, 39, 90, 0.12);
  font-size: 1.7rem;
}

.program-icon.baby {
  background: #ffe3ee;
}

.program-icon.toddler {
  background: #fff3bd;
}

.program-icon.preschool {
  background: #dff0ff;
}

.program-icon.school {
  background: #e8f7d8;
}

.program-card h3 {
  margin: 0 0 0.55rem;
  text-align: center;
  font-size: 1.35rem;
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-items: start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.7rem;
  box-shadow: 0 14px 36px rgba(22, 39, 90, 0.08);
}

.why-card h3 {
  grid-column: 2;
  margin: 0 0 0.35rem;
  align-self: center;
}

.why-card p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.why-icon {
  grid-row: 1 / span 2;
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border-radius: 1.2rem;
  font-size: 1.7rem;
  font-weight: 900;
}

.why-icon.shield {
  color: #fff;
  background: var(--primary);
}

.why-icon.heart {
  background: #ffe3ee;
}

.why-icon.graduation {
  background: #fff3bd;
}

.why-icon.apple {
  background: #e8f7d8;
}

.why-icon.book {
  background: #f0e6ff;
}

.why-icon.leaf {
  background: #e1f8e9;
}

.why-icon.puzzle {
  background: #dff0ff;
}

.why-icon.globe {
  background: #e0f1ff;
}

.why-icon.handshake {
  background: #fff0d8;
}

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

.final-cta {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  overflow: hidden;
  padding: 2.25rem;
}

.cta-heart {
  display: grid;
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border-radius: 50%;
  font-size: 2.6rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(22, 39, 90, 0.09);
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p,
.split p,
.cta-band p,
.contact-card,
.privacy-note {
  color: var(--muted);
}

.text-link {
  color: var(--primary-dark);
  font-weight: 900;
}

.gallery-preview,
.gallery-full {
  padding-top: 3rem;
}

.placeholder-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.preview-photos {
  margin-bottom: 1rem;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.8rem;
  box-shadow: 0 16px 42px rgba(22, 39, 90, 0.1);
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.photo-card figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(22, 39, 90, 0.08);
}

.photo-placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 1rem;
  color: var(--primary-dark);
  background:
    linear-gradient(135deg, rgba(255, 63, 143, 0.14), rgba(255, 207, 36, 0.28)),
    #fff;
  border: 2px dashed var(--border);
  border-radius: 1.8rem;
  font-weight: 900;
  text-align: center;
}

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

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3.2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #fff2cc, #ffe1ef);
  border: 1px solid var(--border);
  border-radius: 2rem;
}

.page-hero {
  position: relative;
  margin-top: 1.25rem;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 207, 36, 0.28), transparent 15rem),
    radial-gradient(circle at 10% 20%, rgba(255, 63, 143, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 224, 0.94));
  border: 1px solid rgba(255, 215, 138, 0.95);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 820px;
  color: var(--primary-dark);
  font-size: clamp(2.2rem, 5vw, 4.15rem);
}

.page-hero p {
  color: var(--ink);
}

.centered {
  text-align: center;
}

.centered p {
  margin-inline: auto;
}

.centered-actions {
  justify-content: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: start;
}

.contact-form,
.contact-card {
  padding: 2rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(217, 72, 127, 0.22);
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hidden-field {
  display: none;
}

.contact-card dl {
  display: grid;
  gap: 0.75rem;
}

.contact-card dt {
  color: var(--ink);
  font-weight: 900;
}

.contact-card dd {
  margin: 0 0 0.5rem;
}

.contact-card iframe {
  width: 100%;
  height: 260px;
  margin-top: 1rem;
  border: 0;
  border-radius: 1.25rem;
}

.large-text {
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer .brand-name {
  margin-bottom: 0.2rem;
}

.site-footer a,
.site-footer span {
  display: block;
}

.site-footer a {
  color: var(--primary-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
  }

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

  .site-nav.simple-nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .rotating-hero {
    min-height: 760px;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .room-hero {
    background:
      linear-gradient(180deg, rgba(255, 253, 242, 0.98) 0%, rgba(255, 253, 242, 0.9) 100%),
      url("assets/images/kid-room-background.jpg") center bottom / cover no-repeat;
  }

  .highlights,
  .card-grid,
  .big-tab-grid,
  .program-card-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .homepage-hero-content {
    margin-left: 0;
  }

  .tour-card {
    align-self: auto;
    max-width: none;
  }

  .welcome-card {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.35rem;
  }

  .home-icon {
    font-size: 3.25rem;
  }

  .placeholder-grid,
  .photo-grid,
  .gallery-full {
    grid-template-columns: 1fr 1fr;
  }

  .photo-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-subtitle {
    font-size: 0.76rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .section {
    padding: 2.25rem 0;
  }

  .welcome-section {
    padding-top: 1.5rem;
    padding-bottom: 0.75rem;
  }

  .at-a-glance {
    padding-top: 1.25rem;
  }

  .section-heading {
    margin-bottom: 1.15rem;
  }

  .rotating-hero {
    align-content: end;
    min-height: 68vh;
    padding: 1.5rem 1rem 1rem;
    gap: 0.75rem;
  }

  .rotating-hero::before {
    background:
      linear-gradient(180deg, rgba(22, 39, 90, 0.08) 0%, rgba(22, 39, 90, 0.18) 36%, rgba(22, 39, 90, 0.52) 100%),
      radial-gradient(circle at 50% 60%, rgba(255, 207, 36, 0.14), transparent 22rem);
  }

  .hero-slide {
    object-position: center top;
  }

  .homepage-hero-content {
    width: 100%;
    padding: 1.15rem;
    background: rgba(22, 39, 90, 0.52);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 34px rgba(22, 39, 90, 0.18);
  }

  .rotating-hero .hero-content,
  .rotating-hero .hero-copy {
    color: #fff;
  }

  .rotating-hero .hero-copy {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
  }

  .rotating-hero .hero-badges {
    gap: 0.45rem;
  }

  .hero-badges span {
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
  }

  .tour-card {
    width: 100%;
    padding: 1rem;
    border-radius: 1.35rem;
    box-shadow: 0 14px 34px rgba(22, 39, 90, 0.18);
  }

  .tour-card .sun-icon,
  .tour-card p,
  .tour-card .check-list {
    display: none;
  }

  .tour-card h2 {
    margin: 0;
    text-align: center;
    font-size: 1.25rem;
  }

  .tour-card h2::after {
    content: "Now enrolling for weekday care.";
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
  }

  .card-actions {
    margin-top: 0.85rem;
  }

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

  .button {
    text-align: center;
  }

  .highlights,
  .card-grid,
  .big-tab-grid,
  .program-card-grid,
  .why-grid,
  .placeholder-grid,
  .photo-grid,
  .gallery-full,
  .form-row {
    grid-template-columns: 1fr;
  }

  .photo-card.wide {
    grid-column: span 1;
  }

  .cta-band,
  .why-card,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-card {
    display: block;
  }

  .welcome-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .welcome-card::after {
    right: 1rem;
    bottom: 0.75rem;
    width: 125px;
    height: 30px;
  }

  .welcome-card::before {
    content: none;
  }

  .welcome-illustration {
    width: 120px;
    min-height: 95px;
    margin-inline: auto;
  }

  .why-icon {
    margin-bottom: 1rem;
  }

  .program-card {
    min-height: auto;
  }

  .final-cta {
    padding: 1.5rem;
  }
}
