/**
 * =====================================================
 * БЛОК «НА СВЯЗИ»
 * Современный магический стиль
 * =====================================================
 */

.contacts-section {
    position: relative;
    width: 100%;
    overflow: hidden;

    padding: 58px 30px 52px;

    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(204, 164, 68, 0.14) 0%,
            rgba(204, 164, 68, 0.04) 22%,
            transparent 48%
        ),
        radial-gradient(
            circle at 92% 18%,
            rgba(137, 91, 139, 0.34) 0%,
            transparent 42%
        ),
        radial-gradient(
            circle at 65% 95%,
            rgba(116, 67, 111, 0.40) 0%,
            transparent 45%
        ),
        linear-gradient(
            125deg,
            #5c1a4f 0%,
            #6b285d 38%,
            #51204d 68%,
            #43183f 100%
        );
}

.contacts-section::before {
    position: absolute;

    top: -180px;
    right: -120px;

    width: 460px;
    height: 460px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(204, 164, 68, 0.12) 0%,
            rgba(204, 164, 68, 0.025) 35%,
            transparent 70%
        );

    filter: blur(12px);

    pointer-events: none;

    content: "";
}

.contacts-section::after {
    position: absolute;

    bottom: -240px;
    left: 5%;

    width: 560px;
    height: 560px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(185, 135, 183, 0.14) 0%,
            rgba(185, 135, 183, 0.035) 38%,
            transparent 70%
        );

    filter: blur(25px);

    pointer-events: none;

    content: "";
}


/* =====================================================
   КОНТЕЙНЕР
   ===================================================== */

.contacts-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}


/* =====================================================
   ЗАГОЛОВОК
   ===================================================== */

.contacts-heading {
    max-width: 850px;

    margin: 0 auto 28px;

    text-align: center;
}

.contacts-kicker {
    display: block;

    margin-bottom: 7px;

    font-family: Arial, sans-serif;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;

    color: #e0bd67;

    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.contacts-title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;
    line-height: 1.14;
    font-weight: 400;

    color: #ffffff;

    text-shadow:
        0 4px 25px rgba(25, 8, 23, 0.20);
}

.contacts-title::after {
    display: block;

    width: 40px;
    height: 2px;

    margin: 14px auto 0;

    border-radius: 2px;

    background: #cca444;

    box-shadow:
        0 0 14px rgba(204, 164, 68, 0.35);

    content: "";
}

.contacts-subtitle {
    max-width: 730px;

    margin: 14px auto 0;

    font-family: Arial, sans-serif;

    font-size: 16px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.78);
}


/* =====================================================
   СОЦИАЛЬНЫЕ СЕТИ
   ===================================================== */

.contacts-socials {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.contact-social-card {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 108px;

    padding: 17px 19px;

    box-sizing: border-box;

    border: 0;
    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.105),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        0 10px 30px rgba(31, 8, 29, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    color: #ffffff;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-social-card::after {
    position: absolute;

    top: -60px;
    right: -60px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background: rgba(204, 164, 68, 0.07);

    filter: blur(18px);

    pointer-events: none;

    content: "";

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.contact-social-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.145),
            rgba(255, 255, 255, 0.055)
        );

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 16px 36px rgba(28, 7, 26, 0.21),
        0 8px 22px rgba(204, 164, 68, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.contact-social-card:hover::after {
    transform: scale(1.3);

    opacity: 1;
}


/* =====================================================
   ИКОНКИ
   ===================================================== */

.contact-social-icon {
    position: relative;
    z-index: 2;

    display: flex;
    flex: 0 0 48px;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-right: 15px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(204, 164, 68, 0.18),
            rgba(204, 164, 68, 0.07)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 6px 16px rgba(25, 7, 23, 0.12);

    box-sizing: border-box;

    font-family: Arial, sans-serif;

    color: #e0bd67;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-social-card:hover .contact-social-icon {
    background:
        linear-gradient(
            145deg,
            #cca444,
            #e0bd67
        );

    color: #5c1a4f;

    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(204, 164, 68, 0.18);
}

.contact-icon-avito span {
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
}

.contact-icon-vk span {
    font-size: 14px;
    line-height: 1;
    font-weight: 700;

    letter-spacing: -0.04em;
}

.contact-icon-telegram span {
    display: block;

    margin-left: -2px;

    font-size: 19px;
    line-height: 1;

    transform: rotate(-15deg);
}


/* =====================================================
   ТЕКСТ КАРТОЧЕК
   ===================================================== */

.contact-social-content {
    position: relative;
    z-index: 2;

    min-width: 0;
}

.contact-social-title {
    margin: 0 0 4px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px;
    line-height: 1.2;
    font-weight: 400;

    color: #ffffff;
}

.contact-social-description {
    margin: 0 0 7px;

    font-family: Arial, sans-serif;

    font-size: 13px;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.70);
}

.contact-social-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-family: Arial, sans-serif;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;

    color: #e0bd67;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-arrow {
    font-size: 13px;
    line-height: 1;

    transition:
        transform 0.2s ease;
}

.contact-social-card:hover .contact-arrow {
    transform: translate(2px, -2px);
}


/* =====================================================
   ОТЗЫВЫ
   ===================================================== */

.contacts-reviews {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    margin-top: 13px;

    padding: 13px 20px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contacts-reviews-label {
    flex: 0 0 auto;

    font-family: Arial, sans-serif;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;

    color: #e0bd67;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contacts-reviews-text {
    font-family: Arial, sans-serif;

    font-size: 16px;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.82);
}

.contacts-reviews a {
    color: #e0bd67;

    text-decoration: none;

    font-weight: 600;

    transition:
        color 0.2s ease;
}

.contacts-reviews a:hover {
    color: #ffffff;
}


/* =====================================================
   MAX
   ===================================================== */

.contacts-chat {
    position: relative;

    margin-top: 17px;

    border-radius: 15px;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(204, 164, 68, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(184, 128, 178, 0.18),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.055)
        );

    box-shadow:
        0 15px 38px rgba(27, 6, 25, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);

    overflow: hidden;
}

.contacts-chat-content {
    position: relative;

    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 20px 23px;
}

.contacts-chat-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #cca444,
            #dfbd68
        );

    box-shadow:
        0 8px 22px rgba(204, 164, 68, 0.17);

    box-sizing: border-box;
}

.contacts-chat-icon span {
    font-family: Arial, sans-serif;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;

    color: #5c1a4f;

    letter-spacing: 0.06em;
}

.contacts-chat-text {
    min-width: 0;
}

.contacts-chat-label {
    display: block;

    margin-bottom: 3px;

    font-family: Arial, sans-serif;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;

    color: #e0bd67;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contacts-chat-title {
    margin: 0 0 5px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;

    color: #ffffff;
}

.contacts-chat-description {
    max-width: 720px;

    margin: 0;

    font-family: Arial, sans-serif;

    font-size: 13px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.71);
}

.contacts-chat-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 155px;

    padding: 11px 16px;

    border: 0;
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #cca444,
            #dfbd68
        );

    box-shadow:
        0 8px 22px rgba(204, 164, 68, 0.15);

    box-sizing: border-box;

    font-family: Arial, sans-serif;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;

    color: #5c1a4f;

    text-align: center;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.contacts-chat-button span {
    font-size: 14px;
    line-height: 1;
}

.contacts-chat-button:hover {
    color: #5c1a4f;

    transform: translateY(-2px);

    filter: brightness(1.05);

    box-shadow:
        0 11px 28px rgba(204, 164, 68, 0.22);
}


/* =====================================================
   ФИНАЛЬНАЯ ФРАЗА
   ===================================================== */

.contacts-final {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    line-height: 1.35;

    color: rgba(255, 255, 255, 0.57);

    text-align: center;
}

.contacts-final strong {
    font-weight: 400;

    color: #e0bd67;
}


/* =====================================================
   ПЛАНШЕТ
   ===================================================== */

@media (max-width: 900px) {

    .contacts-section {
        padding: 50px 25px 45px;
    }

    .contacts-socials {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .contact-social-card {
        min-height: 96px;
    }

    .contacts-chat-content {
        grid-template-columns: auto 1fr;

        gap: 17px;
    }

    .contacts-chat-button {
        grid-column: 1 / -1;

        width: 100%;
    }

}


/* =====================================================
   МОБИЛЬНЫЙ
   ===================================================== */

@media (max-width: 600px) {

    .contacts-section {
        padding: 43px 16px 40px;
    }

    .contacts-heading {
        margin-bottom: 22px;
    }

    .contacts-kicker {
        font-size: 8px;
    }

    .contacts-title {
        font-size: 30px;
        line-height: 1.15;
    }

    .contacts-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .contact-social-card {
        min-height: 88px;

        padding: 14px;

        border-radius: 12px;
    }

    .contact-social-icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        margin-right: 12px;

        border-radius: 13px;
    }

    .contact-icon-avito span {
        font-size: 21px;
    }

    .contact-icon-vk span {
        font-size: 13px;
    }

    .contact-icon-telegram span {
        font-size: 18px;
    }

    .contact-social-title {
        font-size: 19px;
    }

    .contact-social-description {
        margin-bottom: 5px;

        font-size: 11px;
    }

    .contact-social-link {
        font-size: 8px;
    }

    .contacts-reviews {
        display: block;

        margin-top: 10px;

        padding: 12px 14px;

        text-align: center;
    }

    .contacts-reviews-label {
        display: block;

        margin-bottom: 5px;

        font-size: 9px;
    }

    .contacts-reviews-text {
        font-size: 13px;
    }

    .contacts-chat {
        margin-top: 12px;

        border-radius: 13px;
    }

    .contacts-chat-content {
        grid-template-columns: 1fr;

        gap: 11px;

        padding: 18px 15px;

        text-align: center;
    }

    .contacts-chat-icon {
        width: 50px;
        height: 50px;

        margin: 0 auto;

        border-radius: 14px;
    }

    .contacts-chat-title {
        font-size: 20px;
    }

    .contacts-chat-description {
        font-size: 11px;

        line-height: 1.5;
    }

    .contacts-chat-button {
        min-width: 0;

        width: 100%;

        padding: 11px 15px;

        border-radius: 8px;

        font-size: 11px;
    }

    .contacts-final {
        display: block;

        margin-top: 13px;

        font-size: 13px;
    }

    .contacts-final strong {
        margin-left: 3px;
    }

}