:root {
  --ink: #07101c;
  --navy: #061827;
  --navy-2: #0a2236;
  --blue: #098cff;
  --blue-dark: #0575d5;
  --muted: #647080;
  --line: #dde5ec;
  --paper: #fff;
  --soft: #f4f7fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Instrument Sans", "Avenir Next", sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3 { font-family: "Onest", "Instrument Sans", sans-serif; font-optical-sizing: auto; font-stretch: 100%; text-wrap: pretty; }
.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; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 17px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow-light { color: #c7e7ff; }
.button { min-height: 50px; padding: 0 25px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 650; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgb(9 140 255 / 25%); }
.button-primary:hover { background: var(--blue-dark); }
.button-small { min-height: 44px; padding-inline: 21px; font-size: 13px; }
.button-ghost { color: #fff; border: 1px solid rgb(255 255 255 / 70%); background: rgb(4 15 27 / 22%); backdrop-filter: blur(8px); }
.button-dark { color: #fff; background: var(--navy); }
.button-light { color: var(--navy); background: #fff; }
.button-outline { color: var(--navy); border: 1px solid #c8d4de; background: #fff; }
.full-button { width: 100%; }
.text-link { height: 45px; padding: 0 20px; border: 1px solid var(--blue); color: var(--blue); border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; white-space: nowrap; }

/* Header */
.site-header { height: 90px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 28px; background: rgb(255 255 255 / 97%); border-bottom: 1px solid rgb(5 19 33 / 8%); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.brand { width: 235px; height: 78px; display: flex; align-items: center; }
.brand img { width: 225px; height: auto; }
.site-header nav { display: flex; justify-content: center; gap: clamp(22px, 3vw, 46px); font-size: 14px; font-weight: 540; }
.site-header nav a { padding-block: 34px; transition: color .2s ease; }
.site-header nav a:hover { color: var(--blue); }
.header-actions, .hero-ctas { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); place-items: center; }

/* Home hero */
.hero { min-height: 760px; height: calc(100svh - 90px); max-height: 940px; position: relative; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.hero-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #04111d; }
.hero-slide { --ken-x: -1.8%; --ken-y: -1.1%; --ken-scale-start: 1.015; --ken-scale-end: 1.18; position: absolute; inset: -2%; z-index: 0; opacity: 0; transition: opacity 1.4s cubic-bezier(.45, 0, .2, 1); will-change: opacity; }
.hero-slide:nth-child(2) { --ken-x: 1.7%; --ken-y: -1.3%; }
.hero-slide:nth-child(3) { --ken-x: -1.4%; --ken-y: 1.1%; }
.hero-slide.is-previous { opacity: 1; z-index: 1; }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: var(--hero-position, center 54%); }
.hero-slide .hero-image { transform: translate3d(var(--ken-x), var(--ken-y), 0) scale(var(--ken-scale-end)); will-change: transform; }
.hero-slide.is-active .hero-image { animation: hero-ken-burns 3s linear both; }
@keyframes hero-ken-burns {
  from { transform: translate3d(0, 0, 0) scale(var(--ken-scale-start)); }
  to { transform: translate3d(var(--ken-x), var(--ken-y), 0) scale(var(--ken-scale-end)); }
}
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgb(4 25 44 / 38%), rgb(4 25 44 / 38%)), linear-gradient(90deg, rgb(1 11 20 / 94%) 0%, rgb(2 14 26 / 70%) 38%, rgb(2 14 26 / 18%) 70%, rgb(2 14 26 / 7%) 100%), linear-gradient(0deg, rgb(0 9 18 / 68%), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding: 0 0 92px; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(50px, 5.2vw, 78px); line-height: 1.08; letter-spacing: 0; font-weight: 720; }
.hero h1 span { color: var(--blue); }
.hero h1 + .hero-ctas { margin-top: 32px; }
.hero-stats { display: flex; gap: 0; margin: 60px 0 0; }
.hero-stats div { min-width: 180px; padding-right: 30px; margin-right: 30px; border-right: 1px solid rgb(255 255 255 / 20%); }
.hero-stats div:last-child { border: 0; }
.hero-stats dt { font-size: 25px; letter-spacing: -.02em; }
.hero-stats dd { margin: 4px 0 0; color: rgb(255 255 255 / 68%); font-size: 12px; }
.intro-strip { border-bottom: 1px solid var(--line); background: #fff; }
.intro-strip .page-shell { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.intro-strip p { margin: 0; color: #667383; font-size: 11px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.intro-strip i { width: 1px; height: 24px; background: var(--line); }
.preview-section { padding-block: 92px 44px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 46px; }
.preview-section h2, .section-heading h2, .story-copy h2, .content-section h2, .about-intro h2, .contact-details h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.12; letter-spacing: 0; font-weight: 700; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; margin: 0 0 7px; font-size: 15px; }
.featured-grid { width: min(1480px, calc(100% - 48px)); max-width: 1480px; padding-bottom: 110px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.inventory-all-button { min-width: 154px; box-shadow: 0 14px 34px rgb(9 140 255 / 32%); }
.featured-mobile-action { display: none; }

/* Vehicle cards */
.vehicle-card { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.vehicle-card:hover { transform: translateY(-5px); box-shadow: 0 23px 50px rgb(10 27 43 / 10%); }
.vehicle-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eef3; }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vehicle-card:hover .vehicle-media img { transform: scale(1.025); }
.vehicle-warranty { position: absolute; top: 13px; right: 13px; padding: 7px 10px; border-radius: 2px; color: #fff; background: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vehicle-card-body { padding: 21px 21px 19px; }
.vehicle-card-year { margin: 0 0 10px; color: #364a5e; font-size: 13px; font-weight: 750; letter-spacing: .025em; display: flex; align-items: center; gap: 8px; }
.vehicle-card-year::before { content: ""; width: 18px; height: 2px; flex: 0 0 auto; background: var(--blue); }
.vehicle-card h3 { min-height: 80px; margin: 0; font-size: 20px; line-height: 1.32; letter-spacing: .002em; font-weight: 700; }
.vehicle-card h3 a { display: grid; align-content: flex-start; gap: .05em; }
.vehicle-card h3 span { color: var(--ink); font: inherit; letter-spacing: inherit; }
.vehicle-card h3 .vehicle-title-main { white-space: nowrap; }
.vehicle-card h3 .vehicle-title-brand { color: var(--blue); }
.vehicle-card h3 .vehicle-title-variant { display: block; }
.vehicle-meta { margin-top: 18px; padding-block: 15px; border-block: 1px solid #e7ecf0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vehicle-meta span { min-width: 0; color: #5f6b78; font-size: 10px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vehicle-meta svg { flex: 0 0 auto; color: #8491a0; }
.vehicle-card-foot { padding-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.vehicle-card-foot strong { font-size: 22px; letter-spacing: -.03em; }
.vehicle-card-foot a { width: 38px; height: 38px; border: 1px solid var(--blue); color: var(--blue); border-radius: 50%; display: grid; place-items: center; }

/* Home story and services */
.split-story { width: 100%; max-width: none; min-height: 740px; margin: 0; position: relative; overflow: hidden; display: flex; align-items: stretch; justify-content: flex-start; isolation: isolate; }
.parallax-panel { background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed; }
.story-image { position: absolute; z-index: -1; inset: 0; min-height: 100%; overflow: hidden; background-image: url('../images/provjerena-rabljena-vozila-hrvatska.png'); background-position: center; }
.story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgb(2 15 25 / 44%), rgb(2 15 25 / 5%) 68%); }
.story-copy { width: min(720px, 52vw); min-height: 740px; margin-right: auto; padding: 75px clamp(44px, 5vw, 82px); position: relative; z-index: 2; background: rgb(248 250 252 / 50%); border-right: 1px solid rgb(255 255 255 / 48%); box-shadow: 22px 0 70px rgb(2 17 29 / 8%); backdrop-filter: blur(13px) saturate(110%); display: flex; flex-direction: column; justify-content: center; }
.story-copy .eyebrow { color: #fff; text-shadow: 0 2px 12px rgb(2 17 29 / 40%); }
.story-copy h2 em { color: #fff; font-family: inherit; font-weight: inherit; font-style: normal; text-shadow: 0 2px 16px rgb(2 17 29 / 30%); }
.page-hero h1 em { color: var(--blue); font-family: inherit; font-weight: inherit; font-style: normal; }
.story-copy > p:not(.eyebrow) { color: #24303e; font-size: 16px; font-weight: 500; line-height: 1.72; }
.trust-list { margin: 26px 0 30px; display: grid; gap: 18px; }
.trust-list div { display: flex; align-items: flex-start; gap: 14px; }
.trust-list svg { color: #fff; flex: 0 0 auto; filter: drop-shadow(0 2px 7px rgb(2 17 29 / 40%)); }
.trust-list span { color: #24303e; font-size: 14px; font-weight: 500; line-height: 1.45; }
.trust-list strong { display: block; color: var(--ink); font-size: 15px; font-weight: 700; }
.story-copy .button { align-self: flex-start; }
.services-section { padding-block: 110px; background: var(--navy); color: #fff; }
.section-heading.centered { max-width: 700px; margin: 0 auto 55px; text-align: center; }
.section-heading h2 { color: inherit; }
.section-heading.centered > p:last-child { max-width: 570px; margin: 18px auto 0; color: rgb(255 255 255 / 62%); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgb(255 255 255 / 13%); }
.service-grid article { position: relative; min-height: 285px; padding: 35px 28px; border-right: 1px solid rgb(255 255 255 / 13%); }
.service-grid article:last-child { border: 0; }
.service-grid svg { color: var(--blue); width: 44px; height: 44px; }
.service-grid h3 { margin: 60px 0 12px; font-size: 20px; letter-spacing: .006em; font-weight: 700; }
.service-grid p { margin: 0; color: rgb(255 255 255 / 58%); font-size: 13px; line-height: 1.7; }
.inventory-cta, .simple-cta { width: 100%; max-width: none; margin: 120px 0 0; min-height: 430px; padding: 75px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: scroll, fixed; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.inventory-cta { background-image: linear-gradient(105deg, rgb(3 19 32 / 96%), rgb(4 43 70 / 58%)), url('../images/ambijentalna-voznja-jadran.png'); }
.simple-cta { background-image: linear-gradient(105deg, rgb(3 19 32 / 96%), rgb(4 43 70 / 56%)), url('../images/provjerena-rabljena-vozila-hrvatska.png'); }
.inventory-cta h2, .simple-cta h2 { margin: 0; font-size: clamp(38px, 4vw, 57px); line-height: 1.1; letter-spacing: 0; font-weight: 700; }
.inventory-cta p:not(.eyebrow), .simple-cta p:not(.eyebrow) { color: rgb(255 255 255 / 68%); }

/* Inner pages */
.page-hero { min-height: 365px; padding-block: 80px; color: #fff; background-color: #04121f; background-image: linear-gradient(90deg, rgb(1 11 20 / 95%) 0%, rgb(3 23 40 / 82%) 45%, rgb(4 28 48 / 54%) 100%), url('../images/auto-identity-premium-rabljeni-automobili-zagreb.png'); background-repeat: no-repeat; background-size: cover; background-position: center 54%; display: flex; align-items: center; }
.page-hero h1 { margin: 0; max-width: 920px; font-size: clamp(48px, 5.7vw, 76px); line-height: 1.08; letter-spacing: 0; font-weight: 720; }
.page-hero .page-shell > p:not(.eyebrow) { max-width: 630px; margin: 23px 0 0; color: rgb(255 255 255 / 67%); line-height: 1.65; }

/* Inventory */
.inventory { padding-block: 62px 110px; }
.inventory-layout { display: grid; grid-template-columns: minmax(235px, 270px) minmax(0, 1fr); gap: 30px; align-items: start; }
.inventory-mobile-controls { display: none; }
.inventory-filters { position: sticky; top: 110px; padding: 20px 18px; background: var(--soft); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 10px; }
.inventory-filter-heading { margin-bottom: 3px; display: flex; align-items: center; gap: 9px; color: var(--ink); }
.inventory-filter-heading svg { color: var(--blue); }
.inventory-filter-heading h2 { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 700; }
.inventory-filters label { min-width: 0; }
.inventory-filters label > span { display: block; margin-bottom: 7px; color: #667483; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.inventory-filters input, .inventory-filters select, .inventory-toolbar select { width: 100%; height: 44px; border: 1px solid #cfdae3; border-radius: 1px; background: #fff; color: var(--ink); padding: 0 14px; outline: none; font-size: 13px; }
.inventory-filters input:focus, .inventory-filters select:focus { border-color: var(--blue); }
.search-field > div { position: relative; }
.search-field svg { position: absolute; top: 14px; left: 14px; color: #84909c; }
.search-field input { padding-left: 42px; }
.reset-filters-button { width: 100%; min-height: 44px; margin-top: 3px; border: 1px solid #b7c6d2; background: transparent; color: #32485b; font: inherit; font-size: 12px; font-weight: 680; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.reset-filters-button:hover { color: #fff; border-color: var(--navy); background: var(--navy); }
.reset-filters-button:focus-visible { outline: 3px solid rgb(0 143 255 / 24%); outline-offset: 2px; }
.inventory-results { min-width: 0; }
.inventory-toolbar { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.inventory-toolbar p { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.inventory-toolbar label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.inventory-toolbar select { width: 180px; height: 40px; padding-block: 0; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.empty-state { padding: 100px 20px; text-align: center; background: var(--soft); }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { color: var(--muted); }

/* Vehicle detail */
.vehicle-page { padding-block: 30px 100px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.vehicle-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, .72fr); gap: 38px; align-items: start; }
.vehicle-gallery { min-width: 0; }
.gallery-main { width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; position: relative; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-expand { min-height: 38px; padding: 0 14px; border: 1px solid rgb(255 255 255 / 34%); border-radius: 999px; position: absolute; right: 16px; bottom: 16px; color: #fff; background: rgb(3 17 29 / 68%); box-shadow: 0 9px 24px rgb(1 10 18 / 22%); backdrop-filter: blur(10px); display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 650; }
.gallery-expand svg { width: 15px; }
.gallery-thumbs-carousel { margin-top: 10px; min-width: 0; }
.gallery-thumbs-carousel.has-navigation { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 8px; align-items: stretch; }
.gallery-thumbs { min-width: 0; overflow-x: auto; display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 7.5px); gap: 10px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; position: relative; background: var(--soft); overflow: hidden; opacity: .68; scroll-snap-align: start; }
.gallery-thumbs button.active { border-color: var(--blue); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs-nav { min-width: 0; padding: 0; border: 1px solid var(--line); color: var(--ink); background: #fff; display: grid; place-items: center; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.gallery-thumbs-nav:hover { border-color: var(--blue); color: var(--blue); background: #f4f9fd; }
.gallery-thumbs-nav svg { width: 18px; height: 18px; }
.gallery-empty { min-height: 280px; padding: 30px; color: var(--muted); background: var(--soft); display: grid; place-items: center; text-align: center; }
.vehicle-lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: max(16px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); border: 0; position: fixed; inset: 0; z-index: 1000; color: #fff; background: rgb(1 8 14 / 97%); backdrop-filter: blur(16px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.vehicle-lightbox:not([open]) { display: none; }
.vehicle-lightbox::backdrop { background: rgb(1 8 14 / 82%); }
.vehicle-lightbox-image img { width: 100%; height: 100%; display: block; }
.vehicle-lightbox-top { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vehicle-lightbox-top > div { min-width: 0; display: flex; align-items: baseline; gap: 14px; }
.vehicle-lightbox-top strong { overflow: hidden; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-lightbox-top span { flex: 0 0 auto; color: rgb(255 255 255 / 52%); font-size: 11px; }
.vehicle-lightbox-close, .vehicle-lightbox-nav { padding: 0; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; color: #fff; background: rgb(255 255 255 / 8%); display: grid; place-items: center; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.vehicle-lightbox-close { width: 46px; height: 46px; flex: 0 0 auto; }
.vehicle-lightbox-close svg { width: 22px; }
.vehicle-lightbox-close:hover, .vehicle-lightbox-nav:hover { border-color: rgb(255 255 255 / 58%); background: rgb(255 255 255 / 15%); }
.vehicle-lightbox-stage { min-height: 0; position: relative; display: grid; place-items: center; touch-action: none; }
.vehicle-lightbox-image { width: calc(100% - 160px); height: 100%; position: relative; }
.vehicle-lightbox-image img { object-fit: contain; }
.vehicle-lightbox-nav { width: 54px; height: 54px; position: absolute; top: 50%; transform: translateY(-50%); }
.vehicle-lightbox-nav:hover { transform: translateY(-50%) scale(1.04); }
.vehicle-lightbox-nav svg { width: 28px; }
.vehicle-lightbox-nav.is-previous { left: 6px; }
.vehicle-lightbox-nav.is-next { right: 6px; }
.vehicle-lightbox-help { margin: 10px 0 0; color: rgb(255 255 255 / 45%); font-size: 10px; text-align: center; }
.vehicle-summary { position: sticky; top: 104px; padding: 31px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 50px rgb(4 24 39 / 8%); }
.vehicle-summary h1 { margin: 0 0 24px; font-size: 38px; line-height: 1.12; letter-spacing: 0; font-weight: 720; }
.vehicle-summary h1 span { display: block; margin-top: 7px; color: var(--muted); font-size: 20px; font-weight: 560; letter-spacing: 0; }
.summary-price { padding-block: 21px; border-block: 1px solid var(--line); font-size: 31px; font-weight: 650; letter-spacing: -.035em; }
.summary-price small { display: block; margin-top: 5px; color: #88939f; font-size: 10px; font-weight: 500; letter-spacing: .03em; }
.summary-highlights { padding: 21px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.summary-highlights span { color: var(--muted); font-size: 10px; text-align: center; }
.summary-highlights svg { display: block; width: 19px; height: 19px; margin: 0 auto 7px; color: var(--blue); }
.warranty-box { padding: 13px 14px; color: #165a36; background: #edf8f2; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.warranty-box svg { width: 18px; }
.vehicle-summary .button { margin-top: 10px; }
.summary-code { margin: 16px 0 0; color: #909aa4; font-size: 10px; text-align: center; }
.vehicle-info-grid { margin-block: 78px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.vehicle-info-grid h2 { margin: 0 0 28px; font-size: 32px; line-height: 1.16; letter-spacing: 0; font-weight: 700; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.spec-grid > div { min-height: 90px; padding: 18px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.spec-grid > div:nth-child(2n) { border-right: 0; }
.spec-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-grid svg { color: var(--blue); flex: 0 0 auto; }
.spec-grid span { color: var(--muted); font-size: 10px; }
.spec-grid strong { display: block; margin-top: 4px; color: var(--ink); font-size: 14px; font-weight: 600; }
.feature-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.feature-list li { min-height: 42px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: #45515f; font-size: 13px; display: flex; gap: 9px; align-items: center; }
.feature-list svg { color: var(--blue); flex: 0 0 auto; }
.purchase-panel { padding: 62px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(55px, 7vw, 100px); align-items: center; }
.purchase-panel h2 { margin: 0; max-width: 780px; font-size: clamp(30px, 3vw, 43px); line-height: 1.18; letter-spacing: 0; font-weight: 700; }
.purchase-panel-note { max-width: 640px; margin: 20px 0 0; color: rgb(255 255 255 / 68%); font-size: 15px; line-height: 1.65; }
.purchase-actions { padding-left: clamp(35px, 4vw, 65px); border-left: 1px solid rgb(255 255 255 / 15%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.purchase-actions .button { width: 100%; min-height: 0; padding: 18px; border-radius: 3px; justify-content: center; text-align: center; }
.purchase-actions .button > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 700; }
.purchase-actions .button svg { width: 25px; height: 25px; }
.purchase-action-call, .purchase-action-email { aspect-ratio: 1; }
.purchase-action-whatsapp { grid-column: 1 / -1; min-height: 68px; }
.purchase-actions .purchase-action-whatsapp > span { flex-direction: row; gap: 11px; }
.purchase-action-whatsapp svg { width: 20px; height: 20px; }
.purchase-action-call { color: var(--navy); background: #fff; }
.purchase-action-email { color: #fff; border: 1px solid rgb(255 255 255 / 38%); background: rgb(255 255 255 / 7%); }
.purchase-action-whatsapp { color: #052b18; background: #5be08f; }
.purchase-action-call:hover { background: #eef6fc; }
.purchase-action-email:hover { background: rgb(255 255 255 / 14%); }
.purchase-action-whatsapp:hover { background: #70e79e; }
.vehicle-description { max-width: 850px; margin: 0 0 75px; }
.vehicle-description h2 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
.vehicle-description > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.8; }

/* Forms and content pages */
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { color: #50606f; font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; padding: 14px; border: 1px solid #d1dce4; border-radius: 1px; color: var(--ink); background: #fff; outline: none; }
.contact-form input { height: 48px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); }
.contact-form .button { justify-self: start; }
.contact-form .button:disabled { cursor: wait; opacity: .7; transform: none; }
.privacy-check { margin-top: 2px; display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; line-height: 1.55; letter-spacing: 0 !important; }
.privacy-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.privacy-check span { font-size: 11px; font-weight: 500; }
.privacy-check a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.optional-label { margin-left: 4px; color: #929ca6; font-size: 9px; font-weight: 500; text-transform: none; }
.contact-honeypot { width: 1px; height: 1px; position: absolute; left: -10000px; overflow: hidden; }
.contact-data-note { margin: -6px 0 0 29px; color: #7b8794; font-size: 10px; line-height: 1.5; }
.contact-alert { margin: 0 0 17px; padding: 13px 15px; border: 1px solid; font-size: 11px; line-height: 1.55; }
.contact-alert.is-success { color: #1f6b43; border-color: #bce7ce; background: #e9f7ef; }
.contact-alert.is-error { color: #8f2525; border-color: #f0c1c1; background: #fff0f0; }
.form-note { margin: 0; color: #287349; font-size: 12px; display: flex; gap: 7px; align-items: center; }
.content-section { padding-block: 105px; }
.content-section > .section-heading { max-width: 650px; margin-bottom: 52px; }
.large-service-list { border-top: 1px solid var(--line); }
.large-service-list article { min-height: 155px; padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 25px; }
.large-service-list article > span { color: #9aa6b1; font-size: 11px; }
.large-service-list svg { color: var(--blue); width: 28px; height: 28px; }
.large-service-list h3 { margin: 0 0 7px; font-size: 23px; letter-spacing: 0; font-weight: 650; }
.large-service-list p { max-width: 750px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.about-intro { width: 100%; max-width: none; min-height: 720px; margin: 120px 0 0; padding: 0; position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: stretch; justify-content: flex-end; background: transparent; }
.about-visual { min-height: 100%; position: absolute; z-index: -1; inset: 0; overflow: hidden; background-image: url('../images/ambijentalna-voznja-jadran.png'); }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(2 15 25 / 34%), rgb(2 15 25 / 4%) 68%); }
.about-visual-title { width: 48vw; min-height: 720px; padding: 60px clamp(32px, 5vw, 82px); position: absolute; z-index: 1; inset: 0 auto 0 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.about-visual-title h2 { max-width: 560px; margin: 0; color: #fff; font-size: clamp(38px, 4vw, 58px); line-height: 1.12; font-weight: 700; text-shadow: 0 3px 22px rgb(1 13 23 / 55%); }
.about-intro > div:last-child { width: min(720px, 52vw); min-height: 720px; margin-left: auto; padding: 80px clamp(42px, 6vw, 92px); position: relative; z-index: 2; background: rgb(248 250 252 / 86%); border-left: 1px solid rgb(255 255 255 / 58%); box-shadow: -22px 0 70px rgb(2 17 29 / 8%); backdrop-filter: blur(15px) saturate(115%); display: flex; flex-direction: column; justify-content: center; }
.about-copy h2 { margin-bottom: 32px; }
.about-intro > div:last-child > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.about-intro .button { margin-top: 15px; }
.values-section { padding-block: 90px; background: var(--soft); }
.values-section .page-shell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.values-section svg { color: var(--blue); width: 30px; height: 30px; }
.values-section h3 { margin: 30px 0 11px; font-size: 21px; letter-spacing: 0; font-weight: 650; }
.values-section p { color: var(--muted); font-size: 14px; line-height: 1.72; }
.contact-layout { padding-block: 105px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.contact-details > p:not(.eyebrow) { max-width: 530px; color: var(--muted); line-height: 1.75; }
.contact-description-spacer { height: 56px; margin-block: 16px; }
.contact-details > a { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 17px; }
.contact-details > a svg { width: 19px; color: var(--blue); }
.contact-details > a span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact-details > a strong { display: block; margin-top: 4px; color: var(--ink); font-size: 14px; text-transform: none; letter-spacing: 0; }
.legal-card { margin-top: 27px; padding: 22px; background: var(--soft); font-size: 12px; }
.legal-card p { margin: 7px 0 0; color: var(--muted); line-height: 1.6; }
.contact-layout > div:last-child { padding: 38px; background: var(--soft); }
.map-strip { padding: 33px; color: #fff; background: var(--blue); text-align: center; }
.map-strip a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* Privacy and cookies */
.legal-page { padding-block: 105px 125px; display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: clamp(65px, 9vw, 130px); align-items: start; }
.legal-summary { padding: 34px; position: sticky; top: 120px; border: 1px solid var(--line); background: var(--soft); }
.legal-summary h2 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 39px); line-height: 1.15; font-weight: 720; }
.legal-summary > p:not(.eyebrow, .legal-updated) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-summary .cookie-settings-button { min-height: 46px; margin-top: 26px; padding: 0 18px; border: 1px solid var(--blue); border-radius: 999px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 700; }
.legal-updated { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #8a96a2; font-size: 10px; }
.legal-copy { max-width: 790px; }
.legal-copy section { padding: 0 0 50px; margin: 0 0 50px; border-bottom: 1px solid var(--line); }
.legal-copy section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal-copy h2 { margin: 0 0 20px; font-size: clamp(27px, 3vw, 38px); line-height: 1.2; font-weight: 720; }
.legal-copy p { margin: 0 0 16px; color: #4f5d6b; font-size: 15px; line-height: 1.8; }
.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy code { padding: 2px 6px; border-radius: 3px; color: var(--navy); background: #eaf1f7; font-size: .88em; }
.legal-number { margin: 0 0 10px !important; color: var(--blue) !important; font-size: 10px !important; font-weight: 750; letter-spacing: .18em; }
.cookie-table-wrap { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; min-width: 660px; }
.cookie-table th, .cookie-table td { padding: 17px 15px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.cookie-table th { color: #778391; background: var(--soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.cookie-table td { color: #4f5d6b; font-size: 12px; line-height: 1.6; }

.cookie-notice { width: min(430px, calc(100vw - 32px)); padding: 28px; position: fixed; z-index: 1000; left: 20px; bottom: 20px; color: #fff; border: 1px solid rgb(255 255 255 / 15%); border-radius: 4px; background: rgb(4 17 29 / 96%); box-shadow: 0 24px 70px rgb(0 10 20 / 32%); backdrop-filter: blur(18px); }
.cookie-notice > svg { width: 30px; height: 30px; margin-bottom: 22px; color: var(--blue); }
.cookie-notice .eyebrow { margin-bottom: 12px; color: #8bcaff; }
.cookie-notice h2 { max-width: 330px; margin: 0 0 13px; font-size: 27px; line-height: 1.2; font-weight: 720; }
.cookie-notice > p:not(.eyebrow) { margin: 0; color: rgb(255 255 255 / 72%); font-size: 12px; line-height: 1.65; }
.cookie-links { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.cookie-links a { color: #9ed2ff; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions button { min-height: 46px; padding: 0 18px; border: 1px solid rgb(255 255 255 / 58%); border-radius: 999px; color: #fff; background: rgb(255 255 255 / 7%); font-size: 12px; font-weight: 700; }
.cookie-actions button:hover { border-color: #fff; background: rgb(255 255 255 / 13%); }
.cookie-settings-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; }

/* Administration */
body:has(.admin-app) > .site-header, body:has(.admin-app) > .site-footer, body:has(.login-page) > .site-header, body:has(.login-page) > .site-footer { display: none; }
.login-page { min-height: 100svh; padding: 70px 24px; color: #fff; background: linear-gradient(115deg, rgb(3 17 29 / 96%), rgb(5 47 75 / 78%)), url('../images/ambijentalna-voznja-jadran.png') center / cover fixed; display: grid; place-items: center; }
.login-panel { width: min(480px, 100%); padding: 48px; color: var(--ink); background: rgb(255 255 255 / 96%); box-shadow: 0 35px 90px rgb(0 11 20 / 28%); backdrop-filter: blur(12px); }
.login-mark { width: 48px; height: 48px; margin-bottom: 28px; border-radius: 50%; color: #fff; background: var(--blue); display: grid; place-items: center; }
.login-brand { width: min(290px, 100%); margin: 0 auto 34px; }
.login-brand img { width: 100%; height: auto; display: block; }
.login-panel h1, .admin-shell h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; letter-spacing: 0; font-weight: 720; }
.login-panel > p:not(.eyebrow, .login-error) { color: var(--muted); line-height: 1.65; }
.login-error { padding: 12px 14px; color: #8f2525; background: #fff0f0; font-size: 12px; }
.local-auth-code { margin: 20px 0; padding: 18px; border: 1px solid rgb(20 132 255 / 30%); color: var(--ink); background: #edf7ff; display: grid; gap: 5px; }
.local-auth-code span, .local-auth-code small { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.local-auth-code strong { font-size: 28px; letter-spacing: .18em; overflow-wrap: anywhere; }
.local-auth-recovery strong { font-size: 15px; letter-spacing: .04em; }
.local-auth-recovery strong:last-of-type { font-size: 28px; letter-spacing: .18em; }
.admin-local-code { max-width: 520px; margin-bottom: 26px; }
.admin-login-form { margin-top: 26px; display: grid; gap: 17px; }
.admin-login-form label { color: #566574; font-size: 11px; font-weight: 650; }
.admin-login-form input { width: 100%; height: 50px; margin-top: 7px; padding: 0 14px; border: 1px solid #cad6df; background: #fff; outline: none; }
.admin-login-form input:focus { border-color: var(--blue); }
.admin-login-form .button { margin-top: 5px; }
.forgot-link { margin-top: 19px; color: var(--blue); font-size: 12px; font-weight: 650; display: inline-block; }
.admin-app { min-height: 100svh; background: #f1f5f8; display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.admin-nav { height: 100svh; padding: 32px 25px; color: #fff; background: var(--navy); position: sticky; top: 0; display: flex; flex-direction: column; }
.admin-logo { width: 235px; margin-bottom: 25px; display: block; }
.admin-logo img { width: 100%; height: auto; display: block; }
.admin-nav > p { margin: 0 0 32px; color: rgb(255 255 255 / 48%); font-size: 10px; }
.admin-nav > p strong { display: block; margin-top: 4px; color: #fff; font-size: 13px; }
.admin-nav nav { display: grid; gap: 6px; }
.admin-nav nav a, .admin-nav form button { min-height: 46px; padding: 0 13px; border: 0; border-radius: 3px; color: rgb(255 255 255 / 70%); background: transparent; display: flex; align-items: center; gap: 11px; font-size: 12px; text-align: left; }
.admin-nav nav a:hover { color: #fff; background: rgb(255 255 255 / 8%); }
.admin-nav svg { width: 17px; }
.admin-nav form { margin-top: auto; }
.admin-nav form button { width: 100%; cursor: pointer; }
.admin-content { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding-block: 58px 90px; }
.admin-heading { margin-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.admin-heading h1 { margin: 0; font-size: clamp(40px, 5vw, 62px); font-weight: 720; }
.admin-heading > div > p:last-child { margin: 10px 0 0; color: var(--muted); }
.admin-success { padding: 14px 17px; color: #1f6b43; background: #e9f7ef; border: 1px solid #bce7ce; font-size: 12px; }
.admin-featured-save { margin-bottom: 14px; padding: 16px 18px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-featured-save p { margin: 0; display: grid; gap: 3px; }
.admin-featured-save strong { color: var(--ink); font-size: 14px; }
.admin-featured-save span { color: var(--muted); font-size: 10px; }
.admin-inventory-group { margin-top: 28px; }
.admin-list-heading { margin-bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.admin-list-heading .eyebrow { margin-bottom: 5px; }
.admin-list-heading h2 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 720; }
.admin-list-heading > span { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 50%; color: #496071; background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.admin-archive-group { margin-top: 48px; padding-top: 36px; border-top: 1px solid #ccd8e1; }
.admin-empty-state { margin: 0; padding: 28px; border: 1px dashed #b8c7d2; color: var(--muted); background: rgb(255 255 255 / 50%); font-size: 12px; text-align: center; }
.admin-vehicle-list { display: grid; gap: 10px; }
.admin-vehicle-list article { min-height: 112px; padding: 10px 15px 10px 10px; border: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: center; }
.admin-vehicle-list article.is-archived { background: #f9fbfc; }
.admin-vehicle-list article.is-archived > img { filter: saturate(.68); }
.admin-vehicle-list article > img { width: 130px; height: 92px; object-fit: cover; background: var(--soft); }
.admin-vehicle-list article > div:nth-child(2) > span { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-vehicle-list h2 { margin: 5px 0; font-size: 18px; font-weight: 680; }
.admin-vehicle-list p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-card-actions { display: flex; align-items: center; gap: 14px; }
.admin-featured-toggle { min-width: 118px; padding-right: 14px; border-right: 1px solid var(--line); display: grid; justify-items: center; gap: 7px; cursor: pointer; }
.admin-featured-toggle span { color: #536677; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.admin-featured-toggle input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.admin-featured-toggle.is-disabled { opacity: .38; cursor: not-allowed; }
.admin-featured-toggle.is-disabled input { cursor: not-allowed; }
.admin-row-actions { display: flex; gap: 8px; }
.admin-row-actions a, .admin-row-actions button { width: 39px; height: 39px; padding: 0; border: 1px solid var(--line); color: #4f6170; background: #fff; display: grid; place-items: center; }
.admin-row-actions button { color: #b43535; cursor: pointer; }
.admin-row-actions .admin-archive-button { color: #8a6422; }
.admin-row-actions .admin-activate-button { color: #197149; }
.admin-row-actions svg { width: 16px; }
.vehicle-editor, .settings-form { display: grid; gap: 18px; }
.vehicle-editor > section, .settings-form > section, .narrow-settings { padding: 32px; border: 1px solid var(--line); background: #fff; }
.admin-section-title { margin-bottom: 25px; display: flex; gap: 17px; align-items: flex-start; }
.admin-section-title > span { padding-top: 4px; color: var(--blue); font-size: 10px; font-weight: 700; }
.admin-section-title h2, .settings-form h2 { margin: 0 0 4px; font-size: 21px; font-weight: 700; }
.admin-section-title p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.admin-form-grid label, .admin-autocomplete > label, .settings-form > label, .settings-confirm label { color: #556473; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.admin-form-grid input:not([type="checkbox"]), .admin-form-grid select, .admin-form-grid textarea, .settings-form input { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #ccd7df; background: #fff; outline: none; color: var(--ink); }
.admin-form-grid input:not([type="checkbox"]), .admin-form-grid select, .settings-form input { height: 48px; }
.admin-form-grid textarea { resize: vertical; line-height: 1.55; }
.admin-form-grid input:focus, .admin-form-grid select:focus, .admin-form-grid textarea:focus, .settings-form input:focus { border-color: var(--blue); }
.admin-form-grid .span-2 { grid-column: 1 / -1; }
.admin-autocomplete { min-width: 0; position: relative; }
.admin-autocomplete-control { position: relative; }
.admin-autocomplete-list { max-height: 270px; padding: 6px; border: 1px solid #bdcbd6; position: absolute; z-index: 40; top: calc(100% + 4px); right: 0; left: 0; overflow-y: auto; background: #fff; box-shadow: 0 18px 38px rgb(4 20 34 / 17%); }
.admin-autocomplete-list button { width: 100%; min-height: 38px; padding: 8px 10px; border: 0; color: #263746; background: transparent; text-align: left; font-size: 13px; cursor: pointer; }
.admin-autocomplete-list button:hover, .admin-autocomplete-list button[aria-selected="true"] { color: var(--ink); background: #eaf5ff; }
.admin-autocomplete-list p { margin: 0; padding: 12px 10px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.check-label { min-height: 44px; padding: 12px 14px; border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.check-label input { accent-color: var(--blue); }
.admin-photo-manager { display: grid; gap: 14px; }
.admin-photo-input { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.admin-photo-dropzone { width: 100%; min-height: 118px; padding: 22px 25px; border: 1px dashed #8da5b7; color: #40586a; background: #f2f7fa; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.admin-photo-dropzone:hover, .admin-photo-dropzone.is-active { border-color: var(--blue); background: #eaf5ff; box-shadow: inset 0 0 0 1px rgb(20 132 255 / 16%); }
.admin-photo-dropzone:disabled { border-color: #8db9dc; background: #eaf5ff; cursor: wait; }
.admin-photo-dropzone > svg { width: 29px; height: 29px; color: var(--blue); }
.admin-photo-dropzone > span { display: grid; gap: 3px; }
.admin-photo-dropzone strong { color: var(--ink); font-size: 13px; }
.admin-photo-dropzone small { color: var(--muted); font-size: 10px; }
.admin-photo-dropzone > b { min-width: 58px; padding: 8px 9px; border: 1px solid #c5d3dd; color: #40586a; background: #fff; font-size: 10px; text-align: center; }
.admin-photo-message { margin: 0; padding: 10px 12px; color: #8f2525; background: #fff0f0; font-size: 11px; }
.admin-photo-help { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-photo-card { min-width: 0; border: 1px solid #c9d5de; background: #fff; cursor: grab; transition: opacity .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.admin-photo-card:hover { border-color: #90a9bb; box-shadow: 0 8px 20px rgb(4 27 46 / 8%); }
.admin-photo-card:active { cursor: grabbing; }
.admin-photo-card.is-dragging { opacity: .45; border-color: var(--blue); transform: scale(.98); }
.admin-photo-preview { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--soft); }
.admin-photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-photo-preview > span { padding: 5px 7px; color: #fff; background: rgb(2 18 31 / 84%); position: absolute; z-index: 2; top: 7px; left: 7px; font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.admin-photo-card:first-child .admin-photo-preview > span { background: var(--blue); }
.admin-photo-card-footer { min-height: 38px; padding: 5px 6px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 5px; align-items: center; }
.admin-photo-card-footer > svg { width: 14px; color: #8093a2; }
.admin-photo-card-footer > span { min-width: 0; overflow: hidden; color: #637382; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-photo-card-footer > div { display: flex; gap: 3px; }
.admin-photo-card-footer button { width: 24px; height: 24px; padding: 0; border: 1px solid #d4dee5; color: #526878; background: #fff; display: grid; place-items: center; cursor: pointer; }
.admin-photo-card-footer button:last-child { color: #b43535; }
.admin-photo-card-footer button:disabled { opacity: .25; cursor: default; }
.admin-photo-card-footer button svg { width: 11px; }
.admin-photo-urls { margin-top: 19px; }
.admin-form-actions { position: sticky; bottom: 0; padding: 18px 0; background: rgb(241 245 248 / 92%); backdrop-filter: blur(12px); display: flex; justify-content: flex-end; gap: 10px; z-index: 5; }
.settings-form small, .admin-login-form small { display: block; margin-top: 7px; color: #8995a0; font-size: 9px; line-height: 1.45; }
.settings-confirm label { max-width: 520px; display: block; }
.narrow-settings { max-width: 560px; }

/* Footer */
.site-footer { padding-top: 70px; color: #fff; background: #04111d; }
.footer-main { padding-bottom: 60px; display: grid; grid-template-columns: 1.3fr .7fr 1.15fr .75fr; gap: 55px; }
.footer-logo { width: min(100%, 315px); display: inline-flex; align-items: center; }
.footer-brand img { width: 100%; height: auto; display: block; }
.footer-main h2 { margin: 4px 0 22px; color: rgb(255 255 255 / 42%); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.footer-main > div:not(.footer-brand) > a { margin: 0 0 12px; color: rgb(255 255 255 / 77%); font-size: 12px; display: flex; align-items: flex-start; gap: 8px; }
.footer-main > div > p { color: rgb(255 255 255 / 57%); font-size: 12px; line-height: 1.6; }
.footer-main b { color: #fff; font-weight: 540; }
.footer-external { color: #78bdff !important; margin-top: 24px !important; }
.footer-main .admin-link { margin-top: 22px !important; color: #78bdff !important; }
.footer-bottom { min-height: 72px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 10%); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-bottom p { margin: 0; color: rgb(255 255 255 / 38%); font-size: 10px; }
.footer-legal-links { display: flex; align-items: center; justify-content: center; gap: 18px; color: rgb(255 255 255 / 62%); font-size: 10px; }
.footer-legal-links a:hover, .footer-legal-links button:hover { color: #fff; }
.not-found { min-height: 65vh; padding-block: 120px; }
.not-found h1 { margin: 0 0 35px; font-size: clamp(44px, 7vw, 80px); }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; position: absolute; top: 89px; left: 0; right: 0; padding: 20px 24px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgb(5 22 37 / 10%); flex-direction: column; gap: 0; }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: 13px 0; }
  .menu-toggle { display: grid; }
  .featured-grid, .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-section { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .preview-section .text-link { justify-self: start; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / 13%); }
  .inventory-layout { grid-template-columns: minmax(220px, 245px) minmax(0, 1fr); gap: 24px; }
  .vehicle-layout { grid-template-columns: 1fr; }
  .vehicle-summary { position: static; }
  .vehicle-info-grid { gap: 45px; }
  .footer-main { grid-template-columns: 1.2fr .8fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition-duration: .01ms; }
  .hero-slide .hero-image,
  .hero-slide.is-active .hero-image { animation: none; transform: scale(1.04); }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 32px, 1180px); }
  .site-header { height: 82px; padding-inline: 16px; }
  .site-header nav { top: 81px; }
  .brand { height: 72px; width: 212px; }
  .brand img { width: 205px; }
  .desktop-cta { display: none; }
  .hero { min-height: 560px; height: calc(82svh - 82px); max-height: 680px; align-items: flex-end; }
  .hero-slider { background: var(--navy-2); }
  .hero-slider::after { content: ""; position: absolute; inset: 46% 0 auto; z-index: 3; height: 22%; pointer-events: none; background: linear-gradient(180deg, rgb(10 34 54 / 0%) 0%, rgb(10 34 54 / 58%) 48%, var(--navy-2) 100%); }
  .hero-slide { --ken-scale-start: 1; --ken-scale-end: 1.055; inset: -1.5%; }
  .hero-slide:nth-child(1) { --ken-x: -.75%; --ken-y: -.35%; }
  .hero-slide:nth-child(2) { --ken-x: .75%; --ken-y: -.35%; }
  .hero-slide:nth-child(3) { --ken-x: -.65%; --ken-y: .35%; }
  .hero-slide .hero-image { width: 100% !important; height: 64% !important; bottom: auto !important; }
  .hero-image { object-position: var(--hero-mobile-position, 60% 54%); }
  .hero-shade { background: linear-gradient(rgb(4 25 44 / 22%), rgb(4 25 44 / 22%)), linear-gradient(0deg, rgb(1 11 20 / 88%) 0%, rgb(1 11 20 / 58%) 62%, rgb(1 11 20 / 8%) 100%); }
  .hero-content { padding: 90px 0 48px; }
  .hero h1 { font-size: 45px; }
  .hero-ctas { align-items: stretch; flex-direction: column; }
  .intro-strip { padding-block: 12px; background: #fff; }
  .intro-strip .page-shell { width: min(100% - 24px, 1180px); min-height: 0; padding-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .intro-strip p { min-height: 66px; padding: 12px 10px 12px 39px; position: relative; border: 1px solid #dfe8ef; border-radius: 5px; background: linear-gradient(145deg, #fff, #f5f8fb); box-shadow: 0 7px 18px rgb(6 24 39 / 5%); display: flex; align-items: center; line-height: 1.4; font-size: 9px; letter-spacing: .06em; }
  .intro-strip p::before { content: "✓"; width: 20px; height: 20px; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); border: 1px solid rgb(9 140 255 / 30%); border-radius: 50%; color: var(--blue); background: rgb(9 140 255 / 7%); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
  .intro-strip i { display: none; }
  .preview-section { padding-block: 65px 35px; }
  .preview-section .inventory-all-button { display: none; }
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .featured-grid { width: min(100% - 32px, 1480px); padding-bottom: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .featured-mobile-action { padding-bottom: 70px; display: block; }
  .featured-mobile-action .inventory-all-button { width: 100%; }
  .featured-grid .vehicle-card-body { padding: 14px 11px 13px; }
  .featured-grid .vehicle-card h3 { min-height: 62px; font-size: 14px; line-height: 1.28; }
  .featured-grid .vehicle-card h3 .vehicle-title-main { overflow: hidden; text-overflow: ellipsis; }
  .featured-grid .vehicle-card-year { margin-bottom: 7px; font-size: 10px; gap: 6px; }
  .featured-grid .vehicle-card-year::before { width: 13px; }
  .featured-grid .vehicle-warranty { display: none; }
  .featured-grid .vehicle-meta { margin-top: 10px; padding-block: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .featured-grid .vehicle-meta span { font-size: 8px; gap: 4px; }
  .featured-grid .vehicle-meta span:last-child { display: none; }
  .featured-grid .vehicle-meta svg { width: 12px; }
  .featured-grid .vehicle-card-foot { padding-top: 12px; }
  .featured-grid .vehicle-card-foot strong { font-size: 17px; }
  .featured-grid .vehicle-card-foot a { width: 32px; height: 32px; }
  .inventory-results .vehicle-card-body { padding: 14px 10px 13px; }
  .inventory-results .vehicle-card h3 { min-height: 62px; font-size: 14px; line-height: 1.28; }
  .inventory-results .vehicle-card h3 .vehicle-title-main { overflow: hidden; text-overflow: ellipsis; }
  .inventory-results .vehicle-card-year { margin-bottom: 7px; font-size: 10px; gap: 6px; }
  .inventory-results .vehicle-card-year::before { width: 13px; }
  .inventory-results .vehicle-warranty { display: none; }
  .inventory-results .vehicle-meta { margin-top: 10px; padding-block: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .inventory-results .vehicle-meta span { font-size: 8px; gap: 4px; }
  .inventory-results .vehicle-meta span:last-child { display: none; }
  .inventory-results .vehicle-meta svg { width: 12px; }
  .inventory-results .vehicle-card-foot { padding-top: 12px; }
  .inventory-results .vehicle-card-foot strong { font-size: 17px; }
  .inventory-results .vehicle-card-foot a { width: 32px; height: 32px; }
  .split-story { width: 100%; min-height: 780px; margin: 0; padding: 330px 16px 0; display: block; }
  .story-image { min-height: 100%; }
  .story-image::after { background: linear-gradient(0deg, rgb(2 15 25 / 26%), rgb(2 15 25 / 8%) 62%); }
  .story-copy { width: 100%; min-height: 450px; padding: 52px 25px; border-right: 0; border-top: 1px solid rgb(255 255 255 / 48%); box-shadow: 0 -18px 50px rgb(2 17 29 / 7%); background: rgb(248 250 252 / 50%); }
  .services-section { padding-block: 75px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 13%); }
  .service-grid article:last-child { border-bottom: 0; }
  .inventory-cta, .simple-cta { width: 100%; margin-block: 0; padding: 60px 25px; min-height: 500px; background-attachment: scroll; flex-direction: column; align-items: flex-start; justify-content: center; }
  .page-hero { min-height: 330px; padding-block: 65px; }
  .page-hero h1 { font-size: 48px; }
  .inventory { padding-top: 30px; }
  .inventory-layout { grid-template-columns: 1fr; gap: 28px; }
  .inventory-mobile-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .mobile-filter-toggle, .mobile-filter-reset { min-height: 48px; padding: 0 15px; border: 1px solid #bdcbd6; font: inherit; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
  .mobile-filter-toggle { color: #fff; border-color: var(--navy); background: var(--navy); }
  .mobile-filter-toggle span { flex: 1; text-align: left; }
  .mobile-filter-toggle svg:last-child { transition: transform .2s ease; }
  .mobile-filter-toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
  .mobile-filter-reset { color: #32485b; background: #fff; }
  .inventory-filters { display: none; position: static; grid-template-columns: 1fr; }
  .inventory-filters.is-open { display: grid; }
  .inventory-filters .reset-filters-button { display: none; }
  .inventory-toolbar { align-items: flex-start; flex-direction: column; padding-block: 20px; }
  .inventory-toolbar select { width: 200px; }
  .vehicle-page { padding-top: 22px; }
  .vehicle-layout { gap: 20px; }
  .gallery-expand { right: 10px; bottom: 10px; min-height: 34px; padding-inline: 11px; font-size: 10px; }
  .vehicle-lightbox { padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
  .vehicle-lightbox-top { min-height: 52px; padding-left: 6px; }
  .vehicle-lightbox-top strong { font-size: 12px; }
  .vehicle-lightbox-image { width: 100%; }
  .vehicle-lightbox-nav { width: 46px; height: 46px; background: rgb(2 15 25 / 74%); }
  .vehicle-lightbox-nav.is-previous { left: 3px; }
  .vehicle-lightbox-nav.is-next { right: 3px; }
  .vehicle-lightbox-help { max-width: 260px; margin-inline: auto; line-height: 1.45; }
  .vehicle-summary { padding: 24px 20px; }
  .vehicle-info-grid { margin-block: 55px; grid-template-columns: 1fr; gap: 50px; }
  .purchase-panel { padding: 45px 20px; grid-template-columns: 1fr; gap: 35px; }
  .purchase-actions { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / 15%); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .purchase-actions .button { min-height: 0; padding: 14px; align-items: center; justify-content: center; }
  .purchase-actions .purchase-action-whatsapp { min-height: 62px; }
  .form-row { grid-template-columns: 1fr; }
  .content-section, .about-intro, .contact-layout { padding-block: 70px; }
  .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 55px; }
  .about-intro { width: 100%; min-height: 720px; margin: 70px 0 0; padding: 300px 16px 0; display: block; }
  .about-visual-title { width: 100%; min-height: 300px; height: 300px; padding: 40px 28px; inset: 0 0 auto; }
  .about-visual-title h2 { max-width: 520px; font-size: 36px; }
  .about-intro > div:last-child { width: 100%; min-height: 420px; margin: 0; padding: 52px 25px; border-left: 0; border-top: 1px solid rgb(255 255 255 / 58%); box-shadow: 0 -18px 50px rgb(2 17 29 / 7%); background: rgb(248 250 252 / 90%); }
  .about-visual { min-height: 100%; }
  .values-section .page-shell { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout > div:last-child { padding: 26px 20px; }
  .legal-page { padding-block: 70px 85px; grid-template-columns: 1fr; gap: 55px; }
  .legal-summary { position: static; }
  .legal-copy section { padding-bottom: 38px; margin-bottom: 38px; }
  .cookie-notice { left: 16px; bottom: 16px; padding: 24px 20px; }
  .cookie-actions { grid-template-columns: 1fr; }
  .large-service-list article { grid-template-columns: 40px 1fr; gap: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-legal-links { justify-content: flex-start; flex-wrap: wrap; }
  .login-page { min-height: 100svh; padding: 35px 16px; background-attachment: scroll; }
  .login-panel { padding: 32px 22px; }
  .admin-app { grid-template-columns: 1fr; }
  .admin-nav { height: auto; padding: 18px 16px; position: static; }
  .admin-logo { width: 215px; }
  .admin-nav > p { display: none; }
  .admin-nav nav { margin-top: 14px; grid-template-columns: 1fr 1fr; }
  .admin-nav form { margin-top: 12px; }
  .admin-content { width: min(100% - 28px, 1180px); padding-block: 38px 65px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-featured-save { align-items: stretch; flex-direction: column; }
  .admin-featured-save .button { width: 100%; }
  .admin-vehicle-list article { grid-template-columns: 90px 1fr; }
  .admin-vehicle-list article > img { width: 90px; height: 72px; }
  .admin-card-actions { grid-column: 1 / -1; justify-content: space-between; }
  .admin-featured-toggle { min-width: 0; padding: 0 18px 0 0; align-items: center; }
  .admin-row-actions { justify-content: flex-end; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .span-2 { grid-column: auto; }
  .vehicle-editor > section, .settings-form > section, .narrow-settings { padding: 24px 18px; }
  .admin-photo-dropzone { grid-template-columns: auto 1fr; padding: 18px; }
  .admin-photo-dropzone > b { grid-column: 2; justify-self: start; }
  .admin-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .parallax-panel, .inventory-cta, .simple-cta { background-attachment: scroll; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 41px; }
  .hero-stats dd { display: none; }
  .preview-section h2, .section-heading h2, .story-copy h2, .content-section h2, .about-intro h2, .contact-details h2 { font-size: 38px; }
  .vehicle-meta { grid-template-columns: 1fr 1fr; }
  .vehicle-meta span:last-child { display: none; }
  .page-hero h1 { font-size: 41px; }
  .gallery-thumbs-carousel.has-navigation { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 5px; }
  .gallery-thumbs { grid-auto-columns: calc(33.333% - 3.333px); gap: 5px; }
  .feature-list, .spec-grid { grid-template-columns: 1fr; }
  .spec-grid > div { border-right: 0; }
  .spec-grid > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
