/**
 * Review Page Styles - Caterpillar Theme
 */

/* ============================
   REVIEW PAGE HEADER
============================ */
.cat-review-header {
    display: flex;
    align-items: center;
    gap: 29px;
    padding: 34px;
    background: #353330;
    border-radius: 15px;
    margin-bottom: 32px;
    border-left: 5px solid #cfaf35;
}

.cat-review-logo {
    width: 180px;
    height: auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 11px;
}

.cat-review-meta {
    flex: 1;
}

.cat-review-meta h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cat-review-meta p {
    color: #929095;
    margin-bottom: 15px;
}

.cat-review-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-review-stars {
    color: #d9b230;
    font-size: 20px;
}

.cat-review-score {
    font-weight: 700;
    color: #fff;
    font-size: 18px;
}

.cat-review-bbb {
    background: #363743;
    padding: 3px 13px;
    border-radius: 3px;
    font-size: 15px;
    color: #daa83b;
}

/* ============================
   REVIEW STATS GRID
============================ */
.cat-review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 23px;
    margin-bottom: 32px;
}

.cat-review-card {
    background: #263328;
    border-radius: 11px;
    padding: 22px;
    text-align: center;
}

.cat-review-card-icon {
    font-size: 28px;
    margin-bottom: 15px;
}

.cat-review-card-title {
    font-size: 13px;
    color: #8fa29f;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 11px;
}

.cat-review-card-value {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

/* ============================
   PROS & CONS
============================ */
.cat-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}

.cat-pros, .cat-cons {
    background: #2f2d23;
    border-radius: 9px;
    padding: 27px;
}

.cat-pros h3, .cat-cons h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.cat-pros h3 {
    color: #46b255;
}

.cat-cons h3 {
    color: #f54036;
}

.cat-pros ul, .cat-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-pros li, .cat-cons li {
    padding: 12px 0;
    border-bottom: 2px solid #303136;
    color: #c3c8c4;
    font-size: 14px;
    padding-left: 23px;
    position: relative;
}

.cat-pros li:last-child, .cat-cons li:last-child {
    border-bottom: none;
}

.cat-pros li::before {
    content: '✓';
    color: #4cb547;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.cat-cons li::before {
    content: '✗';
    color: #eb433c;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ============================
   FEES TABLE
============================ */
.cat-fees-table {
    margin: 23px 0;
}

.cat-fees-table table {
    width: 100%;
    border-collapse: collapse;
    background: #2e312e;
    border-radius: 7px;
    overflow: hidden;
}

.cat-fees-table th,
.cat-fees-table td {
    padding: 18px 23px;
    text-align: left;
}

.cat-fees-table th {
    background: #423832;
    color: #d1a63e;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.cat-fees-table td {
    color: #cac2d3;
    border-bottom: 1px solid #433f3d;
}

.cat-fees-table tr:last-child td {
    border-bottom: none;
}

/* ============================
   CTA BOX
============================ */
.cat-cta-box {
    background: linear-gradient(135deg, #d2b735 0%, #bd8a0a 100%);
    padding: 46px;
    text-align: center;
    margin: 39px 0;
    border-radius: 15px;
}

.cat-cta-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #151823;
    margin-bottom: 14px;
}

.cat-cta-box p {
    color: #3a3836;
    margin-bottom: 27px;
    font-size: 16px;
}

.cat-cta-box .catBtn {
    background: #20111e;
    color: #fff;
    padding: 15px 30px;
    font-size: 15px;
}

.cat-cta-box .catBtn:hover {
    background: #3b362c;
}

/* ============================
   OTHER COMPANIES SECTION
============================ */
.cat-other-companies {
    padding: 51px 0;
    margin-top: 45px;
}

.cat-other-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 35px;
}

.cat-other-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-other-card {
    background: #293228;
    border-radius: 11px;
    padding: 22px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.cat-other-card:hover {
    border-color: #d7b72d;
    transform: translateY(-4px);
}

.cat-other-card img {
    width: 100px;
    height: auto;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.9);
    padding: 11px;
    border-radius: 6px;
}

.cat-other-card h4 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 600;
}

.cat-other-card p {
    font-size: 13px;
    color: #959298;
    margin-bottom: 15px;
}

.cat-other-card a {
    font-size: 11px;
    font-weight: 600;
    color: #ccb13c;
    text-decoration: none;
}

.cat-other-card a:hover {
    text-decoration: underline;
}

/* ============================
   RESPONSIVE - REVIEW PAGE
============================ */
@media (max-width: 992px) {
    .cat-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-other-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cat-review-header {
        flex-direction: column;
        text-align: center;
    }

    .cat-review-logo {
        width: 140px;
    }

    .cat-review-rating {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cat-pros-cons {
        grid-template-columns: 1fr;
    }

    .cat-review-grid {
        grid-template-columns: 1fr;
    }

    .cat-other-grid {
        grid-template-columns: 1fr;
    }

    .cat-cta-box {
        padding: 33px 18px;
    }
}

/* ==================
   Company Logo Styles (110px height)
   ================== */
.fb-company-logo {
    width: 240px;
    height: 165px;
    object-fit: contain;
    background: var(--fb-white);
    border-radius: var(--fb-radius-sm);
    padding: 10px;
    margin-bottom: 11px;
    border: 1px solid var(--fb-gray-200);
}

.fb-company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==================
   Action Buttons (Go + Review)
   ================== */
.fb-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.fb-btn-primary {
    display: inline-block;
    padding: 8px 23px;
    background: var(--fb-secondary);
    color: var(--fb-dark);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-primary:hover {
    background: var(--fb-secondary-dark);
    color: var(--fb-dark);
    transform: translateY(-1px);
}

.fb-btn-review {
    display: inline-block;
    padding: 12px 27px;
    background: transparent;
    color: var(--fb-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 2px solid var(--fb-primary);
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
    text-decoration: none;
}

.fb-btn-review:hover {
    background: var(--fb-primary);
    color: var(--fb-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fb-company-logo {
        width: 120px;
        height: 80px;
    }

    .fb-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .fb-btn-primary,
    .fb-btn-review {
        padding: 5px 18px;
        font-size: 16px;
    }
}
