/**
 * CSS: Page Template Review Broker
 * Fișier: fabula-child/assets/css/page-broker.css
 *
 * Activare în functions.php:
 *   add_action( 'wp_enqueue_scripts', function() {
 *       if ( is_page_template( 'page-broker.php' ) ) {
 *           wp_enqueue_style( 'einv-page-broker',
 *               get_stylesheet_directory_uri() . '/assets/css/page-broker.css',
 *               [], '1.0.0' );
 *       }
 *   });
 */

/* ════════════════════════════════════════════════════
   VARIABILE
════════════════════════════════════════════════════ */
.einv-br-page {
    --bg:       #080a0e;
    --bg-2:     #0f1117;
    --bg-3:     #13161d;
    --bg-4:     #161920;
    --green:    #2ada49;
    --green-d:  rgba(42,218,73,.10);
    --green-b:  rgba(42,218,73,.20);
    --red:      #f04444;
    --amber:    #f0a023;
    --border:   rgba(255,255,255,.06);
    --border-2: rgba(255,255,255,.11);
    --text:     #e8e9eb;
    --text-2:   rgba(232,233,235,.55);
    --text-3:   rgba(232,233,235,.30);
    --r:        12px;
    --r-lg:     16px;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ════════════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════════════ */
.einv-br-page__breadcrumb {
    padding: 0 0 24px;
    position: relative;
    z-index: 2;
}

.einv-br-page__bc-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.einv-br-page__bc-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-3);
}

.einv-br-page__bc-list li::after {
    content: '/';
    color: rgba(255,255,255,.15);
}

.einv-br-page__bc-list li:last-child::after {
    display: none;
}

.einv-br-page__bc-list a {
    color: var(--text-3);
    text-decoration: none;
    transition: color .18s;
}

.einv-br-page__bc-list a:hover {
    color: var(--text);
    text-decoration: none;
}

.einv-br-page__bc-list li:last-child span {
    color: var(--text-2);
    font-weight: 500;
}

/* ════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════ */
.einv-br-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.einv-br-page__body {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 80px;
}

.einv-br-page__section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
}

.einv-br-page__section:first-child {
    border-top: none;
}

/* ════════════════════════════════════════════════════
   TITLURI SECȚIUNI
════════════════════════════════════════════════════ */
.einv-br-page__section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.025em;
    line-height: 1.2;
    margin: 0 0 28px;
    padding: 0;
}

.einv-br-page__section-accent {
    color: var(--green);
}

/* ════════════════════════════════════════════════════
   1. HERO
════════════════════════════════════════════════════ */
.einv-br-page__hero {
    background: linear-gradient(180deg, #0a0f1e 0%, var(--bg) 100%);
    padding: 130px 0 0;
    border-bottom: 1px solid var(--border);
}

.einv-br-page__hero-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 52px;
    align-items: start;
    padding-bottom: 52px;
}

/* Meta + brand */
.einv-br-page__hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.einv-br-page__tip-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-d);
    border: 1px solid var(--green-b);
    border-radius: 100px;
    padding: 4px 12px;
}

.einv-br-page__fondare {
    font-size: 11.5px;
    color: var(--text-3);
    font-weight: 500;
}

.einv-br-page__hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.einv-br-page__hero-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.einv-br-page__hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.einv-br-page__hero-name {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.04em;
    margin: 0 0 4px;
    padding: 0;
    line-height: 1;
}

.einv-br-page__hero-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
    display: block;
    line-height: 1.3;
}

/* Rating */
.einv-br-page__hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.einv-br-page__rating-nr {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1;
}

.einv-br-page__stele,
.einv-br-page__cta-stele {
    display: flex;
    align-items: center;
    gap: 2px;
}

.einv-br-page__rating-max {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
}

/* Verdict */
.einv-br-page__hero-verdict {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 560px;
}

/* Scoruri per categorie */
.einv-br-page__scoruri {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
}

.einv-br-page__scor-row {
    display: grid;
    grid-template-columns: 140px 1fr 36px;
    align-items: center;
    gap: 10px;
}

.einv-br-page__scor-cat {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    white-space: nowrap;
}

.einv-br-page__bara-bg {
    height: 5px;
    background: var(--border-2);
    border-radius: 100px;
    overflow: hidden;
}

.einv-br-page__bara-fill {
    height: 100%;
    background: var(--green);
    border-radius: 100px;
    transition: width .4s ease;
}

.einv-br-page__scor-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    text-align: right;
}

/* CTA box */
.einv-br-page__cta-box {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    padding: 22px;
    position: sticky;
    top: 80px;
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.einv-br-page__cta-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.einv-br-page__cta-header img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    padding: 5px;
    box-sizing: border-box;
    object-fit: contain;
}

.einv-br-page__cta-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.einv-br-page__cta-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.einv-br-page__cta-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.einv-br-page__cta-stat-label {
    font-size: 11.5px;
    color: var(--text-3);
    font-weight: 500;
}

.einv-br-page__cta-stat-val {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-align: right;
}

/* Butoane CTA */
.einv-br-page__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 13px 20px;
    background: var(--green);
    color: #080a0e;
    border-radius: var(--r);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .18s, transform .15s;
    box-sizing: border-box;
}

.einv-br-page__cta-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
    text-decoration: none;
    color: #080a0e;
}

.einv-br-page__cta-btn--lg {
    padding: 16px 28px;
    font-size: 15px;
    width: auto;
    display: inline-flex;
}

.einv-br-page__cta-disc {
    font-size: 10px;
    color: var(--text-3);
    line-height: 1.5;
    margin: 10px 0 0;
    text-align: center;
}

/* ════════════════════════════════════════════════════
   2. PROS & CONS
════════════════════════════════════════════════════ */
.einv-br-page__pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.einv-br-page__pc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 12px 16px;
    border-radius: var(--r) var(--r) 0 0;
    margin-bottom: 0;
}

.einv-br-page__pc-header--pro {
    background: rgba(42,218,73,.08);
    color: var(--green);
    border: 1px solid rgba(42,218,73,.18);
    border-bottom: none;
}

.einv-br-page__pc-header--con {
    background: rgba(240,68,68,.08);
    color: var(--red);
    border: 1px solid rgba(240,68,68,.18);
    border-bottom: none;
}

.einv-br-page__pc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--bg-2);
    border-radius: 0 0 var(--r) var(--r);
    border: 1px solid var(--border);
    overflow: hidden;
}

.einv-br-page__pros .einv-br-page__pc-list {
    border-color: rgba(42,218,73,.12);
}

.einv-br-page__cons .einv-br-page__pc-list {
    border-color: rgba(240,68,68,.12);
}

.einv-br-page__pc-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
}

.einv-br-page__pc-item:last-child {
    border-bottom: none;
}

.einv-br-page__pc-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ════════════════════════════════════════════════════
   3. REGLEMENTARE
════════════════════════════════════════════════════ */
.einv-br-page__reg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.einv-br-page__reg-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.einv-br-page__reg-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.einv-br-page__reg-flag {
    font-size: 20px;
    line-height: 1;
}

.einv-br-page__reg-autoritate {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.01em;
}

.einv-br-page__reg-tara {
    font-size: 11.5px;
    color: var(--text-3);
    font-weight: 500;
}

.einv-br-page__reg-desc {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.5;
    margin: 0;
}

/* Garantie box */
.einv-br-page__garantie-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(42,218,73,.05);
    border: 1px solid rgba(42,218,73,.14);
    border-radius: var(--r);
}

.einv-br-page__garantie-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(42,218,73,.10);
    border: 1px solid rgba(42,218,73,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}

.einv-br-page__garantie-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.einv-br-page__garantie-val strong {
    color: var(--green);
}

.einv-br-page__garantie-desc {
    font-size: 12.5px;
    color: var(--text-2);
    line-height: 1.55;
    margin: 0;
}

.einv-br-page__garantie-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    background: rgba(42,218,73,.08);
    border: 1px solid rgba(42,218,73,.18);
    border-radius: 100px;
    padding: 5px 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════
   4. PRODUSE
════════════════════════════════════════════════════ */
.einv-br-page__produse-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.einv-br-page__produs {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color .18s;
}

.einv-br-page__produs--activ:hover {
    border-color: var(--border-2);
}

.einv-br-page__produs--inactiv {
    opacity: .5;
}

.einv-br-page__produs-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.einv-br-page__produs-cat {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.einv-br-page__produs-nr {
    font-size: 20px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -.03em;
    line-height: 1.1;
}

.einv-br-page__produs-tip {
    font-size: 11px;
    color: var(--text-3);
    font-weight: 500;
}

.einv-br-page__produs-na {
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
    opacity: .6;
}

/* ════════════════════════════════════════════════════
   5. COMISIOANE
════════════════════════════════════════════════════ */
.einv-br-page__comisioane-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.einv-br-page__com-meta-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.einv-br-page__com-meta-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.einv-br-page__com-meta-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}

.einv-br-page__tabel-wrap {
    overflow-x: auto;
    border-radius: var(--r);
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

.einv-br-page__tabel {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: var(--bg-2);
}

.einv-br-page__tabel thead th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .07em;
    text-align: left;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.einv-br-page__tabel tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}

.einv-br-page__tabel tbody tr:last-child {
    border-bottom: none;
}

.einv-br-page__tabel tbody tr:hover {
    background: rgba(255,255,255,.025);
}

.einv-br-page__tabel td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-2);
    vertical-align: top;
}

.einv-br-page__tabel td:first-child {
    font-weight: 600;
    color: var(--text);
}

.einv-br-page__com-val {
    font-weight: 700;
    color: var(--green);
}

.einv-br-page__com-obs {
    font-size: 12px;
    color: var(--text-3);
}

/* Ofertă / Bonus */
.einv-br-page__oferta {
    background: rgba(240,160,35,.08);
    border: 1px solid rgba(240,160,35,.22);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.einv-br-page__oferta-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--amber);
}

.einv-br-page__oferta-expira {
    margin-left: auto;
    font-size: 10px;
    font-weight: 500;
    color: rgba(240,160,35,.60);
    white-space: nowrap;
}

.einv-br-page__oferta-desc {
    font-size: 12px;
    color: rgba(232,233,235,.65);
    line-height: 1.5;
    margin: 0;
}

/* Link afiliat în descrierea pașilor */
.einv-br-page__pas-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    transition: opacity .18s;
    white-space: nowrap;
}

.einv-br-page__pas-link:hover {
    opacity: .8;
    text-decoration: none;
    color: var(--green);
}

/* ════════════════════════════════════════════════════
   6. PAȘI CONT
════════════════════════════════════════════════════ */
.einv-br-page__pasi {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}

.einv-br-page__pas {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.einv-br-page__pas-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.einv-br-page__pas-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(42,218,73,.08);
    border: 1px solid rgba(42,218,73,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
    z-index: 1;
}

.einv-br-page__pas-linie {
    width: 2px;
    flex: 1;
    min-height: 28px;
    background: linear-gradient(to bottom, rgba(42,218,73,.25), rgba(42,218,73,.04));
    margin: 4px 0;
}

.einv-br-page__pas-body {
    padding: 10px 0 28px;
    flex: 1;
}

.einv-br-page__pas-nr {
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.einv-br-page__pas-titlu {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    padding: 0;
}

.einv-br-page__pas-desc {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0;
}

.einv-br-page__pas-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 24px;
    background: var(--green);
    color: #080a0e;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .18s, transform .15s;
}

.einv-br-page__pas-cta:hover {
    opacity: .92;
    transform: translateY(-1px);
    text-decoration: none;
    color: #080a0e;
}

/* ════════════════════════════════════════════════════
   7. COMPARAȚIE
════════════════════════════════════════════════════ */
.einv-br-page__comp-wrap {
    overflow-x: auto;
    border-radius: var(--r);
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

.einv-br-page__comp-tabel {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: var(--bg-2);
}

.einv-br-page__comp-tabel thead th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-2);
    text-align: left;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.einv-br-page__comp-th--activ {
    color: var(--green) !important;
    background: rgba(42,218,73,.06) !important;
}

.einv-br-page__comp-tabel tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}

.einv-br-page__comp-tabel tbody tr:last-child {
    border-bottom: none;
}

.einv-br-page__comp-tabel tbody tr:hover {
    background: rgba(255,255,255,.025);
}

.einv-br-page__comp-tabel td {
    padding: 11px 16px;
    font-size: 13px;
    color: var(--text-2);
}

.einv-br-page__comp-criteriu {
    font-weight: 600;
    color: var(--text) !important;
}

.einv-br-page__comp-td--activ {
    background: rgba(42,218,73,.04);
    font-weight: 600;
    color: var(--text) !important;
}

.einv-br-page__comp-da {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--green);
    font-weight: 600;
    font-size: 12.5px;
}

.einv-br-page__comp-nu {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--red);
    font-weight: 600;
    font-size: 12.5px;
}

/* ════════════════════════════════════════════════════
   8. FAQ
════════════════════════════════════════════════════ */
.einv-br-page__faq-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.einv-br-page__faq-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .18s;
}

.einv-br-page__faq-item.is-open {
    border-color: var(--border-2);
}

.einv-br-page__faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: color .18s;
    outline: none;
}

.einv-br-page__faq-q:hover {
    color: #fff;
}

/* Icon +/− pur CSS */
.einv-br-page__faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-2);
    flex-shrink: 0;
    position: relative;
    transition: background .2s, border-color .2s;
}

.einv-br-page__faq-icon::before,
.einv-br-page__faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-2);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .2s, background .2s;
}

.einv-br-page__faq-icon::before {
    width: 10px;
    height: 1.5px;
}

.einv-br-page__faq-icon::after {
    width: 1.5px;
    height: 10px;
}

.einv-br-page__faq-item.is-open .einv-br-page__faq-icon {
    background: rgba(42,218,73,.10);
    border-color: rgba(42,218,73,.22);
}

.einv-br-page__faq-item.is-open .einv-br-page__faq-icon::before,
.einv-br-page__faq-item.is-open .einv-br-page__faq-icon::after {
    background: var(--green);
}

.einv-br-page__faq-item.is-open .einv-br-page__faq-icon::after {
    opacity: 0;
}

.einv-br-page__faq-a {
    padding: 0 20px 18px;
}

.einv-br-page__faq-a p {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.75;
    margin: 0;
}

/* ════════════════════════════════════════════════════
   9. CTA FINAL
════════════════════════════════════════════════════ */
.einv-br-page__cta-final {
    margin-top: 56px;
    background: rgba(42,218,73,.04);
    border: 1px solid rgba(42,218,73,.14);
    border-radius: 20px;
    padding: 52px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.einv-br-page__cta-final::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.einv-br-page__cta-final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.einv-br-page__cta-final-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    padding: 8px;
    box-sizing: border-box;
    object-fit: contain;
}

.einv-br-page__cta-final-titlu {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.025em;
    margin: 0;
}

.einv-br-page__cta-final-desc {
    font-size: 14px;
    color: var(--text-2);
    margin: 0;
    max-width: 440px;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .einv-br-page__hero-inner {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }
    .einv-br-page__reg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .einv-br-page__produse-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .einv-br-page__container {
        padding: 0 16px;
    }
    .einv-br-page__breadcrumb {
        padding: 0 0 20px;
    }
    .einv-br-page__hero {
        padding: 90px 0 0;
    }
    .einv-br-page__hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .einv-br-page__cta-box {
        position: static;
    }
    .einv-br-page__hero-name {
        font-size: 32px;
    }
    .einv-br-page__rating-nr {
        font-size: 28px;
    }
    .einv-br-page__pros-cons {
        grid-template-columns: 1fr;
    }
    .einv-br-page__reg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .einv-br-page__produse-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .einv-br-page__comisioane-meta {
        grid-template-columns: 1fr;
    }
    .einv-br-page__section-title {
        font-size: 20px;
    }
    .einv-br-page__garantie-box {
        flex-direction: column;
    }
    .einv-br-page__garantie-badge {
        margin-left: 0;
    }
    .einv-br-page__cta-final {
        padding: 36px 20px;
    }
    .einv-br-page__cta-final-titlu {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .einv-br-page__reg-grid {
        grid-template-columns: 1fr;
    }
    .einv-br-page__produse-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .einv-br-page__scor-row {
        grid-template-columns: 110px 1fr 32px;
    }
    .einv-br-page__hero-brand {
        gap: 12px;
    }
    .einv-br-page__hero-logo {
        width: 52px;
        height: 52px;
    }
}

/* ════════════════════════════════════════════════════
   SECȚIUNEA: VEZI ȘI ALȚI BROKERI
════════════════════════════════════════════════════ */
.einv-br-page__similari {
    background: #0f1117;
    border-top: 1px solid var(--border);
    padding: 52px 0 64px;
}

/* Header: titlu + link "Compară toți" */
.einv-br-page__similari-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.einv-br-page__similari-titlu {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.025em;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.einv-br-page__similari-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(232,233,235,.50);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .18s, gap .18s;
}

.einv-br-page__similari-all:hover {
    color: var(--green);
    gap: 8px;
    text-decoration: none;
}

.einv-br-page__similari-all svg {
    transition: transform .18s;
}

.einv-br-page__similari-all:hover svg {
    transform: translateX(3px);
}

/* ── GRID desktop: 4 coloane ── */
.einv-br-page__similari-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* ── CARD ── */
.einv-br-page__sim-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .2s, background .2s, transform .2s;
    box-sizing: border-box;
}

.einv-br-page__sim-card:hover {
    border-color: var(--border-2);
    background: var(--bg-3);
    transform: translateY(-2px);
}

/* Top: logo + info + rating */
.einv-br-page__sim-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.einv-br-page__sim-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.einv-br-page__sim-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.einv-br-page__sim-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.einv-br-page__sim-nume {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.einv-br-page__sim-tip {
    font-size: 10.5px;
    color: var(--text-3);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.einv-br-page__sim-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 700;
    color: var(--amber);
    flex-shrink: 0;
    margin-left: auto;
}

/* Verdict scurt */
.einv-br-page__sim-verdict {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

/* Butoane */
.einv-br-page__sim-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
}

.einv-br-page__sim-btn-review {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--border-2);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    transition: all .18s;
}

.einv-br-page__sim-btn-review:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.18);
    color: var(--text);
    text-decoration: none;
}

.einv-br-page__sim-btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 14px;
    background: var(--green);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #080a0e;
    text-decoration: none;
    transition: opacity .18s;
}

.einv-br-page__sim-btn-cta:hover {
    opacity: .9;
    text-decoration: none;
    color: #080a0e;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .einv-br-page__similari-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tabletă mică și mobil: scroll orizontal */
@media (max-width: 768px) {
    .einv-br-page__similari {
        padding: 40px 0 52px;
    }

    .einv-br-page__similari-header {
        padding: 0 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .einv-br-page__similari-titlu {
        font-size: 18px;
    }

    /* Grid devine scroll orizontal */
    .einv-br-page__similari-grid {
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 4px 16px 12px;
        scroll-padding-left: 16px;
    }

    .einv-br-page__similari-grid::-webkit-scrollbar {
        display: none;
    }

    /* Card fix 240px pe mobil */
    .einv-br-page__sim-card {
        flex: 0 0 240px;
        min-width: 240px;
        scroll-snap-align: start;
    }

    /* Ultimul card cu margin dreapta */
    .einv-br-page__sim-card:last-child {
        margin-right: 16px;
    }
}

@media (max-width: 480px) {
    .einv-br-page__sim-card {
        flex: 0 0 220px;
        min-width: 220px;
    }
}