:root {
    --ink: #101412;
    --ink-2: #1c2420;
    --paper: #f4f2ed;
    --white: #ffffff;
    --muted: #5c665f;
    --muted-2: #8b948d;
    --line: rgba(16, 20, 18, 0.1);
    --line-strong: rgba(16, 20, 18, 0.16);
    --accent: #1b8f4a;
    --accent-dark: #146f39;
    --accent-soft: rgba(27, 143, 74, 0.12);
    --accent-text: #0f6a34;
    --header: 72px;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 22px 50px rgba(16, 20, 18, 0.1);
    --shadow-sm: 0 10px 28px rgba(16, 20, 18, 0.06);
    --font: "Noto Sans", "Noto Sans Armenian", system-ui, sans-serif;
    --container: 1180px;
    --hero-image: url("https://images.unsplash.com/photo-1617788138017-80ad40651399?auto=format&fit=crop&w=2000&q=80");
    color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; object-fit: contain; }
h1, h2, h3, p, li, label { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; max-width: 100%; }
button { cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: #d7f3e2; color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -56px;
    background: var(--accent);
    color: #fff;
    padding: 10px 14px;
    z-index: 200;
    border-radius: 999px;
    font-weight: 700;
}

.skip-link:focus { top: 12px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header);
    background: rgba(16, 20, 18, 0.96);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled {
    background: rgba(16, 20, 18, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}



.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo {
    min-width: 0;
}

.logo-image {
    width: auto;
    height: 44px;
    max-width: min(168px, 52vw);
}

@media (min-width: 768px) {
    .logo-image {
        height: 60px;
        max-width: 220px;
    }
}

@media (min-width: 992px) {
    :root { --header: 92px; }
    .logo-image {
        height: 72px;
        max-width: none;
    }
}

@media (min-width: 1440px) {
    :root { --header: 108px; }
    .logo-image {
        height: 84px;
    }
}



.header-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    min-width: 0;
    flex: 1;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    font-size: 14.5px;
    font-weight: 600;
}

.main-nav a {
    padding: 8px 11px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.main-nav a.is-active { color: #d8f5e3; }

@media (max-width: 1400px) {
    .header-panel { gap: 8px; }
    .main-nav { font-size: 13px; gap: 0; }
    .main-nav a { padding: 8px 6px; }
    .header-tools { gap: 6px; }
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.header-phone {
    font-weight: 700;
    white-space: nowrap;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.header-phone:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.lang-switch {
    display: flex;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 3px;
    border-radius: 999px;
}

.lang-form { display: flex; }

.lang-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    min-width: 36px;
    height: 30px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang-btn.is-active,
.lang-btn:hover {
    background: var(--accent);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    margin-left: auto;
    border-radius: 12px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 8px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f3f6f4; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost-dark {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}
.btn-ghost-dark:hover { border-color: var(--ink); }

.hero-actions,
.detail-actions,
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Notices */
.messages { padding-top: 16px; }
.flash {
    padding: 14px 16px;
    background: #e8f7ee;
    border: 1px solid #bfe6cd;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.flash-error { background: #fdecea; border-color: #f5c6c0; }

/* Hero */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background: var(--ink);
}

.hero-media {
    position: absolute;
    inset: 0;
    background: var(--hero-image) center / cover no-repeat;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-photo.is-leaving {
    opacity: 1;
    z-index: 1;
}

.hero-photo.is-active {
    opacity: 1;
    z-index: 2;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 72% 62% at 50% 48%, rgba(10, 14, 12, 0.72) 0%, rgba(10, 14, 12, 0.38) 58%, rgba(10, 14, 12, 0.18) 100%),
        linear-gradient(180deg, rgba(10, 14, 12, 0.34) 0%, rgba(10, 14, 12, 0.08) 24%, rgba(10, 14, 12, 0.08) 76%, rgba(10, 14, 12, 0.42) 100%);
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(16, 20, 18, 0.42);
    color: #fff;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero-nav-prev { left: 18px; }
.hero-nav-next { right: 18px; }

.hero-content {
    position: relative;
    z-index: 3;
    width: min(720px, calc(100% - 176px));
    margin-inline: auto;
    padding: 16px 0 80px;
    text-align: center;
    pointer-events: none;
}

.hero-content :is(h1, h2, .hero-lead) {
    text-wrap: balance;
}

.hero-content h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
}

.hero-content .hero-lead {
    margin-inline: auto;
}

.hero .section-label::after {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-top: 10px;
}

.hero-lead,
.page-hero p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 46ch;
    font-size: 17px;
    margin-top: 14px;
}

.hero-button {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-button:hover {
    background: var(--accent);
    color: #fff;
}

.section-label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    color: var(--accent-text);
    font-size: 12px;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.section-label-light { color: #9be0b4; }

.featured-section,
.why-section,
.process-section,
.brands-strip { padding: 84px 0; }

.brands-strip,
.process-section { background: var(--white); }

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 28px;
}

.section-heading > * { min-width: 0; }

.section-heading h2,
.car-info-section h2,
.cars-empty h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-top: 8px;
}

.view-all {
    margin-left: auto;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.view-all:hover { color: var(--accent-text); border-color: var(--accent); }

.empty-copy { color: var(--muted); }

/* Cards */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.car-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    min-width: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .car-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

    .car-card:hover .car-card-image img { transform: scale(1.04); }
    .car-card:hover .car-card-arrow { background: var(--accent); }
}

.car-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }

.car-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e7e4de;
    overflow: hidden;
}

.car-card-image:not(:has(img)),
.car-main-image:not(:has(img)) {
    aspect-ratio: 16 / 10;
}

.car-card-image img,
.car-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.car-card-image img { position: absolute; inset: 0; }

.car-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.car-card-image img { transition: transform 0.45s ease; }

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #eceae4, #d9e0da);
    color: #8d978f;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.car-status,
.detail-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
}

.car-status { position: absolute; top: 12px; left: 12px; }
.car-status::before,
.detail-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.status-order { background: #0e6b6b; }
.status-incoming { background: #1d5f86; }
.status-preorder { background: #5c4d86; }
.status-reserved { background: #9a6412; }
.status-sold { background: #4d5550; }

.car-card-content { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }

.car-brand,
.car-detail-brand,
.price-label {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.car-card-title {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-top: 4px;
    overflow-wrap: break-word;
}

.car-trim { color: var(--muted); margin-top: 4px; font-size: 14px; }

.car-origin { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.car-origin span {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    background: var(--paper);
    padding: 4px 8px;
    border-radius: 999px;
}

.car-origin .origin-available { color: var(--accent-text); background: var(--accent-soft); }
.car-origin .origin-order { color: #1d5f86; background: rgba(29, 95, 134, 0.1); }

.car-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    color: var(--muted);
    font-size: 13px;
    margin: 12px 0 0;
}

.car-card-specs li:not(:last-child)::after {
    content: "·";
    margin: 0 8px;
    color: var(--muted-2);
}

.car-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 14px;
}

.car-price strong,
.car-detail-price strong {
    display: block;
    font-size: 22px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: 2px;
}

.currency {
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--muted);
}

.car-card-arrow {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    border-radius: 50%;
    flex: 0 0 auto;
}

.car-price { min-width: 0; }

.brand-pills,
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    gap: 12px;
}

.brand-pill,
.brand-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 92px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.brands-strip .brand-pill { background: var(--paper); }

@media (hover: hover) and (pointer: fine) {
    .brand-pill:hover,
    .brand-tile:hover {
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }
}

.brand-pill::after { content: "→"; color: var(--accent); font-size: 16px; }

.brand-tile-count { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.brand-tile h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.05; }
.brand-tile-action { color: var(--accent-text); font-size: 14px; }

.manufacturer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.manufacturer-grid .empty-copy { grid-column: 1 / -1; }

.manufacturer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 156px;
    min-width: 0;
    padding: 20px 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.manufacturer-logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 72px;
}

.manufacturer-logo img {
    width: auto;
    max-width: 78%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: center;
}

.manufacturer-name {
    max-width: 100%;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
    .manufacturer-card:hover {
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }
}

@media (min-width: 700px) {
    .manufacturer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .manufacturer-card { min-height: 176px; padding: 24px 16px 18px; }
    .manufacturer-logo { height: 84px; }
    .manufacturer-logo img { max-height: 76px; }
    .manufacturer-name { font-size: 16px; }
}

@media (min-width: 992px) {
    .manufacturer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1280px) {
    .manufacturer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .manufacturer-card { min-height: 140px; gap: 10px; padding: 16px 10px 14px; }
    .manufacturer-logo { height: 60px; }
    .manufacturer-logo img { max-height: 52px; }
    .manufacturer-name { font-size: 14px; }
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-card {
    display: block;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card time,
.page-hero time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.page-hero time { color: rgba(255, 255, 255, 0.72); }

.news-card h2 {
    margin: 8px 0 8px;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.news-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.news-article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 28px 8px;
    box-shadow: var(--shadow-sm);
    max-width: 820px;
}

.news-article p { line-height: 1.7; }

.news-back { margin-top: 18px; }

.news-back a {
    color: var(--accent-text);
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    .news-card:hover {
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

    .news-back a:hover { color: var(--accent-dark); }
}

@media (max-width: 760px) {
    .news-card,
    .news-article { padding: 18px 16px; }
    .news-article { padding-bottom: 6px; }
    .news-card h2 { font-size: 22px; }
}

.why-grid,
.specifications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.why-card,
.specification-group,
.cars-empty,
.inquiry-form,
.link-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.why-card h3 { margin: 8px 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.why-card p { color: var(--muted); }

.why-index {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-weight: 800;
    font-size: 13px;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.process-list li {
    background: var(--paper);
    border-radius: 16px;
    padding: 20px;
}

.process-section .process-list li { background: var(--paper); }

.process-list span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}

.process-list h3,
.process-list h2 {
    margin: 14px 0 6px;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.process-list p { color: var(--muted); font-size: 14px; }
.process-list.compact { grid-template-columns: 1fr; margin: 0; }
.process-list.compact li { background: var(--white); border: 1px solid var(--line); }

.cta-section {
    background:
        radial-gradient(circle at 90% 10%, rgba(27, 143, 74, 0.28), transparent 28%),
        var(--ink);
    color: #fff;
    padding: 84px 0;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 8px 0 12px;
}

.cta-content p { color: rgba(255, 255, 255, 0.72); max-width: 560px; margin-bottom: 22px; }

/* Inner pages */
.page-hero {
    background:
        radial-gradient(circle at 92% 0%, rgba(27, 143, 74, 0.24), transparent 30%),
        var(--ink);
    color: #fff;
    padding: 48px 0 42px;
}

.page-hero-center {
    min-height: 52vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 72px 0;
}

.page-hero-center p { margin-inline: auto; }
.page-hero-center .hero-actions { justify-content: center; margin-top: 22px; }
.page-hero-center .section-label { justify-content: center; }

.page-section { padding: 32px 0 88px; }

.inventory-primary {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
    gap: 12px;
}

.segment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.segment-status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 16px;
}

.segment-status .segment-btn { border-radius: 12px; }

.segment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 700;
    text-align: center;
}

.segment-btn:hover { background: var(--paper); }
.segment-btn.is-active { background: var(--ink); color: #fff; }

.inventory-shell {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 18px;
}

.inventory-sidebar {
    position: sticky;
    top: calc(var(--header) + 16px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header) - 32px);
    overflow: auto;
}

.filter-advanced,
.inventory-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-advanced { display: none; }
.cars-filter.is-open .filter-advanced { display: flex; }

.filter-search input { width: 100%; }

.filter-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter-field { display: flex; flex-direction: column; gap: 6px; }

.filter-field label,
.form-field span,
.sort-field span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.filter-field input,
.filter-field select,
.form-control,
.sort-field select {
    height: 48px;
    border: 1px solid var(--line-strong);
    padding: 0 12px;
    background: var(--paper);
    width: 100%;
    min-width: 0;
    border-radius: 12px;
    font-size: 16px;
}

.filter-field input:focus,
.filter-field select:focus,
.form-control:focus,
.sort-field select:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea.form-control { height: auto; padding: 12px; min-height: 120px; resize: vertical; }

.filter-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.filter-toggle.has-filters::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.filter-chevron {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.filter-toggle[aria-expanded="true"] .filter-chevron { transform: rotate(-135deg) translateY(-1px); }

.filter-actions .btn { flex: 1; }
.filter-actions-primary { display: flex; }

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.results-count { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }

.sort-field {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: min(100%, 260px);
}

.sort-field select { min-width: 180px; }

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 13px;
    font-weight: 700;
}

.filter-chip-clear { background: var(--ink); color: #fff; }

.cars-empty { text-align: center; padding: 56px 24px; }
.cars-empty p { color: var(--muted); margin: 8px auto 18px; max-width: 46ch; }
.cars-empty .hero-actions { justify-content: center; }

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.pagination-link {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 700;
    border-radius: 12px;
}

.pagination-link:hover { border-color: var(--accent); color: var(--accent-text); }
.pagination-link.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Detail */
.car-detail-page { padding: 28px 0 88px; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--accent-text); }

.car-detail-top {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
    gap: 22px;
    align-items: start;
}

.car-detail-gallery,
.car-main-image,
.inventory-main,
.about-aside,
.contact-panel,
.inquiry-form { min-width: 0; }

.car-main-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e7e4de;
    overflow: hidden;
    border-radius: 18px;
}

.car-zoom {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.car-card-image > .image-placeholder,
.car-main-image > .image-placeholder {
    position: absolute;
    inset: 0;
    min-height: 0;
}

.car-zoom img { transition: opacity 0.2s ease; }

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 20, 18, 0.72);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    z-index: 1;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-nav:hover { background: var(--accent); }

.gallery-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(16, 20, 18, 0.72);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.car-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

.car-thumbnail {
    flex: 0 0 92px;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    scroll-snap-align: start;
}

.car-thumbnail.active { border-color: var(--accent); }

.car-detail-summary {
    position: sticky;
    top: calc(var(--header) + 16px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.car-detail-summary h1 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-top: 4px;
}

.car-detail-trim { color: var(--muted); margin-top: 6px; }

.car-detail-color {
    margin-top: 8px;
    font-weight: 700;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.color-option {
    flex: 0 0 84px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.color-option-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border: 2px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #e7e4de;
}

.color-option.is-active .color-option-thumb { border-color: var(--accent); }

.color-option:hover .color-option-thumb,
.color-option:focus-visible .color-option-thumb { border-color: var(--accent); }

.color-option-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.color-option-fallback {
    font-size: 18px;
    font-weight: 800;
    color: var(--muted);
}

.color-option-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.color-option.is-active .color-option-title { color: var(--accent-text); }

.car-card-colors {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.car-detail-price {
    margin: 16px 0 12px;
    padding: 14px 16px;
    background: var(--paper);
    border-radius: 14px;
}

.car-detail-price strong { font-size: clamp(30px, 3vw, 40px); }
.detail-status { margin-bottom: 14px; }

.quick-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.quick-spec {
    padding: 12px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.quick-spec span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }

.detail-actions { margin-top: 16px; }
.detail-actions .btn { flex: 1 1 120px; }

.car-info-section { padding-top: 56px; }

.car-description,
.prose {
    max-width: 760px;
    color: #303833;
    font-size: 17px;
}

.car-description p,
.prose p { margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }

.about-layout .prose p {
    margin-bottom: 18px;
    line-height: 1.7;
}

.prose a {
    color: var(--accent-text);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose a:hover { color: var(--accent-dark); }

.about-tagline { margin-top: 4px; }

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.spec-row span,
.spec-row strong { min-width: 0; overflow-wrap: break-word; }
.spec-row span { color: var(--muted); }
.spec-row strong { text-align: end; }
.specification-group h3 { margin-bottom: 8px; font-size: 18px; }
.inquiry-panel > p { color: var(--muted); margin: 8px 0 0; max-width: 520px; }
.inquiry-panel .inquiry-form { margin-top: 18px; max-width: 760px; }

.lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(1100px, calc(100% - 32px));
    max-height: 92vh;
}

.lightbox::backdrop { background: rgba(8, 10, 9, 0.88); }
.lightbox img {
    width: auto;
    height: auto;
    max-width: min(1100px, calc(100vw - 48px));
    max-height: min(86vh, 86dvh);
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 24px;
}

.split-page {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
    gap: 28px;
    align-items: start;
}

.about-layout .prose {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.about-layout .hero-actions { margin-top: 8px; }

.about-aside { display: grid; gap: 12px; }

.link-card { display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.link-card strong { font-size: 22px; letter-spacing: -0.03em; }
.link-card:hover { border-color: var(--accent); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.form-field-wide { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field:has(:required) > span::after { content: " *"; color: var(--accent-dark); }
.errorlist { color: #9f2d2d; font-size: 13px; list-style: none; margin-top: 4px; }

.contact-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(27, 143, 74, 0.28), transparent 36%),
        var(--ink);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
    min-height: 100%;
}

.contact-list { margin-top: 18px; }
.contact-list a {
    display: block;
    padding: 14px 0;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-list a:hover { color: #b7ebc8; }

.site-footer {
    background: #0e1210;
    color: #fff;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo-link img {
    width: auto;
    height: 42px;
}

/* Պլանշետներ */
@media (min-width: 768px) {
    .footer-logo-link img {
        height: 50px;
    }
}

/* Նոթբուքեր և միջին էկրաններ */
@media (min-width: 992px) {
    .footer-logo-link img {
        height: 65px;
    }
}

/* Մեծ էկրաններ */
@media (min-width: 1440px) {
    .footer-logo-link img {
        height: 84px;
    }
}

.footer-grid h2 {
    font-size: 13px;
    margin-bottom: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-grid a,
.footer-grid p,
.contact-list a { overflow-wrap: anywhere; }

.footer-grid a,
.footer-grid p { color: #b7bfb9; display: block; margin: 8px 0; }
.footer-grid a:hover { color: #fff; }

.footer-social {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0 32px;
}

.footer-social-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.social-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.social-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 72px;
    color: #b7bfb9;
    font-size: 13px;
    font-weight: 600;
}

.social-link img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
}

a.social-link:hover { color: #fff; }
a.social-link:hover img { transform: translateY(-2px); }

.social-link.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0 22px;
    color: #8d968f;
    font-size: 13px;
}

@media (min-width: 1141px) {
    .filter-advanced { display: flex; }
    .filter-toggle { display: none; }
    .inventory-main .cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cars-grid > *,
.why-grid > *,
.specifications-grid > *,
.process-list > *,
.form-grid > *,
.footer-grid > *,
.split-page > *,
.about-layout > *,
.inventory-shell > *,
.car-detail-top > *,
.quick-specs > *,
.inventory-primary > * {
    min-width: 0;
}

@media (max-width: 1140px) {
    .nav-toggle { display: block; }

    .hero {
        height: auto;
        min-height: clamp(460px, 62vw, 680px);
        max-height: none;
        aspect-ratio: auto;
    }

    .hero-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-content {
        width: min(680px, calc(100% - 128px));
        padding: 20px 0 72px;
    }

    .hero .hero-lead {
        font-size: 17px;
        line-height: 1.5;
        margin-top: 12px;
    }

    .main-nav a { white-space: normal; }

    .header-panel {
        display: none;
        position: fixed;
        top: var(--header);
        right: 0;
        bottom: 0;
        left: 0;
        height: auto;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: #101412;
        padding: 8px 22px max(28px, env(safe-area-inset-bottom));
        overflow: auto;
        z-index: 60;
        max-width: 100%;
    }

    .site-header.is-open .header-panel { display: flex; }

    .main-nav {
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        font-size: 18px;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
    }

    .header-tools {
        flex-wrap: wrap;
        margin-top: auto;
        padding-top: 18px;
        justify-content: space-between;
        gap: 12px;
    }

    .lang-btn {
        min-width: 40px;
        height: 36px;
    }

    .cars-grid,
    .why-grid,
    .specifications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .process-list { grid-template-columns: 1fr 1fr; }
    .car-detail-top,
    .split-page,
    .about-layout,
    .inventory-shell { grid-template-columns: 1fr; }

    .inventory-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .filter-toggle { display: inline-flex; }
    .filter-actions-primary { display: flex; }
    .filter-advanced { display: none; }
    .cars-filter.is-open .filter-advanced { display: flex; }

    .car-detail-summary { position: static; }
}

@media (max-width: 760px) {
    .container { width: min(var(--container), calc(100% - 28px)); }
    .hero {
        height: auto;
        min-height: clamp(400px, 118vw, 520px);
        max-height: none;
        aspect-ratio: auto;
    }
    .hero-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 62%;
    }
    .hero-content {
        width: min(640px, calc(100% - 32px));
        padding: 12px 0 68px;
    }
    .hero .hero-lead { font-size: 16px; line-height: 1.5; margin-top: 10px; }
    .hero .section-label {
        justify-content: center;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-align: center;
    }
    .hero-nav {
        top: auto;
        bottom: 14px;
        width: 40px;
        height: 40px;
        transform: none;
    }
    .hero-nav-prev { left: 12px; }
    .hero-nav-next { right: 12px; }
    .page-hero { padding: 32px 0 28px; }
    .page-hero h1 { font-size: clamp(28px, 8vw, 42px); }
    .page-hero p { font-size: 16px; }
    .page-hero-center { min-height: 0; padding: 48px 0; }
    .section-heading h2,
    .car-info-section h2 { font-size: clamp(26px, 7vw, 36px); }
    .car-detail-summary { padding: 18px; }
    .car-detail-summary h1 { font-size: clamp(28px, 8vw, 40px); }
    .about-layout .prose { padding: 20px 18px; }
    .inquiry-form > .btn { width: 100%; }
    .segment { min-width: 0; }
    .segment-status { grid-template-columns: 1fr 1fr; }
    .segment-btn { overflow-wrap: anywhere; }
    .hero-actions .btn,
    .detail-actions .btn { width: 100%; }
    .segment-btn { min-width: 0; padding-inline: 8px; line-height: 1.2; }
    .lightbox,
    .lightbox img { max-width: calc(100% - 8px); }
    .quick-spec { border-right: 0; }

    .inventory-primary,
    .cars-grid,
    .why-grid,
    .specifications-grid,
    .process-list,
    .form-grid,
    .footer-grid,
    .quick-specs { grid-template-columns: 1fr; }

    .results-bar,
    .sort-field { flex-direction: column; align-items: stretch; }
    .section-heading { flex-wrap: wrap; align-items: flex-end; }
    .sort-field select { width: 100%; min-width: 0; }
    .featured-section,
    .why-section,
    .process-section,
    .brands-strip,
    .cta-section { padding: 56px 0; }
    .page-section { padding-bottom: 64px; }
    .footer-grid { gap: 28px; }
}

@media (max-width: 520px) {
    .hero .section-label::before,
    .hero .section-label::after { content: none; }
    .filter-range { grid-template-columns: 1fr; }
    .detail-actions { flex-direction: column; align-items: stretch; }
    .detail-actions .btn { flex-basis: auto; }
    .spec-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .spec-row strong { text-align: start; }
    .brand-pill,
    .brand-tile { font-size: 18px; min-height: 0; }
}

@media (max-width: 900px) and (max-height: 500px) {
    .hero {
        min-height: 0;
        height: auto;
        padding-bottom: 58px;
    }

    .hero-content {
        width: min(680px, calc(100% - 32px));
        padding: 8px 0 12px;
    }

    .hero .hero-lead { font-size: 15px; line-height: 1.45; }
    .hero-nav { top: auto; bottom: 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.home-video {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    background: transparent;
}

.home-video__frame {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    overflow: hidden;
    background: transparent;
}

.home-video__picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
}

.cookie-notice {
    position: fixed;
    z-index: 40;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 18px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cookie-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-notice-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

@media (max-width: 720px) {
    .cookie-notice { flex-direction: column; align-items: stretch; }
    .cookie-notice-actions { display: grid; }
}

.home-video__media {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 320px;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center;
    background: transparent;
    pointer-events: none;
}
