/* Contacts link page — brand tokens from public site */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body.contacts-page {
    font-family: Montserrat, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    -webkit-font-smoothing: antialiased;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contacts {
    width: 100%;
    max-width: 520px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contacts__logo-link {
    display: block;
    width: min(218px, 72%);
    margin: 0 auto 56px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contacts__logo-link:hover {
    opacity: 0.75;
}

.contacts__logo {
    display: block;
    width: 100%;
    height: auto;
    /* logo.svg is white — invert for light page */
    filter: brightness(0);
}

.contacts__links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    background: #000000;
    color: #ffffff;
    border-radius: 26px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.15px;
    text-decoration: none;
    word-break: break-word;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contacts__button:hover {
    opacity: 0.88;
}

.contacts__button:active {
    transform: scale(0.99);
}

.contacts__address {
    display: block;
    flex-shrink: 0;
    margin-top: 24px;
    padding-top: 8px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.15px;
    color: #1a1a1a;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s ease;
}

.contacts__address:hover {
    opacity: 0.7;
}

@media (max-width: 480px) {
    body.contacts-page {
        padding: 32px 16px;
    }

    .contacts__logo-link {
        width: min(180px, 78%);
        margin-bottom: 48px;
    }

    .contacts__button {
        min-height: 48px;
        font-size: 15px;
        border-radius: 24px;
    }

    .contacts__address {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .contacts {
        max-width: 560px;
    }

    .contacts__logo-link {
        width: 218px;
        margin-bottom: 64px;
    }

    .contacts__links {
        gap: 14px;
    }

    .contacts__button {
        min-height: 56px;
        font-size: 17px;
    }
}
