/* === UMBA — детский центр === */
:root {
  /* Brand palette taken from the УМБА logo + customer mockup:
     - blue (УМ): #6b95cf
     - teal (ба + lightbulb): #5cc4a8
     - pink/coral (sparkles + CTA banner): #e8456a
  */
  --bg: #f6faff;
  --bg-warm: #fde9ef;       /* soft pink wash */
  --bg-cool: #e8f0fa;       /* soft blue wash */
  --ink: #1f2a44;
  --ink-soft: #4a5470;
  --ink-mute: #8089a0;
  --line: #dee6f2;
  --line-soft: rgba(31, 42, 68, 0.08);
  --card: #ffffff;

  /* Coral now = brand pink */
  --coral: #e8456a;
  --coral-deep: #c93356;
  /* Teal = brand mint/teal */
  --teal: #5cc4a8;
  --teal-deep: #3fa78b;
  /* Blue = brand primary */
  --blue: #6b95cf;
  --blue-deep: #4f7ab6;
  /* Supporting accents kept as muted versions */
  --yellow: #ffd166;
  --yellow-deep: #e8b94a;
  --lilac: #9b7bd8;
  --lilac-deep: #7a5cbf;
  --green: #6dc26a;
  --shadow-sm: 0 2px 6px rgba(27,31,46,0.06);
  --shadow-md: 0 8px 24px rgba(27,31,46,0.08);
  --shadow-lg: 0 20px 50px rgba(27,31,46,0.12);
  --shadow-card: 0 14px 30px -10px rgba(27,31,46,0.18);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --font-display: 'Fredoka', 'Onest', system-ui, sans-serif;
  --font-body: 'Onest', system-ui, sans-serif;
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  padding: 7px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 69, 106, 0.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

h2.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  margin: 0 0 18px;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 56px;
}

section { padding: 100px 0; position: relative; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 10px 24px -8px rgba(232, 69, 106, 0.55);
}
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* === Squiggle underline === */
.squiggle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.squiggle::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.15em;
  height: 0.32em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M0 6 Q 15 0 30 6 T 60 6 T 90 6 T 120 6' stroke='%23e8456a' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") repeat-x;
  background-size: 80px 12px;
}
.squiggle.teal::after { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M0 6 Q 15 0 30 6 T 60 6 T 90 6 T 120 6' stroke='%235cc4a8' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") repeat-x; background-size: 80px 12px; }
.squiggle.blue::after { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M0 6 Q 15 0 30 6 T 60 6 T 90 6 T 120 6' stroke='%236b95cf' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") repeat-x; background-size: 80px 12px; }
.squiggle.yellow::after { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M0 6 Q 15 0 30 6 T 60 6 T 90 6 T 120 6' stroke='%23ffd166' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") repeat-x; background-size: 80px 12px; }

/* Highlight pill behind text */
.hl {
  position: relative;
  display: inline-block;
  padding: 0 8px;
}
.hl::before {
  content: '';
  position: absolute;
  inset: 8% -4% 12% -4%;
  background: var(--yellow);
  border-radius: 8px;
  z-index: -1;
  transform: rotate(-1.2deg);
}
.hl.teal::before { background: var(--teal); }
.hl.blue::before { background: var(--blue); }
.hl.lilac::before { background: var(--lilac); }
.hl.coral::before { background: var(--coral); }

/* === Reveal animation === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }

/* === Floating animation === */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(calc(var(--rot, 0deg) + 4deg)); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) - 3deg)); }
}
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes bobble { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: floatSlow 8s ease-in-out infinite; }
.spin-slow { animation: spin-slow 30s linear infinite; }

/* Placeholder image */
.ph {
  background:
    repeating-linear-gradient(45deg, rgba(27,31,46,0.04) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, var(--bg-warm), var(--bg-cool));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  padding: 14px;
  overflow: hidden;
  position: relative;
}

/* === Bg color sections === */
.sec-cream { background: var(--bg); }
.sec-warm { background: var(--bg-warm); }
.sec-cool { background: var(--bg-cool); }
.sec-ink {
  background: linear-gradient(150deg, #1b1f2e 0%, #2a2e44 100%);
  color: white;
}

/* utility */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.gap-6 { gap: 6px; } .gap-10 { gap: 10px; } .gap-14 { gap: 14px; } .gap-20 { gap: 20px; } .gap-28 { gap: 28px; } .gap-40 { gap: 40px; }
