/* Страница /kontakty (app/pages/kontakty). Та же система, что у .gk-product-page:
   фон #f5f5f5, белые карточки с радиусом 5px, акцент #dedd26, шрифты Tilda-проекта. */
.gk-contacts, .gk-contacts * { box-sizing: border-box; }
.gk-contacts {
    padding: 132px 20px 80px;
    background: #f5f5f5;
    color: #000;
    font-family: var(--t-text-font, Arial), Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
.gk-contacts__inner { width: min(1160px, 100%); margin: 0 auto; }
/* Глобальный a{color:#ff8562} из CSS Tilda перебивает наследование — фиксируем явно. */
.gk-contacts a:not(.gk-contacts__messenger) { color: #000 !important; }
.gk-contacts__route, .gk-contacts__consent a { text-decoration: underline; text-underline-offset: 3px; }

.gk-contacts__head { margin: 0 0 32px; max-width: 760px; }
.gk-contacts__kicker { margin: 0 0 10px; color: #4f4f4f; font-size: 12px; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
.gk-contacts__title {
    margin: 0 0 14px;
    font-family: "Gk Bebas", "Bebas Neue", Impact, sans-serif;
    font-size: 64px; font-weight: 400; line-height: 1; text-transform: uppercase;
}
.gk-contacts__lead { margin: 0; color: #303030; font-size: 16px; }

.gk-contacts__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
.gk-contacts__col { display: grid; gap: 20px; }
.gk-contacts__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.gk-contacts__card { padding: 28px 30px; border-radius: 5px; background: #fff; }
.gk-contacts__card--primary { background: #dedd26; }
.gk-contacts__h2 {
    margin: 0 0 18px;
    font-family: "Gk Bebas", "Bebas Neue", Impact, sans-serif;
    font-size: 30px; font-weight: 400; line-height: 1; text-transform: uppercase;
}
.gk-contacts__muted { margin: 6px 0 0; color: #606060; font-size: 13px; }
.gk-contacts__card--primary .gk-contacts__muted { color: #303030; }

.gk-contacts__icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

.gk-contacts__line { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 18px; text-decoration: none; }
.gk-contacts__line:hover span { text-decoration: underline; }
.gk-contacts__phone { font-size: 30px; font-weight: 600; line-height: 1.15; }
.gk-contacts__phone .gk-contacts__icon { width: 24px; height: 24px; }

.gk-contacts__messengers { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0 !important; padding: 0 !important; list-style: none; }
.gk-contacts__messengers li { display: flex; margin: 0; }
.gk-contacts__messenger {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 46px; padding: 0 18px;
    border-radius: 4px; background: #000; color: #fff !important;
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
}
.gk-contacts__messenger:hover { opacity: .88; transform: translateY(-1px); }
.gk-contacts__messenger--whatsapp .gk-contacts__icon { fill: #25d366; }
.gk-contacts__messenger--telegram .gk-contacts__icon { fill: #2aabee; }
.gk-contacts__messenger--max .gk-contacts__icon { fill: #8b5cf6; }

.gk-contacts__address + .gk-contacts__address { margin-top: 18px; padding-top: 18px; border-top: 1px solid #ebebeb; }
.gk-contacts__badge {
    display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 3px;
    font-size: 12px; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em;
}
.gk-contacts__badge--office { background: #e3f1ff; color: #0b5cad; }
.gk-contacts__badge--warehouse { background: #fff1d9; color: #8a5300; }
.gk-contacts__address-text { margin: 0; font-size: 16px; }
.gk-contacts__route { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 500; }
.gk-contacts__route .gk-contacts__icon { width: 16px; height: 16px; }

.gk-contacts__hours, .gk-contacts__legal { margin: 0; }
.gk-contacts__hours div, .gk-contacts__legal div { padding: 8px 0; border-bottom: 1px solid #ebebeb; }
.gk-contacts__hours div:first-child, .gk-contacts__legal div:first-child { padding-top: 0; }
.gk-contacts__hours dt, .gk-contacts__legal dt { color: #606060; font-size: 13px; }
.gk-contacts__hours dd, .gk-contacts__legal dd { margin: 2px 0 0; font-size: 15px; }
.gk-contacts__legal dd { font-variant-numeric: tabular-nums; }

.gk-contacts__form { display: grid; gap: 14px; margin-top: 18px; }
.gk-contacts__field { display: grid; gap: 6px; font-size: 13px; color: #303030; }
.gk-contacts__field b { color: #c0392b; font-weight: 400; }
.gk-contacts__field input, .gk-contacts__field textarea {
    width: 100%; padding: 13px 14px; border: 1px solid #d8d8d8; border-radius: 4px;
    background: #fff; color: #000; font: 15px/1.4 var(--t-text-font, Arial), Arial, sans-serif;
}
.gk-contacts__field textarea { resize: vertical; min-height: 100px; }
.gk-contacts__field input:focus, .gk-contacts__field textarea:focus { outline: 2px solid #dedd26; outline-offset: 0; border-color: #000; }
.gk-contacts__consent { display: flex; gap: 10px; align-items: flex-start; color: #606060; font-size: 12px; line-height: 1.4; }
.gk-contacts__consent input { margin: 2px 0 0; width: 16px; height: 16px; flex: none; accent-color: #000; }
.gk-contacts__submit {
    min-height: 54px; border: 0; border-radius: 4px; background: #dedd26; color: #000;
    font: 500 15px/1.2 var(--t-text-font, Arial), Arial, sans-serif; cursor: pointer;
}
.gk-contacts__submit:hover { background: #cfce1c; }
.gk-contacts__submit:disabled { opacity: .6; cursor: progress; }

.gk-contacts__map-section, .gk-contacts__photos { margin-top: 48px; }
.gk-contacts__map {
    position: relative; height: 460px; overflow: hidden; border-radius: 5px;
    background: #e9eae4 repeating-linear-gradient(45deg, rgba(0,0,0,.025) 0 12px, transparent 12px 24px);
}
.gk-contacts__map-load {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    width: 100%; border: 0; background: transparent; color: #000; cursor: pointer;
    font: 500 18px/1.2 var(--t-text-font, Arial), Arial, sans-serif;
}
.gk-contacts__map-load .gk-contacts__icon { width: 44px; height: 44px; fill: #000; }
.gk-contacts__map-load span { padding: 14px 26px; border-radius: 4px; background: #dedd26; }
.gk-contacts__map-load small { color: #606060; font-size: 13px; font-weight: 400; }
.gk-contacts__map.is-loading .gk-contacts__map-load span::after { content: "…"; }
.gk-contacts__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; padding: 0; list-style: none; color: #303030; font-size: 14px; }
.gk-contacts__dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; }
.gk-contacts__dot--office { background: #1e98ff; }
.gk-contacts__dot--warehouse { background: #f5a623; }

.gk-contacts__photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 360px)); gap: 20px; }
.gk-contacts__photo { margin: 0; overflow: hidden; border-radius: 5px; background: #fff; }
/* Фото офиса/склада портретные (~5:6) — рамка той же пропорции, без обрезки половины кадра. */
.gk-contacts__photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; }
.gk-contacts__photo figcaption { padding: 12px 16px; color: #303030; font-size: 14px; }

@media (max-width: 1100px) {
    .gk-contacts__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .gk-contacts { padding: 100px 16px 56px; }
    .gk-contacts__title { font-size: 46px; }
    .gk-contacts__pair { grid-template-columns: 1fr; }
    .gk-contacts__card { padding: 22px 20px; }
    .gk-contacts__phone { font-size: 24px; }
    .gk-contacts__line { font-size: 16px; }
    .gk-contacts__messengers li { flex: 1 1 auto; }
    .gk-contacts__messenger { flex: 1 1 auto; justify-content: center; }
    .gk-contacts__map { height: 360px; }
    .gk-contacts__photo-grid { grid-template-columns: 1fr; }
}
