/* Евгений Афанасьев — лендинг «Здоровый кишечник». Вёрстка по Figma (Desktop 1512 / Tablet 834 / Mobile) */
:root{
  --main:#2d5f57;
  --main2:#023534;
  --bg:#f2f8f3;
  --label-bg:#eaf4e4;
  --label-bd:#9bbc87;
  --label-tx:#417315;
  --grad:linear-gradient(to top,#086038 23.612%,#6aaa3f);
  --shadow:0 4px 8.4px rgba(89,139,131,.17);
  --serif:'Libertinus Serif',Georgia,serif;
  --sans:'Onest',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --hand:'Pacifico',cursive;
  --pad:40px;
}
/* в Libertinus Serif из Google Fonts нет «ё/Ё» — берём букву из системной засечки */
/* «Ё/ё» нет в Libertinus Serif из Google Fonts — берём из оригинального Libertinus (OFL), подмножество 3 КБ */
@font-face{font-family:'Libertinus Serif';font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/libertinus-yo.woff2) format('woff2');unicode-range:U+0401,U+0451}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;-webkit-tap-highlight-color:rgba(106,170,63,.15);touch-action:manipulation;background:var(--bg);color:var(--main);font:500 16px/1.208 var(--sans);letter-spacing:.02em;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;letter-spacing:inherit;background:none;border:0;padding:0;cursor:pointer}
ul,ol{list-style:none;margin:0;padding:0}
h1,h2,h3,p,figure,blockquote{margin:0}
h1,h2,h3,.h-hero{text-wrap:balance}
.skip{position:absolute;left:-9999px;top:8px;z-index:200;background:#fff;color:var(--main2);padding:10px 16px;border-radius:8px;box-shadow:var(--shadow)}
.skip:focus{left:8px}
[hidden]{display:none!important}
.container{max-width:1512px;margin:0 auto;padding:0 var(--pad);position:relative}

/* typography */
.h-hero{font:600 45.6px/.99 var(--serif);letter-spacing:-.01em;color:var(--main)}
.h2{font:600 51.6px/.99 var(--serif);letter-spacing:-.01em;color:var(--main)}
.h2--dark{color:var(--main2)}
.p{font-size:16px;color:var(--main)}
.label{display:inline-flex;align-items:center;padding:4px 6px;border:1px solid var(--label-bd);background:var(--label-bg);border-radius:100px;color:var(--label-tx);font:600 10px/1.208 var(--sans);letter-spacing:.02em;text-transform:uppercase;align-self:flex-start}
.label--solid{background:var(--grad);border:1.4px solid var(--label-bd);color:#fff;font-size:14.15px;padding:5.66px 8.5px}
.quote,.quote p{font-family:var(--hand);font-weight:400;color:var(--main);line-height:1.208;letter-spacing:.02em}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;height:55px;padding:3px 19px 3px 15px;border-radius:1000px;background:var(--grad);color:#fff;font:500 16px/1.208 var(--sans);letter-spacing:.02em;white-space:nowrap;transition:filter .2s,transform .2s,box-shadow .2s;position:relative;overflow:hidden}
.btn:hover{filter:brightness(1.08);box-shadow:0 6px 16px rgba(8,96,56,.25)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible,.channel:focus-visible,.q-item:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid #6aaa3f;outline-offset:2px}
.btn--header{height:50px;width:263px;font-size:20px;gap:5px;padding:10px 16px}
.btn--sm{font-size:13px;width:281px;text-align:left;white-space:normal;line-height:1.208}
.btn--light{height:35px;background:linear-gradient(to bottom,#ecf8df,#b2da8d 137.79%);color:var(--main2);font-size:12.98px;gap:5px;padding:3px 19px}
.btn--submit{background:#bababa;color:#ececec;height:55px;padding:20px;font-size:16px}
.btn--submit:not(:disabled){background:var(--grad);color:#fff}
.btn--submit:disabled{cursor:not-allowed;filter:none;box-shadow:none}
.btn--submit-lg{flex:1 0 0;max-width:500px;font-size:20px;height:auto;justify-content:center}

/* HEADER */
.header{position:sticky;top:0;z-index:50;background:linear-gradient(to bottom,#f2f8f3 65.98%,rgba(242,248,243,.33) 104.67%);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);border-bottom:1px solid #c9c9c9}
.header__inner{max-width:1512px;margin:0 auto;height:83px;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo{display:flex;align-items:center;gap:10px;width:300px;flex-shrink:0}
.logo__mark{position:relative;width:48px;height:36px;flex-shrink:0;mix-blend-mode:multiply}
.logo__circle{position:absolute;left:5.14px;top:-3.98px;width:37.6px;height:37.6px}
.logo__leaf{position:absolute;left:-31.93px;top:-13.37px;width:111.6px;height:62.24px;max-width:none;object-fit:contain;mix-blend-mode:multiply}
.logo__text{display:flex;flex-direction:column;gap:3px;white-space:nowrap}
.logo__text b{font-weight:700;font-size:16px;color:var(--main2)}
.logo__text span{font-size:14px;color:var(--main)}
.menu{display:flex;gap:29px;font-size:16px;color:var(--main)}
.menu a{transition:color .2s}
.menu a:hover{color:#086038}
.header .menu{flex:1;justify-content:center}
.burger{display:none;width:44px;height:44px;flex-direction:column;justify-content:center;gap:6px;padding:10px}
.burger span{display:block;height:2px;background:var(--main2);border-radius:2px;transition:transform .25s,opacity .25s}

/* HERO SLIDER */
.hero{position:relative;height:587px;overflow:hidden;--gut:max(0px,calc((100vw - 1512px) / 2))}
.hero__track{display:flex;height:516px;transition:transform .9s cubic-bezier(.65,0,.35,1)}
/* текст нового слайда проявляется снизу, по очереди */
.slide__content>*{transition:opacity .6s ease,transform .6s ease}
.slide[aria-hidden=true] .slide__content>*{opacity:0;transform:translateY(14px)}
.slide[aria-hidden=false] .slide__content>*{transition-delay:.45s}
.slide[aria-hidden=false] .slide__content>*:nth-child(2){transition-delay:.52s}
.slide[aria-hidden=false] .slide__content>*:nth-child(3){transition-delay:.59s}
.slide[aria-hidden=false] .slide__content>*:nth-child(4){transition-delay:.66s}
.slide[aria-hidden=false] .slide__content>*:nth-child(n+5){transition-delay:.73s}
.slide{flex:0 0 100%;position:relative;height:516px;overflow:hidden}
.slide--1{background:#f2f9f3}
.slide--2{background:#fbfaf6}
.slide--3{background:#fbfaf5}
.slide__content{position:absolute;left:calc(var(--gut) + 68px);top:75px;display:flex;flex-direction:column;align-items:flex-start;width:620px}
.slide__content .h-hero{margin-bottom:10px}
.slide__content .p{width:508px}
.slide__content > .btn{margin-top:52px}
.feats{display:flex;gap:40px;margin-top:52px}
.feats li{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--main2);line-height:1.208}
.feats--18{gap:18px}.feats--18 li:nth-child(2){width:205px}
.feats--33{gap:33px}.feats--33 li:nth-child(2){width:172px}
.ico{position:relative;width:54.5px;height:54.5px;flex-shrink:0}
.ico>img{position:absolute;left:-15.41%;top:-8.07%;width:130.82%;height:130.82%;max-width:none}
.ico--white{background:#fff;border-radius:50%;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;overflow:hidden}
.ico--white::before{content:"";position:absolute;width:67px;height:67px;left:-24px;top:-24px;border-radius:50%;background:#e8f4e2;opacity:.8}
.ico--white>img.ico__in{position:relative;left:auto;top:auto;width:27px;height:30px}
.slide1__bg{position:absolute;inset:0}
.slide1__bg img{position:absolute;height:100%;width:89.23%;left:-10.64%;top:0;max-width:none;object-fit:cover}
.slide1__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(-85.87deg,#e6eee6 48.94%,rgba(242,249,243,0) 60.66%)}
.slide1__leafs{position:absolute;right:0;top:0;width:231.8px;height:328.7px;object-fit:cover;object-position:100% 0;pointer-events:none}
.slide1__content{left:auto;right:calc(var(--gut) + 97px);top:37px;width:680px}
.slide1__content > .btn{margin-top:34px}
.slide1__content .feats{margin-top:34px}
.slide1__content .h-hero{width:536px}
.slide1__content .p{width:536px}
.slide1__bottom{display:flex;justify-content:space-between;align-items:flex-end;width:679px;margin-top:34px}
.passed{display:flex;align-items:center;gap:20px;font:400 16px/1.208 var(--sans);color:var(--main2)}
.passed>span:last-child{width:150px}
.avatars{display:flex}
.avatars img{width:54px;height:54px;border-radius:50%;border:1.66px solid #fff;object-fit:cover;margin-right:-16.6px;background:#d9d9d9}
.avatars img:last-child{margin-right:0}
.quote--small{width:165px;transform:rotate(-7.95deg);transform-origin:left bottom}
.quote--small p{font-size:12.64px}
.quote--small img{width:126px;margin:4px 0 0 28px;transform:rotate(2.8deg)}
.slide2__bg{position:absolute;right:-150.5px;top:0;width:1066px;height:516px}
.slide2__bg img{width:100%;height:100%;object-fit:cover}
.slide2__bg::before{content:"";position:absolute;inset:0;background:linear-gradient(89.44deg,#fbfaf6 1.68%,rgba(251,250,246,0) 16.53%);z-index:1;pointer-events:none}
.play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:59px;z-index:2;transition:transform .2s}
.play:hover{transform:translate(-50%,-50%) scale(1.08)}
.play img{width:100%;height:100%}
.play--big{left:calc(50% - 54.7px - 75px);width:60.5px;height:61.5px}
.slide3__bg{position:absolute;right:-71.8px;top:0;width:958.3px;height:516px}
.art3{position:absolute;right:0;top:0;width:958.3px;height:516px;transform-origin:top right;transform:scale(var(--s,1))}
.art3__img{position:absolute;left:-.9px;top:-.97px;width:960px;height:517px;max-width:none;object-fit:cover}
/* надписи на книге и цитата — из макета (slide3-image), поверх фото */
.art3>span,.art3__heart{position:absolute;transform-origin:top left;color:var(--main);white-space:nowrap}
.art3__logo{display:flex;align-items:center;gap:10px;width:376px;left:436.7px;top:199.6px}
.art3__logo--1{transform:rotate(1.62deg) scale(.2779)}
.art3__logo--2{left:674px;top:202.5px;transform:rotate(10.33deg) scale(.1542)}
.art3__logo .logo__mark{position:relative;width:48px;height:36px;flex-shrink:0;mix-blend-mode:multiply}
.art3__title{left:437px;top:228px;width:154px;white-space:normal;font:600 21.66px/.99 var(--serif);letter-spacing:-.01em;transform:rotate(1.69deg)}
.art3__tags{left:437px;top:313px;display:flex;gap:10.6px;font:600 7.03px/.99 var(--serif);transform:rotate(1.71deg)}
.art3__tags i{font-style:normal}
.art3__tags i+i{padding-left:10.6px;border-left:.4px solid var(--main)}
.art3__rec{left:672px;top:226px;font:600 14.47px/.99 var(--serif);transform:rotate(10.76deg)}
.art3__quote{left:648px;top:40px;font:400 22.6px/1.208 var(--hand);letter-spacing:.02em;transform:rotate(-7.95deg)}
.art3__sign{left:753px;top:126px;font:400 15.34px/1.208 var(--hand);transform:rotate(-7.95deg)}
.art3__heart{left:788.4px;top:146.4px;width:35.3px;height:34.6px}
.slide3__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to left,rgba(251,250,245,0) 92.6%,#fbfaf5)}
.hero__arrow{position:absolute;top:230px;width:49.3px;height:49.3px;z-index:5;transition:transform .2s}
.hero__arrow:hover{transform:scale(1.08)}
.hero__arrow--prev{left:calc(var(--gut) + 8px)}
.hero__arrow--next{right:calc(var(--gut) + 7px)}
.hero__arrow--next img{transform:scaleX(-1)}
.hero__dots{position:absolute;left:50%;top:547px;transform:translateX(-50%);display:flex;gap:3px}
.hero__dots button{position:relative;overflow:hidden;width:33px;height:8px;border-radius:900px;background:#c9ecc5}
/* активная точка заполняется за время показа слайда, по окончании — следующий слайд */
.hero__dots button::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--main);transform:scaleX(1);transform-origin:left center;opacity:0;transition:opacity .7s ease}
.hero__dots button.is-active::after{opacity:1;transition:none;animation:dotFill 5s linear forwards}
.hero.is-paused .hero__dots button.is-active::after{animation-play-state:paused}
@keyframes dotFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* MAIN */
.main-sec{overflow:hidden}
.main-sec__inner{display:flex;flex-wrap:wrap;gap:13px 21px;align-items:flex-start;padding-top:20px;padding-bottom:54px;padding-right:60px;min-height:421px}
.main-sec__text{width:536px;display:flex;flex-direction:column;gap:0}
.main-sec__text .h2{margin-bottom:10px}
.checks{display:flex;flex-direction:column;gap:4px;margin-top:20px}
.checks li{display:flex;gap:9px;align-items:flex-end;font-size:14px;letter-spacing:.01em;color:var(--main2)}
.checks li::before{content:"";width:18px;height:18px;flex-shrink:0;background:url(../img/01a65.svg) -4px -2px/24px 24px no-repeat}
.stats{display:flex;align-items:center;gap:57px;padding:6px 0;margin-top:20px}
.stats div{display:flex;flex-direction:column;position:relative}
.stats div+div::before{content:"";position:absolute;left:-28.5px;top:0;height:33.5px;border-left:1px solid #b9cdc9}
.stats b{font:400 24.6px/normal var(--sans)}
.stats span{font-size:11px;letter-spacing:.07em}
.main-sec__actions{display:flex;align-items:center;gap:20px;margin-top:20px}
.watch{display:flex;align-items:center;gap:20px;font-size:14px;text-align:left;color:var(--main2);letter-spacing:.01em}
.watch img{transition:transform .2s}.watch:hover img{transform:scale(1.08)}
.video-frame{position:relative;width:479px;height:327px;margin-top:7px;border-radius:9px;overflow:hidden;flex-shrink:0}
.video-frame>img{width:100%;height:100%;object-fit:cover}
.main-sec__quote{position:absolute;left:1114px;top:46px;width:266px;transform:rotate(-7.95deg);display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-size:22.95px}
.main-sec__quote p{font-size:22.95px}
.main-sec__quote span{align-self:stretch;text-align:center}
.main-sec__leafs-blur{position:absolute;right:-22px;top:-25px;width:186px;height:458px;filter:blur(20.5px);opacity:.26;transform:rotate(-5.45deg);object-fit:contain;object-position:bottom}
.main-sec__leafs{position:absolute;right:-6.6px;top:-30px;width:186.4px;height:458.3px;object-fit:contain;object-position:bottom}

/* ADVANTAGES */
.adv{background:#fff}
.adv__inner{display:flex;justify-content:space-between;align-items:center;padding-top:20px;padding-bottom:20px}
.adv__item{display:flex;align-items:center;gap:15px;padding:6px;font-size:14px;letter-spacing:.01em;color:var(--main2);width:263px}
.adv__icon{width:54px;height:54px;flex-shrink:0;position:relative}
span.adv__icon{background:#fff;border:1px solid #76b599;border-radius:100px;overflow:hidden}
.adv__glow{position:absolute;width:59px;height:59px;max-width:none}
.adv__glow--1{left:-15.6px;top:-21.4px}
.adv__glow--2{left:9.9px;top:14.3px}
.adv__ic{position:absolute;left:10px;top:10px;width:32px;height:32px}
.adv__hc{position:absolute;left:10.5px;top:10.3px;width:32px;height:32px}
.adv__hc img{position:absolute}
.adv__hc .v1{left:29.2%;top:8.3%;width:45.8%;height:41.7%}
.adv__hc .v2{left:16.7%;top:58.3%;width:37.5%;height:16.7%}
.adv__hc .v3{left:16.7%;top:62.5%;width:66.7%;height:29.2%}

/* CHANGES */
.changes{padding:40px 0 40px}
.changes__head{display:flex;align-items:center;gap:20px;margin-bottom:53px}
.changes__head>div:first-child{flex:1}
.changes__title{max-width:916px;margin:0 0 20px}
.changes__lead{max-width:743px}
.score-box{display:flex;align-items:center;justify-content:center;gap:20px;width:269px;padding:14px 0;border:1px solid var(--main);border-radius:10px;background:rgba(234,255,221,.78);color:#000;flex-shrink:0}
.score-box__l{display:flex;flex-direction:column;align-items:center;gap:7px}
.pill{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:100px;background:var(--grad);color:#fff;font-size:19px;white-space:nowrap}
.changes__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-bottom:16px}
.change{background:rgba(255,255,255,.8);border-radius:12px;box-shadow:var(--shadow);padding:14px 13px;height:279px;display:flex;flex-direction:column;align-items:center;gap:19px;text-align:center}
.change h3{font-size:17px;font-weight:500;color:var(--main2);margin-bottom:-9px}
.change p{font-size:13px;color:var(--main);flex:1}
.changes__note{position:relative;display:flex;align-items:center;gap:20px;padding:14px;border-radius:10px;background:linear-gradient(to right,#ebf7e9,#f2f8f3)}
.changes__leaf{width:44px;height:44px;flex-shrink:0;transform:scale(1.28) translate(-1px,1px)}
.changes__note p{font-size:14px;letter-spacing:.01em;max-width:637px}
.changes__quote{position:absolute;left:1080px;top:22px;width:260px;transform:rotate(-7.95deg)}
.changes__quote p{font-size:19.83px}
.changes__quote img{width:25px;margin:4px 0 0 166px}

/* PROGRAM */
.program{padding-bottom:40px}
.program__inner{display:flex;gap:40px;align-items:stretch}
.program__left{flex:1;display:flex;flex-direction:column}
.program__left .h2{margin:10px 0 20px}
.program__lead{max-width:554px;margin-bottom:40px}
.card{background:rgba(255,255,255,.5);border-radius:10px;box-shadow:var(--shadow);padding:20px}
.modules{flex:1;display:flex;flex-direction:column}
.modules li{display:flex;gap:20px;align-items:flex-start;padding:20px 0;border-top:1px solid #d6e2df}
.modules li:first-child{border-top:0;padding-top:0}
.modules li:last-child{padding-bottom:0}
.num{width:30px;height:30px;border-radius:50%;background:var(--grad);color:#fff;font-weight:600;font-size:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.modules div{flex:1;display:flex;flex-direction:column}
.modules b{font-weight:600;font-size:16px;color:var(--main2)}
.modules div span{font-size:14px;color:var(--main)}
.modules em{font-style:normal;font-weight:600;font-size:16px;width:96px;flex-shrink:0;white-space:nowrap}
.program__right{width:621px;flex-shrink:0;padding-top:12px;position:relative}
.youget{display:flex;flex-direction:column;gap:40px;position:relative;z-index:1}
.youget__list{display:flex;flex-direction:column;gap:10px}
.youget__list li{display:flex;gap:20px;align-items:center;padding:0 6px;border-radius:10px}
.youget__list li div{display:flex;flex-direction:column;gap:6px}
.youget__list b{font-weight:600;font-size:16px;color:var(--main2)}
.youget__list span{font-size:14px;color:var(--main)}
.youget__gift{background:#e8f4e2;min-height:68px}
.yg-ico{position:relative;width:54.5px;height:54.5px;flex-shrink:0;margin:6px 0}
.yg-ico>img{position:absolute;left:-15.41%;top:-8.07%;width:130.82%;height:130.82%;max-width:none}
.yg-ico--white{background:#fff;border-radius:50%;box-shadow:var(--shadow);overflow:hidden;display:flex;align-items:center;justify-content:center}
.yg-ico--white::before{content:"";position:absolute;width:67px;height:67px;left:-24px;top:-24px;border-radius:50%;background:#e8f4e2;opacity:.8}
.yg-ico--white>img{position:relative;left:auto;top:auto;width:30px;height:28px}
.program__leafs-blur{position:absolute;right:-26px;top:44px;width:136px;height:250px;filter:blur(20.3px);opacity:.3;transform:rotate(-7.98deg);z-index:2;pointer-events:none}
.program__leafs{position:absolute;right:-39px;top:24.5px;width:143.5px;height:263px;object-fit:cover;z-index:2;pointer-events:none}

/* LESSON 2 FORM */
.lesson2__wrap{position:relative}
.lesson2__box{position:relative;overflow:hidden;background:#e2f2d9;border-radius:10px;padding:20px 40px 40px 76px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.lesson2__gift{position:absolute;right:-136px;top:50%;transform:translateY(-50%);width:551px;height:551px;max-width:none;pointer-events:none}
.lesson2__left{width:583px;position:relative;z-index:1;display:flex;flex-direction:column}
.lesson2__left .h2{margin-bottom:20px}
.lesson2__lead{width:405px;margin-bottom:20px}
.lesson2__right{width:622px;display:flex;flex-direction:column;align-items:center;gap:71px;position:relative;z-index:1}
/* как в макете: надпись по центру над средней карточкой, стрелка ровно под ней (не повёрнута) */
.lesson2__quote{position:relative;width:263px;height:83px;text-align:center}
.lesson2__quote p{font-size:19.83px;transform:rotate(-7.95deg);margin-top:8px}
.lesson2__quote img{position:absolute;left:123.7px;top:74.3px;width:15.5px;height:52.8px}
.bonuses{display:flex;gap:20px;width:100%}
.bonus{flex:1;background:rgba(255,255,255,.8);border-radius:12px;box-shadow:var(--shadow);padding:14px 13px;display:flex;flex-direction:column;gap:19px}
.bonus h3{font-size:17px;font-weight:500;color:var(--main2);margin-bottom:-9px}
.bonus p{font-size:13px;color:var(--main)}
.bonus__plan{position:relative;width:80px;height:80px;border-radius:50%;overflow:hidden}
.bonus__plan img{position:absolute;inset:0;width:100%;height:100%}
.bonus__plan .c2{left:3px;top:3px;width:74px;height:74px}
.bonus__plan .c3{left:19.93px;top:19.92px;width:41.15px;height:41.15px;padding:3.4px}
.lesson2__leafs-blur{position:absolute;left:-25px;top:12px;width:197px;height:394px;filter:blur(2.75px);opacity:.42;transform:rotate(3.62deg);object-fit:contain;object-position:bottom;z-index:2;pointer-events:none}
.lesson2__leafs{position:absolute;left:13px;top:0;width:112.5px;height:394px;z-index:2;pointer-events:none}

/* forms */
.channels{display:flex;gap:20px;margin-bottom:20px}
.channel{display:flex;align-items:center;gap:10px;padding:20px 10px;width:182px;border-radius:10px;background:rgba(252,252,252,.8);box-shadow:var(--shadow);color:#59817b;font-size:16px;text-align:left;border:1.5px solid transparent;transition:border-color .2s,background .2s}
.channel:hover{background:#fff}
.channel[aria-checked=true]{border-color:#6aaa3f;background:#fff;color:var(--main2)}
.field{width:100%;max-width:586px;height:56px;margin:-8px 0 20px;padding:0 16px;border-radius:10px;border:1.5px solid #8fbab3;background:#fff;font:500 16px var(--sans);color:var(--main2);outline:none}
.field:focus{border-color:#6aaa3f;box-shadow:0 0 0 3px rgba(106,170,63,.15)}
.field.is-error{border-color:#cd6f6f}
.form-send{display:flex;align-items:center;gap:20px;margin-bottom:20px}
.agree{display:flex;gap:10px;align-items:flex-start;width:230px;font-size:14px;letter-spacing:.01em;color:var(--main);cursor:pointer}
.agree input{position:absolute;opacity:0;width:0;height:0}
.agree__box{width:20px;height:20px;flex-shrink:0;background:url(../img/6eac8.svg) center/contain no-repeat}
.agree input:checked+.agree__box{background-image:url(../img/check-on.svg)}
.agree input:focus-visible+.agree__box{outline:2px solid #6aaa3f;outline-offset:2px}
.agree a{text-decoration:underline}
.safe{display:flex;gap:10px;align-items:flex-start;font-size:14px;letter-spacing:.01em}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.form-msg{font-size:14px;color:#cd6f6f;margin:-8px 0 12px}

/* FOR */
.for{padding:40px 0 60px}
.for .h2{margin-bottom:20px}
.for__grid{display:flex;gap:20px;align-items:stretch}
.for__card{width:452px;flex-shrink:0;border-radius:10px;padding:20px;filter:drop-shadow(0 4px 4.2px rgba(89,139,131,.17));display:flex;flex-direction:column;gap:20px}
.for__card--a{background:linear-gradient(111.43deg,#dcf3e2 41.23%,#f2f8f3 93.3%)}
.for__card--b{background:linear-gradient(111.43deg,#eef6f6 41.23%,#f1f9f8 93.3%)}
.for__card h3{font-size:26px;font-weight:600;color:var(--main)}
.ticks{display:flex;flex-direction:column;gap:10px}
.ticks li{display:flex;gap:10px;align-items:flex-start;font-size:16px;color:var(--main)}
.ticks li::before{content:"";width:24px;height:24px;flex-shrink:0;background:url(../img/e0d35.svg) center/contain no-repeat}
.for__photo{flex:1;min-width:0;position:relative;border-radius:10px;overflow:hidden;background:#c9c9c9;min-height:245px}
.for__photo>img{position:absolute;left:-5px;top:-6px;width:calc(100% + 5px);height:calc(100% + 46px);object-fit:cover;max-width:none}
.for__quote{position:absolute;left:38px;top:42px;width:164px;font-size:16px;transform:rotate(-7.95deg)}
.for__sprout{position:absolute;left:43.8px;top:148px;width:65px;height:64px}
.for__sprout img{position:absolute;max-width:none}
.for__sprout .s1{left:0;top:19px;width:25px;height:32px}
.for__sprout .s2{left:22.5px;top:0;width:44px;height:64px;transform:scaleX(-1)}
.for__sprout .s3{left:9.3px;top:29.7px;width:15.3px;height:20.4px}

/* BANNERLINE */
.bannerline{position:relative;background:var(--main);height:112px;overflow:hidden}
.bannerline__inner{max-width:1512px;margin:0 auto;height:100%;display:flex;align-items:center;justify-content:center;gap:89px;padding:0 60px 0 167px;position:relative;z-index:1}
.bannerline__fruits{position:absolute;left:0;top:0;width:241px;height:112px}
.bannerline__text{display:flex;flex-direction:column;gap:6.4px;color:#fdf6e7;font-size:16.24px}
.bannerline__text b{font-weight:600}
.bannerline__text span{font-weight:400;width:393px}
.bannerline__cta{display:flex;flex-direction:column;align-items:center;gap:10px}
.bannerline__cta span{font:400 12.98px/1.208 var(--sans);color:#fff;width:220px;text-align:center}
.bannerline__safe{display:flex;align-items:center;gap:8.8px;color:#fff;font:400 14.08px/1.208 var(--sans);white-space:nowrap}
.bannerline__leafs-blur{position:absolute;right:-21px;bottom:-31px;width:128px;height:204px;object-fit:cover;opacity:.58;filter:blur(3.4px);pointer-events:none}
.bannerline__leafs{position:absolute;right:0;bottom:0;width:97px;height:155.5px;object-fit:cover;pointer-events:none}

/* REVIEWS */
.reviews{padding:40px 0 60px}
.reviews__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:56px}
.reviews__all{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--main2);letter-spacing:.01em}
.reviews__all:hover{color:#086038}
.reviews__grid{display:grid;grid-template-columns:repeat(4,328px);gap:40px}
.review{background:rgba(255,255,255,.8);border-radius:12px;box-shadow:var(--shadow);padding:14px 13px;min-height:230px;display:flex;flex-direction:column;gap:20px}
.review blockquote{font-size:17px;color:var(--main2);flex:1}
.review figcaption{display:flex;align-items:center;gap:10px;font-size:17px;color:var(--main)}
.review figcaption::before{content:"";width:18.5px;border-top:1px solid var(--main)}

/* FOOTER */
.footer{padding:40px 0}
.footer__top{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:13px;border-bottom:1px solid #c9d8d4}
.footer .logo{width:321px}
.footer .menu{padding-top:16px}
.socials{display:flex;gap:11.3px;padding-top:17px;width:80px;justify-content:center}
.socials a{transition:opacity .2s}.socials a:hover{opacity:.7}
.footer__contacts{width:255px;display:flex;flex-direction:column;gap:4px;text-align:right;padding-top:17px}
.footer__contacts a:first-child{font:400 14px var(--sans)}
.footer__contacts a:last-child{font-size:12px;letter-spacing:0}
.footer__bottom{display:flex;justify-content:center;gap:15px;padding-top:13px;font:400 14px/1.208 var(--sans)}
.footer__bottom a{padding-left:15px;border-left:1px solid var(--main)}

/* MODALS */
.modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto;overscroll-behavior:contain}
.modal__overlay{position:fixed;inset:0;background:rgba(2,53,52,.45);backdrop-filter:blur(3px)}
.pop{position:relative;width:581px;max-width:100%;margin:auto;background:#f0f8f2;border-radius:20px;padding:28px 20px 20px;display:flex;flex-direction:column;gap:20px;animation:popIn .3s ease}
@keyframes popIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
.pop--img{padding-top:169px;overflow:hidden}
.pop__dish{position:absolute;right:-4px;top:-69px;width:353px;height:336px;object-fit:cover;pointer-events:none}
.pop__hand{position:absolute;left:14px;top:30px;transform:rotate(-7.95deg)}
.pop__hand p{font:400 32px/1.208 var(--hand);color:var(--main)}
.pop__hand img{width:184px;margin:-2px 0 0 90px;transform:rotate(-6deg)}
.pop__hand--2 img{width:170px;margin-left:14px}
.pop--thanks{width:488px;padding:228px 27px 27px;gap:27px}
.pop__title{font:600 44px/.99 var(--serif);letter-spacing:-.01em;color:var(--main);margin-bottom:-7px}
.pop__sub{font-size:16px}
.pop__sub--lg{font-size:21.6px}
.channels--pop{flex-wrap:wrap;gap:11px;margin:0}
.channels--pop .channel{width:calc(50% - 5.5px);background:#fcfcfc}
.channels--pop .channel--wide{width:100%}
.lead-form--pop .field{margin:12px 0 0}
.form-send--pop{flex-wrap:wrap;margin:20px 0 0}
.btn-close{display:inline-flex;align-items:center;gap:5px;height:49px;padding:10px 16px;border-radius:100px;color:#cd6f6f;align-self:flex-start;border:1px solid transparent;transition:border-color .2s}
.btn-close:hover{border-color:#cd6f6f}
.pop--video{width:960px;padding:20px}
.video-box{aspect-ratio:16/9;background:#023534;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#cfe7df;text-align:center;padding:30px;overflow:hidden}
.video-box iframe,.video-box video{width:100%;height:100%;border:0}
.pop--text{width:760px;padding:40px}
.pop__text{max-height:60vh;overflow:auto;font-size:15px;line-height:1.5}
body.is-locked{overflow:hidden}

/* QUIZ */
.pop--quiz{width:auto;padding:0;background:none}
.quiz{background:#f0f8f2;border-radius:20px;padding:40px;width:541px;max-width:100%}
.quiz--wide{width:744px}
.quiz__title{font:600 37.6px/.99 var(--serif);letter-spacing:-.01em;color:var(--main);margin-bottom:13px}
.quiz__title span{display:block;color:var(--main2)}
.quiz__hint{font-size:16px;margin-bottom:40px}
.quiz__list{display:flex;flex-direction:column;gap:10px;margin-bottom:40px}
.q-item{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:10px 20px 10px 10px;background:#fff;border:1px solid #8fbab3;border-radius:14px;text-align:left;transition:border-color .2s,box-shadow .2s}
.q-item:hover{border-color:#2d5f57;box-shadow:var(--shadow)}
.q-item__l{display:flex;align-items:center;gap:20px;flex:1}
.q-item__t{font-size:16px;color:var(--main2)}
.q-item__r{width:19px;height:19px;flex-shrink:0;background:url(../img/71115.svg) center/contain no-repeat}
.q-item.is-on{border-color:var(--main);background:#f7fcf8}
.q-item.is-on .q-item__r{background-image:url(../img/radio-on.svg)}
.quiz--multi .q-item__r{background-image:url(../img/6eac8.svg)}
.quiz--multi .q-item.is-on .q-item__r{background-image:url(../img/check-on.svg)}
.quiz__ctrl{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.quiz__ctrl>div{display:flex;gap:10px}
.q-btn{height:49px;padding:10px 16px;border-radius:100px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;transition:background .2s,color .2s,border-color .2s,filter .2s}
.q-btn--close{border:1px solid #cd6f6f;color:#cd6f6f}
.q-btn--close:hover{background:#fdf1f1}
.q-btn--back{width:49px;padding:0;justify-content:center;border:1px solid var(--main2)}
.q-btn--back img{transform:rotate(180deg)}
.q-btn--back:hover{background:#7ea29c;border-color:#7ea29c}
.q-btn--skip{border:1px solid var(--main2);color:var(--main2)}
.q-btn--skip:hover{background:#7ea29c;border-color:#7ea29c;color:#fff}
.q-btn--next{background:var(--grad);color:#fff}
.q-btn--next:hover{filter:brightness(1.08)}
.q-btn--next:disabled{background:#bababa;color:#ececec;cursor:not-allowed;filter:none}
.quiz .channels--pop .channel{width:100%}
.quiz .safe{margin-top:20px}
.quiz .form-send--pop{margin-top:20px}
.quiz__progress{height:4px;background:#d8ebdd;border-radius:4px;margin-bottom:24px;overflow:hidden}
.quiz__progress i{display:block;height:100%;background:var(--grad);transition:width .3s}

/* ===== RESPONSIVE ===== */
@media (max-width:1440px){
  .main-sec__quote{left:auto;right:60px}
  .changes__quote{left:auto;right:60px}
  .reviews__grid{grid-template-columns:repeat(4,1fr);gap:24px}
}
@media (max-width:1300px){
  .header .menu{gap:20px}
  .logo{width:auto}
  .btn--header{width:auto;font-size:17px}
  .slide1__content{left:auto;right:40px;width:600px}
  .slide1__content .h-hero,.slide1__content .p{width:auto}
  .slide1__bottom{width:100%}
  .feats{gap:24px}
  .main-sec__quote,.main-sec__leafs,.main-sec__leafs-blur{display:none}
  .main-sec__inner{padding-right:var(--pad);justify-content:space-between}
  .changes__grid{grid-template-columns:repeat(3,1fr)}
  .changes__quote{position:static;transform:rotate(-5deg);margin-left:auto}
  .program__right{width:52%}
  .lesson2__box{flex-direction:column;align-items:stretch;padding-left:220px}
  .lesson2__right{width:100%;gap:30px}
  .lesson2__quote{display:none}
  .for__card{width:auto;flex:1}
  .bannerline__inner{gap:40px;padding-left:260px}
}
@media (max-width:1100px){
  :root{--pad:30px}
  .header .menu{display:none}
  .burger{display:flex}
  .header.is-open .menu{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:#f2f8f3;border-bottom:1px solid #c9c9c9;padding:10px var(--pad) 20px}
  .header.is-open .menu a{padding:12px 0;border-bottom:1px solid #dfe9e5;font-size:18px}
  .header.is-open .burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .header.is-open .burger span:nth-child(2){opacity:0}
  .header.is-open .burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .header__inner{justify-content:flex-start}
  .header .btn--header{margin-left:auto}
  /* hero tablet: как в макете Tablet2 */
  .hero{height:auto}
  .hero__track{height:auto;align-items:stretch}
  .slide{height:auto;min-height:577px}
  .slide__content{position:relative;left:auto;top:auto;width:auto;padding:52px var(--pad) 40px}
  .slide__content > .btn{margin-top:30px;order:3}
  .slide__content .feats{order:4;flex-direction:column;align-items:flex-start;gap:16px;margin-top:40px}
  .slide__content .feats li br{display:none}
  .slide__content .feats li{width:auto!important;max-width:300px}
  .slide2__bg,.slide3__bg{right:0;width:48%;height:100%}
  .slide2__bg img{object-position:58% center}
  .slide--2 .slide__content,.slide--3 .slide__content{width:52%}
  .play--big{left:calc(50% - 40px)}
  /* слайд 1 на планшете: фото слева, текст справа, преимущества и «уже прошли» строкой ниже */
  .slide--1{display:grid;grid-template-columns:45% 1fr;column-gap:24px;align-content:start;padding-bottom:30px}
  .slide1__bg{position:relative;inset:auto;grid-column:1;grid-row:1/6;height:322px}
  .slide1__bg img{left:0;width:100%}
  .slide1__bg::after{display:none}
  .slide1__leafs{width:120px;height:170px}
  .slide1__content{display:contents}
  .slide1__content>*{grid-column:2;margin-right:var(--pad)}
  .slide1__content .label{margin-top:20px}
  .slide1__content .h-hero{font-size:40px;width:auto}
  .slide1__content > .btn{margin-top:24px;justify-self:start}
  .slide1__content .feats{grid-column:1/-1;flex-direction:row;gap:30px;margin:30px var(--pad) 0}
  .slide1__content .feats li br{display:inline}
  .slide1__bottom{grid-column:1/-1;width:auto;margin:30px var(--pad) 0}
  .hero__arrow{display:none}
  .hero__dots{position:static;transform:none;justify-content:center;padding:20px 0 30px}
  .main-sec__inner{flex-direction:column}
  .main-sec__text{width:100%}
  .video-frame{width:100%;height:auto;aspect-ratio:479/327}
  .adv__inner{flex-wrap:wrap;gap:16px}
  .adv__item{width:calc(50% - 8px)}
  .changes__head{flex-direction:column;align-items:flex-start}
  .changes__grid{grid-template-columns:repeat(2,1fr)}
  .program__inner{flex-direction:column}
  .program__right{width:100%}
  .program__leafs,.program__leafs-blur{right:-30px;top:-560px}
  .lesson2__box{padding:30px var(--pad)}
  .lesson2__leafs,.lesson2__leafs-blur{display:none}
  .lesson2__left{width:100%}
  .for__grid{flex-wrap:wrap}
  .for__card{flex:1 1 calc(50% - 10px)}
  .for__photo{flex:1 1 100%;min-height:320px}
  .bannerline{height:auto}
  .bannerline__inner{flex-wrap:wrap;gap:20px 40px;padding:26px var(--pad) 26px 220px;justify-content:flex-start}
  .reviews__grid{grid-template-columns:repeat(2,1fr)}
  .reviews__head{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:36px}
  .footer__top{flex-wrap:wrap;gap:24px}
  .footer .menu{padding-top:0}
}
@media (max-width:760px){
  :root{--pad:16px}
  html{scroll-padding-top:70px}
  .header__inner{height:68px}
  .logo__text b{font-size:15px}.logo__text span{font-size:12px}
  .header .btn--header{display:none}
  .h2{font-size:34px}
  .h-hero,.slide1__content .h-hero{font-size:34px}
  .slide{min-height:0}
  .slide--1,.slide--2,.slide--3{display:flex;flex-direction:column}
  .slide1__bg,.slide2__bg,.slide3__bg{position:relative;inset:auto;right:auto;width:100%;height:300px;order:2}
  .slide2__bg::before{display:none}
  .slide3__bg::after{display:none}
  .slide1__bg img{object-position:30% 20%}
  .slide1__content,.slide--2 .slide__content,.slide--3 .slide__content{position:relative;left:auto;right:auto;top:auto;width:auto;padding:28px var(--pad) 24px;order:1}
  .slide--1{grid-template-columns:1fr;padding-bottom:0}
  .slide1__bg{grid-column:1;grid-row:auto;order:10}
  .slide1__content>*{grid-column:1;margin-left:var(--pad);margin-right:var(--pad)}
  .slide1__content .label{margin-top:28px}
  .slide1__content .feats{flex-direction:column;gap:14px;margin-top:28px}
  .slide1__bottom{margin-bottom:24px}
  .slide1__content .feats li br,.slide__content .feats li br{display:none}
  .slide1__bottom{flex-direction:column;align-items:flex-start;gap:24px;margin-top:28px}
  .slide__content .p{width:auto}
  .slide__content > .btn{white-space:normal;height:auto;min-height:55px;padding:12px 20px;text-align:left}
  .slide1__leafs{display:none}
  .play--big{left:50%}
  .stats{gap:30px}
  .stats div+div::before{left:-15px}
  .main-sec__actions{flex-direction:column;align-items:flex-start}
  .adv__item{width:100%}
  .changes__grid{grid-template-columns:1fr}
  .change{height:auto}
  .changes__note{flex-direction:column;align-items:flex-start}
  .modules li{flex-wrap:wrap}
  .modules em{width:auto;margin-left:50px}
  .modules em br{display:none}
  .youget{gap:24px}
  .program__leafs,.program__leafs-blur{display:none}
  .channels{flex-direction:column;gap:10px}
  .channel{width:100%}
  .form-send{flex-direction:column;align-items:flex-start}
  .btn--submit{width:100%;white-space:normal}
  .lesson2__lead{width:auto}
  .lesson2__gift{display:none}
  .bonuses{flex-direction:column}
  .for__card{flex:1 1 100%}
  .bannerline__fruits{position:relative;width:200px;height:93px}
  .bannerline__inner{padding:0 var(--pad) 26px}
  .bannerline__text span{width:auto}
  .bannerline__leafs,.bannerline__leafs-blur{display:none}
  .reviews__grid{grid-template-columns:1fr}
  .footer__top{flex-direction:column;align-items:flex-start}
  .footer .menu{flex-wrap:wrap;gap:16px}
  .footer__contacts{text-align:left;padding-top:0}
  .socials{justify-content:flex-start;padding-top:0}
  .footer__bottom{flex-direction:column;align-items:flex-start;gap:8px}
  .footer__bottom a{border:0;padding:0}
  .pop{padding:24px 16px 16px}
  .pop--img{padding-top:150px}
  .pop__dish{width:250px;height:240px;top:-50px}
  .pop__hand p{font-size:26px}
  .pop__title{font-size:34px}
  .channels--pop .channel{width:100%}
  .quiz{padding:24px 16px}
  .quiz__title{font-size:28px}
  .quiz__hint{margin-bottom:24px}
  .quiz__list{margin-bottom:24px}
  .q-item__l{gap:14px}
  .q-item__t{font-size:15px}
  .quiz__ctrl .q-btn--skip{display:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media (max-width:1100px){.slide1__bottom{order:5}}
/* декоративные листья не должны давать горизонтальную прокрутку */
html,body{overflow-x:clip}
.program,.lesson2,.main-sec{overflow-x:clip}

/* широкие экраны: фото слайда 1 привязано к сетке 1512, слева мягкий переход в фон */
@media (min-width:1513px){
  .slide1__bg img{left:calc(var(--gut) - 161px);width:1349px;-webkit-mask-image:linear-gradient(to right,transparent,#000 160px);mask-image:linear-gradient(to right,transparent,#000 160px)}
  .slide1__bg::after{background:linear-gradient(-85.87deg,#e6eee6 calc(var(--gut) + 740px),rgba(242,249,243,0) calc(var(--gut) + 918px))}
}
@media (prefers-reduced-motion:reduce){.hero__dots button.is-active::after{transform:scaleX(1)}}

/* плавающая кнопка «Пройти квиз» (в макете — внизу слева поверх страницы) */
.quiz-fab{position:fixed;left:20px;bottom:20px;z-index:60;height:50px;padding:0 20px 0 16px;gap:10px;font-size:16px;box-shadow:0 6px 18px rgba(8,96,56,.35);opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .3s,transform .3s,filter .2s,box-shadow .2s}
.quiz-fab.is-shown{opacity:1;transform:none;pointer-events:auto}
.quiz-fab img{width:24px;height:24px}
body.is-locked .quiz-fab{opacity:0;pointer-events:none}
@media (max-width:760px){.quiz-fab{left:16px;bottom:16px;height:46px;font-size:15px}}

/* слайд 3 на планшете и телефоне: картинку с надписями масштабируем целиком (JS задаёт --s) */
@media (max-width:1100px){.slide3__bg{overflow:hidden}}
.hero__arrow.is-off{opacity:.4;cursor:default;pointer-events:none}
.art3>.art3__title{white-space:normal}
.art3>.art3__quote{left:640px;top:30px}
.art3>.art3__sign{left:748px;top:118px}
@media (max-width:1100px){.art3{left:0;right:auto;transform-origin:top left;transform:translateX(var(--tx,0)) scale(var(--s,1))}}
.agree>span:last-child{text-decoration:underline;text-underline-offset:2px}
.agree a{text-decoration:none}
/* шире 1512: ветки прижаты к краям экрана, как на 1512 в макете */
@media (min-width:1513px){
  .program,.lesson2{--gutw:max(0px,calc((100vw - 1512px) / 2))}
  .program__leafs{right:calc(-39px - var(--gutw))}
  .program__leafs-blur{right:calc(-26px - var(--gutw))}
  .lesson2__leafs{left:calc(13px - var(--gutw))}
  .lesson2__leafs-blur{left:calc(-25px - var(--gutw))}
}
@media (min-width:1513px){
  .main-sec{--gutw:max(0px,calc((100vw - 1512px) / 2))}
  .main-sec__leafs{right:calc(-6.6px - var(--gutw))}
  .main-sec__leafs-blur{right:calc(-22px - var(--gutw))}
}
/* «Пройти квиз» — точные параметры из макета (кадр 136:6621) */
.quiz-fab{height:63px;min-width:177px;padding:10px 16px;gap:10px;font-size:16px;border:1px solid #cdcdcd;box-shadow:7px 7px 57.2px 10px rgba(99,188,96,.53)}
.quiz-fab:hover{box-shadow:7px 7px 57.2px 14px rgba(99,188,96,.6);filter:brightness(1.06)}
@media (max-width:760px){.quiz-fab{height:52px;min-width:0;box-shadow:4px 4px 30px 4px rgba(99,188,96,.5)}}

/* ===== Доводка под макет 1512 (сверка 17.11) ===== */
.menu{letter-spacing:0}
/* блик сверху у зелёных кнопок (эллипс из компонента кнопки в макете) */
.btn--header::before,.q-btn--next::before,.quiz-fab::before{content:"";position:absolute;left:50%;top:calc(50% - 30px);width:180px;height:180px;transform:translate(-50%,-50%);background:url(../img/310b1.svg) center/contain no-repeat;pointer-events:none}
.q-btn--next{position:relative;overflow:hidden}
.quiz-fab{overflow:hidden}
.btn--header>*,.q-btn--next>*,.quiz-fab>*{position:relative}
.slide1__leafs{width:231.8px;height:243px;object-fit:cover;object-position:100% 0}
@media (min-width:1101px){
  .header__inner{gap:0}
  .header .logo{width:300px}
  .btn--header{margin-left:37px}
  .hero{height:576px}
  .main-sec__inner{padding-bottom:34px}
  .header__inner{height:82px}
  .main-sec__text .p{min-height:51px}
  .stats{gap:114px}
  .stats div:nth-child(1){width:60px}
  .stats div:nth-child(2){width:134.4px}
  .stats div:nth-child(3){width:95px}
  .stats div+div::before{left:-57px}
  .main-sec__quote{left:1089px;top:52px}
  .main-sec__leafs{top:-29px;object-fit:fill}
  .main-sec__leafs-blur{top:-37px;object-fit:fill}
  .changes{padding-bottom:78px}
  .changes__quote{width:245px}
}
@media (min-width:761px){
  .footer__top{align-items:center;min-height:63.8px}
  .footer .menu,.socials,.footer__contacts{padding-top:0}
}
@media (min-width:1101px){
  .header .menu{transform:translateX(-6px)}
  .slide1__bottom .quote--small{margin-bottom:-15px}
}
@media (max-width:1100px){.slide1__leafs{width:120px;height:126px}}

/* ===== Поля контактов (как в прототипе: каждое — сразу поле ввода) ===== */
.contacts{display:flex;gap:20px;margin-bottom:20px}
.contact{display:flex;align-items:center;gap:10px;height:63px;padding:0 10px;width:182px;border-radius:10px;background:rgba(252,252,252,.8);box-shadow:var(--shadow);border:1.5px solid transparent;cursor:text;transition:border-color .2s,background-color .2s}
.contact img{flex-shrink:0}
.contact input{flex:1;min-width:0;border:0;outline:0;background:none;padding:0;font:500 16px/1.208 var(--sans);letter-spacing:.02em;color:var(--main2)}
.contact input::placeholder{color:#59817b;opacity:1}
.contact:hover{background:#fff}
.contact:focus-within{border-color:#6aaa3f;background:#fff}
.contact.is-error{border-color:#cd6f6f}
.contacts--pop{flex-wrap:wrap;gap:11px;margin:0}
.contacts--pop .contact{width:calc(50% - 5.5px);background:#fcfcfc}
.contacts--pop .contact--wide{width:100%}
.contacts--col{flex-direction:column;gap:10px;margin:0}
.contacts--col .contact{width:100%}
.form-msg{margin:-8px 0 14px;font-size:14px;color:#cd6f6f}
.lead-form--pop .form-msg{margin:10px 0 0}
@media (max-width:760px){.contacts{flex-direction:column;gap:10px}.contact,.contacts--pop .contact{width:100%}}

/* ===== Квиз по прототипу ===== */
.q-item.is-on{border-color:var(--main);background:#e9f5e3}
.q-btn--back:disabled{opacity:.4;cursor:default;pointer-events:none}
.q-btn--close:hover,.btn-close:hover{background:#cd6f6f;border-color:#cd6f6f;color:#fff}
.q-btn--close:hover img,.btn-close:hover img{filter:brightness(0) invert(1)}
.quiz__progress{display:none}
/* квиз на телефоне: «Закрыть», «назад» и «Далее» в одну строку */
@media (max-width:760px){
  .quiz__ctrl{flex-wrap:nowrap;gap:8px}
  .quiz__ctrl .q-btn{height:46px;padding:0 12px;font-size:15px}
  .quiz__ctrl .q-btn--back{width:46px;padding:0}
  .quiz__ctrl .q-btn img{width:20px;height:20px}
  .q-item{padding:8px 14px 8px 8px;gap:12px}
}
@media (max-width:760px){
  .main-sec__text .p br,.ticks br,.change p br,.changes__lead br{display:none}
  .main-sec__text .p{min-height:0}
}
/* слайдер на планшете и телефоне: каждый слайд своей высоты, лента плавно подстраивается */
@media (max-width:1100px){
  .hero__track{align-items:flex-start;transition:transform .9s cubic-bezier(.65,0,.35,1),height .5s ease}
  .slide{min-height:0}
}
@media (max-width:760px){
  .art3>.art3__quote,.art3>.art3__sign,.art3>.art3__heart{display:none}
}
@media (max-width:1100px){.slide__content .p{width:auto}}
@media (max-width:1100px){.slide__content>.btn{white-space:normal;height:auto;min-height:55px;padding-top:10px;padding-bottom:10px;text-align:left;max-width:100%}}

/* ======================================================================
   Планшет (Tablet2, 834) и телефон (mob2, 393) — по макетам, сверка 17.11
   ====================================================================== */
.only-mob,.only-tab{display:none}
.mobbar{display:none}

@media (max-width:1100px){
  .only-tab{display:inline}
  .hide-tab{display:none}
  .footer .menu a.only-tab{display:inline}
  /* шапка: бургер перед кнопкой */
  .header .burger{order:2;margin-left:auto}
  .header .btn--header{order:3;margin-left:20px}
  /* «Здоровый кишечник»: текст на всю ширину, цифры по ширине, видео 464 + цитата справа */
  .main-sec__inner{display:block;position:relative;padding-bottom:40px}
  .main-sec__text .p br{display:none}
  .stats{justify-content:space-between;gap:0}
  .stats div+div::before{left:-50%}
  .stats div{flex:0 0 auto}
  .stats div:nth-child(2){position:relative}
  .video-frame{width:464px;max-width:58%;margin-top:30px}
  .main-sec__quote{display:flex;position:absolute;left:auto;right:150px;top:auto;bottom:150px;width:214px;font-size:18px}
  .main-sec__quote p{font-size:18px}
  .main-sec__leafs{display:block;right:-10px;top:auto;bottom:-20px;width:130px;height:320px;object-fit:fill}
  .main-sec__leafs-blur{display:none}
  /* преимущества 2×2, подпись в одну строку */
  .adv__item br{display:none}
  .adv__item{width:calc(50% - 8px)}
  /* «Изменения»: цитата в свободной ячейке рядом с 5-й карточкой */
  .changes .container{position:relative}
  .changes__note{position:static}
  .changes__quote{position:absolute;right:70px;bottom:180px;left:auto;top:auto;margin:0;width:245px;transform:rotate(-7.95deg)}
  /* «Второй урок»: ветка слева, «Бонусы уже ждут вас!» над третьей карточкой */
  .lesson2__leafs{display:block;left:-8px;top:40px;height:300px;width:86px}
  .lesson2__leafs-blur{display:none}
  .lesson2__right{position:relative;padding-top:70px}
  .lesson2__quote{display:block;position:absolute;right:30px;top:-20px;width:150px;height:90px}
  .lesson2__quote img{left:60px;top:46px}
  /* баннер: фрукты слева, справа кнопка + подпись, гарантия, заголовок */
  .bannerline__inner{flex-direction:column;align-items:flex-start;gap:12px;padding:20px var(--pad) 20px 260px}
  .bannerline__cta{flex-direction:row;gap:14px;order:1}
  .bannerline__cta span{width:auto;text-align:left}
  .bannerline__safe{order:2;font-size:12px}
  .bannerline__text{order:3;font-size:13px}
  .bannerline__fruits{top:50%;transform:translateY(-50%);width:240px;height:auto}
}

@media (max-width:760px){
  .only-mob{display:inline}
  .hide-mob{display:none}
  /* слайдер: фото сверху, потом текст; на 1-м слайде две выгоды, без «Уже прошли тест» */
  .slide1__bg{order:-1;height:200px}
  .slide1__bg img{object-position:50% 15%}
  .slide2__bg,.slide3__bg{order:-1;height:220px}
  .slide1__content .feats li:nth-child(2),.slide1__bottom{display:none}
  .slide1__btn{width:auto!important;align-self:flex-start;min-height:48px;padding:10px 20px;font-size:18px}
  /* блок «Здоровый кишечник» на телефоне в макете отсутствует */
  .main-sec{display:none}
  /* преимущества: сетка 2×2, иконка над подписью */
  .adv__inner{display:grid;grid-template-columns:1fr 1fr;gap:20px 10px;padding-top:24px;padding-bottom:24px}
  .adv__item{width:auto;flex-direction:column;text-align:center;gap:10px;font-size:13px}
  .adv__item br{display:inline}
  /* итог «Изменений»: иконка слева, текст справа; цитата по центру ниже */
  .changes__note{flex-direction:row;align-items:center;flex-wrap:wrap}
  .changes__note p{flex:1;min-width:0;font-size:13px}
  .changes__quote{position:static;transform:rotate(-7.95deg);margin:28px auto 0;width:240px}
  /* «Второй урок»: поля → «данные в безопасности» → кнопка → согласие → «Бонусы уже ждут вас!» → бонусы */
  .lead-form{display:flex;flex-direction:column}
  .lead-form .contacts{order:1}
  .lead-form .form-msg{order:2}
  .lead-form .safe{order:3;margin-bottom:16px}
  .lead-form .form-send{order:4}
  .lesson2__leafs{display:block;left:-6px;top:-24px;width:56px;height:196px}
  .lesson2__right{padding-top:0;gap:16px}
  .lesson2__quote{display:block;position:relative;right:auto;top:auto;margin:10px auto 70px;width:160px}
  .lesson2__quote img{left:68px;top:60px}
  /* баннер: крупные фрукты сверху, кнопка, подпись, гарантия между линиями, текст внизу */
  .bannerline__fruits{position:relative;top:auto;transform:none;width:290px;height:auto;display:block}
  .bannerline__leafs{display:block;width:80px;height:128px;top:60px;bottom:auto}
  .bannerline__inner{padding:6px var(--pad) 24px;gap:12px}
  .bannerline__cta{flex-direction:column;align-items:flex-start;gap:12px}
  .bannerline__safe{width:100%;padding:12px 0;border-top:1px solid rgba(255,255,255,.2);border-bottom:1px solid rgba(255,255,255,.2)}
  /* футер по центру, меню столбиком */
  .footer__top{align-items:center;text-align:center;gap:22px}
  .footer .logo{width:auto}
  .footer .menu{flex-direction:column;align-items:center;gap:20px}
  .socials{justify-content:center;width:auto}
  .footer__contacts{text-align:center;align-items:center}
  .footer__bottom{align-items:center;text-align:center}
  .footer__bottom a{text-decoration:underline}
}
/* цитата «Маленькие шаги…» вынесена из плашки: на десктопе позиция та же, что внутри плашки */
@media (min-width:1101px){.changes__quote{left:1080px;top:auto;bottom:-62px}}
@media (max-width:760px){
  .lesson2__box{padding:20px 20px 30px}
  .lesson2__left .label,.lesson2__left>.h2{margin-left:30px}
  .lesson2__leafs{left:-10px;top:-18px;width:58px;height:200px}
  .bannerline__safe{font-size:10px}
  .bannerline__safe br,.reviews__head .h2 br{display:none}
}
@media (max-width:1100px) and (min-width:761px){
  .lesson2__box{padding-left:90px}
  .lesson2__leafs{left:-4px;top:30px;width:90px;height:310px}
  .changes__quote{width:270px;bottom:330px;right:90px}
  .program__right{position:static}
  .program__inner{position:relative}
  .program__leafs{display:block;right:-20px;top:-10px;width:110px;height:200px}
  .program__leafs-blur{display:none}
  .ticks br,.bannerline__safe br{display:none}
  .bannerline__safe{font-size:10px}
  .footer__top{display:grid;grid-template-columns:auto 1fr;gap:14px 20px;align-items:center}
  .footer .menu{justify-self:end;gap:24px}
  .socials{justify-content:flex-start;width:auto}
  .footer__contacts{justify-self:end}
}
.changes__quote{width:auto}
.changes__quote p{white-space:nowrap}
.changes__quote img{margin-left:166px}
@media (min-width:1101px){.changes__quote{left:1122px;bottom:-60px}}
@media (max-width:760px){
  .slide1__btn{width:258px!important;height:48px;min-height:48px;justify-content:center;font-size:20px;padding:0 20px}
  .changes__quote{width:max-content}
}
@media (min-width:1101px) and (max-width:1300px){.changes__quote{position:absolute;left:auto;right:70px;bottom:-60px;margin:0}}
@media (max-width:760px){
  .pop--img:not(.pop--thanks) .pop__hand p{font-size:24px;max-width:150px;line-height:1.15}
  .pop--img:not(.pop--thanks) .pop__hand img{width:120px;margin:4px 0 0 20px}
  .pop__dish{width:230px;height:220px;right:-14px;top:-40px}
}

/* 1920+: фото слайда 1 не растягиваем по ширине (иначе режется голова), правый край как на 1512, левый уходит в фон */
@media (min-width:1513px){
  .slide1__bg img{left:auto;right:calc(100% - var(--gut) - 1188px);width:min(calc(var(--gut) + 1188px),1349px);object-position:100% 0;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 140px);mask-image:linear-gradient(90deg,transparent 0,#000 140px)}
}

/* слайд 3: картинка art3 выступает на 1px влево — обрезаем по рамке */
.slide3__bg{overflow:hidden}

/* 1101–1511: фото слайдов 2 и 3 не заходят под текст — кадр справа от текста, как на планшете */
@media (min-width:1101px) and (max-width:1511px){
  .slide2__bg,.slide3__bg{right:0;width:calc(100% - 700px)}
  .slide2__bg img{object-position:50% center}
  .play--big{left:calc(50% - 40px)}
  .art3{left:0;right:auto;transform-origin:top left;transform:translateX(var(--tx,0)) scale(var(--s,1))}
}
@media (min-width:1101px) and (max-width:1511px){.art3>.art3__quote,.art3>.art3__sign,.art3>.art3__heart{display:none}}

/* 1301–1439: цитаты держат отступ от правого края как на 1440 (на 1366 заходили под ветки и за край) */
@media (min-width:1301px) and (max-width:1439px){
  .main-sec__quote{width:214px;z-index:2;left:min(1089px,calc(100vw - 236px))}
  .main-sec__quote p{font-size:18px}
  .main-sec__leafs{width:130px;height:320px;top:auto;bottom:0}
  .main-sec__leafs-blur{display:none}
  .changes__quote{position:absolute;left:auto;right:70px;bottom:-60px;margin:0}
}

/* 1101–1300: слайд 1 — ветки меньше и текст левее, чтобы ветки не ложились на заголовок; «Изменения» — нижний ряд по центру */
@media (min-width:1101px) and (max-width:1300px){
  .slide1__content{right:clamp(40px,calc(100vw - 1180px),100px)}
  .slide1__content .p{max-width:520px}
  .slide1__leafs{width:clamp(115px,calc(100vw - 1130px),150px);height:170px}
  .changes__grid{grid-template-columns:repeat(6,1fr)}
  .changes__grid>*{grid-column:span 2}
  .changes__grid>:nth-child(4){grid-column:2/span 2}
}

/* планшет 761–1100: цитата «Маленькие шаги» — в пустую клетку справа от 5-й карточки (наезжала на «8 из 10»); плашка слайда 1 по ширине текста */
@media (min-width:761px) and (max-width:1100px){
  .changes__quote{bottom:188px;right:calc(25% - 120px)}
  .slide1__content .label{justify-self:start}
  .slide1__leafs{width:80px;height:88px;z-index:0}
  .footer .menu{gap:clamp(10px,calc(2.2vw - 6px),24px)}
  .footer .menu a{white-space:nowrap}
  .footer__contacts{width:auto}
  .slide1__content>*{position:relative;z-index:1}
}

/* планшет и телефон (≤1100): вместо плавающей «Пройти квиз» — нижняя панель «Квиз / Записаться» (на планшете кнопка закрывала контент) */
@media (max-width:1100px){
  .quiz-fab{display:none}
  /* нижняя панель «Квиз / Записаться» из макета */
  .mobbar{display:flex;position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:60;width:335px;max-width:calc(100% - 24px);height:78px;padding:0 20px;gap:16px;align-items:center;border-radius:900px;border:1px solid #c9c9c9;background:linear-gradient(to bottom,rgba(242,248,243,.33),#f2f8f3);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
  body.is-locked .mobbar{display:none}
  .mobbar button{height:49px;border-radius:100px;display:flex;align-items:center;justify-content:center;gap:10px;font:500 16px/1 var(--sans);letter-spacing:.02em}
  .mobbar__quiz{flex:0 0 115px;background:rgba(197,243,178,.56);border:1px solid #9bbc87;color:var(--main)}
  .mobbar__zapis{flex:1;background:var(--grad);color:#fff;position:relative;overflow:hidden}
  .mobbar__zapis::before{content:"";position:absolute;left:50%;top:calc(50% - 30px);width:180px;height:180px;transform:translate(-50%,-50%);background:url(../img/310b1.svg) center/contain no-repeat}
  .mobbar__zapis span,.mobbar__zapis img{position:relative}
  footer.footer{padding-bottom:110px}
}

/* телефон: текст «В подарок» не прилипает к краю зелёной плашки, пункты «Что вы получите» не слипаются */
@media (max-width:760px){.youget__list li.youget__gift{padding:12px 6px}.youget__list{gap:16px}}

/* мобильное меню по макету mob2: карточка «Меню:» с кнопками «Пройти тест» и «Закрыть» */
.menu__title,.menu__btns{display:none}
@media (max-width:1100px){
  .header.is-open .menu{position:fixed;top:84px;left:50%;right:auto;transform:translateX(-50%);z-index:70;width:317px;max-width:calc(100% - 32px);max-height:calc(100dvh - 100px);overflow:auto;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:40px;border:0;border-radius:20px;background:#f0f8f2;box-shadow:0 0 0 100vmax rgba(18,40,32,.35),0 20px 50px rgba(8,60,40,.18)}
  .header.is-open .menu a{padding:0;border:0;font:500 20px/1.21 var(--sans);color:var(--main)}
  .header.is-open .menu a.only-tab{display:block}
  .header.is-open .menu__title{display:block;margin:0 0 28px;font:600 37.8px/.99 var(--serif);letter-spacing:-.01em;color:var(--main)}
  .header.is-open .menu__btns{display:flex;flex-direction:column;gap:10px;margin-top:28px}
  .menu__btns .btn,.menu__btns .q-btn{width:100%;height:49px;justify-content:center;font-size:16px}
  body:has(.header.is-open) .mobbar{display:none}
}

/* планшет 761–1100 по макету Tablet2 */
@media (min-width:761px) and (max-width:1100px){
  .changes__title,.slide--3 .h-hero{text-wrap:wrap}
  .slide1__btn{width:262px!important;height:48px;justify-content:center;font-size:20px}
  /* слайд 2: фото шире, лицо целиком (было обрезано пополам) */
  .slide2__bg{width:66%}
  .slide2__bg img{object-position:15% center}
  .slide--2 .play--big{left:calc(55% - 30px)}
  /* слайд 3: текст шире — заголовок в 2 строки, кнопка в одну */
  .slide--3 .slide__content{width:66%}
  .slide--3 .slide__content>.btn{white-space:nowrap}
}
/* планшет: текст слайдов 2–3 поверх фото, фото плавно уходит в фон под текстом */
@media (min-width:761px) and (max-width:1100px){
  .slide--2 .slide__content,.slide--3 .slide__content{position:relative;z-index:3}
  .slide2__bg::before{background:linear-gradient(90deg,#fbfaf6 0,#fbfaf6 22%,rgba(251,250,246,0) 48%)}
  .slide--3 .slide__content{width:72%}
  .slide3__bg::after{background:linear-gradient(90deg,#fbfaf5 0,#fbfaf5 12%,rgba(251,250,245,0) 40%)}
}
/* телефон: квиз на 90% ширины экрана */
@media (max-width:760px){
  #modal-quiz{padding-left:0;padding-right:0}
  .pop--quiz{width:90%;padding:0}
  .pop--quiz .quiz{width:100%}
}
/* телефон: попапы по макету mob2 — компактная «Отправить», во «Втором уроке» Telegram/WhatsApp в ряд, текст «Спасибо» мельче */
@media (max-width:760px){
  .lead-form--pop .btn--submit{width:auto!important;flex:0 0 auto;align-self:flex-start;height:49px;min-height:49px;padding:0 24px}
  .lead-form--pop .form-send--pop{flex-direction:column;align-items:flex-start}
  #modal-lesson2 .contacts--pop{flex-direction:row;flex-wrap:wrap;gap:10px}
  #modal-lesson2 .contacts--pop .contact{width:calc(50% - 5px)}
  #modal-lesson2 .contacts--pop .contact--wide{width:100%}
  .pop--thanks .pop__sub--lg{font-size:16px}
}
/* телефон по макету mob2 */
@media (max-width:760px){
  .slide--1{background:#e6eee6}
  .slide1__content .label{margin-top:-12px;position:relative;z-index:2}
  .score-box{width:100%;justify-content:center}
  .footer .socials{width:100%;justify-content:center;border-top:1px solid #c9d8d4;padding-top:22px}
}

/* десктоп: строка модуля 78px как в макете (было 80) */
@media (min-width:1101px){.modules li{padding:19px 0}.modules li:first-child{padding-top:0}.modules li:last-child{padding-bottom:0}}

/* телефон: слайдер по макету mob2 */
@media (max-width:760px){
  :root{--pad:20px}
  .slide2__bg{height:260px}
  .slide3__bg{height:240px}
  .slide--2 .play--big{left:50%;top:58%;transform:translate(-50%,-50%)}
  .slide--2 .slide__content,.slide--3 .slide__content{padding-top:0}
  .slide--2 .slide__content .label,.slide--3 .slide__content .label{margin-top:-12px;position:relative;z-index:2}
  .slide--3 .h-hero br{display:none}
  .slide--3 .h-hero{text-wrap:wrap}
  /* кнопка и пункты ближе к тексту */
  .slide__content>.btn,.slide1__content>.btn{margin-top:18px}
  .slide__content .feats,.slide1__content .feats{margin-top:20px}
  .slide--2 .slide__content>.btn{width:326px;max-width:100%;justify-content:center}
  /* переносы в пунктах как в макете */
  .slide__content .feats li br.m{display:inline}
  /* слайд 1: три пункта, «Персональные рекомендации» третьим */
  .slide1__content .feats li:nth-child(2){display:flex;order:3}
}
@media (max-width:760px){.slide1__content .feats li{width:auto!important;max-width:none}.slide1__content .feats li br{display:none}}

/* планшет 761–1100: слайдер по макету Tablet2 (slider-track) */
@media (min-width:761px) and (max-width:1100px){
  .hero .slide{min-height:577px}
  .slide--1{background:#e6eee6}
  .slide1__content .p{margin-right:20px}
  .slide1__leafs{width:96px;height:130px}
  .slide1__bottom .quote--small{transform:rotate(-7.95deg) scale(1.4);transform-origin:right bottom;margin-right:20px}
  .slide__content .feats li br.m:not(.only-mob){display:inline}
  .slide--2 .play--big{left:calc(51% - 30px);top:62%}
  .slide3__bg{width:44%}
}
@media (min-width:761px) and (max-width:1100px){.slide3__bg::after{background:linear-gradient(90deg,#fbfaf5 0,#fbfaf5 5%,rgba(251,250,245,0) 24%)}.slide--3 .slide__content .p{max-width:calc(56vw + 10px)}}

/* десктоп: текст слайдов поверх фото (на 1512 фото слайда 2 закрывало «Поддержка устойчивых привычек») */
.slide__content{z-index:2}
@media (min-width:1512px){
  .slide--2 .play--big{left:327px}
  .art3>.art3__quote{top:34px}
  .art3>.art3__sign{top:126px}
  .art3>.art3__heart{top:150px}
}

/* планшет по макету Tablet2: поля 40px, фото «Для кого» 245px, фрукты в баннере на всю высоту, цитата крупнее */
@media (min-width:761px) and (max-width:1100px){
  :root{--pad:40px}
  .for__photo{min-height:245px}
  .bannerline__fruits{top:0;bottom:0;transform:none;height:100%;width:240px;object-fit:cover;object-position:right center}
  .main-sec__quote{width:266px;right:90px}
  .main-sec__quote p{font-size:22.95px}
}
@media (min-width:761px) and (max-width:1100px){.video-frame{max-width:62%}}
@media (min-width:761px) and (max-width:1100px){.main-sec__quote{width:240px;right:60px}.main-sec__quote p{font-size:21px}}
@media (min-width:761px) and (max-width:810px){.main-sec__quote{width:216px;right:50px}.main-sec__quote p{font-size:18.5px}}

/* телефон по mob2: фото «Для кого» 245px, ровные отступы в модулях */
@media (max-width:760px){.for__photo{min-height:245px}.for{padding-bottom:20px}.modules div{gap:8px}.modules li{row-gap:10px}.modules em{margin-top:0}}

/* десктоп pixel perfect: подпись цитаты справа, нижний отступ подвала */
@media (min-width:1101px){.main-sec__quote span{text-align:right;padding-right:24px}.footer{padding-bottom:25px}}
@media (min-width:1101px){.program__left .p{margin-bottom:33px}.changes__quote{bottom:-50px}}
@media (min-width:1101px) and (max-width:1400px){.bannerline__inner{padding-left:225px;padding-right:20px;gap:26px}}
@media (min-width:1101px) and (max-width:1340px){.bannerline__leafs,.bannerline__leafs-blur{display:none}}

/* телефон: крупнее зона нажатия без изменения вида — точки слайдера, меню в подвале, «Все отзывы» */
@media (max-width:1100px){.hero__dots{padding:6px 0 16px}.hero__dots button{height:36px;border:14px solid transparent;border-left:0;border-right:0;background-clip:padding-box;box-sizing:border-box}.hero__dots button::after{border-radius:900px}.footer .menu a,.reviews__all{padding:10px 0;margin:-10px 0}}

/* ===== Программа v2 (макет 23.11): 10 модулей + «Что вы получите» с номерами ===== */
.program--v2{padding-bottom:40px}
.program--v2 .program__head{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:40px}
.program--v2 .program__head .h2{margin:10px 0 20px}
.program--v2 .program__lead{max-width:545px;margin:0}
.program__cols{display:flex;gap:20px;align-items:stretch}
.program--v2 .modules{flex:1;min-width:0;padding:20px;gap:0}
.program--v2 .modules li{align-items:center;padding:20px 0;border-top:1px solid #d6e2df;gap:20px}
.program--v2 .modules li:first-child{border-top:0;padding-top:0}
.program--v2 .modules li:last-child{padding-bottom:0}
.program--v2 .modules .num{width:30px;height:30px;font-size:16px}
.program--v2 .modules em{width:96px;text-align:right}
.program--v2 .youget{width:566px;flex-shrink:0;padding:20px;gap:40px;justify-content:flex-start}
.youget__head{display:flex;flex-direction:column;align-items:flex-start}
.youget__list--num{flex:1;justify-content:space-between;gap:14px}
.youget__list--num li{padding:0 6px;gap:20px}
.yg-num{position:relative;flex-shrink:0;width:54.5px;height:54.5px;margin:6px 0;border-radius:10px;background:#fff;box-shadow:var(--shadow);overflow:hidden;display:flex;align-items:center;justify-content:center;font:600 24px/1.208 var(--sans);letter-spacing:.1em;color:var(--main);text-indent:.1em}
.yg-num::before{content:"";position:absolute;width:67.3px;height:67.3px;left:50%;top:-33.9px;transform:translateX(-50%);border-radius:50%;background:#e8fbf2}
.yg-num{isolation:isolate}.yg-num::before{z-index:-1}
.youget__final{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:10px;border-radius:10px;background:#2d5f57;border:1px solid rgba(234,255,221,.78)}
.youget__final b{font:500 16px/1.208 var(--sans);letter-spacing:.02em;color:#fff}
.youget__final span:last-child{font:500 14px/1.208 var(--sans);letter-spacing:.01em;color:#fdf6e7}
@media (max-width:1100px){
  .program__cols{flex-direction:column}
  .program--v2 .youget{width:100%;gap:30px}
  .program--v2 .youget .h2 br{display:none}
}
@media (max-width:760px){
  .program--v2 .program__head{margin-bottom:30px}
  .program--v2 .modules{padding:20px 16px}
  .program--v2 .modules li{flex-wrap:wrap;align-items:flex-start;row-gap:12px;padding:20px 0}
  .program--v2 .modules li>div{gap:10px}
  .program--v2 .modules li>div{flex:1 1 calc(100% - 50px)}
  .program--v2 .modules em{width:auto;flex-basis:100%;text-align:left;padding-left:50px;margin:0}
  .program--v2 .youget{padding:20px 16px;gap:24px}
  .program--v2 .youget .h2 br{display:none}
  .youget__list--num li{gap:14px;padding:0}
}
.youget__list .yg-num{font-size:24px;color:var(--main)}
@media (max-width:760px){.program--v2 .youget .h2{font-size:31px;text-wrap:wrap}}
/* планшет 761–1100: отступы «Программы» по макету Tablet2 */
@media (min-width:761px) and (max-width:1100px){.program--v2{padding-top:16px}.program--v2 .program__head{margin-bottom:46px}.program--v2 .youget{gap:40px}.youget__list--num{gap:21px}}
/* линия между модулями не занимает места — как в Figma (карточка 760px) */
.program--v2 .modules li{border-top:0}.program--v2 .modules li+li{box-shadow:inset 0 1px 0 #d6e2df}
@media (min-width:1101px){.program--v2{padding-bottom:75px}}
/* планшет: блок с видео и «Изменения» — по макету 834 */
@media (min-width:761px) and (max-width:1100px){
  .main-sec .container{padding-bottom:61px}
  .video-frame{aspect-ratio:465/327}
  .main-sec__leafs{width:175px;height:335px;right:-12px;bottom:22px}
  .changes__head{gap:40px}
}
@media (min-width:761px) and (max-width:1100px){.main-sec__quote{right:82px;bottom:238px;width:262px}.main-sec__quote p{font-size:22.5px}}
@media (min-width:761px) and (max-width:810px){.main-sec__quote{right:50px;bottom:230px;width:216px}.main-sec__quote p{font-size:18.5px}}
/* планшет: бонусы на всю ширину плашки, подпись «Бонусы уже ждут вас!» над третьей карточкой; отступы в отзывах — по макету 834 */
@media (min-width:761px) and (max-width:1100px){
  .lesson2__box{padding-top:20px;padding-right:20px;padding-bottom:40px}
  .lesson2__left .contact{flex:1;width:auto;min-width:0}
  .lesson2__right{padding-top:18px;margin:0 0 0 -70px;width:calc(100% + 70px)}
  .lesson2__quote{top:-65px;right:-14px}
  .lesson2__quote img{top:62px}
  .reviews__head{gap:39px;margin-bottom:57px}
}
@media (min-width:761px) and (max-width:810px){.lesson2__quote{top:-88px;right:-30px}}
/* телефон: преимущества и «Изменения» — по макету 393 */
@media (max-width:760px){
  .adv__inner{row-gap:10px;padding-top:22px;padding-bottom:17px}
  .changes{padding-top:21px}
  .changes__head{gap:40px}
}
/* телефон: форма второго урока и бонусы — по макету 393 */
@media (max-width:760px){
  .lesson2__box{padding-bottom:40px}
  .lesson2 .contacts{gap:20px}
  .lesson2 .btn--submit{height:auto;min-height:78px}
  .lesson2 .form-send{margin-bottom:0}
  .lesson2__quote{margin-top:5px;margin-bottom:25px}
}
/* телефон: фото «Для кого», отзывы, подвал — по макету 393 */
@media (max-width:760px){
  .for__quote{left:13px;top:20px}
  .for__sprout{left:22px;top:126px}
  .reviews{padding-bottom:20px}
  .reviews__head{gap:40px}
  .reviews__grid{gap:20px}
  .footer{padding-top:27px}
  .footer .menu{margin-top:12px}
  .footer .socials{margin-top:5px;padding-top:26px}
  .footer__contacts{margin-top:3px}
  .footer__top{padding-bottom:25px}
  .footer__bottom{padding-top:30px}
}
/* телефон: баннер — фрукты крупнее, ветка внизу справа; подпись над бонусами выше */
@media (max-width:760px){
  .lesson2__quote{margin-top:-10px}
  .bannerline__fruits{width:354px;max-width:none;margin:-6px 0 5px -10px}
  .for{padding-top:25px}
  .bannerline__inner{padding-bottom:14px}
  .bannerline__leafs{width:95px;height:152px;top:auto;bottom:70px;right:-8px}
  .reviews__head{margin-bottom:40px}
}
/* телефон: шапка 83 px как в макете, бургер 33×3, крупнее подпись; первый слайд — отступ под меткой, кнопка 48 */
@media (max-width:760px){
  html{scroll-padding-top:85px}
  .header__inner{height:83px}
  .logo__text b{font-size:16px}.logo__text span{font-size:14px}
  .burger{width:46px;padding:10px 13px 10px 0;gap:4px}
  .burger span{height:3px}
  .header.is-open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .header.is-open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .header.is-open .menu{top:99px;max-height:calc(100dvh - 115px)}
  .slide1__content .h-hero{margin-top:10px}
  .slide__content>.slide1__btn{height:48px;min-height:48px;padding:0 20px;margin-top:20px}
}
@media (max-width:760px){.slide1__content .feats{gap:12px}}
@media (max-width:760px){.hero__dots{padding-bottom:8px}}
/* 1101–1511: фото слайда 2 — рамка как на 1512 (от 597 px), кадр смещается так, чтобы эксперт был целиком и по центру; кнопка видео едет вместе с кадром */
@media (min-width:1101px) and (max-width:1511px){
  .slide2__bg{width:calc(100% - 597px)}
  .slide2__bg>img{object-position:min(0px, calc(50vw - 698px)) center}
  .slide--2 .play--big{left:calc(min(0px, 50vw - 698px) + 327px)}
}
/* 1101–1511: фото слайда 3 — рамка как на 1512 (от 626 px), чтобы плечо эксперта не срезалось краем */
@media (min-width:1101px) and (max-width:1511px){
  .slide3__bg{width:calc(100% - 626px)}
}
/* планшет, слайд 2: фото эксперта по макету 834 (масштаб 0.678, рамка 434 px справа) */
@media (min-width:761px) and (max-width:1100px){
  .slide2__bg{left:auto;right:0;width:434px;height:577px;overflow:hidden}
  .slide2__bg>img{position:absolute;left:-162px;top:1px;width:1188px;height:575px;max-width:none;object-fit:fill}
  .slide2__bg::before{background:linear-gradient(90deg,#fbfaf6 0,rgba(251,250,246,0) 30%)}
}
/* планшет, слайд 3: как в макете Tablet2 — эксперт справа, книги перед ним (вторым слоем той же картинки) */
.art3--books{display:none}
@media (min-width:761px) and (max-width:1100px){
  .slide3__bg{left:auto;right:0;width:434px;height:577px;overflow:hidden}
  .slide3__bg .art3{transform-origin:top left;transform:translate(-24.95px,-26.87px) scale(1.1683)}
  .slide3__bg .art3--books{display:block;transform:translate(-221.24px,149.81px) scale(.839);clip-path:polygon(404px 141px,651px 146px,649px 185px,793px 206px,800px 250px,845px 262px,845px 490px,404px 490px)}
  .slide3__bg::after{background:linear-gradient(90deg,#fbfaf5 0,rgba(251,250,245,0) 20%)}
}
/* планшет: текст слайдов по макету 834 — кнопки 48, слайд 1 шире и крупнее, у слайда 2 подзаголовок шире */
@media (min-width:761px) and (max-width:1100px){
  .slide__content>.btn{height:48px;min-height:48px;padding-top:0;padding-bottom:0}
  .slide--1{grid-template-columns:44.6% 1fr;column-gap:0}
  .slide1__content>*{margin-right:12px}
  .slide1__content .h-hero{font-size:45.6px;line-height:45.144px}
  .slide1__content>.btn{margin-top:31px}
  .slide--2 .slide__content .p{max-width:400px;width:400px}
}
@media (min-width:761px) and (max-width:1100px){
  .slide1__content .p{margin-right:12px;width:auto;max-width:none}
  .slide1__bottom{margin-top:36px}
  .slide1__bottom .quote--small{position:relative;left:-50px;top:20px}
  .slide--2 .slide__content .feats{margin-top:34px}
  .slide--3 .slide__content{padding-top:58px}
  .slide--3 .slide__content>.btn{height:54px;min-height:54px}
  .slide--3 .slide__content .feats{margin-top:32px}
}
