@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@600;700;800;900&display=swap');

:root {
  color-scheme: light;
  --ink: #342640;
  --muted: #716779;
  --berry: #a64079;
  --berry-dark: #84305f;
  --pink: #fbedf3;
  --pink-strong: #f6dce8;
  --mint: #d7eee5;
  --lavender: #eee8fb;
  --cream: #fffaf2;
  --paper: #fffdfd;
  --line: #eee3e9;
  --shadow: 0 18px 50px rgba(66, 38, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.concept-note {
  padding: 8px 20px;
  background: #fff1c8;
  color: #665329;
  text-align: center;
  font-size: 0.8rem;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 253, 253, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-family: Nunito, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
}

.brand-caption {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.main-nav a {
  color: var(--ink);
  font-size: 0.93rem;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:not(.button):hover,
.main-nav a[aria-current="page"] {
  color: var(--berry);
}

.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}

.menu-toggle {
  display: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: white;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 2px solid var(--berry);
  border-radius: 999px;
  background: var(--berry);
  color: white !important;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--berry-dark);
  border-color: var(--berry-dark);
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: var(--berry) !important;
}

.button-outline:hover {
  background: white;
  color: var(--berry-dark) !important;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  background: var(--pink);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 12%;
  left: 3%;
  background: var(--mint);
}

.hero::after {
  right: 2%;
  bottom: -7%;
  width: 260px;
  background: var(--lavender);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.98fr;
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--berry);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Nunito, 'Segoe UI', sans-serif;
  line-height: 1.16;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 4vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-copy,
.page-hero-copy {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-image-wrap {
  padding: 8px;
  border-radius: 36% 36% 28px 28px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-image-wrap img {
  width: 100%;
  height: 390px;
  border-radius: 35% 35% 22px 22px;
  object-fit: cover;
  transform: rotate(-1deg);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.quick-facts li {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #51465a;
  font-size: 0.85rem;
}

.section {
  padding: 82px 0;
}

.section-tint {
  background: #fff8fb;
}

.section-mint {
  background: #f2faf6;
}

.section-heading {
  max-width: 700px;
  margin: 0 0 32px;
}

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

.program-grid,
.feature-grid,
.development-grid,
.gallery-grid,
.info-grid {
  display: grid;
  gap: 22px;
}

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

.program-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 10px 28px rgba(66, 38, 58, 0.05);
}

.program-card > img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 24px 26px 28px;
}

.age-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--berry);
  font-size: 0.84rem;
  font-weight: 800;
}

.card-body p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 17px 0 20px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--berry);
  font-weight: 900;
  content: "✓";
}

.text-link {
  color: var(--berry-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.feature-card,
.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.number-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--pink-strong);
  color: var(--berry-dark);
  font-weight: 900;
}

.feature-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  margin: 0;
  border-radius: 20px;
  background: var(--pink);
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 250ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 253, 253, 0.94);
  font-weight: 700;
}

.review-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border-radius: 24px;
  background: var(--cream);
}

.review-panel p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 850px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-section {
  padding: 58px 0;
  background: var(--berry);
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  margin-bottom: 10px;
}

.cta-inner p {
  max-width: 720px;
  margin: 0;
  color: #f9eaf2;
}

.cta-inner .button {
  flex: 0 0 auto;
  border-color: white;
  background: white;
  color: var(--berry-dark) !important;
}

.page-hero {
  padding: 70px 0;
  background: var(--pink);
}

.page-hero .hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.breadcrumbs {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--berry-dark);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 52px;
}

.split-section img {
  width: 100%;
  min-height: 330px;
  max-height: 460px;
  border-radius: 24px;
  object-fit: cover;
}

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

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

.hours-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  margin: 0;
}

.hours-list dt {
  font-weight: 700;
}

.hours-list dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  counter-increment: step;
}

.steps li::before {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--pink-strong);
  color: var(--berry-dark);
  font-weight: 800;
  content: counter(step);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 32px;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-details .info-card strong {
  display: block;
  margin-bottom: 4px;
}

.contact-details .info-card a {
  color: var(--berry-dark);
}

.tour-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.tour-form h2,
.tour-form h3 {
  margin-bottom: 20px;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d9ccd4;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.form-field textarea {
  min-height: 115px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid #f3d9e7;
  border-color: var(--berry);
}

.form-help,
.form-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status:empty {
  display: none;
}

.site-footer {
  padding: 52px 0 22px;
  background: #342640;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
}

.footer-brand .brand {
  color: white;
}

.footer-brand .brand-caption,
.footer-brand p,
.footer-bottom {
  color: #d8cedb;
}

.footer-brand p {
  max-width: 390px;
  margin: 18px 0 0;
}

.footer-column h2 {
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #e8dfe9;
  text-decoration: none;
}

.footer-column a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .main-nav .button {
    align-self: flex-start;
  }

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

  .hero-grid {
    gap: 38px;
  }

  .hero-image-wrap {
    max-width: 620px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .concept-note {
    font-size: 0.72rem;
  }

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

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

  .brand-caption {
    font-size: 0.7rem;
  }

  .hero,
  .page-hero {
    padding: 52px 0;
  }

  .hero::before {
    width: 110px;
    left: -40px;
  }

  .hero::after {
    width: 150px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  h2 {
    font-size: 2rem;
  }

  .hero-image-wrap img {
    height: 280px;
  }

  .section {
    padding: 58px 0;
  }

  .program-grid,
  .feature-grid,
  .development-grid,
  .gallery-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 240px;
  }

  .review-panel,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-panel {
    padding: 24px;
  }

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

  .form-field-full {
    grid-column: auto;
  }

  .tour-form {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
