/* ===============================
   CONTACT PAGE (tighter version)
   =============================== */

:root {
    --contact-blue-1: #0d7fbf;
    --contact-blue-2: #2E3192;
    --contact-link: #29A7E0;
    --contact-text: #101010;
    --contact-shadow: 0 20px 40px rgba(0, 0, 0, .1);
}

/* Generic container */
.contact-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HERO + CARDS ---------- */
.contact-hero {
    background: linear-gradient(135deg, var(--contact-blue-2) 0%, var(--contact-blue-1) 100%);
    color: #fff;
    padding: clamp(40px, 8vw, 90px) 0 clamp(30px, 6vw, 70px);
    text-align: center;
}

.contact-title {
    font-weight: 700;
    font-size: clamp(26px, 4.5vw, 50px);
    /* smaller */
    line-height: 1.15;
    margin: 0;
}

.contact-underline {
    display: inline-block;
    width: 80px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    margin: 14px auto 28px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.5vw, 28px);
    margin-top: clamp(16px, 3vw, 28px);
}

.contact-card {
    background: #fff;
    color: var(--contact-text);
    border-radius: 4px;
    box-shadow: var(--contact-shadow);
    padding: clamp(18px, 2.5vw, 28px);
    text-align: center;
}

.contact-card__title {
    font-weight: 700;
    font-size: clamp(16px, 2vw, 20px);
    /* reduced */
    margin: 0 0 10px;
}

.contact-card__text {
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.6;
    margin: 6px 0;
}

.contact-link {
    color: var(--contact-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- FORM SECTION ---------- */
.contact-form {
    background: #fff;
    padding: clamp(24px, 5vw, 60px) 0 clamp(32px, 6vw, 70px);
}

.contact-form__wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.contact-grid--full {
    grid-column: 1 / -1;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border: 1px solid #1a1a1a;
    border-radius: 2px;
    background: #fff;
    padding: 14px 16px;
    /* tighter */
    font-size: 14px;
    line-height: 1.4;
}

.contact-input {
    height: 46px;
}

.contact-textarea {
    resize: vertical;
    min-height: 160px;
}

/* Actions row (captcha + button) */
.contact-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.contact-captcha {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.contact-captcha__label {
    font-size: 14px;
}

.contact-captcha__input {
    width: 50px;
    height: 40px;
    border: 1px solid #1a1a1a;
    font-size: 14px;
    text-align: center;
}

.contact-btn {
    background: #2E3192;
    color: #fff;
    border: none;
    height: 44px;
    /* smaller button */
    padding: 0 20px;
    min-width: 160px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: opacity .2s ease;
}

.contact-btn:hover {
    opacity: .9;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-actions {
        justify-content: flex-start;
    }

    .contact-btn {
        width: 100%;
        min-width: 0;
    }
}
