/* Финал. Секции главной. Сетка: 12 колонок, контейнер 1120, межколонник 32. */

.sec { padding-block: var(--sec); }
.sec--g7 { background: var(--g7); }
.sec--g8 { background: var(--g8); }

/* ================= ПЕРВЫЙ ЭКРАН — строго под экран ================= */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--haze); color: var(--ink); padding: var(--hdr) 0 var(--s6); }
.hero__media { position: relative; height: clamp(220px, 42svh, 440px); }
.hero__photo { position: absolute; inset: 0; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform-origin: 50% 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 0 64%, transparent 96%); mask-image: linear-gradient(180deg, #000 0 64%, transparent 96%); }
.sig--hero { position: absolute; z-index: 1; right: 8%; bottom: 20%; height: 84px; width: auto; }
.sig--hero path { stroke-width: 11; }
.hero__grid { position: relative; margin-top: calc(-1 * var(--s5)); }
.hero__eyebrow { font-size: var(--fs-cap); line-height: 1.5; font-weight: 500; color: var(--ink-2); }
.hero__title { margin-top: var(--s2); font-family: var(--f-serif); font-size: calc(clamp(2rem, 1.3rem + 2.6vw, 3.75rem) * var(--k-h)); line-height: 1.02; font-weight: var(--w-h); letter-spacing: var(--ls-h); text-wrap: balance; }
.hero__pre { display: block; margin-bottom: .22em; font-family: var(--f-sans); font-size: .38em; line-height: 1.2; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.hero .gw { color: var(--gold-disp); }
.hero__lead { margin-top: var(--s4); font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
@media (max-width: 767px) {
  .hero__copy { display: flex; flex-direction: column; }
  .hero__actions { order: 3; }
  .hero__lead { order: 4; }
  .hero__actions .btn { flex: 1 1 0; padding-inline: var(--s4); }
}
@media (min-width: 768px) {
  .hero { height: 100svh; display: flex; align-items: center; padding: var(--hdr) 0 0; }
  /* фото справа, текст слева. Фото отражено по горизонтали, чтобы корпус был развёрнут к тексту, а не за край (согласовать) */
  .hero__media { position: absolute; z-index: -1; top: var(--hdr); bottom: 0; right: 0; width: calc(50% + 40px); height: auto; }
  .hero__photo { transform: scaleX(-1); }
  .hero__photo img { object-position: 50% 0%;
    -webkit-mask-image: linear-gradient(90deg, #000 0 64%, transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--s3));
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, #000 0 64%, transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--s3));
    mask-composite: intersect; }
  .sig--hero { left: auto; right: 44%; bottom: 5%; height: clamp(88px, 17vh, 190px); }
  .sig--hero path { stroke-width: 8; }
  .hero__grid { margin-top: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .hero__copy { grid-column: 1 / span 7; }
  .hero__eyebrow { font-size: clamp(.8125rem, .7rem + .3vw, .9375rem); }
  .hero__title { margin-top: clamp(8px, 1.6vh, 16px); font-size: calc(clamp(2rem, min(4.3vw, 7.4vh), 4.25rem) * var(--k-h)); }
  .hero__lead { margin-top: clamp(12px, 2.4vh, 24px); font-size: clamp(1rem, min(1.35vw, 2.5vh), 1.25rem); }
  .hero__actions { margin-top: clamp(16px, 4vh, 40px); }
}
@media (min-width: 960px) { .hero__lead, .hero__actions { padding-left: var(--s7); } .hero__copy { grid-column: 1 / span 6; } }
@media (min-width: 768px) and (max-height: 540px) { .hero__lead { display: none; } }

/* ================= ОБО МНЕ ================= */
.faq__grid > *, .contacts__grid > * { min-width: 0; }
.tabs__list { position: relative; display: flex; gap: var(--s5); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-d); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { flex: none; min-height: 48px; font-weight: 500; color: var(--t-d2); transition: color 200ms ease; }
.tabs__list button[aria-selected="true"] { color: var(--t-d); }
@media (hover: hover) and (pointer: fine) { .tabs__list button:hover { color: var(--t-d); } }
.tabs__ind { position: absolute; left: 0; bottom: 0; width: 1px; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 340ms var(--ease-out); }
.tabs__panels { margin-top: var(--s3); }
.fl li { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--line-d); }
.fl b { min-width: 11em; font-weight: 500; color: var(--t-d); }
.fl span { color: var(--t-d2); }
.fl a { color: var(--gold-hi); text-underline-offset: 3px; }
.fl--y b { min-width: 5em; font: 500 1.125rem/1.2 var(--f-num); color: var(--gold-hi); }
.docs { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s5); }
.doc { display: flex; flex-direction: column; gap: var(--s2); width: 112px; text-align: left; }
.doc__plate { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; border: 1px solid var(--line-d); border-radius: var(--r-sm); background: var(--g6); color: var(--t-d2); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; transition: transform 250ms var(--ease-out), border-color 200ms ease; }
.doc__t { font-size: var(--fs-cap); line-height: 1.3; color: var(--t-d2); }
@media (hover: hover) and (pointer: fine) { .doc:hover .doc__plate { transform: translateY(-3px); border-color: var(--gold); } }
.doc-big { display: grid; place-items: center; margin-top: var(--s5); aspect-ratio: 3 / 4; max-height: 64vh; margin-inline: auto; border-radius: var(--r-sm); background: #DEDBD5; color: var(--ink-2); letter-spacing: .12em; text-transform: uppercase; }

/* ================= НАПРАВЛЕНИЯ: переключатель Физлицам / Бизнесу ================= */
.tiles { display: grid; gap: var(--s3); margin-top: var(--gap-h); }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: var(--s4); height: 100%; min-height: 80px; padding: var(--s4) var(--s5); border: 1px solid var(--line-d); border-radius: var(--r-card); color: var(--t-d); text-decoration: none; }
.tile b { font-size: 1.125rem; line-height: 1.3; font-weight: 500; }
.tile__fill { position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .06); transform: translateY(101%); }
.tile__go { margin-left: auto; color: var(--gold-hi); opacity: 0; transform: translateX(-6px); transition: opacity 200ms ease, transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  a.tile:hover .ico { background: var(--gold); color: var(--ink); }
  a.tile:hover .tile__go { opacity: 1; transform: none; }
  .no-gsap a.tile:hover .tile__fill { transform: none; }
}
.tile:focus-visible .tile__fill { transform: none; }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); } .tile b { font-size: var(--fs-h3); } }

/* ================= СРОЧНО ================= */
.urgent { background: var(--g9); padding-block: var(--s5); }
.urgent__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); }
.urgent__text { color: var(--t-d2); font-size: var(--fs-lead); }
.urgent__text strong { color: var(--gold-hi); font-weight: 500; }
.urgent__tag { display: inline-block; margin-right: var(--s3); padding: 0 var(--s2); border-radius: var(--r-sm); background: var(--gold); color: var(--ink); font-size: var(--fs-cap); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.7; vertical-align: 2px; }

/* ================= КОНСУЛЬТАЦИЯ ================= */
.prices__row { display: grid; gap: var(--s5); margin-top: var(--s7); }
.price { padding-top: var(--s5); border-top: 1px solid var(--line-d); }
.price__n { font: 400 var(--fs-num)/1 var(--f-num); letter-spacing: -.01em; color: var(--t-d); white-space: nowrap; }
.price__n small { margin-right: var(--s1); font: 400 var(--fs-lead)/1 var(--f-sans); color: var(--t-d2); }
.price__n--word { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.1; white-space: normal; }
.price__c { margin-top: var(--s3); color: var(--t-d2); }
.free { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s5); border-radius: var(--r-card); background: var(--gold); color: var(--ink); }
.free__d { font: 500 1.375rem/1 var(--f-num); }
.free__d span { margin-right: var(--s2); font-size: var(--fs-num); }
.prices__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); margin-top: var(--s6); }
@media (min-width: 768px) { .prices__row { grid-template-columns: 1fr 1fr; } .free { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: var(--s6); } .free .btn { margin-left: auto; } }
@media (min-width: 1100px) { .prices__row { grid-template-columns: 1fr 1fr 1fr; } .free { grid-column: auto; flex-direction: column; align-items: flex-start; gap: var(--s3); } .free .btn { margin-left: 0; } }

/* ================= КЕЙСЫ ================= */
.cases__grid { display: grid; gap: var(--s5); margin-top: var(--gap-h); }
.case { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line-d); border-top: 2px solid var(--gold); border-radius: var(--r-card); background: var(--g8); }
.case__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.case__tag { color: var(--gold-hi); font-weight: 500; }
.case h3 { color: var(--t-d); }
.case__r { margin-top: auto; color: var(--t-d2); }
.cases .more { margin-top: var(--s5); }
@media (min-width: 768px) { .cases__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ================= ВОПРОСЫ ================= */
:root { interpolate-size: allow-keywords; }
.faq__grid { display: grid; gap: var(--s6); }
.faq__side .more { margin-top: var(--s4); }
.qa { border-bottom: 1px solid var(--line-d); }
.qa:first-child { border-top: 1px solid var(--line-d); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 64px; padding-block: var(--s4); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { color: var(--t-d); }
.qa__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid rgba(201, 180, 142, .5); border-radius: 50%; color: var(--gold-hi); transition: transform 250ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.qa[open] .qa__ico { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover h3 { color: var(--gold-hi); } }
.qa__a { padding: 0 var(--s7) var(--s5) 0; color: var(--t-d2); max-width: 44em; }
.qa::details-content { height: 0; overflow: clip; transition: height 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
.qa[open]::details-content { height: auto; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .faq__side { grid-column: 1 / span 4; }
  .faq__list { grid-column: 6 / -1; }
}

/* ================= КОНТАКТЫ ================= */
.contacts__grid { display: grid; gap: var(--s7); }
.bigphone { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s5); font-size: var(--fs-h2); line-height: 1.1; font-weight: 500; letter-spacing: -.01em; color: var(--gold-hi); text-decoration: none; white-space: nowrap; }
.msgs { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.msg { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5); border: 1.5px solid color-mix(in srgb, var(--t-d) 30%, transparent); border-radius: var(--r-pill); font-weight: 500; text-decoration: none; transition: border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.msg .i { color: var(--gold-hi); }
.msg:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .msg:hover { border-color: var(--gold); color: var(--gold-hi); } }
.cinfo { display: grid; gap: var(--s3); margin-top: var(--s6); }
.cinfo div { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; }
.cinfo dt .i { color: var(--gold-hi); margin-top: 3px; }
.cinfo dd { color: var(--t-d2); }
.cinfo dd a { color: var(--t-d); text-underline-offset: 3px; }
.map { position: relative; display: block; overflow: hidden; height: 200px; margin-top: var(--s6); border-radius: var(--r-card); text-decoration: none; background:
  linear-gradient(112deg, transparent 46%, rgba(255, 255, 255, .11) 46% 49%, transparent 49%),
  linear-gradient(24deg, transparent 60%, rgba(255, 255, 255, .07) 60% 62%, transparent 62%),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(255, 255, 255, .045) 38px 40px),
  repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, .045) 54px 56px), var(--g8); }
.map__pin { position: absolute; left: 58%; top: 42%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); transform: translate(-50%, -50%); box-shadow: 0 0 0 var(--s2) rgba(180, 156, 115, .22); }
.map__label { position: absolute; left: var(--s4); bottom: var(--s4); display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-weight: 500; }
.map__label .i { width: 18px; height: 18px; }
@media (min-width: 960px) { .contacts__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); } .contacts__info { grid-column: 1 / span 6; } .form { grid-column: 8 / -1; } }

.form { align-self: start; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6) var(--s5); border-radius: var(--r-card); background: var(--white); color: var(--ink); }
.form h3 { font-size: calc(1.5rem * var(--k-h)); line-height: 1.2; }
.fld { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; margin: 0; padding: 0; border: 0; }
.fld label, .fld legend { padding: 0; font-size: var(--fs-cap); font-weight: 500; }
.fld legend { margin-bottom: var(--s2); }
.fld input { width: 100%; min-height: 52px; padding: 0 var(--s4); border: 1.5px solid #8A8A94; border-radius: var(--r-sm); background: var(--white); font-size: 1rem; transition: border-color 200ms ease; }
.fld input::placeholder { color: #6E6E78; }
.fld input:focus { outline: 2px solid rgba(180, 156, 115, .45); outline-offset: 0; border-color: var(--gold-lo); }
.fld input[aria-invalid="true"] { border-color: #B3261E; }
.fld__err { display: none; color: #B3261E; font-size: var(--fs-cap); }
.fld input[aria-invalid="true"] ~ .fld__err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 1.5px solid #8A8A94; border-radius: var(--r-pill); transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-lo); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: var(--s3); min-height: 44px; font-size: var(--fs-cap); line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--gold-lo); }
.consent input[aria-invalid="true"] { outline: 2px solid #B3261E; outline-offset: 2px; }
.consent a { color: var(--gold-lo); text-underline-offset: 3px; }
.form__warn { display: flex; align-items: center; gap: var(--s2); font-size: .875rem; color: var(--ink-2); }
.form__warn .i { width: 16px; height: 16px; color: var(--gold-lo); }
.form__ok { display: none; }
.form.is-sent > :not(h3):not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; padding-top: var(--s4); border-top: 3px solid var(--gold); font-size: var(--fs-h3); }
@media (min-width: 960px) { .form { padding: var(--s7); } }

/* движение: состояния до GSAP */
.js-anim [data-hero-in] { visibility: hidden; }
.js-anim .hero__photo { clip-path: inset(100% 0% 0% 0%); }

/* ================= Частным лицам — светлый блок, Бизнесу — графит ================= */
.sec--light { background: var(--haze); color: var(--ink); }
.sec--light .h2 { color: var(--ink); }
.sec--light .gw { color: var(--gold-disp); }
.sec--light .tile { border-color: var(--line-l); background: var(--white); color: var(--ink); }
.sec--light .ico { background: rgba(31, 31, 36, .06); color: var(--gold-lo); }
.sec--light .tile__fill { background: rgba(180, 156, 115, .12); }
.sec--light .tile__go { color: var(--gold-lo); }

/* ================= УСЛУГИ ================= */
.services__grid { display: grid; gap: var(--s6); align-items: start; }
.svc { margin-top: var(--s6); border-top: 1px solid var(--line-d); }
.svc li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5); padding-block: var(--s4); border-bottom: 1px solid var(--line-d); }
.svc__n { font-size: var(--fs-lead); color: var(--t-d); }
.svc__n small { display: block; margin-top: 2px; font-size: .875rem; color: var(--t-d2); }
.svc__p { flex: none; font: 400 clamp(1.375rem, 1.1rem + .8vw, 1.875rem)/1 var(--f-num); color: var(--gold-hi); white-space: nowrap; }
.svc__p small { margin-right: 4px; font: 400 1rem/1 var(--f-sans); color: var(--t-d2); }
.services .free { margin-top: 0; }
@media (min-width: 960px) {
  .services__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .services__main { grid-column: 1 / span 8; }
  .services .free { grid-column: 10 / -1; margin-top: calc(var(--fs-h2) * var(--k-h) * 1.1 + var(--s6)); }
}

/* ================= КАК Я РАБОТАЮ — нить через круги (вариант 07, Scroll Animation / 33) ================= */
.thread-steps { position: relative; margin-top: var(--gap-h); }
.thread { position: absolute; pointer-events: none; overflow: visible; }
.thread path { fill: none; }
.thread__base { stroke: var(--line-d); stroke-width: 1; vector-effect: non-scaling-stroke; }
.thread__draw { stroke: var(--gold); stroke-width: 2; }
.thread--h { left: 0; right: 0; top: 8px; width: 100%; height: 40px; }
.thread--v { display: none; }
.tsteps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.tstep { text-align: center; padding-inline: var(--s3); }
.tstep__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto var(--s5); border: 1px solid var(--line-d); border-radius: 50%; background: var(--g8); color: var(--t-d2);
  font: 500 1.25rem/1 var(--f-num); transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease; }
.tstep.is-on .tstep__dot, .no-gsap .tstep__dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tstep__t { color: var(--t-d); text-wrap: balance; }
.tstep p { margin-top: var(--s2); color: var(--t-d2); line-height: 1.5; }
@media (max-width: 767px) {
  .thread--h { display: none; }
  .thread--v { display: block; left: 23px; top: 28px; width: 10px; height: var(--v-len, 80%); }
  .tsteps { grid-template-columns: 1fr; gap: var(--s6); }
  .tstep { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--s4); text-align: left; padding: 0; }
  .tstep__dot { grid-row: span 2; margin: 0; }
  .tstep__t { align-self: center; }
  .tstep p { grid-column: 2; }
}

/* ================= ЧТО ВАЖНО ЗНАТЬ: A — колонки (07), B — слайдер (08) ================= */
.know .vv { margin-top: var(--gap-h); }
.know__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s6); }
.know__i { width: 36px; height: 36px; margin-bottom: var(--s4); color: var(--gold); stroke-width: 1.25; }
.know__list h3 { font-family: var(--f-sans); font-size: 1.125rem; font-weight: 500; letter-spacing: 0; color: var(--t-d); }
.know__list p { margin-top: var(--s2); color: var(--t-d2); line-height: 1.5; }
.know__list a { color: var(--gold-hi); text-underline-offset: 3px; }
@media (max-width: 1023px) { .know__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .know__list { grid-template-columns: 1fr; } }
.know-b { display: grid; gap: var(--s6); }
.kb__lead { color: var(--t-d2); max-width: 22em; }
.kb__nav { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s5); }
.know-b .sq { width: 56px; height: 48px; border-radius: 0; background: var(--gold); color: var(--ink); }
.know-b .sq svg { width: 30px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (hover: hover) and (pointer: fine) { .know-b .sq:hover { background: #C6B08A; } }
.kb__count { display: flex; align-items: baseline; gap: var(--s2); margin-left: var(--s4); font: 400 1.375rem/1 var(--f-num); color: var(--t-d); }
.kb__cur { position: relative; display: inline-grid; overflow: hidden; height: 1.1em; }
.kb__cur span { grid-area: 1 / 1; }
.kb__sep { color: var(--gold); }
.kb__stage { outline-offset: 4px; }
.kb__track { display: grid; grid-template-columns: minmax(0, 1fr); touch-action: pan-y; }
.note { grid-area: 1 / 1; background: var(--white); color: var(--ink); }
.note:not(.is-active) { visibility: hidden; }
.note__in { display: grid; align-content: start; gap: var(--s3); height: 100%; padding: var(--s6); }
.note__icon { width: 44px; height: 44px; margin-bottom: var(--s2); color: var(--gold-lo); stroke-width: 1.2; }
.note__t { color: var(--ink); }
.note p { color: var(--ink-2); }
.note__src { margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line-l); font-size: .875rem; }
.note__src a { color: var(--gold-lo); font-weight: 600; }
.kb__peek { display: none; }
@media (min-width: 768px) {
  .note__in { padding: var(--s7); }
  .kb__stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s4); }
  .kb__peek { display: grid; }
  .kb__peek .note { opacity: .5; }
  .kb__peek .note__in { align-content: end; }
}
@media (min-width: 1024px) {
  .know-b { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); align-items: start; }
  .kb__head { grid-column: 1 / span 4; }
  .kb__stage { grid-column: 5 / -1; margin-right: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); }
}

/* ================= НАПРАВЛЕНИЯ, вариант A: отдельные блоки «Частным лицам» и «Бизнесу» ================= */
.dirs .vv { margin-top: var(--gap-h); }
.da__h { font-size: calc(var(--fs-quote) * var(--k-h)); line-height: 1.15; }
.dirs-a .tiles { margin-top: var(--s5); }
.da__biz { margin-top: var(--sec); margin-bottom: calc(-1 * var(--sec)); padding-block: var(--sec); background: var(--g8); color: var(--t-d); }
.da__biz .da__h { color: var(--gold); }
.sec--light .da__biz .tile { border-color: var(--line-d); background: transparent; color: var(--t-d); }
.sec--light .da__biz .ico { background: rgba(255, 255, 255, .1); color: var(--gold-hi); }
.sec--light .da__biz .tile__fill { background: rgba(255, 255, 255, .06); }
.sec--light .da__biz .tile__go { color: var(--gold-hi); }

/* ================= НАПРАВЛЕНИЯ, вариант B (компоновка 06) ================= */
.ab__grid { display: grid; gap: var(--s6); }
.ab__group { margin-bottom: var(--s4); font: 600 .8125rem/1.4 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lo); }
.acards { display: grid; gap: var(--s3); }
.acard { position: relative; overflow: hidden; display: grid; grid-template-columns: 40px 1fr; column-gap: var(--s4); row-gap: var(--s1); height: 100%; padding: var(--s5) var(--s8) var(--s5) var(--s5);
  border: 1px solid var(--line-l); border-radius: var(--r-card); background: var(--white); color: var(--ink); text-decoration: none;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease; }
.acard__i { grid-row: 1 / 3; width: 36px; height: 36px; color: var(--gold-lo); stroke-width: 1.25; }
.acard h3 { font-size: calc(1.25rem * var(--k-h)); }
.acard p { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.acard__go { position: absolute; right: var(--s4); top: var(--s5); display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-l); border-radius: 50%; transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease; }
.acard__go .i { width: 18px; height: 18px; }
.acard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .acard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31, 31, 36, .12); border-color: transparent; }
  .acard:hover::after { transform: scaleX(1); }
  .acard:hover .acard__go { background: var(--g8); border-color: var(--g8); color: var(--t-d); }
}
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s5); }
.chips__l { margin-right: var(--s2); font-weight: 600; color: var(--ink-2); }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--line-l); border-radius: var(--r-pill); color: var(--ink); text-decoration: none; transition: border-color 200ms ease; }
.chips a:hover { border-color: var(--gold-lo); }
.ab__private > .more { margin-top: var(--s3); color: var(--gold-lo); }
.ab__biz { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6) var(--s5); border-radius: var(--r-card); background: var(--g8); color: var(--t-d); }
.ab__bi { width: 36px; height: 36px; color: var(--gold); stroke-width: 1.25; }
.ab__bt { margin-bottom: var(--s2); font-size: calc(1.5rem * var(--k-h)); }
.ab__list a { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 52px; border-top: 1px solid var(--line-d); color: var(--t-d); text-decoration: none; font-weight: 500; transition: color 200ms ease; }
.ab__list a .i { color: var(--gold-hi); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ab__list a:hover { color: var(--gold-hi); } .ab__list a:hover .i { transform: translateX(4px); } }
.ab__biz .more { margin-top: auto; padding-top: var(--s4); }
@media (min-width: 640px) {
  .acards { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .acard { grid-template-columns: 1fr; row-gap: var(--s3); padding: var(--s6) var(--s5); }
  .acard__i { grid-row: auto; margin-bottom: var(--s2); }
}
@media (min-width: 1024px) {
  .ab__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .ab__private { grid-column: 1 / 9; }
  .acards { grid-template-columns: repeat(3, 1fr); }
  .ab__biz { grid-column: 9 / 13; margin-top: calc(var(--s4) + 1.4em); padding: var(--s7) var(--s6); }
}
.method .vv { margin-top: var(--gap-h); }
/* 01.10: «Как я работаю» и «Что важно знать» — плотнее */
.tstep__dot { width: 48px; height: 48px; margin-bottom: var(--s4); font-size: 1.125rem; }
.thread--h { top: 4px; }
.tstep__t { font-size: calc(1.0625rem * var(--k-h)); line-height: 1.25; }
.tstep:nth-child(4) .tstep__t { font-size: calc(1rem * var(--k-h)); }
.tstep p { margin-top: 6px; font-size: .9375rem; line-height: 1.45; }
@media (max-width: 767px) { .tsteps { gap: var(--s5); } .tstep { grid-template-columns: 48px minmax(0, 1fr); } .thread--v { left: 19px; top: 24px; } .tstep p { font-size: 1rem; } }
.know__list { gap: var(--s5); }
.know__i { width: 30px; height: 30px; margin-bottom: var(--s3); }
.know__list p { margin-top: 6px; }

/* 26.10: тема обращения (ФТ-1) — список в стиле полей; подпись ошибки у согласия */
.fld select { width: 100%; min-height: 52px; padding: 0 40px 0 var(--s4); border: 1.5px solid #8A8A94; border-radius: var(--r-sm); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237E6841' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; font: inherit; font-size: 1rem; color: var(--ink); -webkit-appearance: none; appearance: none; }
.fld select:focus { outline: 2px solid rgba(180, 156, 115, .45); outline-offset: 0; border-color: var(--gold-lo); }
.consent__err { margin-top: calc(-1 * var(--s2)); }
.consent:has(input[aria-invalid="true"]) + .consent__err { display: block; }
.form__ok a { color: inherit; font-weight: 600; white-space: nowrap; }
/* 26.10: на телефоне основной текст карточек не мельче 16 px (НФТ-1) */
@media (max-width: 599px) { .acard p { font-size: 1rem; } }
/* 27.10: «Первая консультация» на страницах направлений — четыре цены (бесплатно · 1 000 · от 3 000 · по соглашению) */
@media (min-width: 1100px) { .prices__row--4 { grid-template-columns: repeat(4, 1fr); } }
.prices__free { margin-top: var(--s5); color: var(--t-d2); }
/* 30.10: приём заявок — скрытое поле от ботов, строка о политике под кнопкой */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__pol { font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }
.form__pol a { color: var(--gold-lo); text-underline-offset: 3px; }
.form .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* 05.11: из variants.css (файл выбора вариантов удалён) — оформление заголовков блоков главной */
.vb__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s5); }
.vb__top .h2 { flex: 1 1 auto; min-width: 0; }
.vv { position: relative; }

