/* SAYVO — страница «Примеры». Спокойно и дорого. */
:root{--bg:#F3F0EA;--card:#FBFAF7;--ink:#141414;--mute:#6F6A62;--gold:#2F6B5E;--line:rgba(20,20,20,.1);
  --f1:'Cormorant Garamond',Georgia,serif;--f2:'Golos Text',system-ui,sans-serif;--topH:64px;--pad:clamp(16px,4vw,64px)}
body{background:var(--bg);color:var(--ink);font:400 16px/1.5 var(--f2)}
.kicker{font-size:12px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.h1{font:500 clamp(38px,5vw,76px)/1 var(--f1);letter-spacing:-.01em;margin-top:10px}
.h2{font:500 clamp(40px,5vw,72px)/1 var(--f1);margin-top:8px}
.lead{color:var(--mute);margin-top:12px;font-size:clamp(15px,1.2vw,18px);max-width:560px}
.ico{width:22px;height:22px;fill:currentColor;flex:none}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;font:500 15px/1 var(--f2);white-space:nowrap}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.btn .ico{fill:currentColor;stroke:none;width:22px;height:22px}
.btn:hover svg{transform:translateX(3px)}
.btn--sm{min-height:44px;padding:0 18px;font-size:14px}
.btn--big{min-height:64px;padding:0 34px;font-size:17px}
.btn--dark{background:var(--ink);color:#F3F0EA}
.btn--dark:hover{background:#2a2a2a;box-shadow:0 14px 30px rgba(0,0,0,.18)}
.btn--line{border:1px solid var(--ink)}
.btn--line:hover{background:var(--ink);color:#F3F0EA}

.top{position:fixed;inset:0 0 auto;z-index:50}
.top__bar{display:flex;align-items:center;justify-content:space-between;height:var(--topH);padding:0 var(--pad);transition:background-color .4s,box-shadow .4s}
.top.is-scrolled .top__bar{background:rgba(243,240,234,.88);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
.logo{display:inline-flex;align-items:center;min-height:44px;font:600 22px/1 var(--f1);letter-spacing:.32em}
.logo--s{font-size:17px}
.top__r{display:flex;align-items:center;gap:10px}
.lang{display:flex;border:1px solid var(--line);border-radius:999px;padding:0}
.lang button{min-width:44px;min-height:44px;border-radius:999px;font-size:12px;font-weight:600;color:var(--mute);transition:background-color .25s,color .25s}
.lang button[aria-pressed="true"]{background:var(--ink);color:#F3F0EA}

/* ПЕРВЫЙ ЭКРАН + КАРТОЧКИ */
.hero{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:calc(var(--topH) + clamp(10px,3vh,40px)) 0 clamp(20px,3vh,36px)}
.hero__head{padding:0 var(--pad);display:grid;grid-template-columns:auto 1fr;align-items:end;column-gap:40px}
.hero__head .kicker{grid-column:1/-1}
.hero__head .lead{justify-self:end;text-align:right;max-width:340px;margin:0 0 6px}
.ex{margin-top:clamp(20px,4vh,44px);--gap:18px}
.ex__track{padding:0 var(--pad) 8px;scroll-padding:0 var(--pad)}
.ex__card{display:flex;flex-direction:column;background:var(--card);border-radius:22px;overflow:hidden;box-shadow:0 1px 0 var(--line),0 24px 50px -30px rgba(0,0,0,.25);transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s}
.ex__card:hover{transform:translateY(-6px);box-shadow:0 1px 0 var(--line),0 34px 60px -30px rgba(0,0,0,.35)}
.ex__img{display:block;aspect-ratio:10/7;overflow:hidden;background:#e6e1d8}
.ex__img img{width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.ex__card:hover .ex__img img{transform:scale(1.04)}
.ex__b{display:flex;flex-direction:column;padding:clamp(14px,1.6vw,22px);flex:1}
.ex__top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}
.ex__type{color:var(--mute)}
.ex__price{padding:6px 12px;border-radius:999px;background:var(--ink);color:#F3F0EA;font-weight:500;white-space:nowrap}
.ex__price--lite{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.ex__n{font:500 clamp(30px,2.6vw,40px)/1 var(--f1);margin:10px 0 8px}
.ex__f{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:4px;font-size:14px}
.ex__f li{position:relative;padding-left:20px}
.ex__f li::before{content:"";position:absolute;left:2px;top:.5em;width:9px;height:5px;border-left:1.5px solid var(--gold);border-bottom:1.5px solid var(--gold);transform:rotate(-45deg)}
.ex__go{margin-top:auto;align-self:stretch}
.car__btn{background:var(--card);color:var(--ink);box-shadow:0 10px 24px rgba(0,0,0,.14);top:34%}
.hero__note{padding:0 var(--pad);margin-top:14px;font-size:12px;color:var(--mute)}
@media (min-width:900px){
  .ex__track{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible}
  .ex .car__btn{display:none}
  .ex__img{aspect-ratio:10/7}
}
@media (max-width:899px){
  .hero{justify-content:flex-start;padding-top:calc(var(--topH) + 14px)}
  .hero__head{grid-template-columns:1fr}
  .hero__head .lead{justify-self:start;text-align:left;margin-top:8px}
  .h1{font-size:clamp(36px,10vw,52px)}
  .ex{margin-top:16px;--gap:12px}
  .ex__card{width:84vw;max-width:420px}
  .ex__card:hover{transform:none}
  .ex__f{margin-bottom:12px}
}


/* РЕАЛЬНАЯ РАБОТА */
.real{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(20px,4vw,64px);align-items:center;min-height:min(100svh,900px);padding:clamp(40px,8vh,90px) var(--pad)}
.real__img{display:block;border-radius:22px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,0,0,.35)}
.real__img img{width:100%;height:auto;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.real__img:hover img{transform:scale(1.03)}
.real .btn{margin-top:22px}
@media (max-width:899px){.real{grid-template-columns:1fr;min-height:0;gap:18px}.real .btn{width:100%}}

/* ФИНАЛ */
.cta{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:calc(var(--topH) + 20px) var(--pad) 20px;background:var(--ink);color:#F3F0EA}
.cta__t{font:500 clamp(48px,8vw,128px)/.95 var(--f1)}
.cta .lead{color:#B9B2A6;margin-left:auto;margin-right:auto}
.cta .btn--dark{margin-top:clamp(24px,5vh,44px);background:#F3F0EA;color:var(--ink)}
.cta .btn--dark:hover{background:#fff}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 24px;width:100%;margin-top:auto;padding-top:24px;border-top:1px solid rgba(243,240,234,.15);font-size:13px;color:#B9B2A6}
.foot a{display:inline-flex;align-items:center;min-height:44px;color:#F3F0EA;text-decoration:underline;text-underline-offset:3px}
@media (max-width:899px){.cta{padding-bottom:96px}.cta .btn--big{width:100%;padding:0 16px;font-size:16px;white-space:normal;text-align:center}}

.dock--one>*{flex:1}
.dock__b{background:var(--ink);color:#F3F0EA}

/* 4 карточки примеров */
@media (min-width:1200px){.ex__track{grid-template-columns:repeat(4,1fr)!important}.ex__img{aspect-ratio:10/7}.ex__n{font-size:clamp(26px,2.1vw,34px)}}
@media (min-width:900px) and (max-width:1199px){.ex__track{display:flex!important;overflow-x:auto!important}.ex__card{flex:0 0 calc((100% - 36px) / 3)}.ex .car__btn{display:grid}}
.hero__more{color:var(--ink);text-decoration:underline;text-underline-offset:3px;display:inline-flex;min-height:44px;align-items:center}

/* ТАРИФЫ */

/* ---------- тарифы: лестница + макет + иконки ---------- */
.tar{min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:calc(var(--topH) + 14px) var(--pad) 22px;background:#EAE6DE;overflow:hidden}
.tar__in{width:100%;max-width:1320px;margin:0 auto;display:grid;gap:12px;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "lad" "stage" "info" "icons"}
.tar__head{grid-area:head}
.tar .h2{font-size:clamp(32px,4.4vw,64px)}
.lad{grid-area:lad;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;align-items:end}
.lad__s{display:flex;flex-direction:column;justify-content:flex-end;gap:3px;min-height:44px;padding:0;text-align:left;color:var(--mute);transition:color .3s}
.lad__bar{display:block;height:calc(var(--k) * 11px + 6px);border-radius:7px 7px 3px 3px;background:rgba(20,20,20,.1);transform-origin:bottom;transition:background-color .45s,transform .45s cubic-bezier(.3,1.5,.5,1)}
.lad__s.is-on .lad__bar{background:#7FA397}
.lad__s[aria-selected="true"]{color:var(--ink)}
.lad__s[aria-selected="true"] .lad__bar{background:var(--gold);transform:scaleY(1.08)}
.lad__n{font-size:10.5px;font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.lad__p{font-size:11px}
.tst{grid-area:stage;position:relative;width:100%;max-width:760px;justify-self:center;aspect-ratio:16/11;--lt:26%;--sy:-12.5%}
.tst__lap{position:absolute;left:22%;width:56%;top:var(--lt);z-index:2}
.tst__scr{padding:2.4% 2.4% 1.6%;background:#1C1C1C;border-radius:9px 9px 0 0}
.tst__bar{display:none}
.tst__pg{position:relative;overflow:hidden;aspect-ratio:16/10;border-radius:2px;background:#F3EDE3}
.tst__pg img{display:block;width:100%;height:auto;animation:tarPg 14s cubic-bezier(.65,0,.25,1) infinite}
@keyframes tarPg{0%,18%{transform:translateY(0)}25%,43%{transform:translateY(-25%)}50%,68%{transform:translateY(-50%)}75%,93%{transform:translateY(-75%)}100%{transform:translateY(0)}}
.tst__deck{width:116%;margin-left:-8%;aspect-ratio:100/3.4;background:linear-gradient(#DAD6CF,#AFAAA2);border-radius:0 0 40% 40%/0 0 100% 100%}
.tst__sheets{position:absolute;left:22%;width:56%;top:var(--lt);aspect-ratio:16/10.6;z-index:1}
.tsh{position:absolute;inset:0;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(13,27,42,.16);transform-origin:50% 0;opacity:0;transform:scale(.92);transition:transform .8s cubic-bezier(.2,.8,.2,1),opacity .45s;transition-delay:calc((4 - var(--i)) * .09s)}
.tsh img{display:block;width:100%;height:auto}
.tsh__t{position:absolute;top:0;right:0;padding:.35em .8em;border-radius:0 0 0 6px;background:#0D1B2A;color:#fff;font-size:clamp(8px,1.05vw,12px);font-weight:600;line-height:1.1;white-space:nowrap}
.tar[data-k="4"] .tsh{opacity:1;transform:translate(calc(var(--i) * 3.5%),calc(var(--i) * var(--sy))) scale(calc(1 - var(--i) * .025))}
.tw{position:absolute;z-index:3;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 16px 36px rgba(0,0,0,.22),0 0 0 1px rgba(0,0,0,.05);opacity:0;transform:translateY(16%) scale(.94);clip-path:inset(0 0 100% 0 round 7px);transition:opacity .45s,transform .75s cubic-bezier(.2,.8,.2,1),clip-path .75s cubic-bezier(.2,.8,.2,1)}
.tw.is-on{opacity:1;transform:none;clip-path:inset(0 0 0 0 round 7px)}
.tw img{display:block;width:100%;height:auto}
.tw--quiz{left:0;top:3%;width:29%}
.tw--cat{right:0;bottom:2%;width:41%;transition-delay:.12s}
.tw--calc{left:0;bottom:5%;width:41%}
.tchip{position:absolute;z-index:4;display:flex;align-items:center;gap:.35em;padding:.45em .7em;border-radius:999px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.18);font-size:clamp(10px,1.35vw,16px);opacity:0;transform:scale(.5);transition:opacity .3s,transform .5s cubic-bezier(.3,1.6,.5,1)}
.tchip.is-on{opacity:1;transform:none;transition-delay:.45s}
.tchip--dots{right:29%;bottom:35%}
.tchip--dots i{width:1.05em;height:1.05em;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.tchip--price{left:25%;bottom:1%;background:#141414;color:#F3F0EA;font-weight:600}
.tin{grid-area:info;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 14px}
.tin__n{font:500 clamp(30px,3.4vw,54px)/1 var(--f1)}
.tin__ex{font-size:12px;color:var(--mute);margin-top:3px}
.tin__p{font:600 clamp(22px,2.6vw,40px)/1 var(--f2);letter-spacing:-.02em;color:var(--gold)}
.tin__b{display:flex;gap:8px;width:100%}
.tin__b .btn{flex:1;min-height:48px;padding:0 16px}
.tic{grid-area:icons;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:8px 2px}
.tic__i{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:10px;line-height:1.15;opacity:.3;transition:opacity .4s}
.tic__i i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:rgba(20,20,20,.07);transform:scale(.84);transition:background-color .4s,color .4s,transform .55s cubic-bezier(.3,1.7,.5,1)}
.tic__i svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tic__i.is-on{opacity:1}
.tic__i.is-on i{background:var(--gold);color:#fff;transform:none}
@media (min-width:600px){.lad__n{font-size:13px}.lad__p{font-size:13px}.lad__bar{height:calc(var(--k) * 16px + 8px)}.tic__i{font-size:12px}.tst{--lt:24%;--sy:-10.5%}}
@media (min-width:1000px){
  .tar__in{grid-template-columns:minmax(330px,390px) minmax(0,1fr);grid-template-areas:"head stage" "lad stage" "info stage" "icons icons";column-gap:clamp(32px,4vw,72px);row-gap:20px;align-items:end}
  .tar__head{align-self:end}
  .lad{gap:8px}
  .lad__bar{height:calc(var(--k) * 24px + 10px)}
  .tst{align-self:center}
  .tin{flex-direction:column;align-items:flex-start;justify-content:flex-start;align-self:start}
  .tin__b{width:auto}.tin__b .btn{flex:none;min-height:52px;padding:0 24px}
  .tic{grid-template-columns:repeat(14,1fr);gap:8px;padding-top:14px;border-top:1px solid var(--line)}
  .tic__i i{width:44px;height:44px;border-radius:14px}.tic__i svg{width:22px;height:22px}
}
@media (prefers-reduced-motion:reduce){.tst__pg img{animation:none}}
/* в блоке тарифов своя кнопка — нижнюю панель прячем, чтобы не закрывала иконки */
.tar-in .dock.is-on{transform:translate3d(0,140%,0)}
@media (max-width:599px){
  .tar{padding-bottom:16px}
  .tar__in{gap:10px}
  .tar .h2{font-size:29px;margin-top:4px}
  .lad__bar{height:calc(var(--k) * 9px + 5px)}
  .tin__n{font-size:27px}
  .tin__p{font-size:21px}
  .tin__b .btn{min-height:46px}
  .tic{gap:6px 2px}
}
@media (min-width:1000px){.tar__in{grid-template-columns:minmax(360px,440px) minmax(0,1fr)}.tst{max-width:940px}}
@media (min-width:1000px){.tar .h2{font-size:clamp(40px,3.4vw,56px);white-space:nowrap}}
/* первый экран и тарифы помещаются в экран телефона/планшета целиком */
@media (max-width:599px){.hero{padding-top:calc(var(--topH) + 6px);padding-bottom:12px}.hero .ex{margin-top:14px}.hero__head .lead{margin-top:8px}}
@media (min-width:600px) and (max-width:999px){.tar{padding-top:calc(var(--topH) + 6px);padding-bottom:12px}.tar__in{gap:10px}}
@media (min-width:1000px) and (max-height:960px){.hero{padding-top:calc(var(--topH) + 8px);padding-bottom:14px}.hero .ex{margin-top:18px}}

@media (max-width:599px){.tic{gap:8px 4px}.tic__i{font-size:9px;letter-spacing:-.02em;min-width:0}.tic__i span{max-width:100%}.tic__i i{width:32px;height:32px;border-radius:10px}.tic__i svg{width:17px;height:17px}}
