/* ==========================================================================
   B-ALERT TEMPLATE PART: FOOTER
   ========================================================================== */

/* 1. FOOTER MAIN */
.full-footer {
    background-color: var(--color-obsidian-black);
    /* Nền tối nhất cho Footer */
    padding: 80px 0;
    border-top: 1px solid var(--ba-border);
}

.inner-footer {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.footer-box {
    box-sizing: border-box;
}

/* COL 1 */
.footer-subtitle {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--color-brushed-chrome);
}

.footer-subtitle .dash {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--color-stainless-steel);
    margin-right: 15px;
}

.footer-title {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    margin-top: 0;
    line-height: 1.3;
    color: var(--color-information-white);
}

.footer-col1-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-col1-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--color-stainless-steel);
}

.footer-col1-list li img {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    object-fit: contain;
}

/* COL 2: Form (Contact Form 7) */
.custom-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
    align-items: flex-start;
}

.custom-form-grid .form-group {
    width: 100%;
}

.custom-form-grid .half-width {
    grid-column: span 1;
}

.custom-form-grid .full-width {
    grid-column: span 2;
}

.custom-form-grid .wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

.custom-form-grid input[type="text"],
.custom-form-grid input[type="email"],
.custom-form-grid input[type="tel"],
.custom-form-grid select,
.custom-form-grid textarea {
    width: 100%;
    background-color: var(--panel-graphite) !important;
    border: 1px solid var(--ba-border) !important;
    padding: 15px 20px;
    color: var(--color-information-white) !important;
    font-size: 14px;
    border-radius: 0 !important;
    /* Vuông vức theo B-ALERT */
    box-sizing: border-box;
    outline: none;
    font-family: var(--font-text);
    transition: all 0.3s;
}

.custom-form-grid input[type="text"],
.custom-form-grid input[type="email"],
.custom-form-grid input[type="tel"],
.custom-form-grid select {
    height: 52px;
}

.custom-form-grid select option {
    background-color: var(--color-obsidian-black);
    color: inherit;
}

.custom-form-grid .wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: 5px;
}

.custom-form-grid input:focus,
.custom-form-grid textarea:focus,
.custom-form-grid select:focus {
    border-color: var(--color-brushed-chrome) !important;
    box-shadow: 0 0 24px var(--ba-chrome-glow) !important;
}

.custom-form-grid select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.custom-form-grid textarea {
    height: 120px;
    resize: none;
}

.custom-form-grid .submit-form {
    background-color: var(--color-brushed-chrome) !important;
    color: var(--color-obsidian-black) !important;
    border: 1px solid var(--color-brushed-chrome) !important;
    width: 100%;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-text);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.custom-form-grid .submit-form:hover {
    background-color: transparent !important;
    color: var(--color-brushed-chrome) !important;
    box-shadow: 0 0 24px var(--ba-chrome-glow) !important;
}

/* COL 3 */
.footer-col3-title {
    text-transform: uppercase;
    margin-bottom: 25px;
    margin-top: 0;
    letter-spacing: 1px;
    color: var(--color-information-white);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    align-items: flex-start;
}

.contact-item a:hover .contact-name {
    color: var(--color-brushed-chrome);
}

.contact-item .contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-brushed-chrome);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item .contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-name {
    margin: 0;
    font-size: 16px;
    color: var(--color-information-white);
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.contact-val {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-stainless-steel);
}

/* 2. FOOTER BOTTOM */
.full-footer-bottom {
    background-color: var(--color-carbon-black);
    /* Phân lớp sáng hơn Obsidian Black chút */
    padding: 20px 0;
    font-size: 14px;
    color: var(--color-stainless-steel);
}

.inner-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left {
    color: var(--color-information-white);
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-policy-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-policy-menu a {
    color: var(--color-stainless-steel);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policy-menu a:hover {
    color: var(--color-information-white);
}

.footer-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-socials a {
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--panel-graphite);
    border: 1px solid var(--ba-border);
}

.footer-socials a i {
    font-size: 16px;
    color: var(--color-brushed-chrome);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    border-color: var(--color-brushed-chrome);
    box-shadow: 0 0 15px var(--ba-chrome-glow);
}

.footer-socials a:hover i {
    color: var(--color-information-white);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .inner-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-box-3 {
        grid-column: span 2;
    }

    .inner-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .full-footer {
        padding: 40px 0;
    }

    .inner-footer {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    .footer-box-3 {
        grid-column: span 1;
    }

    .custom-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .custom-form-grid .full-width {
        grid-column: span 1;
    }

    .footer-policy-menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer-bottom-right {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .inner-footer {
        padding-left: 18px !important;
        padding-right: 18px !important;
        gap: 30px;
    }
}