/* =========================================================
   VESELKIN — Design system
   Premium, warm, child-friendly. Brand colors from the mascot:
   plum-purple, jungle-turquoise, sun-yellow, mango-orange.
   ========================================================= */

:root {
  /* Brand */
  --brand-purple: #6B2EBA;
  --brand-purple-deep: #4A1E84;
  --brand-purple-soft: #EFE5FB;
  --brand-turquoise: #2BC9D4;
  --brand-turquoise-soft: #DAF6F8;
  --brand-yellow: #F5BE2A;
  --brand-yellow-soft: #FFF1C2;
  --brand-orange: #FF8A3D;
  --brand-orange-soft: #FFE0CC;
  --brand-red: #E04A6B;

  /* Neutrals — warm cream */
  --cream: #FBF6EC;
  --cream-deep: #F4ECD8;
  --paper: #FFFDF7;
  --ink: #1E1A38;
  --ink-2: #4A4566;
  --ink-3: #8A8499;
  --line: rgba(30,26,56,0.10);

  /* Typography */
  --f-display: "Unbounded", "Inter", system-ui, sans-serif;
  --f-body: "Manrope", "Inter", system-ui, sans-serif;
  --f-hand: "Caveat", "Kalam", "Bradley Hand", cursive;

  /* Radii & motion */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  --shadow-soft: 0 12px 40px -16px rgba(30,26,56,0.18), 0 4px 12px -8px rgba(30,26,56,0.10);
  --shadow-card: 0 24px 60px -24px rgba(30,26,56,0.22), 0 8px 20px -12px rgba(30,26,56,0.12);
  --shadow-pop: 0 30px 80px -20px rgba(107,46,186,0.30);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; background: transparent; color: inherit; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-purple); outline-offset: 3px; border-radius: 6px; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  body { font-size: 16px; }
}

/* ----- Typographic helpers ----- */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-wrap: balance;
}
.h-eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--brand-purple);
}
.hand {
  font-family: var(--f-hand);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand-purple); color: #fff; box-shadow: 0 14px 30px -12px rgba(107,46,186,0.55); }
.btn--primary:hover { background: var(--brand-purple-deep); box-shadow: 0 18px 40px -10px rgba(107,46,186,0.7); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--accent { background: var(--brand-yellow); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(245,190,42,0.6); }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }
.btn--lg { padding: 20px 36px; font-size: 17px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ----- Section header common ----- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(36px, 5vw, 64px); margin: 0; }
.section-head__meta { max-width: 380px; color: var(--ink-2); }
@media (max-width: 768px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
}

/* ----- Card surface ----- */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

/* ----- Floating shapes ambient ----- */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ----- Animated marquee ----- */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

/* ----- Floating mascot ----- */
@keyframes float-y { 0%, 100% { transform: translateY(0) rotate(-2deg);} 50% { transform: translateY(-18px) rotate(2deg);} }
@keyframes float-y-slow { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
@keyframes balloon-sway { 0%, 100% { transform: translate(0,0) rotate(-3deg);} 50% { transform: translate(8px, -14px) rotate(3deg);} }
@keyframes balloon-sway-2 { 0%, 100% { transform: translate(0,0) rotate(4deg);} 50% { transform: translate(-10px, -20px) rotate(-4deg);} }
@keyframes spin-slow { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1);} 94%, 98% { transform: scaleY(0.1);} }
@keyframes pulse-soft { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,190,42,0.6);} 70% { box-shadow: 0 0 0 24px rgba(245,190,42,0);} }
@keyframes confetti-fall {
  0% { transform: translateY(-20vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(120vh) rotate(720deg); opacity: 0; }
}

.float-y { animation: float-y 6s var(--ease-in-out) infinite; }
.float-y-slow { animation: float-y-slow 8s var(--ease-in-out) infinite; }

/* ----- Marquee separator dot ----- */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-purple); vertical-align: middle; margin: 0 24px; }

/* ----- Chip ----- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--paper);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-turquoise); }

/* ----- Forms ----- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-weight: 600; font-size: 14px; color: var(--ink-2); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.field__hint { font-weight: 400; font-size: 12px; color: var(--ink-3, #9a96a8); text-transform: none; letter-spacing: 0; }

/* Consent checkbox */
.field--check { margin-top: 4px; }
.field__check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 4px 0; }
.field__check input { position: absolute; opacity: 0; pointer-events: none; }
.field__check-mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 2px solid rgba(30,26,56,0.25);
  border-radius: 6px;
  background: #fff;
  transition: all 0.15s ease;
  position: relative;
  margin-top: 1px;
}
.field__check-mark::after {
  content: '';
  position: absolute;
  left: 6px; top: 1px;
  width: 6px; height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}
.field__check input:checked + .field__check-mark {
  background: var(--brand-purple, #6B2EBA);
  border-color: var(--brand-purple, #6B2EBA);
}
.field__check input:checked + .field__check-mark::after { transform: rotate(45deg) scale(1); }
.field__check input:focus-visible + .field__check-mark { box-shadow: 0 0 0 3px rgba(107,46,186,0.25); }
.field__check-text { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.field__check-text a { color: var(--brand-purple, #6B2EBA); text-decoration: underline; text-underline-offset: 3px; }
.field__check-text a:hover { color: var(--brand-purple-deep, #4A1E84); }
.field__input {
  padding: 16px 20px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.field__input:focus { outline: none; border-color: var(--brand-purple); box-shadow: 0 0 0 4px rgba(107,46,186,0.12); }
textarea.field__input { resize: vertical; min-height: 100px; }

/* ----- Scroll fade-in ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ----- Premium photo treatment ----- */
.ph {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-deep);
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ph:hover img { transform: scale(1.04); }

/* ----- Underline accent ----- */
.u-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.u-accent::after {
  content: "";
  position: absolute; left: -4%; right: -4%; bottom: -6px;
  height: 14px;
  background: var(--brand-yellow);
  z-index: -1;
  border-radius: 999px;
  transform: skewX(-6deg);
}

/* ----- Floating sparkle ----- */
.spark { position: absolute; pointer-events: none; }
.spark svg { width: 100%; height: 100%; }

/* ----- Tags ----- */
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tag--purple { background: var(--brand-purple-soft); color: var(--brand-purple-deep); }
.tag--turquoise { background: var(--brand-turquoise-soft); color: #0E6E76; }
.tag--yellow { background: var(--brand-yellow-soft); color: #7A5800; }
.tag--orange { background: var(--brand-orange-soft); color: #8A3A0F; }
