:root {
    --color-ink: #171717;
    --color-muted: #6f6a61;
    --color-surface: #f7f5f0;
    --color-paper: #ffffff;
    --color-accent: #9f6b35;
    --color-border: #ded8ce;
    --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-surface);
    font-family: var(--font-base);
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--color-ink);
    color: var(--color-paper);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
.site-footer {
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-border);
}

.site-footer {
    border-top: 1px solid var(--color-border);
    border-bottom: 0;
}

.site-header__inner,
.site-footer__inner,
.section {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1.5rem;
}

.site-logo {
    font-weight: 700;
    text-decoration: none;
}

.site-navigation__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation__menu a {
    text-decoration: none;
}

.site-navigation__menu a:focus,
.site-navigation__menu a:hover {
    color: var(--color-accent);
}

.section {
    padding-block: clamp(3rem, 8vw, 6rem);
}

.section--narrow {
    max-width: 760px;
}

.site-footer__inner {
    padding-block: 1.5rem;
    color: var(--color-muted);
}
.archive-hero {
    background: var(--color-ink);
    color: var(--color-paper);
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.archive-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1;
}

.archive-hero__lead {
    max-width: 640px;
    margin: 1rem 0 0;
    color: #ded8ce;
    font-size: 1.125rem;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.offer-card {
    overflow: hidden;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.offer-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e2d8;
    text-decoration: none;
}

.offer-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.offer-card:hover .offer-card__image {
    transform: scale(1.03);
}

.offer-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--color-muted);
}

.offer-card__status {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    padding: 0.35rem 0.6rem;
    background: var(--color-paper);
    color: var(--color-ink);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.offer-card__body {
    padding: 1.1rem;
}

.offer-card__meta {
    display: flex;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.offer-card__title {
    margin: 0.35rem 0 1rem;
    font-size: 1.25rem;
    line-height: 1.25;
}

.offer-card__title a {
    text-decoration: none;
}

.offer-card__specs {
    display: grid;
    gap: 0.5rem;
    margin: 0;
}

.offer-card__specs div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.45rem;
}

.offer-card__specs dt {
    color: var(--color-muted);
}

.offer-card__specs dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.offer-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.offer-card__price {
    font-size: 1.05rem;
}

.text-link {
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
}

.text-link:focus,
.text-link:hover {
    text-decoration: underline;
}

.pagination {
    margin-top: 2rem;
}

@media (max-width: 980px) {
    .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .listing-grid {
        grid-template-columns: 1fr;
    }

    .offer-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
.single-offer__hero {
    background: var(--color-ink);
    color: var(--color-paper);
}

.single-offer__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.single-offer__media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #2a2926;
    border-radius: 8px;
}

.single-offer__image,
.single-offer__placeholder {
    width: 100%;
    height: 100%;
}

.single-offer__image {
    object-fit: cover;
}

.single-offer__placeholder {
    display: grid;
    place-items: center;
    color: #ded8ce;
}

.single-offer__summary {
    position: relative;
}

.single-offer__summary h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.25rem);
    line-height: 1;
}

.single-offer__status {
    position: static;
    display: inline-flex;
    margin-bottom: 1rem;
}

.single-offer__price {
    margin: 1.25rem 0 0;
    color: var(--color-accent);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
}

.single-offer__reference {
    margin: 0.5rem 0 0;
    color: #ded8ce;
}


.single-offer__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.single-offer__main h2,
.spec-panel h2,
.contact-panel h2 {
    margin-top: 0;
    font-size: 1.35rem;
}

.content {
    color: var(--color-ink);
}

.content > *:first-child {
    margin-top: 0;
}

.content > *:last-child {
    margin-bottom: 0;
}

.spec-panel,
.contact-panel {
    padding: 1.25rem;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.contact-panel {
    margin-top: 1rem;
}

.spec-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.spec-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--color-border);
}

.spec-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.spec-list dt {
    color: var(--color-muted);
}

.spec-list dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    background: var(--color-ink);
    color: var(--color-paper);
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.button:focus,
.button:hover {
    background: var(--color-accent);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.86);
}

.lightbox[hidden] {
    display: none;
}

.lightbox__image {
    max-width: min(1100px, 96vw);
    max-height: 90vh;
    object-fit: contain;
    background: #111;
}

.lightbox__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 4px;
    background: var(--color-paper);
    color: var(--color-ink);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox__close:focus,
.lightbox__close:hover {
    background: var(--color-accent);
    color: var(--color-paper);
}

.lightbox__close:focus-visible {
    outline: 2px solid var(--color-paper);
    outline-offset: 3px;
}

.lightbox__nav {
    position: fixed;
    top: 50%;
    z-index: 1001;
    display: grid;
    width: 48px;
    height: 64px;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-ink);
    cursor: pointer;
    font-size: 3rem;
    line-height: 1;
    user-select: none;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 1rem;
}

.lightbox__nav--next {
    right: 1rem;
}

.lightbox__nav:focus,
.lightbox__nav:hover {
    background: var(--color-accent);
    color: var(--color-paper);
}

.lightbox__nav:focus-visible {
    outline: 2px solid var(--color-paper);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .lightbox__nav {
        width: 42px;
        height: 56px;
        font-size: 2.5rem;
    }
}
.section-heading {
    margin-top: 2rem;
}

.google-reviews {
    background: var(--color-paper);
    border-block: 1px solid var(--color-border);
}

.google-reviews__inner {
    display: grid;
    gap: 1.5rem;
}

.google-reviews__heading {
    display: grid;
    gap: 0.75rem;
}

.google-reviews__heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.google-reviews__score {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
    margin: 0;
    color: var(--color-muted);
}

.google-reviews__score strong {
    color: var(--color-accent);
    font-size: 1.35rem;
}

.google-reviews__lead {
    max-width: 640px;
    margin: 0;
    color: var(--color-muted);
}

.google-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.google-review-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface);
}

.google-review-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.google-review-card__meta span {
    color: var(--color-accent);
    white-space: nowrap;
}

.google-review-card p {
    margin: 0;
}

.google-review-card small {
    color: var(--color-muted);
}

@media (max-width: 860px) {
    .google-reviews__grid {
        grid-template-columns: 1fr;
    }
}

.offer-card__specs dd {
    overflow-wrap: anywhere;
}

.compatibility-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.compatibility-box h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.compatibility-box p {
    margin: 0;
    color: var(--color-muted);
}
.offer-card__excerpt {
    margin: 0 0 1rem;
    color: var(--color-muted);
}

.restoration-card .offer-card__price {
    color: var(--color-muted);
    font-weight: 700;
}
.single-offer__reference {
    white-space: pre-line;
	
	
}

.home-hero {
    position: relative;
    display: grid;
    min-height: min(760px, 86vh);
    align-items: end;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(23, 23, 23, 0.9), rgba(23, 23, 23, 0.35)),
        url("../images/hero-classic-car.jpg") center / cover;
    color: var(--color-paper);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(4rem, 10vw, 7rem);
}

.home-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.95;
}

.home-hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 1.25rem 0 0;
    color: #ece6dc;
    font-size: 1.15rem;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.button--light {
    background: var(--color-paper);
    color: var(--color-ink);
}

.button--ghost {
    background: transparent;
    color: var(--color-paper);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.button--ghost:focus,
.button--ghost:hover {
    background: var(--color-paper);
    color: var(--color-ink);
}

.home-section {
    padding-block: clamp(3rem, 7vw, 5rem);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-heading-row h2,
.about-band h2,
.cta-band h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
}

.about-band {
    background: var(--color-ink);
    color: var(--color-paper);
}

.about-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.about-band p:not(.eyebrow) {
    margin-top: 0;
    color: #ded8ce;
    font-size: 1.05rem;
}

.cta-band {
    background: var(--color-accent);
    color: var(--color-paper);
    text-align: center;
}

.cta-band__inner {
    max-width: 820px;
}

.cta-band h2 {
    margin-bottom: 1.5rem;
}

@media (max-width: 760px) {
    .section-heading-row,
    .about-band__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero {
        min-height: 680px;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.contact-card {
    padding: 1.25rem;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-paper);
    color: var(--color-ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.form-message {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 4px;
    font-weight: 700;
}

.form-message--success {
    background: #e4f6e8;
    color: #145522;
}

.form-message--error {
    background: #fae4e4;
    color: #751b1b;
}

@media (max-width: 760px) {
    .contact-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-context {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.form-context span {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.form-context strong {
    color: var(--color-ink);
}
.archive-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.archive-filters label {
    display: grid;
    gap: 0.35rem;
    color: var(--color-muted);
    font-weight: 700;
}

.archive-filters__control {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-paper);
    color: var(--color-ink);
    font: inherit;
}

.archive-filters__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 900px) {
    .archive-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .archive-filters {
        grid-template-columns: 1fr;
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
}

.admin-bar .site-header {
    top: 32px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.site-logo__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    background: var(--color-ink);
    color: var(--color-paper);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.site-logo__text {
    font-weight: 800;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-navigation__menu .current-menu-item > a,
.site-navigation__menu .current_page_item > a,
.site-navigation__menu .current-menu-ancestor > a {
    color: var(--color-accent);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.6rem 0.9rem;
    background: var(--color-ink);
    color: var(--color-paper);
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.header-cta:focus,
.header-cta:hover {
    background: var(--color-accent);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-paper);
    cursor: pointer;
}

.menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--color-ink);
}

@media (max-width: 820px) {
    .site-header__inner {
        position: relative;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-navigation {
        position: absolute;
       top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 1rem;
        background: var(--color-paper);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

    .site-navigation.is-open {
        display: grid;
        gap: 1rem;
    }

    .site-navigation__menu {
        display: grid;
        gap: 0.75rem;
    }

    .header-cta {
        width: 100%;
    }

    .admin-bar .site-header {
        top: 46px;
    }
}
.site-footer {
    background: var(--color-ink);
    color: var(--color-paper);
    border-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.6fr) minmax(220px, 0.7fr);
    gap: clamp(2rem, 6vw, 5rem);
    padding-block: clamp(3rem, 7vw, 5rem);
}

.site-logo--footer {
    color: var(--color-paper);
}

.site-logo--footer .site-logo__mark {
    background: var(--color-paper);
    color: var(--color-ink);
}

.footer-brand p {
    max-width: 460px;
    margin: 1rem 0 0;
    color: #ded8ce;
}

.footer-nav h2,
.footer-contact h2 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--color-paper);
}

.footer-nav ul,
.footer-contact ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav a,
.footer-contact a {
    color: #ded8ce;
    text-decoration: none;
}

.footer-nav a:focus,
.footer-nav a:hover,
.footer-contact a:focus,
.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-contact li {
    color: #ded8ce;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1rem;
    color: #bdb6aa;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.footer-legal a {
    color: inherit;
    font-size: 0.92rem;
    text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus {
    text-decoration: underline;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 80;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-banner__content {
    width: min(100%, 880px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    color: var(--color-ink);
    pointer-events: auto;
}

.cookie-banner__content p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
}

.cookie-banner__content strong {
    margin-right: 0.25rem;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: flex-end;
}

.cookie-banner__actions .button {
    min-height: 40px;
}

@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-banner__content {
        grid-template-columns: 1fr;
    }

    .cookie-banner__actions {
        justify-content: flex-start;
    }
}


.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.site-main {
    min-height: 60vh;
}

.section {
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.archive-hero {
    position: relative;
    overflow: hidden;
}

.archive-hero::after {
    position: absolute;
    right: clamp(1rem, 8vw, 8rem);
    bottom: -4rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(159, 107, 53, 0.28);
    border-radius: 50%;
    content: "";
}

.archive-hero .section {
    position: relative;
    z-index: 1;
}

.home-hero::after {
    position: absolute;
    inset: auto clamp(1rem, 7vw, 7rem) -8rem auto;
    width: 26rem;
    height: 26rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    content: "";
}

.button,
.header-cta {
    transition:
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.button:hover,
.header-cta:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.header-cta:focus-visible,
.text-link:focus-visible,
.site-navigation__menu a:focus-visible,
.offer-card__title a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.listing-grid {
    gap: clamp(1rem, 2vw, 1.75rem);
}

.offer-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 20px 50px rgba(23, 23, 23, 0.06);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.offer-card:hover {
    border-color: rgba(159, 107, 53, 0.45);
    box-shadow: 0 24px 70px rgba(23, 23, 23, 0.11);
    transform: translateY(-2px);
}

.offer-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.offer-card__meta {
    min-height: 1.4rem;
}

.offer-card__status {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.offer-card__title {
    min-height: 3.1rem;
}

.offer-card__specs {
    margin-top: auto;
}

.offer-card__footer {
    padding-top: 0.25rem;
}

.offer-card__price {
    color: var(--color-ink);
}

.text-link {
    position: relative;
}

.text-link::after {
    position: absolute;
    right: 0;
    bottom: -0.15rem;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scaleX(0.65);
    transform-origin: left;
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.text-link:hover {
    text-decoration: none;
}

.text-link:hover::after,
.text-link:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.section-heading-row {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.about-band,
.cta-band {
    position: relative;
    overflow: hidden;
}

.about-band::before {
    position: absolute;
    top: -8rem;
    left: -8rem;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.cta-band .button {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.archive-filters {
    box-shadow: 0 18px 50px rgba(23, 23, 23, 0.06);
}

.archive-filters__control {
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.archive-filters__control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(159, 107, 53, 0.16);
    outline: 0;
}

.single-offer__media,
.media-gallery__item {
    box-shadow: 0 20px 50px rgba(23, 23, 23, 0.12);
}

.spec-panel,
.contact-panel,
.contact-card {
    box-shadow: 0 18px 50px rgba(23, 23, 23, 0.06);
}

@media (max-width: 760px) {
    .archive-hero::after,
    .home-hero::after,
    .about-band::before {
        display: none;
    }

    .offer-card__title {
        min-height: auto;
    }

    .section {
        padding-block: 3rem;
    }
}
@media (max-width: 820px) {
    .site-navigation {
        top: 100%;
        display: grid;
        gap: 1rem;
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.75rem);
        transform-origin: top;
        transition:
            opacity 180ms ease,
            transform 180ms ease,
            visibility 180ms ease;
    }

    .site-navigation.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
	.site-logo__image,
.site-logo__image .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo__image img,
.custom-logo {
    width: auto;
    max-width: 180px;
    max-height: 48px;
}

.language-switcher ul {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.35rem 0.55rem;
    color: var(--color-muted);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.language-switcher .current-lang a,
.language-switcher a:focus,
.language-switcher a:hover {
    color: var(--color-paper);
    background: var(--color-ink);
    border-color: var(--color-ink);
}

@media (max-width: 820px) {
    .language-switcher ul {
        justify-content: center;
    }

    .language-switcher a {
        width: 100%;
        justify-content: center;
    }
}
}
.language-switcher {
    margin: 0;
}

.language-switcher__select {
    min-height: 40px;
    padding: 0.45rem 2rem 0.45rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-paper);
    color: var(--color-ink);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.language-switcher__select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

@media (max-width: 820px) {
    .language-switcher__select {
        width: 100%;
    }
}

/* =========================================================
   Offer details: gallery, specs and mobile order
   ========================================================= */

.single-offer__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.single-offer__main,
.single-offer__sidebar,
.single-offer__description {
    min-width: 0;
}

.single-offer__sidebar {
    width: 100%;
}

.media-gallery {
    display: flex;
    flex-flow: row nowrap;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 1rem;
    padding: 0.25rem 0 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.media-gallery__item {
    display: block;
    flex: 0 0 clamp(190px, 23vw, 280px);
    width: clamp(190px, 23vw, 280px);
    min-width: clamp(190px, 23vw, 280px);
    max-width: clamp(190px, 23vw, 280px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #e8e2d8;
    box-shadow: 0 20px 50px rgba(23, 23, 23, 0.12);
    scroll-snap-align: start;
}

.media-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e8e2d8;
    transition: transform 180ms ease;
}

.media-gallery__item:focus .media-gallery__image,
.media-gallery__item:hover .media-gallery__image {
    transform: scale(1.03);
}

.media-gallery::-webkit-scrollbar {
    height: 8px;
}

.media-gallery::-webkit-scrollbar-track {
    background: #eee9df;
    border-radius: 999px;
}

.media-gallery::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 999px;
}

.spec-panel,
.contact-panel,
.contact-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.spec-panel {
    overflow: hidden;
}

.spec-panel h2,
.contact-panel h2,
.contact-card h2 {
    margin-top: 0;
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.spec-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1rem;
    align-items: start;
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.12);
    box-sizing: border-box;
}

.spec-list > div:last-child {
    border-bottom: 0;
}

.spec-list dt {
    margin: 0;
    color: #6f6a60;
    font-weight: 400;
    line-height: 1.4;
}

.spec-list dd {
    margin: 0;
    color: #111111;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: normal;
}

.single-offer__description {
    margin-top: 1.5rem;
}

.single-offer__description .content,
.single-offer__description-panel .content {
    color: #2d2a26;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .single-offer__content-grid {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .single-offer__main,
    .single-offer__sidebar,
    .single-offer__description {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .single-offer__main,
    .single-offer__sidebar {
        display: contents;
    }

    .single-offer__main > h2 {
        order: 1;
    }

    .media-gallery {
        order: 2;
    }

    .spec-panel {
        order: 3;
    }

    .single-offer__description {
        order: 4;
        margin-top: 0;
    }

    .contact-panel,
    .contact-card {
        order: 5;
    }
}

@media (max-width: 640px) {
    .media-gallery {
        gap: 0.65rem;
        padding-bottom: 0.85rem;
        scroll-snap-type: x mandatory;
    }

    .media-gallery__item {
        flex: 0 0 82%;
        width: 82%;
        min-width: 82%;
        max-width: 82%;
    }
}

@media (max-width: 480px) {
    .spec-list > div {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 0.75rem;
    }

    .spec-list dt,
    .spec-list dd {
        font-size: 0.95rem;
    }
}
/* =========================================================
   Restoration mobile layout fix
   Keep restoration section headings with their galleries.
   ========================================================= */

@media (max-width: 980px) {
    body.single-restoration .single-offer__main {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }

    body.single-restoration .single-offer__sidebar {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }

    body.single-restoration .single-offer__main > h2,
    body.single-restoration .media-gallery,
    body.single-restoration .single-offer__sidebar,
    body.single-restoration .spec-panel,
    body.single-restoration .contact-panel {
        order: initial !important;
    }

    body.single-restoration .single-offer__main > h2 {
        margin-top: 1.5rem;
    }

    body.single-restoration .single-offer__main > h2:first-child {
        margin-top: 0;
    }

body.single-restoration .media-gallery {
        margin-bottom: 1.25rem;
    }
}

/* =========================================================
   Premium classic studio polish
   ========================================================= */

:root {
    --color-ink: #20201d;
    --color-muted: #706b62;
    --color-surface: #f8f6f1;
    --color-paper: #ffffff;
    --color-accent: #8a6a3d;
    --color-green: #19372f;
    --color-burgundy: #6f2430;
    --color-border: #ddd6ca;
    --shadow-soft: 0 18px 48px rgba(28, 27, 24, 0.08);
    --shadow-hover: 0 24px 70px rgba(28, 27, 24, 0.14);
}

body {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(248, 246, 241, 0.96)),
        var(--color-surface);
    color: var(--color-ink);
}

.site-header {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.94);
}

.site-header__inner {
    min-height: 72px;
}

.site-logo__mark {
    background: var(--color-green);
    letter-spacing: 0.04em;
}

.site-navigation__menu {
    gap: clamp(0.8rem, 1.6vw, 1.35rem);
}

.site-navigation__menu a,
.header-cta,
.button,
.text-link {
    letter-spacing: 0;
}

.header-cta,
.button {
    border: 1px solid transparent;
    box-shadow: none;
}

.button,
.header-cta {
    background: var(--color-green);
}

.button:focus,
.button:hover,
.header-cta:focus,
.header-cta:hover {
    background: var(--color-burgundy);
}

.button--light {
    background: var(--color-paper);
    color: var(--color-ink);
}

.button--light:focus,
.button--light:hover {
    background: #efe8dd;
    color: var(--color-ink);
}

.home-hero {
    min-height: min(740px, 84vh);
    background:
        linear-gradient(90deg, rgba(21, 31, 28, 0.88), rgba(21, 31, 28, 0.32)),
        linear-gradient(0deg, rgba(21, 31, 28, 0.16), rgba(21, 31, 28, 0.16)),
        url("../images/hero-classic-car.jpg") center / cover;
}

.home-hero h1,
.archive-hero h1,
.single-offer__summary h1 {
    max-width: 920px;
    font-weight: 760;
}

.archive-hero {
    background:
        linear-gradient(120deg, rgba(25, 55, 47, 0.98), rgba(32, 32, 29, 0.95));
}

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

.offer-card {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(32, 32, 29, 0.11);
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.offer-card:hover {
    box-shadow: var(--shadow-hover);
}

.offer-card__media {
    aspect-ratio: 16 / 11;
    background: #e9e3d8;
}

.offer-card__status {
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.offer-card__body {
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.offer-card__title {
    font-size: clamp(1.15rem, 2vw, 1.38rem);
}

.archive-filters,
.spec-panel,
.contact-panel,
.contact-card {
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.archive-filters {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.archive-filters__actions {
    align-self: end;
}

.archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.archive-filter-toggle {
    width: auto;
    min-width: 132px;
    gap: 0.55rem;
}

.archive-filter-toggle__badge {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(138, 106, 61, 0.18);
}

.archive-filter-panel[hidden] {
    display: none;
}

.archive-filter-panel {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.archive-results-count {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.archive-results-count strong {
    color: var(--color-ink);
}

.language-switcher {
    margin: 0;
}

.language-switcher__select {
    min-height: 40px;
    max-width: 100%;
    border-color: rgba(32, 32, 29, 0.18);
    border-radius: 4px;
    background-color: var(--color-paper);
}

.lightbox__nav {
    font-size: 2.2rem;
}

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

@media (max-width: 820px) {
    .site-header__inner {
        gap: 0.75rem;
    }

    .site-navigation {
        top: 100%;
        right: 1rem;
        left: 1rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        border: 1px solid var(--color-border);
        border-radius: 0 0 6px 6px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.75rem);
    }

    .site-navigation.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-navigation__menu {
        grid-template-columns: 1fr;
    }

    .language-switcher__select,
    .header-cta {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .site-header__inner,
    .section,
    .site-footer__inner {
        width: min(100% - 1.25rem, var(--container));
    }

    .home-hero {
        min-height: 620px;
    }

    .home-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.75rem);
    }

    .home-hero p:not(.eyebrow),
    .archive-hero__lead {
        font-size: 1rem;
    }

    .home-hero__actions,
    .archive-filters__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button,
    .header-cta {
        width: 100%;
    }

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

    .offer-card__media {
        aspect-ratio: 4 / 3;
    }

    .archive-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .archive-filter-toggle {
        width: 100%;
    }
}

/* =========================================================
   Route-inspired home layout
   ========================================================= */

.home-hero {
    min-height: min(620px, 72vh);
    align-items: center;
    background: #171717;
}

.home-hero::after {
    display: none;
}

.home-hero__slides,
.home-hero__slide,
.home-hero__overlay {
    position: absolute;
    inset: 0;
}

.home-hero__slides {
    z-index: 0;
    overflow: hidden;
}

.home-hero__slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.025);
    transition:
        opacity 900ms ease,
        transform 5200ms ease;
}

.home-hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.home-hero__overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.34));
}

.home-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    min-height: min(620px, 72vh);
    padding-block: clamp(3rem, 7vw, 5.5rem);
    padding-inline: clamp(2.5rem, 9vw, 7rem);
}

.home-hero__panel {
    width: min(100%, 680px);
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(13, 13, 13, 0.76);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    color: var(--color-paper);
}

.home-hero__panel .eyebrow {
    margin-bottom: 0.45rem;
    color: #d9c6a6;
}

.home-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 4.6vw, 4.15rem);
    font-weight: 520;
    line-height: 1.05;
}

.home-hero p:not(.eyebrow) {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.home-hero__actions {
    gap: 0.85rem;
}

.home-hero__actions .button {
    min-height: 46px;
    padding-inline: 1.05rem;
    border-radius: 3px;
    font-size: 0.88rem;
    text-transform: uppercase;
}

.home-hero__actions .button--light {
    color: #23366f;
}

.home-hero__actions .button--ghost {
    background: #283f8f;
    border-color: #283f8f;
    color: #ffffff;
}

.home-hero__actions .button--ghost:hover,
.home-hero__actions .button--ghost:focus {
    background: #1c2f72;
    border-color: #1c2f72;
    color: #ffffff;
}

.home-hero__dots {
    position: absolute;
    right: 0;
    bottom: 1.15rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.home-hero__dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.home-hero__dots span:first-child {
    background: #ffffff;
}

.home-hero__dots span.is-active {
    background: #ffffff;
}

.home-hero__dots span:not(.is-active) {
    background: rgba(255, 255, 255, 0.52);
}

.home-trust-strip {
    background: #eef1f3;
    border-bottom: 1px solid #dde2e5;
}

.home-trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.home-trust-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 56px;
    padding: 0.75rem;
    color: #0f1114;
    font-size: 0.94rem;
    text-align: center;
}

.home-trust-strip__icon {
    color: #0f1114;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.home-catalog-shortcuts {
    padding-block: clamp(2rem, 5vw, 3.5rem) 0;
}

.home-catalog-shortcuts__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-catalog-tile {
    position: relative;
    display: grid;
    min-height: clamp(190px, 20vw, 250px);
    align-content: end;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
}

.home-catalog-tile::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
        var(--tile-image, none),
        linear-gradient(135deg, rgba(32, 32, 29, 0.76), rgba(138, 106, 61, 0.48));
    background-position: center;
    background-size: cover;
    content: "";
    transition: transform 220ms ease, filter 220ms ease;
}

.home-catalog-tile--parts::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
        var(--tile-image, none),
        linear-gradient(135deg, rgba(25, 55, 47, 0.78), rgba(32, 32, 29, 0.44));
    background-position: center;
    background-size: cover;
}

.home-catalog-tile--motorcycles::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
        var(--tile-image, none),
        linear-gradient(135deg, rgba(47, 72, 88, 0.82), rgba(32, 32, 29, 0.48));
    background-position: center;
    background-size: cover;
}

.home-catalog-tile--projects::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62)),
        var(--tile-image, none),
        linear-gradient(135deg, rgba(111, 36, 48, 0.78), rgba(32, 32, 29, 0.46));
    background-position: center;
    background-size: cover;
}

.home-catalog-tile:hover::before,
.home-catalog-tile:focus::before {
    filter: saturate(1.08);
    transform: scale(1.035);
}

.home-catalog-tile span,
.home-catalog-tile strong {
    position: relative;
    z-index: 1;
}

.home-catalog-tile span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-catalog-tile strong {
    margin-top: 0.3rem;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.05;
}

.home-catalog-shortcuts + .home-section {
    padding-top: clamp(2.25rem, 5vw, 3.5rem);
}

@media (max-width: 900px) {
    .home-trust-strip__inner,
    .home-catalog-shortcuts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-hero,
    .home-hero__content {
        min-height: 560px;
    }

    .home-hero__content {
        align-content: end;
        padding-inline: 1rem;
        padding-bottom: 4.25rem;
    }

    .home-hero__panel {
        padding: 1rem;
    }

    .home-hero__actions {
        grid-template-columns: 1fr;
    }

    .home-trust-strip__inner,
    .home-catalog-shortcuts__grid {
        grid-template-columns: 1fr;
    }

    .home-trust-strip__inner {
        width: 100%;
    }

    .home-trust-strip__item {
        min-height: 48px;
        border-bottom: 1px solid #dde2e5;
    }
}

/* =========================================================
   Single car premium detail page
   ========================================================= */

.single-car-gallery {
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.single-car-gallery:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 6px;
}

.single-car-mobile-price {
    display: grid;
    gap: 0.2rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    padding: 1rem;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.single-car-mobile-price span {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.single-car-mobile-price strong {
    color: var(--color-accent);
    font-size: clamp(1.45rem, 4vw, 2.1rem);
    line-height: 1.1;
}

.single-car-gallery > h2,
.single-car-detail-section h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.single-car-gallery__featured-wrap {
    position: relative;
}

.single-car-gallery__featured {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: #e8e2d8;
    box-shadow: var(--shadow-soft);
}

.single-car-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 56px;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-ink);
    cursor: pointer;
    font-size: 2.4rem;
    line-height: 1;
    user-select: none;
    transform: translateY(-50%);
}

.single-car-gallery__nav--prev {
    left: 0.75rem;
}

.single-car-gallery__nav--next {
    right: 0.75rem;
}

.single-car-gallery__nav:focus,
.single-car-gallery__nav:hover {
    background: var(--color-accent);
    color: var(--color-paper);
}

.single-car-gallery__nav:focus-visible {
    outline: 2px solid var(--color-paper);
    outline-offset: 3px;
}

.single-car-gallery__image,
.single-car-gallery__thumb-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-car-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.single-car-gallery__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(32, 32, 29, 0.12);
    border-radius: 4px;
    background: #e8e2d8;
    cursor: pointer;
}

.single-car-gallery__featured:focus-visible,
.single-car-gallery__thumb:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.single-car-gallery__thumb.is-active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(138, 106, 61, 0.24);
}

.single-car-gallery__thumb-image {
    transition: transform 180ms ease;
}

.single-car-gallery__thumb:hover .single-car-gallery__thumb-image,
.single-car-gallery__thumb:focus .single-car-gallery__thumb-image {
    transform: scale(1.04);
}

.single-car-detail-sections {
    display: grid;
    gap: 1rem;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.single-car-detail-section {
    padding: clamp(1.1rem, 2vw, 1.35rem);
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.single-car-detail-section .content {
    color: #2d2a26;
    line-height: 1.72;
}

.single-car-detail-section .content p {
    margin: 0 0 0.85rem;
}

.single-car-detail-section .content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    body.single-car .single-offer__hero {
        display: none;
    }

    body.single-car .single-offer__content-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    body.single-car .single-offer__main,
    body.single-car .single-offer__sidebar {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .single-car-gallery__featured {
        aspect-ratio: 4 / 3;
    }

    .single-car-gallery__thumbs {
        display: flex;
        gap: 0.65rem;
        overflow-x: auto;
        padding-bottom: 0.55rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .single-car-gallery__thumb {
        flex: 0 0 36%;
        min-width: 36%;
        scroll-snap-align: start;
    }

    .single-car-gallery__nav {
        width: 40px;
        height: 50px;
        font-size: 2.1rem;
    }
}

@media (max-width: 430px) {
    .single-car-gallery__thumb {
        flex-basis: 42%;
        min-width: 42%;
    }

    .single-car-detail-section {
        padding: 1rem;
    }
}

body.single-car .single-offer__hero {
    display: none;
}

body.single-car .single-offer__summary h1 {
    color: var(--color-ink);
}

body.single-car .single-offer__reference {
    color: var(--color-muted);
}

@media (max-width: 980px) {
    body.single-car .single-offer__content-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    body.single-car .single-offer__main,
    body.single-car .single-offer__sidebar {
        display: contents;
    }

    body.single-car .single-car-gallery {
        order: 1;
        margin-bottom: 0;
    }

    body.single-car .single-offer__summary .single-offer__price {
        display: none;
    }

    body.single-car .single-car-mobile-price {
        order: 2;
        margin-bottom: 0;
    }

    body.single-car .spec-panel {
        order: 3;
    }

    body.single-car .single-offer__description {
        order: 4;
        margin-top: 0;
    }

    body.single-car .single-car-detail-sections {
        order: 5;
        margin-top: 0;
    }

    body.single-car .contact-panel {
        order: 6;
        margin-top: 0;
    }
}

@media (max-width: 980px) {
    body.single-part .single-offer__content-grid,
    body.single-restoration .single-offer__content-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    body.single-part .single-offer__main,
    body.single-part .single-offer__sidebar,
    body.single-restoration .single-offer__main,
    body.single-restoration .single-offer__sidebar {
        display: contents !important;
    }

    body.single-part .single-car-gallery,
    body.single-restoration .single-car-gallery {
        order: 1 !important;
        margin-bottom: 0;
    }

    body.single-part .single-car-mobile-price {
        order: 2;
        margin-bottom: 0;
    }

    body.single-part .spec-panel {
        order: 3;
    }

    body.single-part .single-offer__description {
        order: 4;
        margin-top: 0;
    }

    body.single-part .contact-panel {
        order: 5;
        margin-top: 0;
    }

    body.single-restoration .spec-panel {
        order: 2 !important;
    }

    body.single-restoration .single-offer__description {
        order: 3;
        margin-top: 0;
    }

    body.single-restoration .contact-panel {
        order: 4 !important;
        margin-top: 0;
    }
}

body.single-restoration .single-offer__description-panel {
    margin-top: 1.5rem;
}

@media (max-width: 980px) {
    body.single-restoration .single-offer__description-panel {
        order: 4 !important;
        margin-top: 0;
    }

body.single-restoration .contact-panel {
        order: 5 !important;
    }
}

/* =========================================================
   Catalog archive polish
   ========================================================= */

.archive-page .archive-hero {
    min-height: clamp(260px, 30vw, 390px);
    display: flex;
    align-items: center;
    background:
        linear-gradient(110deg, rgba(25, 55, 47, 0.98) 0%, rgba(25, 55, 47, 0.9) 42%, rgba(32, 32, 29, 0.82) 100%),
        radial-gradient(circle at 82% 35%, rgba(138, 106, 61, 0.28), transparent 30rem);
}

.archive-page .archive-hero::after {
    display: none;
}

.archive-page .archive-hero .section {
    padding-block: clamp(3.25rem, 7vw, 5rem);
}

.archive-page .archive-hero h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: 0;
}

.archive-page .archive-hero__lead {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.86);
}

.archive-listing-section {
    padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 7vw, 5.5rem);
}

.archive-listing-section .archive-toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    min-width: min(100%, 340px);
    margin: clamp(-3rem, -4vw, -2rem) 0 1.1rem;
    padding: 0.75rem;
    border: 1px solid rgba(32, 32, 29, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(28, 27, 24, 0.1);
}

.archive-listing-section .archive-filter-toggle {
    min-width: 150px;
    min-height: 46px;
    border-radius: 6px;
}

.archive-filter-panel {
    margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

.archive-listing-section .archive-filters {
    gap: 0.85rem;
    padding: clamp(1rem, 2vw, 1.25rem);
    border: 1px solid rgba(32, 32, 29, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 54px rgba(28, 27, 24, 0.08);
}

.archive-listing-section .archive-filters label {
    gap: 0.4rem;
    font-size: 0.84rem;
}

.archive-listing-section .archive-filters__control {
    min-height: 46px;
    border-radius: 6px;
    background-color: #fff;
}

.archive-listing-section .archive-results-count {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(32, 32, 29, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.archive-page .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.archive-page .offer-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(32, 32, 29, 0.09);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(28, 27, 24, 0.08);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.archive-page .offer-card:hover {
    border-color: rgba(138, 106, 61, 0.28);
    box-shadow: 0 24px 64px rgba(28, 27, 24, 0.14);
    transform: translateY(-3px);
}

.archive-page .offer-card__media {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(135deg, rgba(25, 55, 47, 0.08), rgba(138, 106, 61, 0.1)),
        #ebe5da;
}

.archive-page .offer-card__placeholder {
    font-weight: 700;
}

.archive-page .offer-card__status {
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.38rem 0.62rem;
    border: 1px solid rgba(32, 32, 29, 0.08);
    border-radius: 5px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    font-size: 0.74rem;
}

.archive-page .offer-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(1rem, 2vw, 1.25rem);
}

.archive-page .offer-card__meta {
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 750;
}

.archive-page .offer-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: #f3eee6;
    color: #5d554b;
}

.archive-page .offer-card__title {
    margin: 0.8rem 0 0.9rem;
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.archive-page .offer-card__specs {
    gap: 0;
}

.archive-page .offer-card__specs div {
    padding: 0.5rem 0;
    border-bottom-color: rgba(32, 32, 29, 0.09);
}

.archive-page .offer-card__specs dt {
    font-size: 0.82rem;
}

.archive-page .offer-card__specs dd {
    font-size: 0.9rem;
}

.archive-page .offer-card__excerpt {
    color: var(--color-muted);
    font-size: 0.94rem;
}

.archive-page .offer-card__footer {
    margin-top: auto;
    padding-top: 1rem;
}

.archive-page .offer-card__price {
    color: var(--color-accent);
    font-size: 1.05rem;
    line-height: 1.2;
}

.archive-page .offer-card__footer .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 5px;
    background: #f4efe7;
    color: var(--color-green);
}

.archive-page .pagination {
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 1020px) {
    .archive-page .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .archive-page .archive-hero {
        min-height: auto;
    }

    .archive-page .archive-hero .section {
        padding-block: 2.5rem;
    }

    .archive-page .archive-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.35rem);
    }

    .archive-listing-section {
        padding-top: 1.25rem;
    }

    .archive-listing-section .archive-toolbar {
        width: 100%;
        min-width: 0;
        margin-top: -2rem;
        align-items: stretch;
        flex-direction: column;
    }

    .archive-listing-section .archive-filter-toggle,
    .archive-listing-section .archive-toolbar .text-link {
        width: 100%;
        justify-content: center;
    }

    .archive-page .listing-grid {
        grid-template-columns: 1fr;
    }

    .archive-page .offer-card {
        border-radius: 7px;
    }

    .archive-page .offer-card__media {
        aspect-ratio: 4 / 3;
    }

    .archive-page .offer-card__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
    }

    .archive-page .offer-card__footer .text-link {
        justify-content: center;
        width: 100%;
    }
}

/* Slim catalog header */

.archive-page .archive-hero {
    min-height: auto;
    background:
        linear-gradient(135deg, rgba(32, 32, 29, 0.96), rgba(138, 106, 61, 0.72));
}

.archive-page .archive-hero--cars {
    background:
        linear-gradient(135deg, rgba(71, 96, 48, 0.96), rgba(32, 32, 29, 0.78));
}

.archive-page .archive-hero--motorcycles {
    background:
        linear-gradient(135deg, rgba(47, 92, 124, 0.96), rgba(32, 32, 29, 0.78));
}

.archive-page .archive-hero--parts {
    background:
        linear-gradient(135deg, rgba(53, 31, 124, 0.96), rgba(32, 32, 29, 0.78));
}

.archive-page .archive-hero--restorations {
    background:
        linear-gradient(135deg, rgba(156, 123, 0, 0.96), rgba(32, 32, 29, 0.78));
}

.archive-hero--contact {
    background:
        linear-gradient(135deg, rgba(32, 32, 29, 0.96), rgba(138, 106, 61, 0.72));
}

.archive-page .archive-hero .section {
    padding-block: clamp(1.15rem, 2.4vw, 1.9rem);
}

.archive-page .archive-hero h1 {
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 1.02;
}

.archive-page .archive-hero__lead {
    max-width: 700px;
    margin-top: 0.45rem;
    font-size: clamp(0.95rem, 1.25vw, 1.05rem);
}

.archive-page .archive-hero .eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.74rem;
}

.archive-listing-section {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.archive-listing-section .archive-toolbar {
    margin-top: 0;
}

@media (max-width: 700px) {
    .archive-page .archive-hero .section {
        padding-block: 1.1rem 1.2rem;
    }

    .archive-page .archive-hero h1 {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
    }

    .archive-listing-section .archive-toolbar {
        margin-top: 0;
    }
}

/* Header brand alignment */
.site-header__inner {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 3vw, 2.25rem);
}

.site-logo {
    flex: 0 1 auto;
    min-width: 0;
    gap: clamp(0.55rem, 1vw, 0.9rem);
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.site-logo__image,
.site-logo__image .custom-logo-link {
    flex: 0 0 auto;
}

.site-logo__image img,
.custom-logo {
    width: auto;
    max-width: clamp(92px, 9vw, 150px);
    max-height: clamp(46px, 6vw, 74px);
    -webkit-user-drag: none;
}

.site-logo__brand-text,
.site-logo__text {
    color: var(--color-ink);
    display: inline-flex;
    position: relative;
    align-items: center;
    min-height: 1.2em;
    padding-block: 0.16em;
    font-family: Impact, "Arial Black", var(--font-heading, sans-serif);
    font-size: clamp(1.2rem, 2.35vw, 2.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    -webkit-text-stroke: 0.25px currentColor;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.site-logo__brand-text::before,
.site-logo__brand-text::after,
.site-logo__text::before,
.site-logo__text::after {
    content: "";
    position: absolute;
    left: 0.03em;
    right: 0.03em;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.22;
    pointer-events: none;
}

.site-logo__brand-text::before,
.site-logo__text::before {
    top: -0.1em;
}

.site-logo__brand-text::after,
.site-logo__text::after {
    bottom: -0.12em;
}

.site-logo--footer .site-logo__brand-text,
.site-logo--footer .site-logo__text {
    color: #fff !important;
    font-size: clamp(1.3rem, 2.25vw, 2.15rem);
    text-shadow: none;
    -webkit-text-stroke: 0;
    -webkit-text-fill-color: #fff;
    opacity: 1;
    filter: none;
}

.site-logo--footer .site-logo__image img,
.site-logo--footer .custom-logo {
    max-width: clamp(112px, 10vw, 150px);
    max-height: clamp(58px, 7vw, 82px);
    filter: brightness(0) invert(1);
    opacity: 1;
}

.site-logo--footer .site-logo__brand-text::before,
.site-logo--footer .site-logo__brand-text::after,
.site-logo--footer .site-logo__text::before,
.site-logo--footer .site-logo__text::after {
    display: none;
}

.site-navigation {
    margin-left: auto;
}

@media (max-width: 720px) {
    .site-header__inner {
        padding-inline: 1rem;
    }

    .site-logo__brand-text,
    .site-logo__text {
        font-size: clamp(0.95rem, 5vw, 1.35rem);
    }

.site-logo__image img,
.custom-logo {
        max-width: 86px;
        max-height: 46px;
    }
}

/* Privacy and cookie controls */
.form-consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
}

.form-consent input {
    width: auto;
    margin-top: 0.2rem;
}

.form-consent a {
    color: var(--color-accent);
    font-weight: 800;
}

.form-captcha {
    margin: 4px 0 16px;
}

.footer-legal__button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
    text-decoration: none;
}

.footer-legal__button:hover,
.footer-legal__button:focus {
    text-decoration: underline;
}

.cookie-banner__content {
    grid-template-columns: minmax(0, 1fr);
}

.cookie-banner__settings {
    display: grid;
    gap: 0.7rem;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface);
}

.cookie-banner__settings[hidden] {
    display: none;
}

.cookie-banner__settings label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.2rem 0.65rem;
    align-items: start;
}

.cookie-banner__settings input {
    grid-row: span 2;
    margin-top: 0.25rem;
}

.cookie-banner__settings span {
    font-weight: 800;
}

.cookie-banner__settings small {
    color: var(--color-muted);
    line-height: 1.35;
}

.cookie-banner__actions {
    justify-content: flex-start;
}
