@font-face{font-family:Manrope;src:url('/assets/templates/bas-geo/fonts/manrope-cyrillic.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/templates/bas-geo/fonts/manrope-latin.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap}

:root{
  --white:#fff;
  --soft:#eaf4f2;
  --mint:#c2e2de;
  --teal:#007d78;
  --deep:#003d38;
  --amber:#fdad3a;
  --amber-dark:#eb9824;
  --text:#2c3d3d;
  --muted:#5f7372;
  --line:#dce8e6;
  --shadow:0 6px 22px rgba(0,61,56,.09),0 1px 4px rgba(0,61,56,.05);
  --shadow-lg:0 30px 70px -28px rgba(0,61,56,.36);
  --radius:12px;
  --radius-lg:18px;
  --radius-xl:24px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{margin:0;background:var(--white);color:var(--text);font-family:Manrope,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
body.menu-open{overflow:hidden}
button,input{font-family:inherit}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{border:0}
svg{display:block}
[hidden]{display:none!important}
.container{width:min(1320px,calc(100% - 64px));margin-inline:auto}
.skip-link{position:fixed;left:12px;top:-80px;z-index:999;background:var(--deep);color:#fff;padding:10px 16px;border-radius:8px;transition:top .2s}
.skip-link:focus{top:12px}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:14px 23px;border-radius:9px;font-size:15px;font-weight:800;line-height:1.2;letter-spacing:.005em;cursor:pointer;touch-action:manipulation;transition:transform .2s,box-shadow .2s,background .2s;border:1px solid transparent;text-align:center}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.98)}
.btn--amber{background:var(--amber);color:var(--deep);box-shadow:0 12px 28px -12px rgba(253,173,58,.75)}
.btn--amber:hover{background:var(--amber-dark)}
.btn--teal{background:var(--teal);color:#fff;box-shadow:0 12px 26px -14px rgba(1,148,142,.7)}
.btn--teal:hover{background:#006e69}
.btn--block{width:100%}

/* Header - proportions and rhythm follow First Aid. */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid #edf3f2}
.header__inner{height:78px;display:flex;align-items:center;gap:22px}
.header__logo{width:224px;flex:none}
.header__logo img{display:block;width:100%;height:auto}
.header__nav{display:flex;align-items:center;gap:2px;margin-inline:auto}
.header__nav a{padding:9px 9px;border-radius:8px;color:var(--deep);font-size:13.5px;font-weight:700;white-space:nowrap;transition:background .2s,color .2s,transform .2s}
.header__nav a:hover{background:var(--soft);color:var(--teal)}
.header__nav .header__nav-action{display:none}
.header__phone{display:flex;align-items:center;gap:9px;flex:none;color:var(--deep)}
.header__phone>svg{width:23px;height:23px;color:var(--teal);flex:none}
.header__phone span{display:flex;flex-direction:column}
.header__phone b{font-size:15px;line-height:1.2;white-space:nowrap}
.header__phone small{font-size:10px;color:var(--muted);margin-top:2px;white-space:nowrap}
.header__cta{font-size:13px;min-height:44px;padding:10px 16px;white-space:nowrap}
.header__burger{display:none;width:44px;height:44px;border-radius:11px;background:var(--soft);padding:11px 9px;flex-direction:column;justify-content:space-between;cursor:pointer;margin-left:auto;transition:background .2s,transform .2s}
.header__burger span{height:2px;width:100%;border-radius:2px;background:var(--deep);transform-origin:center;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .18s}
.header__burger[aria-expanded="true"]{background:#d9eeeb}
.header__burger[aria-expanded="true"] span:nth-child(1){transform:translateY(10px) rotate(45deg)}
.header__burger[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(.35)}
.header__burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}
.header__burger:active{transform:scale(.96)}

/* Hero */
.hero{padding:20px 0 18px;background:#fff;min-height:min(calc(100svh - 78px),880px)}
.hero__inner{display:flex;flex-direction:column;gap:15px}
.hero__card{position:relative;min-height:640px;max-height:720px;height:calc(100svh - 132px);border-radius:var(--radius-xl);overflow:hidden;background:var(--deep);box-shadow:var(--shadow-lg)}
.hero__media,.hero__media img{position:absolute;inset:0;width:100%;height:100%}
.hero__media img{object-fit:cover;object-position:center}
.hero__shade{position:absolute;inset:0;background:linear-gradient(95deg,rgba(0,61,56,1) 0%,rgba(0,61,56,.98) 25%,rgba(0,78,72,.9) 47%,rgba(1,116,110,.58) 62%,rgba(1,148,142,0) 78%)}
.hero__content{position:relative;z-index:2;width:min(64%,790px);height:100%;padding:50px 38px 42px 56px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#fff}
.hero h1{margin:0;font-size:clamp(37px,3.6vw,54px);line-height:1.04;letter-spacing:-.035em;font-weight:800;max-width:760px}
.hero__subtitle{font-size:clamp(16px,1.3vw,19px);line-height:1.45;color:#d9efed;font-weight:600;max-width:690px;margin:22px 0 0}
.hero__steps{display:flex;gap:18px 24px;margin-top:31px}
.hero-step{width:112px;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;font-size:13px;line-height:1.3;font-weight:700;color:#fff}
.hero-step__icon{width:42px;height:42px;display:grid;place-items:center;color:#fff}
.hero-step__icon svg{width:38px;height:38px}
.hero__cta{margin-top:30px;min-width:285px}
.hero__note{display:flex;align-items:center;gap:8px;margin:15px 0 0;font-size:13px;color:rgba(255,255,255,.88)}
.hero__note svg{width:15px;height:15px;flex:none}
.hero__badge{position:relative;z-index:2;width:100%;max-width:620px;margin-top:30px;padding:17px 26px 20px;border-radius:18px;background:#fff;color:var(--deep);text-align:left;box-shadow:0 24px 60px -20px rgba(0,61,56,.4);overflow:hidden}
.hero__badge::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--amber)}
.hero__badge small{display:block;text-transform:uppercase;color:var(--muted);font-size:10px;letter-spacing:.12em;font-style:normal;font-weight:700}
.hero__badge-row{display:flex;align-items:center;gap:16px;margin-top:5px}
.hero__badge-row strong{font-size:46px;line-height:.95;letter-spacing:-.04em;flex:none}
.hero__badge-text{font-size:14px;font-weight:800;line-height:1.2}
.hero__badge-row em{margin-left:auto;max-width:46%;padding-left:18px;border-left:1px dashed rgba(0,61,56,.2);font-size:10px;color:var(--teal);font-style:normal;font-weight:800;text-transform:uppercase;line-height:1.35;text-align:right}
.hero__watch{display:inline-flex;align-items:center;gap:9px;margin-top:18px;padding-bottom:3px;border-bottom:1px solid rgba(255,255,255,.45);color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.hero__watch svg{width:19px;height:19px;flex:none;color:var(--amber)}
.hero__watch:hover{border-color:var(--amber)}
.hero__route{display:flex;align-items:center;justify-content:center;gap:24px;min-height:52px;padding:12px 24px;border-radius:13px;background:linear-gradient(90deg,var(--amber),#ffc04d,var(--amber));color:var(--deep);box-shadow:0 10px 24px -12px rgba(253,173,58,.8);font-size:14px;font-weight:800}
.hero__route i{font-size:20px;font-style:normal;opacity:.55}

/* Overview + first lead form */
.overview{padding:56px 0 62px;background:#fff}
.overview__card{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);gap:38px;border:1px solid var(--line);border-radius:var(--radius-lg);padding:38px;background:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}
.overview__card>*{min-width:0}
.overview__card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--amber),var(--teal))}
.overview__content{padding:4px 0}
.overview__label{margin:0 0 9px;color:#a35f00;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.overview h2{margin:0;color:var(--deep);font-size:clamp(25px,2.4vw,36px);line-height:1.14;letter-spacing:-.025em}
.overview__lead{margin:17px 0 0;font-size:16px;color:#506565;max-width:720px}
.overview__facts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:25px}
.overview__facts div{position:relative;min-width:0;min-height:84px;padding:14px 12px;border-radius:12px;background:linear-gradient(145deg,#fff,#f1f8f6);border:1px solid #e1eeec;display:flex;align-items:flex-start;gap:10px;overflow:hidden;box-shadow:0 8px 18px -18px rgba(0,61,56,.55)}
.overview__facts div::after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,var(--teal),var(--mint));opacity:.72}
.overview__facts b{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:8px;background:var(--soft);color:var(--teal);font-size:11px}
.overview__facts span{padding-top:4px;font-size:12px;line-height:1.35;font-weight:800;color:var(--deep)}
.overview__points{display:grid;gap:13px;margin:25px 0 0;padding:0;list-style:none}
.overview__points li{position:relative;padding-left:27px;font-size:14px;color:#536665}
.overview__points li::before{content:"✓";position:absolute;left:0;top:-1px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--teal);font-size:11px;font-weight:900}

.lead-form{position:relative;background:#fff;color:var(--text)}
.lead-form--compact{padding:26px;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 30px -20px rgba(0,61,56,.4)}
.lead-form__title{margin:0;color:var(--deep);font-size:24px;line-height:1.15;letter-spacing:-.02em}
.lead-form__subtitle{margin:9px 0 18px;color:var(--muted);font-size:13px;line-height:1.5}
.lead-form form{display:flex;flex-direction:column}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 12px}
.form-grid>div{display:flex;flex-direction:column}
.form-field--wide{grid-column:1/-1}
.lead-form label:not(.honey label):not(.lead-form__consent label){font-size:12px;font-weight:700;color:#526463;margin:0 0 6px}
.lead-form label span{color:#d35b4a}
.lead-form__consent label span{color:inherit}
.lead-form input[type="text"],.lead-form input[type="tel"],.lead-form input[type="email"],.lead-form select{width:100%;height:48px;border:1px solid #dfe9e7;background:#fff;border-radius:8px;padding:0 13px;color:var(--text);font:600 14px/1.2 var(--font);outline:none;transition:border-color .2s,box-shadow .2s,background-color .2s}
.lead-form select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23003D38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:18px;cursor:pointer}
.lead-form input::placeholder{color:#667978;font-weight:500}
.lead-form input:focus,.lead-form select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(1,148,142,.1)}
.lead-form input[aria-invalid="true"]{border-color:#d35b4a}
.routing-note{display:flex;align-items:flex-start;gap:9px;min-height:46px;margin:2px 0 7px;padding:10px 12px;border:1px solid #d7e9e6;border-radius:9px;background:#f3f9f8;color:#4e6663;font-size:11.5px;font-weight:600;line-height:1.45;transition:border-color .25s,background-color .25s,transform .25s}
.routing-note svg{width:20px;height:20px;flex:none;color:var(--teal)}
.routing-note strong{color:var(--deep);font-weight:800}
.routing-note.is-explicit{border-color:rgba(1,148,142,.38);background:#eaf6f4}
.lead-form__consent{display:grid;grid-template-columns:16px 1fr;align-items:start;gap:8px;margin:14px 0 9px}
.lead-form__consent input{width:16px;height:16px;margin:1px 0 0;accent-color:var(--teal)}
.lead-form__consent label{font-size:10.5px!important;line-height:1.5;color:#5f7170!important;font-weight:400!important;margin:0!important}
.lead-form__consent a{text-decoration:underline;color:var(--teal)}
.err{display:block;min-height:13px;margin-top:3px;font-size:10.5px;line-height:1.2;color:#bd4234}
.lead-form__success{display:none;position:absolute;inset:0;background:#fff;border-radius:inherit;padding:28px;align-items:center;justify-content:center;text-align:center;flex-direction:column}
.lead-form__success>span{width:54px;height:54px;border:2px solid var(--teal);border-radius:50%;display:grid;place-items:center;color:var(--teal);font-size:28px;font-weight:800}
.lead-form__success h3{color:var(--deep);margin:15px 0 5px}
.lead-form__success p{font-size:13px;color:var(--muted);margin:0}
.lead-form__success .lead-form__success-route{margin-top:10px;color:var(--deep);font-weight:750}
.lead-form.is-sent>.lead-form__success{display:flex}
.lead-form .btn[disabled]{cursor:wait;opacity:.78;transform:none;box-shadow:none}
.lead-form .btn.is-loading::after{content:"";width:16px;height:16px;border:2px solid rgba(0,61,56,.28);border-top-color:var(--deep);border-radius:50%;animation:form-spinner .7s linear infinite}
@keyframes form-spinner{to{transform:rotate(360deg)}}
.honey{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.captcha-host{min-height:0}

/* Shared section chrome */
.section{padding:70px 0;background:#fff}
.section__head{text-align:center;margin:0 auto 40px;max-width:820px}
.section__head h2{display:inline-block;position:relative;margin:0;padding-bottom:14px;color:var(--deep);font-size:clamp(32px,3vw,40px);line-height:1.12;letter-spacing:-.03em}
.section__head h2::after{content:"";position:absolute;left:50%;bottom:0;width:72px;height:3px;border-radius:3px;background:var(--teal);transform:translateX(-50%)}
.section__head p{margin:17px auto 0;color:var(--muted);font-size:16px;line-height:1.55}
.section__cta{display:flex;justify-content:center;margin-top:26px}

/* Programs */
.programs-section{background:radial-gradient(circle at 12% 18%,rgba(255,255,255,.72),transparent 28%),linear-gradient(180deg,#eaf5f3,#e3f1ef)}
.programs{display:grid;grid-template-columns:1fr;gap:12px;max-width:1080px;margin-inline:auto}
.program{position:relative;background:rgba(255,255,255,.97);border:1px solid rgba(0,61,56,.1);border-radius:17px;box-shadow:0 8px 24px -22px rgba(0,61,56,.6);overflow:clip;transition:box-shadow .28s,border-color .28s}
.program::before{content:"";position:absolute;z-index:2;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--teal),var(--mint));opacity:.36;transition:opacity .25s}
.program:nth-child(even)::before{background:linear-gradient(180deg,var(--amber),var(--teal))}
.program:hover,.program[open]:not(.is-closing){border-color:rgba(0,125,120,.28);box-shadow:0 18px 38px -28px rgba(0,61,56,.55)}
.program[open]:not(.is-closing)::before{opacity:1}
.program summary{position:relative;z-index:1;min-height:96px;padding:20px 25px 20px 27px;display:grid;grid-template-columns:54px minmax(0,1fr) 34px;gap:19px;align-items:center;cursor:pointer;list-style:none;transition:background .25s}
.program summary:hover{background:rgba(234,244,242,.58)}
.program[open]:not(.is-closing) summary{background:linear-gradient(90deg,rgba(194,226,222,.3),rgba(255,255,255,0))}
.program summary::-webkit-details-marker{display:none}
.program__num{width:54px;height:54px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,var(--mint),#dff0ed);color:var(--deep);font-size:14px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);transition:background .25s,color .25s,transform .25s}
.program[open]:not(.is-closing) .program__num{background:linear-gradient(145deg,var(--teal),#007a75);color:#fff;transform:rotate(-2deg) scale(1.03)}
.program__heading{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.program__title{font-size:19px;line-height:1.3;color:var(--deep);font-weight:800;letter-spacing:-.012em}
.program__heading small{color:var(--muted);font-size:12px;line-height:1.35;font-weight:650}
.program__plus{position:relative;width:34px;height:34px;border-radius:50%;background:var(--soft);box-shadow:inset 0 0 0 1px rgba(1,148,142,.12);transition:background .25s,transform .32s cubic-bezier(.2,.8,.2,1)}
.program__plus::before,.program__plus::after{content:"";position:absolute;left:10px;right:10px;top:16px;height:2px;background:var(--teal);border-radius:2px}
.program__plus::after{transform:rotate(90deg);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.program[open]:not(.is-closing) .program__plus{background:#d9eeeb;transform:rotate(180deg)}
.program[open]:not(.is-closing) .program__plus::after{transform:rotate(0)}
.program__body{display:grid!important;grid-template-rows:0fr;opacity:0;pointer-events:none;border-top:1px solid transparent;background:linear-gradient(180deg,#fbfdfd,#fff);transition:grid-template-rows .4s cubic-bezier(.2,.8,.2,1),opacity .22s ease,border-color .25s}
.program__body-inner{min-height:0;overflow:hidden;padding:0 34px 0 100px;transform:translateY(-8px);transition:padding .4s cubic-bezier(.2,.8,.2,1),transform .35s cubic-bezier(.2,.8,.2,1)}
.program[open]:not(.is-closing) .program__body{grid-template-rows:1fr;opacity:1;pointer-events:auto;border-color:#e4efed}
.program[open]:not(.is-closing) .program__body-inner{padding-top:22px;padding-bottom:29px;transform:translateY(0)}
.program__body ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 32px}
.program__body li{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;padding:13px 12px 13px 21px;border-bottom:1px solid #e8f0ef;color:#435b59;font-size:14px;line-height:1.55}
.program__body li::before{content:"";position:absolute;left:0;top:20px;width:7px;height:7px;border-radius:50%;background:var(--amber)}
.program__body li b{margin-top:0;padding:4px 8px;border-radius:6px;background:var(--soft);color:var(--deep);font-size:12px;line-height:1.35;white-space:nowrap}
.program--many .program__tracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.program--many .program-track{min-width:0;padding:18px 18px 8px;border:1px solid #e2ecea;border-radius:14px;background:#fff}
.program--many .program-track h3{margin:0 0 8px;color:var(--deep);font-size:15px;line-height:1.35}
.program--many .program-track ul{grid-template-columns:1fr;gap:0}
.program--many .program-track--combined{grid-column:1/-1;padding:20px;border-color:#cfe4e1;background:linear-gradient(135deg,#eef8f6 0%,#e7f3f1 100%)}
.program-track__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}
.program--many .program-track__head h3{margin:3px 0 0;font-size:17px}
.program-track__eyebrow{display:block;color:var(--teal);font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.11em;text-transform:uppercase}
.program-track__count{flex:none;padding:6px 10px;border:1px solid #cde3df;border-radius:999px;background:rgba(255,255,255,.72);color:#45615e;font-size:11px;font-weight:750;white-space:nowrap}
.program--many .program-track--combined ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.program--many .program-track--combined li{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:44px auto;gap:13px 12px;min-height:154px;padding:16px;border:1px solid #d9e8e5;border-radius:13px;background:#fff;box-shadow:0 10px 24px -22px rgba(0,61,56,.7)}
.program--many .program-track--combined li::before{display:none}
.program-card__icon{grid-column:1;grid-row:1;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--deep);color:#fff;box-shadow:0 8px 18px -12px rgba(0,61,56,.75)}
.program-card__icon svg{width:24px;height:24px}
.program-card__copy{grid-column:1/-1;grid-row:2;color:#405b58;font-size:14px;font-weight:650;line-height:1.48}
.program--many .program-track--combined li b{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin:0;padding:5px 9px;border:1px solid #d4e8e4;background:#eaf5f3;color:var(--deep);font-size:12px}
.program__note{margin:18px 0 0;padding:15px 17px;border-radius:10px;background:var(--soft);color:#455f5d;font-size:13px;line-height:1.55}
.programs__footnote{max-width:900px;margin:25px auto 0;text-align:center;color:#4f6563;font-size:14px;line-height:1.6}

/* Photo task cards */
.tasks-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;max-width:1180px;margin-inline:auto}
.task-card{position:relative;aspect-ratio:3/4;border-radius:19px;overflow:hidden;background:var(--deep);border:1px solid rgba(0,61,56,.08);box-shadow:0 12px 32px -24px rgba(0,61,56,.65);transition:transform .3s,box-shadow .3s}
.task-card:hover{transform:translateY(-7px);box-shadow:0 24px 42px -20px rgba(0,61,56,.5)}
.task-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s,filter .4s;filter:saturate(.9) contrast(1.03)}
.task-card:hover img{transform:scale(1.045);filter:saturate(1.03) contrast(1.04)}
.task-card__shade{position:absolute;inset:0;background:linear-gradient(165deg,rgba(0,61,56,.12) 0%,transparent 38%,rgba(0,35,32,.16) 55%,rgba(0,29,27,.9) 100%)}
.task-card__num{position:absolute;left:14px;top:14px;width:40px;height:40px;border-radius:10px;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:800;box-shadow:0 6px 16px rgba(1,148,142,.42)}
.task-card__content{position:absolute;left:0;right:0;bottom:0;padding:23px 20px 20px;color:#fff}
.task-card__content::before{content:"";display:block;width:34px;height:3px;margin-bottom:11px;border-radius:3px;background:var(--amber)}
.task-card h3{margin:0;font-size:20px;line-height:1.2;letter-spacing:-.02em}
.task-card p{margin:8px 0 0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.9)}

/* Format */
.format-section{padding-top:58px}
.format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.format-card{position:relative;min-height:224px;padding:27px 23px 23px;background:linear-gradient(145deg,#fff 42%,#f3f9f8);border:1px solid #dfebe9;border-radius:18px;box-shadow:0 12px 28px -24px rgba(0,61,56,.7);overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}
.format-card:hover{transform:translateY(-5px);box-shadow:0 17px 32px -20px rgba(0,61,56,.4)}
.format-card:hover{border-color:rgba(1,148,142,.22)}
.format-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--amber),var(--teal));transform-origin:left;transform:scaleX(.38);transition:transform .25s}
.format-card:hover::before{transform:scaleX(1)}
.format-card__num{position:absolute;top:9px;right:14px;font-size:72px;line-height:1;color:var(--mint);font-weight:800;letter-spacing:-.06em;opacity:.54}
.format-card__icon{position:relative;z-index:1;width:52px;height:52px;border-radius:15px;background:linear-gradient(145deg,#dff1ee,#f7fbfa);border:1px solid #d8ebe8;color:var(--teal);display:grid;place-items:center;box-shadow:0 9px 20px -16px rgba(0,61,56,.7)}
.format-card__icon::after{content:"";position:absolute;right:-3px;bottom:-3px;width:11px;height:11px;border:3px solid #fff;border-radius:50%;background:var(--amber)}
.format-card__icon svg{width:24px;height:24px}
.format-card h3{position:relative;margin:20px 0 8px;color:var(--deep);font-size:20px;line-height:1.25}
.format-card p{position:relative;margin:0;color:#566c6a;font-size:14px;line-height:1.58}
.format-note{margin-top:34px;padding:22px 26px;border-radius:18px;background:linear-gradient(135deg,var(--deep),#015f5b);border-left:4px solid var(--amber);color:#fff;display:flex;align-items:center;gap:20px;box-shadow:0 16px 34px -20px rgba(0,61,56,.55)}
.format-note>span{width:48px;height:48px;flex:none;border-radius:12px;background:rgba(255,255,255,.08);color:var(--amber);display:grid;place-items:center}
.format-note svg{width:24px;height:24px}
.format-note p{margin:0;font-size:16px;color:rgba(255,255,255,.9)}
.format-note strong{color:#fff}

/* Teachers */
.teachers-section{padding-top:54px}
.teachers-panel{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1180px;margin-inline:auto}
.teacher-card{position:relative;display:grid;grid-template-columns:44% 56%;min-height:420px;background:linear-gradient(145deg,#eef7f5,#dcefeb);border:1px solid #d8eae7;border-radius:18px;overflow:hidden;box-shadow:0 14px 34px -28px rgba(0,61,56,.75)}
.teacher-card::before{content:"";position:absolute;z-index:2;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--amber),var(--teal))}
.teacher-card img{width:100%;height:100%;object-fit:cover;object-position:center top;background:#dcebe9}
.teacher-card__body{position:relative;padding:35px 30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.teacher-card__body::before{content:"";position:absolute;left:0;top:15%;bottom:15%;width:1px;background:linear-gradient(transparent,var(--teal),transparent);opacity:.55}
.teacher-card__label{margin:0 0 11px;padding:6px 9px;border-radius:6px;background:#fff;color:var(--teal);box-shadow:0 7px 16px -14px rgba(0,61,56,.8);text-transform:uppercase;letter-spacing:.1em;font-size:9px;font-weight:800}
.teacher-card h3{margin:0;color:var(--deep);font-size:27px;line-height:1.05;letter-spacing:-.035em}
.teacher-card__body>p:not(.teacher-card__label){margin:16px 0;color:#4e6b68;font-size:14px;line-height:1.58}
.teacher-card__tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
.teacher-card__tags span{padding:7px 10px;border-radius:6px;background:rgba(255,255,255,.72);border:1px solid rgba(1,148,142,.12);color:var(--deep);font-size:11px;font-weight:700}

/* Offices — same information architecture as the FPV landing. */
.offices-section{background:var(--soft)}
.offices-section .section__head h2{padding-bottom:0}
.offices-section .section__head h2::after{display:none}
.offices-section .section__head p{color:#526866}
.offices-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1180px;margin-inline:auto}
.office-card{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dbe8e6;border-radius:18px;background:#fff;box-shadow:0 14px 34px -28px rgba(0,61,56,.72);transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.office-card:hover{transform:translateY(-6px);border-color:rgba(0,125,120,.24);box-shadow:0 24px 46px -24px rgba(0,61,56,.42)}
.office-card.is-selected{border-color:var(--teal);box-shadow:0 0 0 2px rgba(1,148,142,.16),0 24px 46px -24px rgba(0,61,56,.42)}
.office-card.is-selected::after{content:"✓";position:absolute;z-index:5;top:12px;right:12px;width:38px;height:38px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:var(--teal);box-shadow:0 9px 24px -12px rgba(0,61,56,.7);color:#fff;font-size:20px;font-weight:900}
.office-card__photo{position:relative;aspect-ratio:4/3;overflow:hidden;background:#dcebe9}
.office-card__photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 52%,rgba(0,61,56,.24));pointer-events:none}
.office-card__photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1);backface-visibility:hidden;transform:translateZ(0)}
.office-card:hover .office-card__photo img{transform:scale(1.055) translateZ(0)}
.office-card__tag{position:absolute;z-index:2;left:14px;top:14px;display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.95);box-shadow:0 8px 22px -14px rgba(0,61,56,.55);backdrop-filter:blur(7px);color:var(--deep);font-size:11px;font-weight:800}
.office-card__tag svg{width:13px;height:13px;color:var(--teal)}
.office-card__body{display:flex;flex:1;flex-direction:column;gap:8px;padding:20px 21px 21px}
.office-card__body h3{margin:0;color:var(--deep);font-size:22px;line-height:1.15;letter-spacing:-.025em}
.office-card__legal{display:flex;flex-direction:column;gap:3px;padding-bottom:11px;border-bottom:1px dashed var(--line)}
.office-card__legal strong{color:var(--text);font-size:12px;line-height:1.4}
.office-card__legal span{color:var(--muted);font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;font-size:10px;line-height:1.45;word-break:break-word}
.office-card__address{display:flex;align-items:flex-start;gap:7px;margin:6px 0 0;color:#526866;font-size:13px;line-height:1.5}
.office-card__address svg{width:14px;height:14px;flex:none;margin-top:2px;color:var(--teal)}
.office-card__phones{display:flex;flex-direction:column;gap:3px;padding-top:3px}
.office-card__phones a{display:flex;align-items:center;min-height:24px;gap:7px;color:var(--deep);font-size:13.5px;font-weight:800;transition:color .2s}
.office-card__phones a:hover{color:var(--teal)}
.office-card__phones svg{width:13px;height:13px;flex:none;color:var(--teal)}
.office-card__site{display:inline-flex;align-items:center;gap:4px;padding-top:4px;color:var(--teal);font-size:12px;font-weight:750}
.office-card__site svg,.office-card__cta svg{flex:none}
.office-card__site:hover{text-decoration:underline;color:var(--deep)}
.office-card__cta{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:auto;padding:11px 15px;border-radius:10px;background:var(--teal);box-shadow:0 10px 24px -15px rgba(0,125,120,.8);color:#fff;font-size:13px;font-weight:800;transition:background .2s,transform .2s,box-shadow .2s}
.office-card__cta:hover{background:#006e69;transform:translateY(-2px);box-shadow:0 15px 28px -16px rgba(0,61,56,.65)}
.office-card.is-selected .office-card__cta{background:var(--deep);box-shadow:none}
.offices-routing-summary{width:fit-content;max-width:calc(100% - 28px);display:flex;align-items:center;gap:12px;margin:28px auto 0;padding:12px 16px;border:1px solid #cfe4e1;border-radius:13px;background:rgba(255,255,255,.82);box-shadow:0 12px 28px -24px rgba(0,61,56,.65);color:#546c69;font-size:13px;line-height:1.4;transition:border-color .25s,background-color .25s,transform .25s}
.offices-routing-summary svg{width:24px;height:24px;flex:none;color:var(--teal)}
.offices-routing-summary strong{color:var(--deep)}
.offices-routing-summary.is-explicit{border-color:rgba(1,148,142,.38);background:#fff;transform:translateY(-2px)}

@media(max-width:980px){
  .offices-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .office-card:nth-child(3){grid-column:1/-1;width:min(100%,560px);justify-self:center}
}

@media(max-width:700px){
  .offices-grid{grid-template-columns:1fr;gap:15px;max-width:470px}
  .office-card:nth-child(3){grid-column:auto;width:100%}
  .office-card__body{padding:18px}
  .offices-routing-summary{width:100%;max-width:470px;margin-top:20px}
}

/* Final form */
.final-section{padding:72px 0;background:var(--soft)}
.final-box{display:grid;grid-template-columns:1fr 490px;gap:46px;max-width:1180px;margin-inline:auto;padding:46px;border-radius:24px;background:linear-gradient(135deg,var(--deep),#00534d);color:#fff;box-shadow:0 28px 62px -30px rgba(0,61,56,.55)}
.final-box__copy{padding:8px 0}
.final-box__copy h2{margin:0;font-size:clamp(32px,3.2vw,46px);line-height:1.05;letter-spacing:-.035em}
.final-box__copy h2 span{color:var(--amber)}
.final-box__copy>p{max-width:560px;margin:18px 0;color:rgba(255,255,255,.8);font-size:16px}
.final-box__copy ul{display:grid;gap:9px;margin:25px 0 0;padding:0;list-style:none}
.final-box__copy li{position:relative;padding:13px 14px 13px 42px;border-radius:8px;background:rgba(255,255,255,.07);font-size:14px;color:rgba(255,255,255,.9)}
.final-box__copy li::before{content:"✓";position:absolute;left:14px;top:10px;width:19px;height:19px;border-radius:50%;background:var(--amber);color:var(--deep);display:grid;place-items:center;font-size:11px;font-weight:900}
.final-box__facts{display:flex;gap:30px;margin-top:28px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12)}
.final-box__facts span{display:flex;flex-direction:column;font-size:11px;color:rgba(255,255,255,.68);text-transform:uppercase;letter-spacing:.05em}
.final-box__facts b{font-size:24px;line-height:1;color:#fff;margin-bottom:5px}
.lead-form--final{scroll-margin-top:104px;padding:27px 29px 29px;border-radius:14px;box-shadow:0 18px 40px -25px rgba(0,0,0,.6)}
.lead-form--final .lead-form__title{margin-bottom:18px}
.lead-form--final .btn{margin-top:3px}

/* Footer */
.footer{padding:52px 0 26px;background:var(--deep);color:rgba(255,255,255,.64)}
.footer__grid{display:grid;grid-template-columns:1.5fr .8fr .8fr 1.05fr;gap:54px}
.footer__logo{display:block;width:250px;margin-bottom:18px}
.footer__logo img{display:block;width:100%;height:auto;filter:brightness(0) invert(1);opacity:.96}
.footer__grid>div>p{max-width:320px;margin:0;font-size:13px;line-height:1.65}
.footer nav,.footer__contacts{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:13px}
.footer strong{color:var(--amber);font-size:11px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:4px}
.footer nav a:hover,.footer__contacts a:hover{color:#fff}
.footer__phone{display:flex;align-items:center;gap:8px;color:#fff}
.footer__phone svg{width:18px;height:18px;color:var(--teal)}
.footer__phone b{font-size:14px}
.footer__contacts>span{font-size:11px}
.footer__legal{margin-top:34px;padding-top:18px;border-top:1px solid rgba(255,255,255,.09);font-size:10.5px;line-height:1.65}
.footer__bottom{display:flex;justify-content:space-between;margin-top:18px;font-size:10.5px;color:rgba(255,255,255,.58)}

/* Cookie + toast */
.cookie-bar{position:fixed;left:50%;bottom:20px;z-index:100;width:min(680px,calc(100% - 32px));padding:18px 20px;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 22px 60px -20px rgba(0,61,56,.55);transform:translate(-50%,calc(100% + 50px));opacity:0;pointer-events:none;transition:transform .3s,opacity .3s}
.cookie-bar.show{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.cb-text{font-size:10px;color:#657675;line-height:1.5}
.cb-text a{text-decoration:underline;color:var(--teal)}
.cb-categories{display:grid;gap:6px;margin-top:12px;font-size:10px}
.cb-cat{display:flex;gap:8px}
.cb-actions{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}
.cb-actions button{min-height:40px;padding:8px 13px;border-radius:7px;font-size:9px;font-weight:800;cursor:pointer;touch-action:manipulation;background:var(--soft);color:var(--deep)}
.cb-actions .cb-accept,.cb-actions .cb-save{background:var(--amber)}
.toast{position:fixed;left:50%;bottom:24px;z-index:120;max-width:min(520px,calc(100% - 32px));padding:12px 18px;border-radius:9px;background:var(--deep);color:#fff;font-size:12px;box-shadow:var(--shadow-lg);transform:translate(-50%,80px);opacity:0;pointer-events:none;transition:transform .25s,opacity .25s}
.toast.show{transform:translate(-50%,0);opacity:1}
.toast.error{background:#9d3f33}

/* Motion system: progressive enhancement, transforms and opacity only. */
.motion-ready [data-motion]{opacity:0;transform:translate3d(0,20px,0);transition:opacity .62s ease,transform .62s cubic-bezier(.2,.8,.2,1);transition-delay:var(--motion-delay,0ms)}
.motion-ready [data-motion="scale"]{transform:translate3d(0,14px,0) scale(.985)}
.motion-ready [data-motion].is-visible{opacity:1;transform:none}

@media(max-width:1200px){
  .header__inner{position:relative;z-index:3}
  .header::after{content:"";position:fixed;z-index:1;inset:78px 0 0;background:rgba(0,35,32,.34);opacity:0;pointer-events:none;transition:opacity .25s}
  body.menu-open .header::after{opacity:1}
  .header__nav{display:flex;position:fixed;z-index:2;top:88px;left:auto;right:32px;width:min(390px,calc(100% - 64px));max-height:calc(100dvh - 106px);margin:0;padding:14px;border:1px solid rgba(0,61,56,.1);border-radius:17px;background:#fff;box-shadow:0 30px 65px -24px rgba(0,61,56,.48);flex-direction:column;align-items:stretch;gap:0;overflow:auto;visibility:hidden;pointer-events:none;transform:translateY(-12px) scale(.98);transform-origin:top right;transition:transform .3s cubic-bezier(.2,.8,.2,1),visibility .3s}
  .header__nav.is-open{visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
  .header__nav a:not(.header__nav-action){display:flex;align-items:center;min-height:54px;padding:13px 15px;border-radius:9px;border-bottom:1px solid #e8f0ef;color:var(--deep);font-size:16px;font-weight:750}
  .header__nav a:nth-child(6){border-bottom:0}
  .header__nav a:not(.header__nav-action):hover{padding-left:19px;background:var(--soft)}
  .header__nav .header__nav-action{display:inline-flex;min-height:50px;margin-top:12px;padding:13px 18px;color:var(--deep);font-size:14px}
  .header__burger{display:flex}
  .header__cta{margin-left:auto}
  .hero__content{width:70%}
  .overview__card{grid-template-columns:1fr 430px}
  .teacher-card{grid-template-columns:42% 58%}
  .final-box{grid-template-columns:1fr 440px}
}

@media(max-width:980px){
  .container{width:min(100% - 40px,880px)}
  .header__nav{right:20px;width:min(390px,calc(100% - 40px))}
  .header__phone small{display:none}
  .hero__card{min-height:620px;height:auto}
  .hero__content{width:76%;padding-left:38px}
  .hero h1{font-size:43px}
  .hero__steps{gap:14px}
  .hero-step{width:98px}
  .hero__badge{max-width:520px}
  .overview__card{grid-template-columns:1fr;padding:30px}
  .overview__facts{max-width:650px}
  .programs{grid-template-columns:1fr}
  .tasks-grid{grid-template-columns:1fr 1fr;max-width:740px}
  .format-grid{grid-template-columns:1fr 1fr}
  .teachers-panel{grid-template-columns:1fr;max-width:760px;gap:1px}
  .teacher-card{min-height:390px}
  .final-box{grid-template-columns:1fr;max-width:760px;padding:38px}
  .footer__grid{grid-template-columns:1.3fr 1fr 1fr;gap:34px}
  .footer__contacts{grid-column:1/-1;display:grid;grid-template-columns:auto auto 1fr;align-items:center}
  .footer__contacts strong{grid-column:1/-1}
}

@media(min-width:701px) and (max-width:780px){
  .hero__content{width:88%;padding-left:38px}
  .hero h1{font-size:38px}
  .hero__badge-row strong{font-size:40px}
}

@media(max-width:700px){
  html{scroll-padding-top:74px}
  .container{width:calc(100% - 28px)}
  .header__inner{height:64px;gap:12px}
  .header__logo{width:170px}
  .header__phone{margin-left:auto}
  .header__phone{width:44px;height:44px;justify-content:center}
  .header__phone>svg{width:22px;height:22px}
  .header__phone span{display:none}
  .header__cta{display:none}
  .header__burger{margin-left:0;width:44px;height:44px}
  .header::after{top:64px}
  .header__nav{top:72px;left:10px;right:10px;width:auto;max-height:calc(100dvh - 82px);padding:12px;border-radius:16px;transform-origin:top center}
  .header__nav a:not(.header__nav-action){min-height:56px;padding:14px 15px;font-size:18px}
  .header__nav .header__nav-action{min-height:52px;font-size:15px}
  .hero{min-height:auto;padding:14px 0 13px}
  .hero__card{min-height:690px;height:auto;border-radius:18px}
  .hero__media img{object-position:76% center}
  .hero__shade{background:linear-gradient(180deg,rgba(0,61,56,.62) 0%,rgba(0,61,56,.52) 28%,rgba(0,61,56,.84) 58%,rgba(0,61,56,.98) 100%)}
  .hero__content{width:100%;min-height:690px;justify-content:flex-end;padding:230px 20px 28px}
  .hero h1{font-size:29px;line-height:1.08;letter-spacing:-.03em}
  .hero__subtitle{font-size:14px;line-height:1.45;margin-top:14px}
  .hero__steps{display:grid;grid-template-columns:repeat(4,1fr);width:100%;gap:8px;margin-top:20px}
  .hero-step{width:auto;font-size:10px;gap:6px}
  .hero-step__icon{width:34px;height:34px}
  .hero-step__icon svg{width:30px;height:30px}
  .hero__badge{max-width:100%;margin-top:20px;padding:15px 18px 17px;border-radius:14px}
  .hero__badge-row{flex-wrap:wrap;gap:10px 12px}
  .hero__badge-row strong{font-size:36px}
  .hero__badge-text{font-size:12px}
  .hero__badge-row em{max-width:100%;margin-left:0;padding:9px 0 0;border-left:0;border-top:1px dashed rgba(0,61,56,.2);text-align:left}
  .hero__watch{margin-top:15px;font-size:12px}
  .hero__note{font-size:11px;line-height:1.45;align-items:flex-start}
  .hero__route{justify-content:flex-start;gap:10px;min-height:46px;padding:10px 15px;overflow:hidden;font-size:10px;white-space:nowrap}
  .hero__route i{font-size:13px}
  .overview{padding:35px 0 45px}
  .overview__card{padding:23px 18px;gap:27px;border-radius:15px}
  .overview h2{font-size:25px}
  .overview__lead{font-size:15px}
  .overview__facts{grid-template-columns:1fr 1fr}
  .overview__facts div{min-height:68px}
  .lead-form--compact{padding:20px 16px}
  .lead-form__title{font-size:20px}
  .form-grid{grid-template-columns:1fr}
  .lead-form input[type="text"],.lead-form input[type="tel"],.lead-form input[type="email"],.lead-form select{font-size:16px}
  .routing-note{font-size:12px}
  .section{padding:52px 0}
  .section__head{margin-bottom:28px}
  .section__head h2{font-size:30px}
  .section__head p{font-size:15px}
  .program summary{grid-template-columns:46px minmax(0,1fr) 32px;gap:13px;min-height:84px;padding:15px 16px}
  .program__num{width:46px;height:46px;font-size:13px}
  .program__title{font-size:16px;line-height:1.28}
  .program__heading small{font-size:11px}
  .program__plus{width:32px;height:32px}
  .program__plus::before,.program__plus::after{left:9px;right:9px;top:15px}
  .program__body-inner{padding-inline:16px}
  .program[open]:not(.is-closing) .program__body-inner{padding-top:10px;padding-bottom:21px}
  .program__body ul{grid-template-columns:1fr;gap:0}
  .program__body li{padding:12px 8px 12px 20px;font-size:14px}
  .program__body li::before{top:19px}
  .program--many .program__tracks{grid-template-columns:1fr;gap:12px}
  .program--many .program-track{padding:15px 14px 5px}
  .program--many .program-track--combined{grid-column:auto}
  .program-track__head{align-items:flex-start;gap:12px;margin-bottom:13px}
  .program--many .program-track__head h3{font-size:16px}
  .program-track__count{padding:5px 8px}
  .program--many .program-track--combined{padding:15px 14px}
  .program--many .program-track--combined ul{grid-template-columns:1fr;gap:10px}
  .program--many .program-track--combined li{min-height:0;padding:14px;grid-template-columns:40px minmax(0,1fr);grid-template-rows:40px auto;gap:11px 10px}
  .program-card__icon{width:40px;height:40px;border-radius:11px}
  .program-card__icon svg{width:22px;height:22px}
  .program-card__copy{font-size:13px;line-height:1.45}
  .program__note{margin-top:13px}
  .programs__footnote{font-size:13px}
  .tasks-grid{grid-template-columns:1fr;gap:14px;max-width:440px}
  .task-card{aspect-ratio:4/3}
  .task-card img{object-position:center 35%}
  .task-card__content{padding:16px}
  .task-card h3{font-size:19px}
  .task-card p{font-size:13px}
  .task-card__num{width:36px;height:36px;left:12px;top:12px}
  .format-grid{grid-template-columns:1fr}
  .format-card{min-height:185px}
  .format-note{align-items:flex-start;padding:20px 18px}
  .teachers-panel{border-radius:14px}
  .teacher-card{grid-template-columns:1fr;min-height:0}
  .teacher-card img{height:340px;object-fit:cover;object-position:center top}
  .teacher-card__body{padding:24px 21px 28px}
  .teacher-card__body::before{display:none}
  .teacher-card h3{font-size:27px}
  .final-section{padding:48px 0}
  .final-box{padding:26px 17px;gap:28px;border-radius:18px}
  .final-box__copy h2{font-size:31px}
  .final-box__facts{gap:16px;justify-content:space-between}
  .final-box__facts span{font-size:10px}
  .lead-form--final{padding:23px 18px}
  .footer{padding-top:40px}
  .footer__grid{grid-template-columns:1fr 1fr;gap:30px}
  .footer__grid>div:first-child{grid-column:1/-1}
  .footer__contacts{grid-column:1/-1;display:flex}
  .footer nav a,.footer__contacts a{min-height:36px;display:flex;align-items:center}
  .footer__bottom{flex-direction:column;gap:5px}
  .cookie-bar{bottom:10px;padding:15px}
  .cb-actions{display:grid;grid-template-columns:1fr 1fr}
  .cb-actions button{min-height:44px}
}

@media(max-width:380px){
  .container{width:calc(100% - 20px)}
  .header__inner{gap:8px}
  .hero__content{padding-inline:16px}
  .hero h1{font-size:26px}
  .hero-step{font-size:8px}
  .overview__facts{gap:7px}
  .lead-form--compact{padding-inline:14px}
  .footer__grid{grid-template-columns:1fr}
  .footer nav{grid-column:auto}
}

@media(max-width:330px){
  .lead-form .btn{padding-inline:12px;font-size:14px}
}

@media(max-width:430px){
  .section__cta .btn{width:100%;max-width:360px;padding-inline:16px;font-size:14px}
  .hero h1{font-size:26px}
  .hero__route{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:7px;white-space:normal}
  .hero__route span{display:grid;place-items:center;min-height:30px;padding:4px 7px;border-radius:8px;background:rgba(255,255,255,.24);text-align:center;font-size:9px;line-height:1.25}
  .hero__route i{display:none}
}

@media(max-width:320px){
  .btn{padding-inline:14px;font-size:12px}
  .hero__content{padding-inline:16px}
  .hero h1{font-size:24px}
  .hero__note{font-size:9px}
  .program summary{grid-template-columns:40px 1fr 26px;gap:9px;padding-inline:12px}
  .program__num{width:40px;height:40px}
  .program__body li{grid-template-columns:1fr;gap:5px;padding-left:18px}
  .program__body li b{justify-self:start}
}

@media(max-width:300px){
  .overview__facts{grid-template-columns:1fr}
  .overview__facts div{min-height:58px;align-items:center}
  .overview__facts span{padding-top:0}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
  .btn:hover,.task-card:hover,.program:hover,.format-card:hover,.office-card:hover,.office-card__cta:hover{transform:none}
  .office-card__photo img{transition:none}
  .motion-ready [data-motion]{opacity:1!important;transform:none!important}
}

@media(prefers-reduced-transparency:reduce){
  .header{background:#fff;backdrop-filter:none}
}

/* ===== Горячие линии: шапка, мобильное меню, подвал (правки 21.09.2026) ===== */
.header__hotlines{display:flex;flex-direction:column;gap:2px;flex:none}
.header__hotline{display:flex;align-items:baseline;gap:8px;font-size:13px;line-height:1.3;color:var(--deep);white-space:nowrap;transition:color .2s}
.header__hotline:hover{color:var(--teal)}
.header__hotline span{min-width:84px;font-size:10.5px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}
.header__hotline b{font-size:13.5px;font-weight:800}
.header__nav-hotlines{display:none}
.footer__hotlines{display:flex;flex-direction:column;gap:9px;margin:2px 0 12px}
.footer__phone span{display:flex;flex-direction:column;line-height:1.25}
.footer__phone small{font-size:10.5px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:rgba(255,255,255,.62)}
.footer__phone b{font-size:14px;font-weight:800}

/* ===== Видео-блок ===== */
.video-section .section__head{max-width:860px}
.video-embed{position:relative;aspect-ratio:16/9;width:100%;max-width:720px;margin-left:auto;margin-right:auto;border-radius:var(--radius-lg);overflow:hidden;background:#00201d;box-shadow:var(--shadow-lg)}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}

@media(min-width:701px){
  /* одиночный номер нужен только на телефонах, где список горячих линий не помещается */
  .header__phone{display:none}
}
@media(max-width:1200px){
  .header__nav .header__nav-hotlines{display:flex;flex-direction:column;gap:10px;margin-top:12px;padding:14px 15px 6px;border-top:1px solid #e8f0ef}
  .header__nav .header__nav-hotlines a{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:0;padding:0;border:0;font-size:15px;font-weight:700;color:var(--deep)}
  .header__nav .header__nav-hotlines a:hover{padding-left:0;background:transparent;color:var(--teal)}
  .header__nav .header__nav-hotlines span{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.02em;color:var(--muted)}
}
@media(max-width:980px){
  .header__hotline span{min-width:0;display:none}
}
@media(max-width:700px){
  .header__hotlines{display:none}
  .footer__hotlines{gap:11px}
}
