/* ===== Footer — pixel-match design mockup (17px base) ===== */

.footer {
    background: #fff !important;
    font-size: 17px !important;
    line-height: 1.35;
}

.footer .container {
    max-width: none !important;
}

/* Main content area — 4.375em / 5.75em @ 16px */
.foot-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 84px 0 92px !important;
    flex-wrap: nowrap !important;
}

.footer-col {
    min-width: 0;
}

/* Design column ratio: 28 / 24 / 15 / 13 / 20 */
.col-brand {
    flex: 0 0 28%;
    max-width: 82%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.col-contact {
    flex: 0 0 24%;
    max-width: 24%;
}

.col-products {
    flex: 0 0 15%;
    max-width: 15%;
}

.col-about {
    flex: 0 0 13%;
    max-width: 13%;
}

.col-form {
    flex: 0 0 20%;
    max-width: 20%;
}

/* ===== Col 1: Brand ===== */
.col-brand .footer-logo {
    width: auto;
    max-width: clamp(80%, 55% + 2vw, 95%);
    margin-bottom: clamp(20px, 1rem + 1vw, 32px);
    display: block;
}

.col-brand .brand-desc {
    font-size: clamp(15px, 0.65rem + 0.8vw, 18px) !important;
    color: #333;
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 90%;
    text-align: center;
}

.col-brand .follow-us {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.3rem + 0.5vw, 12px);
    margin-top: 0;
    max-width: 90%;
    width: 100%;
}

.footer-col .follow-us > span {
    font-size: clamp(12px, 0.55rem + 0.4vw, 15px) !important;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    line-height: 1;
}

.footer-col .follow-us .social-icons {
    display: flex;
    gap: clamp(10px, 0.45rem + 0.55vw, 16px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col .follow-us .social-icons li {
    width: clamp(20px, 1rem + 0.5vw, 24px);
    height: clamp(20px, 1rem + 0.5vw, 24px);
    background: var(--minor);
    border-radius: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s, opacity 0.3s;
}

.footer-col .follow-us .social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4px;
    color: #fff !important;
    text-decoration: none;
    line-height: 1;
}

.footer-col .follow-us .social-icons li a.ico3,
.footer-col .follow-us .social-icons li a.ico4 {
    padding: 3px;
}

.footer-col .follow-us .social-icons li svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #fff;
}

.footer-col .follow-us .social-icons li:hover {
    background: #000;
    opacity: 1;
}

/* ===== Col 2: Contact — 1em / 1.25em spacing ===== */
.col-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 17px !important;
    line-height: 28px;
}

.col-contact .contact-item:last-child {
    margin-bottom: 0;
}

.col-contact .contact-item i {
    color: var(--minor);
    font-size: 17px !important;
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    line-height: 1;
}

.col-contact .contact-item .contact-label {
    color: #333;
    font-weight: 400;
}

.col-contact .contact-item .contact-value {
    color: #555;
}

.col-contact .contact-item .contact-value a {
    color: #555;
    text-decoration: none;
}

.col-contact .contact-item .contact-value a:hover {
    color: var(--minor);
}

.col-contact .contact-item .contact-address {
    text-transform: uppercase;
}

/* ===== Col 3 & 4: Links ===== */
.col-products .item .tit,
.col-about .item .tit {
    display: block;
    font-size: 19px !important;
    font-weight: 700;
    color: var(--minor) !important;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 24px;
}

.col-products .item .a,
.col-about .item .a {
    display: block;
    font-size: 17px !important;
    color: #555 !important;
    margin-bottom: 18px;
    padding-left: 0 !important;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 28px;
}

.col-products .item .a:last-child,
.col-about .item .a:last-child {
    margin-bottom: 0;
}

.col-products .item .a:before,
.col-about .item .a:before {
    display: none !important;
}

.col-products .item .a:hover,
.col-about .item .a:hover {
    color: var(--minor) !important;
}

.col-products .item .a:hover::before,
.col-about .item .a:hover::before {
    display: inline !important;
    content: "\2014";
    margin-right: 2px;
    color: var(--minor);
}

/* ===== Col 5: Email Form ===== */
.col-form .form-title {
    font-size: 22px !important;
    font-weight: 700;
    color: var(--minor);
    margin-bottom: 28px;
    line-height: 32px;
    text-transform: uppercase;
}

.footer-cf7 .footer-email-form {
    width: 100%;
}

.footer-cf7 .footer-email-form input[type="email"] {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 17px !important;
    color: #333;
    background: transparent;
    outline: none;
    margin-bottom: 0;
    box-sizing: border-box;
    line-height: 28px;
    height: auto;
}

.footer-cf7 .footer-email-form input[type="email"]:focus {
    border-bottom-color: var(--minor);
}

.footer-cf7 .footer-email-form input[type="email"]::placeholder {
    color: #aaa;
    font-size: 17px !important;
}

.footer-cf7 .footer-email-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(90deg, #000 0 0) left center / 0% 100% no-repeat, #c33c3b;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 600;
    font-family: 'Google Sans Flex', sans-serif;
    cursor: pointer;
    margin-top: 24px;
    transition: background-size 0.7s ease, color 0.3s ease;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-sizing: border-box;
    height: auto;
}

.footer-cf7 .footer-email-form input[type="submit"]:hover {
    background-size: 100% 100%;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

.foot-box .img {
    display: none !important;
}

/* Copyright bar — 0.9375em / 1.5em @ 16px */
.footer_copyright {
    background: var(--minor) !important;
    text-align: center;
    padding: 10px 0 !important;
    font-size: 16px !important;
}

.footer_copyright p,
.footer_copyright a {
    color: #fff !important;
    margin: 0;
    font-size: 16px !important;
    line-height: 22px;
}

/* ===== Adaptive ===== */

@media screen and (min-width: 992px) {
    .foot-box {
        display: grid !important;
        grid-template-columns: 28fr 24fr 15fr 13fr 20fr;
        gap: 0 clamp(1rem, 0.5rem + 1.5vw, 3rem) !important;
        justify-content: stretch !important;
        align-items: stretch !important;
    }

    .footer-col {
        flex: none !important;
        width: auto !important;
    }

    .footer-col:not(.col-brand) {
        max-width: none !important;
    }

    .col-brand {
        max-width: 82% !important;
        height: 100%;
        justify-content: flex-start;
    }

    .col-brand .follow-us {
        margin-top: auto;
        justify-content: flex-start;
    }

    .col-contact {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: flex-start;
    }

    .footer-menu-panel {
        display: block !important;
    }

    .footer-menu-col .item .tit::after {
        display: none !important;
    }

    .footer-menu-col .item .tit {
        cursor: default;
    }
}

@media screen and (max-width: 1200px) {
    .foot-box {
        flex-wrap: wrap !important;
        padding: 64px 0 72px !important;
    }

    .col-brand,
    .col-contact,
    .col-products,
    .col-about,
    .col-form {
        flex: 1 1 calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
    }

    .col-form {
        flex: 1 1 100% !important;
        max-width: 480px !important;
    }
}

@media screen and (max-width: 991px) {
    .footer {
        font-size: 15px !important;
    }

    .foot-box {
        flex-wrap: wrap !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 48px 0 32px !important;
    }

    .footer-col {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .col-brand {
        align-items: flex-start;
    }

    .col-brand .brand-desc {
        text-align: left;
        line-height: 26px;
        margin-bottom: 24px;
    }

    .col-brand .follow-us {
        justify-content: flex-start;
    }

    .col-contact .contact-item {
        margin-bottom: 22px;
        line-height: 26px;
    }

    .col-contact .contact-item .contact-value,
    .col-contact .contact-item .contact-label {
        line-height: 26px;
    }

    .col-contact .contact-item .contact-address {
        display: inline;
        line-height: 26px;
    }

    .col-form .form-title {
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .col-brand,
    .col-contact,
    .col-form {
        padding-bottom: 28px;
    }

    .col-form {
        max-width: none;
        padding-bottom: 12px;
        margin-top: 1.5rem;
    }

    .footer-menu-col {
        border-top: 1px solid #e8e8e8;
    }

    .footer-menu-col .item .tit {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0 !important;
        padding: 18px 0;
        border-bottom: 1px solid #e8e8e8;
        cursor: pointer;
        user-select: none;
        font-size: 17px !important;
        line-height: 1.4;
    }

    .footer-menu-col .item.is-open .tit {
        border-bottom-color: transparent;
    }

    .footer-menu-col .item .tit::after {
        content: "+";
        flex-shrink: 0;
        margin-left: 12px;
        font-size: 20px;
        font-weight: 400;
        color: var(--minor);
        line-height: 1;
    }

    .footer-menu-col .item.is-open .tit::after {
        content: "\2212";
    }

    .footer-menu-col .item:not(.is-open) .footer-menu-panel {
        display: none !important;
    }

    .footer-menu-col .item.is-open .footer-menu-panel {
        display: block !important;
        padding: 6px 0 16px;
        border-bottom: 1px solid #e8e8e8;
    }

    .footer-menu-col .item.is-open .footer-menu-panel .a {
        margin-bottom: 14px;
        line-height: 26px;
    }

    .footer-menu-col .item.is-open .footer-menu-panel .a:last-child {
        margin-bottom: 0;
    }

    .footer-menu-col .item.is-open .footer-menu-panel .a:first-child {
        padding-top: 0;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        font-size: 14px !important;
    }

    .foot-box {
        padding: 40px 0 28px !important;
    }

    .col-brand .footer-logo {
        max-width: 90%;
        width: auto;
        margin-bottom: 24px;
    }

    .col-brand .brand-desc {
        line-height: 24px;
        margin-bottom: 20px;
    }

    .col-brand .brand-desc,
    .col-contact .contact-item,
    .col-products .item .a,
    .col-about .item .a,
    .footer-cf7 .footer-email-form input[type="email"] {
        font-size: 14px !important;
        line-height: 24px;
    }

    .col-contact .contact-item {
        margin-bottom: 18px;
    }

    .col-contact .contact-item .contact-value,
    .col-contact .contact-item .contact-label {
        line-height: 24px;
    }

    .col-products .item .tit,
    .col-about .item .tit {
        font-size: 16px !important;
    }

    .col-form .form-title {
        font-size: 17px !important;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .footer-menu-col .item .tit {
        padding: 16px 0;
    }

    .footer-menu-col .item.is-open .footer-menu-panel .a {
        margin-bottom: 12px;
        line-height: 24px;
    }

    .footer_copyright,
    .footer_copyright p,
    .footer_copyright a {
        font-size: 13px !important;
    }
}

.footer-container {
    padding-top: 3rem;
}
