/* ══════════════════════════════════════════
   AltynStar — Детский сад
   style.css — детский светлый стиль
══════════════════════════════════════════ */

:root {
  --blue:        #2563d4;
  --blue-light:  #4a7fe8;
  --blue-pale:   #eef3fc;
  --blue-mid:    #c7d9f8;
  --yellow:      #f5c200;
  --yellow-light:#ffe566;
  --yellow-pale: #fffbe6;
  --orange:      #ff8c00;
  --orange-light:#ffa733;
  --white:       #ffffff;
  --bg:          #f7f9ff;
  --dark:        #1a2a4a;
  --gray:        #7a8aaa;
  --text:        #2d3a55;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── АНИМАЦИИ ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes starPop {
  0%,100% { transform: scale(1) rotate(0deg); }
  50%     { transform: scale(1.2) rotate(20deg); }
}

/* ── DECORATIVE STARS (фоновые) ── */
.star-deco {
  position: absolute;
  font-size: 22px;
  animation: starPop 3s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

/* ── LANG BAR ── */
.lang-bar {
  background: var(--blue);
  display: flex;
  justify-content: flex-end;
  padding: 6px 40px;
  gap: 10px;
}
.lang-btn {
  background: none;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .25s;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(37,99,212,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 76px;
}

/* LOGO — img/logo.png */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.3px;
}
.logo-name .altyn { color: var(--blue); }
.logo-name .star  { color: var(--orange); }
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: .5px;
}

nav { display: flex; gap: 2px; }
nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all .22s;
}
nav a:hover { background: var(--blue-pale); color: var(--blue); }
nav a.active {
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 700;
}

.header-cta {
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .28s;
  box-shadow: 0 4px 18px rgba(245,194,0,.35);
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,194,0,.5);
}

/* ── BURGER / MOBILE NAV ── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 3px;
  transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--blue); }
.mobile-nav .mobile-cta {
  background: var(--yellow);
  color: var(--dark);
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 8px;
  transition: all .3s;
}
.mobile-nav .mobile-cta:hover { background: var(--yellow-light); }
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--dark);
}

/* ══════════════════════════════════════════
   HERO — точный повтор макета
   Структура: 3 зоны в одном relative-блоке
   [текст слева] [фото по центру-вправо] [карточка поверх справа]
══════════════════════════════════════════ */
.hero {
  min-height: 540px;
  background: linear-gradient(170deg, #f0f7ff 0%, #fffbe8 60%, #fff4d0 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52% 1fr;
  align-items: stretch;
  padding: 0;
}

/* Звёздные декоры */
.star-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 3;
  animation: starPop 3s ease-in-out infinite;
}

/* Левая колонка — текст */
.hero-content {
  position: relative;
  z-index: 4;
  padding: 56px 60px 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-pale);
  border: 1.5px solid var(--blue-mid);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
  animation: fadeUp .7s ease both;
}

/* H1 */
.hero h1 {
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  animation: fadeUp .7s .1s ease both;
}
.h1-line1 {
  display: block;
  font-size: clamp(30px, 3.5vw, 52px);
  color: var(--dark);
}
.h1-name {
  display: block;
  font-size: clamp(34px, 4.2vw, 60px);
}
.h1-name .altyn       { color: var(--blue); }
.h1-name .star-part   { color: var(--orange); margin: 0 2px; }
.h1-name .altyn-star-text { color: var(--orange); }

.hero p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 500;
  max-width: 480px;
  animation: fadeUp .7s .2s ease both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

/* Кнопки */
.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .28s;
  box-shadow: 0 5px 18px rgba(245,194,0,.4);
}
.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 9px 24px rgba(245,194,0,.55);
}

.btn-outline {
  background: #fff;
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid #dde6f0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .28s;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--blue);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 38px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all .28s;
  box-shadow: 0 5px 18px rgba(37,99,212,.3);
}
.btn-dark:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 9px 24px rgba(37,99,212,.45);
}

/* Правая зона: фото + карточка вместе */
.hero-photo-area {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Фото — растянуто на всю высоту, левый край — облако-зигзаг */
.hero-photo-blob {
  width: 100%;
  height: 100%;
  min-height: 540px;
}
.hero-photo-blob img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Облачный зигзаг по левому краю */
  clip-path: path('M 80,0 C 40,0 0,30 0,70 C 0,100 30,110 30,140 C 30,170 0,180 0,210 C 0,240 30,250 30,280 C 30,310 0,320 0,350 C 0,380 30,390 30,420 C 30,450 0,460 0,490 C 0,520 40,540 80,540 L 800,540 L 800,0 Z');
}

/* hero-info-card убран */

.hero-stats { display: none; }
.stat-item  { display: none; }
.stat-icon  { display: none; }
.stat-num   { display: none; }
.stat-label { display: none; }

/* ── FEATURES STRIP (5 иконок под героем) ── */
.features-strip {
  background: #fff;
  border-top: 1px solid #eef0f5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 0;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 28px;
  flex: 1;
  min-width: 180px;
  border-right: 1px solid #eef0f5;
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 3px;
  line-height: 1.3;
}
.feature-item span {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
}

/* ── SCHEDULE STRIP ── */
.schedule-strip {
  background: var(--blue);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.schedule-item { text-align: center; color: #fff; }
.schedule-item strong { display: block; font-size: 18px; font-weight: 900; }
.schedule-item span  { font-size: 10px; opacity: .75; letter-spacing: 1.5px; font-weight: 600; }

/* ── SECTIONS (общие) ── */
.py-section { padding: 80px 60px; }

.section-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-title span { color: var(--blue); }
.section-sub {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
}

/* ── ABOUT PREVIEW ── */
.about-section {
  background: var(--blue-pale);
  border-radius: 32px;
  margin: 0 40px;
  padding: 64px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual-main {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 28px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  box-shadow: 0 20px 50px rgba(37,99,212,.25);
  animation: float 6s ease-in-out infinite;
}
.about-visual-main img{
     height: 100%;
    width: 100%;
    object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  text-align: center;
}
.about-badge-num  { font-size: 30px; font-weight: 900; color: var(--orange); line-height: 1; }
.about-badge-text { font-size: 11px; color: var(--gray); font-weight: 600; margin-top: 3px; }

.about-features { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  transition: all .28s;
  border: 1.5px solid transparent;
}
.about-feature:hover {
  transform: translateX(5px);
  border-color: var(--blue-mid);
  box-shadow: 0 6px 20px rgba(37,99,212,.1);
}
.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.about-feature h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; color: var(--dark); }
.about-feature p  { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ── ГРУППЫ ── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.program-card {
  background: #fff;
  border: 2px solid var(--blue-mid);
  border-radius: 22px;
  overflow: hidden;
  transition: all .3s;
  position: relative;
}
.program-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.program-card:hover::after { transform: scaleX(1); }
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(37,99,212,.18);
  border-color: var(--blue);
}
.program-img {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--blue-mid);
}
.program-body { padding: 20px 20px 24px; text-align: center; }
.program-age {
  display: inline-block;
  background: var(--yellow-pale);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  border: 1px solid #ffe0a0;
}
.program-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 7px; color: var(--dark); }
.program-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ── ГАЛЕРЕЯ ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
  margin-top: 44px;
}
.gallery-item {
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  transition: all .28s;
  cursor: pointer;
}
.gallery-item img{
 height: 100%;
 width: 100%;
 object-fit: cover;
}
.gallery-item:hover { transform: scale(.97); }
.gallery-item:first-child { grid-row: 1 / 3; }
.gi-1 { background: linear-gradient(135deg,#2563d4,#4a7fe8); }
.gi-2 { background: linear-gradient(135deg,#f5c200,#ffdc55); }
.gi-3 { background: linear-gradient(135deg,#ff8c00,#ffa733); }
.gi-4 { background: linear-gradient(135deg,#c7d9f8,#9dbef5); }
.gi-5 { background: linear-gradient(135deg,#ffe566,#f5c200); }

/* ── ДОКУМЕНТЫ ── */
.docs-section {
  background: var(--dark);
  border-radius: 32px;
  margin: 0 40px;
  padding: 64px 60px;
}
.docs-section .section-tag  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.docs-section .section-title{ color: #fff; }
.docs-section .section-sub  { color: rgba(255,255,255,.55); }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.doc-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  transition: all .28s;
  cursor: pointer;
  text-decoration: none;
}
.doc-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.3);
}
.doc-icon {
  width: 50px; height: 50px;
  background: rgba(245,194,0,.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}
.doc-card h4   { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 5px; line-height: 1.4; }
.doc-card p    { font-size: 11px; color: rgba(255,255,255,.4); }
.doc-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 10px;
}

/* ── КОНТАКТЫ ── */
.contact-section {
  background: var(--blue-pale);
  border-radius: 32px;
  margin: 0 40px;
  padding: 64px 60px;
}
.contact-title { font-size: 20px; font-weight: 800; margin-bottom: 32px; color: var(--dark); }
.contact-cards { display: flex; gap: 18px; flex-wrap: wrap; }
.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 210px;
  box-shadow: 0 4px 18px rgba(37,99,212,.08);
  transition: all .28s;
  text-decoration: none;
  border: 2px solid transparent;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(37,99,212,.16);
  border-color: var(--blue-mid);
}
.contact-card-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ci-green { background: var(--blue); }
.ci-wa    { background: #25d366; }
.ci-loc   { background: var(--orange); }
.contact-card h4 {
  font-size: 11px; font-weight: 700;
  color: var(--gray);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px;
}
.contact-card p,
.contact-card span { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.4; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 60px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; margin-top: 14px; }
.footer-brand .logo-name .altyn { color: #7aadff; }
.footer-brand .logo-name .star  { color: var(--yellow); }
.footer-brand .logo-sub { color: rgba(255,255,255,.35); }

.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: rgba(255,255,255,.65); text-decoration: none;
  margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 28px rgba(37,99,212,.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all .4s;
  z-index: 999;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   СТРАНИЦА «О САДИКЕ»
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(160deg, #eef6ff 0%, #fff9e6 100%);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--blue-mid);
}
.breadcrumb {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; margin-bottom: 24px;
}
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray); }

.page-hero-tag {
  position: relative; z-index: 2;
  display: inline-block;
  background: var(--blue-pale);
  border: 1.5px solid var(--blue-mid);
  color: var(--blue);
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; padding: 6px 18px;
  border-radius: 20px; margin-bottom: 18px;
}
.page-hero h1 {
  position: relative; z-index: 2;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900; color: var(--dark);
  line-height: 1.1; margin-bottom: 14px;
}
.page-hero h1 span { color: var(--blue); }
.page-hero p {
  position: relative; z-index: 2;
  font-size: 15px; color: var(--gray);
  max-width: 560px; margin: 0 auto; line-height: 1.7; font-weight: 500;
}

.stats-section {
  background: var(--blue);
  padding: 44px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-block { padding: 14px; border-right: 1px solid rgba(255,255,255,.2); }
.stat-block:last-child { border-right: none; }
.stat-num   { font-size: 42px; font-weight: 900; color: var(--yellow); line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 6px; font-weight: 600; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mission-text p { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.mission-visual {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 28px; height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 96px;
  box-shadow: 0 20px 50px rgba(37,99,212,.25);
  animation: float 7s ease-in-out infinite;
}

.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.value-card {
  background: var(--blue-pale);
  border-radius: 22px; padding: 28px 22px;
  text-align: center; transition: all .28s;
  border: 2px solid transparent;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(37,99,212,.13);
  background: #fff;
  border-color: var(--blue-mid);
}
.value-icon { font-size: 38px; margin-bottom: 12px; }
.value-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.value-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; }

.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.infra-card {
  background: #fff;
  border: 2px solid var(--blue-mid);
  border-radius: 22px; padding: 26px;
  transition: all .3s;
}
.infra-card:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 36px rgba(37,99,212,.12);
  transform: translateY(-4px);
}
.infra-icon { font-size: 34px; margin-bottom: 12px; }
.infra-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 7px; color: var(--dark); }
.infra-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; }
.infra-list { list-style: none; margin-top: 10px; }
.infra-list li {
  font-size: 13px; color: var(--gray);
  padding: 3px 0;
  display: flex; align-items: center; gap: 8px;
}
.infra-list li::before { content: '✓'; color: var(--blue); font-weight: 800; }

.faq-list { margin-top: 36px; }
.faq-item {
  border: 2px solid var(--blue-mid);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .25s;
  background: #fff;
}
.faq-item.open { border-color: var(--blue); }
.faq-q {
  padding: 18px 22px;
  font-size: 15px; font-weight: 700; color: var(--dark);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q:hover { background: var(--blue-pale); }
.faq-arrow { font-size: 20px; transition: transform .3s; color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: 14px; color: var(--gray); line-height: 1.7;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 220px; padding: 0 22px 18px; }

.cta-strip { background: var(--yellow); padding: 56px 40px; text-align: center; }
.cta-strip h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--dark); margin-bottom: 10px; }
.cta-strip p  { font-size: 16px; color: var(--dark); opacity: .75; margin-bottom: 26px; font-weight: 500; }

/* ══════════════════════════════════════════
   АДАПТИВНОСТЬ
══════════════════════════════════════════ */

/* Планшет ≤ 1024px */
@media (max-width: 1024px) {
  header { padding: 0 24px; }

  /* Hero → стек */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 48px 40px 32px; text-align: center; align-items: center; }
  .hero p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-photo-area { min-height: 380px; }
  .hero-photo-blob { min-height: 380px; }
  .hero-photo-blob img { clip-path: none; }

  .features-strip { gap: 0; }
  .feature-item { padding: 18px 16px; min-width: 160px; }

  .about-section { grid-template-columns: 1fr; gap: 36px; margin: 0 20px; padding: 48px 36px; }
  .about-visual  { display: none; }

  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid     { grid-template-columns: repeat(2, 1fr); }
  .docs-section  { margin: 0 20px; }
  .contact-section { margin: 0 20px; }

  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer { padding: 48px 32px 24px; }

  .py-section { padding: 64px 32px; }

  /* about */
  .mission-grid   { grid-template-columns: 1fr; }
  .mission-visual { display: none; }
  .infra-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-section  { grid-template-columns: repeat(2, 1fr); padding: 36px 24px; }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-top: 1px solid rgba(255,255,255,.2); }
  .values-row     { grid-template-columns: repeat(2, 1fr); }
}

/* Мобильный ≤ 768px */
@media (max-width: 768px) {
  .lang-bar { padding: 6px 16px; }

  header { padding: 0 16px; height: 64px; }
  nav, .header-cta { display: none; }
  .burger { display: flex; }

  .hero-content { padding: 36px 20px 24px; }
  .hero h1 { font-size: 28px; }
  .hero p  { font-size: 14px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { text-align: center; width: 100%; }
  .hero-photo-area { min-height: 280px; }
  .hero-photo-blob { min-height: 280px; }

  .features-strip { flex-direction: column; }
  .feature-item { border-right: none; border-bottom: 1px solid #eef0f5; padding: 16px 20px; }
  .feature-item:last-child { border-bottom: none; }

  .py-section { padding: 48px 16px; }

  .about-section { margin: 0 10px; padding: 36px 20px; border-radius: 22px; }

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

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px 150px; }
  .gallery-item:first-child { grid-row: auto; }

  .docs-section  { margin: 0 10px; padding: 36px 18px; border-radius: 22px; }
  .docs-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .contact-section { margin: 0 10px; padding: 36px 18px; border-radius: 22px; }
  .contact-cards   { flex-direction: column; }
  .contact-card    { min-width: unset; }

  footer { padding: 36px 16px 20px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* about */
  .page-hero  { padding: 48px 20px; }
  .page-hero h1 { font-size: 26px; }
  .stats-section { grid-template-columns: repeat(2, 1fr); padding: 28px 16px; }
  .stat-num   { font-size: 30px; }
  .values-row { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .faq-q      { font-size: 14px; padding: 14px 16px; }
  .cta-strip  { padding: 44px 20px; }
}

/* Малый телефон ≤ 420px */
@media (max-width: 420px) {
  .docs-grid     { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
  .stats-section { grid-template-columns: 1fr; }
  .stat-block    { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-block:last-child { border-bottom: none; }
}
