/* Страница Контакты: Реквизиты, адрес, карта, соцсети */

html .contact_dop h2,
html .contact_header h1 {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    color: #0fa6ab;
    text-align: center;
    margin: 0 0 12px;
    padding-bottom: 12px;
    position: relative;
}
html .contact_dop h2::after,
html .contact_header h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0fa6ab;
    border-radius: 2px;
}

/* Блок реквизитов */
html .contact_dop {
    margin-bottom: 48px;
}
html .contact_dop h2 {
    margin-bottom: 24px;
}
html .contact_info {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
html .contact_info .left,
html .contact_info .right {
    flex: 1;
    min-width: 260px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
html .contact_dop p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}
html .contact_dop p:first-child {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
    margin-bottom: 14px;
}
html .contact_dop p:last-child {
    margin-bottom: 0;
}
html .contact_dop a {
    color: #0fa6ab;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
html .contact_dop a:hover {
    color: #0d959a;
    text-decoration: underline;
}

/* Блок адреса и карты */
html .contact_header {
    margin-bottom: 48px;
}
html .contact_header p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
html #map-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    max-width: 100%;
    margin: 0 auto;
}
html .contact_header iframe {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
}
@media (min-width: 768px) {
    html .contact_header iframe {
        height: 480px;
    }
}
@media (min-width: 1024px) {
    html .contact_header iframe {
        height: 520px;
    }
}

/* Соцсети */
html .contact_social {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    padding: 24px 0;
}
html .contact_social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0fdfd;
    border: 1px solid rgba(15, 166, 171, 0.25);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
html .contact_social a:hover {
    background: #e0fafa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 166, 171, 0.2);
}
html .contact_social a img {
    width: 26px;
    height: 26px;
    display: block;
}

@media (max-width: 1024px) {
    html .contact_social {
        margin-bottom: 48px;
    }
}
@media (max-width: 768px) {
    html .contact_dop h2,
    html .contact_header h1 {
        font-size: 22px;
    }
    html .contact_info {
        flex-direction: column;
        gap: 16px;
    }
    html .contact_info .left,
    html .contact_info .right {
        min-width: 100%;
    }
    html .contact_header iframe {
        height: 360px;
    }
}

/* Простая страница Контакты (case 55: только заголовок, картинка, реквизиты) */
.contacts-page {
    max-width: 720px;
    margin: 0 auto 48px;
}
.contacts-page h1 {
    font-size: 28px;
    font-weight: 600;
    color: #0fa6ab;
    text-align: center;
    margin-bottom: 24px;
}
.contacts-page .pics-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.contacts-page .pics-img img {
    width: 100%;
    height: auto;
    display: block;
}
.contacts-page .ji {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}
.contacts-page .ji a {
    color: #0fa6ab;
    text-decoration: none;
    font-weight: 500;
}
.contacts-page .ji a:hover {
    text-decoration: underline;
}
