@font-face{font-family:'Golos Text';src:url('../fonts/GolosText-cyrillic-ext.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Golos Text';src:url('../fonts/GolosText-cyrillic.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Golos Text';src:url('../fonts/GolosText-latin-ext.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Golos Text';src:url('../fonts/GolosText-latin.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root{
  --bg:#ffffff;
  --bg-soft:#f3f8fe;
  --card:#e8f3fe;
  --line:#d3e5f9;
  --ink:#0f2338;
  --ink-2:#4a5f76;
  --accent:#2196f3;
  --accent-strong:#1976d2;
  --accent-50:#e3f2fd;
  --btn:#1976d2;
  --btn-ink:#ffffff;
  --btn-line:#0d47a1;
  --radius:22px;
  --shadow:0 12px 32px rgba(13,71,161,.08);
  --font:'Golos Text',Arial,sans-serif;
  --ornament:url('../img/rub.svg') center/80px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.55 var(--font);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--font);font-weight:600;margin:0;line-height:1.15;letter-spacing:-.02em}
p{margin:0}
ul,ol,dl,dd{margin:0;padding:0;list-style:none}
.accent{color:var(--accent)}
:focus-visible{outline:3px solid rgba(33,150,243,.45);outline-offset:3px;border-radius:8px}

.container{max-width:1160px;margin:0 auto;padding:0 24px}
.section{padding:72px 0}
.section--soft{background:var(--bg-soft) var(--ornament)}
.section__title{font-size:40px;line-height:1.12;letter-spacing:-.03em;margin-bottom:36px;text-align:center}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:64px;padding:0 40px;border-radius:16px;
  background:var(--btn);color:var(--btn-ink);font:600 18px/1 var(--font);text-decoration:none;border:1px solid var(--btn-line);
  transition:background-color .15s ease;white-space:nowrap}
.btn{box-shadow:0 4px 14px rgba(13,71,161,.18)}
.btn:hover{background:#1565c0}
.btn svg{flex:0 0 24px;width:24px;height:24px;fill:currentColor}
.btn--sm{height:50px;padding:0 24px;font-size:16px;border-radius:14px}
.btn--sm svg{flex-basis:20px;width:20px;height:20px}
.btn--light{background:#fff;color:var(--accent-strong);border-color:#c5dcf5}
.btn--light:hover{background:#e3f2fd}

/* Hero */
.hero{position:relative;overflow:hidden;background:var(--bg-soft);border-radius:0 0 36px 36px}
.hero::before{content:"";position:absolute;inset:0;background:url('../img/rub-hero.svg') center/80px}
.hero>*{position:relative;z-index:1}
.hero__top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:28px}
.hero__logo{width:190px}
.hero__actions{display:flex;align-items:center;gap:12px}
.hero__phone{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.75);
  text-decoration:none;font-weight:600;font-size:15px;color:var(--ink);transition:border-color .15s ease}
.hero__phone:hover{border-color:var(--accent)}
.hero__phone svg{width:18px;height:18px;fill:var(--accent)}
.hero__inner{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:24px;min-height:610px}
.hero__content{align-self:center;padding:32px 0 72px}
.hero__title{font-size:56px;line-height:1.06;letter-spacing:-.035em;margin-bottom:20px}
.hero__subtitle{font-size:19px;line-height:1.5;color:var(--ink-2);max-width:440px;margin-bottom:32px}
.hero__subtitle b{color:var(--ink);font-weight:600}
.hero__media{position:relative;align-self:end;height:100%;min-height:590px}
.hero__teacher{position:absolute;bottom:0;right:-20px;width:660px;max-width:none;transform:translateY(35%)}

/* What you'll learn */
.learn{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.learn__card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:380px;background:#0d47a1;border-radius:var(--radius);overflow:hidden;color:#fff;box-shadow:0 12px 28px rgba(13,71,161,.18)}
.learn__card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,71,161,0) 28%,rgba(21,101,192,.82) 58%,#0d47a1 88%)}
.learn__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.learn__text{position:relative;z-index:1;padding:32px;font-size:20px;line-height:1.4;font-weight:500}

/* How it works */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:step}
.step{position:relative;padding:30px 28px 32px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.step::before{counter-increment:step;content:"0" counter(step);display:grid;place-items:center;width:48px;height:48px;margin-bottom:18px;
  border-radius:50%;background:var(--accent-50);font:600 16px/1 var(--font);color:var(--accent-strong)}
.step__title{font-size:24px;margin-bottom:10px}
.step__text{font-size:17px;line-height:1.5;color:var(--ink-2)}

/* Teachers */
.teachers{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:920px;margin:0 auto}
.teacher{display:flex;flex-direction:column;align-items:center;padding:32px 28px 30px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.teacher__media{display:flex;justify-content:center;align-items:flex-start;width:140px;height:140px;margin-bottom:16px;border-radius:50%;overflow:hidden;
  background:linear-gradient(180deg,#e3f2fd 0%,#bbdefb 100%);border:4px solid #fff;box-shadow:0 0 0 1px var(--line),0 10px 24px rgba(13,71,161,.12)}
.teacher__photo{flex:0 0 auto;align-self:flex-start;width:72%;height:auto;max-height:none;aspect-ratio:640/1234;margin-top:8px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 88%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 88%,transparent 100%)}
.teacher__name{margin:0 0 16px;font-size:22px;text-align:center}
.teacher__list{align-self:stretch;display:grid;gap:9px;padding-top:16px;border-top:1px solid var(--line);font-size:17px;line-height:1.5;color:var(--ink-2)}
.teacher__list li{position:relative;padding-left:20px}
.teacher__list li::before{content:"";position:absolute;left:4px;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--accent)}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.stat{padding:32px 24px 30px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);text-align:center}
.stat__head{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:4px 10px;margin-bottom:12px}
.stat__value{font-size:52px;font-weight:500;line-height:1;letter-spacing:-.04em;color:var(--accent)}
.stat__label{font-size:19px;font-weight:600}
.stat__text{font-size:18px;line-height:1.45;color:var(--ink-2)}

/* Who is the course for */
.panel{padding:52px 40px 44px;background:var(--card) var(--ornament);border:1px solid var(--line);border-radius:28px}
.audience__list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.audience__item{display:flex;flex-direction:column;align-items:center;gap:14px;padding:26px 22px;background:var(--bg);border:1px solid var(--line);border-radius:20px;
  text-align:center;font-size:16px;line-height:1.45;font-weight:500}
.audience__badge{flex:0 0 auto;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--accent-50)}
.audience__icon{width:38px;height:32px;object-fit:contain}

/* FAQ */
.faq{max-width:820px;margin:0 auto}
.faq__item{border-bottom:1px solid var(--line)}
.faq__item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;font-size:18px;font-weight:500;line-height:1.4;transition:color .15s ease}
.faq__item summary:hover{color:var(--accent-strong)}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"";flex:0 0 14px;height:14px;background:linear-gradient(var(--accent),var(--accent)) center/14px 2px no-repeat,linear-gradient(var(--accent),var(--accent)) center/2px 14px no-repeat;transition:transform .2s ease}
.faq__item[open] summary::after{transform:rotate(45deg)}
.faq__answer{padding:0 50px 22px 0;font-size:16px;color:var(--ink-2)}

/* Closing call to action */
.cta{padding:0 0 72px}
.cta__inner{padding:56px 32px;border-radius:28px;text-align:center;color:#fff;
  background:url('../img/rub-white.svg') center/80px,linear-gradient(135deg,#2196f3 0%,#1565c0 100%)}
.cta__title{font-size:40px;letter-spacing:-.03em;margin-bottom:12px}
.cta__text{font-size:18px;opacity:.9;margin-bottom:28px}

/* Footer */
.footer{background:var(--bg-soft);font-size:15px;color:var(--ink-2)}
.footer__social{display:flex;gap:10px}
.footer__social a{display:block;border-radius:12px;transition:transform .15s ease}
.footer__social a:hover{transform:translateY(-2px)}
.footer__social img{width:44px;height:44px}
.footer__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:44px 0 36px}
.footer__title{margin-bottom:14px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-strong)}
.footer__contacts{display:grid;gap:12px}
.footer__contacts li{display:flex;align-items:flex-start;gap:12px;color:var(--ink)}
.footer__contacts svg{flex:0 0 18px;width:18px;height:18px;margin-top:2px;fill:var(--accent)}
.footer__contacts a{text-decoration:none;font-weight:500}
.footer__contacts a:hover{color:var(--accent-strong)}
.footer__bottom{display:flex;justify-content:space-between;gap:16px;padding:18px 0 26px;font-size:13px}
.footer__bottom a{text-decoration:none;font-weight:600;color:var(--accent-strong)}

/* Fixed enrol button */
.fixed-cta{position:fixed;right:24px;bottom:24px;z-index:60}
.fixed-cta{transition:opacity .25s ease,transform .25s ease}
.js-fixed-cta .fixed-cta:not(.is-visible){opacity:0;transform:translateY(16px);pointer-events:none}
.js-fixed-cta .fixed-cta:not(.is-visible) .btn{pointer-events:none}
.footer__bottom{padding-bottom:100px}

/* Gentle reveal on scroll (only when JS and motion are allowed) */
.js-reveal .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js-reveal .reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Tablet */
@media (max-width:960px){
  .section{padding:60px 0}
  .section__title{font-size:34px;margin-bottom:32px}
  .hero__inner{grid-template-columns:1fr;min-height:0}
  .hero__content{padding:28px 0 8px}
  .hero__title{font-size:46px}
  .hero__media{min-height:470px}
  .hero__teacher{right:auto;left:50%;transform:translate(-50%,35%);width:520px}
  .learn,.stats{gap:14px}
  .learn__card{min-height:320px}
  .learn__text{padding:24px;font-size:17px}
  .steps{grid-template-columns:1fr 1fr;gap:14px}
  .teachers{grid-template-columns:1fr;gap:14px}
  .stat__value{font-size:42px}
  .panel{padding:44px 24px 32px}
  .audience__list{gap:12px}
  .audience__item{font-size:15px;padding:20px 14px}
  .cta__title{font-size:32px}
  .footer__grid{grid-template-columns:1fr 1fr;gap:32px}
}

/* Phone */
@media (max-width:640px){
  body{font-size:15px;padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .container{padding:0 16px}
  .section{padding:48px 0}
  .section__title{font-size:28px;letter-spacing:-.025em;margin-bottom:24px}
  .btn{width:100%;height:60px;font-size:17px}

  .hero{border-radius:0 0 28px 28px}
  .hero__top{justify-content:center;padding-top:28px}
  .hero__actions{display:none}
  .hero__logo{width:150px}
  .hero__cta-top{display:none}
  .hero__content{padding:40px 4px 16px;text-align:center}
  .hero__title{font-size:34px;line-height:1.12;margin-bottom:18px}
  .hero__subtitle{font-size:18px;margin:0 auto 32px}
  .hero__media{min-height:360px}
  .hero__teacher{width:400px}

  .learn{grid-template-columns:1fr;gap:10px}
  .learn__card{min-height:300px;border-radius:18px}
  .learn__text{padding:28px 26px;font-size:18px}

  .steps{grid-template-columns:1fr;gap:12px}
  .step{padding:24px 22px 26px;border-radius:20px}
  .step::before{width:44px;height:44px;margin-bottom:14px;font-size:15px}
  .step__title{font-size:20px;margin-bottom:6px}
  .step__text{font-size:16px;line-height:1.5}

  .teachers{gap:14px}
  .teacher{padding:26px 18px 22px}
  .teacher__media{width:120px;height:120px}
  .teacher__name{margin-bottom:14px;font-size:20px}
  .teacher__list{padding-top:14px;font-size:16px}

  .stats{grid-template-columns:1fr;gap:10px}
  .stat{padding:26px 22px;border-radius:20px}
  .stat__value{font-size:44px}
  .stat__label{font-size:18px}
  .stat__text{font-size:16px;line-height:1.45}

  .panel{padding:32px 14px 16px;border-radius:22px}
  .audience__list{grid-template-columns:1fr;gap:8px}
  .audience__item{flex-direction:row;align-items:center;text-align:left;gap:16px;padding:20px 18px;border-radius:18px;font-size:17px;line-height:1.4}
  .audience__badge{width:60px;height:60px}
  .audience__icon{width:32px;height:28px}

  .faq__item summary{font-size:17px;padding:18px 0;gap:14px}
  .faq__answer{padding:0 0 18px;font-size:16px}

  .cta{padding-bottom:48px}
  .cta__inner{padding:40px 18px;border-radius:22px}
  .cta__title{font-size:26px}
  .cta__text{font-size:15px;margin-bottom:22px}

  .footer__grid{grid-template-columns:1fr;gap:26px;padding:32px 0 26px}
  .footer__bottom{padding-bottom:20px}

  .fixed-cta{left:0;right:0;bottom:0;padding:0 16px calc(12px + env(safe-area-inset-bottom));pointer-events:none}
  .fixed-cta .btn{width:100%;height:58px;pointer-events:auto}
}
