/* Страница «Контакты»: пульт из четырёх каналов, шкала суток с отметкой «сейчас», схема зоны выезда. Префикс .k-kt- */

/* Первый экран */
.k-kt-hero { padding: 20px 0 56px; background: radial-gradient(90% 60% at 10% 0%, var(--g-ll) 0%, rgba(238, 249, 243, 0) 70%), var(--paper); }
.k-kt-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.k-kt-hero__top .k-h1 { order: 0; margin-bottom: 8px; }
.k-kt-now { order: 1; }
.k-kt-now { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-weight: 800; font-size: 16px; }
.k-kt-now__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mute); }
.k-kt-now.is-open .k-kt-now__dot { background: var(--g); box-shadow: 0 0 0 0 rgba(0, 181, 102, .5); animation: k-kt-pulse 2s infinite; }
.k-kt-lead { max-width: 640px; margin: 14px 0 28px; }
.k-kt-desk { display: grid; gap: 10px; }
.k-kt-card { position: relative; display: grid; gap: 4px; align-content: start; min-height: 168px; padding: 20px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); }
a.k-kt-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--g), var(--sh-s); }
.k-kt-card__ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 16px; background: var(--g-ll); color: var(--g-d); }
.k-kt-card__ico .k-i { width: 28px; height: 28px; }
.k-kt-card__k { font: 600 14px/1.2 var(--f-h); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.k-kt-card__v { font: 800 clamp(22px, 2vw, 28px)/1.1 var(--f-h); color: var(--ink); white-space: nowrap; }
.k-kt-card__v--sm { font-size: 22px; line-height: 1.2; white-space: normal; }
.k-kt-card__s { font-size: 16px; line-height: 1.4; color: var(--ink-4); }
.k-kt-card--call { background: var(--ink); box-shadow: var(--sh); }
.k-kt-card--call .k-kt-card__ico { background: var(--g-btn); color: var(--white); }
.k-kt-card--call .k-kt-card__k { color: #9fe3c2; }
.k-kt-card--call .k-kt-card__v { color: var(--white); font-size: clamp(26px, 2.6vw, 36px); }
.k-kt-card--call .k-kt-card__s { color: #d8d0cc; }
.k-kt-card--call:hover { box-shadow: 0 0 0 2px var(--g), var(--sh); }
.k-kt-card--max .k-kt-card__ico { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.k-kt-card--back { background: var(--g-ll); box-shadow: none; }
.k-kt-card--back .k-btn { margin-top: 12px; justify-self: start; }
.k-kt-card--mail .k-kt-card__v { font-size: clamp(20px, 1.8vw, 24px); }

/* Часы: неделя + шкала суток */
.k-kt-hours { background: var(--stone); }
.k-kt-hours__grid { display: grid; gap: 28px; }
.k-kt-hours__grid .k-h2 { margin-bottom: 14px; }
.k-kt-clock { padding: 22px 18px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh-s); }
.k-kt-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 26px; }
.k-kt-week li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-radius: 12px; background: var(--stone); font: 700 17px/1 var(--f-h); }
.k-kt-week small { font: 600 12px/1 var(--f-b); color: var(--mute); }
.k-kt-week li.is-today { background: var(--ink); color: var(--white); }
.k-kt-week li.is-today small { color: #9fe3c2; }
.k-kt-day__bar { position: relative; height: 28px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--stone) 0 calc(100% / 24 - 2px), var(--white) calc(100% / 24 - 2px) calc(100% / 24)); box-shadow: inset 0 0 0 1px var(--line); }
.k-kt-day__on { position: absolute; top: 0; bottom: 0; left: calc(8 / 24 * 100%); width: calc(14 / 24 * 100%); border-radius: 8px; background: var(--g-btn); }
.k-kt-day__now { position: absolute; top: -8px; bottom: -8px; left: 0; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--ink); opacity: 0; transition: opacity .5s var(--ease-out); }
.k-kt-day__now.is-on { opacity: 1; }
.k-kt-day__now::after { content: attr(data-t); position: absolute; top: -26px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--white); font: 700 13px/1.2 var(--f-h); white-space: nowrap; }
.k-kt-day__ticks { position: relative; height: 22px; margin-top: 10px; font-size: 13px; color: var(--mute); }
.k-kt-day__ticks span { position: absolute; transform: translateX(-50%); }
.k-kt-day__ticks span:nth-child(1) { left: 0; transform: none; }
.k-kt-day__ticks span:nth-child(2) { left: calc(8 / 24 * 100%); }
.k-kt-day__ticks span:nth-child(3) { left: calc(14 / 24 * 100%); }
.k-kt-day__ticks span:nth-child(4) { left: calc(22 / 24 * 100%); }
.k-kt-day { padding-top: 22px; }
.k-kt-clock__note { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--mute); }

/* Зона выезда */
.k-kt-zone { background: var(--ink); color: var(--white); overflow: hidden; }
.k-kt-zone .k-h2 { color: var(--white); margin-bottom: 22px; }
.k-kt-zone__grid { display: grid; gap: 32px; align-items: center; }
.k-kt-zone__list { display: grid; gap: 1px; margin-bottom: 26px; border-radius: 16px; overflow: hidden; background: var(--ink-3); }
.k-kt-zone__list li { display: grid; gap: 2px; padding: 14px 16px; background: var(--ink-2); }
.k-kt-zone__list b { font: 700 19px/1.2 var(--f-h); }
.k-kt-zone__list span { font-size: 16px; color: #d8d0cc; }
.k-kt-zone__list li:first-child { background: var(--g-dd); }
.k-kt-zone__list li:first-child span { color: #dcf5e8; }
.k-kt-map { width: 100%; height: auto; max-width: 560px; margin: 0 auto; display: block; }
.k-kt-map__ring circle { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 4 8; }
.k-kt-map__mo { fill: var(--g-dd); stroke: var(--g); stroke-width: 3; }
.k-kt-map__msk { fill: var(--g-btn); }
.k-kt-map text { font: 700 16px var(--f-h); fill: var(--white); text-anchor: middle; }
.k-kt-map .k-kt-map__t1 { font-size: 14px; }
.k-kt-map .k-kt-map__t2 { font-size: 22px; fill: #dcf5e8; }
.k-kt-map__sat line { stroke: var(--g); stroke-width: 2; stroke-dasharray: 5 5; }
.k-kt-map__sat rect { fill: var(--ink-2); stroke: var(--ink-4); stroke-width: 2; }
.k-kt-map .k-kt-map__s { font: 600 13px var(--f-b); fill: #d8d0cc; }

/* Перед звонком */
.k-kt-prep { background: var(--paper); }
.k-kt-prep__list { display: grid; gap: 10px; counter-reset: kp; }
.k-kt-prep__list li { counter-increment: kp; position: relative; display: grid; gap: 6px; padding: 22px 20px 22px 76px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 17px; line-height: 1.5; color: var(--ink-4); }
.k-kt-prep__list li::before { content: counter(kp); position: absolute; left: 20px; top: 20px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--g-btn); color: var(--white); font: 800 20px/1 var(--f-h); }
.k-kt-prep__list b { font: 700 21px/1.2 var(--f-h); color: var(--ink); }

@keyframes k-kt-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 181, 102, .5); } 70% { box-shadow: 0 0 0 10px rgba(0, 181, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 181, 102, 0); } }

@media (min-width: 700px) {
	.k-kt-desk { grid-template-columns: 1fr 1fr; }
	.k-kt-clock { padding: 28px; }
	.k-kt-prep__list { grid-template-columns: 1fr 1fr; }
	.k-kt-zone__list { grid-template-columns: 1fr 1fr; }
	.k-kt-zone__list li:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.k-kt-hero { padding: 28px 0 72px; }
	.k-kt-desk { grid-template-columns: 1.25fr 1fr 1fr; }
	.k-kt-card { min-height: 230px; padding: 24px; }
	.k-kt-card--back { grid-column: 1 / -1; min-height: 0; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 24px; padding: 20px 24px; }
	.k-kt-card--back .k-btn { margin-top: 0; }
	.k-kt-hours__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
	.k-kt-zone__grid { grid-template-columns: 6fr 6fr; gap: 56px; }
	.k-kt-prep__list { grid-template-columns: repeat(4, 1fr); }
	.k-kt-prep__list li { padding: 84px 22px 24px; }
	.k-kt-prep__list li::before { top: 24px; left: 22px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.k-kt-now.is-open .k-kt-now__dot { animation: none; }
	.k-kt-card, .k-kt-day__now { transition: none; }
}
