:root {
    --repair-primary: #B90F16;
    --repair-accent: #D84F56;
    --repair-dark: #2d3436;
    --repair-light: #f8f9fa;
    --repair-white: #ffffff;
}

.brands-page {
    background-color: var(--repair-white);
}

/* Hero Section */
.hero-repair {
    background: linear-gradient(135deg, #F7E6E8 0%, #F4DDE0 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content-box {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--repair-dark);
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--repair-primary);
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.hero-btn {
    background-color: var(--repair-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .hero-btn:hover {
        background-color: var(--repair-accent);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(185, 15, 22, 0.2);
        color: white;
    }



.hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .hero-image-wrap img {
        max-width: 100%;
        max-height: 400px;
        object-fit: contain;
        filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    }

/* Intro Section */
.intro-text-section {
    padding: 4rem 0;
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.1rem;
}

.description-text {
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

    .description-text.collapsed {
        max-height: 4.5em; /* Approximately 2.5 lines */
        position: relative;
    }

        .description-text.collapsed::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1.5em;
            background: linear-gradient(transparent, white);
        }

.read-more-btn {
    color: var(--repair-primary);
    background: none;
    border: none;
    font-weight: 700;
    margin-top: 1rem;
    padding: 0;
    cursor: pointer;
    display: none; /* Shown via JS if needed */
    font-size: 1rem;
}

    .read-more-btn:hover {
        text-decoration: underline;
    }

/* Brand Selection */
.brand-selection-section {
    padding: 4rem 0;
    background-color: #fdfdfd;
}

.section-headline {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--repair-primary);
    margin-bottom: 3rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.brand-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

    .brand-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--repair-primary, #B90F16);
        transform: scaleX(0);
        transition: transform 0.25s ease;
    }

    .brand-card:hover {
        border-color: var(--repair-primary, #B90F16);
        box-shadow: 0 8px 16px rgba(185, 15, 22, 0.12);
        transform: translateY(-4px);
    }

        .brand-card:hover::before {
            transform: scaleX(1);
        }

.brand-logo-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 50%;
    padding: 1rem;
}

    .brand-logo-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: grayscale(0);
        transition: filter 0.25s ease;
    }

.brand-card:hover .brand-logo-wrap img {
    filter: grayscale(0) brightness(1.1);
}

.brand-logo-wrap i {
    font-size: 2.5rem;
    color: var(--repair-primary, #B90F16);
    opacity: 0.7;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
    letter-spacing: -0.01em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
        padding: 0.5rem;
    }

    .brand-card {
        padding: 1.5rem 0.75rem;
        min-height: 160px;
    }

    .brand-logo-wrap {
        width: 70px;
        height: 70px;
    }

    .brand-name {
        font-size: 1rem;
    }
}

/* Separator */
.styled-separator {
    height: 2px;
    background-color: var(--repair-primary);
    width: 100px;
    margin: 5rem auto;
    border: none;
    border-radius: 2px;
    opacity: 0.3;
}

/* Reasons Section */
.reasons-section {
    padding-bottom: 5rem;
    text-align: center;
}

.reasons-title {
    font-size: 2rem;
    color: var(--repair-primary);
    margin-bottom: 4rem;
    font-weight: 700;
}

.reasons-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.reason-item {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
}

.reason-icon {
    font-size: 2.5rem;
    color: var(--repair-primary);
    margin-bottom: 1rem;
}

.reason-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--repair-dark);
    line-height: 1.3;
}

/* FAQ Section */
.faq-section {
    background-color: #fafbfc;
    padding: 5rem 0;
}

.faq-title {
    color: var(--repair-primary);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-subtitle {
    text-align: center;
    color: #636e72;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1.5rem;
    background: transparent;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--repair-dark);
    font-weight: 600;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    box-shadow: none;
}

    .faq-accordion .accordion-button:not(.collapsed) {
        color: var(--repair-primary);
        border-bottom-color: var(--repair-primary);
    }

.faq-accordion .accordion-body {
    padding: 1.5rem 0;
    color: #636e72;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-repair {
        text-align: center;
        padding: 3rem 0;
    }

    .hero-image-wrap {
        margin-top: 3rem;
    }

    .reasons-flex {
        gap: 1rem;
    }

    .reason-item {
        max-width: 45%;
    }
}
