/**
 * RubberSmart Footer Styles
 * File: /wp-content/themes/project/css/footer.css
 */

/* ============================================================
   MAIN FOOTER
============================================================ */
.rs-footer {
    background: #15171c;
    padding: 60px 5% 0 5%;
    margin-top: 0;
}

.rs-footer__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* Brand column */
.rs-footer__logo img {
    /* height: 50px; */
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.rs-footer__tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0 0 20px 0;
    max-width: 220px;
}

.rs-footer__social {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 12px;
}

.rs-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.6);
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.rs-footer__social-link:hover {
    background: #ffae00;
    color: #15171c;
}

.rs-footer__social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}


/* Nav columns */
.rs-footer__col h4,
.rs-footer__col-heading {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    text-transform: none;
    letter-spacing: 0;
}

.rs-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rs-footer__col ul li {
    margin-bottom: 10px;
}

.rs-footer__col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rs-footer__col ul li a:hover {
    color: #ffae00;
}


/* Contact column */
.rs-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.rs-footer__contact-item svg {
    flex-shrink: 0;
    color: #ffae00;
    width: 16px;
    height: 16px;
}

a.rs-footer__contact-item:hover {
    color: #ffae00;
}


/* ============================================================
   BOTTOM STRIP
============================================================ */
.rs-footer__bottom {
    display: flex;
    flex-direction: column;
    padding: 24px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.rs-footer__bottom-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Payment logos */
.rs-footer__payment-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.rs-footer__payment-item {
    height: 28px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.rs-footer__payment-item:hover {
    opacity: 1;
}

/* ISO logos container */
.rs-footer__iso-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rs-footer__bottom-logos-item img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

.rs-footer__bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.rs-footer__bottom-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.rs-footer__bottom-left span {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.rs-footer__bottom-right .rs-footer__bottom-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rs-footer__bottom-right .rs-footer__bottom-nav li a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rs-footer__bottom-right .rs-footer__bottom-nav li a:hover {
    color: #ffae00;
}


/* ============================================================
   RESPONSIVE - TABLET (max 960px)
============================================================ */
@media (max-width: 960px) {
    .rs-footer__main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    .rs-footer__brand {
        grid-column: 1 / -1;
    }
    .rs-footer__tagline {
        max-width: 100%;
    }
    .rs-footer__logo img {
        max-width: 200px;
    }
}


/* ============================================================
   RESPONSIVE - MOBILE (max 640px)
============================================================ */
@media (max-width: 640px) {
    .rs-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .rs-footer__brand {
        grid-column: 1 / -1;
    }
    .rs-footer__contact {
        grid-column: 1 / -1;
    }
    .rs-footer__logo img {
      /*  height: 70px; */
      width:80%;
    }
    .rs-footer__bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .rs-footer__bottom-right .rs-footer__bottom-nav {
        flex-wrap: wrap;
        gap: 12px;
    }
}


/* ============================================================
   PAYMENT LOGOS - RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    .rs-footer__bottom-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .rs-footer__iso-logos {
        align-self: stretch;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .rs-footer__payment-item {
        height: 24px;
        max-width: 50px;
    }
    .rs-footer__iso-logos {
        flex-wrap: wrap;
    }
}
