/* ==========================================
   PAGE LUBES — BRANDS PAGE
========================================== */

.brands-hero {
    position: relative;
    padding: 180px 0 120px;
    background:
        linear-gradient(90deg,
            rgba(10, 15, 20, 0.90) 0%,
            rgba(10, 15, 20, 0.74) 55%,
            rgba(10, 15, 20, 0.48) 100%),
        url("../images/hero/hero2.jpg") center / cover no-repeat;
    color: #ffffff;
}

.brands-hero .container {
    max-width: 850px;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255, 193, 7, 0.48);
    border-radius: 40px;
    background: rgba(255, 193, 7, 0.14);
    color: #ffc107;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.7px;
}

.brands-hero h1 {
    margin: 24px 0;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.3rem);
    font-weight: 800;
    line-height: 1.05;
}

.brands-hero p {
    max-width: 650px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Brands section */

.brands-section {
    padding: 105px 0;
    background: #f8fafc;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-header h2 {
    margin: 20px 0;
    color: #111827;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 750;
}

.section-header p {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Brand cards */

.brand-card {
    display: flex;
    min-height: 310px;
    height: 100%;
    flex-direction: column;
    padding: 36px;
    border: 1px solid #e6e9ee;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 193, 7, 0.65);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.brand-name {
    display: flex;
    align-items: center;
    min-height: 54px;
    margin-bottom: 26px;
    color: #111827;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-servo {
    color: #e55025;
    font-style: italic;
}

.brand-castrol {
    color: #d71920;
    font-style: italic;
}

.brand-motul {
    color: #d71920;
    letter-spacing: 1.5px;
}

.brand-valvoline {
    color: #1d4f91;
    font-style: italic;
}

.brand-kyros {
    color: #f18b22;
    letter-spacing: 1.2px;
}

.brand-rajpetro {
    color: #1b5d2b;
    font-size: 1.25rem;
}

.brand-srf {
    color: #1456a0;
    letter-spacing: 2px;
}

.brand-card h3 {
    margin-bottom: 14px;
    color: #111827;
    font-size: 1.38rem;
}

.brand-card p {
    color: #6b7280;
    line-height: 1.75;
}

.brand-card span {
    margin-top: auto;
    padding-top: 22px;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.6;
}

.brand-card-more {
    background:
        linear-gradient(145deg, #111827, #1f2937);
    border-color: #111827;
}

.brand-card-more .brand-name,
.brand-card-more h3 {
    color: #ffc107;
}

.brand-card-more p {
    color: #d1d5db;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
    color: #ffffff;
    font-weight: 600;
}

.brand-link:hover {
    color: #ffc107;
}

.brand-link i {
    transition: transform 0.25s ease;
}

.brand-link:hover i {
    transform: translateX(5px);
}

/* CTA */

.brand-cta {
    padding: 95px 0;
    background: #111827;
    color: #ffffff;
    text-align: center;
}

.brand-cta h2 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.brand-cta p {
    max-width: 690px;
    margin: 0 auto;
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
}

/* Footer logo */

.footer-brand-logo {
    display: block;
    width: min(230px, 100%);
    height: auto;
}

/* Mobile */

@media (max-width: 991px) {
    .brands-hero {
        padding: 155px 0 100px;
    }
}

@media (max-width: 576px) {
    .brands-hero {
        padding: 145px 0 85px;
        text-align: center;
    }

    .brands-hero p {
        font-size: 1rem;
    }

    .brands-section {
        padding: 75px 0;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .brand-card {
        min-height: 280px;
        padding: 30px;
    }
}