/* ==========================================================================
   ГОЛОВНА СТОРІНКА (index / home): головний екран з відео, послуги, популярні авто
   ========================================================================== */

/* ---------- Головний екран: відео на весь екран ---------- */
.hp-hero {
    position: relative;
    /* на всю ширину вікна, навіть усередині .page-container */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1a1a;
    isolation: isolate;
}

.hp-hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hp-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    display: block;
}

/* Затемнення зліва під текст + плавний перехід у наступний блок знизу */
.hp-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(62, 62, 62, 0) 55%, rgba(62, 62, 62, 0.75) 82%, var(--body-bg, #3e3e3e) 100%),
        linear-gradient(90deg, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.62) 42%, rgba(18, 18, 18, 0.15) 75%, rgba(18, 18, 18, 0.05) 100%);
}

.hp-hero-inner {
    position: relative;
    padding-top: 120px;
    padding-bottom: 140px;
}

.hp-hero-content {
    max-width: 720px;
}

.hp-hero-title {
    margin: 0 0 24px;
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hp-hero-desc {
    margin: 0 0 40px;
    max-width: 620px;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: #e6e6e6;
}

.hp-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hp-hero-btns .btn-primary {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* ---------- Спільна шапка секцій ---------- */
.hp-services,
.hp-cars {
    padding: 70px 0;
    scroll-margin-top: 90px;
}

.hp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.hp-head .section-title {
    margin: 0;
    text-align: left;
}

.hp-link {
    color: var(--main-accent);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.hp-link:hover {
    text-decoration: underline;
}

/* ---------- Послуги: горизонтальна стрічка ---------- */
.hp-arrows {
    display: flex;
    gap: 10px;
}

.hp-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}

.hp-arrow:hover:not(:disabled) {
    border-color: var(--main-accent);
    color: var(--main-accent);
}

.hp-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.hp-services-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* запас зверху/знизу, щоб тінь і підйом карток при наведенні не обрізались */
    padding: 14px 30px 44px;
    margin: -14px -30px -44px;
    scroll-padding: 0 30px;
    /* м'яке згасання по краях замість різкого обрізу (класи ставить js/main.js) */
    --fade-l: 0px;
    --fade-r: 0px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}

.hp-services-track.fade-l {
    --fade-l: 70px;
}

.hp-services-track.fade-r {
    --fade-r: 70px;
}

.hp-services-track::-webkit-scrollbar {
    display: none;
}

.hp-service {
    flex: 0 0 calc((100% - 40px) / 3.15);
    min-height: 360px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 28px;
    border-radius: 18px;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.88) 100%),
        var(--bg) center / cover no-repeat,
        #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-service h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    color: #fff;
}

.hp-service p {
    margin: 0 0 8px;
    color: #ddd;
    font-size: 0.98rem;
    line-height: 1.5;
}

.hp-service-btns {
    display: flex;
    gap: 10px;
}

/* ---------- Кнопки карток ---------- */
.hp-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.98rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s, border-color 0.15s, color 0.15s;
}

.hp-btn-primary {
    background: var(--main-accent);
    border: 2px solid var(--main-accent);
    color: #fff;
}

.hp-btn-primary:hover {
    background: #ff6a24;
    border-color: #ff6a24;
}

.hp-btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

.hp-btn-ghost:hover {
    border-color: var(--main-accent);
    color: var(--main-accent);
}

/* Наведення: картка трохи піднімається, кнопка збільшується */
@media (hover: hover) {
    .hp-service:hover,
    .hp-car:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    }

    .hp-btn:hover {
        transform: scale(1.05);
    }
}

/* ---------- Популярні авто ---------- */
.hp-cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    min-height: 200px;
}

.hp-car {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-car-img {
    aspect-ratio: 4 / 3;
    background: #262626;
    overflow: hidden;
    cursor: pointer;
}

.hp-car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hp-car:hover .hp-car-img img {
    transform: scale(1.04);
}

.hp-car-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 20px;
}

.hp-car-body h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #fff;
}

.hp-car-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    color: #bbb;
    font-size: 0.92rem;
}

.hp-car-meta li {
    margin: 0;
}

.hp-car-meta i {
    color: var(--main-accent);
    margin-right: 5px;
}

.hp-car .hp-service-btns {
    margin-top: auto;
}

/* ---------- Блок SEO-тексту ---------- */
.hp-seo h2 {
    margin: 0 0 18px;
    font-size: 1.6rem;
    color: #fff;
}

.hp-seo h3 {
    margin: 22px 0 8px;
    font-size: 1.15rem;
    color: #fff;
}

.hp-seo p {
    margin: 0 0 10px;
}

/* ---------- Планшет ---------- */
@media (max-width: 1100px) {
    .hp-service {
        flex-basis: calc((100% - 20px) / 2.2);
    }

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

/* ---------- Телефон ---------- */
@media (max-width: 760px) {
    .hp-hero-inner {
        padding-top: 110px;
        padding-bottom: 120px;
    }

    .hp-hero-video {
        object-position: 72% center;
    }

    /* На телефоні текст по всій ширині — затемнюємо рівніше */
    .hp-hero-media::after {
        background:
            linear-gradient(to bottom, rgba(62, 62, 62, 0) 55%, rgba(62, 62, 62, 0.8) 85%, var(--body-bg, #3e3e3e) 100%),
            linear-gradient(rgba(18, 18, 18, 0.62), rgba(18, 18, 18, 0.62));
    }

    .hp-hero-btns {
        flex-direction: column;
    }

    .hp-hero-btns .btn,
    .hp-hero-btns .btn-hero-outline {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hp-services,
    .hp-cars {
        padding: 50px 0;
    }

    .hp-head {
        margin-bottom: 24px;
    }

    /* Свайп замість стрілок */
    .hp-arrows {
        display: none;
    }

    .hp-services-track {
        gap: 14px;
        scroll-snap-type: x mandatory;
        /* картки доходять до краю екрана, щоб було видно, що є продовження */
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding: 0 16px;
    }

    .hp-services-track.fade-l {
        --fade-l: 24px;
    }

    .hp-services-track.fade-r {
        --fade-r: 40px;
    }

    .hp-service {
        flex-basis: 84%;
        min-height: 320px;
        padding: 22px;
    }

    .hp-cars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hp-head .hp-link {
        font-size: 0.9rem;
    }
}

/* ---------- Про нас + «Питання та відповіді» ---------- */
.hp-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 60px;
    align-items: start;
    padding-top: 30px;
}

.hp-about-text p {
    margin: 0 0 14px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e6e6e6;
}

.hp-about h2,
.hp-faq h2 {
    margin: 0 0 22px;
    font-size: 1.7rem;
    line-height: 1.25;
    color: #fff;
}

.hp-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-faq-item:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-faq-item summary {
    position: relative;
    padding: 18px 44px 18px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

.hp-faq-item summary::-webkit-details-marker {
    display: none;
}

/* Плюс, що перетворюється на мінус */
.hp-faq-item summary::before,
.hp-faq-item summary::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--main-accent, #f5500a);
    transition: transform 0.25s ease;
}

.hp-faq-item summary::after {
    transform: rotate(90deg);
}

.hp-faq-item[open] summary::after {
    transform: rotate(0deg);
}

.hp-faq-item summary:hover {
    color: var(--main-accent, #f5500a);
}

.hp-faq-item p {
    margin: 0 0 20px;
    padding-right: 30px;
    font-size: 1rem;
    line-height: 1.65;
    color: #d6d6d6;
}

@media (max-width: 900px) {
    .hp-about {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hp-about h2,
    .hp-faq h2 {
        font-size: 1.45rem;
    }

    .hp-faq-item summary {
        font-size: 1.02rem;
    }
}

/* ==========================================================================
   ЗАГОЛОВКИ БЛОКІВ: по лівому краю контейнера, під ними лінія до правого краю
   ========================================================================== */
.hp-head,
.clients-section .section-title,
.latest-news-section .section-title,
.reviews-section .section-header-wrapper {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 40px;
}

.clients-section .section-title,
.latest-news-section .section-title,
.reviews-section .section-title {
    text-align: left;
}

/* Відгуки: заголовок зліва, стрілки справа (як у «Наших послугах») */
.reviews-section .section-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.reviews-section .section-header-wrapper > div:first-child {
    text-align: left;
}

.reviews-section .section-header-wrapper .section-title {
    margin: 0;
}

.clients-section .section-title,
.latest-news-section .section-title {
    margin-top: 0;
}

@media (max-width: 760px) {
    .hp-head,
    .clients-section .section-title,
    .latest-news-section .section-title,
    .reviews-section .section-header-wrapper {
        padding-bottom: 14px;
        margin-bottom: 26px;
    }

    .reviews-section .section-header-wrapper {
        flex-direction: row;
        align-items: center;
    }
}

/* ==========================================================================
   ВІДГУКИ: стрічка як у «Наших послугах» (стрілки на десктопі, свайп на телефоні)
   ========================================================================== */
.reviews-section .reviews-carousel-window {
    overflow: visible;
}

.reviews-section .reviews-track {
    gap: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 14px 30px 44px;
    margin: -14px -30px -44px;
    scroll-padding: 0 30px;
    --fade-l: 0px;
    --fade-r: 0px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}

.reviews-section .reviews-track.fade-l {
    --fade-l: 70px;
}

.reviews-section .reviews-track.fade-r {
    --fade-r: 70px;
}

.reviews-section .review-card {
    flex: 0 0 calc((100% - 40px) / 3.15);
    scroll-snap-align: start;
    border-radius: 18px;
}

.reviews-section .reviews-summary {
    margin-top: 24px;
}

@media (max-width: 1100px) {
    .reviews-section .review-card {
        flex-basis: calc((100% - 20px) / 2.2);
    }
}

@media (max-width: 760px) {
    .reviews-section .reviews-track {
        gap: 14px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding: 0 16px;
    }

    .reviews-section .reviews-track.fade-l {
        --fade-l: 24px;
    }

    .reviews-section .reviews-track.fade-r {
        --fade-r: 40px;
    }

    .reviews-section .review-card {
        flex-basis: 84%;
        scroll-snap-align: start;
        padding: 22px;
    }
}

/* ==========================================================================
   КЕЙСИ: стрічка як у «Наших послугах» і «Відгуках»
   ========================================================================== */
.hp-head .section-title {
    padding-bottom: 0;
    border-bottom: 0;
    margin: 0;
}

.latest-news-section .news-grid.hp-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 14px 30px 44px;
    margin: -14px -30px -44px;
    scroll-padding: 0 30px;
    --fade-l: 0px;
    --fade-r: 0px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}

.latest-news-section .news-grid.hp-strip::-webkit-scrollbar {
    display: none;
}

.latest-news-section .news-grid.hp-strip.fade-l {
    --fade-l: 70px;
}

.latest-news-section .news-grid.hp-strip.fade-r {
    --fade-r: 70px;
}

.latest-news-section .hp-strip .news-card {
    flex: 0 0 calc((100% - 40px) / 3.15);
    scroll-snap-align: start;
    border-radius: 18px;
}

@media (max-width: 1100px) {
    .latest-news-section .hp-strip .news-card {
        flex-basis: calc((100% - 20px) / 2.2);
    }
}

@media (max-width: 760px) {
    .latest-news-section .news-grid.hp-strip {
        gap: 14px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding: 0 16px;
    }

    .latest-news-section .news-grid.hp-strip.fade-l {
        --fade-l: 24px;
    }

    .latest-news-section .news-grid.hp-strip.fade-r {
        --fade-r: 40px;
    }

    .latest-news-section .hp-strip .news-card {
        flex-basis: 84%;
    }
}

/* ==========================================================================
   ПОПУЛЯРНІ АВТО: стрічка карток у стилі картки замовлення CRM
   ========================================================================== */
.hp-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -16px 0 28px;
}

.hp-cat {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #2f2f2f;
    color: #ddd;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, transform 0.15s;
}

.hp-cat::after {
    content: ' →';
    color: var(--main-accent);
}

@media (hover: hover) {
    .hp-cat:hover {
        border-color: var(--main-accent);
        color: #fff;
        transform: scale(1.05);
    }
}

.hp-cars .hp-cars-grid.hp-strip {
    display: flex;
    gap: 20px;
    min-height: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 14px 30px 44px;
    margin: -14px -30px -44px;
    scroll-padding: 0 30px;
    --fade-l: 0px;
    --fade-r: 0px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}

.hp-cars .hp-cars-grid.hp-strip::-webkit-scrollbar {
    display: none;
}

.hp-cars .hp-cars-grid.hp-strip.fade-l {
    --fade-l: 70px;
}

.hp-cars .hp-cars-grid.hp-strip.fade-r {
    --fade-r: 70px;
}

.hp-strip .hp-car {
    flex: 0 0 calc((100% - 40px) / 3.15);
    scroll-snap-align: start;
    border: 1px solid #2c2c2c;
}

.hp-car-top {
    min-height: 76px;
    padding: 12px 18px;
    border-bottom: 1px solid #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hp-car-top h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.hp-car-badge {
    flex: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 90, 0, 0.14);
    color: #ff7a2e;
    border: 1px solid rgba(255, 90, 0, 0.35);
}

.hp-car-badge.is-premium {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.35);
}

.hp-strip .hp-car-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px 18px;
}

/* Фото повністю, без обрізання; якщо пропорції інші — по боках розмите те саме фото */
.hp-strip .hp-car-img {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #121212;
    border: 1px solid #2c2c2c;
}

.hp-car-img-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.55);
}

.hp-strip .hp-car-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-strip .hp-car:hover .hp-car-img img {
    transform: none;
}

.hp-car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #121212;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
}

.hp-car-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    text-align: center;
}

.hp-car-spec + .hp-car-spec {
    border-left: 1px solid #2c2c2c;
}

.hp-car-spec svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--main-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-car-lbl {
    font-size: 11px;
    color: #7d7d7d;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hp-car-val {
    font-size: 15px;
    font-weight: 500;
    color: #eee;
}

.hp-car-foot {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    background: #151515;
    border-top: 1px solid #2c2c2c;
}

@media (max-width: 1100px) {
    .hp-strip .hp-car {
        flex-basis: calc((100% - 20px) / 2.2);
    }
}

@media (max-width: 760px) {
    .hp-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin: -10px -16px 22px;
        padding: 0 16px;
    }

    .hp-cats::-webkit-scrollbar {
        display: none;
    }

    .hp-cars .hp-cars-grid.hp-strip {
        gap: 14px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding: 0 16px;
    }

    .hp-cars .hp-cars-grid.hp-strip.fade-l {
        --fade-l: 24px;
    }

    .hp-cars .hp-cars-grid.hp-strip.fade-r {
        --fade-r: 40px;
    }

    .hp-strip .hp-car {
        flex-basis: 84%;
    }

    /* Кнопки одна над одною */
    .hp-car-foot {
        flex-direction: column;
    }
}

/* Опції авто «таблетками»: пасажири, багаж, клімат, Starlink */
.hp-strip .hp-car-body {
    flex: 0 0 auto;
}

.hp-car-foot {
    margin-top: auto;
}

.hp-car-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-car-ft {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #121212;
    border: 1px solid #2c2c2c;
    font-size: 14px;
    font-weight: 500;
    color: #eee;
    cursor: default;
}

.hp-car-ft svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--main-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Рік випуску — під назвою авто */
.hp-car-name {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.hp-car-year {
    font-size: 13px;
    color: #8a8a8a;
}

/* Відгуки: кнопки «Залишити відгук» та «Усі відгуки» */
.reviews-summary-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.reviews-summary-link.reviews-write-link {
    background: var(--main-accent);
    border-color: var(--main-accent);
    color: #fff;
}

.reviews-summary-link.reviews-write-link:hover {
    background: #ff6a24;
    border-color: #ff6a24;
    color: #fff;
}

@media (max-width: 760px) {
    .reviews-summary-actions {
        flex-direction: column;
        width: 100%;
    }

    .reviews-summary-actions .reviews-summary-link {
        justify-content: center;
    }
}
