/* IMAGO Rent a Car, public website. Mobile-first; breakpoints 720px and 1024px. */
@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --navy: #16294a;
    --navy-2: #1f3560;
    --navy-3: #2a4373;
    --red: #e31e24;
    --red-dark: #c4161c;
    --red-text: #c4161c; /* red for small text/links: 5.6:1 on --bg (#e31e24 is 4.3:1) */
    --bg: #f4f6f9;
    --card: #fff;
    --line: #e2e7ee;
    --text: #18222f;
    --muted: #5d6879;
    --ok: #1d8a4e;
    --warn-bg: #fff6e0;
    --warn: #8a5a00;
    --err-bg: #fdecec;
    --err: #b3131a;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(13, 27, 46, .06), 0 6px 20px rgba(13, 27, 46, .07);
    --shadow-lg: 0 10px 40px rgba(13, 27, 46, .18);
    --font: "Montserrat", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
/* <picture> only chooses the file (WebP or the original); the <img> inside keeps its usual layout. */
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); }
h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .85em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(227, 30, 36, .45); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.section { margin-top: 40px; margin-bottom: 40px; }
.muted { color: var(--muted); font-weight: 400; }
.muted-light { color: rgba(255, 255, 255, .65); }
.small { font-size: .875rem; }
.center { text-align: center; }
.text-error { color: var(--err); }
.skip-link { position: absolute; left: 12px; top: -200px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--navy); }
main[tabindex="-1"]:focus { outline: none; }
.alert[tabindex="-1"]:focus { outline: 3px solid rgba(179, 19, 26, .45); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-main { flex: 1 0 auto; min-height: 60vh; padding-bottom: 24px; }
.site-main-fit { flex-grow: 0; min-height: 0; padding-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 2px solid transparent; border-radius: var(--radius-sm); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:disabled, .btn.is-stale { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(227, 30, 36, .28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-link { background: none; color: var(--navy); padding: 0 8px; font-weight: 600; }
.btn-link:hover { color: var(--red); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .65; pointer-events: none; }
.btn-primary.is-waiting { opacity: .45; box-shadow: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); color: var(--navy); cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--red-text); font-weight: 700; text-decoration: none; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #eef2f8; color: var(--navy-3); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.alert svg { flex: none; margin-top: 2px; }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-warning { background: var(--warn-bg); color: var(--warn); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--navy); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; line-height: 1; text-decoration: none; margin-right: auto; }
.logo-img { height: 42px; width: auto; display: block; }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--navy); cursor: pointer; }
.main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 8px 16px 20px; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.main-nav.open { display: flex; }
.nav-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(13, 27, 46, .45); }
.main-nav a { padding: 12px 4px; color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.active { box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; }
.header-cta { display: none; border-radius: 999px; padding-left: 18px; padding-right: 16px; }
.site-footer .logo-img { height: 48px; }

/* Hero */
.hero { position: relative; display: grid; color: #fff; background: var(--navy); overflow-x: clip; }
.hero-visual { position: relative; grid-row: 1; grid-column: 1; z-index: 0; min-height: 480px; pointer-events: none; }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 48, .68) 0%, rgba(8, 24, 48, .2) 32%, rgba(8, 24, 48, 0) 52%), var(--hero) center bottom / cover no-repeat; }
.hero-car { position: absolute; z-index: 1; top: auto; bottom: 2%; right: -36%; width: 84%; height: auto; filter: drop-shadow(0 12px 8px rgba(8, 24, 48, .45)); }
.hero-inner { display: contents; }
.hero-copy { grid-row: 1; grid-column: 1; z-index: 2; align-self: start; width: min(1240px, 100%); margin: 0 auto; padding: 32px 16px 0; }
.hero-kicker { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker::after { content: ""; display: block; width: 42px; height: 3px; margin-top: 10px; background: var(--red); border-radius: 2px; }
.hero h1 { color: #fff; font-size: 2.15rem; margin: 0 0 .35em; font-weight: 800; letter-spacing: -.03em; }
.hero h1 span { display: block; }
.hero h1 .hero-line-light { font-weight: 300; letter-spacing: -.02em; }
.hero-slogan { max-width: 22em; margin: 0 0 .7em; color: #fff; font-size: 1.3rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.hero-slogan .hero-line-light { font-weight: 300; }
.hero .hero-title span { display: inline; white-space: nowrap; }
.hero-lead { max-width: 34em; font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, .92); margin-bottom: 0; }
.hero-panel { position: relative; z-index: 2; grid-row: 2; grid-column: 1; width: min(1208px, calc(100% - 32px)); margin: 0 auto 20px; background: #fff; color: var(--text); border-radius: 18px; padding: 18px; box-shadow: 0 18px 50px rgba(8, 24, 48, .28); }
.hero-panel .alert { margin: 0; }

/* Search form */
.search-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sf-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.sf-when { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 10px; min-width: 0; }
.sf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-label { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.sf-label svg { color: var(--red); }
.sf-submit { min-height: 54px; text-transform: uppercase; letter-spacing: .03em; }
.sf-submit svg { flex: none; }
.sf-error { grid-column: 1 / -1; margin: 0; color: var(--err); font-weight: 600; }

input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6879' stroke-width='2'/%3E%3C/svg%3E") right 14px center no-repeat; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(34, 56, 95, .12); }
[aria-invalid=true] { border-color: var(--err) !important; }

/* Date picker (js/eu-date.js) */
.eud { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.eud-date {
    flex: 1 1 9em; min-width: 0; min-height: 48px; padding: 10px 40px 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235d6879' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") right 14px center no-repeat;
}
.eud-date.empty { color: var(--muted); }
.eud-date:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(34, 56, 95, .12); }
.eud.invalid .eud-date, .eud.invalid select { border-color: var(--err); }
.eud-time { display: inline-flex; align-items: center; gap: 4px; flex: none; font-weight: 600; }
.eud-time select { width: auto; min-width: 5em; }
.eud-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: 300px; max-width: calc(100vw - 16px); padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--text); }
.eud-pop.up { top: auto; bottom: calc(100% + 6px); }
.eud-pop[hidden] { display: none; }
.eud-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.eud-title { font-size: 1rem; }
.eud-nav { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 20px; line-height: 1; color: var(--text); cursor: pointer; }
.eud-nav:disabled { opacity: .3; cursor: default; }
.eud-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.eud-week span { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.eud-day { height: 38px; border: 0; border-radius: var(--radius-sm); background: transparent; font: inherit; color: var(--text); cursor: pointer; }
.eud-day:hover { background: var(--bg); }
.eud-day.today { box-shadow: inset 0 0 0 1.5px var(--navy-3); font-weight: 700; }
.eud-day.on { background: var(--red); color: #fff; font-weight: 700; box-shadow: none; }
.eud-day:disabled, .eud-day:disabled:hover { color: #3e4a59; background: #d7dde6; box-shadow: none; cursor: default; }
.eud-day:focus-visible { outline: 2px solid var(--navy-3); outline-offset: 1px; }
.eud-note { margin: 8px 2px 0; font-size: .75rem; font-weight: 700; line-height: 1.35; color: var(--navy); text-align: center; }

/* Trust row */
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 28px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 4px 2px; background: transparent; }
.trust-item svg { flex: none; padding: 10px; width: 44px; height: 44px; border-radius: 12px; background: #eef3f8; color: var(--navy); }
.trust-item strong { display: block; font-size: .92rem; color: var(--navy); }
.trust-item small { color: var(--muted); }

/* Section heads and class tiles */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 1.5rem; }
.class-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.class-tile { display: flex; flex-direction: column; gap: 6px; padding: 14px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.class-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.class-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border-radius: var(--radius-sm); margin-bottom: 8px; }
.class-tile .pill { align-self: flex-start; }
.class-tile strong { color: var(--navy); font-size: 1.05rem; }
.tile-models { color: var(--text); font-size: .9rem; }
.tile-meta { color: var(--muted); font-size: .9rem; }
.tile-price { display: flex; flex-direction: column; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.tile-price > small:first-child, .from > small:first-child { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tile-price b, .from b { color: var(--navy); font-size: 1.75rem; font-weight: 800; line-height: 1.15; }
.tile-auto { margin-top: 2px; font-size: .85rem; }
.tile-more { display: inline-flex; align-items: center; gap: 6px; padding-top: 4px; color: var(--red-text); font-weight: 700; font-size: .92rem; }

.chips { display: flex; gap: 8px; margin-top: 20px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: .92rem; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--navy); }
.chip small { color: var(--muted); font-weight: 500; }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.active small { color: rgba(255, 255, 255, .7); }
.chips + .card-list { margin-top: 16px; }
.filter-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
.filter-groups > div { min-width: 0; }
.filter-groups p { margin: 0 0 6px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.filter-groups .chips { margin-top: 0; }
.offer-notes { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.offer-notes p { margin: 0 0 8px; }
.offer-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.offer-facts li { padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: .875rem; font-weight: 600; }
.offer-notes a { font-weight: 700; }
.selected-class { margin: 12px 0 0; }
.selected-class[hidden], .search-stale[hidden] { display: none; }
.price-note { margin: 12px 0 0; }
.summary-count { font-weight: 700; }

.cta-band { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 28px 24px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.cta-actions .btn { flex: 1 1 140px; }
.btn-viber { background: #7360f2; color: #fff; box-shadow: 0 4px 14px rgba(115, 96, 242, .35); }
.btn-viber:hover { background: #5d4ad6; }
.reach { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.reach a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid #d5dbe3; border-radius: 999px; background: #fff; color: #1c2430; font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
@media (max-width: 420px) {
    .reach { gap: 6px; }
    .reach a { gap: 6px; min-height: 40px; padding: 0 10px; font-size: .84rem; }
    .reach svg { width: 18px; height: 18px; }
}
.reach a:hover { background: #f3f5f8; border-color: #c5ced8; }
.reach svg { flex: none; }
.reach-call { color: #1c2430; }
.reach-viber svg { color: #7360f2; }
.reach-wa svg { color: #25d366; }
.contact-reach { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.contact-reach .contact-value { color: var(--navy); font-size: 1.35rem; font-weight: 800; }

.page-head { padding: 32px 0 24px; background: var(--navy); color: #fff; margin-bottom: 24px; }
.page-head h1 { color: #fff; }
.page-head p { margin: 0; color: rgba(255, 255, 255, .8); }
.search-bar-card { padding: 18px; }

/* Vehicle class card */
.card-list { display: grid; gap: 16px; }
.class-card { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cc-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; }
.cc-body { padding: 16px 16px 4px; }
.cc-title { margin: 8px 0 10px; font-size: 1.25rem; }
.cc-title a { text-decoration: none; }
.cc-title a:hover { color: var(--red); }
.cc-title span { color: var(--muted); font-weight: 500; font-size: .9rem; }
.cc-models { margin: -4px 0 10px; font-size: .9rem; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .9rem; }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.rental-terms { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .85rem; line-height: 1.4; }
.rental-terms li { margin: 0; }
.summary-card .rental-terms { margin: 12px 0 14px; }
.review-card .rental-terms { margin: 0; }
.review-card > h2 { margin: 0 0 10px; font-size: 1.05rem; }
.specs svg { color: var(--navy-3); }
.cc-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px 16px; margin-top: 12px; border-top: 1px solid var(--line); }
.per-day { color: var(--muted); font-size: .95rem; }
.per-day small { font-size: .85em; }
.total { font-size: 1.75rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.total small { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.days { color: var(--muted); font-size: .85rem; }
.from { color: var(--muted); font-size: .95rem; }
.from-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.cc-price .cc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.cc-price .cc-actions .btn { white-space: normal; text-align: center; }
.cc-price .cc-actions form { margin: 0; }

/* Results */
.summary-bar { background: var(--navy-2); color: #fff; padding: 14px 0; }
.summary-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.summary-leg { display: flex; align-items: center; gap: 8px; }
.summary-leg svg, .summary-days svg { color: var(--red); flex: none; }
.summary-leg div { display: flex; flex-direction: column; line-height: 1.25; }
.summary-leg small { color: rgba(255, 255, 255, .7); }
.summary-inner > svg { color: rgba(255, 255, 255, .5); }
.summary-days { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.summary-bar .btn { margin-left: auto; }
.edit-search { padding-top: 14px; }
.edit-search .card { padding: 18px; }

.results-layout { display: grid; gap: 20px; margin-top: 20px; }
.results-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.results-toolbar p { margin: 0; }
.sort-select { display: none; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.sort-select select { width: auto; min-height: 40px; }
.mobile-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.price-note { display: flex; gap: 6px; align-items: center; margin-top: 16px; }

.filters fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.filters legend { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.check small { margin-left: auto; color: var(--muted); }
.filter-actions { display: grid; gap: 6px; }

/* Bottom sheets (mobile) */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 85vh; overflow-y: auto; padding: 8px 20px 24px; background: #fff; border-radius: 20px 20px 0 0; box-shadow: var(--shadow-lg); transform: translateY(105%); transition: transform .25s ease; visibility: hidden; }
.sheet.open { transform: none; visibility: visible; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 12px; position: sticky; top: 0; background: #fff; }
.sheet-head h2 { margin: 0; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(13, 27, 46, .45); }
.sort-links { display: grid; }
.sort-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.sort-links a.active { color: var(--red-text); }
body.sheet-lock { overflow: hidden; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 20px; }
.empty > svg { color: var(--muted); margin-bottom: 8px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Vehicle details */
.crumbs { padding: 16px 0 8px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs .crumb-sep { margin: 0 6px; color: var(--muted); }
.crumbs [aria-current] { font-weight: 600; color: var(--navy); }
.detail-layout { display: grid; gap: 20px; }
.gallery-main img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; border-radius: var(--radius); background: #fff; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 96px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none; cursor: pointer; opacity: .75; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--red); opacity: 1; }
.gallery-thumbs img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
.detail-head { margin-top: 20px; }
.detail-head h1 { margin: 8px 0 2px; }
.detail-head h1 span { color: var(--muted); font-size: 1rem; font-weight: 500; }
.detail-models { margin: 6px 0 0; }
.spec-grid { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec-grid li { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-weight: 700; color: var(--navy); }
.spec-grid svg { color: var(--red); flex: none; }
.spec-grid small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.detail-section { margin-top: 28px; }
.feature-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.feature-list li { display: inline-flex; align-items: center; gap: 6px; }
.feature-list svg { color: var(--ok); }
.season-dates { display: inline-block; }
.season-dates span { white-space: nowrap; }
.detail-prices { container-type: inline-size; }
.tier-table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 10px; }
.tier-table th, .tier-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.tier-table th { white-space: nowrap; width: 9.5rem; }
.tier-table td { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.tier-table tr:last-child th, .tier-table tr:last-child td { border-bottom: 0; }
.tier-agree td { white-space: normal; }
.tier-agree-cell { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 6px 24px; min-width: 0; }
.tier-agree-label { white-space: nowrap; }
.tier-agree-contact { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 6px 16px; font-weight: 600; min-width: 0; }
.tier-agree-phone, .tier-agree-contact a { white-space: nowrap; }
@container (min-width: 640px) {
    .tier-agree-cell { justify-content: space-between; }
}
@container (max-width: 639.98px) {
    .tier-agree-cell, .tier-agree-contact { flex-direction: column; align-items: flex-end; gap: 4px; }
}
@media (max-width: 719.98px) {
    .tier-agree-cell, .tier-agree-contact { flex-direction: column; align-items: flex-end; gap: 4px; }
}

.summary-card { padding: 20px; }
.summary-card h2 { font-size: 1.15rem; }
.summary-card form { margin: 0; }
.from-price { margin-bottom: 16px; color: var(--muted); }
.from-price strong { font-size: 2rem; color: var(--navy); }
.search-stack .sf-submit { margin-top: 4px; }

/* Trip and price */
.trip { display: grid; gap: 12px; margin: 0 0 16px; padding: 14px; background: var(--bg); border-radius: var(--radius-sm); }
.trip div { display: grid; gap: 2px; }
.trip dt { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.trip dt svg { color: var(--red); }
.trip dd { margin: 0; display: flex; flex-direction: column; }
.trip dd strong { color: var(--navy); }
.trip dd span { color: var(--muted); font-size: .9rem; }
.edit-period-toggle { margin: -4px 0 16px; }
.edit-period { margin: -4px 0 18px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.price-box { margin-bottom: 16px; }
.price-lines { margin: 0; display: grid; gap: 8px; }
.price-lines div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.price-lines dt { color: var(--muted); }
.price-lines dd { margin: 0; font-weight: 600; white-space: nowrap; }
.price-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--line); }
.price-total span { font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.price-total strong { font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1; transition: opacity .15s; }
.price-box.is-loading .price-total strong { opacity: .4; }
.price-hint { margin: 8px 0 0; color: var(--muted); font-size: .8rem; }
.compact .price-total strong { font-size: 1.75rem; }

/* Booking wizard */
.booking-page { padding-top: 20px; padding-bottom: 96px; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; justify-content: space-between; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 16px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; }
.step-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--muted); }
.steps li.current .step-dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(227, 30, 36, .15); }
.steps li.current { color: var(--navy); }
.steps li.done .step-dot { background: var(--navy); border-color: var(--navy); color: #fff; }
.booking-layout { display: grid; gap: 20px; align-items: start; }
.booking-main h1 { margin-bottom: .25em; }
.booking-side .summary-card { padding: 18px; }
.summary-class { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.summary-class img { width: 96px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.summary-class strong { color: var(--navy); }
.summary-class small { display: block; color: var(--muted); }

.extras-list { display: grid; gap: 12px; margin: 20px 0; }
.extra-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 2px solid transparent; transition: border-color .15s; }
.extra-card.selected { border-color: var(--red); }
.extra-card.disabled { opacity: .6; }
.extra-info { display: flex; flex-direction: column; }
.extra-info strong { color: var(--navy); }
.extra-price { color: var(--muted); font-size: .9rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.stepper button { width: 40px; height: 44px; border: 0; background: var(--bg); font-size: 1.25rem; font-weight: 700; color: var(--navy); cursor: pointer; }
.stepper input { width: 48px; min-height: 44px; border: 0; border-radius: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.switch { position: relative; display: inline-block; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { display: block; width: 52px; height: 30px; border-radius: 999px; background: #cfd6df; transition: background .15s; position: relative; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + .switch-ui { background: var(--red); }
.switch input:checked + .switch-ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid rgba(227, 30, 36, .45); outline-offset: 2px; }

.form-card { padding: 18px; margin-top: 16px; }
.form-grid { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .875rem; font-weight: 700; color: var(--navy); }
.field-error { color: var(--err); font-weight: 600; font-size: .85rem; }
.terms-check { margin-top: 20px; align-items: flex-start; }
.terms-check a { color: var(--red-text); font-weight: 700; }
.terms-check.invalid span { color: var(--err); }
.booking-side.desktop-only { display: none; }
.step-offer { padding: 14px 16px; margin: 0 0 16px; }
.step-offer-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.step-offer-total span { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.step-offer-total strong { font-size: 1.5rem; color: var(--red); line-height: 1; }
.step-offer .price-hint { margin: 8px 0 0; }
.trust-pay { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.trust-pay p { margin: 0 0 8px; }
.trust-pay a { font-weight: 700; }
.trust-pay-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.trust-pay-actions .btn { width: 100%; white-space: normal; }
.booking-actions { display: flex; flex-direction: column-reverse; gap: 10px; margin-top: 24px; }
.booking-actions .btn { width: 100%; }
.booking-actions + p { margin-top: 18px; }

.mobile-total { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(13, 27, 46, .12); }
.mobile-total small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.mobile-total strong { font-size: 1.5rem; color: var(--red); line-height: 1; }

.review-card { padding: 18px; margin-top: 16px; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-head h2 { margin: 0; font-size: 1.05rem; }
.review-list { margin: 0; display: grid; gap: 10px; }
.review-list div { display: grid; gap: 2px; }
.review-list dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.review-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.plain-list { margin: 0; padding-left: 20px; }
.review-total .price-box { margin: 0; }
.review-total .price-total strong { font-size: 2.4rem; }

.confirm { max-width: 720px; margin: 0 auto; padding: 32px 20px; text-align: center; }
.confirm-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e7f5ed; color: var(--ok); margin-bottom: 12px; }
.confirm .lead { font-size: 1.15rem; color: var(--muted); }
.confirm-ref { display: inline-flex; flex-direction: column; margin: 8px 0 20px; padding: 14px 28px; border: 2px dashed var(--red); border-radius: var(--radius); }
.confirm-ref small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.confirm-ref strong { font-size: 1.75rem; color: var(--navy); letter-spacing: .04em; }
.confirm-details { margin: 24px 0; padding: 18px; background: var(--bg); border-radius: var(--radius); text-align: left; }
.confirm-details .trip { background: #fff; }
.confirm-actions { display: flex; flex-direction: column; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.confirm-mailed { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 0; padding: 8px 14px; border-radius: var(--radius-sm); background: #e7f5ed; color: #14532d; font-size: .95rem; text-align: left; }
.confirm-mailed svg { flex: none; }
.confirm-mailed > span { min-width: 0; }
.confirm-mailed strong { overflow-wrap: anywhere; }
.print-only { display: none; }

/* Static pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.location-grid, .contact-grid, .location-offices { display: grid; gap: 16px; }
.location-card { padding: 20px; }
.location-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.location-card-top h2 { margin: 0; font-size: 1.15rem; }
.location-card-top h2 .muted { font-weight: 600; font-size: .95rem; }
.location-card-top h2 .location-place { white-space: nowrap; }
.fee-badge { flex: none; padding: 4px 10px; border-radius: 999px; background: #e7f5ed; color: #14532d; font-size: .78rem; font-weight: 700; }
.fee-badge.fee-paid { background: #fff4e5; color: #9a3412; }
.location-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.location-map-wrap { margin-top: 16px; }
.location-map { position: relative; z-index: 0; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); }
.map-hint { display: none; margin: 8px 0 0; }
.location-delivery { margin-top: 16px; }
.location-deliveries { margin-top: 16px; }
.location-deliveries .location-delivery { margin-top: 0; display: flex; flex-direction: column; }
.location-deliveries .location-delivery > :nth-last-child(2) { margin-top: auto; margin-bottom: 0; }
.location-notes { max-width: 720px; margin-top: 28px; }
.location-notes h3 { margin-top: 1.2em; }
.location-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--err-bg); color: var(--red); margin-bottom: 12px; }
.location-card h2 { font-size: 1.1rem; }
.contact-page.section { margin-top: 24px; margin-bottom: 0; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; text-decoration: none; transition: box-shadow .15s; }
.contact-card:hover { box-shadow: var(--shadow-lg); }
.contact-card svg { color: var(--red); margin-bottom: 6px; }
.contact-card strong { color: var(--navy); }
.contact-card .contact-value { color: var(--navy); font-weight: 700; font-size: 1.05rem; }
.contact-card .btn { width: 100%; margin-top: 12px; min-height: 48px; white-space: normal; text-align: center; }
.contact-place { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 16px; padding: 20px; }
.contact-place-copy { display: flex; gap: 14px; align-items: flex-start; }
.contact-place-copy svg { color: var(--red); flex: none; margin-top: 2px; }
.contact-place p { margin: 0; }
.contact-place strong { display: block; color: var(--navy); font-size: 1.05rem; }
.contact-kicker { margin: 0 0 4px; color: var(--red-text); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-place .btn { align-self: stretch; min-height: 48px; white-space: normal; }
.contact-other { margin: 16px 0 0; }
.contact-other a { color: var(--red-text); font-weight: 700; }
@media (max-width: 719.98px) {
    .contact-other a { display: inline-flex; align-items: center; min-height: 44px; }
}
.error-page { max-width: 640px; }

/* Footer */
.site-footer { margin-top: 40px; background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .92rem; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-top: 40px; padding-bottom: 32px; }
.footer-grid > div:first-child,
.footer-grid > .footer-info { grid-column: 1 / -1; }
.footer-links { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.site-footer h4, .site-footer .footer-heading { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { margin-bottom: 12px; }
.footer-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.footer-list svg { flex: none; margin-top: 2px; color: var(--red); }
.site-footer .footer-bottom { padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: .85rem; }

/* >= 720px */
@media (min-width: 720px) {
    .container { padding: 0 24px; }
    h1 { font-size: 2.1rem; }
    .hero h1 { font-size: 2.7rem; }
    .hero-slogan { font-size: 1.5rem; }
    .hero-panel .search-hero { grid-template-columns: 1fr 1fr; gap: 16px 22px; }
    .hero-panel .search-hero .sf-submit { grid-column: 1 / -1; }
    .hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; }
    .booking-widget-wrap { margin-top: -84px; }
    .booking-widget { padding: 24px; }
    .search-hero, .search-bar { grid-template-columns: 1fr 1fr; }
    .search-hero .sf-submit, .search-bar .sf-submit { grid-column: 1 / -1; }
    .hero-visual { min-height: 620px; }
    .hero-car { bottom: 2%; right: -26%; width: 62%; }
    .hero-copy { padding: 36px 24px 0; }
    .hero-panel { width: min(1192px, calc(100% - 48px)); margin: 0 auto 24px; }
    .trust-row { grid-template-columns: repeat(4, 1fr); }
    .class-grid { grid-template-columns: repeat(2, 1fr); }
    .class-grid.segment-grid { grid-template-columns: repeat(3, 1fr); }
    .cta-band { flex-direction: row; justify-content: space-between; align-items: center; padding: 32px 36px; }
    .cta-actions { width: auto; flex-wrap: nowrap; }
    .cta-actions .btn { flex: none; }
    .class-card { grid-template-columns: 260px 1fr; }
    .cc-image { grid-row: 1 / span 2; }
    .cc-image img { height: 100%; aspect-ratio: auto; min-height: 200px; }
    .cc-body { padding: 18px 20px 0; }
    .cc-price { padding: 14px 20px 18px; }
    .spec-grid { grid-template-columns: repeat(3, 1fr); }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .field-wide { grid-column: 1 / -1; }
    .booking-actions { flex-direction: row; justify-content: space-between; align-items: center; }
    .booking-actions .btn { width: auto; }
    .confirm { padding: 48px 40px; }
    .confirm-actions { flex-direction: row; justify-content: center; }
    .location-grid { grid-template-columns: repeat(3, 1fr); }
    .location-offices { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-place { flex-direction: row; align-items: center; justify-content: space-between; }
    .contact-place .btn { align-self: center; flex: none; }
    .site-footer .footer-grid { grid-template-columns: 2fr 1.3fr 1fr 1fr; }
    .footer-grid > div:first-child,
    .footer-grid > .footer-info { grid-column: auto; }
    .footer-links { grid-template-columns: 1fr; }
    .steps li { font-size: .9rem; }
}

/* >= 1024px */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none; margin-right: 12px; }
    .main-nav a { padding: 8px 12px; border: 0; border-radius: 8px; font-size: .95rem; }
    .main-nav a.active { box-shadow: inset 0 -3px 0 var(--red); padding-left: 12px; border-radius: 0; }
    .nav-phone { margin-left: 8px; color: var(--navy) !important; font-weight: 600; white-space: nowrap; flex: none; }
    .header-cta { display: inline-flex; }
    .header-inner { height: 76px; }
    .logo-img { height: 50px; }
    .logo { margin-right: 16px; }
    .main-nav { margin-left: auto; gap: 0; margin-right: 8px; }
    .main-nav a { padding: 8px 8px; }

    @media (min-width: 1280px) {
        .logo { margin-right: 32px; }
        .main-nav { gap: 4px; margin-right: 12px; }
        .main-nav a { padding: 8px 12px; }
    }

    .hero { display: block; min-height: 620px; overflow-x: clip; background: var(--navy); }
    .hero::before, .hero::after { content: none; }
    .hero-visual { position: absolute; inset: 0; min-height: 0; }
    .hero-photo { background: linear-gradient(90deg, rgba(8, 24, 48, .78) 0%, rgba(8, 24, 48, .34) 24%, rgba(8, 24, 48, 0) 46%), var(--hero) center bottom / cover no-repeat; }
    .hero-car { top: auto; bottom: 1.5%; width: min(760px, 74vw); right: clamp(-380px, max(calc(52vw - 848px), calc(100vw - 1388px)), 24px); }
    @media (min-width: 1280px) {
        .hero-car { width: 820px; right: clamp(-220px, calc(50vw - 820px), 280px); }
    }
    .hero-copy { align-self: auto; width: auto; max-width: none; margin: 0; padding: 0; }
    .hero h1 { font-size: 3.15rem; }
    .hero-slogan { font-size: 1.65rem; }
    /* Home H1 "Rent a car Herceg Novi" stays on one line in the 48vw / 540px column. */
    .hero .hero-title { font-size: 2.45rem; }
    @media (min-width: 1280px) { .hero .hero-title { font-size: 2.7rem; } }
    .hero .hero-inner { position: relative; z-index: 1; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-content: start; width: min(540px, 48vw); max-width: none; margin-left: max(16px, calc((100vw - 1240px) / 2)); margin-right: auto; min-height: 0; padding-top: 36px; padding-bottom: 28px; padding-right: 0; }
    .hero-copy, .hero-panel { grid-column: 1; grid-row: auto; }
    .hero-panel { width: auto; margin: 0; }
    .hero-panel { padding: 18px 18px 14px; }
    .hero-panel .search-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; }
    .hero-panel .sf-group,
    .hero-panel .sf-when,
    .hero-panel .sf-field { min-width: 0; }
    .hero-panel .sf-when { grid-template-columns: minmax(0, 1fr); }
    .hero-panel select,
    .hero-panel input { min-width: 0; max-width: 100%; width: 100%; }
    .booking-widget { padding: 28px; }
    .search-hero, .search-bar { grid-template-columns: 1fr 1fr auto; align-items: end; }
    .search-hero .sf-submit, .search-bar .sf-submit { grid-column: auto; padding: 0 28px; }
    .class-grid { grid-template-columns: repeat(4, 1fr); }

    .results-layout { grid-template-columns: 260px 1fr; align-items: start; gap: 28px; }
    .filters.sheet { position: sticky; top: 92px; z-index: 1; max-height: none; transform: none; visibility: visible; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; transition: none; }
    .filters .sheet-head .icon-btn { display: none; }
    .filters .filter-actions .btn-primary { display: none; }
    .sort-sheet, .sheet-backdrop { display: none !important; }
    .sort-select { display: inline-flex; }
    .mobile-tools { display: none; }
    .class-card { grid-template-columns: 280px 1fr 240px; }
    .cc-image { grid-row: auto; }
    .cc-body { padding: 20px 20px; align-self: center; }
    .cc-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; margin: 0; padding: 20px; border-top: 0; border-left: 1px solid var(--line); }
    .total { font-size: 2rem; margin-top: 0; }
    .cc-price .cc-actions { margin-top: 14px; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }

    .detail-layout { grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
    .detail-side { position: sticky; top: 92px; }
    .booking-layout { grid-template-columns: 1fr 360px; gap: 32px; }
    .booking-side, .booking-side.desktop-only { display: block; position: sticky; top: 92px; }
    .step-offer { display: none; }
    .trust-pay-actions { flex-direction: row; }
    .trust-pay-actions .btn { width: auto; flex: 1 1 160px; }
    .booking-page { padding-bottom: 24px; }
    .mobile-total { display: none; }
    #rezervacija, .edit-search, .edit-period { scroll-margin-top: 92px; }
}

/* About */
.about-page.section { margin-bottom: 0; }
.about-intro { display: grid; gap: 24px; align-items: start; }
.about-copy h2 { margin-top: 0; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.about-points { display: grid; gap: 16px; margin-top: 28px; }
.about-point { padding: 20px; }
.about-point h3 { margin: 0 0 8px; font-size: 1.05rem; }
.about-point p { margin: 0 0 12px; }
.about-point a { font-weight: 700; }
.about-cta { margin: 28px 0 0; }
@media (min-width: 1024px) {
    .about-intro { grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); gap: 40px; align-items: center; }
    .about-points { grid-template-columns: repeat(3, 1fr); }
}

/* Tivat airport landing */
.hero-airport .hero-photo { background-position: 0 0, 100% 100%; }
/* Airport photo as <picture> (WebP + sizes) under the gradient layer instead of the --hero background */
.hero-picture .hero-photo { --hero: none; }
.hero-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.airport-steps { display: grid; gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.airport-step { padding: 20px; }
.airport-step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.airport-step p { margin: 0 0 8px; }
.airport-step p:last-child { margin-bottom: 0; }
.airport-step-no { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.airport-return { margin-top: 28px; }
.airport-faq { max-width: 760px; margin-top: 36px; }
.airport-faq h3 { margin: 1.2em 0 .35em; font-size: 1.05rem; }
.airport-faq p { margin: 0; }
@media (min-width: 720px) {
    .airport-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .airport-steps { grid-template-columns: repeat(4, 1fr); }
}

/* Rental terms page */
.terms-layout { display: block; }
.terms-finder { margin: 0 0 20px; position: relative; }
.terms-toc-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.terms-finder label { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--navy); font-weight: 700; cursor: pointer; }
.terms-toc-toggle:focus-visible + label { outline: 3px solid rgba(227, 30, 36, .45); outline-offset: 2px; }
.terms-links { display: none; list-style: none; margin: 8px 0 0; padding: 4px 8px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.terms-toc-toggle:checked ~ .terms-links { display: grid; }
.terms-links a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; }
.terms-links a:hover { background: var(--bg); }
.terms-body { max-width: 760px; }
.terms-overview { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.terms-overview a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--navy); font-size: .875rem; font-weight: 600; text-decoration: none; }
.terms-overview a:hover { border-color: var(--navy); }
.terms-section { scroll-margin-top: 88px; }
#rezervacija, .edit-search, .edit-period { scroll-margin-top: 80px; }
.terms-section > h2 { margin-top: 1.6em; }
.terms-cover { display: grid; gap: 12px; }
.terms-cover article { padding: 16px 16px 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.terms-cover h3 { margin: 0 0 8px; font-size: 1rem; }
.terms-costs { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.terms-costs th, .terms-costs td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.terms-costs tr:last-child td { border-bottom: 0; }
.terms-costs th { font-size: .8rem; color: var(--muted); font-weight: 700; }
.terms-costs td:last-child, .terms-costs th:last-child { text-align: right; white-space: nowrap; }
.terms-costs td:last-child { font-weight: 700; color: var(--navy); }
.terms-ask { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.terms-ask h2 { margin-top: 0; }
.terms-ask-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.terms-ask-actions + p { margin-top: 14px; }
@media (min-width: 1024px) {
    .terms-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 40px; align-items: stretch; justify-content: center; }
    .terms-finder { margin: 0; }
    .terms-finder label, .terms-toc-toggle { display: none; }
    .terms-finder .terms-links,
    .terms-toc-toggle:checked ~ .terms-links { display: grid; position: sticky; top: 92px; margin: 0; padding: 0; border: 0; background: transparent; }
}
@media (max-width: 640px) {
    .terms-costs th:first-child, .terms-costs td:first-child { white-space: normal; }
}

/* Phones and tablets below the desktop layout */
@media (max-width: 719.98px) {
    .confirm-actions .btn { width: 100%; max-width: 100%; white-space: normal; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 1023.98px) {
    .booking-side .rental-terms { display: none; }
    /* 8: the fixed "Ukupno / Nastavi" bar never covers the end of the page */
    body.has-mobile-total { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    /* 6: "Primijeni" stays visible while the filter list scrolls */
    .filters.sheet { padding-bottom: 0; }
    .filters .filter-actions { position: sticky; bottom: 0; z-index: 1; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 16px rgba(13, 27, 46, .08); }
}
@media (max-width: 1023.98px) {
    body:has(.mobile-total) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* 13: phones: the hero text always sits on a dark enough part of the photo */
@media (max-width: 719.98px) {
    .hero-photo { background: linear-gradient(180deg, rgba(8, 24, 48, .82) 0%, rgba(8, 24, 48, .66) 38%, rgba(8, 24, 48, .28) 62%, rgba(8, 24, 48, 0) 80%), var(--hero) center bottom / cover no-repeat; }
    .hero-copy { text-shadow: 0 1px 14px rgba(8, 24, 48, .55); }
}

/* 7: short landscape phones: slimmer header that scrolls away, compact total bar, form near the top */
@media (max-width: 1023.98px) and (max-height: 500px) and (orientation: landscape) {
    .site-header { position: relative; }
    .header-inner { height: 52px; }
    .logo-img { height: 34px; }
    .main-nav { top: 52px; max-height: calc(100vh - 52px); overflow-y: auto; }
    .hero-visual { min-height: 0; }
    .hero-copy { padding-top: 18px; padding-bottom: 18px; }
    .hero-kicker { margin-bottom: 8px; }
    .hero-kicker::after { margin-top: 6px; }
    .hero-photo { background: linear-gradient(90deg, rgba(8, 24, 48, .86) 0%, rgba(8, 24, 48, .62) 42%, rgba(8, 24, 48, 0) 68%), var(--hero) center bottom / cover no-repeat; }
    .hero-copy { text-shadow: 0 1px 14px rgba(8, 24, 48, .55); }
    .hero h1 { max-width: 60%; font-size: 2rem; margin-bottom: .2em; }
    .hero-slogan { max-width: 60%; font-size: 1.1rem; margin-bottom: 0; }
    .hero h1 span { display: inline; }
    .hero-lead { display: none; }
    .hero-car { width: 34%; right: -3%; bottom: 0; }
    .mobile-total { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
    .mobile-total strong { font-size: 1.25rem; }
    .mobile-total .btn { min-height: 44px; }
    body.has-mobile-total { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
    .sheet { max-height: calc(100vh - 16px); }
}
@media (max-width: 1023.98px) and (max-height: 500px) and (orientation: landscape) {
    body:has(.mobile-total) { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* 10: touch screens: controls are at least 44 × 44 px; mouse layouts stay as they are */
@media (pointer: coarse) {
    .btn-sm, .chip { min-height: 44px; }
    .icon-btn { width: 44px; height: 44px; }
    .logo { min-height: 44px; }
    .check { min-height: 44px; }
    .stepper button { width: 44px; }
    .switch { padding: 7px 0; margin: -7px 0; }
    .eud-nav { width: 44px; height: 44px; }
    .eud-pop { width: 332px; max-width: calc(100vw - 16px); }
    .eud-grid { gap: 0; }
    .eud-day { height: 44px; }
    .link-arrow, .crumbs a, .offer-notes > a, .cc-title a, .terms-check a, .contact-other a, .about-point a { display: inline-block; padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }
    .terms-overview a { display: inline-flex; align-items: center; min-height: 44px; }
    .terms-links a { display: flex; align-items: center; min-height: 44px; }
    .footer-list { gap: 0; }
    .footer-list li { align-items: center; }
    .footer-list a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
    .footer-list svg { margin-top: 0; }
    .site-footer .footer-links { gap: 0 16px; }
    .location-map.leaflet-touch .leaflet-bar a, .location-map .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
    .map-hint { display: block; }
}

/* Preview chat: prepared answers, no outside service. */
.chat-dock { position: fixed; right: 16px; bottom: 16px; z-index: 80; }
.chat-launcher { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(13, 27, 46, .28); cursor: pointer; list-style: none; }
.chat-launcher::-webkit-details-marker { display: none; }
.chat-launcher:hover { background: var(--navy-2); }
.chat-icon-close { display: none; }
.chat-dock[open] .chat-icon-open { display: none; }
.chat-dock[open] .chat-icon-close { display: block; }
.chat-panel { position: absolute; right: 0; bottom: 70px; display: flex; flex-direction: column; width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100dvh - 110px)); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.chat-dock:not([open]) .chat-panel { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 14px 12px; background: var(--navy); color: #fff; }
.chat-head strong { display: block; font-size: 1rem; }
.chat-head p { margin: 2px 0 0; color: rgba(255, 255, 255, .72); font-size: .8rem; line-height: 1.35; }
.chat-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, .12); }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.chat-msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.chat-msg p { margin: 0; }
.chat-msg a { color: var(--navy); font-weight: 700; }
.chat-msg-bot { align-self: flex-start; background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg-user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-chips button, .chat-chips a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #d5dbe3; border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; text-decoration: none; text-align: left; }
.chat-chips button:hover, .chat-chips a:hover { background: #f3f5f8; }
.chat-launcher:focus-visible, .chat-close:focus-visible, .chat-send:focus-visible, .chat-form input:focus-visible, .chat-chips button:focus-visible, .chat-chips a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.chat-head .chat-close:focus-visible { outline-color: #fff; }
.chat-handoff { margin-top: 8px; }
.chat-handoff .reach { flex-wrap: wrap; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; color: var(--text); }
.chat-send { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; }
.chat-send:hover { background: var(--red-dark); }
@media (max-width: 1023.98px) {
    body:has(.mobile-total) .chat-dock { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
    .chat-dock[open] .chat-panel { position: fixed; left: 8px; right: 8px; bottom: 84px; width: auto; height: min(70dvh, 560px); }
    body:has(.mobile-total) .chat-dock[open] .chat-panel { bottom: calc(136px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1023.98px) and (max-height: 500px) and (orientation: landscape) {
    body:has(.mobile-total) .chat-dock { bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* Print / Save as PDF: only the confirmation itself */
@media print {
    @page { margin: 12mm; }
    body { background: #fff; }
    .main-nav, .header-cta, .nav-toggle, .site-footer, .steps, .confirm-actions, .no-print, .alert, .terms-finder, .chat-dock { display: none !important; }
    .site-header { position: static; background: #fff; box-shadow: none; border-bottom: 2px solid var(--navy); }
    .site-header .logo-sub { color: var(--navy); }
    .site-header .logo-mark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .confirm.card { box-shadow: none; border: 0; padding: 16px 0; }
    .confirm-details, .confirm-icon, .confirm-mailed { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .print-only { display: block; margin-top: 16px; color: var(--muted); font-size: .9rem; }
}

/* Reflow at 320 CSS px (WCAG 1.4.10): only below 360px, so 360px+ layouts are unchanged */
.detail-main, .gallery { min-width: 0; }
@media (max-width: 359.98px) {
    .trust-row { grid-template-columns: minmax(0, 1fr); }
    .reach { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Booking UX: payment/cancellation lines, kept class, no chat over booking controls, sticky filters, shorter mobile home */
.pay-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-weight: 600; color: var(--navy); }
.pay-note svg { flex: none; margin-top: 3px; }
.cancel-note { margin: 10px 0 0; font-size: .92rem; }
.change-note { display: block; margin-top: 6px; }
.alert-info { background: #eaf2fb; color: var(--navy); }
.kept-class { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.kept-class form { margin: 0; }
@media (max-width: 1023.98px) {
    body:has(.booking-page) .chat-dock { display: none; }
    .results-toolbar { position: sticky; top: var(--sticky-top, 64px); z-index: 30; margin-left: -16px; margin-right: -16px; padding: 8px 16px; background: var(--bg); }
}
@media (max-width: 719.98px) {
    .class-grid.segment-grid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 8px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
    .class-grid.segment-grid > .class-tile { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ==========================================================================
   Kontakt page (/kontakt), 2026-10-13: two columns on desktop, large contact
   actions, branch map, quick answers, opening status. Scoped to .contact-* only.
   ========================================================================== */
.contact-status { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .9rem; font-weight: 700; }
.contact-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; flex: none; }
.contact-status.is-open .contact-status-dot { background: #22c55e; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.contact-main, .contact-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-page .contact-reach { align-items: stretch; margin-bottom: 0; }
.contact-page .contact-phone { align-self: flex-start; text-decoration: none; }
.contact-page .contact-phone:hover { color: var(--red-text); }
.contact-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.contact-actions .reach { display: contents; }
.contact-actions .reach a, .contact-actions .contact-mail, .contact-actions .contact-google { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm, 10px); background: #fff; color: var(--navy); font-size: 1rem; font-weight: 700; text-decoration: none; white-space: normal; box-shadow: var(--shadow); }
.contact-actions .reach a:hover, .contact-actions .contact-mail:hover, .contact-actions .contact-google:hover { border-color: #c5ced8; background: #f8fafc; }
.contact-actions .reach svg, .contact-actions .contact-mail svg, .contact-actions .contact-google svg { width: 22px; height: 22px; flex: none; }
.contact-actions .contact-mail svg, .contact-actions .contact-google svg { color: var(--red); }
.contact-actions .contact-google { grid-column: 1 / -1; }
.contact-page .contact-place { margin-top: 0; }
.contact-map { height: 280px; }
.contact-page .contact-other { margin-top: 0; }
.contact-cta { padding: 20px; background: var(--navy); color: #fff; }
.contact-cta h2 { margin: 0 0 6px; font-size: 1.25rem; color: #fff; }
.contact-cta p { margin: 0 0 14px; color: rgba(255, 255, 255, .85); }
.contact-cta .btn { width: 100%; white-space: normal; }
.contact-faq { margin-top: 28px; }
.contact-faq h2 { margin: 0 0 14px; font-size: 1.35rem; color: var(--navy); }
.contact-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.contact-faq-item { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.contact-faq-item h3 { margin: 0; font-size: 1rem; color: var(--navy); }
.contact-faq-item p { margin: 0; flex: 1; }
.contact-faq-item .link-arrow { min-height: 44px; }
@media (min-width: 560px) {
    .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
    .contact-page .contact-place { flex-direction: column; align-items: stretch; }
    .contact-page .contact-place .btn { align-self: stretch; }
    .contact-cta .btn { width: auto; align-self: flex-start; }
}
@media (min-width: 1024px) {
    .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
    .contact-map { height: 340px; }
    .contact-faq-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ===== end Kontakt page ===== */

/* ==========================================================================
   Lokacije + O nama, 2026-10-13: all location cards in one grid, trust strip.
   Scoped to .location-all and .about-trust only.
   ========================================================================== */
.location-all .location-delivery { display: flex; flex-direction: column; }
.location-all .location-card .location-actions { margin-top: auto; padding-top: 12px; }
.location-all .location-card { display: flex; flex-direction: column; }
.about-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.about-trust li { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .9rem; }
.about-trust strong { color: #fff; font-size: 1.35rem; font-weight: 800; }
@media (min-width: 1024px) {
    .about-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ===== end Lokacije + O nama ===== */
/* ===== v2 redesign (home layout from the mockup; brand red + navy, Montserrat) ===== */
:root { --navy-dark: #0f1e38; --navy-2: #1f3560; }

/* Top bar */
.top-bar { background: var(--navy-dark); color: rgba(255, 255, 255, .85); font-size: .8rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.top-bar-inner span, .top-bar-inner a { display: inline-flex; align-items: center; gap: 6px; }
.top-bar a { color: #fff; font-weight: 700; text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }
@media (max-width: 479.98px) { .top-bar-inner span { display: none; } .top-bar-inner { justify-content: flex-end; } }

/* Header on navy with the light logo */
.site-header { background: var(--navy); color: #fff; border-bottom: 0; }
.site-header .nav-toggle { color: #fff; }
.site-header .main-nav { background: var(--navy); border-top-color: rgba(255, 255, 255, .12); }
.site-header .main-nav a { color: #fff; border-bottom-color: rgba(255, 255, 255, .12); }
.site-header .main-nav a:hover, .site-header .main-nav a.active { color: #fff; }
.site-header .main-nav a:hover { background: rgba(255, 255, 255, .08); }
.site-header .main-nav a.active { box-shadow: inset 3px 0 0 var(--red); }
@media (min-width: 1024px) {
  .site-header .main-nav a.active { box-shadow: inset 0 -3px 0 var(--red); }
  .site-header .nav-phone { display: none; }
}
.site-header :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Section heads with the red rule */
.home-section { margin-top: 48px; margin-bottom: 48px; }
.home-head { align-items: flex-end; margin-bottom: 20px; }
.home-head h2 { position: relative; padding-left: 34px; font-size: 1.5rem; color: var(--navy); }
.home-head h2::before { content: ""; position: absolute; left: 0; top: .62em; width: 24px; height: 3px; border-radius: 2px; background: var(--red); }
.home-sub { margin: 4px 0 0 34px; color: var(--muted); font-size: .95rem; }
.home-head .link-arrow { flex: none; min-height: 44px; }

/* Locations */
.home-locations { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.home-location { display: flex; flex-direction: column; gap: 8px; padding: 18px; color: var(--text); text-decoration: none; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.home-location:hover, .home-location:focus-visible { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red), var(--shadow-lg); }
.home-location:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.home-location strong { color: var(--navy); font-size: 1.05rem; }
.home-location-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; }
.home-location-text { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-location-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.home-more { display: inline-flex; align-items: center; gap: 4px; color: var(--red-text); font-weight: 700; font-size: .9rem; }
@media (min-width: 600px) { .home-locations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-locations { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Included in the price */
.home-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0; }
.home-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 24px; }
.home-term { display: flex; gap: 14px; align-items: flex-start; }
.home-term-icon { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #eef3f8; color: var(--navy); }
.home-term strong { display: block; color: var(--navy); }
.home-term p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
@media (min-width: 720px) { .home-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-terms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* FAQ */
.home-faq { max-width: 860px; }
.home-faq-item { border-bottom: 1px solid var(--line); }
.home-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); }
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary::after { content: "+"; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef3f8; color: var(--navy); font-size: 1.1rem; line-height: 1; }
.home-faq-item[open] summary::after { content: "\2212"; background: var(--red); color: #fff; }
.home-faq-item summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.home-faq-body { padding: 0 0 16px; color: var(--muted); }
.home-faq-body p { margin: 0 0 8px; }
.home-reviews { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; color: var(--red-text); font-weight: 700; text-decoration: none; }

/* Contact band */
.home-contact { background: var(--navy); color: #fff; padding: 36px 0; margin-bottom: -40px; }
.home-contact-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.home-contact h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.home-contact p { margin: 0; color: rgba(255, 255, 255, .82); }
.home-contact .reach a { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); min-height: 44px; }
.home-contact .reach a:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.home-contact .reach-wa { background: var(--red) !important; border-color: var(--red) !important; }
.home-contact .reach-wa svg, .home-contact .reach-viber svg { color: #fff; }
@media (min-width: 720px) { .home-contact-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* Phone: fixed bar Pozovi | WhatsApp | Rezerviši; the chat button sits above it */
.mobile-bar { display: none; }
@media (max-width: 719.98px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(13, 27, 46, .14); }
  .mobile-bar a { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 700; font-size: .9rem; text-decoration: none; }
  .mobile-bar .mobile-bar-book { background: var(--red); border-color: var(--red); color: #fff; }
  body:has(.mobile-bar) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body:has(.mobile-bar) .chat-dock { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.mobile-bar) .chat-dock[open] .chat-panel { bottom: calc(144px + env(safe-area-inset-bottom)); height: min(62dvh, 520px); }
  .home-contact { margin-bottom: -40px; }
}


/* v2: the hero grid column never grows past the viewport (long lead line, form rows) */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-panel .sf-when { grid-template-columns: minmax(0, 1fr) minmax(92px, 112px); }
@media (max-width: 719.98px) { .home-head { flex-wrap: wrap; align-items: baseline; } .home-head .link-arrow { min-height: 0; } }
/* v2 follow-up: navy readability overlay over the hero photo (car stays above it) */
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 46, .9) 0%, rgba(22, 41, 74, .8) 55%, rgba(22, 41, 74, .55) 100%); }
@media (min-width: 1024px) {
    .hero-photo::after { background: linear-gradient(90deg, rgba(13, 27, 46, .92) 0%, rgba(22, 41, 74, .75) 45%, rgba(22, 41, 74, .15) 75%); }
}
.hero-copy { text-shadow: 0 1px 12px rgba(8, 24, 48, .6); }

/* v2 follow-up: date always shows the full dd.mm.yyyy; time wraps below when the row is too narrow */
.hero-panel .sf-when, .sf-when { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-when > * { flex: 1 1 10.5em; min-width: 10.5em; }
.sf-when > *:last-child { flex: 1 0 96px; min-width: 96px; }
.eud-date { padding-right: 38px; white-space: nowrap; }

/* v2: copyright left, privacy link right */
.site-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; }
.site-footer .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer .footer-bottom a:hover, .site-footer .footer-bottom a:focus-visible { color: #fff; text-decoration: underline; }

/* v2: red chat launcher so it stands out on navy (panel header untouched) */
.chat-launcher { background: #e31e24; color: #fff; box-shadow: 0 6px 18px rgba(227, 30, 36, .35); transition: background-color .15s; }
.chat-launcher:hover, .chat-launcher:focus-visible { background: #c4161c; }
.chat-launcher:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px #16294a, 0 6px 18px rgba(227, 30, 36, .35); }

/* v2: line under the hero form (year + Google reviews link only when the URL is set) */
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; margin: 12px 0 0; color: var(--muted); font-size: .88rem; font-weight: 600; }
.hero-proof a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #b3171c; text-decoration: none; }
.hero-proof a:hover, .hero-proof a:focus-visible { text-decoration: underline; }
.hero-proof .icon { color: #e31e24; fill: currentColor; }

/* v2: three trust labels under the hero search card, on the navy hero */
.hero-trust { position: relative; z-index: 2; grid-row: 3; grid-column: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; width: min(1208px, calc(100% - 32px)); margin: -4px auto 24px; padding: 0; list-style: none; color: #fff; font-size: .9375rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: #fff; flex: none; }
@media (min-width: 1024px) {
    .hero-trust { grid-row: auto; width: auto; margin: -16px 0 0; justify-content: flex-start; text-shadow: 0 1px 8px rgba(8, 24, 48, .5); }
}

/* v2: search form behaviour - pickup, conditional flight/address, same-place return, one date range, two times */
.sf-where, .sf-period { align-content: start; }
.sf-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.sf-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
.sf-times, .sf-range-native { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sf-sublabel { font-size: .8rem; font-weight: 600; color: var(--muted); }
/* The flight number, the delivery address and the return location follow the form state with :has(), also without JavaScript. */
@supports selector(:has(a)) {
    .sf-extra, .sf-return { display: none; }
    .search-form:has([data-pickup-location] option[data-airport]:checked) .sf-flight,
    .search-form:has([data-pickup-location] option[data-delivery]:checked) .sf-address,
    .search-form:has([data-same-return]:not(:checked)) .sf-return { display: flex; }
}
.eud-range { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; }
.eud-range-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; flex: none; white-space: nowrap; }
.eud-range-text { overflow: hidden; text-overflow: ellipsis; }
.eud-badge { flex: none; padding: 2px 10px; border-radius: 999px; background: #fde8e9; color: #b3171c; font-size: .8rem; font-weight: 700; line-height: 1.6; }
.eud-badge[hidden] { display: none; }
.eud-range.invalid .eud-range-btn { border-color: var(--err); }
.eud-range-pop { width: 340px; max-width: calc(100vw - 16px); }
.eud-step { margin: 0 2px 6px; font-size: .8rem; font-weight: 700; color: var(--muted); text-align: center; }
.eud-day.in { background: #fde8e9; color: #8f1216; border-radius: 0; }
.eud-day.start:not(.end) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.eud-day.end { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.eud-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.eud-sum { min-width: 0; font-size: .85rem; font-weight: 700; color: var(--navy); }
.eud-done { flex: none; min-height: 44px; padding: 0 18px; }
@media (min-width: 720px) {
    .search-form .sf-error { grid-column: 1 / -1; }
}

.eud-range-btn { background-image: none; padding-right: 14px; }
.sf-times { align-items: end; }
.search-form .sf-where, .search-form .sf-period { align-self: start; }
@media (min-width: 1024px) {
    /* The hero card is narrow on desktop: one column like the mobile form, so labels stay on one line. */
    .hero-panel .search-hero { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hero-panel .search-hero .sf-submit { grid-column: auto; }
}
.sf-label .sf-optional { font-size: .75rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }

@media (max-width: 1023.98px) {
    html.eud-open .chat-dock, html.eud-open .mobile-bar { display: none; }
}
.eud-hint { margin: 6px 2px 0; font-size: .75rem; color: var(--muted); }

/* v2: Viber and WhatsApp as filled brand buttons (Pozovi unchanged). Text colours keep WCAG AA:
   white on #6b57ea is 5.0:1 (#7360f2 would be 4.48:1); #0b3d1f on #25d366 is 6.2:1 (white would be 2.0:1). */
.reach .reach-viber, .home-contact .reach .reach-viber { background: #6b57ea !important; border-color: #6b57ea !important; color: #fff; }
.reach .reach-viber:hover, .reach .reach-viber:focus-visible { background: #5e4ad6 !important; border-color: #5e4ad6 !important; }
.reach .reach-wa, .home-contact .reach .reach-wa, .mobile-bar .mobile-bar-wa { background: #25d366 !important; border-color: #25d366 !important; color: #0b3d1f; }
.reach .reach-wa:hover, .reach .reach-wa:focus-visible, .mobile-bar .mobile-bar-wa:hover { background: #1ebe5b !important; border-color: #1ebe5b !important; }
.reach .reach-viber svg, .home-contact .reach .reach-viber svg { color: #fff; }
.reach .reach-wa svg, .home-contact .reach .reach-wa svg { color: #0b3d1f; }
.reach .reach-viber:focus-visible, .reach .reach-wa:focus-visible { outline: 2px solid var(--navy-3); outline-offset: 2px; }
.home-contact .reach .reach-viber:focus-visible, .home-contact .reach .reach-wa:focus-visible { outline-color: #fff; }

/* v2: sticky bar - Pozovi and WhatsApp icon-only (labelled), Rezervisi takes the rest */
@media (max-width: 719.98px) {
  .mobile-bar { grid-template-columns: 48px 48px minmax(0, 1fr); }
  .mobile-bar .mobile-bar-icon { width: 48px; min-height: 48px; padding: 0; }
  .mobile-bar .mobile-bar-book { min-height: 48px; }
}
@media (max-width: 719.98px) {
  .mobile-bar { grid-template-columns: 48px 48px 48px minmax(0, 1fr); }
  .mobile-bar .mobile-bar-viber { background: #6b57ea; border-color: #6b57ea; color: #fff; }
  .mobile-bar .mobile-bar-viber:hover { background: #5e4ad6; border-color: #5e4ad6; }
}

/* v2: contact band and footer meet with no gap; separated only by colour (band navy, footer darker navy). */
.home-contact { background: var(--navy); margin-bottom: 0; }
.site-main:has(> .home-contact:last-child) { padding-bottom: 0; }
.site-main:has(> .home-contact:last-child) + .site-footer { margin-top: 0; }
.site-footer { background: #0d1b2e; }
