:root {
  --paper: #fff6df;
  --paper-soft: #fffaf0;
  --sky: #c9e9ef;
  --sky-strong: #9fd3df;
  --blue: #2e637a;
  --blue-deep: #184057;
  --orange: #ff9856;
  --orange-deep: #e67837;
  --pink: #ffe7ef;
  --pink-strong: #f7b9cc;
  --mint: #dff3df;
  --yellow: #fff1b6;
  --lavender: #e8e9ff;
  --ink: #244254;
  --muted: #667b86;
  --surface: #ffffff;
  --line: rgba(36, 66, 84, 0.12);
  --shadow: 0 24px 70px rgba(55, 92, 111, 0.16);
  --shadow-soft: 0 14px 36px rgba(55, 92, 111, 0.11);
  --radius: 8px;
  --round: 28px;
  --shell: min(1120px, calc(100vw - 40px));
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --z-header: 40;
  --z-menu: 50;
  --z-fixed: 80;
  --ease-soft-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 9% 8%, rgba(255, 231, 239, 0.72), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(223, 243, 223, 0.82), transparent 20rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: page-canvas-in 260ms var(--ease-soft-out) both;
  }

  .site-header {
    animation: header-enter 420ms var(--ease-soft-out) both;
  }

  main > section,
  .site-footer {
    animation: section-enter 520ms var(--ease-soft-out) both;
  }

  main > section:nth-of-type(1) {
    animation-delay: 30ms;
  }

  main > section:nth-of-type(2) {
    animation-delay: 70ms;
  }

  main > section:nth-of-type(3) {
    animation-delay: 105ms;
  }

  main > section:nth-of-type(n + 4) {
    animation-delay: 130ms;
  }

  .site-footer {
    animation-delay: 150ms;
  }
}

@keyframes page-canvas-in {
  from {
    opacity: 0.01;
  }

  to {
    opacity: 1;
  }
}

@keyframes header-enter {
  from {
    opacity: 0.01;
    transform: translate3d(0, -10px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes section-enter {
  from {
    opacity: 0.01;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

button,
input {
  font: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 152, 86, 0.45);
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: var(--z-fixed);
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--blue-deep);
  color: white;
  padding: 0.72rem 0.9rem;
  font-weight: 900;
  transition: transform 160ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.top-contact-bar {
  width: var(--shell);
  margin: 10px auto 0;
  color: var(--blue-deep);
}

.top-contact-inner {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  width: 100%;
}

.top-contact-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.34rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 1000;
  box-shadow: 0 8px 22px rgba(55, 92, 111, 0.08);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  width: var(--shell);
  min-height: 72px;
  margin: 14px auto 0;
  padding: 0.55rem 0.65rem;
  border-radius: 18px;
  background: rgba(201, 233, 239, 0.93);
  box-shadow: 0 12px 34px rgba(46, 99, 122, 0.13);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -10px;
  height: 16px;
  pointer-events: none;
  background:
    radial-gradient(circle at 8px 0, transparent 10px, rgba(201, 233, 239, 0.93) 10px 16px, transparent 17px)
    0 0 / 32px 16px repeat-x;
}

.site-header.is-scrolled {
  background: rgba(201, 233, 239, 0.98);
  box-shadow: 0 18px 44px rgba(46, 99, 122, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 182px;
  min-height: 52px;
  padding: 0.28rem 0.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.12rem;
}

.desktop-nav a,
.nav-parent {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--blue-deep);
  padding: 0.52rem 0.72rem;
  font-size: 0.93rem;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}

.desktop-nav a:hover,
.nav-parent:hover,
.nav-group:focus-within .nav-parent {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.nav-group {
  position: relative;
}

.nav-parent::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.38rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-dropdown {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: var(--z-menu);
  display: grid;
  width: 228px;
  transform: translate(-50%, -6px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.52rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown a {
  justify-content: flex-start;
  min-height: 40px;
  border-radius: 14px;
  padding: 0.55rem 0.68rem;
}

.header-cta,
.button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background-color 160ms ease-out;
}

.header-cta {
  background: var(--orange);
  color: white;
  padding: 0.68rem 1rem;
  box-shadow: 0 10px 22px rgba(230, 120, 55, 0.2);
}

.button {
  gap: 0.4rem;
  padding: 0.78rem 1.18rem;
}

.button.primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 14px 28px rgba(230, 120, 55, 0.22);
}

.button.secondary {
  background: var(--blue-deep);
  color: white;
}

.header-cta:active,
.button:active,
.contact-actions a:active,
.floating-whatsapp:active {
  transform: scale(0.96);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: white;
  color: var(--blue-deep);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100dvh - 28px));
  overflow: hidden;
  margin-top: 18px;
  padding: 88px 0 96px;
  isolation: isolate;
}

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

.hero-bg {
  z-index: -3;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.24;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 246, 223, 0.98) 0%, rgba(255, 246, 223, 0.9) 42%, rgba(255, 246, 223, 0.68) 100%),
    linear-gradient(180deg, rgba(255, 246, 223, 0.18), rgba(255, 246, 223, 0.82));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  height: 34px;
  background:
    radial-gradient(circle at 17px 34px, var(--paper) 0 22px, transparent 23px)
    0 0 / 44px 34px repeat-x;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.9rem);
  justify-content: space-between;
  min-height: 100%;
}

.hero-copy,
.section-copy,
.section-heading,
.profile-card,
.faq-card {
  min-width: 0;
}

.hero-copy {
  transform: none;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--orange-deep);
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.45rem, 7.1vw, 6.7rem);
}

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

h3 {
  font-size: 1.45rem;
}

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

.hero-lead {
  max-width: 560px;
  margin-top: 1.1rem;
  font-size: 1.22rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts span {
  display: inline-grid;
  min-width: 126px;
  min-height: 86px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  padding: 0.9rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.hero-facts strong {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-variant-numeric: tabular-nums;
}

.hero-showcase {
  position: relative;
  align-self: center;
  min-width: 0;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -28px -22px 34px 38px;
  z-index: -1;
  border-radius: 46% 54% 48% 52% / 42% 46% 54% 58%;
  background: rgba(201, 233, 239, 0.78);
  transform: rotate(-4deg);
}

.slider-frame {
  position: relative;
  width: min(100%, 560px);
  margin-left: auto;
  aspect-ratio: 0.96;
  overflow: hidden;
  border: 12px solid white;
  border-radius: 46% 54% 44% 56% / 48% 42% 58% 52%;
  background: white;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms ease, transform 560ms ease;
}

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

.hero-slide img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide figcaption {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  max-width: min(calc(100% - 7rem), 320px);
  margin: 0 0 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-deep);
  padding: 0.52rem 0.85rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 1000;
  box-shadow: 0 12px 26px rgba(24, 64, 87, 0.13);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  width: min(100%, 560px);
  margin: 1rem 0 0 auto;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 64, 87, 0.22);
  padding: 0;
  cursor: pointer;
  transition: width 180ms ease-out, background-color 180ms ease-out, transform 180ms ease-out;
}

.slider-dots button.is-active {
  width: 32px;
  background: var(--orange);
}

.slider-dots button:active {
  transform: scale(0.9);
}

.image-stack img,
.class-card img,
.gallery-rail img {
  outline: 1px solid rgba(0, 0, 0, 0.1);
}

.decor {
  pointer-events: none;
  user-select: none;
}

.section {
  position: relative;
  padding: 68px 0;
}

.trust-band {
  position: relative;
  padding: 34px 0 56px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-grid article {
  min-height: 204px;
  border-radius: 999px 999px 34px 34px;
  background: var(--surface);
  padding: 1.05rem 0.95rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.bubble-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  color: var(--blue-deep);
  font-weight: 1000;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.45);
}

.bubble-icon.blue {
  background: var(--sky);
}

.bubble-icon.yellow {
  background: var(--yellow);
}

.bubble-icon.pink {
  background: var(--pink);
}

.bubble-icon.green {
  background: var(--mint);
}

.trust-grid h2 {
  margin-bottom: 0.42rem;
  font-size: 1.08rem;
  line-height: 1.08;
}

.trust-grid p {
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 700;
}

.split,
.nutrition-grid,
.why-grid,
.guidance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 44px;
}

.image-stack {
  position: relative;
  min-height: 418px;
}

.stack-main,
.stack-small {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.stack-main {
  left: 0;
  top: 18px;
  width: 78%;
  height: 390px;
  aspect-ratio: 0.95;
  border: 12px solid white;
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  object-position: 50% 62%;
}

.stack-small {
  right: 0;
  bottom: 8px;
  width: 54%;
  height: 238px;
  border: 10px solid white;
  border-radius: 42% 58% 55% 45% / 48% 46% 54% 52%;
  object-position: 46% 62%;
}

.section-copy p:not(.eyebrow),
.section-heading p {
  margin-top: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 700;
}

.section-copy h2 {
  max-width: 560px;
}

.check-list,
.food-notes {
  display: grid;
  gap: 0.52rem;
  margin-top: 1.05rem;
}

.check-list span,
.food-notes span {
  position: relative;
  border-radius: 999px;
  background: white;
  padding: 0.58rem 0.9rem 0.58rem 2.05rem;
  color: var(--blue-deep);
  font-size: 0.94rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(55, 92, 111, 0.08);
}

.check-list span::before,
.food-notes span::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--orange);
}

.nutrition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
  align-items: start;
  gap: 22px;
}

.nutrition-story h2,
.nutrition-principles h2 {
  max-width: 760px;
}

.document-card {
  display: grid;
  gap: 0.08rem;
  width: min(360px, 100%);
  margin: 1rem 0 1.1rem;
  border-radius: 22px;
  background: var(--sky);
  padding: 1rem 1.1rem;
  color: var(--blue-deep);
  box-shadow: var(--shadow-soft);
}

.document-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.document-card strong {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}

.meal-times {
  position: sticky;
  top: 112px;
}

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

.nutrition-checks span {
  border-radius: 20px;
  padding-block: 0.82rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--orange-deep);
  font-weight: 1000;
}

.class-section {
  position: relative;
  overflow: visible;
}

.class-section::before {
  content: "";
  position: absolute;
  inset: -150px 0 -110px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 36%, rgba(232, 233, 255, 0.58), rgba(232, 233, 255, 0.18) 34%, transparent 66%),
    radial-gradient(circle at 84% 70%, rgba(223, 243, 223, 0.46), rgba(223, 243, 223, 0.14) 38%, transparent 70%);
}

.class-section > .shell {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 1.45rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.class-card {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.class-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.class-card div {
  padding: 0.82rem;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 0.18rem 0.56rem;
  font-size: 0.78rem;
  font-weight: 1000;
}

.class-card h3 {
  margin-top: 0.42rem;
  font-size: 1.18rem;
}

.class-card p {
  margin-top: 0.18rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.class-card strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--orange-deep);
  font-size: 0.84rem;
  font-weight: 1000;
}

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

.class-grid-detail .class-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
  min-height: auto;
  border-radius: 30px;
  padding: 8px;
}

.class-grid-detail .class-card > img {
  width: calc(100% - 16px);
  height: 252px;
  margin: 8px 8px 0;
  border-radius: 20px;
  aspect-ratio: auto;
}

.class-grid-detail .class-card > div:not(.class-photo-slider):not(.class-card-header) {
  display: block;
  padding: 1rem 1.1rem 1.1rem;
}

.class-grid-detail .class-card > .class-card-header {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  padding: 0.85rem 0.75rem 0.12rem;
  text-align: center;
}

.class-card-header h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(1.42rem, 2vw, 1.85rem);
  line-height: 1;
}

.class-card-header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 0.26rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 1000;
}

.class-photo-slider {
  position: relative;
  display: block;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 38px;
  background: white;
  padding: 0;
  box-shadow: 0 14px 30px rgba(55, 92, 111, 0.1);
}

.class-photo-track {
  position: relative;
  display: block;
  height: clamp(218px, 20vw, 286px);
  overflow: hidden;
  border-radius: 30px;
  background: var(--paper-soft);
  padding: 0;
}

.class-photo-trigger {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.class-photo-slider .class-photo-trigger {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.class-photo-slider .class-photo-trigger.is-active {
  opacity: 1;
  pointer-events: auto;
}

.class-photo-trigger:focus-visible {
  outline: 4px solid rgba(255, 145, 82, 0.42);
  outline-offset: 3px;
}

.class-photo-trigger img {
  display: block;
  transition: transform 220ms ease, filter 220ms ease;
}

.class-photo-trigger:hover img {
  filter: saturate(1.04);
  transform: scale(1.025);
}

.class-photo-slider .class-photo-trigger img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  aspect-ratio: auto;
  object-fit: cover;
}

.class-card-single .class-photo-trigger img {
  object-position: center center;
}

.class-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(22, 70, 95, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
}

.class-slider-prev {
  left: 12px;
}

.class-slider-next {
  right: 12px;
}

.class-slider-nav:focus-visible {
  outline: 4px solid rgba(255, 145, 82, 0.42);
  outline-offset: 3px;
}

.class-slider-nav:hover {
  background: var(--orange);
  color: white;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(16, 49, 68, 0.72);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.photo-lightbox img {
  display: block;
  max-width: min(1040px, 94vw);
  max-height: 86vh;
  border: 10px solid white;
  border-radius: 30px;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(9, 36, 52, 0.3);
}

.photo-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--blue-deep);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.photo-lightbox-close:focus-visible {
  outline: 4px solid rgba(255, 145, 82, 0.45);
  outline-offset: 3px;
}

.why-section {
  padding-top: 56px;
}

.why-grid {
  padding: 38px;
  border-radius: 36px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.stat-circles {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 14px;
  max-width: 420px;
  margin-inline: auto;
}

.stat-circles span {
  display: grid;
  min-height: 138px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  padding: 1rem;
  text-align: center;
  font-weight: 900;
  box-shadow: inset 0 -12px 0 rgba(255, 255, 255, 0.44);
}

.stat-circles span:nth-child(2) {
  background: var(--mint);
}

.stat-circles span:nth-child(3) {
  background: var(--lavender);
}

.stat-circles span:nth-child(4) {
  background: var(--pink);
}

.stat-circles strong {
  display: block;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.72rem;
  font-variant-numeric: tabular-nums;
}

.activity-section {
  background: linear-gradient(180deg, transparent, rgba(201, 233, 239, 0.58) 12%, rgba(201, 233, 239, 0.58) 88%, transparent);
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin-inline: auto;
}

.activity-list article {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: start;
  gap: 0.85rem;
  min-height: 108px;
  border-radius: 28px;
  background: white;
  padding: 0.78rem 1rem 0.78rem 0.78rem;
  box-shadow: var(--shadow-soft);
}

.activity-list article.accent {
  background: var(--orange);
}

.activity-list article.accent h3,
.activity-list article.accent p {
  color: white;
}

.activity-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 1000;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.5);
}

.activity-list h3 {
  margin-bottom: 0.12rem;
  font-size: 1.12rem;
}

.activity-list p {
  font-size: 0.92rem;
  line-height: 1.42;
  font-weight: 750;
}

.schedule-card {
  position: relative;
  border-radius: 28px;
  background: white;
  padding: 1.45rem;
  box-shadow: var(--shadow-soft);
}

.schedule-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.62rem;
}

.timeline {
  display: grid;
  gap: 0.58rem;
}

.timeline div {
  display: grid;
  grid-template-columns: 126px 1fr;
  align-items: center;
  gap: 0.8rem;
  border-radius: 18px;
  background: var(--paper-soft);
  padding: 0.62rem;
}

.timeline span {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-deep);
  padding: 0.42rem 0.6rem;
  font-size: 0.84rem;
  font-weight: 1000;
  font-variant-numeric: tabular-nums;
}

.timeline strong {
  color: var(--blue-deep);
  font-weight: 1000;
}

.admission-band {
  position: relative;
  padding: 66px 0;
  background:
    linear-gradient(rgba(24, 64, 87, 0.52), rgba(24, 64, 87, 0.52)),
    url("assets/hero-kindergarten-photo.png") center / cover;
}

.admission-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.4rem;
  width: min(920px, calc(100vw - 40px));
  border: 10px solid var(--orange);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  padding: 1.45rem;
  box-shadow: var(--shadow);
}

.admission-panel h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
  min-width: 250px;
}

.contact-actions a {
  background: var(--blue-deep);
  color: white;
  padding: 0.72rem 1rem;
}

.contact-actions a:first-child {
  background: var(--orange);
}

.guidance-grid {
  position: relative;
  grid-template-columns: 0.82fr 0.82fr 1.2fr;
  align-items: stretch;
}

.profile-card,
.faq-card {
  border-radius: 24px;
  background: white;
  padding: 1.12rem;
  box-shadow: var(--shadow-soft);
}

.profile-card {
  min-height: 214px;
}

.profile-card.highlighted {
  background: var(--sky);
}

.profile-card span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 0.26rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 1000;
}

.profile-card h3 {
  margin-top: 0.72rem;
  font-size: 1.38rem;
  line-height: 1.08;
}

.profile-card p {
  margin-top: 0.58rem;
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 750;
}

.faq-card {
  display: grid;
  align-content: start;
  gap: 0.52rem;
}

.faq-toggle {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 16px;
  background: var(--paper-soft);
  color: var(--blue-deep);
  padding: 0.62rem 2.45rem 0.62rem 0.78rem;
  text-align: left;
  font-weight: 1000;
  cursor: pointer;
}

.faq-toggle::after {
  content: "+";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-weight: 1000;
}

.faq-toggle[aria-expanded="true"]::after {
  content: "-";
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 160ms ease-out, opacity 160ms ease-out;
}

.faq-panel p {
  overflow: hidden;
  padding-inline: 0.65rem;
  font-weight: 750;
}

.faq-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.gallery-section {
  padding: 56px 0 70px;
  background:
    radial-gradient(circle at 50% 40%, rgba(232, 233, 255, 0.82), transparent 30rem),
    linear-gradient(180deg, transparent, rgba(232, 233, 255, 0.6));
}

.gallery-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  overflow: hidden;
  padding: 0.2rem 0.2rem 1.2rem;
  scroll-snap-type: x mandatory;
}

.gallery-rail img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border: 8px solid white;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
}

.page-main {
  padding: 54px 0 0;
}

.gallery-main,
.no-hero-main {
  padding-top: 92px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 30px;
  background:
    radial-gradient(circle at 15px 30px, var(--paper) 0 20px, transparent 21px)
    0 0 / 40px 30px repeat-x;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
  align-items: center;
  gap: 42px;
}

.page-hero h1 {
  max-width: 680px;
  font-size: clamp(2.65rem, 5.2vw, 4.75rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 0.9rem;
  font-size: 1.08rem;
  font-weight: 750;
}

.page-photo {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  border: 10px solid white;
  border-radius: 34% 66% 46% 54% / 52% 42% 58% 48%;
  box-shadow: var(--shadow);
}

.page-section {
  padding: 48px 0;
}

.page-split,
.page-card-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.page-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.page-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  min-width: 0;
  border-radius: 24px;
  background: white;
  padding: 1.18rem;
  box-shadow: var(--shadow-soft);
}

.info-card h2,
.info-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
  line-height: 1.08;
}

.info-card p,
.info-card li {
  color: var(--muted);
  font-weight: 740;
}

.info-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

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

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

.page-gallery-grid img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border: 8px solid white;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

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

.contact-card {
  border-radius: 28px;
  background: white;
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.contact-card a,
.contact-card span {
  display: block;
  color: var(--blue-deep);
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  align-items: stretch;
  gap: 18px;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-info-card,
.contact-form {
  min-width: 0;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  box-shadow: var(--shadow-soft);
}

.contact-info-card {
  display: grid;
  align-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.94);
}

.contact-info-card h2,
.contact-form h2 {
  max-width: 560px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1;
}

.contact-mail {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--blue-deep);
  padding: 0.72rem 0.95rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.contact-hours {
  display: grid;
  gap: 0.35rem;
  border-radius: 24px;
  background: var(--sky);
  padding: 1rem;
}

.contact-hours h3 {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.05;
}

.contact-hours p,
.contact-hours span {
  color: var(--muted);
  font-weight: 850;
}

.contact-hours strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.contact-form {
  display: grid;
  gap: 0.62rem;
}

.contact-form h2 {
  margin-bottom: 0.25rem;
}

.contact-form label {
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 950;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(22, 70, 95, 0.1);
  border-radius: 18px;
  background: var(--paper-soft);
  color: var(--blue-deep);
  padding: 0.78rem 0.9rem;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 145, 82, 0.16);
}

.contact-form .button {
  justify-self: start;
  margin-top: 0.35rem;
}

.contact-map-card {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.contact-map-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
}

.contact-map-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1;
}

.contact-map-copy p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.55;
}

.contact-map-copy .button {
  justify-self: start;
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  height: 100%;
  border: 0;
  background: var(--sky);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: 28px;
}

.story-card {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.story-card h2 {
  max-width: 640px;
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
}

.story-card p:not(.eyebrow) {
  margin-top: 0.72rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 740;
}

.story-side {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}

.story-side img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border: 9px solid white;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

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

.mini-stat-grid span {
  display: grid;
  min-height: 96px;
  place-items: center;
  border-radius: 24px;
  background: white;
  color: var(--muted);
  padding: 0.8rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.mini-stat-grid strong {
  display: block;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
}

.compact-section {
  padding-top: 22px;
}

.management-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  align-items: start;
  gap: 22px;
}

.director-message h2 {
  margin-bottom: 0.55rem;
}

.director-message .lead {
  color: var(--blue-deep);
}

.director-message blockquote {
  position: relative;
  margin: 1.05rem 0 0;
  border-radius: 24px;
  background: rgba(255, 246, 223, 0.72);
  padding: 1.15rem 1.25rem 1.2rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.7;
}

.director-message blockquote::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--orange);
}

.management-note {
  position: sticky;
  top: 112px;
}

.management-note .mini-stat-grid {
  margin-top: 1rem;
}

.mission-card h2 {
  max-width: 780px;
}

.mission-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.mission-list li {
  position: relative;
  min-height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.86rem 1rem 0.86rem 2.05rem;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 850;
  line-height: 1.42;
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.psychology-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  align-items: start;
  gap: 22px;
}

.psychology-story h2,
.services-card h2 {
  max-width: 760px;
}

.psychologist-card {
  position: sticky;
  top: 112px;
}

.psychologist-card .mini-stat-grid {
  margin-top: 1rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.15rem;
}

.service-list section {
  border-radius: 20px;
  background: rgba(255, 246, 223, 0.72);
  padding: 1rem;
}

.service-list section:first-child {
  grid-column: span 2;
}

.service-list h3 {
  margin: 0 0 0.35rem;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.05;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 780;
  line-height: 1.55;
}

.branches-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  align-items: stretch;
  gap: 20px;
}

.branches-intro .mini-stat-grid {
  align-content: stretch;
}

.branches-intro .mini-stat-grid span {
  min-height: 0;
}

.branch-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.branch-card {
  grid-column: span 3;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: var(--shadow-soft);
}

.branch-card.english,
.branch-card.robot {
  grid-column: span 3;
}

.branch-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
}

.branch-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 22px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 1000;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.52);
}

.branch-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 0.98;
}

.branch-card p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.6;
}

.branch-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.branch-points span {
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--blue-deep);
  padding: 0.42rem 0.68rem;
  font-size: 0.82rem;
  font-weight: 950;
}

.branch-detail {
  border-radius: 20px;
  background: rgba(255, 246, 223, 0.74);
  padding: 0.82rem 0.9rem;
}

.branch-detail summary {
  cursor: pointer;
  color: var(--blue-deep);
  font-weight: 1000;
}

.branch-detail p,
.branch-detail li {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.55;
}

.branch-detail ul {
  margin: 0.65rem 0 0;
  padding-left: 1.05rem;
}

.branch-card.yoga .branch-mark {
  background: var(--mint);
}

.branch-card.art .branch-mark {
  background: var(--mint);
}

.branch-card.drama .branch-mark {
  background: var(--pink);
}

.branch-card.music .branch-mark {
  background: var(--sky);
}

.branch-card.robot .branch-mark {
  background: var(--orange);
  color: white;
}

.events-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  align-items: stretch;
  gap: 20px;
}

.events-intro .story-card h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.events-intro .mini-stat-grid {
  align-content: stretch;
}

.events-intro .mini-stat-grid span {
  min-height: 0;
}

.event-section {
  padding-top: 10px;
}

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

.event-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.event-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
}

.event-card img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border: 8px solid white;
  border-radius: 30px;
}

.event-card:not(.featured) img {
  aspect-ratio: 1.55;
}

.event-card.featured img {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.event-card.featured .event-content {
  align-content: center;
}

.event-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem 1.25rem;
}

.event-date {
  display: grid;
  width: 82px;
  min-height: 98px;
  place-items: center;
  align-content: center;
  border-radius: 24px;
  background: var(--yellow);
  color: var(--blue-deep);
  text-align: center;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.5);
}

.event-date strong {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.event-date span,
.event-date small {
  display: block;
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.15;
}

.event-date small {
  color: var(--muted);
}

.event-card:nth-child(2) .event-date {
  background: var(--sky);
}

.event-card:nth-child(3) .event-date {
  background: var(--pink);
}

.event-card h2 {
  margin: 0.08rem 0 0.35rem;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: 1;
}

.event-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.58;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.78rem;
}

.event-tags span {
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--blue-deep);
  padding: 0.4rem 0.66rem;
  font-size: 0.8rem;
  font-weight: 950;
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  align-items: stretch;
  gap: 20px;
}

.gallery-intro .story-card h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.gallery-intro .mini-stat-grid {
  align-content: stretch;
}

.gallery-intro .mini-stat-grid span {
  min-height: 0;
}

.gallery-wall-section {
  padding-top: 0;
}

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-tile {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.gallery-tile.wide {
  grid-column: span 2;
}

.gallery-tile.tall {
  grid-row: span 2;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.gallery-tile.wide img {
  aspect-ratio: 1.72;
}

.gallery-tile.tall img {
  aspect-ratio: auto;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  padding: 70px 0 30px;
}

.footer-wave {
  position: absolute;
  inset: 0 0 auto;
  height: 32px;
  background:
    radial-gradient(circle at 16px 0, var(--paper) 0 18px, transparent 19px)
    0 0 / 38px 32px repeat-x;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.72fr;
  gap: 28px;
}

.footer-credit {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 34px;
  border-top: 1px solid rgba(24, 64, 87, 0.13);
  padding-top: 18px;
  color: rgba(24, 64, 87, 0.68);
  font-size: clamp(0.78rem, 2.8vw, 0.9rem);
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

.footer-credit a {
  color: var(--blue-deep);
  font-weight: 1000;
}

.footer-logo {
  width: 184px;
  height: auto;
  margin-bottom: 0.72rem;
}

.footer-grid h2 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
}

.footer-grid a,
.footer-grid span,
.footer-grid strong {
  display: block;
  color: var(--blue-deep);
  font-weight: 900;
}

.floating-whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-fixed);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 0;
  font-weight: 1000;
  line-height: 0;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32);
  transition: transform 160ms ease-out;
}

.floating-whatsapp::before {
  content: "";
  display: block;
  width: 31px;
  height: 31px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.04 3.5a8.41 8.41 0 0 0-7.19 12.78L4 20.5l4.32-1.04a8.4 8.4 0 1 0 3.72-15.96Zm0 1.55a6.85 6.85 0 0 1 0 13.7 6.7 6.7 0 0 1-3.34-.88l-.28-.16-2.35.56.48-2.28-.18-.29a6.85 6.85 0 0 1 5.67-10.65Zm-2.28 3.5c-.16 0-.42.06-.65.33-.22.27-.85.83-.85 2.02 0 1.2.87 2.36 1 2.52.12.16 1.69 2.7 4.18 3.68 2.07.82 2.49.65 2.94.61.45-.04 1.45-.59 1.65-1.16.2-.57.2-1.06.14-1.16-.06-.1-.22-.16-.46-.28-.24-.12-1.42-.7-1.64-.78-.22-.08-.38-.12-.54.12-.16.24-.62.78-.76.94-.14.16-.28.18-.52.06-.24-.12-1.02-.38-1.94-1.2-.72-.64-1.2-1.42-1.34-1.66-.14-.24-.02-.37.1-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.47-.39-.41-.54-.42h-.46Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.04 3.5a8.41 8.41 0 0 0-7.19 12.78L4 20.5l4.32-1.04a8.4 8.4 0 1 0 3.72-15.96Zm0 1.55a6.85 6.85 0 0 1 0 13.7 6.7 6.7 0 0 1-3.34-.88l-.28-.16-2.35.56.48-2.28-.18-.29a6.85 6.85 0 0 1 5.67-10.65Zm-2.28 3.5c-.16 0-.42.06-.65.33-.22.27-.85.83-.85 2.02 0 1.2.87 2.36 1 2.52.12.16 1.69 2.7 4.18 3.68 2.07.82 2.49.65 2.94.61.45-.04 1.45-.59 1.65-1.16.2-.57.2-1.06.14-1.16-.06-.1-.22-.16-.46-.28-.24-.12-1.42-.7-1.64-.78-.22-.08-.38-.12-.54.12-.16.24-.62.78-.76.94-.14.16-.28.18-.52.06-.24-.12-1.02-.38-1.94-1.2-.72-.64-1.2-1.42-1.34-1.66-.14-.24-.02-.37.1-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.47-.39-.41-.54-.42h-.46Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (hover: hover) {
  .header-cta:hover,
  .button:hover,
  .contact-actions a:hover,
  .floating-whatsapp:hover {
    transform: translateY(-2px);
  }
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 92px 20px auto;
    z-index: var(--z-menu);
    display: grid;
    gap: 0.35rem;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    transform: translateY(-8px);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: transform 160ms ease-out, opacity 160ms ease-out;
  }

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

  .has-top-contact .mobile-menu {
    inset: 124px 20px auto;
    max-height: calc(100dvh - 150px);
  }

  .mobile-menu a {
    border-radius: 16px;
    padding: 0.86rem 0.95rem;
    color: var(--blue-deep);
    font-weight: 1000;
  }

  .mobile-menu a:hover {
    background: var(--paper);
  }

  .mobile-cta {
    background: var(--orange);
    color: white !important;
    text-align: center;
  }

  .hero-grid,
  .split,
  .nutrition-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.6rem;
  }

  .hero-showcase {
    width: min(680px, 100%);
    justify-self: center;
  }

  .slider-frame,
  .slider-dots {
    margin-inline: auto;
  }

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

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

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

  .activity-list {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

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

  .faq-card {
    grid-column: 1 / -1;
  }

  .page-hero-grid,
  .page-split,
  .about-layout,
  .management-layout,
  .psychology-layout,
  .nutrition-layout,
  .branches-intro,
  .events-intro,
  .gallery-intro,
  .contact-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .management-note,
  .psychologist-card,
  .meal-times,
  .story-side {
    position: static;
  }

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

  .wide-card {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(560px, calc(100vw - 28px));
  }

  .shell,
  .site-header,
  .top-contact-bar {
    width: calc(100vw - 28px);
    max-width: 560px;
  }

  .top-contact-bar {
    margin-top: 8px;
  }

  .top-contact-inner {
    justify-content: center;
    gap: 0.35rem;
  }

  .top-contact-inner a {
    min-height: 30px;
    padding: 0.28rem 0.52rem;
    font-size: clamp(0.68rem, 2.85vw, 0.76rem);
  }

  .site-header {
    top: 10px;
    grid-template-columns: 1fr auto;
    min-height: 66px;
    margin-top: 10px;
    padding: 0.45rem;
  }

  .brand {
    width: 154px;
    min-height: 46px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 56px;
  }

  .hero-grid {
    justify-content: start;
    gap: 2.1rem;
  }

  .hero-copy {
    transform: none;
  }

  .hero-bg img {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 246, 223, 0.97) 0%, rgba(255, 246, 223, 0.9) 48%, rgba(255, 246, 223, 0.72) 100%),
      linear-gradient(90deg, rgba(255, 246, 223, 0.94), rgba(255, 246, 223, 0.52));
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 14vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8.4vw, 2.55rem);
  }

  .page-main {
    padding-top: 40px;
  }

  .gallery-main,
  .no-hero-main {
    padding-top: 76px;
  }

  .page-hero {
    padding: 44px 0 34px;
  }

  .page-hero-grid {
    gap: 1.5rem;
  }

  .page-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11.5vw, 3.2rem);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .page-photo {
    border-width: 8px;
  }

  .page-section {
    padding: 36px 0;
  }

  .page-card-grid,
  .page-gallery-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .contact-card {
    border-radius: 22px;
    padding: 1rem;
  }

  .story-card {
    border-radius: 24px;
    padding: 1rem;
  }

  .story-card h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.5rem);
  }

  .story-card p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .director-message blockquote {
    border-radius: 20px;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .mission-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mission-list li {
    min-height: auto;
    border-radius: 16px;
    padding: 0.78rem 0.9rem 0.78rem 1.8rem;
    font-size: 0.93rem;
  }

  .mission-list li::before {
    left: 0.82rem;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-list section,
  .service-list section:first-child {
    grid-column: auto;
  }

  .service-list section {
    border-radius: 16px;
    padding: 0.9rem;
  }

  .service-list h3 {
    font-size: 1.18rem;
  }

  .service-list p {
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .branch-showcase {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .branch-card,
  .branch-card.english,
  .branch-card.robot {
    grid-column: auto;
    border-radius: 24px;
    padding: 1rem;
  }

  .branch-head {
    gap: 0.7rem;
  }

  .branch-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 0.9rem;
  }

  .branch-card h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .branch-card p {
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .branch-detail {
    border-radius: 16px;
    padding: 0.72rem 0.78rem;
  }

  .events-intro {
    gap: 12px;
  }

  .events-intro .story-card h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .event-card,
  .event-card img {
    border-radius: 24px;
  }

  .event-card.featured {
    display: block;
  }

  .event-card img,
  .event-card:not(.featured) img,
  .event-card.featured img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.28;
    border-width: 7px;
  }

  .event-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.92rem;
  }

  .event-date {
    grid-template-columns: auto auto auto;
    justify-content: start;
    width: 100%;
    min-height: 0;
    gap: 0.5rem;
    border-radius: 18px;
    padding: 0.62rem 0.75rem;
  }

  .event-date strong {
    font-size: 1.55rem;
  }

  .event-date span,
  .event-date small {
    font-size: 0.78rem;
  }

  .event-card h2 {
    font-size: clamp(1.58rem, 7.2vw, 2.15rem);
  }

  .event-card p:not(.eyebrow) {
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .event-tags {
    gap: 0.35rem;
  }

  .gallery-intro {
    gap: 12px;
  }

  .gallery-intro .story-card h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

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

  .gallery-tile,
  .gallery-tile.wide,
  .gallery-tile.tall {
    grid-column: auto;
    grid-row: auto;
    border-width: 7px;
    border-radius: 24px;
  }

  .gallery-tile img,
  .gallery-tile.wide img,
  .gallery-tile.tall img {
    min-height: 0;
    aspect-ratio: 1.28;
  }

  .contact-panel {
    gap: 12px;
  }

  .contact-stack {
    gap: 12px;
  }

  .contact-info-card,
  .contact-form {
    border-radius: 24px;
    padding: 1rem;
  }

  .contact-info-card {
    align-content: start;
  }

  .contact-info-card h2,
  .contact-form h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .contact-mail {
    border-radius: 18px;
    padding: 0.68rem 0.82rem;
  }

  .contact-hours {
    border-radius: 18px;
    padding: 0.9rem;
  }

  .contact-hours strong {
    font-size: 1.45rem;
  }

  .contact-form input,
  .contact-form textarea {
    border-radius: 15px;
    padding: 0.72rem 0.78rem;
  }

  .contact-map-card {
    grid-template-columns: 1fr;
    gap: 0;
    border-width: 7px;
    border-radius: 24px;
  }

  .contact-map-copy {
    padding: 1rem;
  }

  .contact-map-copy h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
  }

  .contact-map-card iframe {
    min-height: 320px;
  }

  .document-card {
    border-radius: 18px;
    padding: 0.9rem;
  }

  .document-card strong {
    font-size: 1.32rem;
  }

  .nutrition-checks {
    grid-template-columns: 1fr;
  }

  .story-side img {
    border-width: 7px;
    border-radius: 24px;
  }

  .mini-stat-grid span {
    min-height: 86px;
    border-radius: 20px;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .hero-facts {
    gap: 0.55rem;
  }

  .hero-facts span {
    min-width: 96px;
    min-height: 78px;
    padding: 0.75rem;
    font-size: 0.76rem;
  }

  .hero-facts strong {
    font-size: 1rem;
  }

  .hero-showcase::before {
    inset: -16px -10px 24px 18px;
  }

  .slider-frame {
    width: 100%;
    max-width: 520px;
    border-width: 8px;
    aspect-ratio: 1.05;
  }

  .hero-slide figcaption {
    max-width: calc(100% - 4rem);
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
  }

  .trust-grid,
  .class-grid,
  .guidance-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-credit {
    margin-bottom: 64px;
  }

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

  .trust-grid article {
    min-height: auto;
    border-radius: 24px;
    padding: 0.88rem 0.72rem;
  }

  .bubble-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.48rem;
    font-size: 0.86rem;
  }

  .trust-grid h2 {
    font-size: 0.98rem;
  }

  .trust-grid p {
    font-size: 0.78rem;
    line-height: 1.36;
  }

  .section {
    padding: 48px 0;
  }

  .trust-band {
    padding: 28px 0 42px;
  }

  .image-stack {
    min-height: 356px;
    margin-bottom: 0.4rem;
  }

  .stack-main {
    width: 82%;
    height: 290px;
    border-width: 8px;
  }

  .stack-small {
    width: 56%;
    height: 164px;
    border-width: 7px;
  }

  .class-grid {
    gap: 14px;
  }

  .class-card {
    display: grid;
    grid-template-columns: minmax(118px, 42%) 1fr;
    min-height: 152px;
    border-radius: 24px;
  }

  .class-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .class-card div {
    display: grid;
    align-content: center;
    padding: 0.78rem;
  }

  .class-card h3 {
    margin-top: 0.34rem;
    font-size: 1.1rem;
  }

  .class-card strong {
    margin-top: 0.3rem;
  }

  .class-grid-detail .class-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .class-grid-detail .class-card > img {
    height: 214px;
  }

  .class-grid-detail .class-card > div:not(.class-photo-slider):not(.class-card-header) {
    display: block;
    padding: 0.92rem;
  }

  .class-photo-track {
    height: 214px;
  }

  .why-grid {
    padding: 1.2rem;
    border-radius: 30px;
  }

  .stat-circles {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .stat-circles span {
    min-height: 138px;
  }

  .activity-list article {
    grid-template-columns: 62px 1fr;
    min-height: 96px;
    border-radius: 26px;
    padding: 0.8rem;
  }

  .activity-icon {
    width: 56px;
    height: 56px;
    font-size: 0.84rem;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .admission-band {
    padding: 48px 0;
  }

  .admission-panel {
    grid-template-columns: 1fr;
    border-width: 8px;
    border-radius: 28px;
    padding: 1.15rem;
  }

  .contact-actions {
    min-width: 0;
  }

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

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

@media (max-width: 420px) {
  .hero-actions,
  .why-actions {
    display: grid;
  }

  .slider-frame {
    aspect-ratio: 0.94;
  }

  .class-card {
    grid-template-columns: minmax(112px, 40%) 1fr;
    min-height: 142px;
  }

  .class-grid-detail .class-card {
    grid-template-columns: 1fr;
  }

  .class-photo-track {
    height: 176px;
  }

  .class-photo-slider {
    border-width: 6px;
    border-radius: 30px;
  }

  .class-photo-track,
  .class-photo-trigger,
  .class-photo-slider .class-photo-trigger img {
    border-radius: 24px;
  }

  .class-slider-nav {
    width: 36px;
    height: 36px;
    font-size: 1.85rem;
  }

  .stat-circles span {
    min-height: 112px;
  }
}
