
:root {
    --color-main: rgba(106, 132, 200, 0.3);
    --color-second: rgba(45, 106, 63, 1.0);
    --color-third: rgba(213, 129, 82, 0.6);
    --color-bg: #0b0b0f;
    --color-surface: #121218;
    --color-muted: #9aa0a6;
    --color-text: #e6e6ea;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 6px 24px rgba(0, 0, 0, .35);
    --shadow-deep: 0 12px 40px rgba(0, 0, 0, .5);
    --gap-sm: 12px;
    --gap-md: 20px;
    --gap-lg: 36px;
    --gap-xl: 56px;
    --grad-brand: radial-gradient(1200px 600px at 100% -10%, color-mix(in srgb, var(--color-main) 55%, transparent), transparent 65%),
        radial-gradient(1000px 500px at -5% 110%, color-mix(in srgb, var(--color-third) 55%, transparent), transparent 65%);
}

/* --- Base reset & typography (Netflix-inspired, high-contrast dark) --- */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #0a0a0d;
    color: var(--color-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

body {
    background: radial-gradient(1200px 800px at 20% -10%, #12121a, transparent 60%), var(--color-bg);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: var(--gap-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-md);
}

.muted {
    color: var(--color-muted)
}

.hidden {
    display: none !important;
}

/* --- Header --- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(120%) blur(12px);
    background: color-mix(in srgb, #0a0a0d 78%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-md);
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 30px;
    width: auto;
    border-radius: 8px;
}

.brand__name {
    font-weight: 700;
    letter-spacing: .2px;
}

.nav {
    display: flex;
    gap: 18px;
}

.nav a {
    opacity: .85;
    transition: opacity .2s ease, transform .2s ease;
    font-weight: 600;
}

.nav a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-deep);
    margin-top: 24px;
}

.hero__wrap {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: var(--gap-lg);
    padding: clamp(36px, 8vw, 80px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
}

.hero__title {
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: .2px;
}

.hero__subtitle {
    color: var(--color-muted);
    margin-top: 10px;
    font-size: clamp(14px, 1.3vw, 18px);
}

.readmore {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* показати 10 рядків */
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.readmore-btns {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.rm-text {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: clamp(14px, 1.3vw, 18px);
}

/* коли відкрито — показуємо повний текст і прибираємо “…” */
.readmore.open {
    display: block;
    -webkit-line-clamp: unset;
}

.readmore.open::after {
    content: "";
}

/* курсор */
.rm-show,
.rm-hide {
    cursor: pointer;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.hero__badges {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(2px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-main), color-mix(in srgb, var(--color-main) 70%, #fff 0%));
    color: #0b0b0f;
    box-shadow: 0 6px 22px color-mix(in srgb, var(--color-main) 30%, transparent);
}

.btn--ghost {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.hero__media {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 18px;
    overflow: hidden;
    background: #0f0f13;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .75));
}

.hero__thumbs {
    position: absolute;
    inset: auto 16px 16px auto;
    display: flex;
    gap: 10px;
}

.hero__thumbs img {
    height: 54px;
    width: 86px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    opacity: .85;
    transition: opacity .2s ease, transform .2s ease;
}

.hero__thumbs img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* --- Stat cards --- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
}

.stat {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.stat__value {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
}

.stat__label {
    color: var(--color-muted);
    font-weight: 600;
    margin-top: 6px;
}

/* --- Sections --- */
section {
    margin: var(--gap-xl) 0;
}

.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-sm);
    padding: 64px 0 32px;
}

.section__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    letter-spacing: .3px;
    margin: 0;
}

.section__desc {
    color: var(--color-muted);
}

/* --- Cards / carousels --- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
}

.card__body {
    padding: 18px;
}

.card__meta {
    color: var(--color-muted);
    font-size: .95rem;
}

/* --- Reviews --- */
.reviews {
    display: grid;
    gap: var(--gap-md);
}

.review {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
}

.review__avatar {
    height: 54px;
    width: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.stars {
    display: inline-flex;
    gap: 4px;
    vertical-align: middle;
}

.star {
    width: 18px;
    height: 18px;
    background: conic-gradient(from 0deg, var(--color-main), var(--color-third));
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 .587l3.668 7.431 8.2 1.192-5.934 5.786 1.401 8.168L12 18.896l-7.335 3.868 1.401-8.168L.132 9.21l8.2-1.192z"/></svg>') no-repeat center/contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 .587l3.668 7.431 8.2 1.192-5.934 5.786 1.401 8.168L12 18.896l-7.335 3.868 1.401-8.168L.132 9.21l8.2-1.192z"/></svg>') no-repeat center/contain;
}

/* --- Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.gallery img {
    border-radius: 16px;
}

/* --- Footer --- */
.footer {
    margin-top: var(--gap-xl);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 28px 0 36px;
    color: var(--color-muted);
}

.footer a {
    opacity: .9;
}

.footer a:hover {
    opacity: 1;
}

.detailed-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    background-color: #FFFFFF0F;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #FFFFFF0F;
}

.info-key {
    font-weight: 600;
    color: #e3e3e3;
}

.info-value {
    color: #e3e3e3;
}

/* --- Utilities for badges, chips, rating --- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    font-weight: 700;
    color: #fff;
}

.badge {
    padding: 6px 10px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-second) 22%, #ffffff08);
    border: 1px solid rgba(255, 255, 255, .06);
}

/* --- Legal documents (Termly / TermsFeed exports: privacy.html, terms.html) ---
   The exported markup hardcodes light-theme colours in inline style attributes,
   so these rules use !important to re-map them onto the dark theme. */
[data-custom-class='body'],
[data-custom-class='body'] * {
    background: transparent !important;
    color: var(--color-text) !important;
}

[data-custom-class='title'],
[data-custom-class='title'] * {
    font-family: inherit !important;
    font-size: 26px !important;
    color: var(--color-text) !important;
}

[data-custom-class='subtitle'],
[data-custom-class='subtitle'] * {
    font-family: inherit !important;
    font-size: 14px !important;
    color: var(--color-muted) !important;
}

[data-custom-class='heading_1'],
[data-custom-class='heading_1'] * {
    font-family: inherit !important;
    font-size: 19px !important;
    color: var(--color-text) !important;
}

[data-custom-class='heading_2'],
[data-custom-class='heading_2'] * {
    font-family: inherit !important;
    font-size: 17px !important;
    color: var(--color-text) !important;
}

[data-custom-class='body_text'],
[data-custom-class='body_text'] * {
    font-family: inherit !important;
    font-size: 14px !important;
    color: var(--color-muted) !important;
}

[data-custom-class='link'],
[data-custom-class='link'] * {
    font-family: inherit !important;
    font-size: 14px !important;
    color: #8fa8ff !important;
    word-break: break-word !important;
}

[data-custom-class='body'] ul {
    list-style-type: square;
}

[data-custom-class='body'] ul>li>ul {
    list-style-type: circle;
}

[data-custom-class='body'] ul>li>ul>li>ul {
    list-style-type: square;
}

/* --- Responsive --- */
@media (max-width: 980px) {

    .nav {
        display: none;
    }

    .hero__wrap {
        padding: 18px;
        grid-template-columns: 1fr;
    }

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

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {

    .section__head {
        padding: 32px 0 24px;
    }

    .row {
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }

    .hero__badges {
        display: none;
    }

    .stats,
    .cards,
    .gallery {
        grid-template-columns: 1fr;
    }
}

.driver-active .driver-overlay,
.driver-active * {
    pointer-events: none
}

.driver-active .driver-active-element,
.driver-active .driver-active-element *,
.driver-popover,
.driver-popover * {
    pointer-events: auto
}

@keyframes animate-fade-in {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.driver-fade .driver-overlay {
    animation: animate-fade-in .2s ease-in-ou
}

.driver-fade .driver-popover {
    animation: animate-fade-in .2s
}

.driver-popover {
    all: unset;
    box-sizing: border-box;
    color: #2d2d2d;
    margin: 0;
    padding: 15px;
    border-radius: 5px;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .4);
    z-index: 1000000000;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff
}

.driver-popover * {
    font-family: Helvetica Neue, Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif
}

.driver-popover-title {
    font: 19px/normal sans-serif;
    font-weight: 700;
    display: block;
    position: relative;
    line-height: 1.5;
    zoom: 1;
    margin: 0
}

.driver-popover-close-btn {
    all: unset;
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: #d2d2d2;
    z-index: 1;
    text-align: center;
    transition: color;
    transition-duration: .2s
}

.driver-popover-close-btn:hover,
.driver-popover-close-btn:focus {
    color: #2d2d2d
}

.driver-popover-title[style*=block]+.driver-popover-description {
    margin-top: 5px
}

.driver-popover-description {
    margin-bottom: 0;
    font: 14px/normal sans-serif;
    line-height: 1.5;
    font-weight: 400;
    zoom: 1
}

.driver-popover-footer {
    margin-top: 15px;
    text-align: right;
    zoom: 1;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.driver-popover-progress-text {
    font-size: 13px;
    font-weight: 400;
    color: #727272;
    zoom: 1
}

.driver-popover-footer button {
    all: unset;
    display: inline-block;
    box-sizing: border-box;
    padding: 3px 7px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #fff;
    background-color: #fff;
    color: #2d2d2d;
    font: 12px/normal sans-serif;
    cursor: pointer;
    outline: 0;
    zoom: 1;
    line-height: 1.3;
    border: 1px solid #ccc;
    border-radius: 3px
}

.driver-popover-footer .driver-popover-btn-disabled {
    opacity: .5;
    pointer-events: none
}

:not(body):has(>.driver-active-element) {
    overflow: hidden !importan
}

.driver-no-interaction,
.driver-no-interaction * {
    pointer-events: none !importan
}

.driver-popover-footer button:hover,
.driver-popover-footer button:focus {
    background-color: #f7f7f7
}

.driver-popover-navigation-btns {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end
}

.driver-popover-navigation-btns button+button {
    margin-left: 4px
}

.driver-popover-arrow {
    content: "";
    position: absolute;
    border: 5px solid #fff
}

.driver-popover-arrow-side-over {
    display: none
}

.driver-popover-arrow-side-left {
    left: 100%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-top-color: transparen
}

.driver-popover-arrow-side-right {
    right: 100%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-top-color: transparen
}

.driver-popover-arrow-side-top {
    top: 100%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparen
}

.driver-popover-arrow-side-bottom {
    bottom: 100%;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparen
}

.driver-popover-arrow-side-center {
    display: none
}

.driver-popover-arrow-side-left.driver-popover-arrow-align-start,
.driver-popover-arrow-side-right.driver-popover-arrow-align-start {
    top: 15px
}

.driver-popover-arrow-side-top.driver-popover-arrow-align-start,
.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start {
    left: 15px
}

.driver-popover-arrow-align-end.driver-popover-arrow-side-left,
.driver-popover-arrow-align-end.driver-popover-arrow-side-right {
    bottom: 15px
}

.driver-popover-arrow-side-top.driver-popover-arrow-align-end,
.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end {
    right: 15px
}

.driver-popover-arrow-side-left.driver-popover-arrow-align-center,
.driver-popover-arrow-side-right.driver-popover-arrow-align-center {
    top: 50%;
    margin-top: -5px
}

.driver-popover-arrow-side-top.driver-popover-arrow-align-center,
.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center {
    left: 50%;
    margin-left: -5px
}

.driver-popover-arrow-none {
    display: none
}
