:root {
    --trav-rev-radius: 38px;
    --trav-rev-label-color: #3e424f;
    --trav-rev-count-color: #121726;
    --trav-rev-avatar-bg: #e6e6e6;
}

.trav-reviews-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 24px 0 32px;
}

.trav-reviews-card {
    flex: 1 1 320px;
    border-radius: var(--trav-rev-radius);
    padding: 30px 30px 30px;
    box-shadow: 0 35px 65px rgba(12, 18, 32, 0.18);
    border: none;
    text-align: center;
    position: relative;
    transition: transform 220ms ease, box-shadow 220ms ease;
    background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trav-reviews-photo {
    width: 140px;
    height: 58px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trav-reviews-photo img {
    width: 200px;
    margin: 10px 0;
    height: 100%;
    object-fit: cover;
}

.trav-reviews-card[data-source="google"] {
    background: linear-gradient(180deg, #fee5c5 0%, #fff6ea 100%);
}

.trav-reviews-card[data-source="tripadvisor"] {
    background: linear-gradient(180deg, #dfebff 0%, #f2f6ff 100%);
}

.trav-reviews-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 45px 80px rgba(8, 14, 30, 0.25);
}

.trav-reviews-avatars {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-bottom: 4px;
}

.trav-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--trav-rev-avatar-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f2431;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.trav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.trav-avatar-stack {
    margin-left: -16px;
}

.trav-avatar-stack:first-child {
    margin-left: 0;
}

.trav-avatar-logo {
    background: #fff;
    font-size: 1rem;
}

.trav-reviews-count {
    font-size: clamp(3rem, 3.6vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--trav-rev-count-color);
    margin: 4px 0 0;
}

.trav-reviews-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #f0a21d;
    margin: 0;
}

.trav-reviews-rating svg {
    width: 18px;
    height: 18px;
}

.trav-reviews-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--trav-rev-label-color);
    margin: -15px 0 0;
}

.trav-reviews-carousel {
    width: 100%;
    margin-top: 14px;
}

.trav-reviews-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.trav-reviews-carousel-track {
    display: flex;
    gap: 0;
    width: 100%;
    will-change: transform;
    transition: transform 320ms ease;
    transform: translateX(calc(var(--trav-carousel-index, 0) * -100%));
}

.trav-carousel-slide {
    flex: 0 0 100%;
    padding: 20px 22px;
    border-radius: 24px;
    min-height: 170px;
    box-sizing: border-box;
}

.trav-review-slide {
    background: rgba(255, 255, 255, 0.85);
    color: #1b1f2b;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(27, 31, 43, 0.08);
}

.trav-review-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 8px;
    color: #111528;
}

.trav-review-text {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #313749;
}

.trav-review-slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
}

.trav-review-author {
    font-weight: 600;
    color: #111528;
}

.trav-review-time {
    color: rgba(9, 14, 28, 0.6);
    font-size: 0.8rem;
    margin-left: 6px;
}

.trav-review-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f0a21d;
    font-weight: 600;
}

.trav-review-stars svg {
    width: 18px;
    height: 18px;
}

.trav-reviews-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.trav-reviews-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(16, 22, 34, 0.12);
    background: #fff;
    box-shadow: 0 6px 18px rgba(19, 16, 45, 0.15);
    color: #151723;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.trav-reviews-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 17, 32, 0.25);
}

.trav-reviews-nav:focus-visible {
    outline: 2px solid #111528;
    outline-offset: 2px;
}

.trav-photo-slide {
    padding: 0;
    overflow: hidden;
    background: #000;
    max-height: 170px !important;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(10, 14, 24, 0.2), 0 20px 40px rgba(8, 12, 24, 0.28);
    display: flex;
    align-items: stretch;
}

.trav-photo-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.trav-photo-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.trav-photo-link img {
    width: 100%;
    max-height: 210px !important;
    object-fit: cover;
    display: block;
    transition: transform 260ms ease;
}

.trav-photo-link:hover img,
.trav-photo-link:focus-visible img {
    transform: scale(1.05);
}

.trav-photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px;
    font-size: 0.78rem;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 14, 0.9) 90%);
}

@media (max-width: 640px) {
    .trav-reviews-card {
        flex-basis: 100%;
        max-width: 100%;
        padding:10px;
    }
}

.trav-reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.trav-reviews-list .trav-list-item {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(7, 11, 19, 0.1);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0));
}

.trav-reviews-list .trav-list-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.trav-reviews-list .trav-list-heading img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.trav-reviews-list .trav-list-heading h3 {
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trav-reviews-list .trav-list-meta {
    font-size: 0.9rem;
    color: rgba(13, 18, 30, 0.65);
}
