/* style.css — стили ТОЛЬКО страницы «Контакты» */

/* Декоративный фон (силуэт + листья), один на hero и на карточки под ним —
   картинка достаточно широкая и короткая (баннер), поэтому cover по ширине
   почти не обрезает её по высоте. Цвет самой картинки совпадает с общим
   кремовым фоном сайта, так что если файл не найден — просто кремовый фон. */
.contacts-hero {
    background: var(--color-bg) url("/kontakty/img/bg.webp") no-repeat top center / cover;
}

.page-hero { padding: 48px 0 8px; }
/* Заголовок — с золотой чертой слева, как на других страницах (услуги, блог) */
.page-hero .container { position: relative; padding-left: 74px; }
.page-hero .container::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 25px;
    width: 38px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-gold);
}
.page-hero h1 { max-width: 20ch; }
.page-hero__lead { max-width: 70ch; margin: 0; font-size: 17px; color: var(--color-text-soft); }

.contacts-section { padding: 40px 0 56px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.contacts-card {
    padding: 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-soft);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}
.contacts-card h2 { margin-bottom: 12px; font-size: 26px; }
.contacts-card__lead { margin: 0 0 28px; font-size: 15px; color: var(--color-text-soft); }

/* --- Левая карточка: адрес / телефон / режим работы --- */
.contacts-rows { list-style: none; margin: 0 0 30px; padding: 0; }
.contacts-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border-soft);
}
.contacts-row--last { border-bottom: none; padding-bottom: 0; }
.contacts-rows .contacts-row:first-child { padding-top: 0; }

.contacts-row__icon { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--color-gold); }
.contacts-row__icon svg { display: block; width: 100%; height: 100%; }

.contacts-row__text { display: flex; flex-direction: column; gap: 4px; }
.contacts-row__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-gold);
}
.contacts-row__value { font-size: 17px; font-weight: 600; color: var(--color-graphite); }
a.contacts-row__value:hover { color: var(--color-gold); }

.contacts-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.contacts-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(120deg, #B08F4E 0%, #C6A969 55%, #D6C08C 100%);
    color: #FFF;
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .18s ease;
}
.contacts-map-btn:hover { background: linear-gradient(120deg, #9E7E42 0%, #B8975A 55%, #C6A969 100%); }
.contacts-map-btn svg { flex: none; width: 20px; height: 20px; }
.contacts-map-btn__arrow { width: 18px; height: 18px; }

/* --- Правая карточка: способы связи --- */
.contacts-channels { list-style: none; margin: 0 0 28px; padding: 0; }
.contacts-channels li { margin: 0 0 12px; }
.contacts-channels li:last-child { margin-bottom: 0; }
.contacts-channels a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--color-header-bg);
    border: 1px solid var(--color-border-soft);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-graphite);
    transition: border-color .18s ease, background .18s ease;
}
.contacts-channels a:hover { border-color: var(--color-gold); background: var(--color-surface); }
.contacts-channel__icon { flex: none; display: block; width: 40px; height: auto; }
.contacts-channel__label { flex: 1 1 auto; }
.contacts-channel__arrow { flex: none; width: 18px; height: 18px; color: var(--color-gold); transition: transform .18s ease; }
.contacts-channels a:hover .contacts-channel__arrow { transform: translateX(3px); }

.contacts-note { margin: 0; font-size: 13px; color: var(--color-text-soft); }

@media (max-width: 820px) {
    .contacts { grid-template-columns: 1fr; gap: 24px; }
    .page-hero { padding: 36px 0 8px; }
    .contacts-card { padding: 28px; }
}

@media (max-width: 480px) {
    .page-hero .container { padding-left: 56px; }
    .page-hero .container::before { left: 20px; top: 19px; width: 26px; }
    .contacts-card__bottom { flex-direction: column; align-items: stretch; }
    .contacts-map-btn { justify-content: center; }
}
