/* Страница «О компании»: фото на всю ширину с карточкой, «паспорт бригады» со штампом, мастер, договорённости, услуги колонками, мозаика объектов. Префикс .k-ok- */

/* Первый экран: фото объекта + карточка */
.k-ok-hero { position: relative; padding: 0 0 40px; background: var(--paper); }
.k-ok-hero__pic { height: 280px; overflow: hidden; background: var(--stone); }
.k-ok-hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.k-ok-hero__in { position: relative; margin-top: -60px; }
.k-ok-hero__in .k-crumbs { display: inline-flex; margin-bottom: 10px; padding: 8px 14px; border-radius: 10px; background: var(--white); box-shadow: var(--sh-s); }
.k-ok-hero__card { padding: 24px 20px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.k-ok-hero__card .k-h1 { margin-bottom: 14px; }
.k-ok-hero__big { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 2px dashed var(--line); }
.k-ok-hero__big b { font: 800 64px/.9 var(--f-h); color: var(--g-btn); letter-spacing: -.03em; }
.k-ok-hero__big span { max-width: 200px; font-weight: 800; font-size: 17px; line-height: 1.3; }
.k-ok-hero__cap { position: absolute; top: 12px; right: 16px; padding: 6px 10px; border-radius: 8px; background: rgba(23, 19, 18, .72); color: var(--white); font-size: 13px; }

/* Паспорт бригады */
.k-ok-pass { background: var(--stone); }
.k-ok-pass__grid { display: grid; gap: 28px; }
.k-ok-pass__grid .k-h2 { margin-bottom: 14px; }
.k-ok-doc { position: relative; padding: 18px 18px 150px; border-radius: 6px; background: #fffef9; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgba(23, 19, 18, .5); }
.k-ok-doc__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 3px double var(--ink); font: 700 14px/1.2 var(--f-h); text-transform: uppercase; letter-spacing: .08em; }
.k-ok-doc__rows div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.k-ok-doc__rows dt { font: 600 13px/1.2 var(--f-h); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.k-ok-doc__rows dd { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.35; }
.k-ok-doc__stamp { position: absolute; right: 16px; bottom: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border: 3px solid var(--g-d); border-radius: 50%; color: var(--g-d); font: 800 16px/1 var(--f-h); text-transform: uppercase; transform: rotate(-14deg); opacity: .82; box-shadow: inset 0 0 0 5px #fffef9, inset 0 0 0 7px var(--g-d); pointer-events: none; }
.k-ok-doc__stamp small { margin-top: 6px; font: 600 11px/1 var(--f-b); letter-spacing: .06em; }

/* Мастер */
.k-ok-master { background: var(--ink); color: var(--white); }
.k-ok-master__grid { display: grid; gap: 28px; align-items: center; }
.k-ok-master__pic { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.k-ok-master__pic img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.k-ok-master__pic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(23, 19, 18, .8); font-size: 14px; font-weight: 700; }
.k-ok-master__text .k-h2 { margin-bottom: 18px; color: var(--white); }
.k-ok-master__text p { margin-bottom: 14px; font-size: 18px; line-height: 1.65; color: #e3dcd8; }
.k-ok-master__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.k-ok-btn-light { border-color: var(--white); color: var(--white); }
.k-ok-btn-light:hover { background: rgba(255, 255, 255, .12); }

/* Договорённости */
.k-ok-deal { background: var(--paper); }
.k-ok-deal__grid { display: grid; gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.k-ok-deal__grid li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 18px; background: var(--white); transition: background-color var(--t-fast) var(--ease-out); }
.k-ok-deal__grid li:hover { background: var(--g-ll); }
.k-ok-deal__grid svg { grid-row: span 2; width: 52px; height: 52px; fill: none; stroke: var(--g-d); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.k-ok-deal__grid b { font: 700 21px/1.2 var(--f-h); }
.k-ok-deal__grid span { font-size: 16px; line-height: 1.5; color: var(--ink-4); }
.k-ok-deal__grid a { color: var(--g-d); font-weight: 800; }

/* Услуги колонками */
.k-ok-svc { background: var(--stone); }
.k-ok-svc__grid { display: grid; gap: 28px; }
.k-ok-svc__grid .k-h2 { margin-bottom: 14px; }
.k-ok-svc__cols { display: grid; gap: 22px; }
.k-ok-svc__cols nav { display: grid; align-content: start; padding: 20px; border-radius: var(--r); background: var(--white); }
.k-ok-svc__cols b { margin-bottom: 8px; font: 700 14px/1.2 var(--f-h); text-transform: uppercase; letter-spacing: .08em; color: var(--g-d); }
.k-ok-svc__cols a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
.k-ok-svc__cols a:last-child { border-bottom: 0; }
.k-ok-svc__cols a::after { content: "→"; color: var(--g-d); transition: transform var(--t) var(--ease-out); }
.k-ok-svc__cols a:hover { color: var(--g-d); }
.k-ok-svc__cols a:hover::after { transform: translateX(4px); }

/* Мозаика объектов */
.k-ok-obj { background: var(--paper); }
.k-ok-obj__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.k-ok-obj__grid figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--stone); }
.k-ok-obj__grid img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform var(--t-slow) var(--ease-out); }
.k-ok-obj__grid figure:hover img { transform: scale(1.04); }
.k-ok-obj__grid figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(23, 19, 18, .8); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.3; pointer-events: none; }
.k-ok-obj__a { grid-column: span 2; aspect-ratio: 4 / 3 !important; }

@media (min-width: 700px) {
	.k-ok-hero__pic { height: 420px; }
	.k-ok-hero__in { margin-top: -120px; }
	.k-ok-hero__card { max-width: 640px; padding: 32px; }
	.k-ok-doc { padding: 24px 28px 30px; }
	.k-ok-doc__rows { padding-right: 130px; }
	.k-ok-doc__rows div { grid-template-columns: 200px 1fr; gap: 16px; align-items: baseline; }
	.k-ok-doc__stamp { right: 28px; top: 70px; bottom: auto; }
	.k-ok-deal__grid { grid-template-columns: 1fr 1fr; }
	.k-ok-svc__cols { grid-template-columns: repeat(3, 1fr); }
	.k-ok-obj__grid { grid-template-columns: repeat(4, 1fr); }
	.k-ok-obj__a { grid-row: span 2; aspect-ratio: auto !important; }
}
@media (min-width: 1100px) {
	.k-ok-hero { padding-bottom: 64px; }
	.k-ok-hero__pic { position: absolute; inset: 0 0 0 38%; height: auto; }
	.k-ok-hero__in { margin-top: 0; padding-top: 28px; min-height: 620px; }
	.k-ok-hero__card { max-width: 600px; margin-top: 36px; }
	.k-ok-pass__grid { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
	.k-ok-master__grid { grid-template-columns: 6fr 6fr; gap: 64px; }
	.k-ok-deal__grid { grid-template-columns: repeat(3, 1fr); }
	.k-ok-deal__grid li { grid-template-columns: 1fr; padding: 30px 26px; }
	.k-ok-deal__grid svg { grid-row: auto; margin-bottom: 10px; }
	.k-ok-svc__grid { grid-template-columns: 4fr 8fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) {
	.k-ok-obj__grid img, .k-ok-deal__grid li, .k-ok-svc__cols a { transition: none; }
}
