@font-face{font-family:InterTight;src:url('/fonts/InterTight-Regular.ttf');font-display:swap}
@font-face{font-family:InterTight;src:url('/fonts/InterTight-SemiBold.ttf');font-weight:600;font-display:swap}
@font-face{font-family:InterTight;src:url('/fonts/InterTight-Bold.ttf');font-weight:700;font-display:swap}
@font-face{font-family:InterTight;src:url('/fonts/InterTight-Italic.ttf');font-style:italic;font-display:swap}

:root{
  --ink:#302c2a;--paper:#f7f4f0;--card:#fff;--taupe:#887067;--soft:#e2d5c4;--mist:#f2edea;
  --muted:#746b65;--line:rgba(48,44,42,.12);--ease:cubic-bezier(.16,1,.3,1);
  font-family:InterTight,Arial,sans-serif;color:var(--ink);background:var(--paper);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);overflow-x:hidden}
img,video{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.03em;line-height:1.02}
h1 em,h2 em{font-style:italic;font-weight:400;color:var(--taupe)}
p{margin:0;line-height:1.55}
button{font:inherit;color:inherit}
.container{width:min(1080px,calc(100% - 32px));margin:0 auto}
.eyebrow{display:block;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--taupe)}
.muted{color:var(--muted)}

.cta{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:0 30px;border:0;border-radius:999px;
  background:var(--ink);color:#fff;font-size:16px;font-weight:600;text-decoration:none;cursor:pointer;
  box-shadow:0 18px 40px -22px rgba(45,38,34,.8);transition:transform .3s var(--ease)}
.cta:hover{transform:translateY(-2px)}
.cta.light{background:#fff;color:var(--ink)}

/* шапка */
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(1080px,calc(100% - 32px));margin:0 auto;padding:18px 0}
.top .logo{height:15px;width:auto;filter:brightness(0);opacity:.82}
.top-note{font-size:12px;color:var(--muted)}

/* квиз */
.quiz{width:min(1080px,calc(100% - 32px));margin:0 auto;min-height:calc(100svh - 60px);display:flex;padding-bottom:24px}
.screen{display:none;width:100%}
.screen.is-active{display:flex}
.fade{animation:fade .45s var(--ease)}
@keyframes fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

[data-screen="start"]{flex-direction:column;gap:22px}
.start-visual{border-radius:28px;overflow:hidden;background:var(--mist);aspect-ratio:4/3}
.start-visual img{width:100%;height:100%;object-fit:cover;object-position:center 75%}
.start-copy{display:flex;flex-direction:column;gap:16px}
.start-copy h1{font-size:clamp(34px,8.6vw,64px)}
.lead{font-size:18px;color:var(--muted);max-width:520px}
.start-copy .cta{align-self:stretch;margin-top:6px}

[data-screen="question"]{flex-direction:column;gap:26px;padding-top:12px;max-width:640px;margin:0 auto}
.progress{display:flex;align-items:center;gap:14px}
.back{width:42px;height:42px;flex:none;border:1px solid var(--line);border-radius:50%;background:var(--card);cursor:pointer}
.bar{flex:1;height:4px;border-radius:4px;background:var(--soft);overflow:hidden}
.bar i{display:block;height:100%;width:20%;background:var(--taupe);transition:width .4s var(--ease)}
.count{font-size:13px;color:var(--muted);min-width:34px;text-align:right}
.q-title{font-size:clamp(28px,7vw,44px)}
.options{display:grid;gap:10px}
.option{display:flex;align-items:center;min-height:62px;padding:16px 20px;border:1px solid var(--line);border-radius:20px;
  background:var(--card);text-align:left;font-size:17px;line-height:1.3;cursor:pointer;transition:border-color .2s,background .2s,transform .2s var(--ease)}
.option:hover{border-color:var(--taupe)}
.option:active{transform:scale(.99)}
.option.is-picked{background:var(--ink);border-color:var(--ink);color:#fff}

[data-screen="loading"]{flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:60svh}
.loader{display:flex;gap:8px}
.loader i{width:10px;height:10px;border-radius:50%;background:var(--taupe);animation:dot 1s infinite ease-in-out}
.loader i:nth-child(2){animation-delay:.15s}.loader i:nth-child(3){animation-delay:.3s}
@keyframes dot{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:none}}
.loading-text{color:var(--muted)}

/* результат */
.after section{padding:56px 0}
.after h2{font-size:clamp(30px,7vw,52px);margin-bottom:22px}
.result{padding-top:16px!important}
.result .eyebrow{margin-bottom:14px}
.result-grid{display:grid;gap:24px}
.result-copy h2{font-size:clamp(30px,7.4vw,50px)}
.result-copy p{font-size:17px;color:#4f4843;margin-bottom:14px}
.also{padding:16px 18px;border-radius:18px;background:var(--mist);color:var(--ink)!important;font-weight:600}
.flag{padding-left:16px;border-left:2px solid var(--taupe)}
.result-img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:28px}

.stages{margin:0 8px;border-radius:32px;background:linear-gradient(150deg,#34312e,#24211f);color:#fff}
.stages h2 em{color:var(--soft)}
.stages-lead{color:rgba(255,255,255,.7);margin-bottom:18px}
.stage-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.stage-list li{display:flex;gap:14px;align-items:center;padding:10px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:rgba(255,255,255,.05)}
.stage-list img{width:84px;height:84px;flex:none;border-radius:16px;object-fit:cover}
.stage-list h3{font-size:17px;letter-spacing:-.01em;margin-bottom:4px}
.stage-list p{font-size:14px;color:rgba(255,255,255,.65)}
.stage-list .tag{display:none;margin-bottom:6px;padding:3px 10px;border-radius:999px;background:var(--soft);color:var(--ink);font-size:11px;font-weight:600;letter-spacing:.04em}
.stage-list li.is-mine{border-color:var(--soft);background:rgba(226,213,196,.12)}
.stage-list li.is-mine .tag{display:inline-block}
.stages-note{margin-top:20px;color:rgba(255,255,255,.8);font-size:17px}

.offer-card{display:flex;flex-direction:column;gap:14px;padding:28px 22px;border-radius:30px;background:var(--card);box-shadow:0 30px 70px -45px rgba(55,42,35,.55)}
.offer-card h2{font-size:clamp(26px,6.4vw,40px);margin:0}
.offer-card p{color:var(--muted)}
.price{display:flex;align-items:baseline;gap:14px;margin-top:6px}
.price strong{font-size:46px;letter-spacing:-.04em;line-height:1}
.price s{color:var(--muted);font-size:20px}
.price-note{color:var(--ink)!important}
.offer-card small{color:var(--muted);font-size:13px;text-align:center}

.video video{width:100%;max-width:420px;margin:0 auto;border-radius:28px;aspect-ratio:9/16;object-fit:cover;background:#ddd}

.slider{position:relative}
.track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.track::-webkit-scrollbar{display:none}
.track>*{flex:0 0 84%;scroll-snap-align:start}
.results .track img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:24px}
.results .muted{margin:-10px 0 18px}
.slider-nav{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}
.slider-nav button{width:48px;height:48px;border:1px solid var(--line);border-radius:50%;background:var(--card);cursor:pointer;font-size:18px}

.specialist{display:flex;gap:18px;align-items:center}
.specialist img{width:96px;height:96px;flex:none;border-radius:50%;object-fit:cover}
.specialist h3{font-size:22px;margin:6px 0 8px}
.specialist p{color:var(--muted);font-size:15px}

.reviews article{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--card)}
.reviews article h3{font-size:16px;letter-spacing:0}
.reviews article p{font-size:15px;color:#4f4843}
.stars{color:var(--taupe);letter-spacing:2px}
.link{display:inline-block;margin-top:18px;color:var(--taupe);font-weight:600;text-decoration:none}

.faq details{border:1px solid var(--line);border-radius:20px;background:var(--card);margin-bottom:10px}
.faq summary{padding:18px 48px 18px 20px;font-weight:600;font-size:16px;cursor:pointer;list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);color:var(--taupe);font-size:20px}
.faq details[open] summary::after{content:"−"}
.faq details p{padding:0 20px 18px;color:var(--muted)}

.final{text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px;margin-bottom:24px!important;
  padding:48px 22px!important;border-radius:32px;background:linear-gradient(150deg,#34312e,#24211f);color:#fff}
.final h2{margin:0!important}
.final h2 em{color:var(--soft)}
.restart{background:none;border:0;color:rgba(255,255,255,.65);text-decoration:underline;cursor:pointer;font-size:14px}

.site-footer{margin-top:8px;padding:64px clamp(24px,5vw,72px) 0;border-radius:56px 56px 0 0;background:linear-gradient(145deg,#302d2a,#252321 58%,#1f1d1b);color:#fbfaf8;overflow:hidden}
.footer-brand-row,.footer-directory,.footer-travel,.footer-bottom{width:min(1320px,100%);margin-left:auto;margin-right:auto}
.footer-brand-row{display:flex;align-items:end;justify-content:space-between;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.1)}
.site-footer a{text-decoration:none}
.site-footer h4{margin:0 0 20px;color:#c6bcad;font-size:11px;letter-spacing:.18em;text-transform:uppercase}
.footer-brand-row p,.footer-directory p,.footer-directory a{margin:0 0 10px;color:rgba(255,255,255,.58);font-size:14px}
.footer-socials{display:flex;flex-wrap:wrap;gap:12px}
.footer-socials a{display:grid;width:46px;height:46px;place-items:center;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;transition:.25s var(--ease)}
.footer-socials a:hover{transform:translateY(-2px);background:rgba(255,255,255,.14)}
.footer-socials svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.footer-socials svg .fill{fill:currentColor;stroke:none}
.footer-directory{display:grid;grid-template-columns:.8fr 1.5fr 1fr;gap:70px;margin-top:38px}
.footer-nav a,.footer-contacts a{display:block;margin-bottom:10px}
.footer-travel{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:40px}
.footer-travel>a{display:grid;grid-template-columns:1fr auto;align-items:center;min-height:82px;padding:14px 18px 14px 24px;border-radius:26px;color:#fff}
.footer-travel b,.footer-travel small{display:block}
.footer-travel small{margin-top:4px;font-size:11px;opacity:.7}
.footer-travel img{width:46px;height:46px;object-fit:contain;border-radius:14px}
.route-2gis{background:linear-gradient(135deg,#21b35b,#139744)}
.footer-travel>a.route-yandex{background:linear-gradient(135deg,#ffd600,#f4be00);color:#171717}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:36px;color:rgba(255,255,255,.45);font-size:12px}
.footer-bottom a{color:rgba(255,255,255,.45)}
.footer-wordmark{margin-top:20px;overflow:hidden}
.footer-wordmark img{width:100%;height:auto;transform:translateY(16%)}
@media(max-width:900px){.footer-directory{grid-template-columns:1fr 1fr}.footer-about{grid-column:1/-1;grid-row:2}}
@media(max-width:700px){.site-footer{padding:50px 22px 0;border-radius:34px 34px 0 0}.footer-brand-row{display:grid;gap:24px}.footer-directory{grid-template-columns:1fr 1fr;gap:34px 20px}.footer-about{grid-column:1/-1}.footer-travel{grid-template-columns:1fr}.footer-bottom{display:grid}}
body.has-sticky .site-footer{padding-bottom:84px}

.sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(to top,var(--paper) 60%,rgba(247,244,240,0))}
.sticky .cta{width:100%}

@media (min-width:860px){
  .top{padding:26px 0}
  [data-screen="start"]{flex-direction:row;align-items:center;gap:56px}
  .start-visual{flex:1;aspect-ratio:1}
  .start-copy{flex:1}
  .start-copy .cta{align-self:flex-start}
  .after section{padding:96px 0}
  .result-grid{grid-template-columns:1.15fr .85fr;align-items:start;gap:56px}
  .stages{margin:0 16px;border-radius:44px}
  .stage-list{grid-template-columns:repeat(5,1fr)}
  .stage-list li{flex-direction:column;align-items:flex-start}
  .stage-list img{width:100%;height:auto;aspect-ratio:1}
  .offer-card{max-width:720px;margin:0 auto;padding:44px}
  .track>*{flex-basis:calc((100% - 24px)/3)}
  .sticky{display:none}
}
