/* ===========================================
   Brisbane Page — CarAssure
   Extends sunshine-coast.css + gold-coast.css
   =========================================== */

/* ===========================================
   MOBILE SECTION — white bg override
   =========================================== */
.br-mob {
    background: var(--color-white);
}

.br-mob-sub {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.5;
}

/* ===========================================
   WHY CHOOSE — 2×2 grid override
   =========================================== */
.br-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.br-choose-card {
    padding: 32px 28px;
}

.br-choose-sub {
    font-size: 14px;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.65;
}

/* ===========================================
   STEPS
   =========================================== */
.br-steps {
    background: var(--color-white);
}

.br-steps-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.br-steps-header h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 14px;
    line-height: 1.3;
}

.br-steps-header p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

.br-steps-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f7f8fc;
    border-radius: 20px;
    overflow: hidden;
}

.br-step {
    padding: 32px 24px;
    position: relative;
}

.br-step + .br-step {
    border-left: 1px solid rgba(0, 22, 57, 0.08);
}

.br-step-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.br-step-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.br-step-num {
    font-size: 52px;
    font-weight: 800;
    color: rgba(0, 22, 57, 0.07);
    line-height: 1;
    flex-shrink: 0;
}

.br-step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 10px;
    line-height: 1.3;
}

.br-step-desc {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.65;
    margin: 0;
}

/* ===========================================
   TYPES
   =========================================== */
.br-types {
    background: #f7f8fc;
}

.br-types-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.br-types-heading {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px;
    line-height: 1.3;
}

.br-types-intro {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0 0 28px;
}

.br-types-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.br-types-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 6px;
    line-height: 1.3;
}

.br-types-item-desc {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

.br-types-img-wrap {
    position: sticky;
    top: 90px;
}

.br-types-img {
    display: block;
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    max-height: 580px;
}

.br-types-img--placeholder {
    background: #e5e7eb;
    border-radius: 20px;
    height: 480px;
}

/* ===========================================
   BENEFITS
   =========================================== */
.br-benefits {
    background: var(--color-white);
}

.br-benefits-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.br-benefits-header h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 14px;
    line-height: 1.3;
}

.br-benefits-header p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

.br-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.br-benefits-card {
    background: #f7f8fc;
    border-radius: 20px;
    padding: 36px 32px;
}

.br-benefits-col-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 22, 57, 0.08);
    line-height: 1.3;
}

.br-benefits-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.br-benefits-item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 6px;
    line-height: 1.4;
}

.br-benefits-item-desc {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.65;
    margin: 0;
}

/* ===========================================
   RESPONSIVE — tablet ≤1023px
   =========================================== */
@media (max-width: 1023px) {

    /* Why choose cards */
    .br-choose-card {
        padding: 24px 20px;
    }

    /* Steps — 2×2 grid */
    .br-steps-card {
        grid-template-columns: 1fr 1fr;
    }

    .br-step:nth-child(3) {
        border-left: none;
        border-top: 1px solid rgba(0, 22, 57, 0.08);
    }

    .br-step:nth-child(4) {
        border-top: 1px solid rgba(0, 22, 57, 0.08);
    }

    .br-steps-header {
        margin-bottom: 32px;
    }

    /* Types */
    .br-types-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .br-types-img-wrap {
        position: static;
    }

    .br-types-img {
        max-height: 400px;
    }

    /* Benefits */
    .br-benefits-header {
        margin-bottom: 32px;
    }

    .br-benefits-card {
        padding: 28px 24px;
    }
}

/* ===========================================
   RESPONSIVE — mobile ≤599px
   =========================================== */
@media (max-width: 599px) {

    /* Mobile section subheading */
    .br-mob-sub {
        font-size: 14px;
    }

    /* Why choose — 1 col */
    .br-choose-grid {
        grid-template-columns: 1fr;
    }

    .br-choose-card {
        padding: 24px 20px;
    }

    /* Steps — 1 col */
    .br-steps-header {
        margin-bottom: 24px;
    }

    .br-steps-card {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .br-step + .br-step {
        border-left: none;
        border-top: 1px solid rgba(0, 22, 57, 0.08);
    }

    /* Reset nth-child overrides from tablet so 1-col rule takes over */
    .br-step:nth-child(3),
    .br-step:nth-child(4) {
        border-left: none;
    }

    .br-step {
        padding: 24px 20px;
    }

    .br-step-num {
        font-size: 40px;
    }

    /* Types */
    .br-types-img {
        max-height: 260px;
    }

    .br-types-img--placeholder {
        height: 260px;
    }

    .br-types-intro {
        margin-bottom: 20px;
    }

    .br-types-list {
        gap: 16px;
    }

    /* Benefits */
    .br-benefits-header {
        margin-bottom: 24px;
    }

    .br-benefits-grid {
        grid-template-columns: 1fr;
    }

    .br-benefits-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .br-benefits-col-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .br-benefits-items {
        gap: 16px;
    }
}
