/* =========================================================
   ZENTRUM TECHNO SOLUTIONS
   GLOBAL FOOTER
   File: footer.css

   Reusable on homepage and inner pages.
   Requires design tokens from style.css.
   ========================================================= */

.footer-v2 {
    padding: 64px 0 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #151b21;
    color: var(--zentrum-white);
}

.footer-v2-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.15fr);
    column-gap: clamp(20px, 3vw, 42px);
    row-gap: 40px;
    padding-bottom: 48px;
    width: 100%;
    min-width: 0;
}

/* Brand */
.footer-v2-brandline {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-v2-mark {
    width: 72px;
    height: auto;
    flex-shrink: 0;
}

.footer-v2-brandline .footer-v2-tagline {
    margin: 0;
    color: var(--zentrum-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.footer-v2-brandline .footer-v2-tagline strong {
    display: block;
    color: #9bc4dc;
    font-weight: 700;
}

.footer-v2-description {
    max-width: 350px;
    margin-bottom: 19px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.7;
}

.footer-v2-location {
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

/* Navigation columns */
.footer-v2-column h3 {
    margin-bottom: 23px;
    color: var(--zentrum-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-v2-column nav {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-v2-column nav a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-v2-column nav a:hover {
    color: var(--zentrum-white);
    transform: translateX(3px);
}

/* Contact */
.footer-v2-contact p {
    margin-bottom: 21px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.7;
}

.footer-v2-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--zentrum-white);
    font-size: 13px;
    font-weight: 700;
}

.footer-v2-cta::before {
    content: "";
    width: 25px;
    height: 2px;
    background-color: var(--zentrum-red);
    transition: width var(--transition-standard);
}

.footer-v2-cta span {
    color: var(--zentrum-red);
    transition: transform var(--transition-fast);
}

.footer-v2-cta:hover::before {
    width: 36px;
}

.footer-v2-cta:hover span {
    transform: translateX(4px);
}

/* Bottom */
.footer-v2-bottom {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-v2-bottom p,
.footer-v2-legal {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

.footer-v2-legal {
    display: flex;
    gap: 25px;
}

@media (max-width: 1000px) {
    .footer-v2-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px 35px;
    }
}

@media (max-width: 650px) {
    .footer-v2 {
        padding-top: 60px;
    }

    .footer-v2-main {
        display: block;
        padding-bottom: 45px;
    }

    .footer-v2-brand,
    .footer-v2-column {
        margin-bottom: 42px;
    }

    .footer-v2-column:last-child {
        margin-bottom: 0;
    }

    .footer-v2-bottom {
        padding: 22px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}


/* Layout safeguards: do not clip the final column or bottom row */
.footer-v2, .footer-v2 .section-container,
.footer-v2-main, .footer-v2-bottom {
    height: auto;
    max-height: none;
    overflow: visible;
}
.footer-v2 .section-container {
    box-sizing: border-box;
    max-width: 1240px;
    width: calc(100% - 48px);
    margin-inline: auto;
}
.footer-v2-main > * { min-width: 0; }
.footer-v2-contact { min-width: 0; }
.footer-v2-cta { flex-wrap: wrap; }



/* Copyright and legal links always get their own visible row */
.footer-v2-bottom {
    display: flex;
    flex-wrap: wrap;
    min-height: 76px;
    padding: 20px 0;
    box-sizing: border-box;
}
.footer-v2-bottom p { margin: 0; line-height: 1.6; }
.footer-v2-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.footer-v2-legal a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-v2-legal a:hover, .footer-v2-legal a:focus-visible { color: #fff; text-decoration: underline; }

@media (max-width: 650px) {
    .footer-v2 .section-container { width: calc(100% - 36px); }
    .footer-v2-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* Footer social media icons */

/* Social media icons - steel finish */
.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px;
}

.footer-social .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;

    background-color: #697B89;
    border: 1px solid #8D9CA7;
    border-radius: 50%;

    transition: background-color 0.25s ease;
}

.footer-social .footer-social-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* X logo: white center for visibility */
.footer-social .footer-social-x {
    background-color: #697B89;
    border-color: #8D9CA7;
}

.footer-social .footer-social-x img {
    width: 26px;
    height: 26px;
}
