/* =========================================================
   KIFiJO — CONTACT PAGE
========================================================= */


/* =========================================================
   1. QUICK CONTACT CARDS
========================================================= */

.contact-quick-section {
    padding: 0 0 60px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.contact-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    height: 100%;
    margin-bottom: 20px;
    padding: 28px 20px;

    background: #fff;
    border: 1px solid #E3EAF0;
    border-radius: 10px;

    text-decoration: none;
    text-align: center;

    box-shadow: 0 12px 35px rgba(18, 59, 93, 0.08);

    transition: all 0.25s ease;
}

.contact-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(18, 59, 93, 0.14);
    border-color: rgba(212, 160, 23, 0.4);
}

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

    width: 54px;
    height: 54px;

    margin-bottom: 14px;

    background: rgba(212, 160, 23, 0.10);
    border-radius: 50%;

    color: #D4A017;
    font-size: 24px;
}

.contact-quick-card strong {
    display: block;
    margin-bottom: 6px;

    color: #123B5D;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.contact-quick-card span {
    color: #667784;
    font-size: 13px;
    word-break: break-word;
}


/* =========================================================
   2. OFFICE CARDS
========================================================= */

.office-card {
    position: relative;

    height: 100%;
    margin-bottom: 25px;
    padding: 30px 26px;

    background: #fff;
    border: 1px solid #E3EAF0;
    border-radius: 10px;

    transition: all 0.25s ease;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(18, 59, 93, 0.10);
    border-color: rgba(212, 160, 23, 0.35);
}

.office-card-primary {
    border-color: rgba(212, 160, 23, 0.5);
    border-top: 4px solid #D4A017;
}

.office-badge {
    position: absolute;
    top: 20px;
    right: 20px;

    padding: 4px 12px;

    background: #D4A017;
    color: #fff;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    border-radius: 20px;
}

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

    width: 48px;
    height: 48px;

    margin-bottom: 16px;

    background: rgba(18, 59, 93, 0.08);
    border-radius: 50%;

    color: #123B5D;
    font-size: 22px;
}

.office-card h4 {
    margin-bottom: 10px;

    color: #123B5D;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.office-address {
    margin-bottom: 16px;

    color: #667784;
    font-size: 14px;
    line-height: 1.7;
}

.office-contacts {
    padding: 0;
    margin: 0;
    list-style: none;

    padding-top: 16px;
    border-top: 1px solid #E3EAF0;
}

.office-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 5px 0;

    color: #243746;
    font-size: 13.5px;
}

.office-contacts i {
    color: #D4A017;
    font-size: 16px;
}

.office-contacts a {
    color: #243746;
    text-decoration: none;
}

.office-contacts a:hover {
    color: #D4A017;
}


/* =========================================================
   3. WECHAT BLOCK
========================================================= */

.wechat-contact-block {
    display: flex;
    align-items: center;
    gap: 40px;

    padding: 40px;

    background: #F5F8FA;
    border: 1px solid #E3EAF0;
    border-left: 4px solid #D4A017;
    border-radius: 10px;
}

.wechat-contact-qr-wrap {
    flex: 0 0 auto;
}

.wechat-contact-qr {
    display: block;
    width: 200px;
    height: 200px;

    padding: 8px;
    background: #fff;
    border: 1px solid #E3EAF0;
    border-radius: 8px;

    box-shadow: 0 12px 35px rgba(18, 59, 93, 0.08);
}

.wechat-contact-info {
    flex: 1 1 auto;
}

.wechat-contact-info h4 {
    margin-bottom: 12px;

    color: #123B5D;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.wechat-id-line {
    margin-bottom: 10px;
}

.wechat-id {
    display: inline-block;

    padding: 10px 20px;

    background: #fff;
    border: 1px dashed #D4A017;
    border-radius: 6px;

    color: #123B5D;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;

    cursor: text;
    user-select: all;
    -webkit-user-select: all;
}

.wechat-hint {
    margin-bottom: 18px;

    color: #667784;
    font-size: 13.5px;
    line-height: 1.7;
}

.wechat-cta .kifijo-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 22px;

    background: #D4A017;
    color: #fff;
    border: 2px solid #D4A017;
    border-radius: 4px;

    font-family: "Montserrat", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;

    transition: all 0.25s ease;
}

.wechat-cta .kifijo-btn-gold:hover {
    background: #123B5D;
    border-color: #123B5D;
    color: #fff;
}

@media (max-width: 767px) {
    .wechat-contact-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding: 30px 24px;
    }

    .wechat-contact-qr {
        width: 180px;
        height: 180px;
    }
}


/* =========================================================
   4. CONTACT FORM
========================================================= */

.contact-form {
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 45px rgba(18, 59, 93, 0.08);
}

.contact-mode-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;

    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E3EAF0;
}

.contact-mode {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.contact-mode input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.contact-mode-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    padding: 20px 14px;

    background: #F5F8FA;
    border: 2px solid #E3EAF0;
    border-radius: 8px;

    text-align: center;

    transition: all 0.2s ease;
}

.contact-mode-inner i {
    font-size: 26px;
    color: #123B5D;
    margin-bottom: 4px;
}

.contact-mode-inner strong {
    color: #123B5D;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-mode-inner small {
    color: #667784;
    font-size: 11px;
    line-height: 1.3;
}

.contact-mode:hover .contact-mode-inner {
    border-color: rgba(212, 160, 23, 0.5);
}

.contact-mode input:checked + .contact-mode-inner {
    background: rgba(212, 160, 23, 0.10);
    border-color: #D4A017;
}

.contact-mode input:checked + .contact-mode-inner i,
.contact-mode input:checked + .contact-mode-inner strong {
    color: #9A7310;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;

    color: #243746;
    font-family: "Montserrat", sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.contact-form .form-control {
    min-height: 46px;
    border: 1px solid #E3EAF0;
    border-radius: 4px;
    font-size: 13.5px;
    color: #243746;
    box-shadow: none;
}

.contact-form .form-control:focus {
    border-color: #1F5F8B;
    box-shadow: 0 0 0 3px rgba(31, 95, 139, 0.08);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.contact-consent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.contact-consent span {
    color: #667784;
    font-size: 12.5px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
}

.contact-form-message {
    display: none;

    margin-bottom: 18px;
    padding: 14px 18px;

    border-radius: 6px;

    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-message.is-success,
.contact-form-message.is-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-form-message i {
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

.contact-form-message.is-success {
    background: rgba(22, 131, 91, 0.10);
    border: 1px solid rgba(22, 131, 91, 0.35);
    color: #0F6042;
}

.contact-form-message.is-error {
    background: rgba(193, 39, 45, 0.08);
    border: 1px solid rgba(193, 39, 45, 0.30);
    color: #9A1F23;
}

.contact-form .kifijo-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 14px 28px;

    background: #D4A017;
    color: #fff;
    border: 2px solid #D4A017;
    border-radius: 4px;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;

    transition: all 0.25s ease;
}

.contact-form .kifijo-btn-gold:hover {
    background: #123B5D;
    border-color: #123B5D;
}

.contact-form .kifijo-btn-gold.is-loading {
    opacity: 0.75;
    pointer-events: none;
    cursor: wait;
}

@media (max-width: 767px) {
    .contact-form {
        padding: 25px 20px;
    }

    .contact-mode-selector {
        grid-template-columns: 1fr;
    }

    .contact-mode-inner {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 14px 16px;
        gap: 10px;
    }

    .contact-mode-inner i {
        margin: 0;
        font-size: 20px;
    }
}


/* =========================================================
   5. MAP
========================================================= */

.contact-map-section {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.contact-map {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .contact-map-section {
        height: 300px;
    }
}


/* =========================================================
   6. FAQ
========================================================= */

.contact-faq-item {
    margin-bottom: 12px;

    background: #fff;
    border: 1px solid #E3EAF0;
    border-radius: 8px;

    overflow: hidden;

    transition: all 0.2s ease;
}

.contact-faq-item.is-open {
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 8px 25px rgba(18, 59, 93, 0.06);
}

.contact-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 20px 24px;

    background: transparent;
    border: none;

    text-align: left;
    cursor: pointer;

    color: #123B5D;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-faq-question i {
    flex: 0 0 auto;

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

    width: 28px;
    height: 28px;

    background: rgba(212, 160, 23, 0.12);
    border-radius: 50%;

    color: #D4A017;
    font-size: 14px;
}

.contact-faq-answer {
    max-height: 0;
    overflow: hidden;

    transition: max-height 0.3s ease, padding 0.3s ease;

    padding: 0 24px;
}

.contact-faq-item.is-open .contact-faq-answer {
    max-height: 400px;
    padding: 0 24px 22px;
}

.contact-faq-answer p {
    margin: 0;

    color: #667784;
    font-size: 14px;
    line-height: 1.75;
}

.contact-faq-answer a {
    color: #D4A017;
    text-decoration: underline;
}


/* =========================================================
   7. RESPONSIVE — GENERAL
========================================================= */

@media (max-width: 991px) {
    .contact-quick-section {
        margin-top: 0;
        padding-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .office-card,
    .contact-faq-question {
        padding-left: 20px;
        padding-right: 20px;
    }
}