/* Reviews */
.rv-stars { color: #f59e0b; display: inline-flex; gap: .12rem; line-height: 1; }
.rv-stars--sm { font-size: .82rem; }
.rv-stars--md { font-size: 1rem; }
.rv-stars--lg { font-size: 1.25rem; }

.rv-inline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    font-size: .9rem;
    color: #475569;
}

.rv-inline__avg {
    font-weight: 800;
    color: #0f172a;
}

.rv-inline__count {
    color: #64748b;
}

.rv-section { margin-top: .25rem; }

.rv-summary {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: start;
}

.rv-summary__score {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: .95rem;
    padding: 1rem .85rem;
}

.rv-summary__avg {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.rv-summary__label {
    font-size: .78rem;
    color: #64748b;
    margin-top: .35rem;
}

.rv-bars { display: grid; gap: .4rem; }

.rv-bar {
    display: grid;
    grid-template-columns: 2.2rem 1fr 2rem;
    gap: .55rem;
    align-items: center;
    font-size: .78rem;
    color: #64748b;
}

.rv-bar__track {
    height: .45rem;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.rv-bar__fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 999px;
}

.rv-bar__count { text-align: end; font-weight: 700; color: #475569; }

.rv-list { display: grid; gap: .85rem; }

.rv-item {
    border: 1px solid #eef2f7;
    border-radius: .95rem;
    padding: 1rem 1.05rem;
    background: #fff;
}

.rv-item__head {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: .45rem;
}

.rv-item__name { font-weight: 800; color: #0f172a; }
.rv-item__meta { font-size: .78rem; color: #94a3b8; margin-top: .15rem; }
.rv-item__trip { font-size: .82rem; color: #64748b; margin-bottom: .35rem; }
.rv-item__comment { color: #475569; font-size: .92rem; line-height: 1.55; margin: 0; }

.rv-form {
    border: 1px solid #bfdbfe;
    background: #f8fbff;
    border-radius: .95rem;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1.25rem;
}

.rv-form__title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .25rem;
}

.rv-form__subtitle {
    font-size: .86rem;
    color: #64748b;
    margin-bottom: .9rem;
}

.rv-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: .25rem;
    margin-bottom: .85rem;
}

.rv-rating-input input { display: none; }

.rv-rating-input label {
    cursor: pointer;
    font-size: 1.45rem;
    color: #cbd5e1;
    transition: color .15s, transform .15s;
}

.rv-rating-input label:hover,
.rv-rating-input label:hover ~ label,
.rv-rating-input input:checked ~ label {
    color: #f59e0b;
}

.rv-rating-input label:hover { transform: scale(1.08); }

.rv-empty {
    text-align: center;
    color: #64748b;
    padding: 1.25rem .5rem;
}

/* Company public page */
.cp-page {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
    min-height: 60vh;
}

.cp-hero {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.2rem;
    padding: 1.4rem 1.5rem;
    display: flex;
    gap: 1.15rem;
    align-items: center;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
    margin-bottom: 1.5rem;
}

.cp-hero__logo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    object-fit: cover;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.cp-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.cp-hero__name {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    margin: 0 0 .35rem;
    color: #0f172a;
}
.cp-hero__verified {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #047857;
    font-size: .82rem;
    font-weight: 700;
}
.cp-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: #0f172a;
}

@media (max-width: 767.98px) {
    .rv-summary { grid-template-columns: 1fr; }
    .cp-hero { flex-direction: column; align-items: flex-start; }
}
