/* «Как работает Snimo» (how.php). Только токены base.css — светлая и тёмная тема автоматически. */
.hw{padding-bottom:var(--s600)}
.hw h2{font-size:28px;line-height:34px;letter-spacing:-.02em}
.hw h3{font-size:17px;line-height:24px}
.hw p{color:var(--ink-2)}
.hw-n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:600;background:var(--ink);color:var(--bg)}

/* первый экран */
.hw-hero{display:grid;gap:var(--s400);padding-block:var(--s500) var(--s400);align-items:center}
.hw-hero-txt{display:flex;flex-direction:column;gap:var(--s300)}
.hw-hero h1{font-size:36px;line-height:40px;letter-spacing:-.03em;max-width:700px}
.hw-cta{display:flex;flex-wrap:wrap;gap:var(--s100)}
.hw-hero-img{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:var(--s100);aspect-ratio:1/1;max-height:560px}
.hw-hero-img picture{border-radius:var(--r);overflow:hidden;background:var(--surface)}
.hw-hero-img picture:nth-child(2){transform:translateY(var(--s400))}.hw-hero-img picture:nth-child(4){transform:translateY(var(--s400))}
.hw-hero-img img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:767px){.hw-hero-img{display:none}.hw-cta .btn{flex:1 1 100%}}
@media(min-width:900px){.hw-hero{grid-template-columns:1.25fr 1fr;padding-block:var(--s700) var(--s500)}.hw-hero h1{font-size:54px;line-height:56px}}

/* секции */
.hw-sec{padding-block:var(--s500);border-top:1px solid var(--line-2)}
.hw-head{display:flex;flex-direction:column;gap:var(--s100);margin-bottom:var(--s400);max-width:760px}
.hw-ideas{list-style:none;margin:0;padding:0;display:grid;gap:var(--s300)}
.hw-ideas li{display:flex;flex-direction:column;gap:var(--s75)}
.hw-ic{width:44px;height:44px;border-radius:var(--r);display:grid;place-items:center;background:var(--red-soft);color:var(--red-text);margin-bottom:var(--s50)}
.hw-ic .i{width:24px;height:24px}
@media(min-width:640px){.hw-ideas{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.hw-ideas{grid-template-columns:repeat(3,1fr);gap:var(--s400) var(--s500)}}

/* путь клиента и фотографа */
.hw-band{background:var(--surface);padding-block:var(--s500)}
.hw-band-h{margin-bottom:var(--s300)}
.hw-tabs{display:flex;gap:var(--s75);margin-bottom:var(--s300)}
.hw-tabs a{padding:8px 14px;border-radius:999px;border:1px solid var(--line);color:var(--ink);font-size:14px;text-decoration:none}
.hw-tabs a:hover{background:var(--hover)}
@media(min-width:900px){.hw-tabs{display:none}}
.hw-paths{display:grid;gap:var(--s300)}
@media(min-width:900px){.hw-paths{grid-template-columns:1fr 1fr}}
.hw-path{display:flex;flex-direction:column;gap:var(--s200);padding:var(--s400) var(--s300);scroll-margin-top:calc(var(--top-h) + 16px);background:var(--paper)}
.hw-path h3{font-size:24px;line-height:30px}
.hw-sub{margin-top:calc(-1 * var(--s100))}
.hw-path>.btn{align-self:flex-start;margin-top:auto}
.hw-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s200)}
.hw-steps li{display:flex;gap:var(--s200);position:relative}
.hw-steps li:not(:last-child)::after{content:"";position:absolute;left:13.5px;top:32px;bottom:calc(-1 * var(--s200) + 4px);width:1px;background:var(--line)}
.hw-steps b{display:block;font-size:15px;line-height:22px;margin-top:3px}
.hw-steps p{font-size:14px;line-height:20px;margin-top:2px}

/* сделка */
.hw-deal{list-style:none;margin:0;padding:0;display:grid;gap:var(--s300)}
.hw-deal li{display:flex;gap:var(--s200)}
.hw-deal h3{margin-top:2px}
.hw-deal p{margin-top:var(--s50);font-size:15px;line-height:22px}
@media(min-width:900px){.hw-deal{grid-template-columns:1fr 1fr;gap:var(--s400) var(--s500)}}

/* деньги */
.hw-money-grid{display:grid;gap:var(--s200)}
.hw-money-grid .card{padding:var(--s300);display:flex;flex-direction:column;gap:var(--s75)}
.hw-money-grid a{color:var(--ink);font-weight:500;margin-top:auto}
.hw-big{font-size:32px;line-height:38px;font-weight:600;letter-spacing:-.02em;color:var(--ink)!important}
@media(min-width:800px){.hw-money-grid{grid-template-columns:repeat(3,1fr)}}

/* вопросы */
.hw-faq{display:flex;flex-direction:column;gap:var(--s100);max-width:860px}
.hw-faq details{padding:0}
.hw-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:var(--s200);align-items:center;padding:var(--s200);font-weight:500;font-size:16px;line-height:22px}
.hw-faq summary::-webkit-details-marker{display:none}
.hw-faq summary .i{flex:none;width:18px;height:18px;transition:transform .2s var(--ease)}
.hw-faq details[open] summary .i{transform:rotate(180deg)}
.hw-faq details p{padding:0 var(--s200) var(--s200)}

.hw-end{padding-block:var(--s500);border-top:1px solid var(--line-2);display:flex;flex-direction:column;gap:var(--s300);align-items:flex-start}
