/* Photo and a short path through the service, after the first screen. */
.how-it-works {margin-top:58px;padding:30px;border:1px solid #dfe4dc;border-radius:24px;background:#fff}
.homepage .how-it-works>h2 {font-size:32px;line-height:1.2;font-weight:600;text-align:center;letter-spacing:-.04em;margin:0 0 28px}
.how-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);align-items:center;gap:48px}
.how-photo {position:relative;min-width:0;height:328px;overflow:hidden;border-radius:17px;background:#edf1e8}
.how-scene {display:block;width:100%;height:100%;object-fit:cover;object-position:65% 45%}
.how-child {position:absolute;left:18px;top:18px;display:flex;align-items:center;gap:10px;padding:11px 13px;background:#fff;border-radius:12px;box-shadow:0 4px 18px #27332917}
.how-child-icon {display:grid;place-items:center;width:34px;height:36px;flex-shrink:0;border-radius:9px;background:#f8e174;color:#71602d}
.how-child-icon>.icon {width:25px;height:25px;stroke-width:1.4}
.how-child strong {display:block;font-size:16px;line-height:1.35;font-weight:600;letter-spacing:-.025em}
.how-child strong span {margin-left:7px;font-size:12px;font-weight:400;color:var(--ink-soft)}
.how-child small {font-size:12px;line-height:1.4;color:var(--ink-soft)}
.how-question,.how-answer {position:absolute;max-width:67%;padding:12px 15px;box-shadow:0 4px 16px #26312614}
.how-question {top:36%;left:18px;background:#fff;border-radius:12px 12px 12px 3px}
.how-answer {bottom:18px;left:44px;max-width:73%;background:var(--terracotta);color:#fff;border-radius:12px 12px 3px 12px}
.how-question small,.how-answer small {display:block;font-size:11px;line-height:1.4;margin-bottom:4px;color:#6b7266}
.how-answer small {color:#fff2d8}
.how-question p,.how-answer p {font-size:15px;line-height:1.45}
.how-process {min-width:0}
.how-steps {display:grid;gap:23px;list-style:none;margin:0;padding:0}
.how-steps li {display:grid;grid-template-columns:32px minmax(0,1fr);gap:15px;position:relative}
.how-steps li:not(:last-child)::after {content:"";position:absolute;top:31px;left:15.5px;width:1px;height:calc(100% - 7px);background:#cfdac7}
.how-number {z-index:1;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px;font-weight:550}
.how-steps h3 {font-size:21px;line-height:1.25;font-weight:600;letter-spacing:-.03em;margin:2px 0 7px}
.how-steps p {font-size:16px;line-height:1.5;color:var(--ink-soft)}
.homepage .how-cta {display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:50px;margin-top:24px;padding:12px 18px;border:1px solid transparent;border-radius:13px;font-size:16px;text-align:left}
.how-cta>.icon {width:20px;height:20px}
.how-mamsovet {display:flex;align-items:flex-start;gap:11px;margin-top:24px;font-size:14px;line-height:1.5;color:var(--ink-soft)}
.how-mamsovet>.icon {width:20px;height:20px;color:#5c7050;flex-shrink:0}
.how-mamsovet strong {font-weight:550;color:var(--ink)}
@media(max-width:1150px) {
  .how-it-works {padding:26px}
  .how-layout {gap:32px}
  .how-steps h3 {font-size:19px}
  .how-steps p {font-size:15px}
  .how-question p,.how-answer p {font-size:14px}
}
@media(max-width:900px) {
  .how-layout {gap:26px}
  .how-photo {height:320px}
  .how-question,.how-answer {padding:11px 13px;max-width:77%}
  .how-question {left:13px}
  .how-answer {left:28px}
  .how-child {left:13px;top:14px;padding:10px 11px;gap:8px}
  .how-child strong {font-size:15px}
  .how-child strong span {font-size:11px}
  .how-child small {font-size:11px}
  .how-steps {gap:19px}
  .how-steps li {gap:12px}
  .how-steps h3 {font-size:18px}
  .how-steps p {font-size:14px}
}
@media(max-width:760px) {
  .how-it-works {margin-top:43px;padding:0;border:0;border-radius:0}
  .homepage .how-it-works>h2 {font-size:28px;text-align:left;margin-bottom:20px}
  .how-layout {grid-template-columns:1fr;gap:22px}
  .how-photo {width:100%;max-width:520px;height:230px;justify-self:center;border-radius:15px}
  .how-child {left:12px;top:12px;padding:8px 11px;gap:8px}
  .how-child-icon {width:28px;height:30px}
  .how-child-icon>.icon {width:22px;height:22px}
  .how-child strong {font-size:14px}
  .how-child small,.how-child strong span {font-size:11px}
  .how-question,.how-answer {padding:9px 12px;max-width:67%}
  .how-question {left:12px;top:35%}
  .how-answer {left:34px;bottom:12px;max-width:74%}
  .how-question p,.how-answer p {font-size:13px;line-height:1.4}
  .how-question small,.how-answer small {font-size:10px;margin-bottom:3px}
  .how-steps {gap:15px}
  .how-steps li {grid-template-columns:27px minmax(0,1fr);gap:11px}
  .how-number {width:27px;height:27px;font-size:11px}
  .how-steps li:not(:last-child)::after {top:26px;left:13px;height:calc(100% - 2px)}
  .how-steps h3 {font-size:17px;line-height:1.3;margin:1px 0 4px}
  .how-steps p {font-size:14px;line-height:1.4}
  .homepage .how-cta {min-height:48px;margin-top:18px;padding:11px 16px;font-size:15px}
  .how-mamsovet {margin-top:18px;font-size:13px;gap:9px;line-height:1.45}
  .how-mamsovet>.icon {width:18px;height:18px}
}
@media(max-width:480px) {
  .how-it-works {margin-top:36px}
  .homepage .how-it-works>h2 {font-size:27px;margin-bottom:18px}
  .how-layout {gap:19px}
  .how-photo {height:190px}
  .how-child {padding:7px 10px}
  .how-question {top:35%;max-width:65%}
  .how-answer {max-width:76%}
  .how-question p,.how-answer p {font-size:12px}
  .how-reply-intro {display:none}
  .how-steps {gap:13px}
  .how-steps h3 {font-size:16px;line-height:1.25;margin:2px 0 4px}
  .homepage .how-cta {margin-top:16px}
  .how-mamsovet {margin-top:16px}
}
@media(max-width:360px) {
  .how-photo {height:210px}
}
