/*
|--------------------------------------------------------------------------
| Contacts Hero
|--------------------------------------------------------------------------
*/

.contacts-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 95px;
    color: var(--wc-white);
    background: var(--wc-black);
}

.contacts-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.contacts-hero::after {
    position: absolute;
    top: -250px;
    right: -180px;
    width: 650px;
    height: 650px;
    content: "";
    pointer-events: none;

    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.13) 0%,
        rgba(37, 99, 235, 0.04) 40%,
        transparent 70%
    );
}

.contacts-hero .container {
    position: relative;
    z-index: 1;
}

.contacts-hero-content {
    max-width: 850px;
}

.contacts-hero .section-label {
    margin-bottom: 18px;
    color: #8eb8ff;
}

.contacts-hero h1 {
    max-width: 800px;
    margin: 0 0 25px;
    color: var(--wc-white);
    font-size: 4rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.contacts-hero p {
    max-width: 680px;
    margin: 0;
    color: #aeb5be;
    font-size: 1.1rem;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Contacts Section
|--------------------------------------------------------------------------
*/

.contacts-section {
    padding: 105px 0;
    background: var(--wc-white);
}


/*
|--------------------------------------------------------------------------
| Contacts Info
|--------------------------------------------------------------------------
*/

.contacts-info {
    height: 100%;
    padding: 42px;
    color: var(--wc-white);
    background: var(--wc-dark);
    border-radius: 12px;
}

.contacts-info .section-label {
    margin-bottom: 16px;
    color: #8eb8ff;
}

.contacts-info h2 {
    margin: 0 0 20px;
    color: var(--wc-white);
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.contacts-info-text {
    margin: 0 0 30px;
    color: #b5bbc3;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Contact List
|--------------------------------------------------------------------------
*/

.contact-list {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    color: var(--wc-white);
    border-bottom: 1px solid #343941;
    transition: color 0.2s ease;
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-item:hover {
    color: var(--wc-white);
}

.contact-item:hover strong {
    color: #8eb8ff;
}


/*
|--------------------------------------------------------------------------
| Contact Icon
|--------------------------------------------------------------------------
*/

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    color: #8eb8ff;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(142, 184, 255, 0.15);
    border-radius: 10px;
}

.contact-icon i {
    font-size: 1.1rem;
}

.contact-item span {
    display: block;
    margin-bottom: 5px;

    color: #747c87;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-item strong {
    display: block;

    color: var(--wc-white);

    font-size: 1rem;
    font-weight: 700;

    transition: color 0.2s ease;
}


/*
|--------------------------------------------------------------------------
| Contacts Form
|--------------------------------------------------------------------------
*/

.contacts-form {
    height: 100%;
    padding: 42px;

    background: var(--wc-white);
    border: 1px solid var(--wc-border);
    border-radius: 12px;
}

.contacts-form-header {
    margin-bottom: 32px;
}

.contacts-form-header .section-label {
    margin-bottom: 14px;
    color: var(--wc-blue);
}

.contacts-form h2 {
    margin: 0 0 12px;

    color: var(--wc-black);

    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.contacts-form-header p {
    max-width: 620px;
    margin: 0;

    color: var(--wc-muted);

    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.contacts-form .form-label {
    margin-bottom: 8px;

    color: var(--wc-text);

    font-size: 0.9rem;
    font-weight: 700;
}

.contacts-form .form-control,
.contacts-form .form-select {
    min-height: 52px;

    padding: 13px 15px;

    color: var(--wc-text);
    background: var(--wc-white);

    border: 1px solid var(--wc-border);
    border-radius: 8px;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contacts-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contacts-form .form-control::placeholder {
    color: #9aa1aa;
}

.contacts-form .form-control:focus,
.contacts-form .form-select:focus {
    color: var(--wc-text);
    background: var(--wc-white);

    border-color: var(--wc-blue);

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}


/*
|--------------------------------------------------------------------------
| Submit Button
|--------------------------------------------------------------------------
*/

.contacts-form .btn {
    min-height: 52px;
    padding: 12px 24px;
}

.contacts-form .btn i {
    margin-left: 8px;
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {

    .contacts-hero {
        padding: 80px 0;
    }

    .contacts-hero h1 {
        font-size: 3.5rem;
    }

    .contacts-section {
        padding: 80px 0;
    }

    .contacts-info,
    .contacts-form {
        padding: 32px;
    }

}


@media (max-width: 575.98px) {

    .contacts-hero {
        padding: 65px 0;
    }

    .contacts-hero h1 {
        font-size: 2.8rem;
    }

    .contacts-hero p {
        font-size: 1rem;
    }

    .contacts-section {
        padding: 70px 0;
    }

    .contacts-info,
    .contacts-form {
        padding: 25px;
        border-radius: 10px;
    }

    .contacts-info h2,
    .contacts-form h2 {
        font-size: 1.55rem;
    }

    .contact-item {
        gap: 14px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }

}
/* =========================================================
   CONTACT FORM — CAPTCHA
   ========================================================= */

.contact-form-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 0.5rem;
}


/* CAPTCHA */

.captcha-box {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex: 1;
}

.captcha-image-wrap {
    position: relative;
    flex: 0 0 auto;
    width: 180px;
    height: 58px;
}

.captcha-image {
    display: block;
    width: 180px;
    height: 58px;
    object-fit: cover;
    border: 1px solid var(--wc-border);
    background: #f5f5f5;
    border-radius: 0;
}

.captcha-refresh {
    position: absolute;
    top: 50%;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);
    color: var(--wc-black);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.captcha-refresh:hover {
    background: var(--wc-accent);
    color: var(--wc-black);
}

.captcha-refresh:active {
    transform: translateY(-50%) rotate(180deg);
}


.captcha-input-wrap {
    flex: 1;
    min-width: 150px;
}

.captcha-input-wrap .form-label {
    display: block;
    margin-bottom: 0.5rem;
}


/* BUTTON */

.contact-submit {
    flex: 0 0 auto;
    min-height: 48px;
    white-space: nowrap;
}

.contact-submit-loading {
    display: inline;
}


/* AJAX MESSAGE */

.contact-form-message {
    display: none;

    margin-top: 1.25rem;
    padding: 1rem 1.25rem;

    font-size: 0.95rem;
    line-height: 1.5;

    border: 1px solid var(--wc-border);
}

.contact-form-message.is-visible {
    display: block;
}

.contact-form-message.is-success {
    border-color: var(--wc-accent);
    color: rgb(121 185 255);
}

.contact-form-message.is-error {
    border-color: #d9534f;
    color: rgba(217, 83, 79, 0.08);
}


/* HONEYPOT */

.contact-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* DISABLED BUTTON */

.contact-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* MOBILE */

@media (max-width: 767.98px) {

    .contact-form-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .captcha-box {
        align-items: flex-end;
    }

    .captcha-image-wrap {
        width: 160px;
        height: 58px;
    }

    .captcha-image {
        width: 160px;
        height: 58px;
    }

    .contact-submit {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 480px) {

    .captcha-box {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-image-wrap {
        width: 180px;
    }

    .captcha-image {
        width: 180px;
    }

    .captcha-input-wrap {
        width: 100%;
    }
}