:root {
    --footer-bg: #121416;
    --footer-text: #94a3b8;
    --footer-title: #ffffff;
    --footer-link: #e5e7eb;
    --footer-icon: #38bdf8;
    --footer-hover: var(--footer-icon);
    --footer-bottom-bg: color-mix(in srgb, var(--footer-bg) 80%, black);
    --footer-logo-h: 44px;
    --footer-line: color-mix(in srgb, var(--footer-text) 18%, var(--footer-bg));
    --footer-soft: color-mix(in srgb, var(--footer-bg) 92%, white);
}

.main-footer {
    margin-top: auto;
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: .9rem;
}

.ft-newsletter {
    border-bottom: 1px solid var(--footer-line);
}
.ft-newsletter-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 16px 40px;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 28px;
}
.ft-newsletter-title {
    margin: 0 0 4px;
    color: var(--footer-title);
    font-size: 1.1rem;
    font-weight: 700;
}
.ft-newsletter-text { margin: 0; }
.ft-newsletter-fields {
    display: flex;
    gap: 8px;
}
.ft-input {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--footer-line);
    border-radius: 4px;
    background: var(--footer-soft);
    color: var(--footer-title);
    font-size: .9rem;
}
.ft-input::placeholder { color: var(--footer-text); }
.ft-input:focus { outline: 0; border-color: var(--footer-icon); }
.ft-newsletter-btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: var(--footer-icon);
    color: var(--footer-bg);
    font-weight: 700;
    white-space: nowrap;
}
.ft-newsletter-btn:hover { filter: brightness(1.08); }
.ft-newsletter-btn:disabled { opacity: .6; }
.ft-check {
    display: flex;
    gap: 8px;
    margin: 8px 0 0;
    font-size: .76rem;
    line-height: 1.45;
    cursor: pointer;
}
.ft-check input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--footer-icon); }
.ft-check a { color: var(--footer-link); }
.ft-newsletter-message:empty { display: none; }
.ft-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ft-main {
    padding-top: 48px;
    padding-bottom: 40px;
}
.ft-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.ft-brand { flex: 1.5 1 260px; min-width: 0; }
.ft-col { flex: 1 1 150px; min-width: 0; }
.ft-contact { flex: 1.5 1 220px; }

.ft-logo {
    display: block;
    height: var(--footer-logo-h);
    max-width: 220px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}
.ft-brand-name {
    display: block;
    margin-bottom: 14px;
    color: var(--footer-title);
    font-size: 1.3rem;
    font-weight: 700;
}
.ft-desc {
    max-width: 340px;
    line-height: 1.6;
}
.ft-desc p { margin: 0 0 8px; }

.ft-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.ft-socials a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--footer-line);
    border-radius: 4px;
    color: var(--footer-icon);
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease;
}
.ft-socials a:hover { border-color: var(--footer-hover); color: var(--footer-hover); }

.ft-title {
    margin: 0 0 14px;
    font-size: .95rem;
    font-weight: 700;
}
.ft-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    background: none;
    color: var(--footer-title);
    font: inherit;
    text-align: left;
    pointer-events: none;
}
.ft-toggle i { display: none; }

.ft-links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ft-links li { margin-bottom: 10px; }
.ft-links a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color .15s ease;
}
.ft-links a:hover { color: var(--footer-hover); }

.ft-contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.45;
}
.ft-contact-list i {
    flex: 0 0 16px;
    margin-top: 3px;
    color: var(--footer-icon);
    font-size: .85rem;
    text-align: center;
}
.ft-contact-list a, .ft-contact-list span { min-width: 0; overflow-wrap: break-word; }

.ft-bottom {
    background: var(--footer-bottom-bg);
    font-size: .8rem;
}
.ft-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.ft-copy { margin: 0; }
.powered-by-link {
    color: var(--footer-text);
    text-decoration: none;
    opacity: .75;
}
.powered-by-link strong { color: var(--footer-link); }
.powered-by-link:hover { opacity: 1; color: var(--footer-text); }
.payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    color: var(--footer-text);
}
.payment-icons i { opacity: .7; }

@media (max-width: 991.98px) {
    .ft-newsletter-inner { grid-template-columns: minmax(0, 1fr); }
    .ft-brand { flex-basis: 100%; }
    .ft-col { flex-basis: calc(50% - 16px); }
}

@media (max-width: 767.98px) {
    .ft-main { padding-top: 32px; padding-bottom: 24px; }
    .ft-grid { flex-direction: column; gap: 0; }
    .ft-col { flex-basis: auto; }
    .ft-brand { padding-bottom: 20px; }
    .ft-col { border-top: 1px solid var(--footer-line); }
    .ft-title { margin: 0; }
    .ft-toggle { padding: 14px 0; pointer-events: none; }
    .ft-col .ft-links { padding-bottom: 12px; }
    .is-collapsible .ft-toggle { min-height: 48px; pointer-events: auto; cursor: pointer; }
    .is-collapsible .ft-toggle i { display: inline-block; font-size: .75rem; transition: transform .2s ease; }
    .is-collapsible .ft-col:not(.is-open) .ft-links { display: none; }
    .is-collapsible .ft-col.is-open .ft-toggle i { transform: rotate(180deg); }
    .ft-links li { margin-bottom: 0; }
    .ft-links a { display: inline-block; padding: 7px 0; }
    .ft-contact-list li { padding: 7px 0; }
    .ft-contact-list a { padding: 0; }
    .ft-newsletter-fields { flex-wrap: wrap; }
    .ft-input { flex: 1 1 100%; }
    .ft-newsletter-btn { flex: 1 1 100%; }
    .ft-bottom-inner { flex-direction: column; text-align: center; }
}
