/* ПРО100: ремонт квартир. Одна адаптивная верстка вместо копий блоков флексби. */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format("woff2");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}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format("woff2");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}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format("woff2");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}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-cyrillic-700-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-latin-700-normal.woff2) format("woff2");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{
  --orange:#ff600a;--orange-dark:#e45200;--orange-soft:#fff1e8;--blue:#246fa8;--blue-dark:#1c5a8a;
  --text:#111;--muted:#555;--line:#e3e3e3;--gray:#f5f5f5;--card:#fff;--yellow:#ffdf6e;
  --radius:20px;--shadow:0 6px 24px rgba(0,0,0,.07);--wrap:1150px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--text);background:#fff}
body:has(dialog[open]){overflow:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,p{margin:0}
ul{margin:0;padding:0;list-style:none}
.wrap{width:min(var(--wrap),100% - 2*max(20px,4.5vw));margin-inline:auto}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.accent{color:var(--orange)}
.section{padding:72px 0}
.section--gray{background:var(--gray)}
.section-title{font-size:clamp(24px,2.9vw,38px);line-height:1.18;font-weight:400;text-transform:uppercase;text-align:center;margin-bottom:12px}
.section-sub{text-align:center;font-size:clamp(16px,1.6vw,20px);margin-bottom:44px}
.section-title+.cases,.section-title+.team-tabs{margin-top:40px}

/* Кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 24px;border:0;border-radius:8px;background:var(--orange);color:#fff;font-weight:500;font-size:15px;text-decoration:none;text-align:center;transition:background .2s,transform .2s,box-shadow .2s}
.btn:hover{background:var(--orange-dark)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible,.choice:focus-within,.tab:focus-visible{outline:3px solid #ffb37f;outline-offset:2px}
.btn--blue{background:var(--blue)}.btn--blue:hover{background:var(--blue-dark)}
.btn--black{background:#000}.btn--black:hover{background:#262626}
.btn--wide{width:100%}
.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}

/* Шапка */
.header{background:#fff;position:relative;z-index:5}
.header__in{display:flex;align-items:center;gap:32px;min-height:82px}
.header__logo img{width:170px;height:auto}
.nav{display:flex;gap:44px;margin-left:auto}
.nav a,.nav button{background:none;border:0;padding:0;color:var(--orange);text-decoration:none;font-size:16px}
.nav a:hover,.nav button:hover{text-decoration:underline}
.header__phone{display:flex;align-items:center;gap:10px;color:var(--orange);font-size:20px;font-weight:500;white-space:nowrap}
.header__phone svg{width:22px;height:22px;color:#111}
@media (max-width:1100px){.nav{gap:24px}.header__in{gap:20px}}
@media (max-width:960px){.nav,.header .btn{display:none}.header__in{min-height:70px;justify-content:space-between}.header__logo img{width:130px}.header__phone{font-size:17px}}
@media (max-width:380px){.header__logo img{width:112px}.header__phone{font-size:15px;gap:6px}}

/* Первый экран */
.hero{position:relative;color:#fff;padding:64px 0 76px;background:#2b2a27 url(../img/hero.webp) center/cover no-repeat}
.hero::before{content:"";position:absolute;inset:0;background:rgba(15,13,11,.72)}
.hero>.wrap{position:relative}
.hero__title{font-size:clamp(23px,3vw,40px);line-height:1.18;font-weight:400;text-transform:uppercase;text-align:center;max-width:1100px;margin:0 auto}
.br-d{display:none}
@media (min-width:1001px){.br-d{display:inline}}
.hero__badges{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;margin:22px auto 0;font-size:clamp(15px,1.4vw,18px)}
.hero__grid{display:grid;grid-template-columns:1fr 450px;gap:48px;align-items:center;margin-top:62px}
.adv{display:grid;gap:30px}
.adv__item{display:grid;grid-template-columns:60px 1fr;gap:10px 14px;align-items:start}
.adv__icon{width:60px;height:60px;border-radius:50%;background:var(--orange);display:grid;place-items:center}
.adv__icon i{width:36px;height:36px;background:#fff;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.ic-garant{--icon:url(../img/38234765.svg)}.ic-oplata{--icon:url(../img/35323400.svg)}.ic-sklad{--icon:url(../img/45619537.svg)}.ic-master{--icon:url(../img/45619541.svg)}
.adv__item h3{font-size:18px;font-weight:600;margin:4px 0 4px}
.adv__item p{font-size:16px;color:#eee;max-width:560px}
@media (max-width:1000px){.hero__grid{grid-template-columns:1fr;gap:40px;margin-top:34px}.hero__form{order:-1;max-width:520px;margin:0 auto;width:100%}}
@media (max-width:600px){.hero{padding:32px 0 44px;background-image:url(../img/hero-m.webp)}.hero__badges{flex-direction:column;align-items:flex-start;width:max-content;max-width:100%;text-align:left}.adv__item{grid-template-columns:52px 1fr}.adv__icon{width:52px;height:52px}.adv__icon i{width:30px;height:30px}.adv__item h3{font-size:17px;margin-top:0}.adv__item p{font-size:15px}}

/* Карточка формы на первом экране */
.calc{background:#fff;color:var(--text);border-radius:var(--radius);padding:32px 30px 34px;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.calc__title{font-size:24px;line-height:1.35;font-weight:500;margin-bottom:22px}
.calc__label{display:block;font-size:15px;margin:0 0 8px}
.calc fieldset{border:0;margin:0 0 20px;padding:0}
.calc legend{padding:0;font-size:15px;margin-bottom:8px}
.radio,.check{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:16px;padding:4px 0}
.radio input,.check input{width:18px;height:18px;margin:0;accent-color:#111;flex:none}
.select{position:relative;margin-bottom:22px}
.select select{appearance:none;width:100%;height:46px;border:1px solid #d8d8d8;border-radius:4px;background:#fff;padding:0 40px 0 14px;font-size:16px}
.select::after{content:"";position:absolute;right:18px;top:17px;width:8px;height:8px;border:2px solid #111;border-width:0 2px 2px 0;transform:rotate(45deg);pointer-events:none}
.range{margin-bottom:20px}
.range__head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px}
.range__value{font-size:14px;color:var(--muted)}
.range__value b{color:var(--text);font-weight:600}
.range input{width:100%;margin:6px 0;accent-color:#111}
.range__ticks{display:flex;justify-content:space-between;font-size:15px;color:#222}
.range--empty input::-webkit-slider-thumb{opacity:.35}
.calc__send{font-size:22px;font-weight:600;text-align:center;margin:22px 0 14px}
.calc__btns{display:grid;grid-template-columns:1fr 1.2fr;gap:14px}
.calc__btns .btn{font-size:17px;min-height:48px;border-radius:8px}
@media (max-width:600px){.calc{padding:26px 20px 28px}.calc__title{font-size:19px}.range__ticks{font-size:12px}}

/* Портфолио */
.cases{display:grid;gap:44px}
.case{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:stretch}
.case__card{background:#fff;border-radius:var(--radius);padding:36px 26px;display:flex;flex-direction:column;align-items:flex-start;font-size:14.5px;line-height:1.5}
.case__card h3{font-size:22px;font-weight:600;line-height:1.3;margin-bottom:18px}
.case__card p{margin-bottom:8px}
.case__card p.case__gap{margin-top:6px}
.case__card .btn{margin-top:auto;border-radius:4px}
.case__card .case__gap:last-of-type{margin-bottom:36px}
@media (max-width:860px){.case{grid-template-columns:1fr}.case__slider{order:-1}.case__card{padding:26px 20px}.case__card h3{font-size:20px}.case__card .btn{width:100%}}

/* Слайдер */
.slider{position:relative;border-radius:var(--radius);overflow:hidden;background:#ecebe8;min-height:280px}
.slider__track{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.slider__track::-webkit-scrollbar{display:none}
.slider__slide{flex:0 0 100%;scroll-snap-align:start;position:relative;aspect-ratio:var(--ar,4/3);margin:0}
.case .slider{min-height:440px}
.case .slider__track{position:absolute;inset:0}
.case .slider__slide{aspect-ratio:auto;height:100%}
.slider__slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-width:860px){.slider__slide img.fit{object-fit:contain}}
.slider__arrow{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;border:0;background:var(--orange);color:#fff;display:grid;place-items:center;z-index:2;transition:opacity .2s}
.slider__arrow svg{width:22px;height:22px}
.slider__arrow--prev{left:15px}.slider__arrow--next{right:15px}
.slider__arrow[disabled]{opacity:.45;cursor:default}
.slider__dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:7px;z-index:2}
.slider__dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,96,10,.4)}
.slider__dots button[aria-current="true"]{background:var(--orange)}
@media (max-width:860px){.case .slider{min-height:0}.case .slider__track{position:static}.case .slider__slide{aspect-ratio:var(--ar,4/3);height:auto}.slider__arrow{width:42px;height:42px}}

/* Карусель карточек (услуги, команда на телефоне) */
.carousel{position:relative}
.carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2*26px)/3);gap:26px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 24px}
.carousel__track::-webkit-scrollbar{display:none}
.carousel__track>*{scroll-snap-align:start}
.carousel .slider__arrow{top:calc(50% - 12px)}
.carousel .slider__arrow--prev{left:-22px}.carousel .slider__arrow--next{right:-22px}
.carousel__dots{display:flex;justify-content:center;gap:8px}
.carousel__dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,96,10,.3)}
.carousel__dots button[aria-current="true"]{background:var(--orange)}
@media (max-width:1000px){.carousel__track{grid-auto-columns:calc((100% - 20px)/2);gap:20px}}
@media (max-width:640px){.carousel__track{grid-auto-columns:86%;gap:14px}.carousel .slider__arrow{display:none}}

/* Услуги */
.service{background:#fff;border-radius:var(--radius);padding:30px 30px 32px;display:flex;flex-direction:column;box-shadow:var(--shadow)}
.service__head{display:grid;grid-template-columns:60px 1fr;gap:15px;align-items:center;margin-bottom:12px}
.service__head img{width:60px;height:60px;border-radius:50%;object-fit:cover}
.service__head h3{font-size:20px;font-weight:600;line-height:1.25}
.service__head span{display:block;font-size:12px;font-weight:400;margin-top:6px}
.service p{font-size:13.5px;margin-bottom:16px}
.service h4{font-size:15px;margin:0 0 10px}
.service ul{font-size:13px;display:grid;gap:9px;margin-bottom:24px}
.service ul li::before{content:"- "}
.service .btn{margin-top:auto;font-size:13px;border-radius:4px;padding-inline:10px}

/* Склад */
.sklad{margin-top:70px}
.sklad__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.sklad__col{background:#fff;border-radius:var(--radius);padding:30px 26px;display:flex;flex-direction:column;gap:22px;box-shadow:var(--shadow)}
.sklad__item h3{position:relative;padding-left:36px;font-size:18px;font-weight:600;line-height:1.5;margin-bottom:8px}
.sklad__item h3::before{content:"";position:absolute;left:4px;top:7px;width:15px;height:15px;border-radius:50%;background:var(--orange)}
.sklad__item p{font-size:16px}
.sklad__col .btn{margin-top:auto}
.sklad__photo{border-radius:var(--radius);overflow:hidden;min-height:320px}
.sklad__photo img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){.sklad__grid{grid-template-columns:1fr}.sklad__photo{order:-1;min-height:0;aspect-ratio:16/9}}

/* Квиз */
.quiz-section{padding:64px 0 72px}
.quiz-section .section-title{margin-bottom:40px}
.quiz{display:grid;grid-template-columns:1fr 340px;background:#eeeae6;border-radius:var(--radius);overflow:hidden;min-height:620px;text-align:left;color:#1d2b3a}
.quiz__main{padding:48px 44px 46px;display:flex;flex-direction:column;min-width:0}
.quiz__side{background:#e6e1dc;padding:22px 22px 30px;display:flex;flex-direction:column;gap:22px}
.quiz__q{font-size:clamp(22px,2.4vw,34px);line-height:1.2;font-weight:600;margin-bottom:26px;color:#2b3446}
.quiz__body{flex:1}
.quiz__opts{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px}
.quiz__opts--img{grid-template-columns:repeat(3,1fr)}
.choice{position:relative;display:flex;align-items:center;gap:16px;min-height:70px;padding:14px 20px;border:1px solid #d8d1ca;border-radius:6px;background:#efebe7;cursor:pointer;font-size:19px;transition:border-color .15s,box-shadow .15s}
.choice:hover{border-color:#e9a77f}
.choice input{position:absolute;opacity:0;pointer-events:none}
.choice__dot{width:28px;height:28px;flex:none;border-radius:50%;background:#dcd3cd;position:relative}
.choice:has(input:checked){border-color:var(--orange);box-shadow:0 0 0 1px var(--orange) inset}
.choice:has(input:checked) .choice__dot{background:#fff;box-shadow:0 0 0 2px var(--orange) inset}
.choice:has(input:checked) .choice__dot::after{content:"";position:absolute;inset:7px;border-radius:50%;background:var(--orange)}
.choice--img{flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;min-height:0}
.choice--img img{width:100%;aspect-ratio:1;object-fit:cover}
.choice--img span{padding:16px 15px;font-size:18px;color:#555}
.area{max-width:100%}
.area__input{width:220px;height:66px;border:1px solid #c9bfb5;border-radius:4px;background:transparent;padding:0 26px;font-size:21px;margin-bottom:22px}
.area__input::placeholder{color:#9a928a}
.area input[type=range]{width:100%;height:30px;accent-color:var(--orange)}
.area__ticks{display:flex;justify-content:space-between;font-size:19px;color:#666;margin-top:6px}
.area__hint{font-size:15px;color:#777;margin-top:14px}
.quiz__foot{display:flex;align-items:center;gap:22px;margin-top:30px}
.quiz__progress{flex:1;min-width:0}
.quiz__progress small{font-size:16px}
.quiz__progress b{color:var(--orange);font-weight:600;margin-left:12px}
.quiz__bar{height:7px;border-radius:7px;background:#d9d0c8;margin-top:12px;overflow:hidden}
.quiz__bar i{display:block;height:100%;width:0;background:repeating-linear-gradient(-45deg,#ff600a 0 10px,#ff8a4a 10px 20px);border-radius:7px;transition:width .3s}
.quiz__back{width:58px;height:58px;border-radius:50%;border:1px solid #d6cdc5;background:transparent;display:grid;place-items:center;color:#8a8078;flex:none}
.quiz__back svg{width:22px;height:22px}
.quiz__next{position:relative;min-width:148px;min-height:58px;border-radius:30px;font-size:21px;font-weight:400;box-shadow:0 6px 18px rgba(255,96,10,.35)}
.quiz__enter{position:absolute;top:100%;right:0;left:0;margin-top:8px;font-size:13px;color:#8a8078;text-align:center;white-space:nowrap}
.quiz__enter b{color:#6d645c}
.bonus{border-radius:14px;padding:24px 22px}
.bonus--sale{background:var(--yellow);border:1px solid #f5c84a;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:18px;font-weight:500;white-space:nowrap}
.bonus--gift{position:relative;display:flex;align-items:center;gap:18px;color:#fff;background:linear-gradient(90deg,#c9692f,#7a3008);font-weight:600;font-size:18px;min-height:88px}
.bonus--gift .gift-ico{width:54px;height:54px;flex:none;border-radius:10px;background:#fff;display:grid;place-items:center;color:var(--orange)}
.bonus--gift .gift-ico svg{width:32px;height:32px}
.bonus__lock{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;background:#666;display:grid;place-items:center;color:#fff}
.bonus__lock svg{width:13px;height:13px}
.quiz.is-final .bonus__lock{background:#2fa84f}
.quiz__note{font-size:14px;color:#6d645c;margin-top:auto}
/* Финал квиза */
.quiz-final{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:start}
.quiz-final__head h3{font-size:clamp(24px,2.6vw,36px);line-height:1.2;font-weight:600;color:#2b3446;margin-bottom:16px}
.quiz-final__head p{font-size:19px;color:#3f4757}
.contact-way{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 20px}
.contact-way .choice{min-height:64px;border-radius:40px;font-size:18px;padding:10px 18px}
.contact-way .choice__dot{width:22px;height:22px}
.contact-way .choice:has(input:checked) .choice__dot::after{inset:5px}
.field{display:block;margin-bottom:16px}
.field span{display:block;font-size:15px;margin-bottom:6px}
.field input{width:100%;height:50px;border:1px solid #d8d8d8;border-radius:6px;background:#fff;padding:0 16px;font-size:17px}
.field input:focus{outline:2px solid #ffb37f;border-color:var(--orange)}
.field input[aria-invalid="true"]{border-color:#d93025}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.45;margin:4px 0 18px;cursor:pointer}
.consent input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--orange)}
.consent a{color:var(--orange)}
.meta-note{font-size:12px;color:#8a8078;margin-top:10px}
.form-msg{font-size:14.5px;line-height:1.45;margin-top:12px;padding:12px 14px;border-radius:8px;background:#fdecea;color:#8c1d18}
.form-msg--ok{background:#e9f6ec;color:#1d5c2d}
.done{text-align:center;padding:16px 0}
.done svg{width:64px;height:64px;color:#2fa84f;margin:0 auto 14px}
.done h3{font-size:26px;font-weight:600;margin-bottom:10px}
.done p{font-size:16px;color:#444;max-width:440px;margin:0 auto}
@media (max-width:1000px){.quiz{grid-template-columns:1fr;grid-template-rows:auto 1fr}.quiz__side{order:-1;flex-direction:row;padding:14px;gap:12px}.quiz__side .bonus{flex:1;padding:12px 14px;font-size:15px;min-height:0}.bonus--sale{flex-direction:column;align-items:flex-start;gap:2px;font-size:14px}.bonus--sale b{font-size:20px}.bonus--gift{font-size:15px;gap:10px}.bonus--gift .gift-ico{width:38px;height:38px}.bonus--gift .gift-ico svg{width:22px;height:22px}.quiz__note{display:none}.quiz-final{grid-template-columns:1fr;gap:18px}}
@media (max-width:640px){.quiz{min-height:0}.quiz__main{padding:26px 18px 22px}.quiz__q{font-size:22px;margin-bottom:18px}.quiz__opts{grid-template-columns:1fr;gap:10px}.quiz__opts--img{grid-template-columns:repeat(3,1fr);gap:8px}.choice{min-height:56px;font-size:17px;padding:10px 14px}.choice--img{padding:0;min-height:0;gap:0}.choice--img span{padding:8px 6px;font-size:13px}.area__input{width:100%;height:56px}.area__ticks{font-size:15px}.quiz__foot{gap:12px;margin-top:22px}.quiz__back{width:50px;height:50px}.quiz__next{min-width:0;padding-inline:20px;font-size:18px;min-height:50px}.quiz__enter{display:none}.contact-way{grid-template-columns:1fr 1fr;gap:8px}.contact-way .choice{min-height:52px;font-size:16px;padding:8px 12px;gap:10px}.quiz__progress small{font-size:14px}}

/* Замер */
.zamer__grid{display:grid;grid-template-columns:465px 1fr;gap:26px;align-items:stretch}
.zamer__photo{border-radius:var(--radius);overflow:hidden;background:#ddd}
.zamer__photo img{width:100%;height:100%;object-fit:cover}
.zamer__card{background:#fff;border-radius:var(--radius);padding:30px 26px 22px;display:flex;flex-direction:column}
.zamer__card h3{font-size:20px;font-weight:600;text-transform:uppercase;margin-bottom:22px}
.zamer__list{display:grid;gap:18px;margin-bottom:24px}
.zamer__list li{display:grid;grid-template-columns:40px 1fr;gap:10px}
.zamer__list .tick{width:40px;height:40px;border-radius:8px;background:var(--orange);display:grid;place-items:center;color:#fff}
.zamer__list .tick svg{width:24px;height:24px}
.zamer__list b{display:block;font-size:14px;margin-bottom:3px}
.zamer__list p{font-size:13.5px;color:#333}
.zamer__card .btn{align-self:center;font-size:16px}
@media (max-width:900px){.zamer__grid{grid-template-columns:1fr}.zamer__photo{aspect-ratio:3/2}.zamer__card .btn{align-self:stretch}}

/* Видео */
.videos{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}
.video{position:relative;aspect-ratio:350/210;border-radius:4px;overflow:hidden;background:#1b1b1b}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video__poster{position:absolute;inset:0;width:100%;border:0;padding:0;color:#fff;background:radial-gradient(circle at 30% 20%,#4a4a4a,#151515 70%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.video__play{width:68px;height:68px;border-radius:50%;background:var(--orange);display:grid;place-items:center;box-shadow:0 8px 24px rgba(255,96,10,.4);transition:transform .2s}
.video__play svg{width:26px;height:26px;margin-left:4px}
.video__poster:hover .video__play{transform:scale(1.07)}
.video__poster span:last-child{font-size:15px}
@media (max-width:900px){.videos{grid-template-columns:1fr;gap:20px;max-width:560px;margin:0 auto}}

/* Команда */
.team-tabs{display:flex;justify-content:center;margin-bottom:50px}
.team-tabs__in{display:flex;border:2px solid #ffb48a;border-radius:8px;overflow:hidden}
.tab{border:0;background:#fff;padding:14px 28px;font-size:17px;border-left:2px solid #ffb48a}
.tab:first-child{border-left:0}
.tab[aria-selected="true"]{background:var(--orange);color:#fff}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.person{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.person__photo{position:relative;aspect-ratio:1;background:#eee;border-radius:var(--radius);overflow:hidden}
.person__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.person__body{padding:12px 15px 22px;font-size:12.5px;line-height:1.5}
.person__body h3{font-size:18px;font-weight:600;margin-bottom:2px}
.person__role{font-size:15.5px;color:#222;padding-bottom:6px;border-bottom:2px solid #e0ff57;margin-bottom:14px}
.person__body p{margin-bottom:8px}
.person__cert{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.person__cert img{width:30px;height:auto;border:1px solid #ddd}
@media (max-width:1000px){.team-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.team-tabs{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;margin:0 -20px 28px;padding:0 20px}.tab{padding:11px 16px;font-size:15px;white-space:nowrap}.team-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:78%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:4px 20px 20px;scrollbar-width:none}.team-grid::-webkit-scrollbar{display:none}.person{scroll-snap-align:center}}

/* Консультация */
.consult__grid{display:grid;grid-template-columns:660px 1fr;gap:26px;align-items:start}
.consult__form{background:var(--orange);border-radius:var(--radius);padding:34px 25px;color:#fff}
.consult__form h2{font-size:clamp(24px,2.6vw,34px);font-weight:400;text-transform:uppercase;text-align:center;line-height:1.2;margin-bottom:24px}
.consult__form .field span{font-weight:500;font-size:16px}
.consult__form .field input{border:0;border-radius:4px}
.consult__form .consent a{color:#fff;text-decoration:underline}
.consult__form .consent input{accent-color:#000}
.consult__form .form-msg--ok{background:#fff}
.consult__side ul{display:grid;gap:4px;font-size:15px;margin:22px 0 10px}
.consult__side li::before{content:"• "}
.consult__side img{border-radius:var(--radius);width:100%;aspect-ratio:465/280;object-fit:cover}
@media (max-width:1000px){.consult__grid{grid-template-columns:1fr}.consult__side{order:-1}.consult__side ul{margin-top:0}}
@media (max-width:600px){.consult__form{padding:26px 18px}}

/* Подвал */
.footer{background:var(--gray);padding:0 0 40px}
.footer__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:50px}
.footer__card{background:#fff;border-radius:var(--radius);padding:30px;font-size:16px;line-height:1.75}
.footer__card img{width:120px;margin-bottom:14px}
.footer__card small{display:block;font-size:12px;line-height:1.5}
.footer__card small a{display:block;margin-top:2px}
.footer__card h3{font-size:18px;font-weight:600;margin-bottom:10px}
.footer__card .btn{margin-top:14px;font-size:15px}
@media (max-width:1100px){.footer__grid{grid-template-columns:repeat(2,1fr);gap:20px}}
@media (max-width:600px){.footer__grid{grid-template-columns:1fr}.footer__card{padding:24px}}

/* Всплывающие окна */
dialog.modal{border:0;padding:0;border-radius:var(--radius);width:min(480px,100% - 24px);max-height:calc(100dvh - 24px);background:#fff;color:var(--text);box-shadow:0 30px 80px rgba(0,0,0,.35)}
dialog.modal::backdrop{background:rgba(0,0,0,.6)}
dialog.modal[open]{animation:pop .2s ease-out}
@keyframes pop{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.modal__in{padding:40px 34px 32px}
.modal__close{position:absolute;top:10px;right:10px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;display:grid;place-items:center;color:#333;z-index:3}
.modal__close:hover{background:#f1f1f1}
.modal__close svg{width:22px;height:22px}
.modal h2{font-size:24px;line-height:1.3;font-weight:600;text-align:center;margin:0 10px 22px}
.modal__opts{display:grid;gap:6px;margin-bottom:16px}
.modal__opts legend{font-size:15px;margin-bottom:6px;padding:0}
.modal fieldset{border:0;margin:0;padding:0}
dialog.modal--quiz{width:min(1180px,100% - 24px);background:#eeeae6}
dialog.modal--quiz .quiz{border-radius:0;min-height:600px}
dialog.modal--quiz .quiz__side{padding-top:64px}
dialog.modal--quiz .modal__close{background:rgba(255,255,255,.85)}
@media (max-width:640px){dialog.modal--quiz{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0}dialog.modal--quiz .quiz{min-height:100%}.modal__in{padding:36px 20px 24px}.modal h2{font-size:21px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
