:root {
    color-scheme: light;
    --ink: #092d48;
    --muted: #496377;
    --ocean: #00679c;
    --deep: #004e79;
    --sky: #ebf9ff;
    --rule: #cce1e9;
    --paper: #fff;
    --radius: 20px;
    --shadow: 0 16px 45px rgb(9 45 72 / .08);
    font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 4px; }
.wrap { width: min(calc(100% - 56px), 1280px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 4; padding: 10px 18px; background: white; }

.header { background: #fff; border-bottom: 1px solid var(--rule); }
.nav-layout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; line-height: 1.1; }
.brand img { flex: none; width: 42px; height: 42px; border-radius: 12px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .105em; font-weight: 800; }
.brand small { margin-top: 4px; font-size: 10px; letter-spacing: .22em; color: var(--ocean); font-weight: 700; }
.nav, .nav-actions, .actions { display: flex; align-items: center; gap: 14px; }
.nav { gap: clamp(18px, 3.3vw, 46px); }
.nav a, .lang { font-size: .92rem; font-weight: 700; }
.nav a:hover, .lang:hover, .muted-link:hover { color: var(--ocean); text-decoration: underline; text-underline-offset: 5px; }
.nav-actions { justify-content: end; }
.lang { display: grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid var(--rule); border-radius: 50%; }
.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; width: fit-content;
    padding: 10px 20px; border: 1px solid transparent; border-radius: 100px; background: var(--ocean);
    color: white; font-weight: 720; font-size: .95rem; text-align: center; cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--deep); transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 16px; font-size: .86rem; }
.button.secondary { color: var(--ink); border-color: #a6c7d8; background: rgb(255 255 255 / .66); }
.button.secondary:hover { background: #fff; border-color: var(--ocean); }
.actions { flex-wrap: wrap; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(510px, 47vw, 680px); overflow: clip; background: var(--sky); }
.hero-visual { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 66%; animation: reveal-photo 1.25s ease-out both; }
.hero-visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, #ebf9ff 0%, rgb(235 249 255 / .95) 23%, rgb(235 249 255 / .76) 38%, rgb(235 249 255 / 0) 63%);
}
.hero-inner { padding-block: 62px 76px; }
.hero-copy { max-width: 550px; animation: rise .7s .06s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--deep); font-size: .78rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 100%; background: #0084ba; }
.hero h1 { font-size: clamp(66px, 7.5vw, 112px); font-weight: 800; line-height: .96; letter-spacing: -.075em; margin-block: 21px 26px; }
.hero h1 em { display: block; font-family: Baskervville, Georgia, serif; font-weight: 400; font-size: .91em; letter-spacing: -.07em; color: var(--ocean); }
.hero[aria-labelledby] .hero-copy > p:not(.eyebrow) { max-width: 365px; color: #294e64; font-size: clamp(1.04rem, 1.42vw, 1.24rem); }
.hero .actions { margin-top: 30px; }

.fleet { padding-block: clamp(58px, 7vw, 96px); }
.fleet-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 28px; }
h2 { font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.05; letter-spacing: -.055em; }
.fleet-head h2 + p { margin-top: 10px; color: var(--muted); }
.demo-note { font-size: .83rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 25px 19px; }
.filters button {
    border: 1px solid var(--rule); border-radius: 100px; padding: 8px 15px; min-height: 42px;
    background: white; color: var(--ink); font-size: .9rem; font-weight: 690; cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}
.filters button:hover { border-color: var(--ocean); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fleet-grid { margin-top: 23px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.filters:not([hidden]) ~ .fleet-grid { margin-top: 0; }
.car-card { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: var(--radius); background: white; overflow: clip; transition: box-shadow .22s ease, transform .22s ease; }
.car-card:hover, .car-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.car-cover { display: block; position: relative; background: var(--sky); overflow: hidden; aspect-ratio: 3 / 2; }
.car-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.car-card:hover img { transform: scale(1.035); }
.badge { position: absolute; top: 12px; left: 12px; border-radius: 100px; padding: 4px 10px; color: var(--ink); background: #fff; font-size: .74rem; font-weight: 760; }
.car-info { display: flex; flex-direction: column; align-items: stretch; flex: 1; padding: 18px 15px 16px; }
.car-type { color: var(--deep); font-size: .86rem; font-weight: 700; }
.car-info h3 { margin-top: 4px; margin-bottom: 14px; font-size: clamp(1.19rem, 1.7vw, 1.5rem); line-height: 1.14; letter-spacing: -.032em; overflow-wrap: anywhere; }
.specs { display: grid; grid-template-columns: .8fr .85fr 1.35fr; gap: 7px; padding-bottom: 12px; margin-top: auto; }
.specs dt { font-size: .75rem; color: var(--muted); }
.specs dd { font-size: .88rem; font-weight: 700; }
.car-bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; column-gap: 9px; row-gap: 5px; border-top: 1px solid var(--rule); padding-top: 13px; }
.price strong { font-size: 1.22rem; line-height: 1; letter-spacing: -.025em; }
.price span, .price-text { font-size: .75rem; color: var(--muted); }
.price span:first-child { display: block; }
.detail-link { color: var(--deep); font-size: .85rem; font-weight: 760; }
.detail-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.car-cover:focus-visible { outline-offset: -5px; }
.empty { margin-top: 25px; color: var(--muted); }

.location { padding-bottom: clamp(54px, 7vw, 92px); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: 26px; overflow: clip; background: var(--sky); }
.location-grid > div { padding: clamp(28px, 5vw, 64px); }
.location-grid h2 { margin-top: 13px; font-size: clamp(2.05rem, 4vw, 3.4rem); }
.location-grid address { margin: 14px 0 22px; color: var(--muted); }
.location-grid > img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 65%; }
.footer { border-top: 1px solid var(--rule); background: #f6fbfd; padding-block: 27px 15px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 28px; }
.footer address, .muted-link, .footer-base { color: var(--muted); font-size: .85rem; }
.footer-base { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--rule); }
.vehicle-detail, .vehicle-empty { padding-block: 48px 85px; }
.vehicle-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); margin-top: 24px; }
.vehicle-photo { border-radius: var(--radius); }
.vehicle-copy h1, .vehicle-empty h1 { margin-block: 8px 16px; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.06em; overflow-wrap: anywhere; }
.vehicle-description { color: var(--muted); margin-bottom: 22px; overflow-wrap: anywhere; white-space: pre-line; }
.vehicle-copy .specs { padding-block: 15px; margin-block: 8px 19px; border-block: 1px solid var(--rule); }
.vehicle-copy .specs dd { font-size: 1rem; }
.vehicle-copy .price strong { font-size: 2rem; }
.vehicle-copy .demo-note, .vehicle-copy .actions { margin-top: 16px; }

@keyframes rise { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-photo { from { transform: scale(1.035); } to { transform: scale(1); } }
@media (max-width: 1120px) {
    .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .car-info { padding: 20px; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 36px); }
    .nav-layout { min-height: auto; grid-template-columns: 1fr auto; column-gap: 14px; row-gap: 0; padding-top: 11px; }
    .nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; margin-top: 10px; border-top: 1px solid var(--rule); gap: 6px; }
    .nav a { display: inline-flex; align-items: center; padding: 6px 0; min-height: 44px; }
    .nav-map { display: none; }
    .hero { display: flex; flex-direction: column; align-items: stretch; min-height: unset; }
    .hero-inner { order: 0; padding-block: 44px 28px; }
    .hero h1 { font-size: clamp(55px, 11vw, 80px); margin-block: 15px 18px; }
    .hero .actions { margin-top: 22px; }
    .hero-visual { order: 1; position: relative; z-index: 0; height: clamp(220px, 60vw, 420px); }
    .hero-visual img { object-position: 83% 68%; }
    .hero-visual::after { background: linear-gradient(180deg, #ebf9ff, transparent 28%); }
    .fleet-head { flex-direction: column; align-items: start; gap: 9px; }
    .location-grid, .vehicle-grid { grid-template-columns: 1fr; }
    .location-grid > img { height: 215px; }
}
@media (max-width: 520px) {
    .fleet-grid { grid-template-columns: 1fr; gap: 16px; }
    .button { padding-inline: 15px; }
    .footer-inner { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
