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

/* ============================
   REVIEW PAGE HEADER
============================ */
.cat-review-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 33px;
    background: #313228;
    border-radius: 15px;
    margin-bottom: 31px;
    border-left: 5px solid #cab038;
}

.cat-review-logo {
    width: 180px;
    height: auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 16px;
    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: 9px;
}

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

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

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

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

.cat-review-bbb {
    background: #313831;
    padding: 4px 13px;
    border-radius: 3px;
    font-size: 14px;
    color: #d5a933;
}

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

.cat-review-card {
    background: #2a322f;
    border-radius: 12px;
    padding: 21px;
    text-align: center;
}

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

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

.cat-review-fpkp-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: 26px;
    margin: 29px 0;
}

.cat-pros, .cat-cons {
    background: #352e34;
    border-radius: 10px;
    padding: 27px;
}

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

.cat-pros h3 {
    color: #4ab149;
}

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

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

.cat-pros li, .cat-cons li {
    padding: 11px 0;
    border-bottom: 2px solid #35303d;
    color: #c8c7d1;
    font-size: 14px;
    padding-left: 24px;
    position: relative;
}

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

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

.cat-cons li::before {
    content: '✗';
    color: #f04430;
    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: #33302c;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.cat-fees-table td {
    color: #c4c3c2;
    border-bottom: 1px solid #3d4035;
}

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

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

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

.cat-cta-box p {
    color: #36392e;
    margin-bottom: 27px;
    font-size: 15px;
}

.cat-cta-box .catBtn {
    background: #1b1016;
    color: #fff;
    padding: 16px 29px;
    font-size: 16px;
}

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

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

.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: 19px;
}

.cat-other-card {
    background: #24332f;
    border-radius: 12px;
    padding: 21px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

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

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

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

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

.cat-other-card a {
    font-size: 12px;
    font-weight: 600;
    color: #d2b230;
    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: 34px 17px;
    }
}

/* ==================
   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: 9px;
    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: 10px;
}

.fb-btn-primary {
    display: inline-block;
    padding: 7px 24px;
    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: 11px 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: 6px 17px;
        font-size: 16px;
    }
}
