:root {
    --dark: #111315;
    --dark-soft: #1c2024;
    --text: #252a2e;
    --muted: #687078;
    --light: #f4f5f6;
    --border: #dfe3e6;
    --orange: #f28c28;
    --orange-dark: #d96e0c;
    --white: #ffffff;
    --success: #2f7d32;
    --max: 1180px;
    --shadow: 0 18px 48px rgba(17, 19, 21, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: rgba(17, 19, 21, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: var(--max);
    min-height: 78px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

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

.logo-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--dark);
    background: var(--orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-copy strong {
    color: var(--white);
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.logo-copy strong span,
.footer-brand span {
    color: var(--orange);
}

.logo-copy small {
    margin-top: 4px;
    color: #aeb5bb;
    font-size: 0.76rem;
}

.nav {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 0.93rem;
    font-weight: 700;
}

.nav a {
    padding: 10px 13px;
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--dark);
    background: var(--orange);
    outline: none;
}

.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(17, 19, 21, 0.93) 0%, rgba(17, 19, 21, 0.76) 48%, rgba(17, 19, 21, 0.2) 100%),
        var(--hero-image, linear-gradient(135deg, #252a2e, #111315)) center 58% / cover;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 6px;
    background: var(--orange);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 24px;
}

.eyebrow {
    margin: 0;
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--dark);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 800px;
    margin: 16px 0;
    color: inherit;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
}

h2 {
    margin-top: 0;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.hero p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 0;
    color: #e2e5e7;
    font-size: 1.1rem;
}

.section {
    padding: 76px 24px 88px;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
}

.trailer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.trailer-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(17, 19, 21, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.trailer-card:hover {
    border-color: rgba(242, 140, 40, 0.65);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.trailer-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--light);
}

.trailer-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 750;
    text-align: center;
}

.trailer-image img,
.main-image img,
.thumbs img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.trailer-image img {
    transition: transform 0.35s ease;
}

.trailer-card:hover .trailer-image img {
    transform: scale(1.035);
}

.trailer-card-body {
    padding: 20px;
}

.price {
    margin: 0;
    color: var(--orange-dark) !important;
    font-size: 0.88rem;
    font-weight: 900;
}

.price small {
    display: block;
    color: var(--muted);
    font-weight: 600;
}

.trailer-card-body h3 {
    margin: 7px 0 10px;
    font-size: 1.22rem;
}

.trailer-card-body p {
    margin-bottom: 0;
    color: var(--muted);
}

.card-actions {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 850;
    text-align: center;
    transition: 0.2s ease;
}

.btn.primary {
    color: var(--dark);
    background: var(--orange);
}

.btn.secondary {
    color: var(--dark);
    border-color: var(--border);
    background: var(--light);
}

.btn:hover {
    box-shadow: 0 10px 24px rgba(17, 19, 21, 0.13);
    transform: translateY(-1px);
}

.btn.big {
    width: 100%;
    margin-top: 18px;
    padding: 14px 20px;
}

.detail-page {
    background: var(--white);
}

.detail-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 58px 24px 68px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    gap: 44px;
    align-items: start;
}

.gallery {
    position: sticky;
    top: 102px;
}

.main-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: var(--light);
    box-shadow: var(--shadow);
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.thumbs button {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 13px;
    background: var(--light);
    cursor: pointer;
}

.thumbs button:hover,
.thumbs button.active {
    border-color: var(--orange);
}

.detail-info {
    padding-top: 8px;
}

.detail-info h1 {
    color: var(--dark);
    font-size: clamp(2.35rem, 4vw, 4rem);
}

.back-link {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.back-link:hover {
    color: var(--orange-dark);
}

.subtitle {
    color: var(--muted);
    font-size: 1.02rem;
}

.price-box {
    margin: 25px 0 8px;
    padding: 20px;
    border: 1px solid rgba(242, 140, 40, 0.42);
    border-left: 5px solid var(--orange);
    border-radius: 16px;
    background: #fff8f0;
}

.price-box small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.price-box strong {
    color: var(--dark);
    font-size: 1.65rem;
}

.detail-section {
    padding: 62px 24px 78px;
    border-top: 1px solid var(--border);
    background: var(--light);
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--orange-dark);
    font-weight: 900;
    content: "✓";
}

.data-list {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(17, 19, 21, 0.05);
}

.data-list div {
    padding: 11px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.data-list div:last-child {
    border-bottom: 0;
}

.data-list dt {
    color: var(--muted);
}

.data-list dd {
    margin: 0;
    font-weight: 750;
}

.site-footer {
    color: #c7ccd0;
    background: var(--dark);
    border-top: 4px solid var(--orange);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 46px 24px 34px;
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 0.7fr) minmax(260px, 1fr);
    gap: 34px;
    align-items: start;
}

.footer-inner p {
    margin: 8px 0;
}

.footer-brand {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.footer-contact,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer a {
    color: var(--white);
}

.site-footer a:hover {
    color: var(--orange);
}

@media (max-width: 1050px) {
    .trailer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-hero {
        grid-template-columns: 1fr;
    }

    .gallery {
        position: static;
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-legal {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 68px;
        padding: 10px 18px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .nav {
        width: 100%;
        padding-top: 4px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .nav a {
        padding: 8px 10px;
        font-size: 0.86rem;
    }

    .hero {
        min-height: 410px;
        background-position: 61% center;
    }

    .hero-content {
        padding: 62px 20px;
    }

    .section {
        padding: 58px 20px 66px;
    }

    .trailer-grid,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: column;
    }

    .detail-hero {
        padding: 42px 20px 54px;
    }

    .detail-section {
        padding: 48px 20px 60px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 38px 20px 30px;
    }

    .footer-legal {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .logo-copy small {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .data-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}
