@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap");

:root {
    --bg: #dbe5ec;
    --bg-muted: #cfdae3;
    --surface: #e7eff5;
    --surface-alt: var(--surface);
    --surface-raised: var(--surface);
    --surface-pressed: var(--surface);
    --ink: #050505;
    --ink-soft: #333333;
    --ink-muted: #6a6a6a;
    --accent: #ffd600;
    --accent-strong: #e0bc00;
    --button-height: 40px;
    --emboss-treatment: 0 -3px 8px -5px rgba(55, 64, 72, 0.34), 0 3px 8px -5px rgba(55, 64, 72, 0.34);
    --radius-xl: 8px;
    --radius-lg: 6px;
    --radius-md: 4px;
    --radius-sm: 2px;
    --container: min(1360px, calc(100vw - 32px));
    --font-square: "Rajdhani", "Bahnschrift", "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    --car-image-ratio: 4 / 5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-square);
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    padding-bottom: 82px;
}

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

img,
video {
    display: block;
    max-width: 100%;
}

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

button {
    cursor: pointer;
}

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

.narrow {
    max-width: 860px;
}

.app-shell {
    padding-top: 88px;
}

.eyebrow {
    display: none;
}

.eyebrow::before {
    content: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-square);
    font-weight: 800;
    letter-spacing: 0;
}

p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.65;
}

.primary-button,
.ghost-button,
.contact-chip,
.profile-pill,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--button-height);
    min-height: var(--button-height);
    padding: 0 18px;
    border-radius: var(--radius-xl);
    border: 0;
    line-height: 1;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: var(--emboss-treatment);
    transition: box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.primary-button {
    background: var(--accent);
    color: var(--ink);
    
    box-shadow: var(--emboss-treatment);
}

.primary-button:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: var(--emboss-treatment);
}

.primary-button:active,
.ghost-button:active,
.contact-chip:active,
.profile-pill:active {
    transform: translateY(0);
    box-shadow: var(--emboss-treatment);
}

.ghost-button,
.contact-chip,
.profile-pill {
    background: var(--surface-raised);
    color: var(--ink);
}

.ghost-button:hover,
.contact-chip:hover,
.profile-pill:hover {
    background: var(--surface-alt);
    transform: translateY(-1px);
}

.ghost-button.is-saved {
    background: var(--accent);
}

.ghost-button.small {
    height: var(--button-height);
    min-height: var(--button-height);
    padding: 0 12px;
}

.full-width {
    width: 100%;
}

.text-link {
    min-height: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--accent-strong);
    font-weight: 700;
    box-shadow: none;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    background: var(--surface-raised);
    border-bottom: none;
    box-shadow: var(--emboss-treatment);
}

.topbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 148px;
    height: 38px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand strong {
    font-size: 0.98rem;
    letter-spacing: 0;
}

.brand small {
    color: var(--ink-muted);
    font-size: 0.82rem;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 4px;
}

.desktop-nav a {
    padding: 10px 12px;
    border-radius: var(--radius-xl);
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 800;
}

.desktop-nav a.active,
.desktop-nav a:hover,
.mobile-nav a.active {
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

body[data-page="home"] .site-header {
    position: absolute;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

body[data-page="home"] .app-shell {
    padding-top: 0;
}

body[data-page="home"] .topbar {
    min-height: 92px;
    padding-top: 12px;
}

body[data-page="home"] .brand strong,
body[data-page="home"] .brand small,
body[data-page="home"] .desktop-nav a,
body[data-page="home"] .contact-chip,
body[data-page="home"] .profile-pill {
    color: var(--ink);
}

body[data-page="home"] .brand small {
    color: var(--ink-muted);
}

body[data-page="home"] .brand img {
    
}

body[data-page="home"] .desktop-nav a {
    background: transparent;
}

body[data-page="home"] .desktop-nav a.active,
body[data-page="home"] .desktop-nav a:hover {
    color: var(--ink);
    background: var(--accent);
    box-shadow: var(--emboss-treatment);
}

body[data-page="home"] .contact-chip,
body[data-page="home"] .profile-pill {
    background: var(--surface-raised);
    
    box-shadow: var(--emboss-treatment);
}

body[data-page="home"] .contact-chip:hover,
body[data-page="home"] .profile-pill:hover {
    background: var(--surface-alt);
}

.hero-panel {
    position: relative;
    border-bottom: none;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img,
.hero-media video,
.hero-media iframe {
    width: 100%;
    height: 100%;
    opacity: 0.18;
}

.hero-media img,
.hero-media video {
    object-fit: cover;
    object-position: 72% center;
}

.hero-media iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100vw, 177.78vh);
    height: max(56.25vw, 100vh);
    border: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    background: rgba(232, 240, 246, 0.36);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 42px;
    padding: 120px 0 70px;
    min-height: 100vh;
}

.hero-dashboard {
    display: grid;
    gap: 26px;
    width: min(100%, 1180px);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-title-column,
.hero-workspace {
    display: grid;
    gap: 22px;
    color: var(--ink);
    max-width: 780px;
}

.hero-title-column {
    align-content: center;
}

.hero-title-column h1 {
    max-width: 800px;
    font-size: 2.9rem;
    line-height: 0.88;
    text-wrap: balance;
}

.hero-title-column h1::after {
    content: "";
    display: block;
    width: min(100%, 560px);
    height: 2px;
    margin-top: 22px;
    background: rgba(139, 154, 166, 0.36);
    box-shadow: none;
}

.hero-workspace p {
    max-width: 640px;
    color: var(--ink-soft);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 760px;
    border: 0;
    background: var(--surface-pressed);
    box-shadow: var(--emboss-treatment);
    border-radius: var(--radius-xl);
}

.hero-fact {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-top: none;
    border-right: none;
}

.hero-fact:last-child {
    border-right: none;
}

.hero-fact strong {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink);
}

.hero-fact span {
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.5;
}

.hero-actions,
.footer-meta,
.section-heading,
.panel-head,
.results-toolbar,
.blog-toolbar,
.detail-badges,
.detail-actions,
.detail-quick-actions,
.toolbar-actions,
.view-toggle,
.compare-toggle,
.attachments-list,
.feature-tags,
.notification-list,
.share-actions,
.cta-actions,
.topbar-actions,
.tab-row,
.actions-row,
.car-card__meta,
.car-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions .primary-button,
.hero-actions .ghost-button {
    height: var(--button-height);
    min-height: var(--button-height);
    min-width: 180px;
    padding: 0 22px;
}

.hero-actions .ghost-button {
    background: var(--surface-raised);
    color: var(--ink);
}

.hero-search-card,
.content-panel,
.order-panel,
.filters-panel,
.results-panel,
.feature-panel,
.blog-card,
.car-card,
.info-card,
.auth-card,
.card-form,
.compare-table-wrapper,
.notification-card,
.panel,
.metric-card,
.user-card,
.admin-auth-card {
    background: var(--surface-raised);
    border: 0;
    border-radius: var(--radius-xl);
}

.content-panel,
.order-panel,
.filters-panel,
.results-panel,
.info-card,
.auth-card,
.card-form,
.compare-table-wrapper,
.notification-card,
.panel {
    background: var(--surface-raised);
    
    box-shadow: var(--emboss-treatment);
}

.hero-search-card,
.content-panel,
.order-panel,
.filters-panel,
.results-panel,
.info-card,
.auth-card,
.card-form,
.notification-card {
    padding: 20px;
}

.hero-search-card {
    display: grid;
    gap: 12px;
    width: min(100%, 780px);
    padding: 20px;
    background: var(--surface-raised);
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--emboss-treatment);
}

.hero-search-card input {
    background: var(--surface-alt);
}

.hero-search-card .primary-button {
    height: var(--button-height);
    min-height: var(--button-height);
    font-size: 0.98rem;
}

.car-type-shortcuts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    width: 100%;
    margin: 0;
}

.car-type-shortcut {
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 112px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    transition: transform 0.16s ease;
}

.car-type-shortcut:hover,
.car-type-shortcut:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.car-type-icon {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    color: var(--ink);
    background: var(--surface-raised);
    border: 0;
    border-radius: 999px;
    box-shadow: var(--emboss-treatment);
    overflow: hidden;
    transition: box-shadow 0.16s ease, background-color 0.16s ease;
}

.car-type-shortcut:hover .car-type-icon,
.car-type-shortcut:focus-visible .car-type-icon {
    box-shadow: var(--emboss-treatment);
}

.car-type-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 0.18s ease;
}

.car-type-shortcut:hover .car-type-icon img,
.car-type-shortcut:focus-visible .car-type-icon img {
    transform: scale(1.14);
}

.hero-search-head,
.section-heading__copy,
.cta-band__copy,
.search-hero-bar__copy {
    display: grid;
    gap: 8px;
}

.hero-search-head {
    padding-bottom: 16px;
    border-bottom: none;
}

.hero-search-head h2 {
    font-size: 1.55rem;
}

.hero-search-head p {
    max-width: 42ch;
}

.search-grid,
.field-grid,
.grid-two,
.filter-row,
.profile-grid,
.split-layout,
.detail-layout,
.admin-grid,
.blog-grid,
.cards-grid,
.services-grid,
.metrics-grid,
.action-grid,
.user-grid,
.media-library,
.footer-grid,
.contact-stack,
.list-stack,
.article-gallery,
.skeleton-grid {
    display: grid;
    gap: 14px;
}

.search-grid.compact,
.field-grid,
.grid-two {
    grid-template-columns: 1fr;
}

label,
.field-block {
    display: grid;
    gap: 6px;
}

.field-span-full {
    grid-column: 1 / -1;
}

label span,
.field-block span {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
}

input,
textarea,
select {
    width: 100%;
    border: 0;
    background: var(--surface-pressed);
    background-clip: border-box;
    color: var(--ink);
    min-height: 46px;
    padding: 10px 14px;
    border-radius: var(--radius-xl);
    outline: none;
    box-shadow: var(--emboss-treatment);
}

input:focus,
textarea:focus,
select:focus {
    background: var(--surface-alt);
    box-shadow: var(--emboss-treatment);
}

textarea {
    resize: vertical;
}

.section-block {
    padding: 44px 0;
    background: var(--bg);
}

.section-block.muted {
    background: var(--surface-pressed);
    border-top: none;
    border-bottom: none;
}

.section-heading,
.panel-head,
.results-toolbar,
.footer-meta,
.cta-band__inner {
    align-items: center;
    justify-content: space-between;
}

.section-heading {
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: none;
}

.section-heading__copy h2 {
    font-size: 2.2rem;
    line-height: 1;
}

.ad-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 12px;
}

.ad-card {
    position: relative;
    min-height: 360px;
    border: 0;
    border-radius: var(--radius-xl);
    overflow: visible;
    box-shadow: var(--emboss-treatment);
}

.ad-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.ad-card__content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
    background: var(--surface-raised);
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--emboss-treatment);
}

.ad-card__content h3 {
    font-size: 1.16rem;
    margin-bottom: 6px;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-toolbar {
    margin-bottom: 28px;
}

.car-card,
.blog-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 0;
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.car-card::after,
.blog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border: 0;
    border-radius: inherit;
    box-shadow: none;
}

.car-card:hover,
.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--emboss-treatment);
}

.car-card__image,
.blog-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    border-bottom: none;
    background: var(--bg-muted);
}

.car-card__image {
    aspect-ratio: var(--car-image-ratio);
}

.blog-card__image {
    aspect-ratio: 1.35;
}

.car-card__image img,
.blog-card__image img,
.article-featured,
.compare-card-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-badge,
.car-status,
.status-pill,
.blog-card__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    border: 0;
    font-size: 0.76rem;
    font-weight: 700;
    background: var(--surface-raised);
    color: var(--ink);
    box-shadow: var(--emboss-treatment);
}

.blog-card__category {
    width: fit-content;
    
    color: var(--accent-strong);
}

.car-card__image .car-badge {
    position: absolute;
    left: -42px;
    top: 18px;
    z-index: 2;
    width: 150px;
    height: 28px;
    padding: 0 12px;
    border-radius: 0;
    background: var(--accent);
    box-shadow: var(--emboss-treatment);
    transform: rotate(-45deg);
    transform-origin: center;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.detail-badges .car-badge {
    background: var(--accent);
}

.car-status {
    position: absolute;
    right: 12px;
    top: 12px;
}

.car-card__body,
.blog-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.car-card__body h3,
.blog-card__body h3 {
    font-size: 1.2rem;
    line-height: 1.22;
}

.car-card__meta,
.car-card__specs {
    color: var(--ink-muted);
    font-size: 0.88rem;
}

.car-card__meta {
    padding-bottom: 10px;
    border-bottom: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.car-card__specs {
    gap: 8px;
    align-items: center;
    padding-top: 2px;
}

.car-card__specs span {
    display: inline-flex;
    align-items: center;
    padding-right: 10px;
    margin-right: 2px;
    border-right: none;
}

.car-card__specs span:last-child {
    border-right: none;
    padding-right: 0;
}

.car-card__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.car-card__price strong,
.detail-price strong {
    font-size: 1.55rem;
}

.car-card__price small,
.detail-price small {
    text-decoration: line-through;
    color: var(--ink-muted);
}

.car-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    align-self: end;
    margin-top: auto;
    padding-top: 14px;
    border-top: none;
}

.car-card__actions > * {
    width: 100%;
}

.car-card__actions .primary-button {
    grid-column: 1 / -1;
}

.compare-toggle {
    width: 100%;
    white-space: nowrap;
}

.blog-card__body p {
    max-width: 46ch;
}

.blog-card__body .text-link {
    align-self: end;
    justify-self: start;
    margin-top: auto;
}

.feature-panel .actions-row,
.content-panel .actions-row,
.panel .actions-row,
.info-card .actions-row {
    align-self: end;
    margin-top: auto;
}

.services-grid,
.profile-grid,
.split-layout,
.detail-layout,
.admin-grid,
.detail-hero,
.article-layout {
    grid-template-columns: 1fr;
}

.feature-panel,
.metric-card,
.user-card,
.panel {
    padding: 24px;
}

.services-band {
    border-top: none;
    border-bottom: none;
    background: var(--surface-pressed);
    color: var(--ink);
    box-shadow: var(--emboss-treatment);
}

.services-band p {
    color: var(--ink-soft);
}

.feature-panel {
    display: grid;
    gap: 10px;
    align-content: start;
    background: var(--surface-raised);
    
    box-shadow: var(--emboss-treatment);
}

.feature-panel__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 28px;
    border: 0;
    background: var(--accent);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
}

.cta-band {
    padding-bottom: 40px;
}

.cta-band__inner {
    padding: 32px;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    color: var(--ink);
    box-shadow: var(--emboss-treatment);
}

.cta-band__inner p {
    color: var(--ink-soft);
}

.cta-band__copy {
    max-width: 560px;
}

.site-footer {
    padding: 24px 0 100px;
    border-top: none;
}

.footer-grid {
    padding: 24px 0;
}

.footer-contact {
    display: grid;
    gap: 10px;
}

.footer-meta {
    padding-top: 16px;
    border-top: none;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 8px;
    border: 0;
    background: var(--surface-raised);
    border-radius: var(--radius-xl);
    box-shadow: var(--emboss-treatment);
}

.mobile-nav a {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.mobile-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: none;
    border-radius: var(--radius-md);
    background: var(--surface-pressed);
    box-shadow: var(--emboss-treatment);
}

.page-hero {
    padding: 110px 0 16px;
}

.about-hero {
    padding: 132px 0 34px;
}

.about-hero__grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.about-hero__copy {
    display: grid;
    gap: 18px;
    max-width: 980px;
}

.about-hero__copy h1 {
    max-width: 900px;
    font-size: clamp(3rem, 8vw, 7.2rem);
    line-height: 0.84;
    letter-spacing: -0.04em;
}

.about-hero__copy p {
    max-width: 980px;
    font-size: 1.08rem;
}

.about-hero__actions,
.about-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-hero {
    padding: 132px 0 30px;
}

.contact-hero__grid,
.contact-main-grid {
    display: grid;
    gap: 24px;
}

.contact-hero__copy {
    display: grid;
    gap: 18px;
    align-content: center;
}

.contact-hero__copy h1 {
    max-width: 860px;
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: 0.84;
    letter-spacing: -0.04em;
}

.contact-hero__copy p {
    max-width: 720px;
    font-size: 1.08rem;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-hero-card,
.contact-channel-card,
.contact-locations-panel,
.contact-form-panel,
.contact-map-panel {
    background: var(--surface-raised);
    border-radius: var(--radius-xl);
    box-shadow: var(--emboss-treatment);
}

.contact-hero-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.contact-hero-card::before {
    content: "";
    position: absolute;
    right: 26px;
    top: 26px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: var(--accent);
    z-index: 1;
}

.contact-hero-card img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.contact-hero-card__note {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.contact-hero-card__note span,
.contact-channel-card p,
.contact-location-cards span {
    color: var(--ink-soft);
}

.contact-channel-section {
    padding: 12px 0 24px;
}

.contact-channel-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-channel-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 210px;
    padding: 22px;
}

.contact-channel-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 126px;
    height: 126px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.24;
}

.contact-channel-card > * {
    position: relative;
    z-index: 1;
}

.contact-channel-card > span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 34px;
    border-radius: var(--radius-md);
    background: var(--accent);
    font-weight: 800;
    box-shadow: var(--emboss-treatment);
}

.contact-channel-card a {
    font-weight: 800;
}

.contact-locations-panel,
.contact-form-panel {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.contact-locations-panel h2,
.contact-form-panel h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.9;
    margin-top: 16px;
}

.contact-locations-panel .about-kicker,
.contact-form-panel .about-kicker {
    margin-bottom: 2px;
}

.contact-location-cards {
    display: grid;
    gap: 14px;
}

.contact-location-cards article {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.contact-map-panel {
    overflow: hidden;
    padding: 12px;
}

.contact-map-panel .map-placeholder {
    min-height: 260px;
}

.contact-form-panel {
    align-content: start;
}

.contact-form-panel .primary-button {
    width: 100%;
}

.about-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-xl);
    background: var(--accent);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--emboss-treatment);
}

.about-collage,
.about-hero-image,
.about-scoreboard,
.about-story-card,
.about-image-stack img,
.about-timeline-card,
.about-value-card,
.about-location-panel {
    background: var(--surface-raised);
    border-radius: var(--radius-xl);
    box-shadow: var(--emboss-treatment);
}

.about-collage {
    position: relative;
    min-height: 520px;
    padding: 18px;
    overflow: hidden;
}

.about-collage::before {
    content: "";
    position: absolute;
    inset: 38px 28px auto auto;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.95;
}

.about-collage figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--emboss-treatment);
}

.about-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-collage__main {
    position: absolute;
    left: 18px;
    right: 88px;
    top: 54px;
    bottom: 58px;
}

.about-collage__small {
    position: absolute;
    right: 18px;
    width: 38%;
    min-width: 170px;
}

.about-collage__small--top {
    top: 18px;
    height: 34%;
}

.about-collage__small--bottom {
    bottom: 18px;
    height: 30%;
}

.about-collage__badge {
    position: absolute;
    left: 34px;
    bottom: 34px;
    display: grid;
    gap: 4px;
    width: min(220px, calc(100% - 68px));
    padding: 18px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.about-collage__badge strong {
    font-size: 3.2rem;
    line-height: 0.85;
}

.about-collage__badge span {
    color: var(--ink-soft);
    font-weight: 700;
}

.about-scoreboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.about-hero-image {
    grid-column: 1 / -1;
    min-height: 260px;
    margin: 0;
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.about-scoreboard article {
    display: grid;
    gap: 4px;
    min-height: 112px;
    align-content: center;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.about-scoreboard strong {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 0.9;
}

.about-scoreboard span,
.about-timeline-item p,
.about-value-card p,
.about-location-grid span {
    color: var(--ink-soft);
}

.about-journey-section {
    padding: 10px 0 34px;
}

.about-journey {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
}

.about-journey::before {
    content: "";
    position: absolute;
    left: 38px;
    right: 38px;
    top: 50%;
    height: 2px;
    background: var(--accent);
    opacity: 0.55;
}

.about-journey article {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.about-journey span {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 34px;
    border-radius: var(--radius-md);
    background: var(--accent);
    font-weight: 800;
    box-shadow: var(--emboss-treatment);
}

.about-journey p {
    font-size: 0.96rem;
}

.about-story-grid {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

.about-story-side {
    display: grid;
    gap: 18px;
}

.about-image-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-image-stack img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.about-story-card {
    display: grid;
    gap: 16px;
    padding: 28px;
}

.about-story-card h2,
.about-location-panel h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.9;
}

.about-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.about-pill-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    font-weight: 700;
    box-shadow: var(--emboss-treatment);
}

.about-timeline-card {
    display: grid;
    gap: 10px;
    align-content: end;
    min-height: 180px;
    padding: 24px;
}

.about-timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.about-timeline-item > span,
.about-value-card > span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 34px;
    border-radius: var(--radius-md);
    background: var(--accent);
    font-weight: 800;
    box-shadow: var(--emboss-treatment);
}

.about-values-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-value-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 24px;
    min-height: 230px;
}

.about-value-card::after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.28;
}

.about-value-card > * {
    position: relative;
    z-index: 1;
}

.about-value-card h3 {
    font-size: 1.45rem;
}

.about-location-panel {
    display: grid;
    gap: 22px;
    padding: 28px;
}

.about-location-grid {
    display: grid;
    gap: 14px;
}

.about-location-grid article {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}


.search-hero {
    padding: 78px 0 34px;
}

.search-hero-shell {
    display: grid;
    gap: 28px;
    align-items: stretch;
}

.search-hero-copy,
.search-hero-visual,
.filters-panel,
.results-panel {
    background: var(--surface-raised);
    border-radius: var(--radius-xl);
    box-shadow: var(--emboss-treatment);
}

.search-hero-copy {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: clamp(28px, 5vw, 54px);
}

.search-chip {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    align-items: center;
    padding: 0 14px;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--emboss-treatment);
}

.search-hero-copy h1 {
    max-width: 720px;
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.9;
}

.search-hero-copy p {
    max-width: 58ch;
    color: var(--ink-soft);
    font-size: 1.1rem;
}

.search-hero-stats {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.search-hero-stats article,
.filter-type-strip a {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--emboss-treatment);
}

.search-hero-stats article {
    display: grid;
    gap: 4px;
    padding: 16px;
}

.search-hero-stats strong {
    font-size: 1.05rem;
}

.search-hero-stats span,
.filter-section p {
    color: var(--ink-soft);
}

.search-hero-visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    padding: 18px;
}

.search-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: saturate(1.04) contrast(1.04);
}

.search-hero-cardlet {
    position: absolute;
    right: 34px;
    bottom: 34px;
    display: grid;
    gap: 4px;
    width: min(280px, calc(100% - 68px));
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
}

.search-page {
    display: grid;
    gap: 22px;
    align-items: start;
    padding-bottom: 72px;
}

.filters-sticky {
    display: grid;
    gap: 14px;
}

.filters-panel {
    padding: 18px;
}

.results-panel {
    padding: 18px;
}

.filters-panel input,
.filters-panel select,
.results-toolbar select {
    min-height: 46px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.filters-panel label,
.filters-panel .field-block {
    gap: 6px;
}

.filter-section {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 4px;
}

.filter-section h2,
.results-toolbar h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.filter-type-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.filter-type-strip a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-weight: 800;
}

.filter-type-strip a:hover {
    background: var(--accent);
    color: var(--ink);
}

.panel-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.panel-section-head > div:first-child {
    display: grid;
    gap: 8px;
}

.panel-section-head p {
    max-width: 38ch;
}

.results-toolbar {
    padding: 6px 4px 18px;
    margin-bottom: 16px;
    border-bottom: none;
}

.results-surface {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.results-surface .cards-grid {
    gap: 18px;
}

.view-toggle {
    gap: 6px;
}

.view-toggle button,
.tab-row a,
.blog-toolbar a {
    border: 0;
    background: var(--surface-raised);
    color: var(--ink-soft);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: var(--emboss-treatment);
}

.view-toggle button.active,
.tab-row a.active,
.blog-toolbar a.active {
    background: var(--accent);
    color: var(--ink);
    box-shadow: var(--emboss-treatment);
}

.search-results.is-list {
    grid-template-columns: 1fr;
}

.search-results.is-list .car-card {
    display: grid;
    grid-template-columns: minmax(190px, 240px) 1fr;
}

.search-results.is-list .car-card__image {
    min-height: 0;
    aspect-ratio: var(--car-image-ratio);
    border-bottom: none;
    border-right: none;
}

.search-empty {
    padding: 24px;
    text-align: center;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--surface-pressed);
    box-shadow: var(--emboss-treatment);
}

.hidden {
    display: none !important;
}

.skeleton-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.skeleton-card {
    min-height: 300px;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--surface-pressed);
    box-shadow: var(--emboss-treatment);
}

.detail-hero,
.article-layout {
    display: grid;
    gap: 28px;
    align-items: start;
}

.detail-gallery,
.detail-main-media,
.detail-main-media img,
.detail-video-card video,
.article-featured {
    border-radius: var(--radius-xl);
}

.detail-main-media {
    position: relative;
    overflow: hidden;
    border: none;
    background: var(--bg-muted);
    box-shadow: var(--emboss-treatment);
}

.detail-main-media img {
    width: 100%;
    aspect-ratio: var(--car-image-ratio);
    object-fit: cover;
}

.detail-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    min-width: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.detail-thumbs::-webkit-scrollbar {
    display: none;
}

.thumb-button {
    flex: 0 0 auto;
    border: 0;
    background: var(--surface-raised);
    padding: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0.7;
    box-shadow: var(--emboss-treatment);
}

.thumb-button.active {
    opacity: 1;
    
    box-shadow: var(--emboss-treatment);
}

.thumb-button img {
    width: 80px;
    height: 100px;
    object-fit: cover;
}

.detail-thumbs-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.detail-thumbs-shell--solo {
    grid-template-columns: minmax(0, 1fr);
}

.gallery-arrow {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-raised);
    color: var(--ink);
    box-shadow: var(--emboss-treatment);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.gallery-arrow::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(-45deg);
}

.gallery-arrow--next::before {
    transform: rotate(135deg);
}

.detail-main-media > .gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

.detail-main-media > .gallery-arrow:hover,
.detail-main-media > .gallery-arrow:focus-visible {
    background: var(--accent);
    transform: translateY(calc(-50% - 1px));
}

.gallery-arrow--prev {
    left: 24px;
}

.gallery-arrow--next {
    right: 24px;
}

.gallery-arrow--thumb {
    position: static;
    width: 40px;
    height: 70px;
    border-radius: var(--radius-lg);
}

.gallery-arrow--thumb:hover,
.gallery-arrow--thumb:focus-visible {
    background: var(--accent);
    transform: translateY(-1px);
}

.gallery-arrow:focus-visible,
.thumb-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.spec-grid,
.detail-spec-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-grid div,
.detail-spec-table div {
    padding: 16px;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
}

.spec-grid dt,
.detail-spec-table span {
    color: var(--ink-muted);
    font-size: 0.84rem;
}

.spec-grid dd,
.detail-spec-table strong {
    margin: 6px 0 0;
}

.feature-group {
    margin-top: 24px;
}

.feature-tags span,
.attachment-card {
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
}

.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 14px;
    border-bottom: none;
    text-align: left;
    vertical-align: top;
}

.compare-card-head {
    display: grid;
    gap: 10px;
    min-width: 180px;
}

.compare-card-head img {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: var(--car-image-ratio);
    border: 0;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--emboss-treatment);
}

.compare-card-head .ghost-button {
    width: fit-content;
    min-width: 110px;
}

.article-featured {
    max-height: 420px;
    border: 0;
}

.prose p {
    margin: 0 0 1rem;
}

.article-gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 20px;
}

.article-gallery img {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--emboss-treatment);
}

.map-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--bg-muted);
    color: var(--ink-soft);
    text-align: center;
    padding: 20px;
}

.auth-section,
.admin-auth {
    min-height: calc(100vh - 140px);
    display: grid;
    place-items: center;
    padding: 24px 0 90px;
}

.auth-card,
.admin-auth-card {
    width: min(520px, calc(100vw - 28px));
    padding: 24px;
    display: grid;
    gap: 14px;
}

.stacked-form {
    display: grid;
    gap: 16px;
}

.auth-switch,
.error-text {
    color: var(--ink-soft);
}

.profile-logout {
    margin-top: 18px;
}

.toast-stack {
    position: fixed;
    right: 16px;
    bottom: 96px;
    z-index: 80;
    display: grid;
    gap: 10px;
}

.toast {
    min-width: 240px;
    max-width: 340px;
    padding: 12px 14px;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    color: var(--ink);
    box-shadow: var(--emboss-treatment);
}

.toast.success,
.toast.error,
.toast.info {
    background: var(--surface-raised);
    color: var(--ink);
}

@media (min-width: 720px) {
    .hero-title-column h1 {
        font-size: 4rem;
    }

    .section-heading__copy h2 {
        font-size: 2.55rem;
    }

    .search-grid.compact,
    .field-grid,
    .grid-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid,
    .profile-grid,
    .split-layout,
    .detail-layout,
    .admin-grid,
    .detail-hero,
    .article-layout {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-journey {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-hero-bar {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .search-hero-bar__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metrics-grid,
    .action-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }

    .desktop-nav,
    .header-actions {
        display: flex;
    }

    .mobile-nav {
        display: none;
    }

    .hero-content {
        padding: 110px 0 78px;
    }

    .hero-dashboard {
        grid-template-columns: minmax(380px, 0.95fr) minmax(500px, 1.05fr);
        gap: 36px 44px;
        align-items: center;
        padding: 0;
    }

    .hero-title-column {
        align-self: center;
        justify-self: start;
        padding-top: 0;
        max-width: 540px;
        order: 1;
    }

    .hero-title-column h1 {
        font-size: 4rem;
        max-width: 520px;
    }

    .hero-title-column .hero-facts,
    .hero-title-column .hero-actions {
        max-width: 520px;
    }

    .hero-title-column .hero-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-title-column .hero-fact {
        padding: 14px 16px;
    }

    .hero-workspace {
        justify-self: stretch;
        width: 100%;
        max-width: none;
        order: 2;
    }

    .section-heading__copy h2 {
        font-size: 2.85rem;
    }

    .hero-search-card {
        align-content: start;
        width: 100%;
    }

    .about-hero__grid {
        grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
        align-items: center;
    }

    .about-story-grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
    }

    .about-image-stack img {
        height: 210px;
    }

    .about-location-panel {
        grid-template-columns: minmax(0, 0.7fr) minmax(380px, 1fr);
        align-items: end;
    }

    .about-location-actions {
        grid-column: 1 / -1;
    }

    .contact-hero__grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1fr);
        align-items: center;
    }

    .contact-main-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.72fr);
        align-items: start;
    }

    .contact-channel-card:nth-child(2) {
        transform: translateY(24px);
    }

    .contact-channel-card:nth-child(3) {
        transform: translateY(-10px);
    }

    .about-value-card:nth-child(2) {
        transform: translateY(28px);
    }

    .about-value-card:nth-child(3) {
        transform: translateY(-14px);
    }

    .search-page {
        grid-template-columns: 320px 1fr;
    }

    .search-hero-shell {
        grid-template-columns: minmax(0, 0.88fr) minmax(460px, 0.62fr);
    }

    .search-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filters-sticky {
        position: sticky;
        top: 96px;
    }

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

    .narrow {
        max-width: none;
    }
}

@media (max-width: 719px) {
    :root {
        --container: min(100vw - 24px, 1360px);
    }

    .hero-content {
        padding: 108px 0 34px;
    }

    .hero-dashboard {
        padding: 0;
        gap: 18px;
    }

    .hero-title-column,
    .hero-workspace {
        gap: 16px;
        max-width: none;
    }

    .hero-title-column h1 {
        font-size: 2.4rem;
        line-height: 0.95;
    }

    .hero-search-card {
        padding: 14px;
    }

    .car-type-shortcuts {
        gap: 22px 18px;
    }

    .car-type-shortcut {
        width: 88px;
    }

    .car-type-icon {
        width: 68px;
        height: 68px;
    }

    .hero-actions .primary-button,
    .hero-actions .ghost-button {
        min-width: 0;
        width: 100%;
    }

    .section-block {
        padding: 34px 0;
    }

    .section-heading__copy h2 {
        font-size: 1.9rem;
    }

    .brand small,
    .contact-chip {
        display: none;
    }

    .car-card__actions {
        grid-template-columns: 1fr 1fr;
    }

    .car-card__actions .primary-button {
        grid-column: 1 / -1;
    }

    .search-results.is-list .car-card {
        grid-template-columns: 1fr;
    }

    .search-results.is-list .car-card__image {
        border-right: none;
        border-bottom: none;
    }

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

    .panel-section-head,
    .filter-section {
        align-items: start;
        flex-direction: column;
    }

    .search-hero {
        padding: 38px 0 24px;
    }

    .search-hero-copy {
        padding: 24px;
    }

    .search-hero-copy h1 {
        font-size: 2.65rem;
    }

    .search-hero-visual {
        min-height: 260px;
    }

    .search-hero-visual img {
        min-height: 240px;
    }

    .search-hero-cardlet {
        left: 28px;
        right: 28px;
        bottom: 28px;
        width: auto;
    }

    .toolbar-actions {
        width: 100%;
    }

    .toolbar-actions select,
    .toolbar-actions .ghost-button,
    .view-toggle {
        width: 100%;
    }

    .view-toggle button {
        flex: 1;
    }

    .spec-grid,
    .detail-spec-table {
        grid-template-columns: 1fr;
    }
}

/* Home flagship redesign */
body[data-page="home"] {
    background: var(--bg);
}

.home-hero {
    min-height: 100vh;
    background: var(--bg);
}

.home-hero .hero-media img,
.home-hero .hero-media video,
.home-hero .hero-media iframe {
    opacity: 0.22;
}

.home-hero .hero-overlay {
    background: rgba(231, 239, 245, 0.58);
}

.home-hero .hero-content {
    justify-items: stretch;
    gap: 34px;
    padding-top: 132px;
}

.home-hero .hero-dashboard {
    position: relative;
    width: 100%;
    gap: 28px;
}

.home-hero .hero-title-column {
    position: relative;
    max-width: none;
    padding: clamp(24px, 4vw, 42px);
    background: transparent;
}

.home-hero .hero-title-column::before {
    content: "";
    position: absolute;
    left: 0;
    top: clamp(28px, 4vw, 46px);
    width: 8px;
    height: min(210px, 42%);
    border-radius: 999px;
    background: var(--accent);
    box-shadow: var(--emboss-treatment);
}

.home-hero .hero-title-column h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 7vw, 7rem);
    line-height: 0.84;
    letter-spacing: -0.045em;
}

.home-hero .hero-title-column h1::after {
    width: min(100%, 640px);
    margin-top: 26px;
    background: rgba(70, 86, 98, 0.22);
}

.hero-lede {
    max-width: 620px;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.55;
}

.home-hero .hero-facts {
    max-width: 680px;
    background: var(--surface-raised);
}

.home-hero .hero-fact {
    padding: 18px 20px;
}

.home-hero .hero-actions {
    max-width: 520px;
}

.home-hero .hero-workspace {
    max-width: none;
    align-content: center;
}

.home-hero .hero-search-card {
    position: relative;
    width: 100%;
    padding: clamp(18px, 2.5vw, 28px);
}

.hero-search-topline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
}

.hero-search-topline strong {
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 0.95;
}

.hero-search-topline span,
.hero-inventory-note span {
    color: var(--ink-soft);
}

.home-hero .hero-search-card input {
    min-height: 50px;
    border-radius: var(--radius-lg);
}

.home-hero .hero-search-card .primary-button {
    margin-top: 4px;
}

.hero-inventory-note {
    display: grid;
    gap: 4px;
    max-width: 520px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
}

.home-hero .car-type-shortcuts {
    align-self: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 58px);
    padding: 8px 0 0;
}

.home-hero .car-type-shortcut {
    width: 120px;
}

.home-hero .car-type-icon {
    width: 92px;
    height: 92px;
}

.home-section-heading {
    position: relative;
    align-items: end;
    gap: 22px;
    margin-bottom: 24px;
}

.home-section-heading::before {
    content: "";
    width: 8px;
    min-height: 72px;
    align-self: stretch;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: var(--emboss-treatment);
}

.home-section-heading .section-heading__copy {
    flex: 1;
}

.home-section-heading .section-heading__copy p {
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.04rem;
}

.home-spotlight {
    padding-top: 58px;
}

.home-ad-runway {
    display: grid;
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
    padding: 0;
}

.home-ad-runway .ad-card {
    min-height: 340px;
}

.home-ad-runway .ad-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 1;
    border-radius: var(--radius-lg);
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(231, 239, 245, 0.4);
}

.home-ad-runway .ad-card img {
    filter: saturate(1.04) contrast(1.02);
}

.home-ad-runway .ad-card__content {
    z-index: 2;
}

.home-featured .cards-grid,
.home-discounted .cards-grid {
    align-items: stretch;
}

.home-discounted {
    position: relative;
}

.home-service-shell {
    display: grid;
    gap: 24px;
}

.home-service-copy {
    display: grid;
    gap: 14px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
}

.home-service-copy h2 {
    max-width: 760px;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 0.9;
}

.home-service-copy p {
    max-width: 760px;
}

.services-band .services-grid {
    align-items: stretch;
}

.services-band .feature-panel {
    min-height: 210px;
}

.cta-band__inner {
    position: relative;
    overflow: hidden;
}

.cta-band__inner::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 180px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.9;
}

@media (min-width: 720px) {
    .home-ad-runway {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .home-ad-runway .ad-card:first-child {
        grid-row: span 2;
        min-height: 520px;
    }

    .home-ad-runway .ad-card:not(:first-child) {
        min-height: 250px;
    }
}

/* Vehicle detail showroom */
.car-showroom-hero {
    padding-top: 42px;
    padding-bottom: 30px;
    gap: 30px;
}

.car-showroom-hero .detail-gallery {
    display: grid;
    gap: 16px;
}

.car-showroom-hero .detail-main-media {
    position: relative;
    justify-self: center;
    width: min(100%, 640px);
    background: var(--surface-raised);
    padding: 12px;
}

.car-showroom-hero .detail-main-media img {
    width: 100%;
    aspect-ratio: var(--car-image-ratio);
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.car-showroom-hero .detail-thumbs-shell {
    justify-self: center;
    width: min(100%, 640px);
}

.car-showroom-hero .detail-thumbs {
    gap: 14px;
    margin-top: 0;
    padding: 4px;
}

.car-showroom-hero .thumb-button {
    padding: 6px;
    opacity: 1;
    background: var(--surface-raised);
}

.car-showroom-hero .thumb-button.active {
    background: var(--accent);
}

.car-showroom-hero .thumb-button img {
    width: 84px;
    height: 105px;
    border-radius: var(--radius-md);
}

.vehicle-command-panel {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: clamp(20px, 3vw, 30px);
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    box-shadow: var(--emboss-treatment);
}

.detail-title-block {
    display: grid;
    gap: 12px;
}

.detail-title-block h1 {
    max-width: 560px;
    font-size: clamp(2.2rem, 4vw, 4.6rem);
    line-height: 0.9;
    letter-spacing: -0.035em;
}

.detail-title-block p {
    max-width: 48ch;
    color: var(--ink-soft);
    font-size: 1.04rem;
}

.vehicle-command-panel .detail-badges {
    order: -1;
}

.vehicle-command-panel .car-status {
    position: static;
}

.detail-price {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.detail-price > span {
    color: var(--ink-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-price strong {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.9;
}

.detail-actions,
.detail-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.detail-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-actions > *,
.detail-quick-actions > * {
    width: 100%;
}

.detail-command-note {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--emboss-treatment);
}

.detail-command-note span {
    color: var(--ink-soft);
}

.vehicle-command-panel .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vehicle-command-panel .spec-grid div {
    padding: 16px;
    background: var(--surface);
}

.car-detail-body {
    padding-top: 22px;
}

.vehicle-spec-panel,
.vehicle-order-panel {
    padding: clamp(20px, 3vw, 30px);
}

.detail-section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.detail-section-head h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 0.95;
}

.detail-section-head p {
    max-width: 58ch;
    color: var(--ink-soft);
}

.vehicle-spec-panel .detail-spec-table {
    gap: 14px;
}

.vehicle-spec-panel .detail-spec-table div {
    display: grid;
    gap: 6px;
    min-height: 82px;
    padding: 18px;
    background: var(--surface);
}

.feature-group {
    display: grid;
    gap: 12px;
}

.feature-group h3 {
    font-size: 1.35rem;
    line-height: 1;
}

.feature-tags {
    gap: 10px;
}

.feature-tags span,
.attachment-card {
    background: var(--surface);
}

.vehicle-order-panel {
    position: sticky;
    top: 98px;
    align-self: start;
}

.vehicle-order-panel .stacked-form {
    margin-bottom: 12px;
}

.vehicle-order-panel input {
    min-height: 52px;
}

.vehicle-order-panel .primary-button,
.vehicle-order-panel .ghost-button {
    height: 44px;
}

.similar-cars-section {
    padding-top: 48px;
}

@media (min-width: 1024px) {
    .car-showroom-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.72fr);
        align-items: start;
    }

    .car-showroom-hero .detail-gallery {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 719px) {
    .car-showroom-hero {
        padding-top: 24px;
    }

    .detail-actions,
    .detail-quick-actions,
    .vehicle-command-panel .spec-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-order-panel {
        position: static;
    }
}

@media (min-width: 1024px) {
    .home-hero .hero-dashboard {
        grid-template-columns: minmax(0, 0.94fr) minmax(520px, 0.74fr);
        align-items: center;
    }

    .home-hero .hero-title-column {
        order: 1;
    }

    .home-hero .hero-workspace {
        order: 2;
    }

    .home-service-shell {
        grid-template-columns: minmax(0, 0.7fr) minmax(560px, 1fr);
        align-items: stretch;
    }

    .home-service-shell .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 719px) {
    .home-hero .hero-content {
        padding-top: 108px;
        gap: 24px;
    }

    .home-hero .hero-title-column {
        padding: 18px 0 0 14px;
    }

    .home-hero .hero-title-column::before {
        width: 6px;
        top: 24px;
        height: 140px;
    }

    .home-hero .hero-title-column h1 {
        font-size: 3rem;
    }

    .hero-search-topline {
        align-items: start;
        flex-direction: column;
    }

    .hero-inventory-note {
        max-width: none;
    }

    .home-section-heading {
        align-items: start;
    }

    .home-section-heading::before {
        width: 100%;
        min-height: 6px;
    }

    .home-hero .car-type-shortcuts {
        gap: 18px;
    }

    .home-hero .car-type-shortcut {
        width: 88px;
    }

    .home-hero .car-type-icon {
        width: 68px;
        height: 68px;
    }
}

