/* ТАКТ — общие компоненты внутренних страниц (концепция «Открытый объект») */
.tk-in, .tk-in * { box-sizing: border-box; }
.tk-in { --ink:#16171A; --ink2:#4E5056; --plaster:#ECEAE5; --paper:#F7F6F3; --line:#D3D1CB; --tape:#3463D6; --ok:#1E7A4A; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--plaster); color: var(--ink); font-family: var(--t-text-font); overflow-x: clip; }
.tk-in--paper { background: var(--paper); }
.tk-in--dark { background: var(--ink); color: var(--paper); }
.tk-in :where(a) { color: inherit; text-decoration: none; }
.tk-wrap { max-width: 1240px; margin: 0 auto; padding: 110px 32px; }
.tk-h2 { margin: 0; font-family: var(--t-headline-font); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; color: inherit; }
.tk-lead { margin: 18px 0 0; max-width: 36em; font-size: 18px; line-height: 1.6; color: var(--ink2); text-wrap: pretty; }
.tk-in--dark .tk-lead { color: #BEC0C6; }
.tk-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 48px; }
.tk-head .tk-lead { margin: 0; }
.tk-kicker { margin: 0 0 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.tk-tape { display: inline-block; padding: 7px 14px; background: var(--tape); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(0 8%, 3% 0, 97% 4%, 100% 0, 99% 50%, 100% 96%, 96% 100%, 4% 94%, 0 100%, 1% 50%); }

/* кнопки */
.tk-btn { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; height: 60px; padding: 0 26px; font-family: var(--t-headline-font); font-weight: 600; font-size: 17px; overflow: hidden; isolation: isolate; cursor: pointer; border: 0; }
.tk-btn i { font-style: normal; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.tk-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--tape); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.22,1,.36,1); z-index: -1; }
.tk-btn:hover::after { transform: scaleX(1); }
.tk-btn:hover i { transform: translateX(5px); }
.tk-btn--dark { background: var(--ink); color: var(--paper); }
.tk-btn--line { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); justify-content: center; }
.tk-btn--blue { background: var(--tape); color: #fff; }
.tk-btn--blue::after { background: #fff; }
.tk-btn:focus-visible, .tk-in a:focus-visible, .tk-in summary:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; }

/* хиро внутренних страниц */
.tk-hero .tk-wrap { padding-top: 40px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.tk-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.tk-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.tk-crumbs a { border-bottom: 1px solid var(--line); }
.tk-crumbs a:hover { border-color: var(--tape); color: var(--ink); }
.tk-h1 { margin: 0; font-family: var(--t-headline-font); font-weight: 700; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.tk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 44px 0 0; border-top: 1px solid var(--line); }
.tk-facts div { padding: 16px 16px 0; }
.tk-facts div:first-child { padding-left: 0; }
.tk-facts div + div { border-left: 1px solid var(--line); }
.tk-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.tk-facts dd { margin: 6px 0 0; font-family: var(--t-headline-font); font-weight: 600; font-size: 17px; line-height: 1.3; }
.tk-fig { position: relative; margin: 0; min-width: 0; }
.tk-fig__img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: #D8D4CC; }
.tk-fig__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-fig .tk-tape { position: absolute; left: -12px; top: 26px; transform: rotate(-3deg); }
.tk-fig .tk-tape + .tk-tape { left: auto; right: -10px; top: auto; bottom: 30px; transform: rotate(2.5deg); }
.tk-fig figcaption { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }

/* что входит */
.tk-scope__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tk-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.tk-check li { position: relative; padding: 18px 18px 18px 40px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.tk-check li:nth-child(odd) { border-right: 1px solid var(--line); }
.tk-check li::before { content: ""; position: absolute; left: 6px; top: 19px; width: 22px; height: 22px; background: var(--tape) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.tk-check b { display: block; font-family: var(--t-headline-font); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.tk-check span { color: var(--ink2); font-size: 15px; }
.tk-note { background: var(--ink); color: var(--paper); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.tk-note h3 { margin: 0; font-family: var(--t-headline-font); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--paper); }
.tk-note p { margin: 0; font-size: 15px; line-height: 1.55; color: #BEC0C6; }
.tk-note ul { margin: 0; padding: 0; list-style: none; }
.tk-note li { padding: 10px 0; border-bottom: 1px solid #2E3035; font-size: 15px; color: #E2E3E6; }
.tk-note li::before { content: "— "; color: #8FB0FF; }
.tk-note .tk-btn { margin-top: 6px; height: 56px; font-size: 16px; }

/* шаги / сроки */
.tk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); counter-reset: s; }
.tk-steps li { padding: 22px 20px 0 0; counter-increment: s; }
.tk-steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.tk-steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 12px; color: var(--tape); margin-bottom: 10px; }
.tk-steps b { display: block; font-family: var(--t-headline-font); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.tk-steps span { font-size: 15px; line-height: 1.5; color: var(--ink2); }

/* каталог услуг */
.tk-services { border-top: 1.5px solid var(--ink); }
.tk-service { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tk-service__n { font-family: var(--mono); font-size: 13px; color: var(--tape); padding-top: 4px; }
.tk-service h3 { margin: 0; font-family: var(--t-headline-font); font-weight: 600; font-size: 21px; letter-spacing: -.015em; }
.tk-service p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.tk-service ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tk-service ul li { padding: 5px 10px; border: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.tk-service .tk-add { align-self: center; white-space: nowrap; font-family: var(--t-headline-font); font-weight: 600; font-size: 15px; padding-bottom: 2px; border-bottom: 2px solid var(--tape); }

/* районы */
.tk-areas { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tk-chips li { padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
.tk-in--paper .tk-chips li { background: var(--plaster); }
.tk-prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; color: var(--ink2); max-width: 40em; }
.tk-prose p:last-child { margin-bottom: 0; }
.tk-links { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.tk-links a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--t-headline-font); font-weight: 600; font-size: 18px; transition: padding .3s cubic-bezier(.22,1,.36,1); }
.tk-links a::after { content: "→"; color: var(--tape); }
.tk-links a:hover { padding-left: 8px; }

/* вопросы */
.tk-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.tk-faq__list { border-top: 1.5px solid var(--ink); }
.tk-faq details { border-bottom: 1px solid var(--line); }
.tk-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font-family: var(--t-headline-font); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid var(--ink); font-family: var(--mono); font-size: 18px; font-weight: 400; transition: background .25s, color .25s, border-color .25s; }
.tk-faq details[open] summary::after { content: "−"; background: var(--tape); border-color: var(--tape); color: #fff; }
.tk-faq details p { margin: 0; padding: 0 54px 22px 0; font-size: 16px; line-height: 1.6; color: var(--ink2); max-width: 44em; }

/* юридические тексты */
.tk-legal .tk-wrap { max-width: 880px; padding-top: 48px; }
.tk-legal h2 { margin: 40px 0 12px; font-family: var(--t-headline-font); font-weight: 600; font-size: 22px; letter-spacing: -.015em; }
.tk-legal p, .tk-legal li { font-size: 16px; line-height: 1.7; color: #33353A; }
.tk-legal ul { padding-left: 20px; }
.tk-legal a { color: var(--tape); text-decoration: underline; text-underline-offset: 2px; }
.tk-legal .tk-crumbs a { color: inherit; text-decoration: none; }
.tk-legal .tk-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }

@media (max-width: 960px) {
  .tk-wrap { padding: 80px 24px; }
  .tk-head, .tk-scope__grid, .tk-areas, .tk-faq { grid-template-columns: 1fr; gap: 24px; }
  .tk-hero .tk-wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; padding-bottom: 64px; }
  .tk-fig__img { aspect-ratio: 16 / 11; }
  .tk-steps { grid-template-columns: 1fr 1fr; }
  .tk-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tk-steps li { padding-bottom: 22px; }
  .tk-service { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 16px; }
  .tk-service > div, .tk-service .tk-add { grid-column: 2; }
  .tk-service .tk-add { justify-self: start; }
}
@media (max-width: 640px) {
  .tk-wrap { padding: 60px 16px; }
  .tk-hero .tk-wrap { padding-top: 20px; }
  .tk-lead { font-size: 16px; }
  .tk-actions { flex-direction: column; gap: 10px; margin-top: 26px; }
  .tk-btn { height: 56px; font-size: 16px; }
  .tk-facts div { padding: 12px 8px 0; }
  .tk-facts dt { font-size: 10px; }
  .tk-facts dd { font-size: 14px; }
  .tk-check { grid-template-columns: 1fr; }
  .tk-check li:nth-child(odd) { border-right: 0; }
  .tk-note { padding: 22px 18px; }
  .tk-steps { grid-template-columns: 1fr; }
  .tk-steps li, .tk-steps li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .tk-service { grid-template-columns: 32px minmax(0, 1fr); padding: 20px 0; }
  .tk-service h3 { font-size: 19px; }
  .tk-faq summary { font-size: 16px; padding: 18px 0; }
  .tk-faq details p { padding-right: 0; font-size: 15px; }
  .tk-links a { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .tk-btn i, .tk-btn::after, .tk-links a { transition: none; } }
