.page-contact .container {
    width: min(100%, 1200px);
    padding-inline: 20px;
}

.page-contact .section {
    padding-block: 120px;
}

.contact-hero {
    padding-top: 120px;
    background: var(--dark-purple);
    color: #fff;
}

.contact-hero__intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero__image-wrap {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.contact-hero__image-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--cyan);
}

.contact-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-hero__lead {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero__note {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.05rem;
    font-style: italic;
}

.contact-hero__social {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-hero__icons {
    justify-content: center;
    flex-wrap: nowrap;
}

.contact-hero__icons i {
    color: var(--dark-purple);
}

.page-contact .social-tile-link {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    color: var(--dark-purple);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    border: 2px solid var(--dark-purple);
}

.page-contact .social-tile-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: var(--dark-purple);
    color: #fff;
}

.page-contact .social-tile-label {
    font-size: 0.9rem;
    color: var(--dark-purple);
    font-weight: 600;
}

.page-contact .main-footer .social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
}

.page-contact .main-footer .social-icons a {
    background: var(--dark-purple);
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
}

.page-contact .main-footer .social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .navbar .logo-image {
    max-height: 60px;
    width: auto;
}

.page-contact input:focus,
.page-contact textarea:focus,
.page-contact select:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    * {
        max-width: 100vw;
        box-sizing: border-box;
    }

    .page-contact .navbar .logo-image {
        max-height: 50px;
    }

    .navbar .nav-menu {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .navbar .nav-menu.active {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        background: var(--dark-purple);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }

    .navbar .nav-menu.active li {
        margin: 12px 0;
        list-style: none;
    }

    .navbar .nav-menu.active a {
        color: #fff;
        font-size: 1.4rem;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .navbar .nav-menu.active a:hover {
        color: var(--cyan);
        transition: color 0.3s ease;
    }

    .contact-hero__icons {
        justify-content: center;
    }

    .page-contact .social-tile-link {
        width: 48px;
        justify-content: center;
    }
}
