:root{
  --red:#C8102E;
  --red-dark:#9e0c24;
  --ink:#1a1a1a;
  --muted:#6b6b6b;
  --bg:#fff;
  --soft:#faf6f2;
  --gold:#C8A45C;
  --line:#ececec;
  --radius:16px;
  --shadow:0 12px 40px rgba(0,0,0,.08);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Montserrat',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
.container--narrow{max-width:820px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:15px;padding:14px 26px;border-radius:999px;border:none;cursor:pointer;transition:.2s;font-family:inherit;text-align:center}
.btn--sm{padding:9px 18px;font-size:13px;background:#fff;color:var(--red);border:1.5px solid var(--red)}
.btn--sm:hover{background:var(--red);color:#fff}
.btn--lg{padding:17px 38px;font-size:16px}
.btn--accent{background:var(--red);color:#fff;box-shadow:0 8px 22px rgba(200,16,46,.28)}
.btn--accent:hover{background:var(--red-dark);transform:translateY(-2px)}
.btn--full{width:100%}
.btn--outline{background:#fff;border:1.5px solid var(--line);color:var(--ink)}
.btn--outline:hover{border-color:var(--red);color:var(--red)}

/* Header */
.header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header__inner{display:flex;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px;gap:20px}
.logo{display:flex;align-items:center;gap:12px}
.logo__hanzi{font-family:'Noto Sans SC',sans-serif;font-size:34px;font-weight:700;color:var(--red);line-height:1}
.logo__text{font-size:14px;font-weight:600;line-height:1.2}
.logo__text b{color:var(--red)}
.header__contacts{display:flex;align-items:center;gap:22px}
.header__addr{font-size:13px;color:var(--muted);line-height:1.3}
.header__phone{font-size:18px;font-weight:800;color:var(--ink);white-space:nowrap}
.header__phone:hover{color:var(--red)}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px}
.burger span{width:26px;height:2.5px;background:var(--ink);border-radius:2px}

/* Hero */
.hero{background:linear-gradient(135deg,#fff 0%,var(--soft) 100%);padding:70px 0 80px;position:relative;overflow:hidden}
.hero::before{content:"你好";position:absolute;right:-40px;top:40px;font-family:'Noto Sans SC',sans-serif;font-size:380px;font-weight:700;color:rgba(200,16,46,.04);line-height:1;pointer-events:none;z-index:0}
.hero__inner{display:grid;grid-template-columns:1.2fr .9fr;gap:50px;align-items:center;position:relative;z-index:1}
.hero__eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:13px;font-weight:700;color:var(--gold);margin-bottom:18px}
.hero__title{font-size:48px;font-weight:900;line-height:1.08;margin-bottom:22px}
.hero__title span{color:var(--red)}
.hero__lead{font-size:18px;color:var(--muted);margin-bottom:32px;max-width:520px}
.hero__note{font-size:13px;color:var(--muted);margin-top:14px}
.hero__card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:34px}
.hero__card h3{font-size:22px;font-weight:800;margin-bottom:10px;line-height:1.2}
.hero__card>p{color:var(--muted);font-size:15px;margin-bottom:22px}

/* Lead form */
.lead-form{display:flex;flex-direction:column;gap:12px}
.lead-form input{font-family:inherit;font-size:15px;padding:15px 18px;border:1.5px solid var(--line);border-radius:12px;background:#fff;transition:.2s;width:100%}
.lead-form input:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 4px rgba(200,16,46,.08)}
.lead-form__msg{font-size:14px;font-weight:600;min-height:0}
.lead-form__msg.ok{color:#1a8a3b}
.lead-form__msg.err{color:var(--red)}
.lead-form__policy{font-size:12px;color:var(--muted);text-align:center;line-height:1.4}

/* Sections */
.section{padding:80px 0}
.section__title{font-size:36px;font-weight:900;text-align:center;line-height:1.15;margin-bottom:14px}
.section__title--left{text-align:left}
.section__sub{text-align:center;color:var(--muted);font-size:17px;max-width:680px;margin:0 auto 46px}

/* Features */
.features{background:#fff}
.features__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.feature{background:#fff;border-radius:var(--radius);padding:32px 28px;transition:.25s;border:1px solid transparent}
.feature:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line)}
.feature__ico{margin:0 auto 18px;color:var(--red);display:flex;align-items:center;justify-content:center}
.feature__ico svg{width:58px;height:58px}
.feature h3{font-size:19px;font-weight:800;margin-bottom:10px;text-align:center}
.feature p{color:var(--muted);font-size:15px}

/* Story */
.story__inner{display:grid;grid-template-columns:1.4fr 1fr;gap:56px;align-items:center}
.story__text p{color:var(--muted);font-size:16px;margin-bottom:16px}
.story__text p:first-of-type{margin-top:8px}
.story__stats{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.stat{background:var(--soft);border-radius:var(--radius);padding:26px 22px;text-align:center}
.stat b{display:block;font-size:38px;font-weight:900;color:var(--red);line-height:1}
.stat span{font-size:14px;color:var(--muted);margin-top:8px;display:block}

/* Why */
.why{background:var(--soft)}
.why__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why__card{background:#fff;border-radius:var(--radius);padding:34px 30px;border-top:4px solid var(--red)}
.why__card h3{font-size:21px;font-weight:800;margin-bottom:12px}
.why__card p{color:var(--muted);font-size:15px;margin-bottom:14px}
.link{color:var(--red);font-weight:700;font-size:15px}

/* Teachers */
.teachers__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.teacher{text-align:center}
.teacher__photo{width:120px;height:120px;border-radius:50%;margin:0 auto 18px;background:linear-gradient(135deg,var(--red),var(--red-dark));display:flex;align-items:center;justify-content:center;font-family:'Noto Sans SC',sans-serif;font-size:48px;color:#fff;font-weight:700}
.teacher__photo[data-init="НЛ"]{background:linear-gradient(135deg,var(--gold),#a8873f);font-family:'Montserrat';font-size:34px}
.teacher h3{font-size:18px;font-weight:800;margin-bottom:4px}
.teacher__role{color:var(--red);font-weight:600;font-size:14px;margin-bottom:10px}
.teacher__desc{color:var(--muted);font-size:13.5px}

/* FAQ */
.faq__list{display:flex;flex-direction:column;gap:12px}
.faq__item{background:var(--soft);border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.faq__item summary{padding:20px 24px;font-weight:700;font-size:17px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"+";font-size:26px;font-weight:400;color:var(--red);transition:.2s}
.faq__item[open] summary::after{transform:rotate(45deg)}
.faq__body{padding:0 24px 22px}
.faq__body p{color:var(--muted);font-size:15px}

/* Reviews */
.reviews{background:var(--soft)}
.reviews__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:40px}
.review{background:#fff;border-radius:var(--radius);padding:30px 28px;box-shadow:0 4px 16px rgba(0,0,0,.04)}
.review p{font-size:15px;color:#333;margin-bottom:18px;font-style:italic}
.review__author b{font-weight:700;font-size:15px}
.reviews__more{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* CTA */
.cta{background:linear-gradient(135deg,var(--red),var(--red-dark));color:#fff}
.cta__inner{display:grid;grid-template-columns:1.2fr .9fr;gap:50px;align-items:center}
.cta__text h2{font-size:38px;font-weight:900;line-height:1.1;margin-bottom:16px}
.cta__text p{font-size:18px;opacity:.9;max-width:480px}
.lead-form--cta{background:#fff;padding:32px;border-radius:var(--radius);box-shadow:var(--shadow)}
.lead-form--cta .lead-form__policy{color:var(--muted)}

/* Footer */
.footer{background:var(--ink);color:#cfcfcf;padding:56px 0 0}
.footer__inner{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px;padding-bottom:40px}
.footer .logo__hanzi{color:#fff}
.footer .logo__text,.footer .logo__text b{color:#fff}
.footer__addr{margin:16px 0 8px;font-size:14px}
.footer__phone{font-size:20px;font-weight:800;color:#fff}
.footer__col h4{color:#fff;font-size:16px;margin-bottom:16px}
.footer__col a{display:block;font-size:14px;margin-bottom:10px;color:#cfcfcf;transition:.2s}
.footer__col a:hover{color:#fff}
.footer__bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:22px;padding-bottom:22px;font-size:13px;color:#888;text-align:center}

/* FAB */
.fab{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 8px 24px rgba(200,16,46,.4);z-index:90;animation:pulse 2.4s infinite}
@keyframes pulse{0%{box-shadow:0 8px 24px rgba(200,16,46,.4),0 0 0 0 rgba(200,16,46,.4)}70%{box-shadow:0 8px 24px rgba(200,16,46,.4),0 0 0 16px rgba(200,16,46,0)}100%{box-shadow:0 8px 24px rgba(200,16,46,.4),0 0 0 0 rgba(200,16,46,0)}}

/* Responsive */
@media(max-width:980px){
  .hero__inner,.story__inner,.cta__inner{grid-template-columns:1fr;gap:36px}
  .features__grid,.why__grid,.reviews__grid{grid-template-columns:1fr 1fr}
  .teachers__grid{grid-template-columns:1fr 1fr}
  .footer__inner{grid-template-columns:1fr 1fr}
  .hero__title{font-size:38px}
  .section__title{font-size:30px}
}
@media(max-width:640px){
  .header__contacts{display:none}
  .burger{display:flex}
  .header__contacts.open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:20px 24px;gap:14px;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
  .features__grid,.why__grid,.reviews__grid,.teachers__grid,.footer__inner{grid-template-columns:1fr}
  .hero__title{font-size:30px}
  .section{padding:56px 0}
  .hero{padding:48px 0 56px}
  .section__title{font-size:26px}
  .cta__text h2{font-size:28px}
  .hero::before{font-size:220px;right:-20px}
}

/* Restored real imagery */
.logo__img{height:46px;width:auto;display:block}
.footer .logo__img{height:50px}
img.teacher__photo{object-fit:cover;display:block;background:#f3eee9}
.story__media{display:flex;flex-direction:column;gap:18px}
.story__photo{width:100%;height:auto;border-radius:var(--radius);box-shadow:var(--shadow);display:block}
.hero{background:linear-gradient(105deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.78) 34%, rgba(255,255,255,.34) 56%, rgba(255,255,255,.05) 78%), url('hero-temple.jpg') center bottom/cover no-repeat}
.hero::before{display:none}
/* Articles */
.articles__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.article{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:0 4px 16px rgba(0,0,0,.04);transition:.25s;display:flex;flex-direction:column}
.article:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.article__img{aspect-ratio:16/10;overflow:hidden}
.article__img img{width:100%;height:100%;object-fit:cover;transition:.3s}
.article:hover .article__img img{transform:scale(1.05)}
.article__body{padding:22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.article__body h3{font-size:18px;font-weight:800;line-height:1.25}
.article__body p{color:var(--muted);font-size:14.5px;flex:1}
.articles__more{text-align:center;margin-top:40px}
@media(max-width:980px){.articles__grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.articles__grid{grid-template-columns:1fr}}
@media(max-width:640px){ .logo__img{height:40px} }
