/* Услуга «Сайт под ключ», версия 2 «Витрина». Токены системы, без своей палитры. */
.tk-service .tg-button{display:inline-block;text-align:center}
.tk-service .tk-hero h1{font-size:38px;line-height:1.12;max-width:15ch}
.tk-service .tk-hero .article-lead{max-width:52ch;font-size:18px}
.tk-service .tk-hero-action{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:22px 0 0}
.tk-service .tk-hero-action p{margin:0;font:400 14px/1.45 var(--font-ui);color:var(--content-muted);max-width:30ch}
/* Коллаж трёх первых экранов */
.tk-service .tk-collage{display:grid;grid-template-columns:1.25fr 1fr;grid-template-rows:auto auto;gap:12px;margin:30px 0 8px}
.tk-service .tk-shot{position:relative;display:block;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:#f1ede7;text-decoration:none}
.tk-service .tk-shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;aspect-ratio:16/10;transition:transform .4s ease}
.tk-service .tk-shot-1{grid-row:1/3}
.tk-service .tk-shot-1 img{aspect-ratio:auto}
.tk-service .tk-shot-label{white-space:nowrap;position:absolute;left:10px;bottom:10px;background:#fffffff0;color:#27292b;font:500 13px/1 var(--font-ui);padding:7px 10px;border-radius:999px}
.tk-service .tk-shot:hover img{transform:scale(1.025)}
.tk-service .tk-shot:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
/* Проекты */
.tk-service .tk-examples>p{font:400 16px/1.5 var(--font-ui);color:var(--content-muted)}
.tk-service .tk-example{margin:34px 0 0;padding-top:26px;border-top:1px solid var(--line);scroll-margin-top:90px}
.tk-service .tk-example-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.tk-service .tk-example-head h3{margin:0;font-size:22px;line-height:1.3}
.tk-service .tk-example-head .tk-meta{margin:0;font:400 14px/1.4 var(--font-ui);color:var(--content-muted)}
.tk-service .tk-switch{margin:16px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.tk-service .tk-switch input{position:absolute;opacity:0;width:1px;height:1px}
.tk-service .tk-switch label{font:500 14px/1 var(--font-ui);padding:10px 14px;min-height:38px;display:inline-flex;align-items:center;border-radius:999px;background:#f1f3f4;color:#4b5258;cursor:pointer}
.tk-service .tk-switch input:checked+label{background:#27292b;color:#fff}
.tk-service .tk-switch input:focus-visible+label{outline:2px solid var(--blue);outline-offset:2px}
.tk-service .tk-panes{flex-basis:100%;margin-top:6px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f1ede7}
.tk-service .tk-pane{display:none}
.tk-service .tk-pane img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
.tk-service .tk-pane-narrow{padding:18px 0;text-align:center}
.tk-service .tk-pane-narrow img{width:auto;max-width:46%;max-height:520px;aspect-ratio:auto;margin:0 auto;border-radius:14px;box-shadow:0 6px 24px #0002}
.tk-service .tk-switch input:nth-of-type(1):checked~.tk-panes .tk-pane:nth-child(1),
.tk-service .tk-switch input:nth-of-type(2):checked~.tk-panes .tk-pane:nth-child(2),
.tk-service .tk-switch input:nth-of-type(3):checked~.tk-panes .tk-pane:nth-child(3){display:block}
.tk-service .tk-story{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 0}
.tk-service .tk-story dt{font:600 13px/1.4 var(--font-ui);color:var(--content-muted);margin:0 0 5px}
.tk-service .tk-story dd{margin:0;font:400 16px/1.55 var(--font-ui)}
.tk-service .tk-story div+div{position:relative}
.tk-service .tk-site-link{margin:8px 0 0;font:500 15px/1.4 var(--font-ui)}
.tk-service .tk-site-link a{display:inline-flex;align-items:center;min-height:44px}
.tk-service .tk-note{margin-top:26px}
/* Как работаем */
.tk-service .tk-steps{list-style:none;padding:0;margin:22px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tk-service .tk-steps li{margin:0;padding:18px 18px 16px;border:1px solid var(--line);border-radius:8px}
.tk-service .tk-step-num{font:600 13px/1 var(--font-ui);color:var(--blue)}
.tk-service .tk-steps h3{margin:8px 0 10px;font-size:18px}
.tk-service .tk-steps dl{margin:0;font:400 15px/1.5 var(--font-ui)}
.tk-service .tk-steps dt{font:600 12px/1.4 var(--font-ui);color:var(--content-muted);margin:10px 0 2px}
.tk-service .tk-steps dt:first-child{margin-top:0}
.tk-service .tk-steps dd{margin:0}
/* Вопросы */
.tk-service .tk-faq details{border-bottom:1px solid var(--line);padding:16px 0}
.tk-service .tk-faq details:first-of-type{border-top:1px solid var(--line);margin-top:20px}
.tk-service .tk-faq summary{font:600 17px/1.45 var(--font-ui);cursor:pointer;list-style:none;position:relative;padding-right:30px}
.tk-service .tk-faq summary::-webkit-details-marker{display:none}
.tk-service .tk-faq summary:after{content:"+";position:absolute;right:4px;top:-2px;font-size:22px;font-weight:400;color:var(--blue)}
.tk-service .tk-faq details[open] summary:after{content:"−"}
.tk-service .tk-faq details p{font:400 16px/1.55 var(--font-ui);margin:10px 0 0}
/* Финал */
.tk-service .tk-final{margin-top:36px;padding:26px;background:#f4f6f7;border-radius:10px}
.tk-service .tk-final h2{margin-top:0!important}
.tk-service .tk-final>p{font:400 16px/1.55 var(--font-ui)}
.tk-service .tk-final-action{margin:18px 0 0}
@container(max-width:560px){
 .tk-service .tk-hero h1{font-size:30px}
 .tk-service .tk-hero .article-lead{font-size:16px}
 .tk-service .tk-hero-action .tg-button,.tk-service .tk-final-action .tg-button{width:100%}
 .tk-service .tk-collage{grid-template-columns:1fr 1fr;gap:8px}
 .tk-service .tk-shot-1{grid-row:auto;grid-column:1/3}
 .tk-service .tk-shot-1 img{aspect-ratio:16/10}
 .tk-service .tk-shot-label{white-space:nowrap;font-size:12px;left:6px;bottom:6px;padding:6px 8px}
 .tk-service .tk-story{grid-template-columns:1fr;gap:12px}
 .tk-service .tk-steps{grid-template-columns:1fr}
 .tk-service .tk-pane-narrow img{max-width:62%}
 .tk-service .tk-final{padding:20px 18px}
}
