﻿/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    background: #fff;
}

/* CARD */
.contact-card {
    position: relative;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.contact-title {
    margin: 0 0 18px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: #212529;
}

.contact-label {
    margin-bottom: 4px;
    font-size: .88rem;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: .2px;
}

.contact-value {
    font-size: 1rem;
    line-height: 1.6;
    color: #212529;
    word-break: break-word;
}

/* =========================================================
   FORM
========================================================= */

#contactForm .form-label {
    margin-bottom: 6px;
    font-size: .95rem;
    font-weight: 600;
    color: #212529;
}

#contactForm .form-control,
#contactForm .form-select {
    min-height: 48px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: .95rem;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

    #contactForm .form-control:focus,
    #contactForm .form-select:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, .14);
    }

#contactForm textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* =========================================================
   CAPTCHA
========================================================= */

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.captcha-canvas {
    display: block;
    max-width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #f8f9fa;
}

.captcha-input {
    width: 160px;
    min-width: 140px;
}

/* =========================================================
   HONEYPOT
========================================================= */

.contact-hp-wrap {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   FOOTER LINKS
========================================================= */

.ftr-title {
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: #212529;
}

.ftr-links a {
    position: relative;
    display: inline-block;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    padding: 5px 0;
    transition: color .18s ease, transform .18s ease;
}

    .ftr-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 0;
        height: 1px;
        background: currentColor;
        transition: width .18s ease;
    }

    .ftr-links a:hover {
        color: #0a58ca;
        transform: translateX(2px);
    }

        .ftr-links a:hover::after {
            width: 100%;
        }

    .ftr-links a:active {
        color: #084298;
    }

    .ftr-links a:focus-visible {
        outline: 0;
        text-decoration: underline;
    }

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .contact-card {
        padding: 20px;
        border-radius: 16px;
    }

    .contact-title {
        font-size: 1.4rem;
    }

    .captcha-input {
        width: 100%;
        min-width: 100%;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .contact-card {
        padding: 16px;
        border-radius: 14px;
    }

    .contact-title {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    .contact-label {
        font-size: .82rem;
    }

    .contact-value {
        font-size: .95rem;
    }

    #contactForm .form-control,
    #contactForm .form-select {
        min-height: 44px;
        padding: 10px 12px;
        font-size: .92rem;
    }

    #contactForm textarea.form-control {
        min-height: 110px;
    }

    .captcha-row {
        align-items: stretch;
        gap: 10px;
    }

    .captcha-canvas {
        width: 100%;
        height: auto;
    }

    .captcha-input {
        width: 100%;
        min-width: 100%;
    }

    .ftr-links a {
        display: block;
        padding: 6px 0;
    }
}
