/* ===========================================================
   BalaBala Kids — негізгі стильдер (v2 — жаңа дизайн)
   balabaksha42.kz құрылымы негізінде, BalaBala Kids түстерінде
   =========================================================== */

:root {
  --red:    #ec1c40;
  --red-dk: #c4112f;
  --blue:   #1ea7e0;
  --blue-dk:#1487b6;
  --green:  #6fbf3b;
  --green-dk:#579a27;
  --yellow: #ffc629;
  --orange: #ff7a29;
  --purple: #8e5ba6;

  --ink:    #2c2440;
  --muted:  #6f6880;
  --paper:  #ffffff;
  --soft:   #fff7f0;   /* жұмсақ фон */
  --card:   #ffffff;
  --line:   #eee7ef;

  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 22px 50px -26px rgba(44, 36, 64, .40);
  --shadow-sm: 0 12px 26px -16px rgba(44, 36, 64, .35);
  --shadow-card: 0 16px 36px -24px rgba(44, 36, 64, .45);
  --maxw: 1180px;

  --font:  "Nunito", "Segoe UI", system-ui, sans-serif;
  --display: "Fredoka", "Nunito", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--red-dk); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.text-center { text-align: center; }

/* Бөлім тақырыбы */
.sec-head { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.sec-head .lead { margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  font-size: .82rem; color: var(--red);
  background: #fde7eb; padding: 7px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.is-blue   { color: var(--blue-dk);  background: #e1f4fc; }
.eyebrow.is-green  { color: var(--green-dk); background: #eef8e2; }
.eyebrow.is-purple { color: var(--purple);   background: #f1e9f5; }
.eyebrow.is-orange { color: #d85b12;         background: #ffe9da; }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }

/* Атаудағы түрлі-түсті сөз */
.hl-red    { color: var(--red); }
.hl-blue   { color: var(--blue); }
.hl-green  { color: var(--green-dk); }
.hl-orange { color: var(--orange); }
.hl-purple { color: var(--purple); }

/* ---------- Түймелер ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  padding: 15px 32px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  box-shadow: 0 12px 24px -12px rgba(236, 28, 64, .65);
  line-height: 1;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dk); color: #fff; }
.btn--blue  { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgba(30,167,224,.6); }
.btn--blue:hover { background: var(--blue-dk); color: #fff; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 12px 24px -12px rgba(111,191,59,.6); }
.btn--green:hover { background: var(--green-dk); color: #fff; }
.btn--yellow{ background: var(--yellow); color: #5a3d00; box-shadow: 0 12px 24px -12px rgba(255,198,41,.7); }
.btn--yellow:hover { color:#5a3d00; filter: brightness(.97); }
.btn--ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn--white { background:#fff; color: var(--red); box-shadow: 0 12px 24px -12px rgba(0,0,0,.3); }
.btn--white:hover { color: var(--red-dk); }
.btn--sm { padding: 11px 22px; font-size: .96rem; }

/* Inline SVG иконкаларының өлшемдері (контекстке қарай) */
.btn svg, .more svg, .eyebrow svg { width: 1.05em; height: 1.05em; flex: none; }
.topbar svg { width: 18px; height: 18px; }
.socials svg, .footer-socials svg { width: 18px; height: 18px; }
.footer-contacts svg, .contact-list svg { width: 18px; height: 18px; }
.more svg { vertical-align: -2px; }

/* ===========================================================
   ҮСТІҢГІ УТИЛИТА ПАНЕЛІ + РАДУГА ЖОЛАҒЫ
   =========================================================== */
.topbar {
  background: linear-gradient(90deg, var(--red), #ff3d5e);
  color: #fff; font-weight: 700; font-size: .92rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 0; flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar a:hover { color: #ffe1e7; }
.topbar__left { display: flex; align-items: center; gap: 8px; }
.topbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone svg { width: 18px; height: 18px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.18);
  transition: background .2s, transform .15s;
}
.socials a:hover { background: #fff; color: var(--red); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.rainbow {
  height: 6px;
  background: linear-gradient(90deg,
    var(--red) 0 16.6%, var(--orange) 16.6% 33.3%, var(--yellow) 33.3% 50%,
    var(--green) 50% 66.6%, var(--blue) 66.6% 83.3%, var(--purple) 83.3% 100%);
}

/* ===========================================================
   ХЕДЕР
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--ink); }
.brand__name span { color: var(--red); }
.brand__tag { font-size: .78rem; color: var(--muted); font-weight: 700; }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.main-nav a {
  display: block; padding: 10px 17px; border-radius: 999px;
  color: var(--ink); font-weight: 800; font-size: .98rem;
}
.main-nav a:hover { background: #fde7eb; color: var(--red); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { background: var(--red); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: var(--red); color: #fff; border: none; width: 48px; height: 48px; border-radius: 13px; font-size: 1.4rem; cursor: pointer; }

/* ===========================================================
   ГЕРО-БАННЕР
   =========================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 88% -20%, #d8f0fb 0, transparent 62%),
    radial-gradient(900px 460px at -5% 120%, #eaf8d9 0, transparent 58%),
    linear-gradient(180deg, #fffaf3 0, #fff 100%);
  padding: 70px 0 110px;
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 30px; font-size: 1.22rem; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero__stat {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 20px; box-shadow: var(--shadow-sm); text-align: center;
}
.hero__stat b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--red); line-height: 1; }
.hero__stat:nth-child(2) b { color: var(--blue); }
.hero__stat:nth-child(3) b { color: var(--green-dk); }
.hero__stat span { font-size: .85rem; color: var(--muted); font-weight: 700; }

/* Геро суреті/карточкасы */
.hero__art { position: relative; }
.hero__card {
  position: relative; z-index: 2; background: #fff; border-radius: 32px;
  padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero__card img { width: 100%; height: 100%; aspect-ratio: 9/7; object-fit: cover; display: block; border-radius: 22px; }

/* Геродағы декор фигуралар */
.deco { position: absolute; z-index: 1; pointer-events: none; }
.deco--sun  { width: 92px; height: 92px; top: 6px; right: 4%; animation: spin 26s linear infinite; }
.deco--cloud1 { width: 130px; top: 30px; left: 4%; opacity: .9; animation: floaty 7s ease-in-out infinite; }
.deco--cloud2 { width: 90px; bottom: 18%; right: 8%; opacity: .85; animation: floaty 9s ease-in-out infinite reverse; }
.deco--balloon { width: 64px; bottom: -10px; left: 8%; animation: floaty 6s ease-in-out infinite; }
.deco--star1 { width: 34px; top: 22%; right: 44%; animation: pop 4s ease-in-out infinite; }
.deco--star2 { width: 24px; bottom: 26%; left: 40%; animation: pop 5s ease-in-out infinite .5s; }
.blob { position: absolute; border-radius: 50%; z-index: 1; }
.blob--y { width: 84px; height: 84px; background: var(--yellow); top: -22px; right: -16px; }
.blob--b { width: 56px; height: 56px; background: var(--blue); bottom: 24px; left: -26px; }
.blob--g { width: 40px; height: 40px; background: var(--green); top: 40%; right: -18px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pop { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .7; } }
@media (prefers-reduced-motion: reduce) {
  .deco { animation: none !important; }
}

/* Толқынды бөлгіш */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.wave-divider svg { width: 100%; height: 70px; display: block; }

/* ===========================================================
   ҚОШ КЕЛДІҢІЗ (welcome) — 2 баған
   =========================================================== */
.welcome__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.welcome__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 8px solid #fff; background: #f3f7fb;
}
.welcome__media img { width: 100%; height: 100%; aspect-ratio: 9/7; object-fit: cover; display: block; }
.welcome__media .badge {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--red); color:#fff; font-family: var(--display); font-weight: 600;
  padding: 10px 18px; border-radius: 14px; box-shadow: var(--shadow-sm);
}
.checklist { list-style: none; margin: 22px 0; padding: 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; font-weight: 700; }
.checklist .tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green);
  color: #fff; display: grid; place-items: center; font-size: 1rem; margin-top: 2px;
  box-shadow: 0 6px 14px -6px rgba(111,191,59,.8);
}

/* ===========================================================
   КАРТОЧКА ерекшеліктер
   =========================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--red); opacity: .9;
}
.card:nth-child(6n+2)::before { background: var(--blue); }
.card:nth-child(6n+3)::before { background: var(--green); }
.card:nth-child(6n+4)::before { background: var(--yellow); }
.card:nth-child(6n+5)::before { background: var(--orange); }
.card:nth-child(6n)::before   { background: var(--purple); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card__icon { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; margin-bottom: 18px; }
.ic-red { background: #fde7eb; } .ic-blue { background: #e1f4fc; } .ic-green { background: #eef8e2; }
.ic-yellow { background: #fff4d6; } .ic-orange { background: #ffe9da; } .ic-purple { background: #f1e9f5; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Фон таспалары */
.band--soft  { background: linear-gradient(180deg, #fff 0, #fff7ef 100%); }
.band--blue  { background: linear-gradient(180deg, #f1fbfe 0, #eaf7fd 100%); }
.band--green { background: linear-gradient(180deg, #f5fbed 0, #eff8e3 100%); }
.band--cream { background: #fff8f1; }

/* ===========================================================
   ПРОГРАММА топтары
   =========================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.group-list { list-style: none; margin: 22px 0; padding: 0; }
.group-list li {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px;
  margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: transform .15s;
}
.group-list li:hover { transform: translateX(4px); }
.group-list .ico {
  flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: #fde7eb;
}
.group-list li:nth-child(2) .ico { background:#e1f4fc; }
.group-list li:nth-child(3) .ico { background:#eef8e2; }
.group-list li:nth-child(4) .ico { background:#f1e9f5; }
.group-list b { display: block; font-family: var(--display); font-weight: 600; }
.group-list span { color: var(--muted); font-size: .96rem; }

.illus-card {
  position: relative; background: linear-gradient(160deg,#fff 0,#fff7f0 100%);
  border-radius: var(--radius); padding: 34px; border: 1px solid var(--line);
  box-shadow: var(--shadow); text-align: center;
}
.illus-card img { width: 100%; aspect-ratio: 9/7; object-fit: cover; display: block; border-radius: 20px; margin: 0 auto; }

/* ===========================================================
   КҮН ТӘРТІБІ — timeline
   =========================================================== */
.schedule { max-width: 780px; margin: 0 auto; }
.schedule__item {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s;
}
.schedule__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.schedule__time {
  font-family: var(--display); font-weight: 600; color: var(--red); font-size: 1rem;
  background: #fde7eb; padding: 8px 10px; border-radius: 12px; text-align: center;
}
.schedule__item:nth-child(4n+2) .schedule__time { color: var(--blue-dk); background:#e1f4fc; }
.schedule__item:nth-child(4n+3) .schedule__time { color: var(--green-dk); background:#eef8e2; }
.schedule__item:nth-child(4n)   .schedule__time { color: var(--purple); background:#f1e9f5; }
.schedule__desc b { display: block; font-family: var(--display); font-weight: 600; }
.schedule__desc span { color: var(--muted); font-size: .96rem; }

/* ===========================================================
   ҚҰЖАТТАР
   =========================================================== */
.docs { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-bottom: 14px; }
.docs-cat {
  font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink);
  margin: 34px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.docs-cat:first-of-type { margin-top: 6px; }
.doc {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px;
  box-shadow: var(--shadow-sm); transition: transform .15s, border-color .2s, box-shadow .2s;
}
.doc:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.doc__ico { flex: none; width: 50px; height: 50px; border-radius: 13px; background: #fde7eb; display: grid; place-items: center; font-size: 1.5rem; }
.doc:nth-child(4n+2) .doc__ico { background:#e1f4fc; }
.doc:nth-child(4n+3) .doc__ico { background:#eef8e2; }
.doc:nth-child(4n)   .doc__ico { background:#f1e9f5; }
.doc b { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); }
.doc span { font-size: .88rem; color: var(--muted); }

/* ===========================================================
   ЖАҢАЛЫҚТАР карточкалары
   =========================================================== */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#ffe9da,#fde7eb); position: relative; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__date {
  display: inline-flex; align-items:center; gap:6px; font-weight: 800; font-size: .8rem;
  color: var(--red); background:#fde7eb; padding: 5px 12px; border-radius: 999px;
  align-self: flex-start; margin-bottom: 12px;
}
.news-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--red); }
.news-card p { color: var(--muted); font-size: .98rem; margin: 0 0 16px; }
.news-card .more { margin-top: auto; font-weight: 800; font-family: var(--display); }

/* ===========================================================
   CTA
   =========================================================== */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 32px; color: #fff; padding: 64px 40px; text-align: center;
  box-shadow: var(--shadow);
}
.cta::before, .cta::after { content:""; position:absolute; border-radius:50%; background: rgba(255,255,255,.12); }
.cta::before { width: 220px; height: 220px; top: -80px; left: -60px; }
.cta::after  { width: 160px; height: 160px; bottom: -60px; right: -40px; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.95); }

/* ===========================================================
   БАЙЛАНЫС
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list .ico { flex: none; width: 50px; height: 50px; border-radius: 14px; background:#e1f4fc; display:grid; place-items:center; font-size:1.4rem; }
.contact-list b { display:block; font-family: var(--display); font-weight: 600; }
.contact-list span { color: var(--muted); }
.map-embed iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
.map-embed__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--red); }
.map-embed__link svg { width: 18px; height: 18px; }

/* ===========================================================
   ІШКІ БЕТТЕР
   =========================================================== */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 320px at 82% -30%, #d8f0fb 0, transparent 62%),
    linear-gradient(180deg,#fffaf3 0,#fff 100%);
  padding: 60px 0 48px; border-bottom: 1px solid var(--line); text-align: center;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .lead { margin: 0 auto; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); font-weight: 700; }
.entry-content { max-width: 840px; margin: 0 auto; padding: 56px 0; font-size: 1.05rem; }
.entry-content h2 { margin-top: 1.5em; }
.entry-content h3 { margin-top: 1.3em; color: var(--red); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: .45em; }
.entry-content img { border-radius: var(--radius); margin: 1.4em 0; }
.entry-content blockquote {
  border-left: 5px solid var(--red); background: #fff7f0; margin: 1.4em 0;
  padding: 18px 24px; border-radius: 0 16px 16px 0; color: var(--ink); font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-sm); }
.entry-content th { background: var(--red); color:#fff; font-family: var(--display); font-weight: 600; text-align: left; padding: 14px 18px; }
.entry-content td { padding: 13px 18px; border-bottom: 1px solid var(--line); background:#fff; }
.entry-content tr:nth-child(even) td { background: #fff8f1; }

/* ===========================================================
   ФУТЕР
   =========================================================== */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg,#34284a 0,#2c2440 100%); color: #d9d2e6; padding: 64px 0 26px; margin-top: 0; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: radial-gradient(circle at 10% 20%, #fff 2px, transparent 3px),
    radial-gradient(circle at 30% 70%, #fff 2px, transparent 3px),
    radial-gradient(circle at 60% 30%, #fff 2px, transparent 3px),
    radial-gradient(circle at 85% 60%, #fff 2px, transparent 3px),
    radial-gradient(circle at 75% 15%, #fff 2px, transparent 3px);
  background-size: 220px 220px;
}
.site-footer .container { position: relative; z-index: 2; }
.site-footer a { color: #ffd3da; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 14px; }
.footer-brand b { color:#fff; font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.footer-socials a:hover { background: var(--red); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-contacts li { display: flex; gap: 12px; align-items: flex-start; }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size: .88rem; color:#a99fbb;
}

/* ===========================================================
   АДАПТИВ
   =========================================================== */
@media (max-width: 980px) {
  .hero__grid, .welcome__grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero__art, .illus-card { order: -1; }
  .welcome__media { order: -1; }
  .cards, .news { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar__left { display: none; }
  .topbar__inner { justify-content: center; }
  .main-nav { display: none; }
  .main-nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; box-shadow: var(--shadow);
  }
  .main-nav.is-open ul { flex-direction: column; }
  .main-nav.is-open a { width: 100%; }
  .nav-toggle { display: block; }
  .header-cta .btn--header { display: none; }
  .cards, .news, .docs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .schedule__item { grid-template-columns: 100px 1fr; }
  .hero { padding: 48px 0 90px; }
}
