/* Всезнайка — air-balloon. Палитра центра: синий #2860a9, зелёный #49ab3b, жёлтый #febf05, тёмно-синий #00152e.
   Концепт: импульс «вау / сгоняем», не уговаривание. Mobile-first, яркое, короткое. */

:root{
  --blue:#2860a9; --blue-d:#1c4a86; --green:#49ab3b; --yellow:#febf05;
  --navy:#00152e; --ink:#11233a; --muted:#5d6b7d;
  --cream:#f4f8fd; --white:#fff;
  --r:22px; --shadow:0 14px 36px rgba(11,40,80,.16);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  color:var(--ink); background:var(--white); line-height:1.5;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{max-width:100%;display:block}
.wrap{width:100%;max-width:880px;margin:0 auto;padding:0 18px}

/* ── Кнопки ── */
.btn,.cta{
  display:inline-block;border:none;cursor:pointer;text-decoration:none;
  font-weight:800;font-size:18px;line-height:1;border-radius:999px;
  padding:18px 34px;transition:transform .12s ease,box-shadow .12s ease;
  font-family:inherit;
}
.cta,.btn-primary{
  background:var(--yellow);color:var(--navy);
  box-shadow:0 10px 24px rgba(254,191,5,.45);
}
.cta:hover,.btn-primary:hover{transform:translateY(-2px) scale(1.02)}
.cta:active,.btn-primary:active{transform:translateY(0)}
.btn-lg{font-size:19px;padding:19px 40px}
.cta-ghost{background:var(--white);color:var(--blue);box-shadow:0 8px 20px rgba(11,40,80,.12)}

/* ── Header ── */
.top{position:absolute;top:0;left:0;right:0;z-index:5}
.top-inner{display:flex;align-items:center;gap:12px;padding:14px 18px;max-width:880px;margin:0 auto}
.top .logo{height:46px;width:auto;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}
.top-txt{display:flex;flex-direction:column;line-height:1.1;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.top-school{font-size:11px;opacity:.92}
.top-name{font-size:14px;font-weight:800}
.top-phone{margin-left:auto;color:#fff;font-weight:700;font-size:15px;text-decoration:none;text-shadow:0 1px 6px rgba(0,0,0,.35);white-space:nowrap}

/* ── HERO ── */
.hero{
  position:relative;text-align:center;color:#fff;
  padding:96px 0 56px;
  background:
    radial-gradient(1200px 380px at 50% -60px, #6aa6e6 0%, rgba(106,166,230,0) 70%),
    linear-gradient(180deg,#2f6fc0 0%, var(--blue) 55%, var(--blue-d) 100%);
  overflow:hidden;
}
.hero::before,.hero::after{ /* облачка */
  content:"";position:absolute;background:rgba(255,255,255,.85);border-radius:100px;filter:blur(.3px);opacity:.6;
}
.hero::before{width:120px;height:34px;top:120px;left:-20px;box-shadow:60px 12px 0 -6px rgba(255,255,255,.6)}
.hero::after{width:90px;height:26px;top:90px;right:-10px;box-shadow:-50px 16px 0 -6px rgba(255,255,255,.5)}
.hero-inner{position:relative;z-index:2}
.hero-eyebrow{
  display:inline-block;background:var(--green);color:#fff;font-weight:800;
  font-size:13px;letter-spacing:.3px;padding:7px 16px;border-radius:999px;margin-bottom:16px;
  box-shadow:0 6px 16px rgba(73,171,59,.4);
}
.hero-h1{font-size:40px;line-height:1.05;font-weight:900;letter-spacing:-.5px;margin-bottom:14px;text-shadow:0 2px 14px rgba(0,0,0,.18)}
.hero-lead{font-size:19px;font-weight:600;max-width:560px;margin:0 auto 22px;opacity:.97}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-bottom:26px}
.chip{
  background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.4);
  color:#fff;font-weight:700;font-size:14px;padding:9px 15px;border-radius:999px;backdrop-filter:blur(4px);
}
.chip b{font-weight:900}
.hero-note{margin-top:14px;font-size:14px;opacity:.9}

/* коллаж в hero */
.hero-art{
  margin:30px auto 0;max-width:620px;border-radius:var(--r);overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.28);background:#dfeaf7;
  aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;
}
.hero-art img{width:100%;height:100%;object-fit:cover}
.hero-art.is-empty{
  background:repeating-linear-gradient(45deg,#e7f0fb,#e7f0fb 18px,#dbe8f8 18px,#dbe8f8 36px);
  color:var(--blue);font-weight:800;font-size:14px;text-align:center;padding:16px;
}
.hero-art .ph{display:none}
.hero-art.is-empty .ph{display:block}

/* ── Секции ── */
.sec{padding:54px 0}
.sec-title{font-size:28px;font-weight:900;color:var(--navy);text-align:center;margin-bottom:8px;letter-spacing:-.4px}
.sec-sub{text-align:center;color:var(--muted);font-size:16px;max-width:540px;margin:0 auto 30px}

/* что получится */
.show{background:var(--cream)}
.show-photo{
  border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);background:#e8eef6;
  aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;margin-bottom:26px;
}
.show-photo img{width:100%;height:100%;object-fit:cover}
.show-photo.is-empty{background:repeating-linear-gradient(45deg,#eef3fa,#eef3fa 16px,#e2ebf6 16px,#e2ebf6 32px);color:var(--blue);font-weight:800;font-size:14px;padding:16px;text-align:center}
.show-photo .ph{display:none}
.show-photo.is-empty .ph{display:block}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.step{background:#fff;border-radius:16px;padding:18px 14px;text-align:center;box-shadow:0 6px 18px rgba(11,40,80,.07)}
.step .em{font-size:34px;display:block;margin-bottom:8px}
.step b{display:block;color:var(--navy);font-size:15px;font-weight:800;margin-bottom:3px}
.step span{font-size:13px;color:var(--muted)}

/* легко и весело */
.easy-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:6px}
.easy-item{
  background:#fff;border:2px solid #eaf0f8;border-radius:16px;padding:14px 18px;
  font-weight:700;color:var(--ink);font-size:15px;display:flex;align-items:center;gap:9px;
}
.easy-item .em{font-size:22px}

/* детали */
.info{background:linear-gradient(180deg,var(--blue) 0%,var(--blue-d) 100%);color:#fff}
.info .sec-title{color:#fff}
.info-card{
  background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.25);
  border-radius:var(--r);padding:26px 22px;max-width:520px;margin:0 auto;backdrop-filter:blur(4px);
}
.info-row{display:flex;align-items:center;gap:12px;font-size:17px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.info-row:last-of-type{border-bottom:none}
.info-row .em{font-size:22px;width:28px;text-align:center}
.info-row b{font-weight:800}
.info-cta{text-align:center;margin-top:24px}
.teacher-line{text-align:center;margin-top:16px;font-size:14px;opacity:.9}

/* ── Footer ── */
.foot{background:var(--navy);color:#aeb9c7;text-align:center;padding:30px 18px;font-size:14px;line-height:1.8}
.foot a{color:#fff;text-decoration:none}

/* ── Sticky CTA (моб) ── */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:40;display:none;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.92);backdrop-filter:blur(8px);box-shadow:0 -8px 24px rgba(11,40,80,.12);
}
.sticky-cta .cta{display:block;width:100%;text-align:center}

/* ── POPUP / ФОРМА (механика сохранена) ── */
.form-popup-overlay{position:fixed;inset:0;background:rgba(0,21,46,.6);display:flex;align-items:center;justify-content:center;z-index:100;padding:18px}
.form-popup-overlay[hidden]{display:none}
.form-popup{background:#fff;border-radius:24px;max-width:430px;width:100%;padding:30px 26px;position:relative;box-shadow:0 30px 70px rgba(0,0,0,.35);max-height:92vh;overflow-y:auto}
.form-popup-close{position:absolute;top:14px;right:16px;background:none;border:none;font-size:24px;color:#9aa7b6;cursor:pointer;line-height:1}
.form-popup h3{font-size:23px;font-weight:900;color:var(--navy);margin-bottom:18px;padding-right:24px}
.form-field{margin-bottom:14px}
.form-field label{display:block;font-size:14px;font-weight:700;color:var(--ink);margin-bottom:6px}
.form-field input{width:100%;border:2px solid #e3eaf3;border-radius:13px;padding:13px 15px;font-size:16px;font-family:inherit;transition:border-color .15s}
.form-field input:focus{outline:none;border-color:var(--blue)}
.form-field input.field-error{border-color:#e5484d}
.form-error{display:block;color:#e5484d;font-size:13px;margin-top:5px;min-height:1px}
#form-submit{width:100%;margin-top:6px}
.form-success-msg{text-align:center;padding:24px 8px}
.form-success-msg[hidden]{display:none}
.success-icon{font-size:52px;margin-bottom:12px}
.form-success-msg p{font-size:17px;color:var(--ink)}

/* ── Адаптив ── */
@media (max-width:600px){
  .hero{padding:88px 0 44px}
  .hero-h1{font-size:31px}
  .hero-lead{font-size:17px}
  .sec{padding:42px 0}
  .sec-title{font-size:24px}
  .steps{grid-template-columns:1fr;gap:10px}
  .step{display:flex;align-items:center;gap:12px;text-align:left;padding:14px}
  .step .em{margin:0;font-size:28px}
  .top-name{font-size:13px}
  .top-phone{font-size:13px}
  .sticky-cta{display:block}
  body{padding-bottom:80px}
}
