
/* ======================================================
   AUTODOZVOLA.HR — PREMIUM FOOTER
   ====================================================== */

.ad-footer {
    position: relative;
    overflow: hidden;
    background: #0e1c32;
    color: #b9c7dc;
    border-top: 3px solid #1769ed;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ad-footer *,
.ad-footer *::before,
.ad-footer *::after {
    box-sizing: border-box;
}

.ad-footer-glow {
    position: absolute;
    top: -240px;
    right: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(23,105,237,.10),
        transparent 70%
    );
    pointer-events: none;
}

.ad-footer-container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 76px 30px 0;
}

/* MAIN GRID */

.ad-footer-main {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 52px;
    align-items: start;
    padding-bottom: 56px;
}

/* BRAND */

.ad-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -1.2px;
    line-height: 1.2;
    text-decoration: none;
}

.ad-footer-logo:hover {
    color: #fff;
    text-decoration: none;
}

.ad-footer-logo > span:last-child > span {
    color: #b8d5fa;
}

.ad-footer-logo-symbol {
    display: grid;
    grid-template-columns: repeat(2, 12px);
    grid-template-rows: repeat(2, 12px);
    gap: 4px;
    transform: rotate(-12deg);
    flex-shrink: 0;
}

.ad-footer-logo-symbol i {
    display: block;
    border-radius: 3px;
    background: #cba96c;
}

.ad-footer-logo-symbol i:nth-child(1),
.ad-footer-logo-symbol i:nth-child(4) {
    background: #f1f5fa;
}

.ad-footer-description {
    max-width: 315px;
    margin: 23px 0 24px;
    color: #a8bad2;
    font-size: 12px;
    line-height: 2;
}

/* SOCIAL ICONS */

.ad-footer-socials {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ad-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    background: rgba(255,255,255,.055);
    color: #d9e7fb;
    text-decoration: none;
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.ad-footer-socials a:hover {
    background: #1769ed;
    border-color: #1769ed;
    color: #fff;
    transform: translateY(-3px);
}

.ad-footer-socials svg {
    width: 19px;
    height: 19px;
}

/* COLUMN HEADINGS */

.ad-footer-column {
    min-width: 0;
}

.ad-footer-column h3 {
    position: relative;
    margin: 5px 0 26px;
    padding-bottom: 16px;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .1px;
}

.ad-footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 27px;
    height: 2px;
    border-radius: 3px;
    background: #cba96c;
}

/* LINKS */

.ad-footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ad-footer-column li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ad-footer-column li a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #a8bad2;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
    text-decoration: none;
    transition:
        color .2s ease,
        transform .2s ease;
}

.ad-footer-column li a:hover {
    color: #fff;
    text-decoration: none;
    transform: translateX(3px);
}

.ad-footer-external {
    color: #6d94d4;
    font-size: 13px;
}

/* CONTACT */

.ad-footer-contact > p {
    margin: -4px 0 23px;
    color: #a8bad2;
    font-size: 11px;
    line-height: 1.9;
}

.ad-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #c5d3e5;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.ad-footer-contact-item:hover {
    color: #fff;
    text-decoration: none;
}

.ad-footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(23,105,237,.13);
    color: #7fb3ff;
}

.ad-footer-contact-icon svg {
    width: 16px;
    height: 16px;
}

.ad-footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 42px;
    margin-top: 11px;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.075);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
    transition:
        background .2s ease,
        transform .2s ease;
}

.ad-footer-contact-button:hover {
    background: #1769ed;
    border-color: #1769ed;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* DIVIDER */

.ad-footer-divider {
    height: 1px;
    background: rgba(255,255,255,.10);
}

/* DISCLAIMER */

.ad-footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.ad-footer-disclaimer-icon {
    color: #9bbcf2;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.ad-footer-disclaimer p {
    max-width: 1000px;
    margin: 0;
    color: #899db7;
    font-size: 10px;
    line-height: 1.9;
}

/* BOTTOM */

.ad-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0 27px;
}

.ad-footer-bottom p {
    margin: 0;
    color: #899db7;
    font-size: 10px;
}

.ad-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ad-footer-bottom-links a {
    color: #a8bad2;
    font-size: 10px;
    text-decoration: none;
    transition: color .2s ease;
}

.ad-footer-bottom-links a:hover {
    color: #fff;
    text-decoration: none;
}

.ad-footer-back-top {
    color: #d9e7fb !important;
    font-weight: 750;
}

/* TABLET */

@media (max-width: 1050px) {
    .ad-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 35px;
    }

    .ad-footer-container {
        padding-top: 60px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .ad-footer-container {
        padding: 48px 20px 0;
    }

    .ad-footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .ad-footer-logo {
        font-size: 22px;
    }

    .ad-footer-description {
        max-width: 100%;
        margin: 18px 0 20px;
    }

    .ad-footer-column h3 {
        margin-bottom: 19px;
    }

    .ad-footer-column ul {
        gap: 12px;
    }

    .ad-footer-disclaimer {
        padding: 20px 0;
    }

    .ad-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 21px 0 25px;
    }

    .ad-footer-bottom-links {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ad-footer a {
        transition: none;
    }
}