:root {
    --ink: #0b0b0d;
    --ink-soft: #17171a;
    --paper: #f4f2ee;
    --white: #fff;
    --muted: #696765;
    --line: #dedbd5;
    --red: #dc171f;
    --red-dark: #b90e15;
    --green: #168746;
    --shadow: 0 18px 48px rgba(18, 13, 13, .1);
    --radius: 8px;
    --container: 1180px;
    --display: "Bahnschrift Condensed", "Aptos Display", sans-serif;
    --body: "Aptos", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
address { font-style: normal; }
.bidi-ltr, bdi { direction: ltr; unicode-bidi: isolate; }
.directional-arrow { display: inline-block; }
[dir="rtl"] body { font-family: Tahoma, "Segoe UI", sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] .button, [dir="rtl"] .desktop-nav a,
[dir="rtl"] .mobile-nav a, [dir="rtl"] .eyebrow {
    font-family: Tahoma, "Segoe UI", sans-serif;
    letter-spacing: 0;
    text-transform: none;
}
[dir="rtl"] .directional-arrow { transform: scaleX(-1); }

:focus-visible { outline: 3px solid #ffce45; outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    inset-inline-start: 12px;
    padding: 10px 16px;
    background: var(--white);
    transform: translateY(-150%);
    transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(11, 11, 13, .97);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(16px);
}
.header-inner {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    min-height: 72px;
}
.brand { display: flex; align-self: stretch; align-items: center; width: fit-content; }
.brand img { width: 102px; height: 64px; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(24px, 2.5vw, 40px); }
.desktop-nav a {
    position: relative;
    padding: 25px 0 22px;
    color: #d1d1d3;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.desktop-nav a::after {
    position: absolute;
    inset-inline: 0;
    bottom: 14px;
    height: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--white); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.language-switcher { display: flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.language-switcher a { color: #bdbdc1; transition: color 180ms ease; }
.language-switcher a:hover { color: var(--white); }
.language-switcher [aria-current="true"] { color: var(--white); }
.language-switcher-mobile { display: none; }
.header-whatsapp {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    background: rgba(255,255,255,.035);
    border: 1px solid #4a4a4f;
    border-radius: 3px;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.header-whatsapp:hover { background: rgba(220,23,31,.12); border-color: var(--red); transform: translateY(-1px); }
.whatsapp-icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; object-fit: contain; }
.header-whatsapp .whatsapp-icon { width: 26px; height: 26px; }
.hero-actions .whatsapp-icon { width: 25px; height: 25px; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    cursor: pointer;
}
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
    position: fixed;
    inset: 72px 0 auto;
    min-height: calc(100vh - 72px);
    padding: 30px 20px;
    background: #0d0d0f;
}
.mobile-nav a {
    display: block;
    padding: 15px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 750;
    text-transform: uppercase;
}
.mobile-nav a[aria-current] { color: var(--red); }
.mobile-nav .mobile-whatsapp { margin-top: 22px; padding: 15px; background: var(--red); border: 0; font-family: var(--body); font-size: .82rem; text-align: center; }

/* Shared type and actions */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: #d4d4d6;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.eyebrow span { width: 32px; height: 2px; background: var(--red); }
.eyebrow.dark { color: #555250; }
h1, h2, h3, p, dl { overflow-wrap: break-word; }
h1 em, h2 em { color: var(--red); font-style: normal; }
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .055em;
    text-align: center;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--red-dark); }
.button-outline { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.button-outline:hover { background: var(--white); color: var(--ink); }
.button-secondary { background: transparent; border-color: #aaa6a0; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); }

/* Homepage hero */
.hero {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background: radial-gradient(circle at 75% 40%, rgba(220, 23, 31, .17), transparent 27%), linear-gradient(135deg, #0a0a0b 0%, #151518 58%, #09090a 100%);
    color: var(--white);
}
.hero::before { position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, transparent 0, transparent 52px, rgba(255,255,255,.014) 53px, transparent 54px); content: ""; }
.hero-grid-lines { position: absolute; top: 0; inset-inline-end: calc((100vw - min(100vw - 40px, var(--container))) / 2); width: 53%; height: 100%; border-inline: 1px solid rgba(255,255,255,.06); }
.hero-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 590px; gap: 42px; }
.hero-copy { position: relative; z-index: 2; padding: 70px 0; }
.hero h1 {
    margin: 0;
    max-width: 570px;
    font-family: var(--display);
    font-size: clamp(3.45rem, 4.4vw, 4rem);
    font-weight: 820;
    letter-spacing: -.035em;
    line-height: .97;
    text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; }
.hero-number { position: absolute; top: 24px; inset-inline-end: -22px; color: rgba(255,255,255,.025); font-family: var(--display); font-size: 20rem; font-weight: 900; line-height: 1; }
.hero-car-frame { position: absolute; top: 48%; inset-inline-start: 0; width: 104%; transform: translateY(-50%); }
.hero-car-frame::before { position: absolute; inset: 12% -12% -8% 24%; z-index: -1; background: radial-gradient(ellipse, rgba(220,23,31,.25), transparent 68%); content: ""; }
.hero-car-frame > img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    box-shadow: 0 34px 75px rgba(0,0,0,.5);
    filter: saturate(.86) contrast(1.04);
}
.hero-car-info {
    position: absolute;
    inset-inline-end: 16px;
    bottom: -18px;
    width: clamp(290px, 29vw, 350px);
    padding: 16px;
    background: rgba(8, 8, 10, .9);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    box-shadow: 0 16px 38px rgba(0,0,0,.34);
    backdrop-filter: blur(14px);
}
.hero-car-name { margin: 0; font-family: var(--display); font-size: 1.25rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.hero-car-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.hero-car-price { display: flex; align-items: baseline; gap: 5px; margin: 8px 0 0; }
.hero-car-price strong { color: var(--white); font-size: 1.45rem; }
.hero-car-price span { color: #aaaab0; font-size: .72rem; }
.hero-car-info .availability { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.13); }
.hero-car-link { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); color: var(--white); font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.hero-car-link > span { color: var(--red); font-size: 1rem; }
.hero-bottom-line { position: absolute; inset-inline-end: 0; bottom: 0; width: 40%; height: 4px; background: var(--red); }

/* Vehicle cards */
.featured-section { padding: 88px 0 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .about-intro h2, .agency-panel h2, .catalogue-cta h2, .vehicle-description h2, .detail-contact h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.4rem, 4vw, 3.9rem);
    font-weight: 820;
    letter-spacing: -.03em;
    line-height: .98;
    text-transform: uppercase;
}
.text-link { padding-bottom: 5px; border-bottom: 2px solid var(--red); font-size: .73rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.vehicle-grid { display: grid; gap: 22px; }
.featured-grid, .catalogue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vehicle-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid #e1ded8; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(20,17,17,.045); transition: transform 220ms ease, box-shadow 220ms ease; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vehicle-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e6e3de; }
.vehicle-card-image::after { position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(0,0,0,.2)); content: ""; }
.vehicle-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 450ms cubic-bezier(.2,.7,.2,1); }
.vehicle-card:hover .vehicle-card-image img { transform: scale(1.025); }
.availability { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 3px; background: rgba(255,255,255,.95); color: #161616; font-size: .61rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.vehicle-card-image .availability { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; }
.availability > span { width: 7px; height: 7px; border-radius: 50%; }
.availability.is-available > span { background: var(--green); }
.availability.is-unavailable > span { background: var(--red); }
.vehicle-card-body { padding: 20px; }
.vehicle-card-heading h3 { margin: 0; font-family: var(--display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.vehicle-identity { margin: 2px 0 0; color: var(--muted); font-size: .78rem; font-weight: 650; }
.compact-specs { display: flex; flex-wrap: wrap; gap: 5px; margin: 15px 0; color: #5e5b59; font-size: .76rem; }
.compact-specs span[aria-hidden="true"] { color: var(--red); }
.card-price { display: flex; align-items: baseline; gap: 5px; padding: 14px 0; border-top: 1px solid #e9e6e1; border-bottom: 1px solid #e9e6e1; }
.card-price strong { color: var(--red); font-size: 1.7rem; line-height: 1; }
.card-price span { color: var(--muted); font-size: .76rem; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; font-size: .7rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.card-link span { color: var(--red); font-size: 1.1rem; transition: transform 180ms ease; }
.card-link:hover span { transform: translateX(4px); }
[dir="rtl"] .card-link:hover span { transform: scaleX(-1) translateX(4px); }

/* About and contact */
.about-section { padding: 80px 0; background: #19191c; color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 58px; align-items: center; }
.about-grid-with-photos { grid-template-columns: 1.08fr .92fr; gap: 48px; }
.agency-photo-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.agency-photo { position: relative; overflow: hidden; margin: 0; background: #0e0e10; border: 1px solid #38383c; border-radius: var(--radius); }
.agency-photo-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.agency-photo-detail, .agency-photo-angle { aspect-ratio: 4 / 3; }
.agency-photo img { width: 100%; height: 100%; object-fit: cover; }
.agency-photo-main img { object-position: center 48%; }
.agency-photo-detail img { object-position: center 36%; }
.agency-photo-angle img { object-position: center 48%; }
.about-content { display: grid; gap: 28px; }
.about-intro > p:last-child { max-width: 670px; margin: 27px 0 0; color: #bebec2; }
.about-promise { padding: 28px; border: 1px solid #3a3a3e; background: #111113; }
.about-promise > p { margin: 0 0 24px; max-width: 390px; font-family: var(--display); font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.1; }
.about-promise > p strong { color: var(--red); }
.trust-indicators { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid #36363a; }
.trust-indicators div { padding: 16px 10px 0; border-inline-start: 1px solid #36363a; }
.trust-indicators div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.trust-indicators dt { font-family: var(--display); font-size: 1.7rem; font-weight: 800; }
.trust-indicators dd { margin: 0; color: #96969b; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.location-section { padding: 78px 0; background: var(--paper); }
.location-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.location-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(2.7rem, 4.4vw, 4rem); font-weight: 820; letter-spacing: -.03em; line-height: .95; text-transform: uppercase; }
.location-heading address { display: grid; gap: 3px; text-align: end; }
.location-heading address strong { font-size: .86rem; letter-spacing: .05em; }
.location-heading address span { color: var(--muted); font-size: .82rem; }
.map-frame { overflow: hidden; height: 410px; background: #ddd9d2; border: 1px solid #d0cbc3; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.maps-link { display: table; margin-top: 20px; margin-inline-start: auto; }
/* Preserve enough trailing scroll range for the final hash target to clear the sticky header. */
.agency-section { min-height: calc(100svh - 17rem); padding: 74px 0; background: var(--ink); color: var(--white); border-top: 1px solid #2a2a2e; }
.agency-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 58px; align-items: center; }
.agency-panel h2 { font-size: clamp(2.2rem, 3.2vw, 3.15rem); }
.agency-panel > p:not(.eyebrow) { max-width: 500px; margin: 26px 0; color: #bdbdc1; }
.agency-location { padding-top: 15px; border-top: 1px solid #333337; color: #8f8f95 !important; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-action { display: grid; grid-template-columns: 38px 1fr auto; min-height: 100px; align-items: center; gap: 13px; padding: 16px; background: #17171a; border: 1px solid #333337; border-radius: 5px; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
a.contact-action:hover { background: #202024; border-color: #5a5a60; transform: translateY(-2px); }
.contact-action-primary { background: var(--red); border-color: var(--red); }
a.contact-action-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.contact-action > svg { width: 27px; fill: currentColor; }
.contact-action > .whatsapp-icon { width: 28px; height: 28px; }
.contact-action > span:nth-child(2) { display: grid; }
.contact-action small { color: #8f8f95; font-size: .58rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-action-primary small { color: rgba(255,255,255,.7); }
.contact-action strong { font-size: .96rem; }
.contact-action b { color: #9e9ea3; font-size: .69rem; font-weight: 600; }
.contact-action-primary b { color: rgba(255,255,255,.72); }
.contact-action > span:last-child { color: var(--red); }
.contact-action-primary > span:last-child { color: var(--white); }

/* Catalogue */
.page-hero { position: relative; overflow: hidden; padding: 74px 0 66px; background: var(--ink); color: var(--white); }
.page-hero::after { position: absolute; inset-inline-end: -5%; bottom: -85%; width: 54%; aspect-ratio: 1; border: 1px solid rgba(220,23,31,.27); border-radius: 50%; content: ""; }
.page-hero-inner { position: relative; display: flex; align-items: end; justify-content: space-between; }
.page-hero h1, .error-page h1 { margin: 0; font-family: var(--display); font-size: clamp(3.2rem, 5.5vw, 5.2rem); font-weight: 820; letter-spacing: -.035em; line-height: .94; text-transform: uppercase; }
.page-hero p:last-child { max-width: 620px; margin: 21px 0 0; color: #bcbcc0; }
.page-hero-mark { color: rgba(255,255,255,.055); font-family: var(--display); font-size: 10rem; font-weight: 900; line-height: .7; }
.catalogue-section { padding: 48px 0 92px; }
.catalogue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.catalogue-toolbar p { margin: 0; color: var(--muted); font-size: .82rem; }
.catalogue-toolbar .toolbar-count { color: var(--ink); font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; }
.toolbar-count strong { color: var(--red); }
.catalogue-note { display: flex; max-width: 520px; align-items: center; gap: 12px; }
.catalogue-note > span { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border: 1px solid #c9c4be; border-radius: 50%; font-family: serif; font-weight: 700; }
.catalogue-cta { padding: 66px 0; background: #171719; color: var(--white); }
.catalogue-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.catalogue-cta h2 { font-size: clamp(2.3rem, 3.7vw, 3.7rem); }

/* Detail */
.detail-page { padding: 30px 0 88px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; color: #716e6b; font-size: .77rem; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span:last-child { color: var(--ink); font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr); gap: 28px; align-items: start; }
.vehicle-gallery { min-width: 0; }
.main-image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; border-radius: var(--radius); }
.main-image-wrap > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.main-image-wrap .availability { position: absolute; top: 16px; inset-inline-start: 16px; box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); gap: 10px; margin-top: 12px; }
.gallery-thumbnails button { position: relative; overflow: hidden; padding: 0; border: 2px solid transparent; background: #ddd; cursor: pointer; }
.gallery-thumbnails button.is-active { border-color: var(--red); }
.gallery-thumbnails img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-thumbnails button span { position: absolute; inset-inline-end: 4px; bottom: 4px; padding: 2px 5px; background: rgba(0,0,0,.7); color: var(--white); font-size: .55rem; font-weight: 800; text-transform: uppercase; }
.detail-summary { position: sticky; top: 106px; padding: 31px; background: var(--white); border-top: 4px solid var(--red); box-shadow: var(--shadow); }
.vehicle-brand { margin: 0 0 4px; color: var(--red); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.detail-summary h1 { margin: 0; font-family: var(--display); font-size: clamp(2.45rem, 3.4vw, 3.35rem); font-weight: 820; letter-spacing: -.035em; line-height: .96; text-transform: uppercase; }
.detail-subtitle { margin: 10px 0 24px; color: var(--muted); font-size: .94rem; font-weight: 650; }
.detail-subtitle span { margin: 0 6px; color: var(--red); }
.detail-price-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.detail-price strong { color: var(--red); font-size: 2.35rem; line-height: 1; }
.detail-price span { color: var(--muted); font-size: .78rem; }
.detail-price-row .availability { background: #e9f6ed; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 24px; }
.detail-specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-specs div:nth-child(odd) { padding-inline-end: 12px; }
.detail-specs div:nth-child(even) { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.detail-specs dt { color: #888581; font-size: .59rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.detail-specs dd { margin: 2px 0 0; font-size: .85rem; font-weight: 700; }
.button-whatsapp { width: 100%; background: var(--red); color: var(--white); }
.button-whatsapp:hover { background: var(--red-dark); }
.button-whatsapp .whatsapp-icon { width: 24px; height: 24px; }
.detail-lower { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 24px; margin-top: 42px; }
.vehicle-description, .detail-contact { padding: 32px; background: var(--white); border: 1px solid var(--line); }
.vehicle-description h2, .detail-contact h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.vehicle-description > p:last-child, .detail-contact > p:not(.eyebrow) { margin: 18px 0 0; color: #5f5c59; }
.detail-contact { background: #ece9e3; }
.detail-contact-actions { display: flex; gap: 10px; margin-top: 22px; }
.detail-contact-actions .button { flex: 1; }

/* Error and footer */
.error-page { position: relative; min-height: 620px; overflow: hidden; display: grid; place-items: center; background: var(--ink); color: var(--white); }
.error-inner { position: relative; z-index: 1; padding: 90px 0; }
.error-code { position: absolute; z-index: -1; top: -70px; inset-inline-end: 0; margin: 0; color: rgba(255,255,255,.035); font-family: var(--display); font-size: 23rem; font-weight: 900; line-height: 1; }
.error-page .error-inner > p:not(.eyebrow,.error-code) { margin: 25px 0; color: #bbb; }
.site-footer { padding: 26px 0 12px; background: #080809; color: var(--white); border-top: 1px solid #252528; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 42px; align-items: start; }
.footer-brand img { width: 88px; height: 54px; object-fit: contain; }
.footer-grid h2 { margin: 0 0 12px; color: #77777c; font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { display: block; margin: 0 0 5px; color: #b7b7bb; font-size: .78rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 17px; padding-top: 11px; border-top: 1px solid #252528; }

#accueil, #a-propos, #nous-trouver, #contact { scroll-margin-top: 72px; }
.footer-bottom p { margin: 0; color: #66666c; font-size: .62rem; letter-spacing: .055em; text-transform: uppercase; }

@media (max-width: 1100px) {
    .header-inner { grid-template-columns: 135px 1fr auto; }
    .desktop-nav { gap: 20px; }
    .header-whatsapp { padding-inline: 12px; }
    .hero-inner { grid-template-columns: .92fr 1.08fr; gap: 28px; }
    .hero-car-frame { width: 105%; }
    .featured-grid, .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-summary { position: static; }
    .main-image-wrap { aspect-ratio: 16 / 10; }
    .detail-lower { margin-top: 36px; }
}

@media (max-width: 840px) {
    #accueil, #a-propos, #nous-trouver, #contact { scroll-margin-top: 70px; }
    .container { width: min(calc(100% - 32px), var(--container)); }
    .header-inner { grid-template-columns: 1fr auto; min-height: 70px; }
    .brand img { width: 98px; height: 62px; }
    .desktop-nav { display: none; }
    .language-switcher-desktop { display: none; }
    .menu-toggle { display: block; }
    .header-whatsapp { width: 44px; height: 44px; min-height: 44px; justify-content: center; padding: 0; border-radius: 4px; }
    .header-whatsapp span { display: none; }
    .mobile-nav { inset-block-start: 70px; min-height: calc(100vh - 70px); }
    .mobile-nav .language-switcher-mobile { display: flex; justify-content: center; gap: 10px; margin-top: 18px; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .mobile-nav .language-switcher-mobile a { display: inline; padding: 0; border: 0; font-family: var(--body); font-size: .84rem; text-transform: none; }
    .hero { min-height: auto; }
    .hero-inner { display: block; min-height: 0; padding-bottom: 64px; }
    .hero-copy { padding: 66px 0 42px; }
    .hero h1 { max-width: 650px; font-size: clamp(3.1rem, 8.4vw, 4rem); }
    .hero-visual { height: 420px; }
    .hero-car-frame { top: 48%; inset-inline-start: 0; width: 100%; }
    .hero-car-frame > img { height: 360px; }
    .hero-number { top: -65px; font-size: 17rem; }
    .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-grid .vehicle-card:last-child { display: none; }
    .about-grid, .agency-grid { grid-template-columns: 1fr; gap: 44px; }
    .agency-section { min-height: 0; }
    .location-heading { align-items: start; flex-direction: column; gap: 12px; }
    .location-heading address { text-align: start; }
    .map-frame { height: 360px; }
    .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-hero-mark { font-size: 7.5rem; }
    .catalogue-cta-inner { align-items: start; flex-direction: column; }
    .detail-lower { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    #accueil, #a-propos, #nous-trouver, #contact { scroll-margin-top: 66px; }
    .container { width: min(calc(100% - 24px), var(--container)); }
    .header-inner { min-height: 66px; }
    .brand img { width: 88px; height: 56px; }
    .header-whatsapp { width: 44px; height: 44px; min-height: 44px; }
    .menu-toggle { width: 40px; height: 40px; min-height: 40px; }
    .mobile-nav { inset-block-start: 66px; min-height: calc(100vh - 66px); }
    .eyebrow { margin-bottom: 13px; font-size: .64rem; }
    .hero-copy { padding: 50px 0 34px; }
    .hero h1 { font-size: clamp(2.75rem, 12.5vw, 3.45rem); line-height: .98; }
    .hero-actions { flex-direction: column; margin-top: 28px; }
    .hero-actions .button { width: 100%; }
    .hero-visual { height: auto; }
    .hero-car-frame { position: relative; top: auto; inset-inline-start: auto; width: 100%; transform: none; }
    .hero-car-frame::before { inset: 5% -8% 10% 20%; }
    .hero-car-frame > img { height: auto; aspect-ratio: 16 / 10; }
    .hero-car-info { position: relative; inset-inline-end: auto; bottom: auto; width: 100%; margin-top: 10px; padding: 14px; background: #141416; }
    .hero-car-name { font-size: 1.1rem; }
    .hero-car-price { margin-top: 6px; }
    .hero-car-info .availability { padding: 5px 7px; font-size: .53rem; }
    .hero-car-meta { margin-top: 7px; }
    .hero-car-link { margin-top: 10px; padding-top: 9px; font-size: .61rem; }
    .featured-section { padding: 66px 0 72px; }
    .section-heading { align-items: start; flex-direction: column; margin-bottom: 24px; }
    .section-heading h2 { font-size: 2.65rem; }
    .featured-grid, .catalogue-grid { grid-template-columns: 1fr; }
    .featured-grid .vehicle-card:last-child { display: block; }
    .vehicle-card-body { padding: 18px; }
    .vehicle-card-image { aspect-ratio: 16 / 10; }
    .about-section, .location-section, .agency-section { padding: 62px 0; }
    .about-intro h2, .agency-panel h2 { font-size: 2.8rem; }
    .about-promise { padding: 24px 20px; }
    .about-promise > p { font-size: 1.8rem; }
    .trust-indicators div { padding: 16px 6px 0; }
    .trust-indicators dt { font-size: 1.35rem; }
    .contact-actions { grid-template-columns: 1fr; }
    .contact-action { min-height: 92px; }
    .map-frame { height: 300px; }
    .maps-link { margin-inline-start: 0; }
    .page-hero { padding: 60px 0 50px; }
    .page-hero-inner { display: block; }
    .page-hero h1 { font-size: 3.45rem; }
    .page-hero-mark { position: absolute; inset-inline-end: -8px; bottom: -22px; font-size: 6.5rem; }
    .catalogue-section { padding: 36px 0 70px; }
    .catalogue-toolbar { align-items: start; flex-direction: column; gap: 16px; }
    .catalogue-note { align-items: start; }
    .catalogue-cta { padding: 54px 0; }
    .catalogue-cta h2 { font-size: 2.6rem; }
    .detail-page { padding: 20px 0 70px; }
    .breadcrumbs { margin-bottom: 18px; }
    .detail-grid { gap: 17px; }
    .main-image-wrap { aspect-ratio: 4 / 3; }
    .main-image-wrap .availability { top: 9px; left: 9px; }
    .gallery-thumbnails { grid-template-columns: repeat(2, 1fr); }
    .detail-summary { padding: 25px 20px; }
    .detail-summary h1 { font-size: 2.7rem; }
    .detail-price-row { align-items: flex-start; flex-direction: column; }
    .detail-price strong { font-size: 2.1rem; }
    .detail-lower { margin-top: 30px; }
    .vehicle-description, .detail-contact { padding: 25px 20px; }
    .vehicle-description h2, .detail-contact h2 { font-size: 2.25rem; }
    .detail-contact-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { align-items: start; flex-direction: column; gap: 5px; }
    .error-code { top: -20px; font-size: 13rem; }
}

[dir="rtl"] .hero h1 { font-size: clamp(3rem, 4.3vw, 3.85rem); line-height: 1.18; }
[dir="rtl"] .page-hero h1, [dir="rtl"] .error-page h1 { line-height: 1.18; }
[dir="rtl"] .section-heading h2, [dir="rtl"] .about-intro h2,
[dir="rtl"] .agency-panel h2, [dir="rtl"] .catalogue-cta h2,
[dir="rtl"] .vehicle-description h2, [dir="rtl"] .detail-contact h2 {
    line-height: 1.2;
}
[dir="rtl"] .eyebrow, [dir="rtl"] .contact-action small,
[dir="rtl"] .trust-indicators dd, [dir="rtl"] .agency-location {
    letter-spacing: 0;
}
[dir="rtl"] .map-frame iframe { direction: ltr; }
[dir="rtl"] .bidi-ltr { text-align: start; }

@media (max-width: 600px) {
    [dir="rtl"] .hero h1 { font-size: clamp(2.45rem, 11.2vw, 3.15rem); line-height: 1.22; }
    [dir="rtl"] .about-intro h2, [dir="rtl"] .agency-panel h2 { font-size: 2.35rem; }
    .agency-photo-collage { gap: 7px; }
    .agency-photo-main { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
