/* Страницы курсов — повторяют оформление страниц olga-gelman.ru на Тильде (lok, alhimiya_gipnoza, pers, tge_test, club).
   Подключается только на страницах курсов (build.py → page(..., css="tilda")). Картинки — /img/t/<id Тильды>.webp|svg, обложки видео — /img/v/<id>.webp */
.tk,.tpop,.tvdlg{--tbg:#101114;--peach:linear-gradient(180deg,#fff 0%,#da9645 100%);--peach-up:linear-gradient(0deg,#fff 0%,#da9645 100%);--cream:#ffe2b4;--copper:#da9645;--brown:#99521c;
  --tserif:Georgia,"Times New Roman",serif;--tsans:Montserrat,"Segoe UI",Arial,sans-serif}
.tk{background:var(--tbg);color:#fff;font:400 16px/1.55 var(--tsans);overflow-x:clip}
.tk *{box-sizing:border-box}
:where(.tk) p{margin:0}
.tk b,.tk strong{font-weight:700}
.tk .g{color:var(--copper)}
.tk .gl{color:#f3c98c}
.tw{max-width:1200px;margin:0 auto;padding-inline:20px}
.th{font:400 clamp(28px,3.2vw,35px)/1.5 var(--tserif);text-transform:uppercase;text-align:center;margin:0;letter-spacing:0}
.tsub{text-align:center;font-size:clamp(17px,1.6vw,20px);line-height:1.35;margin-top:18px}
.tb{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:14px 40px;border-radius:99px;font:600 15px/1.3 var(--tsans);text-transform:uppercase;text-align:center;color:#fff;background:linear-gradient(109.44deg,#da9644 29%,#99521c 100%);text-decoration:none;transition:filter .2s,transform .2s;border:0;cursor:pointer}
.tb:hover{filter:brightness(1.1);color:#fff;transform:translateY(-1px)}
.tb.dk{background:linear-gradient(109.44deg,#101114 29%,#99521c 100%);font-weight:500}
.tb.wh{background:#fff;color:#000;font-weight:600;text-transform:none}
.tbr{display:flex;justify-content:center;margin-top:48px}
.tsec{padding-block:90px}

/* стрелки «листайте» */
.tarr{display:flex;flex-direction:column;align-items:center;gap:6px;margin:40px auto 0;color:#676767;font-size:16px}
.tarr div{display:flex;gap:10px}
.tarr button{width:30px;height:30px;padding:0;border:0;background:none;cursor:pointer;border-radius:50%}
.tarr img{width:30px;height:30px;display:block}
.tdark .tarr img{filter:invert(1) brightness(.75)}
.tsl{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 max(20px,calc((100% - 1200px)/2 + 20px));scroll-padding-inline:max(20px,calc((100% - 1200px)/2 + 20px));-webkit-overflow-scrolling:touch}
.tsl::-webkit-scrollbar{display:none}
.tsl > *{flex:none;scroll-snap-align:start}

/* 1. первый экран: фото и плашка с узором */
.thero{padding-block:120px 110px}
.thero .tw{display:grid;grid-template-columns:420px 1fr;gap:15px}
.tpat{position:relative;border-radius:60px;overflow:hidden;background:#181617 center/cover no-repeat}
.thero .ph{min-height:523px}
.thero .ph img{position:absolute;left:36px;top:2px;width:348px;height:521px;object-fit:cover;border-radius:50px 50px 0 0}
.thero .tx{padding:58px 55px 40px}
.thero .ttop{display:flex;flex-wrap:wrap;gap:6px 58px;font-size:18px}
.thero .ttop b{font-weight:700}
.thero h1{font:400 clamp(44px,5vw,71px)/1.1 var(--tserif);margin:52px 0 0;text-transform:uppercase}
.thero .lead{margin-top:58px;font:700 20px/1.3 var(--tsans);color:#fff;max-width:600px}
.thero .lead .g{color:#f0b46c}
.thero .tb{margin:44px 0 0 167px;min-width:260px}
.thero .note{margin-top:20px;font-size:13px;color:#fff}

/* 2. «для вас, если» — персиковая арка и карточки-капсулы с орнаментом */
.tarch{position:relative;margin-inline:auto;max-width:1440px;border-radius:150px;background:linear-gradient(180deg,#fff 0%,#da9645 100%);color:#000;padding:80px 0 0}
.tarch .tarr{margin-top:70px}
.tarch .tsl{margin-top:30px;gap:6px;padding-bottom:10px}
.acard{position:relative;width:371px;height:540px}
.acard .o1,.acard .o2,.acard .o3,.acard .o4{position:absolute;left:0;width:371px;height:auto;pointer-events:none}
.acard .o1{top:8px}.acard .o2{top:44px;left:8px;width:355px}.acard .o3{top:315px;left:8px;width:355px;transform:scaleY(-1)}.acard .o4{top:412px;transform:scaleY(-1)}
.acard .cap{position:absolute;left:43px;top:50px;width:285px;height:405px;border-radius:143px;background:#181617;display:flex;flex-direction:column;align-items:center;padding:48px 22px 0;text-align:center;color:#fff;font-size:15.5px;line-height:1.35}
.acard .cap img{width:158px;height:158px;border-radius:50%;object-fit:cover;margin-bottom:38px}
.acard .cap b{color:#f3c98c}
.tarch .tbr{margin:34px 0 0;padding-bottom:90px}

/* 3. «вы сможете» — круги с лучами и подписи-капсулы */
.tskills .row{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:95px}
.tskills .it{display:flex;flex-direction:column;align-items:center}
.tskills .it img{width:314px;max-width:100%;height:auto;margin-bottom:-58px}
.tskills .it p{position:relative;width:100%;min-height:142px;display:flex;align-items:center;justify-content:center;padding:16px 22px;border:1px solid #c69a5c;border-radius:40px;text-align:center;font-size:16px;line-height:1.55;background:transparent}
.tskills .it p b{color:#f3c98c}

/* 4. видео-отзывы */
.tvids{background:linear-gradient(0deg,#fbf0e2 0%,#e7b479 55%,#da9645 100%);color:#000;padding-block:80px 90px}
.tvids .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:65px 40px;margin-top:95px}
.vbtn{position:relative;display:block;width:100%;aspect-ratio:360/203;border:0;padding:0;border-radius:24px;overflow:hidden;background:#000 center/contain no-repeat;cursor:pointer}
.vbtn::after{content:"";position:absolute;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:rgba(201,164,106,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/34px no-repeat;transition:transform .2s}
.vbtn:hover::after{transform:scale(1.08)}
.tvids h3{font:600 20px/1.3 var(--tsans);margin:30px 0 8px}
.tvids ul{margin:0;padding-left:20px;font-weight:300;font-size:15px;line-height:1.55;color:#222}

/* 5. свидетельство + 20 лет опыта */
.tcert .box{display:grid;grid-template-columns:600px 1fr;border-radius:30px;overflow:hidden;background:var(--cream)}
.tcert .box img{width:100%;height:auto;display:block;background:#fff}
.tcert .box div{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;text-align:center;color:#101114}
.tcert h3{font:600 clamp(22px,2.2vw,26px)/1.35 var(--tsans);margin:0 0 22px;max-width:320px}
.tcert .box p{font-size:20px;line-height:1.25;color:#464646;max-width:330px}

/* 6. кейсы — арки до/после */
.tcases .tsl{gap:30px;margin-top:56px}
.ccard{width:320px;border-radius:160px 160px 160px 160px;background:linear-gradient(180deg,#fff 0%,#da9645 100%);color:#101114;padding:55px 10px 60px;display:flex;flex-direction:column}
.ccard .av{position:relative;width:172px;height:172px;margin:0 auto 26px}
.ccard .av img{position:absolute;inset:12px;width:148px;height:148px;border-radius:50%;object-fit:cover}
.ccard .av .fr{position:absolute;inset:0;width:172px;height:172px}
.ccard .cl{display:block;background:#101114;color:#fff;border-radius:20px;text-align:center;font:600 15px/40px var(--tsans);text-transform:uppercase}
.ccard p{padding:18px 12px 20px;font-size:16px;line-height:1.3}
.ccard .cnr{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 24px 0}
.ccard .cn{font-weight:600}
.vlink{display:inline-flex;align-items:center;gap:6px;padding:4px 0;border:0;background:none;color:#464646;font:500 16px/1.3 var(--tsans);cursor:pointer}
.vlink:hover{color:#000}

/* 7. ведущая — светлая плашка поверх тёмного фона с узором */
.thost{position:relative;padding-block:110px 140px;background:var(--tbg) center/cover no-repeat}
.thost .box{display:grid;grid-template-columns:510px 1fr;align-items:center;max-width:1200px;margin:0 auto;border-radius:150px;background:linear-gradient(180deg,#fff 0%,#da9645 100%);color:#101114;padding:80px 60px 60px 80px}
.thost .fr{position:relative;width:376px;height:520px;margin:0 auto}
.thost .fr .o1,.thost .fr .o2,.thost .fr .o3,.thost .fr .o4{position:absolute;left:0;width:376px;pointer-events:none}
.thost .fr .o1{top:0}.thost .fr .o2{top:28px;left:3px;width:369px}.thost .fr .o3{top:338px;left:3px;width:369px;transform:scaleY(-1)}.thost .fr .o4{top:431px;transform:scaleY(-1)}
.thost .fr .ph{position:absolute;left:60px;top:95px;width:241px;height:362px;object-fit:cover}
.thost ul{list-style:none;margin:0;padding:0;display:grid;gap:18px;font-size:16px;line-height:1.35;font-weight:500}
.thost li{position:relative;padding-left:18px}
.thost li::before{content:"";position:absolute;left:0;top:.5em;width:6px;height:6px;border-radius:50%;background:#101114}
.thost li b{font-weight:700}
.thost .more{display:inline-block;margin-top:14px;color:#323232;font-weight:500;text-decoration:none}
.thost .more:hover{color:#000}
.thost .ttl{text-align:center;margin-bottom:60px}
.thost .ttl small{display:block;font:700 18px/1.4 var(--tsans);margin-top:10px}

/* 8. цитата Ольги в лучах */
.tquote{position:relative;padding-block:80px 70px;overflow:hidden}
.tquote .rays{position:absolute;left:50%;top:40px;width:924px;max-width:none;transform:translateX(-50%);opacity:.9;pointer-events:none}
.tquote .tbr{position:relative;z-index:1}
.tquote .q{position:relative;max-width:520px;margin:220px auto 0;padding:70px 40px 44px;border-radius:40px;background:rgba(24,22,23,.92);font-size:20px;line-height:1.4}
.tquote .q p+p{margin-top:28px}
.tquote .q .g{color:#f0b46c;font-weight:700}
.tquote .qm1,.tquote .qm2{position:absolute;width:56px;height:39px}
.tquote .qm1{left:26px;top:26px}.tquote .qm2{right:30px;bottom:70px}
.tquote .sg{text-align:center;font-weight:700;margin-top:26px!important}

/* 9. программа — колонки с шапкой */
.tprog .row{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:90px;align-items:start}
.tprog .sub{color:#fde0b0;font-weight:700;font-size:18px;max-width:470px;margin:50px auto 0;text-align:center;line-height:1.5}
.pcol{border-radius:30px;overflow:hidden;background:var(--cream);color:#000}
.pcol .hd{background:#e29e57;color:#fff;padding:30px 30px 34px;font:600 24px/1.35 var(--tsans);min-height:170px;display:flex;align-items:center}
.pcol .it{padding:40px 30px 40px;border-bottom:1px solid rgba(0,0,0,.12);margin-inline:30px;padding-inline:0}
.pcol .it:last-child{border-bottom:0}
.pcol h4{font:600 18px/1.35 var(--tsans);margin:0 0 24px}
.pcol .it p{font-weight:300;font-size:18px;line-height:1.55}
.pcol .who{display:flex;align-items:center;gap:20px;margin-top:40px;font:600 14px var(--tsans)}
.pcol .who img{width:70px;height:70px;border-radius:50%;object-fit:cover}

/* 10. полоса с сертификатом */
.tbar{max-width:950px;margin:80px auto 0;padding:24px 56px;border-radius:24px;background:linear-gradient(106.2deg,#fff 0%,#da9645 100%);color:#464646;font-size:18px;text-align:center}

/* 11. стоимость */
.tprice .row{display:flex;justify-content:center;flex-wrap:wrap;gap:30px 140px;margin-top:70px;text-align:center}
.tprice .it{display:flex;flex-direction:column;align-items:center}
.tprice .pr{font:700 30px/1.2 var(--tsans)}
.tprice .ps{color:#adadad;font-size:14px;max-width:300px;margin-top:8px}
.tprice .tb{margin-top:28px;min-height:56px;padding-inline:26px;font-size:14px}
.tprice .tb.ol{background:none;border:1px solid #fff}

/* 12. частые вопросы — две колонки */
.tfaq .grid{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;margin-top:40px}
.tfaq details{border-bottom:1px solid #a96a2d}
.tfaq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:26px 0;font-size:16px;line-height:1.35}
.tfaq summary::-webkit-details-marker{display:none}
.tfaq summary i{flex:none;position:relative;width:20px;height:20px}
.tfaq summary i::before,.tfaq summary i::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:1.5px;background:#fff;transform:translate(-50%,-50%);transition:transform .25s}
.tfaq summary i::after{transform:translate(-50%,-50%) rotate(90deg)}
.tfaq details[open] summary i::before{transform:translate(-50%,-50%) rotate(45deg)}
.tfaq details[open] summary i::after{transform:translate(-50%,-50%) rotate(135deg)}
.tfaq details p{padding:0 30px 26px 0;font-size:15px;line-height:1.55;color:#e8e8e8}

/* 13. служба поддержки */
.tsupp{padding-block:40px 80px}
.tsupp a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;max-width:1160px;min-height:480px;margin:0 auto;border-radius:60px;background:#181617 center/cover no-repeat;color:#fff;text-decoration:none;text-align:center;padding:40px 20px}
.tsupp a span:not(.nw){font:500 clamp(22px,2.4vw,32px)/1.35 var(--tsans);text-transform:uppercase;max-width:760px}
.tsupp a img{width:120px;height:120px;transition:transform .2s}
.tsupp a:hover img{transform:scale(1.06)}

/* видео — окно */
.tvdlg{border:0;padding:0;background:transparent;width:min(960px,94vw);max-width:none;overflow:visible}
.tvdlg::backdrop{background:rgba(5,5,7,.9)}
.tvdlg iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:16px;background:#000 var(--pv,none) center/cover no-repeat;transition:opacity .2s}
/* пока плеер грузится: обложка видео и крутилка */
.tvdlg.ld iframe{opacity:.55}
.tvdlg.ld::after{content:"";position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:#da9645;animation:tvspin .8s linear infinite;pointer-events:none}
@keyframes tvspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.tvdlg.ld::after{animation-duration:2.4s}}
.tvdlg button{position:absolute;right:-6px;top:-54px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(20,20,26,.8);color:#fff;font:300 28px/1 var(--tsans);cursor:pointer}

/* заявка — окно поверх страницы (работает и без JS: :target) */
.tpop{position:fixed;inset:0;z-index:60;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.75);overflow-y:auto}
.tpop:target,.tpop.open{display:flex}
.tpop .in{position:relative;width:100%;max-width:520px;border-radius:30px;background:#fff;color:#101114;padding:46px 40px 36px;font-family:var(--tsans)}
.tpop .fhd{font:600 20px/1.3 var(--tsans);margin:0 0 6px}
.tpop .fpr{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin:0 0 6px;padding:12px 0;border-bottom:1px solid #eee;font-size:15px}
.tpop .fpr b{white-space:nowrap}.tpop .fpr s{color:#999;font-weight:400;margin-right:6px}
.tpop .x{position:absolute;right:18px;top:14px;width:40px;height:40px;display:grid;place-items:center;font:300 32px/1 var(--tsans);color:#101114;text-decoration:none;border-radius:50%}
.tpop .x:hover{background:#f2ece4;color:#000}
.tpop form{display:grid;gap:14px}
.tpop label{display:grid;gap:6px;font-size:14px;font-weight:500}
.tpop input[type=text],.tpop input[type=tel],.tpop input[type=email]{font:400 16px/1.4 var(--tsans);color:#101114;border:1px solid #d7cbbb;border-radius:14px;padding:14px 16px;width:100%;background:#fff}
.tpop input:focus{outline:none;border-color:#da9645;box-shadow:0 0 0 3px rgba(218,150,69,.25)}
.tpop .chk{grid-template-columns:22px 1fr;align-items:start;gap:10px;font-weight:400;font-size:13px;line-height:1.45;color:#555}
.tpop .chk input{width:18px;height:18px;margin:2px 0 0;accent-color:#da9645}
.tpop .chk a{color:#99521c;text-decoration:underline}
.tpop .tb{margin-top:8px;width:100%}

/* адаптив: как мобильная версия на Тильде */
@media (max-width:1199px){
  .thero .tw{grid-template-columns:1fr 1.4fr}
  .thero .ph img{left:50%;transform:translateX(-50%)}
  .thero .tb{margin-left:0}
  .tcert .box{grid-template-columns:1fr 1fr}
  .thost .box{grid-template-columns:1fr 1fr;padding:60px 40px;border-radius:100px}
  .tskills .row{grid-template-columns:1fr 1fr;gap:40px 15px}
}
@media (max-width:860px){
  .tsec{padding-block:64px}
  .thero{padding-block:40px 60px}
  .thero .tw{grid-template-columns:1fr;max-width:400px}
  .thero .ph{display:none}
  .thero .tx{border-radius:60px;padding:0 0 36px;text-align:center;background-size:cover}
  .thero .tx .pic{display:block;position:relative;height:420px;margin-bottom:-40px;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
  .thero .tx .pic img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
  .thero .ttop{position:absolute;left:0;right:0;top:36px;flex-direction:column;gap:2px;align-items:center;z-index:1;text-shadow:0 1px 8px rgba(0,0,0,.6)}
  .thero h1{position:relative;margin-top:0;font-size:48px}
  .thero .lead{margin:18px 24px 0;font-size:17px}
  .thero .tb{margin:26px auto 0;min-width:0;width:calc(100% - 64px)}
  .thero .note{margin:14px 20px 0}
  .tarch{border-radius:150px;margin-inline:16px;padding-top:60px}
  .tarch .th{padding-inline:30px}
  .acard{width:340px;height:500px;transform-origin:top left}
  .acard{zoom:.92}
  .tskills .row{grid-template-columns:1fr;max-width:430px;margin-inline:auto;margin-top:50px}
  .tvids .grid{grid-template-columns:1fr;max-width:420px;margin-inline:auto;gap:50px;margin-top:50px}
  .tcert .box{grid-template-columns:1fr}
  .thost{padding-block:60px 80px}
  .thost .box{grid-template-columns:minmax(0,1fr);border-radius:160px 160px 160px 160px;padding:60px 26px 90px;max-width:400px;margin-inline:auto}
  .thost .fr{zoom:.86;margin:0 auto}
  .thost ul{margin-top:10px;padding-inline:12px}
  .tquote .rays{width:700px;top:20px}
  .tquote .q{margin-top:150px;font-size:17px;padding:60px 26px 40px}
  .tprog .row{grid-template-columns:1fr;max-width:430px;margin-inline:auto;gap:30px;margin-top:50px}
  .pcol .hd{min-height:0}
  .tprice .row{flex-direction:column;align-items:center;gap:50px}
  .tfaq .grid{grid-template-columns:1fr}
  .tsupp a{min-height:300px;border-radius:40px}
  .tsupp a img{width:84px;height:84px}
  .tbar{margin:40px 0 0;padding:20px 24px;font-size:16px}
  .tpop .in{padding:40px 22px 28px}
}
@media (min-width:861px){.thero .tx .pic{display:none}}
@media (max-width:400px){.acard{zoom:.86}.ccard{width:290px}.thero .tx .pic{height:360px}}

/* самые узкие телефоны: рамка ведущей ещё меньше, заголовок первого экрана по ширине экрана */
@media (max-width:370px){
  .thost .fr{zoom:.72}
  .thero h1{font-size:min(48px,11.5vw)}
  .th{font-size:24px}
}

.nw{white-space:nowrap}
.tprice .tb{margin-top:auto}
.tprice .it>:nth-last-child(2){margin-bottom:28px}

/* «Алхимия гипноза» (/alhimiya/) и общие с /pers/ блоки: первый экран .al-hero, кейсы .al-cases, ведущая .al-host. Блоки — tp_alhimiya.py */

/* первый экран: фото выходит за плашку, заголовок в две строки со сдвигом */
.al-hero .ph{overflow:visible}
.al-hero .ph img{left:20px;top:13px;width:363px;height:545px;border-radius:50px}
.al-hero h1{margin-top:28px;line-height:1.02;container-type:inline-size}
.al-hero h1 span:not(.nw){display:block;font-size:min(1em,100cqw / var(--n,1));padding-left:min(var(--ind),max(0px,100% - var(--n,0) * 1em))}
.al-hero.al-lc h1{text-transform:none}
.al-hero .lead{margin-top:34px;max-width:640px}
.al-hero.al-reg .lead{font-weight:400}
.al-hero .lead b{background:linear-gradient(100deg,#fff 0%,#da9645 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.al-hero .tb{margin-top:66px}

/* мандала со словами */
.al-man{--u:min(1px,calc((100vw - 16px) / 640));position:relative;background:var(--tbg);overflow:clip}
.al-st{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(1000 * var(--u));padding:calc(70 * var(--u)) 16px;overflow:hidden;-webkit-mask-image:linear-gradient(transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(transparent,#000 14%,#000 86%,transparent)}
.al-sc{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.al-ml,.al-hole{position:absolute;left:0;top:0;max-width:none;height:auto;translate:-50% -50%}
.al-ml{width:calc(var(--w) * var(--u));transform:scale(2.1) rotate(calc(var(--r) * 40deg));opacity:calc(.3 + var(--o) * .6)}
.al-hole{width:calc(410 * var(--u));transform:scale(2.3)}
.al-words{position:relative;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:calc(26 * var(--u))}
.al-w img{display:block;width:calc(var(--w) * var(--u) * .8);height:auto}
.al-w span:not(.nw){display:block;max-width:calc(420 * var(--u));text-align:center;color:#fff;font:300 calc(22 * var(--u))/1.35 var(--tsans);letter-spacing:.2em;text-transform:uppercase}
.al-fin{margin-top:calc(10 * var(--u))}
.al-fin span:not(.nw){font-size:calc(28 * var(--u))}
.al-mb{position:relative;margin-top:calc(34 * var(--u));min-width:260px}
@keyframes al-spin{to{transform:scale(3) rotate(calc(var(--r) * 360deg));opacity:var(--o)}}
@keyframes al-shrink{to{transform:scale(0)}}
@keyframes al-word{0%{opacity:0}20%,80%{opacity:1}100%{opacity:0}}
@keyframes al-in{from{opacity:0}to{opacity:1}}
/* как на Тильде: при прокрутке мандала растёт и вращается, слова сменяют друг друга. Только где есть scroll-timeline и живой браузер (html.js) */
@supports (animation-timeline:view()){@media (prefers-reduced-motion:no-preference){
  html.js .al-man{height:calc(100vh + 1200px);view-timeline:--alm block}
  html.js .al-st{position:sticky;top:0;height:100vh;min-height:0;padding:0;-webkit-mask-image:none;mask-image:none}
  html.js .al-ml{transform:none;opacity:1;animation:al-spin linear both;animation-timeline:--alm;animation-range:contain 0% contain 100%}
  html.js .al-hole{transform:none;animation:al-shrink linear both;animation-timeline:--alm;animation-range:contain 0% contain 50%}
  html.js .al-words{position:absolute;inset:0;display:block}
  html.js .al-w{position:absolute;left:50%;top:50%;margin:0;translate:-50% -50%;opacity:0;animation:al-word linear both;animation-timeline:--alm;animation-range:contain var(--a) contain var(--b)}
  html.js .al-w img{width:calc(var(--w) * var(--u))}
  html.js .al-w span:not(.nw){font-size:calc(28 * var(--u));width:calc(420 * var(--u))}
  html.js .al-fin{animation-name:al-in;animation-range:contain 86% contain 94%}
  html.js .al-mb{position:absolute;left:50%;top:calc(50% + 110 * var(--u));margin:0;translate:-50% 0;opacity:0;animation:al-in linear both;animation-timeline:--alm;animation-range:contain 86% contain 94%}
}}

/* кейсы: имя и «Смотреть отзыв →» внизу карточки */
.al-cases .ccard{padding-bottom:120px}
.ccard .al-cn{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px 0}
.al-cn b{font-weight:600}
.al-cn a{display:inline-flex;align-items:center;gap:6px;color:#464646;font-weight:400;text-decoration:none;white-space:nowrap}
.al-cn a:hover{color:#000}
.al-few .tsl>:first-child{margin-left:auto}
.al-few .tsl>:last-child{margin-right:auto}
@media (min-width:861px){.al-few .tarr{display:none}}

/* вертикальные видео-отзывы */
.al-vids{padding-bottom:40px}
.al-vsub{width:fit-content;max-width:760px;margin-inline:auto;background:linear-gradient(100deg,#fff 0%,#da9645 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.al-vids .tarr{margin-top:24px}
.al-vids .tsl{gap:24px;margin-top:60px;padding-inline:max(20px,calc((100% - 1340px) / 2));scroll-padding-inline:max(20px,calc((100% - 1340px) / 2))}
.vbtn.al-vv{width:272px;aspect-ratio:272/522;border-radius:30px;background-size:cover;background-position:center}

/* ведущая: фото в овале, надпись имени */
.al-host{background:var(--tbg);padding-block:40px 100px}
.al-host .ttl{margin-bottom:50px}
.al-host .ttl small{display:none}
.al-host .box{grid-template-columns:376px 1fr;column-gap:46px;padding:56px 60px 30px 142px;min-height:641px}
.al-host .fr{width:376px;height:557px;margin:0}
.al-host .fr .ph{left:28px;top:52px;width:320px;height:453px;border-radius:160px;object-fit:cover}
.al-nm{display:block;width:420px;max-width:100%;height:auto}
.al-nmt{font:300 36px/1 var(--tsans);letter-spacing:.12em;text-transform:uppercase;color:#101114;width:auto}
.al-hs{margin:12px 0 0 3px;font:600 16px/1.3 var(--tsans);text-transform:uppercase;color:#0c0c0c}
.al-host ul{margin-top:24px;max-width:530px}
.al-host.al-nt{padding-top:20px}
.al-host.al-nt .al-ht ul{margin-top:50px}

/* программа: тёмные карточки с золотой рамкой */
.al-prog .tarr{margin-top:30px}
.al-prog .tsl{gap:20px;margin-top:36px;padding:16px max(20px,calc((100% - 1330px) / 2)) 10px;scroll-padding-inline:max(20px,calc((100% - 1330px) / 2))}
.al-pc{position:relative;width:430px;min-height:550px;border:1px solid #da9645;border-radius:50px;padding:38px 20px 30px;background:var(--tbg)}
.al-pill{position:absolute;left:50%;top:0;translate:-50% -50%;width:150px;height:30px;border-radius:30px;display:grid;place-items:center;background:linear-gradient(90deg,#fff6ea,#dca45e);color:#101114;font:600 14px/1 var(--tsans);text-transform:uppercase}
.al-pc h3,.al-pc h4{display:flex;gap:10px;align-items:center;margin:0;font:700 18px/1.3 var(--tsans)}
.al-pc h3{text-transform:uppercase}
.al-pc h3 span:not(.nw){background:linear-gradient(90deg,#fff,#da9645);-webkit-background-clip:text;background-clip:text;color:transparent}
.al-pc h3 img,.al-pc h4 img{flex:none;width:20px;height:20px}
.al-pc h3 b.g,.al-pc h4{background:linear-gradient(90deg,#fbe3bf,#da9645);-webkit-background-clip:text;background-clip:text;color:transparent}
.al-pc h4{width:max-content;margin:22px 0 10px}
.al-pc p{font-weight:200;font-size:16px;line-height:1.3;color:#fff}
.al-pc .al-ps{margin-top:10px}
.al-pc hr{border:0;height:1px;margin:16px 0 0;background:linear-gradient(90deg,#fff,#da9645)}

/* состав и стоимость */
.al-tar{padding-top:40px}
.al-tsub{margin-top:34px;text-align:center;font-size:18px;line-height:1.4}
.al-tsub b{color:#e9b16c}
.al-tg{display:grid;grid-template-columns:350px minmax(0,640px);grid-template-areas:"img list" "pr list";grid-template-rows:auto 1fr;column-gap:180px;justify-content:start;margin-top:20px}
.al-ring{grid-area:img;position:relative;width:347px;height:322px}
.al-ring .r{position:absolute;inset:0;width:100%;height:100%}
.al-ring .p{position:absolute;left:56px;top:43px;width:235px;height:235px;border-radius:50%}
.al-prs{grid-area:pr;display:flex;flex-direction:column;align-items:center;text-align:center}
.al-pr{display:flex;flex-direction:column;align-items:center}
.al-pr b{font:700 30px/1.35 var(--tsans)}
.al-pr span:not(.nw){color:#adadad;font-size:14px;line-height:1.3}
.al-pr .tb{margin:16px 0 22px;width:250px;padding-inline:10px;white-space:nowrap}
.al-pr .tb:not(.al-ol){width:260px;font-size:14px}
.tb.al-ol{background:none;border:1px solid #da9645;font-size:16px}
.al-note{margin-top:-6px;max-width:340px;color:#adadad;font-size:14px;line-height:1.3}
.al-tl{grid-area:list;list-style:none;margin:0;padding:88px 0 0}
.al-tl li{display:grid;grid-template-columns:30px 1fr;align-items:start;min-height:85px;padding:14px 0 18px;border-top:1px solid #dd9f55;border-image:linear-gradient(90deg,#dd9f55,#eccaa1,#da9645) 1;font-size:16px;line-height:1.4}
.al-tl li:first-child{border-top:0;padding-top:0}
.al-tl li img{width:22px;height:22px;margin-top:1px}
.al-tl b{color:#e9ad63;font-weight:700;text-transform:uppercase}
.al-tl b.g{font-weight:400;text-transform:none}

/* видео выпускницы и сертификаты */
.al-proof{padding-block:50px 40px}
.al-proof .tw{display:grid;grid-template-columns:374px 462px;column-gap:119px;padding-left:147px;align-items:start}
.vbtn.al-pv{width:374px;aspect-ratio:374/632;border-radius:20px;background-size:cover;background-position:center}
.al-pcs{display:grid;gap:29px}
.al-pcs a{display:block;border-radius:24px;overflow:hidden;background:#d4d4d4}
.al-pcs img{display:block;width:100%;height:auto}

@media (max-width:1199px){
  .al-hero .ph img{left:50%;transform:translateX(-50%)}
  .al-hero h1 span:not(.nw){padding-left:min(var(--ind) * .6,max(0px,100% - var(--n,0) * 1em))}
  .al-host .box{grid-template-columns:376px 1fr;column-gap:30px;padding:56px 40px 40px}
  .al-tg{grid-template-columns:350px 1fr;column-gap:50px}
  .al-proof .tw{grid-template-columns:1fr 1fr;column-gap:40px;padding-left:20px}
  .vbtn.al-pv{width:100%;max-width:374px;justify-self:center}
}
@media (max-width:860px){
  .al-hero h1{margin-top:0;font-size:46px;line-height:1.05}
  .al-hero h1 span:not(.nw){padding-left:0}
  .al-hero .lead{margin-top:16px}
  .al-hero .tb{margin-top:30px}
  html.js .al-man{height:calc(100vh + 900px)}
  .al-st{min-height:calc(1250 * var(--u))}
  .al-ml{transform:scale(1.45) rotate(calc(var(--r) * 40deg))}
  .al-hole{transform:scale(1.5)}
  .al-w img{width:calc(var(--w) * var(--u))}
  .al-w span:not(.nw){font-size:calc(26 * var(--u))}
  .al-cases .ccard{padding-bottom:90px}
  .al-vids .tsl{margin-top:36px;gap:20px}
  .vbtn.al-vv{width:268px}
  .al-host .ttl{margin-bottom:30px}
  .al-host .ttl small{display:block}
  .al-host .box{grid-template-columns:minmax(0,1fr);padding:50px 22px 80px;min-height:0;max-width:400px}
  .al-host .fr{margin:0 auto;zoom:.86}
  .al-ht{text-align:left}
  .al-nm{width:300px;margin:0 auto}
  .al-nmt{font-size:28px;text-align:center}
  .al-hs{text-align:center;margin-left:0}
  .al-host.al-nt .al-ht ul{margin-top:28px}
  .al-prog .tsl{gap:10px}
  .al-pc{width:min(320px,calc(100vw - 50px));min-height:0;padding:34px 16px 26px;border-radius:40px}
  .al-pc h3,.al-pc h4{font-size:15px}
  .al-pc p{font-size:14px}
  .al-tsub{font-size:16px;margin-top:20px}
  .al-tg{grid-template-columns:1fr;grid-template-areas:"img" "list" "pr";grid-template-rows:none;margin-top:30px}
  .al-ring{justify-self:center;width:280px;height:260px}
  .al-ring .p{left:18.6%;top:13.4%;width:67.7%;height:auto;aspect-ratio:1}
  .al-tl{padding-top:30px}
  .al-tl li{min-height:0;font-size:15px}
  .al-prs{margin-top:30px}
  .al-proof .tw{grid-template-columns:1fr;row-gap:30px;padding-left:20px;max-width:400px}
  .vbtn.al-pv{max-width:295px}
}
.al-cases .ccard .cnr{padding-inline:14px}
.al-cases .vlink{white-space:nowrap;font-size:15px}

@media (max-width:370px){.al-host .fr{zoom:.72}}

/* Клуб «Здесь моя энергия» (/club/) — копия lifepractice.olga-gelman.ru/club (GetCourse): белый фон, серые карточки, красные кнопки. Разметка — tp_club.py */
.tk.cb{background:#fff;color:#000;font:300 19px/1.65 Montserrat,Arial,sans-serif;padding:30px 20px 60px}
.cb h1,.cb h2,.cb h3{margin:0;letter-spacing:0}
.cb ul{margin:0}
.cb-hero{text-align:center;max-width:760px;margin:0 auto}
.cb-hero img{width:250px;height:250px;display:block;margin:0 auto;border-radius:50%;object-fit:cover}
.cb-hero h1{font:500 36px/1.23 Montserrat,Arial,sans-serif;max-width:620px;margin:26px auto 0}
.cb-tag{text-transform:uppercase;font-weight:500;font-size:16px;line-height:1.5;margin-top:12px!important;letter-spacing:-.01em}
.cb-list{max-width:760px;margin:80px auto 0}
.cb-list h2{font:500 24px/1.3 Montserrat,Arial,sans-serif;text-align:center;letter-spacing:-.01em}
.cb-list>div{margin-top:24px}
.cb-list.cb-in{margin-top:68px}
.cb-in h2{font-weight:600}
.cb-in>div{margin-top:28px}
.cb-in p:first-child{margin-bottom:0}
.cb-rev{max-width:800px;margin:68px auto 0}
.cb-rev h2{font:500 26px/1.2 Montserrat,Arial,sans-serif;text-align:center;letter-spacing:-.01em}
.cb-grid{display:grid;grid-template-columns:repeat(3,200px);gap:20px 15px;justify-content:center;margin-top:42px}
.cb-grid a{display:block;aspect-ratio:1;overflow:hidden}
.cb-grid img{width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block;transition:opacity .2s}
.cb-grid a:hover img{opacity:.9}
.cb-prices{max-width:1168px;margin:110px auto 0}
.cb-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
.cb-card{background:#f0f0f0;padding:20px 15px 20px;display:flex;flex-direction:column;align-items:center;font-size:16px;line-height:1.55}
.cb-card h3{font:500 20px/1.4 Montserrat,Arial,sans-serif;color:#02c1f5;text-align:center;margin-top:6px;letter-spacing:-.01em}
.cb-pr{font-weight:500;font-size:28px;line-height:1.3;margin-top:22px!important;text-align:center}
.cb-card ul{align-self:stretch;padding-left:50px;margin-top:4px}
.cb-plus{font-weight:700;text-align:center;margin:10px 0!important;line-height:1.2}
.cb-btn{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;min-width:217px;min-height:60px;padding:10px 30px;background:#ec543f;color:#fff;
  font:500 16px/1.2 Montserrat,Arial,sans-serif;text-decoration:none;transition:filter .2s}
.cb-btn:hover{filter:brightness(1.08);color:#fff}
.cb-card ul:last-of-type{margin-bottom:56px}
@media (max-width:860px){
  .tk.cb{font-size:17px;line-height:1.62;padding:20px 20px 40px}
  .cb-hero img{width:220px;height:220px}
  .cb-hero h1{font-size:30px;margin-top:22px}
  .cb-tag{font-size:16px}
  .cb-list{margin-top:56px}
  .cb-list h2{font-size:24px;line-height:1.25}
  .cb-rev h2{font-size:28px;line-height:1.3}
  .cb-grid{grid-template-columns:1fr;gap:20px;max-width:440px;margin:40px auto 0}
  .cb-grid a{aspect-ratio:1}
  .cb-prices{margin-top:70px}
  .cb-cards{grid-template-columns:1fr;max-width:440px;margin:0 auto;gap:24px}
  .cb-card{padding:28px 15px 24px}
  .cb-card h3{font-size:20px}
  .cb-pr{font-size:30px;margin-top:18px!important}
  .cb-card ul{padding-left:36px}
  .cb-btn{min-width:0;width:100%;max-width:260px}
  .cb-card ul:last-of-type{margin-bottom:40px}
}

/* «Индивидуальная терапия» (/pers/): этапы работы, скрины отзывов, анкета-заглушка. Блоки — tp_pers.py; первый экран, кейсы, ведущая — t-alhimiya.css */

/* этапы работы */
.pr-steps{padding-block:80px 10px}
.pr-h{margin:0;text-align:center;font:400 49px/1 var(--tserif);text-transform:uppercase;color:#fff6ed}
.pr-sg{display:grid;grid-template-columns:1fr 1fr;gap:40px 40px;margin-top:70px;padding-left:20px}
.pr-st{display:grid;grid-template-columns:100px 1fr;align-items:start}
.pr-n{font:400 150px/1 var(--tserif);background:linear-gradient(0deg,#b0772c,#fbbc69);-webkit-background-clip:text;background-clip:text;color:transparent;margin-top:-26px}
.pr-st h3{margin:0;max-width:420px;font:700 20px/1 var(--tsans);background:linear-gradient(0deg,#b0772c,#fbbc69);-webkit-background-clip:text;background-clip:text;color:transparent}
.pr-st p{margin-top:12px;max-width:360px;font-size:20px;line-height:1.7;color:#fff6ed}

/* скрины отзывов */
.pr-gal{padding-block:10px 60px}
.pr-gw{position:relative;max-width:660px;margin:0 auto}
.tsl.pr-gs{gap:0;padding:0;scroll-padding:0;background:#f2ebe0}
.pr-gs a{flex:0 0 100%;display:block}
.pr-gs img{display:block;width:100%;height:auto}
.pr-ga{position:absolute;top:50%;width:40px;height:40px;margin-top:-20px;border:0;border-radius:50%;background:#e8e8e8;color:#222;display:grid;place-items:center;cursor:pointer;transition:background .2s}
.pr-ga:hover{background:#fff}
.pr-ga:first-child{left:-70px}
.pr-ga:last-child{right:-70px}
.pr-gal .tbr{margin-top:90px}

/* анкета-заглушка */
.pr-form{background:#fff;color:#000;color-scheme:light}
.pr-band{background:#000;color:#fff}
.pr-band p{max-width:810px;margin:0 auto;padding:12px 20px 16px;font:400 34px/1.4 var(--tserif)}
.pr-wh{padding:0 20px 100px}
.pr-fw{padding-top:120px}
.pr-fmt{max-width:770px;margin:0 auto;display:grid;gap:25px}
.pr-fmt h2{margin:0 0 6px;text-align:center;font:600 28px/1.3 var(--tsans);color:#000}
.pr-ops{display:grid;gap:12px;padding-inline:5px}
.pr-op{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center;font-size:20px;line-height:1.4;cursor:pointer}
.pr-op input{width:13px;height:13px;margin:0;accent-color:#2f1e18}
.pr-op b{font-weight:400;white-space:nowrap}
.pr-fmt input[type=email],.pr-fmt input[type=text],.pr-fmt input[type=tel]{width:100%;height:60px;padding:0 20px;border:1px solid #000;border-radius:0;background:#fff;color:#000;font:400 16px var(--tsans)}
.pr-fmt input::placeholder{color:#777}
.pr-form input:focus,.pr-form textarea:focus{outline:none;border-color:#da9645;box-shadow:0 0 0 3px rgba(218,150,69,.25)}
.pr-sub{justify-self:center;min-width:217px;height:60px;padding:0 30px;border:0;border-radius:30px;background:#2f1e18;color:#fff;font:600 16px var(--tsans);cursor:pointer;transition:filter .2s}
.pr-sub:hover{filter:brightness(1.4)}

/* анкета — как виджет GetCourse: серая полоса шагов, подписи над полями, зелёные кнопки */
.pr-gcw{max-width:770px;margin:0 auto;padding-top:80px}
.pr-gc{display:grid;gap:22px;font-family:var(--tsans);color:#000}
.pr-bar{height:10px;border-radius:5px;background:#e8e8e8;overflow:hidden}
.pr-bar span:not(.nw){display:block;width:0;height:100%;background:#66bf98;transition:width .3s}
.pr-on2 .pr-bar span:not(.nw){width:100%}
.pr-s1,.pr-s2{display:grid;gap:22px}
.pr-q{display:grid;gap:8px;margin:0;padding:0;border:0;min-width:0}
.pr-q label,.pr-q legend{padding:0;font:600 18px/1.35 var(--tsans);color:#000}
.pr-q legend{margin-bottom:8px}
.pr-q i{font-style:normal;color:#e00}
.pr-q input[type=text],.pr-q input[type=email],.pr-q input[type=tel],.pr-q textarea{width:100%;padding:6px 10px;border:1px solid #ccc;border-radius:4px;background:#fff;color:#000;font:400 16px/1.4 var(--tsans)}
.pr-q input[type=text],.pr-q input[type=email],.pr-q input[type=tel]{height:34px}
.pr-q textarea{min-height:70px;resize:vertical}
.pr-q .pr-o{display:flex;gap:8px;align-items:center;padding:3px 0;font:400 16px/1.4 var(--tsans);cursor:pointer}
.pr-g .pr-o input{margin:0;accent-color:#66bf98}
.pr-row{display:flex;flex-wrap:wrap;gap:4px 18px}
.pr-row legend{width:100%}
.pr-btns{display:flex;gap:12px;flex-wrap:wrap}
.pr-btn{justify-self:start;min-width:128px;height:42px;padding:0 22px;border:0;border-radius:0;background:#66bf98;color:#fff;font:400 14px var(--tsans);cursor:pointer}
.pr-btn:hover{background:#58ad88}
.pr-back{background:#9a9a9a}
.pr-back:hover{background:#888}
.pr-next{display:none}
.pr-js .pr-next{display:block}
.pr-js .pr-s2{display:none}
.pr-js.pr-on2 .pr-s2{display:grid}
.pr-js.pr-on2 .pr-s1{display:none}
.pr-gc:not(.pr-js) .pr-back{display:none}

@media (max-width:860px){
  .pr-steps{padding-top:50px}
  .pr-h{font-size:34px;line-height:1.15}
  .pr-sg{grid-template-columns:1fr;gap:40px;margin-top:40px;padding-left:0}
  .pr-st{grid-template-columns:1fr;max-width:360px;margin-inline:auto}
  .pr-n{font-size:110px;margin:0 0 6px}
  .pr-st p{font-size:18px}
  .pr-ga{width:32px;height:32px;margin-top:-16px;background:rgba(232,232,232,.85)}
  .pr-ga:first-child{left:8px}
  .pr-ga:last-child{right:8px}
  .pr-gal .tbr{margin-top:50px}
  .pr-band p{font-size:30px;padding:16px 22px}
  .pr-wh{padding:0 16px 70px}
  .pr-fw{padding-top:70px}
  .pr-gcw{padding-top:50px}
  .pr-fmt h2{font-size:26px}
  .pr-q label,.pr-q legend{font-size:17px}
  .pr-op{grid-template-columns:22px 1fr;font-size:18px}
  .pr-op b{grid-column:2;justify-self:end}
}

/* Практикум «Тело — генератор энергии» (/tge/) — копия olga-gelman.ru/tge_test: белый фон, жёлто-оранжевые градиенты, Montserrat. Разметка — tp_tge.py */
.tk.tg{--tgo:linear-gradient(180deg,#ffc709 0%,#ff9415 100%);--tgy:#ffba37;background:#fff;color:#000;font:300 16px/1.55 Montserrat,Arial,sans-serif}
.tg b,.tg strong{font-weight:700}
.tg h1,.tg h2,.tg h3{margin:0;letter-spacing:0}
.tg ul{margin:0;padding:0;list-style:none}
.tg-h{font:600 42px/1.23 Montserrat,Arial,sans-serif;text-align:center;color:#fff;padding-inline:20px}
.tg-h.tg-dk{color:#000}.tg-h.tg-y{color:var(--tgy)}
.tg-btr{display:flex;justify-content:center;margin-top:90px}
/* кнопки */
.tg-bw,.tg-bo,.tg-bg{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;font:600 16px/1.3 Montserrat,Arial,sans-serif;border-radius:30px;transition:transform .2s,filter .2s}
.tg-bw:hover,.tg-bo:hover,.tg-bg:hover{transform:translateY(-1px);filter:brightness(1.04)}
.tg-bw{min-height:60px;padding:10px 60px;background:#fff;color:#000}
.tg-bw:hover{color:#000}
.tg-bo{min-height:60px;padding:10px 60px;background:var(--tgo);color:#fff}
.tg-bo:hover,.tg-bg:hover{color:#fff}
.tg-bo.tg-sm{min-height:45px;padding:8px 30px;border-radius:15px;font-size:14px}
.tg-bg{min-height:45px;padding:8px 30px;background:#13ce66;color:#fff;font-size:14px}

/* 1. первый экран */
.tg-hero{padding:40px 40px 0}
.tg-hbox{max-width:1360px;min-height:700px;margin:0 auto;border-radius:30px;background:#f7a35a center/cover no-repeat;color:#fff;text-align:center;
  display:flex;flex-direction:column;align-items:center;padding:112px 20px 80px}
.tg-pre{font-weight:600;font-size:15px;line-height:1.5}
.tg-hero h1{font:600 50px/1.23 Montserrat,Arial,sans-serif;margin-top:6px}
.tg-sub{font-weight:700;font-size:20px;line-height:1.5;margin-top:44px!important;max-width:760px}
.tg-lead{font-size:20px;line-height:1.7;max-width:720px;margin-top:30px!important}
.tg-hero .tg-bw{margin-top:56px;width:340px;max-width:100%;padding-inline:20px;font-size:15px}

/* 2. семь блоков — листалка карточек */
.tg-blocks{background:linear-gradient(0deg,#c6c6c6 0%,#f1f1f1 29%,#fff 100%);padding:40px 0 70px;margin-top:20px}
.tg-intro{max-width:540px;margin:0 auto;padding-inline:20px;text-align:center;font-size:24px;line-height:1.5}
.tg-intro b{font-weight:600}
.tg-slw{position:relative;max-width:1440px;margin:92px auto 0}
.tg-sl{display:flex;column-gap:40px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  padding:0 max(20px,calc((100% - 1160px)/2));scroll-padding-inline:max(20px,calc((100% - 1160px)/2))}
.tg-sl::-webkit-scrollbar{display:none}
@media (min-width:861px){.tg-blocks .tg-sl{max-width:1160px;margin:0 auto;padding:0;scroll-padding-inline:0}}
.tg-sl>*{flex:none;scroll-snap-align:start}
.tg-card{width:260px;min-height:653px;display:flex;flex-direction:column;background:#fff;border-radius:30px;overflow:hidden}
.tg-card>img{width:260px;height:260px;object-fit:cover;display:block}
.tg-cb{padding:18px 20px 0;font-size:14px;line-height:1.55;color:#333;flex:1}
.tg-cb h3{font:600 16px/1.35 Montserrat,Arial,sans-serif;color:#000;margin-bottom:12px}
.tg-cb p+p{margin-top:21px}
.tg-cb b{font-weight:600;color:#000}
.tg-cb .tg-after{color:#ff8562}
.tg-card .tg-bo{align-self:flex-start;margin:20px 16px 22px}
.tg-arr{position:absolute;top:50%;z-index:2;width:40px;height:40px;margin-top:-20px;padding:0;border:0;border-radius:50%;background:#000;cursor:pointer;display:grid;place-items:center}
.tg-arr svg{width:22px;height:22px}
.tg-slw>.tg-arr[data-dir="-1"]{left:30px}.tg-slw>.tg-arr[data-dir="1"]{right:30px}

/* 3. ведущая — фото-галерея и список */
.tg-host{max-width:1200px;margin:0 auto;padding:90px 20px 70px;display:grid;grid-template-columns:760px 1fr;gap:40px;align-items:start}
.tg-gal>input{position:absolute;opacity:0;pointer-events:none}
.tg-big{position:relative;aspect-ratio:760/426;border-radius:30px;overflow:hidden;background:#eee}
.tg-big img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s}
.tg-th{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.tg-th label{width:60px;height:60px;border-radius:8px;overflow:hidden;cursor:pointer;opacity:.85;border-bottom:2px solid transparent}
.tg-th img{width:100%;height:100%;object-fit:cover;display:block}
.tg-th label:hover{opacity:1}
#tgg0:checked~.tg-big .g0,#tgg1:checked~.tg-big .g1,#tgg2:checked~.tg-big .g2,#tgg3:checked~.tg-big .g3,#tgg4:checked~.tg-big .g4,
#tgg5:checked~.tg-big .g5,#tgg6:checked~.tg-big .g6,#tgg7:checked~.tg-big .g7,#tgg8:checked~.tg-big .g8,#tgg9:checked~.tg-big .g9{opacity:1}
#tgg0:checked~.tg-th label:nth-child(1),#tgg1:checked~.tg-th label:nth-child(2),#tgg2:checked~.tg-th label:nth-child(3),#tgg3:checked~.tg-th label:nth-child(4),
#tgg4:checked~.tg-th label:nth-child(5),#tgg5:checked~.tg-th label:nth-child(6),#tgg6:checked~.tg-th label:nth-child(7),#tgg7:checked~.tg-th label:nth-child(8),
#tgg8:checked~.tg-th label:nth-child(9),#tgg9:checked~.tg-th label:nth-child(10){opacity:1;border-bottom-color:#5aa0ff}
.tg-gal>input:focus-visible~.tg-th{outline:2px solid #ff9415;outline-offset:3px}
.tg-htx h2{font:600 36px/1.23 Montserrat,Arial,sans-serif;margin-top:12px}
.tg-htx ul{list-style:disc;padding-left:20px;margin-top:30px;font-size:19px;line-height:1.63;color:#222}

/* цитаты */
.tg-q{padding:15px 20px 75px}
.tg-q>div{max-width:760px;margin:0 auto;border-left:3px solid var(--tgy);padding:8px 0 8px 22px}
.tg-qt{font-style:italic;font-size:17px;line-height:1.65;color:#222}
.tg-qt p+p{margin-top:28px}
.tg-qs{text-align:right;font-weight:600;font-size:17px;margin-top:28px!important}

/* 4. вам поможет */
.tg-help{padding:60px 20px 105px}
.tg-help ul{max-width:760px;margin:92px auto 0;display:grid;gap:68px}
.tg-help li{display:grid;grid-template-columns:65px 1fr;gap:30px;align-items:start}
.tg-help li img{width:65px;height:65px}
.tg-help h3{font:600 20px/1.35 Montserrat,Arial,sans-serif;margin-top:2px}
.tg-help li p{margin-top:16px;font-size:17px;line-height:1.65;color:#333}
.tg-help .tg-btr{margin-top:105px}
.tg-help .tg-bo{width:336px;padding-inline:20px}

/* 5. на практикуме */
.tg-on{background:var(--tgo);padding:120px 20px 75px;margin-top:90px}
.tg-on ul{max-width:760px;margin:92px auto 0;display:grid;gap:70px}
.tg-on li{display:grid;grid-template-columns:52px 1fr;gap:40px;align-items:center}
.tg-on li img{width:52px;height:52px;filter:invert(1)}
.tg-on li p{color:#fff;font-weight:600;font-size:19px;line-height:1.45}
.tg-on .tg-btr{margin-top:105px}
.tg-on .tg-bw{width:250px;padding-inline:20px}
.tg-on+.tg-q{padding-top:90px}

/* 6. кейсы и отзывы */
.tg-cases{padding:60px 0 60px}
.tg-swipe{text-align:center;font-size:24px;line-height:1.5;margin-top:58px!important;padding-inline:20px}
.tg-vs{column-gap:65px;margin-top:66px}
.tg-vc{width:241px}
.tg .tg-vb{aspect-ratio:9/16;border-radius:30px;background-size:cover;background-color:#222}
.tg .tg-vb::after{width:72px;height:72px}
.tg-ra{max-width:1160px;margin:235px auto 0;padding-inline:20px;display:flex;justify-content:flex-end;gap:5px}
.tg-ra .tg-arr{position:static;margin:0}
.tg-rs{column-gap:20px;margin-top:50px}
.tg-rv{display:block;width:500px}
.tg-rv img{width:500px;height:500px;object-fit:cover;object-position:50% 0;display:block;background:#fdf3dc}

/* 7. тарифы */
.tg-tar{background:var(--tgo);padding:80px 20px 150px;scroll-margin-top:60px;margin-top:100px}
.tg-tsub{max-width:540px;margin:46px auto 0;text-align:center;font-size:24px;line-height:1.5}
.tg-tsub b{font-weight:700}
.tg-tcs{max-width:1160px;margin:110px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:stretch}
.tg-tc{background:#fff;border:1px solid #eee;border-radius:10px;padding:40px 30px 40px;display:flex;flex-direction:column;align-items:center}
.tg-tc h3{font:500 22px/1.35 Montserrat,Arial,sans-serif;text-transform:uppercase;text-align:center}
.tg-td{font-size:14px;line-height:1.55;color:#888;text-align:center;max-width:270px;min-height:66px;margin-top:10px!important}
.tg-td b{font-weight:600;color:#666}
.tg-pr{font:600 42px/1.2 Montserrat,Arial,sans-serif;margin-top:36px!important}
.tg-tc ul{align-self:stretch;margin-top:30px;font-size:16px;line-height:1.56;color:#222}
.tg-gift{align-self:stretch;margin-top:30px!important;font-size:16px;line-height:1.56;color:#222}
.tg-gift b{display:block;text-align:center;color:#000}
.tg-tc .tg-bg{margin-top:auto}
.tg-gift{margin-bottom:40px}

/* 8. частые вопросы */
.tg-faq{padding:90px 20px 0}
.tg-fl{max-width:760px;margin:84px auto 0;border-top:1px solid #e3e3e3}
.tg-faq details{border-bottom:1px solid #e3e3e3}
.tg-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0 27px;font:600 24px/1.35 Montserrat,Arial,sans-serif}
.tg-faq summary::-webkit-details-marker{display:none}
.tg-faq summary i{flex:none;position:relative;width:24px;height:24px;margin-right:8px}
.tg-faq summary i::before,.tg-faq summary i::after{content:"";position:absolute;left:0;top:50%;width:24px;height:1.5px;background:#000;transition:transform .25s}
.tg-faq summary i::after{transform:rotate(90deg)}
.tg-faq details[open] summary i::before{transform:rotate(45deg)}
.tg-faq details[open] summary i::after{transform:rotate(135deg)}
.tg-faq details>div{padding:0 50px 30px 0;font-size:18px;line-height:1.55;color:#222}
.tg-faq details>div p+p{margin-top:14px}

/* 9. ещё не решились */
.tg-last{padding:0 20px 90px}
.tg-last>div{max-width:880px;margin:0 auto;background:#f4f4f4;padding:60px 60px 70px}
.tg-last h2{font:600 28px/1.35 Montserrat,Arial,sans-serif}
.tg-last p{font-size:20px;line-height:1.55;margin-top:31px!important;color:#222}
.tg-last p b{color:#000;font-weight:700}

/* адаптив — как мобильная версия на Тильде */
@media (max-width:1199px){
  .tg-host{grid-template-columns:1fr 1fr}
}
@media (max-width:960px){
  .tg-tcs{grid-template-columns:1fr;max-width:560px}
}
@media (max-width:860px){
  .tg-h{font-size:32px;overflow-wrap:break-word;hyphens:manual}
  .tg-hero{padding:20px 20px 0}
  .tg-hbox{min-height:790px;padding:110px 18px 100px}
  .tg-pre{font-size:15px;line-height:2.8;max-width:330px}
  .tg-hero h1{font-size:34px;margin-top:0}
  .tg-sub{font-size:19px;margin-top:30px!important;max-width:290px}
  .tg-lead{font-size:18px;line-height:1.65;margin-top:36px!important}
  .tg-hero .tg-bw{margin-top:44px;width:316px;min-height:66px;font-size:17px}
  .tg-intro{font-size:22px;line-height:1.45}
  .tg-slw{margin-top:54px;max-width:420px}
  .tg-blocks .tg-sl{padding:0 calc(50% - 141px);scroll-padding-inline:calc(50% - 141px);column-gap:40px}
  .tg-card{width:282px;min-height:748px}
  .tg-card>img{width:282px;height:282px}
  .tg-cb{font-size:14.5px}
  .tg-slw>.tg-arr{width:28px;height:28px;margin-top:-14px}
  .tg-slw>.tg-arr svg{width:16px;height:16px}
  .tg-slw>.tg-arr[data-dir="-1"]{left:6px}.tg-slw>.tg-arr[data-dir="1"]{right:6px}
  .tg-host{grid-template-columns:1fr;max-width:440px;gap:20px;padding-top:60px}
  .tg-th label{width:45px;height:45px}
  .tg-th{gap:5px 5px}
  .tg-htx h2{font-size:36px;margin-top:20px}
  .tg-htx ul{font-size:17px;line-height:1.55}
  .tg-q{padding-bottom:60px}
  .tg-q>div{max-width:440px;padding-left:22px}
  .tg-qt{font-size:15.5px;line-height:1.5}
  .tg-qs{font-size:16px}
  .tg-help{padding-top:40px}
  .tg-help ul{margin-top:56px;gap:44px;max-width:440px}
  .tg-help li{grid-template-columns:56px 1fr;gap:22px}
  .tg-help li img{width:56px;height:56px}
  .tg-help h3{font-size:17.5px}
  .tg-help li p{font-size:15px;line-height:1.55}
  .tg-help .tg-btr{margin-top:56px}
  .tg-help .tg-bo{width:312px;min-height:66px;font-size:17px}
  .tg-on{padding:72px 20px 80px;margin-top:40px}
  .tg-on .tg-h{font-size:36px}
  .tg-on ul{margin-top:60px;gap:56px;max-width:440px}
  .tg-on li{grid-template-columns:44px 1fr;gap:22px}
  .tg-on li img{width:44px;height:44px}
  .tg-on li p{font-size:17px}
  .tg-on .tg-btr{margin-top:56px}
  .tg-on .tg-bw{width:216px;min-height:66px;font-size:17px}
  .tg-cases .tg-h{font-size:30px;line-height:1.3}
  .tg-swipe{font-size:21px;margin-top:40px!important}
  .tg-vs{column-gap:30px;margin-top:60px;padding:0 calc(50% - 136px);scroll-padding-inline:calc(50% - 136px)}
  .tg-vc{width:272px}
  .tg-ra{margin-top:56px;justify-content:center}
  .tg-rs{margin-top:24px;padding:0 20px;scroll-padding-inline:20px}
  .tg-rv{width:calc(100vw - 40px);max-width:400px}
  .tg-rv img{width:100%;height:auto;aspect-ratio:1}
  .tg-tar{padding:80px 20px 60px;margin-top:60px}
  .tg-tar .tg-h{font-size:34px}
  .tg-tsub{font-size:21px;line-height:1.5;margin-top:30px}
  .tg-tcs{margin-top:44px;gap:44px}
  .tg-tc{padding:44px 20px 44px}
  .tg-pr{font-size:36px;margin-top:30px!important}
  .tg-tc ul{font-size:14.5px}
  .tg-gift{font-size:14.5px}
  .tg-tc .tg-bg{min-height:56px;font-size:16px;padding-inline:24px}
  .tg-faq{padding-top:70px}
  .tg-fl{margin-top:56px}
  .tg-faq summary{font-size:22px;padding:22px 0}
  .tg-faq details>div{padding-right:10px;font-size:16px}
  .tg-last{padding:0 0 0}
  .tg-last>div{padding:40px 20px 60px}
  .tg-last p{font-size:17.5px;margin-top:26px!important}
}
@media (max-width:360px){
  .tg-blocks .tg-sl{padding:0 calc(50% - 130px);scroll-padding-inline:calc(50% - 130px)}
  .tg-card{width:260px}
  .tg-card>img{width:260px;height:260px}
  .tg-hero .tg-bw,.tg-help .tg-bo{width:100%}
}
