/* Contacts page */

.contacts-page {
    background: #f4f7ef;
    padding-bottom: 56px;
}

.contacts-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef6e0 0%, #f8fbf3 45%, #ffffff 100%);
    border-bottom: 1px solid var(--site-border);
    margin-bottom: 32px;
}

.contacts-hero::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(115, 173, 9, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.contacts-hero__inner {
    position: relative;
    z-index: 1;
    padding: 36px 0 40px;
}

.contacts-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--site-accent-dark);
}

.contacts-hero__title {
    margin: 0 0 12px;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--site-text);
}

.contacts-hero__subtitle {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--site-muted);
}

.contacts-hero__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.contacts-hero__quick-link,
.contacts-hero__quick-static {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--site-border);
    color: var(--site-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(27, 39, 15, 0.06);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contacts-hero__quick-link:hover {
    border-color: var(--site-accent);
    color: var(--site-accent-dark);
    transform: translateY(-1px);
}

.contacts-hero__quick-icon {
    display: inline-flex;
    color: var(--site-accent-dark);
}

.contacts-page__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts-location {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    box-shadow: var(--site-shadow);
    overflow: hidden;
    min-height: 420px;
}

.contacts-location__panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 28px 32px;
    border-right: 1px solid var(--site-border);
    background: linear-gradient(180deg, #fafdf6 0%, #fff 100%);
}

.contacts-location__title {
    margin: 0 0 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--site-text);
}

.contacts-location__row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contacts-location__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f8eb;
    color: var(--site-accent-dark);
}

.contacts-location__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--site-muted);
    margin-bottom: 4px;
}

.contacts-location__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--site-text);
}

.contacts-location__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.contacts-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--site-accent-soft);
    color: var(--site-accent-dark);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.contacts-chip:hover {
    background: var(--site-accent);
    color: #fff;
}

.contacts-location__mail {
    font-size: 15px;
    font-weight: 600;
    color: var(--site-accent-dark);
    text-decoration: none;
    word-break: break-all;
}

.contacts-location__mail:hover {
    text-decoration: underline;
}

.contacts-location__route {
    margin-top: auto;
    width: 100%;
}

.contacts-location__map {
    position: relative;
    min-height: 420px;
    background: #e8efe0;
}

.contacts-location__map-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contacts-requisites {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    box-shadow: var(--site-shadow);
    padding: 28px 32px 32px;
}

.contacts-requisites__head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--site-border);
}

.contacts-requisites__title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    color: var(--site-text);
}

.contacts-requisites__hint {
    margin: 0;
    font-size: 14px;
    color: var(--site-muted);
}

.contacts-requisites__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
}

.contacts-requisites__item {
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fbf4;
    border: 1px solid #e8f0dc;
}

.contacts-requisites__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--site-muted);
    margin-bottom: 6px;
}

.contacts-requisites__value {
    font-size: 15px;
    line-height: 1.45;
    color: var(--site-text);
    word-break: break-word;
}

.contacts-requisites__more {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--site-accent-dark);
    text-decoration: none;
}

.contacts-requisites__more:hover {
    text-decoration: underline;
}

.contacts-requisites--cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.contacts-requisites__grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rekvizity-intro {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    box-shadow: var(--site-shadow);
    padding: 24px 28px;
}

.rekvizity-intro p:last-child {
    margin-bottom: 0;
}

.cb-prose--card {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    box-shadow: var(--site-shadow);
    padding: 24px 28px;
}

.cb-prose table,
.cb-prose--card table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0 0;
}

.cb-prose table th,
.cb-prose table td,
.cb-prose--card table th,
.cb-prose--card table td {
    padding: 12px 14px;
    border: 1px solid #e8f0dc;
    text-align: left;
    vertical-align: top;
}

.cb-prose table th,
.cb-prose--card table th {
    width: 36%;
    background: #f8fbf4;
    font-size: 13px;
    font-weight: 700;
    color: var(--site-muted);
}

.contacts-empty {
    padding: 32px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--site-border);
    color: var(--site-muted);
}

.cb-header__region--address {
    text-decoration: none;
    color: var(--site-muted);
    max-width: min(480px, 50vw);
    transition: color 0.2s ease;
}

.cb-header__region--address:hover {
    color: var(--site-accent-dark);
}

.cb-header__region--address span {
    color: var(--site-text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 960px) {
    .contacts-location {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .contacts-location__panel {
        border-right: 0;
        border-bottom: 1px solid var(--site-border);
    }

    .contacts-location__map {
        min-height: 320px;
    }

    .contacts-requisites__grid {
        grid-template-columns: 1fr;
    }

    .cb-header__region--address {
        max-width: 220px;
    }
}

@media (max-width: 600px) {
    .contacts-page {
        padding-bottom: 40px;
    }

    .contacts-hero__inner {
        padding: 28px 0 32px;
    }

    .contacts-hero__quick {
        flex-direction: column;
        align-items: stretch;
    }

    .contacts-hero__quick-link,
    .contacts-hero__quick-static {
        width: 100%;
    }

    .contacts-location__panel {
        padding: 22px 18px 24px;
    }

    .contacts-location__map {
        min-height: 280px;
    }

    .contacts-requisites {
        padding: 22px 18px 24px;
    }
}
