/* Страницы «Контакты» и «Возврат»: монохром в духе Zara, в пределах ширины сайта (как «Оплата») */
.kz { --ink: #0b0b0b; --soft: #5c5853; --line: #dcd8d1; --sand: #f3f1ed; --gap: clamp(40px, 6vw, 88px); color: var(--ink); font-size: 16px; line-height: 1.65; padding-bottom: var(--gap); }
.kz *, .kz *::before, .kz *::after { box-sizing: border-box; }
.kz h2, .kz h3, .kz p, .kz ul, .kz ol, .kz dl, .kz dd, .kz figure { margin: 0; padding: 0; }
.kz h2, .kz h3 { color: var(--ink); text-transform: uppercase; }
.kz h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 300; line-height: 1.15; text-wrap: balance; }
.kz h3 { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; }
.kz ul, .kz ol { list-style: none; }
.kz a { color: inherit; text-decoration: underline; text-underline-offset: 4px; transition: opacity .2s ease; }
.kz a:hover { color: inherit; opacity: .6; }
.kz a:focus-visible, .kz input:focus-visible, .kz textarea:focus-visible, .kz iframe:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.kz h1.kz-title { margin: 0 0 32px; color: var(--ink); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.kz-title + .kz-block { margin-top: 0; }
.kz-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.kz-block + .kz-block { margin-top: var(--gap); }

/* картинка и текст пополам */
.kz-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.kz-row > figure { background: var(--sand); aspect-ratio: 3 / 2; overflow: hidden; }
.kz-row > figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kz-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.kz-stack > p { max-width: 52ch; }
.kz-address { font-size: clamp(24px, 2.8vw, 36px); font-weight: 300; line-height: 1.25; text-transform: uppercase; }
.kz .kz-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kz .kz-mail { display: inline-flex; align-items: center; min-height: 44px; }

.kz .kz-links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.kz-links li + li { border-left: 1px solid var(--line); }
.kz .kz-links a { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 64px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.kz-links a::after { content: "\2197"; letter-spacing: 0; }

.kz-map { background: var(--sand); line-height: 0; }
.kz-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1); }

.kz-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.kz .wpcf7 { margin-top: 24px; }
.kz .wpcf7 form { margin: 0; }
.kz .wpcf7 form > p { margin: 0 0 20px; }
.kz .wpcf7 label { display: block; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.kz .wpcf7 br { display: none; }
.kz .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.kz .wpcf7 input:not([type="submit"]):not([type="hidden"]), .kz .wpcf7 textarea { display: block; width: 100%; max-width: 100%; min-height: 48px; margin: 0; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font: inherit; font-size: 16px; }
.kz .wpcf7 textarea { height: 112px; resize: vertical; }
.kz .wpcf7 .wpcf7-not-valid { border-bottom-color: #b3261e !important; }
.kz .wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; letter-spacing: 0; text-transform: none; color: #b3261e; }
.kz .wpcf7 .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-width: 1px; }
.kz .kz-button, .kz .wpcf7 input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 240px; min-height: 52px; padding: 0 32px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; box-shadow: none; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.kz .kz-button:hover, .kz .wpcf7 input[type="submit"]:hover { background: #fff; color: var(--ink); opacity: 1; }

.kz .kz-details dl { margin-top: 24px; border-top: 1px solid var(--ink); }
.kz-details dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kz-details dt { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.kz-details dd { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; font-size: 15px; }

/* возврат */
.kz-head { margin-bottom: 32px !important; }
.kz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.kz .kz-grid > li { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ink); }
.kz-grid p { font-size: 15px; }
.kz-big { font-size: clamp(36px, 4.4vw, 60px); font-weight: 200; line-height: 1.05; text-transform: uppercase; }
.kz .kz-panel { background: var(--sand); padding: clamp(24px, 4vw, 48px); }
.kz-center { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }

@media (max-width: 991px) {
  .kz-grid { grid-template-columns: 1fr; }
  .kz .kz-links { grid-template-columns: repeat(2, 1fr); }
  .kz-links li:nth-child(3) { border-left: 0; }
  .kz-links li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .kz-row, .kz-two { grid-template-columns: 1fr; }
  .kz-row > figure { order: -1; }
  .kz-map iframe { height: 340px; }
  .kz-details dl > div { grid-template-columns: 1fr; gap: 2px; }
  .kz .kz-button, .kz .wpcf7 input[type="submit"] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .kz * { transition: none !important; } }
