/* =========================================================
   СВОИ ДНИ — страница «Контакты», светлая тема
   Подключается ПОСЛЕ home-light.css (цвета, шапка, подвал, кнопки).
   Старый contacts.css этим файлом не затрагивается.
   ========================================================= */

html, body.contacts-page { background-color: var(--bg-cream) !important; margin: 0; }
body.contacts-page { font-family: 'Manrope', 'Inter', sans-serif; color: var(--svd-ink); }

.contacts-page-section { padding: 64px 32px 96px; }
.contacts-head { margin-bottom: 40px; }
.contacts-page-section .section-title {
    margin: 0 0 14px; text-align: left; color: var(--svd-ink) !important;
    font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.015em; text-transform: uppercase;
}
.contacts-lead { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--svd-muted); }

.contacts-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; }

/* ---------- Карточки контактов ---------- */
.contact-info-block { display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; }
.contacts-page-section .contact-item {
    display: flex; align-items: center; gap: 18px; margin: 0; padding: 18px 22px;
    background: #fff; border: 1px solid var(--svd-line); border-radius: 22px;
    box-shadow: 0 10px 28px rgba(23, 27, 52, 0.06);
}
.contacts-page-section .contact-item div { display: block; }
.contacts-page-section .ci-icon,
.contacts-page-section .sb-icon {
    flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--svd-tint); color: var(--svd-ink); box-shadow: none;
}
.contacts-page-section .ci-icon svg, .contacts-page-section .ci-icon i { width: 24px; height: 24px; color: var(--svd-ink) !important; stroke: var(--svd-ink); }
.contacts-page-section .contact-item h3 { margin: 0 0 3px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--svd-muted) !important; line-height: 1.2; }
.contacts-page-section .contact-item p { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--svd-ink) !important; }
.contacts-page-section .contact-item p a { color: inherit !important; text-decoration: none; }
.contacts-page-section .contact-item p a:hover { color: var(--svd-amber-hover) !important; text-decoration: none; }

/* ---------- Мессенджеры ---------- */
.contacts-page-section .social-connect { margin-top: 12px; padding-top: 0; border-top: none; }
.contacts-page-section .social-connect h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: var(--svd-ink) !important; }
.contacts-page-section .social-icons-large { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts-page-section .social-icons-large a {
    display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; padding: 6px 14px 6px 6px;
    border-radius: 16px; border: 1px solid var(--svd-line); background: #fff;
    color: var(--svd-ink); font-size: 16px; font-weight: 800; text-decoration: none;
    box-shadow: 0 8px 22px rgba(23, 27, 52, 0.05); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.contacts-page-section .social-icons-large a:hover { background: #fff; border-color: var(--svd-amber); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 27, 52, 0.1); }
.contacts-page-section .social-icons-large .sb-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--svd-amber); }
.contacts-page-section .social-icons-large .sb-icon svg { width: 20px; height: 20px; color: var(--svd-ink) !important; stroke: var(--svd-ink); fill: none; }
.contacts-page-section .social-icons-large .sb-icon .fa-brands { font-size: 21px; color: var(--svd-ink) !important; }
.contacts-page-section .social-icons-large a:hover svg,
.contacts-page-section .social-icons-large a:hover i { color: var(--svd-ink) !important; fill: none !important; }

/* ---------- Карта ---------- */
.contacts-page-section .map-wrapper {
    position: relative; height: 100%; min-height: 440px; border-radius: 28px; overflow: hidden;
    border: 1px solid var(--svd-line); box-shadow: 0 14px 36px rgba(23, 27, 52, 0.1); background: #EDE6D8;
}
.contacts-page-section .map-wrapper iframe { width: 100%; height: 100%; min-height: 440px; border: 0; border-radius: 0 !important; display: block; }
.contacts-page-section .map-route {
    position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 24px; border-radius: 12px;
    background: var(--svd-amber); color: var(--svd-ink); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    text-decoration: none; box-shadow: 0 10px 22px rgba(23, 27, 52, 0.22); transition: background .15s;
}
.contacts-page-section .map-route:hover { background: var(--svd-amber-hover); color: var(--svd-ink); }

/* ---------- Адаптивность ---------- */
@media (max-width: 992px) {
    .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
    .contacts-page-section .map-wrapper { height: 420px; min-height: 0; }
    .contacts-page-section .map-wrapper iframe { min-height: 0; }
}
@media (max-width: 768px) {
    .contacts-page-section { padding: 36px 20px 64px; }
    .contacts-page-section .section-title { font-size: 30px; }
    .contacts-lead { font-size: 16px; }
    .contacts-page-section .map-wrapper { border-radius: 22px; }

    /* мобильное меню */
    .menu-toggle { display: block !important; background: none; border: none; cursor: pointer; z-index: 1100; }
    .nav {
        display: none; position: fixed !important; top: 85px; left: 0; width: 100%; height: auto;
        max-height: calc(100vh - 85px); background: var(--bg-cream) !important;
        flex-direction: column !important; padding: 25px !important;
        box-shadow: 0 10px 25px rgba(23, 27, 52, 0.12); z-index: 1000; overflow-y: auto;
    }
    .nav.active { display: flex !important; }
}
@media (max-width: 600px) {
    .contacts-page-section .contact-item { padding: 14px 16px; gap: 14px; }
    .contacts-page-section .contact-item p { font-size: 16px; }
    .contacts-page-section .social-icons-large a { flex: 1 1 100%; font-size: 15px; }
}
