/* ZZ Rent a Car – public site */
:root {
    --ink: #201f1d;
    --ink-2: #161616;
    --accent: #ffa633;
    --accent-dark: #f39212;
    --accent-soft: #fff4e2;
    --text: #3a3936;
    --muted: #6d6d6d;
    --line: #e9e8e5;
    --bg: #ffffff;
    --bg-alt: #f6f6f4;
    --ok: #1c7c4a;
    --ok-soft: #e6f5ec;
    --err: #b42318;
    --err-soft: #fdecea;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(32, 31, 29, .05), 0 8px 24px rgba(32, 31, 29, .06);
    --display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.ico { flex: none; }

.container { width: 100%; max-width: 1640px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.container.narrow { max-width: 1100px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-head h2::after {
    content: ''; display: block; width: 56px; height: 4px; border-radius: 4px;
    background: var(--accent); margin: 14px auto 0;
}
.section-head p { color: var(--muted); margin: 12px 0 0; }
.empty { text-align: center; color: var(--muted); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--radius-sm); border: 2px solid transparent;
    font: 600 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--accent); color: var(--ink-2); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo img { width: auto; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a {
    padding: 9px 13px; border-radius: 8px; text-decoration: none;
    font-weight: 500; font-size: .95rem; color: var(--ink);
}
.site-nav > a:hover { background: var(--bg-alt); }
.site-nav > a.active { color: var(--accent-dark); font-weight: 600; }
.lang-switch { display: flex; margin-left: 12px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 6px 11px; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-2); color: rgba(255, 255, 255, .76); }
.hero::before {
    content: ''; position: absolute; z-index: -2; right: -12%; top: 50%; width: min(980px, 78vw); aspect-ratio: 1;
    transform: translateY(-50%);
    background: radial-gradient(closest-side, rgba(255, 166, 51, .34), rgba(255, 166, 51, 0) 72%);
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(100deg, #000 10%, transparent 62%);
    mask-image: linear-gradient(100deg, #000 10%, transparent 62%);
}
.hero-stripes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-stripes span {
    position: absolute; top: -30%; bottom: -30%; background: var(--accent);
    transform: translateY(115%) skewX(-36deg);
    animation: stripe-in 1s cubic-bezier(.2, .8, .2, 1) forwards;
}
.hero-stripes span:nth-child(1) { left: 78%; width: 60%; animation-delay: .1s; }
.hero-stripes span:nth-child(2) { left: 73%; width: 2%; animation-delay: .28s; }
.hero-stripes span:nth-child(3) { left: 70%; width: .7%; opacity: .55; animation-delay: .4s; }
@keyframes stripe-in { to { transform: translateY(0) skewX(-36deg); } }

.hero-inner {
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px;
    padding-top: clamp(48px, 6.5vw, 96px); padding-bottom: clamp(48px, 6.5vw, 96px);
}
.hero-text > * { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-text > :nth-child(1) { animation-delay: .05s; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .27s; }
.hero-text > :nth-child(4) { animation-delay: .37s; }
.hero-text > :nth-child(5) { animation-delay: .47s; }
.hero-text > :nth-child(6) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: .88rem; font-weight: 600; color: #fff;
}
.pill .ico { color: var(--accent); width: 17px; height: 17px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.1rem + 3.8vw, 4.6rem); line-height: 1.06; margin: 20px 0 18px; }
.hero h1 em {
    font-style: normal; display: block;
    background: linear-gradient(90deg, #ffc163, var(--accent) 45%, #ff8a1f); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.08rem, .9rem + .35vw, 1.25rem); max-width: 620px; }
.checks { display: grid; gap: 8px; margin: 0 0 28px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { color: var(--accent); margin-top: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero .btn .ico { transition: transform .25s; }
.hero .btn:hover .ico { transform: translateX(4px); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-stats dt { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; color: #fff; }
.hero-stats dt small { font-size: .55em; color: var(--accent); margin-left: 3px; }
.hero-stats dd { margin: 4px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .6); }

.hero-art { position: relative; opacity: 0; animation: drive-in 1.1s cubic-bezier(.16, .84, .3, 1) .35s forwards; }
.hero-art img { position: relative; z-index: 1; width: 100%; max-width: 780px; margin-left: auto; filter: drop-shadow(0 30px 26px rgba(0, 0, 0, .55)); animation: float 6s ease-in-out 1.6s infinite; }
.hero-art::after {
    content: ''; position: absolute; left: 12%; right: 4%; bottom: 9%; height: 26px; border-radius: 50%;
    background: rgba(0, 0, 0, .55); filter: blur(18px);
}
@keyframes drive-in { from { opacity: 0; transform: translateX(120px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-9px); } }

/* Page banner */
.page-banner { background: var(--ink) url('../img/page-header.webp') center/cover no-repeat; color: #fff; padding: clamp(36px, 5vw, 60px) 0; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem); margin: 0; }
.page-banner p { margin: 10px 0 0; color: rgba(255, 255, 255, .75); }

/* Steps / features */
.steps, .features { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.features { grid-template-columns: repeat(5, 1fr); }
.steps li, .features li { text-align: center; padding: 8px; }
.steps p, .features p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-ico {
    display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: var(--ink); color: var(--accent); margin-bottom: 16px;
}
.step-ico .ico { width: 26px; height: 26px; }
.steps li:nth-child(2) .step-ico { background: var(--accent); color: var(--ink); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-title { font-family: var(--body); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); position: relative; }
.card-title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; background: var(--accent); border-radius: 3px; }

/* Car grid */
.car-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.car-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.car-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(32, 31, 29, .06), 0 16px 36px rgba(32, 31, 29, .11); }
.car-card-img { position: relative; display: block; aspect-ratio: 3 / 2; background: #efeeeb; }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-tag, .mode-tag {
    position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px;
    font-size: .76rem; font-weight: 700; line-height: 1.4;
}
.brand-tag { left: 12px; background: #fff; color: var(--ink); }
.mode-tag { right: 12px; }
.mode-tag.direct { background: var(--ink); color: var(--accent); }
.mode-tag.inquiry { background: var(--accent); color: var(--ink-2); }
.mode-tag.static { position: static; display: inline-block; margin-bottom: 14px; }
.car-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-card-body h3 { margin: 0; font-size: 1.12rem; }
.car-card-body h3 a { text-decoration: none; }
.car-card-body h3 a:hover { color: var(--accent-dark); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .88rem; }
.spec-chips li { display: inline-flex; align-items: center; gap: 6px; }
.spec-chips .ico { width: 16px; height: 16px; color: var(--ink); }
.car-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.price strong { font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.price span { color: var(--muted); font-size: .88rem; margin-left: 4px; }

/* CTA band */
.cta-band { background: var(--ink); color: rgba(255, 255, 255, .8); border-radius: 20px; padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band > div { flex: 1 1 380px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band.small { margin-top: 48px; padding: 26px 30px; }
.cta-band.small h2 { font-size: 1.25rem; margin: 0; }

/* Car detail */
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.car-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 30%, 460px); gap: 28px; align-items: start; }
.car-main { display: grid; gap: 24px; min-width: 0; }
.car-side { display: grid; gap: 18px; position: sticky; top: 92px; }
.gallery { padding: 12px; }
#gallery-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: #efeeeb; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .7; }
.thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--accent); opacity: 1; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.spec-grid > div { display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center; }
.spec-grid .ico { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.spec-grid dt { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.spec-grid dd { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.3; }
.price-card { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: var(--ink); color: rgba(255, 255, 255, .8); border-color: var(--ink); }
.price-card strong { font-size: 1.7rem; color: var(--accent); }
.hint { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; background: var(--accent-soft); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .9rem; color: var(--ink); }
.hint .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-dark); }
.calc { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; }
.calc-empty { color: var(--muted); }
.calc-row { display: flex; justify-content: space-between; gap: 12px; }
.calc-row.total { font-weight: 700; color: var(--ink); font-size: 1.1rem; margin-top: 4px; }
.calc-error { color: var(--err); font-weight: 600; }
.busy { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.busy h3 { font-size: .9rem; margin-bottom: 6px; }
.busy li { color: var(--muted); }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=date],
.form input[type=number], .form input[type=password], .form select, .form textarea {
    width: 100%; padding: 11px 12px; border: 1.5px solid #d6d5d1; border-radius: var(--radius-sm);
    font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; min-height: 46px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 166, 51, .35); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.car-side .row-2 { grid-template-columns: 1.5fr 1fr; }
.car-side .row-2.even { grid-template-columns: 1fr 1fr; }
.hint strong { display: block; margin-bottom: 2px; }
.form .check { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-weight: 400; font-size: .93rem; color: var(--text); }
.form .check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.form a, .fineprint a, .prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.fineprint { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 0; }
.fineprint .ico { width: 16px; height: 16px; margin-top: 2px; }
.cf-turnstile { min-height: 65px; }
.form input.readonly { background: var(--bg-alt); border-color: var(--line); font-weight: 600; cursor: default; }
.form input.readonly:focus { box-shadow: none; border-color: var(--line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: .93rem; margin-bottom: 14px; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-error { background: var(--err-soft); color: var(--err); }
.alert-warn { background: var(--accent-soft); color: #7a4a00; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(400px, 32%, 480px); gap: 28px; align-items: start; }
.summary-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.summary-list { margin: 0 0 14px; display: grid; }
.summary-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.summary-list .total dt, .summary-list .total dd { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.summary-list.left { text-align: left; margin: 22px 0; }
.status-ico { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 16px; }
.status-ico .ico { width: 32px; height: 32px; }
.status-ico.ok { background: var(--ok-soft); color: var(--ok); }
.status-ico.wait { background: var(--accent-soft); color: var(--accent-dark); }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 20px; width: 100%; max-height: 560px; object-fit: cover; }
.about-badge { position: absolute; left: 18px; bottom: 18px; background: var(--accent); color: var(--ink-2); font-weight: 700; padding: 10px 16px; border-radius: 10px; }
.prose h2 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.prose .btn { margin-top: 10px; text-decoration: none; color: #fff; }

/* FAQ */
.faq-cat { font-size: 1.25rem; margin: 40px 0 14px; }
.faq-cat:first-child { margin-top: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent-dark); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] { border-color: var(--ink); }
.faq-a { padding: 0 18px 16px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul, .legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }

/* Legal */
.legal h2 { font-family: var(--body); font-weight: 700; font-size: 1.3rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--bg-alt); color: var(--ink); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.contact-cards li { text-align: center; }
.contact-cards h3 { margin-bottom: 4px; }
.contact-cards a { text-decoration: none; }
.contact-cards a:hover { color: var(--accent-dark); }
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 28px; align-items: stretch; }
.contact-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.big-404 { font-family: var(--display); font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--accent); margin: 0 0 10px; }

/* Responsive */
@media (max-width: 1024px) {
    .car-grid { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(3, 1fr); }
    .car-layout, .checkout-layout { grid-template-columns: 1fr; }
    .car-side { position: static; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-grid; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 18px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav > a { padding: 12px; }
    .lang-switch { margin: 10px 0 0; align-self: flex-start; }
    .steps { grid-template-columns: 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .contact-img { max-height: 320px; }
}
@media (max-width: 600px) {
    .car-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .row-2 { grid-template-columns: 1fr; }
    .car-side .row-2 { grid-template-columns: 1.4fr 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .card { padding: 18px; }
    .logo img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Polish: motion and depth ---------- */
.site-header { transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(32, 31, 29, .09); }
.site-nav > a { position: relative; }
.site-nav > a::after {
    content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav > a:hover::after, .site-nav > a.active::after { transform: scaleX(1); }

/* Scroll reveal (class added by JS only to elements below the fold) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* Buttons: light sweep */
.btn-accent, .btn-dark { position: relative; overflow: hidden; }
.btn-accent::after, .btn-dark::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: translateX(-160%) skewX(-18deg); pointer-events: none;
}
.btn-dark::after { background: linear-gradient(100deg, transparent, rgba(255, 166, 51, .35), transparent); }
.btn-accent:hover::after, .btn-dark:hover::after { transform: translateX(330%) skewX(-18deg); transition: transform .7s ease; }
.btn-accent { box-shadow: 0 8px 20px -8px rgba(243, 146, 18, .7); }

/* Steps: connecting line */
.steps { position: relative; }
.steps::before { content: ''; position: absolute; top: 38px; left: 18%; right: 18%; border-top: 2px dashed #d9d7d1; }
.steps li { position: relative; }
.step-ico { position: relative; box-shadow: 0 0 0 10px var(--bg), 0 14px 26px -8px rgba(32, 31, 29, .35); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.section-alt .step-ico { box-shadow: 0 0 0 10px var(--bg-alt), 0 14px 26px -8px rgba(32, 31, 29, .35); }
.card .step-ico { box-shadow: 0 14px 26px -8px rgba(32, 31, 29, .35); }
.steps li:hover .step-ico, .features li:hover .step-ico, .contact-cards li:hover .step-ico { transform: translateY(-5px) rotate(-8deg) scale(1.06); }

/* Car cards */
.car-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.car-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 2px 4px rgba(32, 31, 29, .06), 0 26px 50px -12px rgba(32, 31, 29, .22); }
.car-card-img { overflow: hidden; }
.car-card-img img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.car-card:hover .car-card-img img { transform: scale(1.07); }
.car-card-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.car-card:hover .car-card-img::after { transform: scaleX(1); }
.brand-tag, .mode-tag { box-shadow: 0 4px 12px rgba(0, 0, 0, .14); }
.mode-tag.static { box-shadow: none; }
.contact-cards .card { transition: transform .3s, box-shadow .3s; }
.contact-cards .card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -14px rgba(32, 31, 29, .2); }

/* Dark bands */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-2); }
.cta-band::before { content: ''; position: absolute; z-index: -1; right: -8%; top: 50%; width: 520px; aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(255, 166, 51, .3), transparent 72%); }
.cta-band::after { content: ''; position: absolute; z-index: -1; top: -40%; bottom: -40%; right: 5%; width: 10px; background: var(--accent); transform: skewX(-36deg); box-shadow: 26px 0 0 -3px rgba(255, 166, 51, .45); }
.cta-band .btn { margin-right: clamp(0px, 5vw, 70px); }

.page-banner { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-2); }
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../img/page-header.webp') center/cover no-repeat; }
.page-banner::after { content: ''; position: absolute; z-index: -1; left: 50%; bottom: -130px; width: 620px; height: 220px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 166, 51, .42), transparent); }
.page-banner h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.page-banner p { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .12s both; }

.price-card { background: linear-gradient(120deg, var(--ink-2), #2d2b27); position: relative; overflow: hidden; }
.price-card::after { content: ''; position: absolute; top: -40%; bottom: -40%; right: 36%; width: 6px; background: rgba(255, 166, 51, .35); transform: skewX(-30deg); }
.price-card strong { position: relative; z-index: 1; }

#gallery-main { transition: opacity .25s; }
#gallery-main.swap { opacity: 0; }
.about-img img { box-shadow: 22px 22px 0 -2px var(--accent-soft); }
.about-badge { box-shadow: 0 12px 24px -8px rgba(243, 146, 18, .7); }
.faq details { transition: border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: #cfcdc7; }
.faq details[open] { box-shadow: var(--shadow); }
.faq details[open] .faq-a { animation: rise .35s ease both; }
.social a { transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--accent); color: var(--ink-2); border-color: var(--accent); transform: translateY(-3px); }

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-art { max-width: 440px; margin: 0 auto; }
    /* Keep the stripes behind the car only, clear of the text */
    .hero-stripes { top: auto; height: 44%; overflow: hidden; }
    .hero-stripes span:nth-child(1) { left: 62%; }
    .hero-stripes span:nth-child(2) { left: 52%; width: 3%; }
    .hero-stripes span:nth-child(3) { left: 46%; width: 1%; }
    .hero::before { top: auto; bottom: -10%; right: -30%; transform: none; width: 120vw; }
    .steps::before { display: none; }
    .site-nav > a::after { display: none; }
    .cta-band::after { display: none; }
    .cta-band .btn { margin-right: 0; }
}
@media (max-width: 600px) {
    .hero-stats { gap: 14px 26px; }
    .hero-stats dt { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; }
    .hero-text > *, .hero-art { opacity: 1; }
    .hero-stripes span { transform: skewX(-36deg); }
    .rv { opacity: 1; transform: none; }
}

/* Wide screens: use the full page width */
@media (min-width: 1400px) {
    body { font-size: 17px; }
    .car-grid { gap: 30px; }
    .car-card-body { padding: 22px 24px 24px; }
    .car-card-body h3 { font-size: 1.25rem; }
    .price strong { font-size: 1.75rem; }
    .steps p, .features p { font-size: 1rem; }
    .step-ico { width: 68px; height: 68px; }
    .steps::before { top: 42px; }
    .logo img { height: 40px; }
    .header-inner { min-height: 82px; }
    .car-side { top: 102px; }
}
/* Full-width text pages */
.legal { font-size: 1.05rem; }
.legal > h2 { padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal > h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
@media (min-width: 1100px) {
    .faq { grid-template-columns: 1fr 1fr; align-items: start; gap: 12px 20px; }
}
/* Footer */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-2); color: rgba(255, 255, 255, .66); font-size: .95rem; border-top: 4px solid var(--accent); }
.site-footer::before {
    content: ''; position: absolute; z-index: -2; left: -8%; bottom: -55%; width: min(900px, 90vw); aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(255, 166, 51, .16), transparent 72%);
}
.site-footer::after {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(260deg, #000, transparent 55%);
    mask-image: linear-gradient(260deg, #000, transparent 55%);
}
.footer-stripes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.footer-stripes span { position: absolute; top: -20%; bottom: -20%; background: var(--accent); transform: skewX(-36deg); }
.footer-stripes span:nth-child(1) { right: -3%; width: 5%; }
.footer-stripes span:nth-child(2) { right: 4.5%; width: 1%; opacity: .7; }
.footer-stripes span:nth-child(3) { right: 7%; width: .35%; opacity: .4; }

.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr 2fr; gap: clamp(32px, 4vw, 72px); padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(40px, 5vw, 64px); padding-right: clamp(20px, 13vw, 240px); }
.footer-logo { height: 46px; width: auto; margin-bottom: 20px; }
.footer-tagline { font-family: var(--display); color: #fff; font-size: 1.15rem; line-height: 1.3; max-width: 380px; margin-bottom: 12px; }
.footer-brand p:not(.footer-tagline) { max-width: 400px; }
.site-footer h3 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.site-footer h3::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }

.footer-nav li { margin-bottom: 4px; }
.footer-nav a { display: inline-flex; align-items: center; padding: 5px 0; color: rgba(255, 255, 255, .78); transition: color .2s, transform .25s; }
.footer-nav a::before { content: ''; width: 0; height: 2px; margin-right: 0; background: var(--accent); transition: width .25s, margin-right .25s; }
.footer-nav a:hover::before { width: 16px; margin-right: 10px; }

.footer-contact ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .035); transition: border-color .25s, background .25s, transform .25s; min-width: 0; }
.footer-contact li:hover { border-color: rgba(255, 166, 51, .6); background: rgba(255, 166, 51, .07); transform: translateY(-3px); }
.fc-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: var(--ink-2); }
.footer-contact li > div { min-width: 0; line-height: 1.35; }
.footer-contact small { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 2px; }
.footer-contact a, .footer-contact li span:not(.fc-ico) { color: #fff; font-weight: 600; font-size: .93rem; overflow-wrap: anywhere; }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .25); font-size: .85rem; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: var(--ink-2); color: #fff; font-weight: 600; }
.to-top .ico { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .25s; }
.to-top:hover { border-color: var(--accent); }
.to-top:hover .ico { transform: rotate(-90deg) translateX(3px); }

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; padding-right: clamp(20px, 4vw, 64px); }
    .footer-grid > .footer-contact { grid-column: 1 / -1; }
    .footer-stripes { display: none; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-contact ul { grid-template-columns: 1fr; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}
.credit a { color: #fff; font-weight: 600; }
.credit .heart { color: var(--accent); display: inline-block; animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.3); } 40% { transform: scale(1.1); } }

/* ---------- Custom dropdown and date picker ---------- */
.field { position: relative; }
.field-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.field-btn {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px;
    padding: 11px 12px; border: 1.5px solid #d6d5d1; border-radius: var(--radius-sm); background: #fff;
    font: 500 1rem/1.4 var(--body); color: var(--ink); text-align: left; cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.field-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-btn svg { flex: none; color: var(--muted); transition: transform .25s, color .2s; }
.field-btn.empty > span { color: #8b8a86; font-weight: 400; }
.field-btn:hover { border-color: #b9b7b1; }
.field.open .field-btn, .field-btn:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 166, 51, .35); }
.field.open .field-btn svg { color: var(--accent-dark); }
.cs.open .field-btn svg { transform: rotate(180deg); }
.field.invalid .field-btn { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }

.field-pop {
    position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; display: none;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 4px 8px rgba(32, 31, 29, .06), 0 22px 48px -10px rgba(32, 31, 29, .28);
}
.field.open .field-pop { display: block; animation: pop-in .18s cubic-bezier(.2, .8, .2, 1); }
.field.align-right .field-pop { left: auto; right: 0; }
.field.drop-up .field-pop { top: auto; bottom: calc(100% + 6px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

.cs-list { min-width: 100%; max-height: 264px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; overscroll-behavior: contain; scrollbar-width: thin; }
.cs-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: .96rem; color: var(--ink); white-space: nowrap; cursor: pointer; }
.cs-list li.active { background: var(--bg-alt); }
.cs-list li[aria-selected=true] { background: var(--accent-soft); font-weight: 700; }
.cs-list li[aria-selected=true]::after { content: ''; width: 6px; height: 11px; margin-right: 4px; border: solid var(--accent-dark); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); }

.dp-panel { width: 308px; max-width: calc(100vw - 32px); padding: 14px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-head strong { font-size: 1rem; color: var(--ink); text-transform: capitalize; }
.dp-nav { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.dp-nav:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.dp-wd { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.dp-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font: 500 .93rem/1 var(--body); color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.dp-day:hover:not(:disabled) { background: var(--accent-soft); }
.dp-day.today { box-shadow: inset 0 0 0 1.5px #cfcdc7; }
.dp-day.in-range { background: var(--accent-soft); border-radius: 0; }
.dp-day.range-end { background: #ffd9a1; }
.dp-day.selected, .dp-day.selected:hover { background: var(--accent); color: var(--ink-2); font-weight: 700; box-shadow: 0 6px 14px -6px rgba(243, 146, 18, .9); }
.dp-day:disabled { color: #c9c7c1; cursor: not-allowed; }
.dp-day.busy:disabled { text-decoration: line-through; color: #d9a39d; }
.dp-day:focus-visible, .dp-nav:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

/* Small print: icon on the left, text flows normally (links stay inline) */
.fineprint { display: block; position: relative; line-height: 1.5; }
.fineprint:has(> .ico) { padding-left: 24px; }
.fineprint > .ico { position: absolute; left: 0; top: 2px; margin: 0; }

.card-title.with-tag { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title.with-tag .mode-tag { margin: 0; flex: none; }

/* Car card: location under the name, specs as one even row */
.car-card-head h3 { margin: 0 0 4px; }
.car-loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .88rem; }
.car-loc .ico { width: 15px; height: 15px; color: var(--accent-dark); }
.spec-chips { display: grid; grid-template-columns: 1.45fr 1.15fr 1fr .8fr 1.2fr; gap: 0; background: var(--bg-alt); border-radius: 10px; padding: 10px 4px; color: var(--ink); font-size: .8rem; font-weight: 600; }
.spec-chips li { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 4px; text-align: center; line-height: 1.2; white-space: nowrap; min-width: 0; }
.spec-chips li + li { border-left: 1px solid #e2e0da; }
.spec-chips .ico { width: 18px; height: 18px; color: var(--accent-dark); }
@media (min-width: 1400px) { .spec-chips { font-size: .86rem; padding: 12px 6px; } }
/* Rental type choice */
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form .choice label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border: 1.5px solid #d6d5d1; border-radius: var(--radius-sm); font-size: .96rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.choice input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 2px solid #b9b7b1; border-radius: 50%; background: #fff; transition: border-color .2s, box-shadow .2s; }
.choice input:checked { border-color: var(--accent-dark); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 9px var(--accent-dark); }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
.choice input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* ---------- Booking widget (cars with online payment) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#booking-form { gap: 18px; }
#booking-form .choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#booking-form .choice legend { float: left; margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
#booking-form .choice label { padding: 7px 14px 7px 10px; border-radius: 999px; font-size: .9rem; }

.trip { position: relative; display: grid; gap: 12px; }
/* dashed line that links pick-up and return */
.trip::before { content: ''; position: absolute; left: 33px; top: 54px; bottom: 54px; border-left: 2px dashed #d9d7d1; }
.trip-leg { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); transition: border-color .2s, box-shadow .2s, background .2s; }
.trip-leg:focus-within, .trip-leg:has(.field.open) { border-color: var(--accent); background: #fff; box-shadow: 0 10px 26px -14px rgba(243, 146, 18, .8); z-index: 2; }
.trip-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--ink-2); box-shadow: 0 8px 16px -8px rgba(243, 146, 18, .9); }
.trip-mark.end { background: var(--ink); color: var(--accent); box-shadow: 0 8px 16px -8px rgba(32, 31, 29, .7); }
.trip-mark .ico { width: 20px; height: 20px; }
.trip-body { display: grid; gap: 8px; min-width: 0; }
.trip-body h3 { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: 40px; height: 34px; }
.trip-body label { gap: 0; }
.trip .row-2, .car-side .trip .row-2 { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 8px; }
.trip .field-btn, .trip select, .trip input[type=date] { min-height: 44px; padding: 9px 12px; border-color: #dedcd6; font-size: .96rem; }

/* price summary as a receipt */
#booking-form .calc { background: none; padding: 14px 2px 0; border-top: 2px dashed var(--line); border-radius: 0; }
#booking-form .calc-empty { display: block; text-align: center; font-size: .9rem; }
#booking-form .calc-row { color: var(--muted); }
#booking-form .calc-row.total { align-items: baseline; margin-top: 6px; color: var(--ink); font-size: 1rem; }
#booking-form .calc-row.total span:last-child { font-size: 1.6rem; font-weight: 700; }
#booking-form .calc-error { display: block; text-align: center; padding: 8px 10px; border-radius: 9px; background: var(--err-soft); }
#booking-form .btn-block { padding: 15px 20px; font-size: 1rem; }
#booking-form .btn .ico { transition: transform .25s; }
#booking-form .btn:hover .ico { transform: translateX(4px); }

@media (max-width: 420px) {
    .trip-leg { grid-template-columns: 1fr; }
    .trip-mark { display: none; }
    .trip::before { display: none; }
    .trip-body h3 { line-height: 1.4; height: auto; }
}

/* Language switch with flags */
.lang-switch a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; }
.lang-switch .flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.lang-switch a:not(.active) .flag { opacity: .75; }
.lang-switch a:hover .flag { opacity: 1; }
.trip label, .trip .field { min-width: 0; }
.trip .field-btn { gap: 6px; }

/* Rental type: day / week / month */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
#booking-form .seg label { display: inline-flex; align-items: center; gap: 0; padding: 7px 16px; border: 0; border-radius: 999px; background: none; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
#booking-form .seg label:hover { color: var(--ink); }
#booking-form .seg label.on, #booking-form .seg label:has(input:checked) { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(32, 31, 29, .7); }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; box-shadow: none; border: 0; }
#booking-form .seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }#booking-form .choice { display: grid; gap: 8px; }
#booking-form .choice legend { float: none; margin-bottom: 8px; }
#booking-form .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
#booking-form .seg label { justify-content: center; padding: 9px 10px; }
/* Header cart: shows a booking that was started but not paid */
.header-inner { gap: 14px; }
.site-nav { order: 1; margin-left: auto; }
.header-cart { order: 2; position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.header-cart:hover { border-color: var(--ink); }
.header-cart .ico { width: 21px; height: 21px; }
.header-cart.has-item { padding-right: 14px; border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 8px 18px -10px rgba(243, 146, 18, .9); }
.cart-badge { position: absolute; top: -7px; left: 24px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #d92d20; color: #fff; font-size: .7rem; font-weight: 700; line-height: 1; box-shadow: 0 0 0 2px #fff; animation: cart-pulse 2s ease-in-out infinite; }
.cart-text { display: grid; font-size: .86rem; font-weight: 700; line-height: 1.2; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-text small { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a5200; }
@keyframes cart-pulse { 0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgba(217, 45, 32, .5); } 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 8px rgba(217, 45, 32, 0); } }
.nav-toggle { order: 3; }
@media (max-width: 1180px) { .cart-text { display: none; } .header-cart.has-item { padding-right: 11px; } }
@media (max-width: 860px) { .header-cart { margin-left: auto; } .site-nav { margin-left: 0; } }
/* Checkout summary actions */
.summary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.summary-actions form { display: contents; }
.summary-actions .btn { width: 100%; padding: 11px 12px; font-size: .9rem; white-space: normal; text-align: center; }
.summary-actions .ico { width: 17px; height: 17px; }
.btn-clear { background: #fff; color: var(--err); border-color: #f1b5af; }
.btn-clear:hover { background: var(--err); border-color: var(--err); color: #fff; }
@media (max-width: 380px) { .summary-actions { grid-template-columns: 1fr; } }
/* Terms checkbox */
.form .check { cursor: pointer; line-height: 1.5; }
.form .check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1.5px solid #b9b7b1; border-radius: 6px; background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.form .check input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa633' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--ink); }
.form .check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* ---------- Header account link ---------- */
.header-account { order: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; transition: border-color .2s, background .2s; }
.header-account:hover { border-color: var(--ink); }
.header-account .ico { width: 20px; height: 20px; }
.header-account.signed-in { background: var(--ink); border-color: var(--ink); color: #fff; }
.header-account.signed-in .ico { color: var(--accent); }
.header-account span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1280px) { .header-account span { display: none; } }
@media (max-width: 860px) { .header-cart { margin-left: 0; } .header-account { margin-left: auto; } }

/* ---------- Checkout ---------- */
.checkout-main { display: grid; gap: 18px; min-width: 0; }
.account-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border: 1px dashed #d6d5d1; border-radius: var(--radius); background: var(--bg-alt); font-size: .95rem; }
.account-bar > .ico { width: 22px; height: 22px; color: var(--accent-dark); }
.account-bar span { flex: 1 1 240px; }
.account-bar .btn { padding: 9px 18px; }
.account-bar.signed-in { border-style: solid; border-color: #bfe3cd; background: var(--ok-soft); color: #14532d; }
.account-bar.signed-in > .ico { color: var(--ok); }
.account-bar.signed-in a { font-weight: 600; }
.row-2.zip { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.form small { font-weight: 400; color: var(--muted); }

.create-account { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); display: grid; gap: 14px; }
.create-account-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px dashed #d6d5d1; }
.create-account-fields[hidden] { display: none; }

.pay-title { margin-top: 10px; }
.pay-options { display: grid; gap: 10px; }
.form .pay-option { display: grid; grid-template-columns: auto 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #d6d5d1; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 400; transition: border-color .2s, background .2s, box-shadow .2s; }
.pay-option:hover { border-color: #b9b7b1; }
.pay-option.on, .pay-option:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); box-shadow: 0 10px 24px -16px rgba(243, 146, 18, .9); }
.pay-option.disabled { opacity: .55; cursor: not-allowed; }
.pay-option input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 2px solid #b9b7b1; border-radius: 50%; background: #fff; }
.pay-option input:checked { border-color: var(--accent-dark); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px var(--accent-dark); }
.pay-option input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pay-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: var(--accent); }
.pay-ico .ico { width: 22px; height: 22px; }
.pay-text { display: grid; gap: 2px; line-height: 1.35; }
.pay-text strong { color: var(--ink); font-size: 1rem; }
.pay-text small { font-size: .85rem; }
.pay-amount { font-weight: 700; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.card-box { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.card-box[hidden] { display: none; }
#payment-element { min-height: 60px; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading .ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; }
.success-card .summary-list dd { text-align: right; }

/* ---------- Sign in / register ---------- */
.auth-wrap { max-width: 480px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 20px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.auth-tabs a { padding: 10px; border-radius: 9px; text-align: center; text-decoration: none; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.auth-tabs a.active { background: var(--ink); color: #fff; }
.auth-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.fineprint.center { text-align: center; }

/* ---------- Customer account ---------- */
.account-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-side { position: sticky; top: 100px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.account-side small { color: var(--muted); overflow-wrap: anywhere; }
.account-side nav { display: grid; gap: 4px; width: 100%; margin: 14px 0; padding: 14px 0; border-block: 1px solid var(--line); }
.account-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; color: var(--ink); text-align: left; }
.account-side nav a:hover { background: var(--bg-alt); }
.account-side nav .ico { width: 18px; height: 18px; color: var(--accent-dark); }
.account-side form { width: 100%; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: var(--display); font-size: 1.6rem; }
.account-main { display: grid; gap: 22px; min-width: 0; }
.account-main .card { scroll-margin-top: 100px; }

.booking-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.booking-item:first-of-type { border-top: 0; padding-top: 0; }
.booking-item:last-child { padding-bottom: 0; }
.booking-img { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #efeeeb; }
.booking-img img { width: 100%; height: 100%; object-fit: cover; }
.booking-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.booking-top h3 { margin: 0; font-size: 1.1rem; }
.booking-ref { margin: 2px 0 10px; color: var(--muted); font-size: .88rem; }
.booking-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 18px; margin: 0; }
.booking-meta dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.booking-meta dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); line-height: 1.35; }
.booking-meta small { font-weight: 400; color: var(--muted); }
.status { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; background: #eeede9; color: #4a4946; }
.status-paid, .status-completed { background: var(--ok-soft); color: var(--ok); }
.status-reserved { background: var(--accent-soft); color: #8a5200; }
.status-cancelled { background: var(--err-soft); color: var(--err); }

@media (max-width: 1024px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-side { position: static; }
}
@media (max-width: 600px) {
    .create-account-fields { grid-template-columns: 1fr; }
    .form .pay-option { grid-template-columns: auto minmax(0, 1fr) auto; }
    .pay-ico { display: none; }
    .booking-item { grid-template-columns: 1fr; }
    .booking-img { max-width: 260px; }
    .row-2.zip { grid-template-columns: 1fr 1.6fr; }
}

/* Rent now: turns orange on hover */
.car-card .btn-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--ink-2); }
.car-card .btn-dark::after { display: none; }

/* Booking summary stays in view while the form scrolls */
@media (min-width: 1025px) { .checkout-layout .summary { position: sticky; top: 102px; } }

/* ---------- Sign in / register: promo panel next to the form ---------- */
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 980px; padding-inline: 20px; border-radius: 20px; }
.auth-grid > * { min-width: 0; }
.auth-promo { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(26px, 4vw, 44px); border-radius: 20px 0 0 20px; background: var(--ink-2); color: rgba(255, 255, 255, .72); }
.auth-promo::before { content: ''; position: absolute; z-index: -1; left: -30%; bottom: -40%; width: 520px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 166, 51, .3), transparent 72%); }
.auth-promo::after { content: ''; position: absolute; z-index: -1; top: -30%; bottom: -30%; right: 9%; width: 9px; background: var(--accent); transform: skewX(-36deg); box-shadow: 24px 0 0 -3px rgba(255, 166, 51, .4); opacity: .9; }
.auth-promo img { height: 30px; width: auto; align-self: flex-start; }
.auth-promo h2 { margin: 0; color: #fff; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); max-width: 320px; }
.auth-promo ul { display: grid; gap: 16px; max-width: 340px; }
.auth-promo li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.auth-promo li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--ink-2); }
.auth-promo strong { display: block; color: #fff; }
.auth-promo small { display: block; line-height: 1.45; font-size: .88rem; }
.auth-card { border-radius: 0 20px 20px 0; border-left: 0; padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.auth-legal { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--bg-alt); font-size: .84rem; line-height: 1.5; color: var(--muted); }
.auth-legal .ico { width: 17px; height: 17px; margin-top: 2px; color: var(--accent-dark); }
.auth-legal.center { justify-content: center; background: none; padding: 4px 0 0; font-size: .92rem; }
.auth-legal a { font-weight: 600; }
@media (max-width: 800px) {
    .auth-grid { grid-template-columns: 1fr; max-width: 520px; }
    .auth-promo { border-radius: 20px 20px 0 0; }
    .auth-promo ul { display: none; }
    .auth-promo::after { display: none; }
    .auth-card { border-radius: 0 0 20px 20px; border-left: 1px solid var(--line); border-top: 0; }
}.auth-promo ul { max-width: 290px; }
.auth-promo::after { right: 5%; }

/* ---------- E-mail confirmation ---------- */
.verify-card { text-align: center; display: grid; gap: 14px; justify-items: center; }
.verify-card > * { margin: 0; }
.verify-card .form, .verify-card .alert, .verify-card .hint { width: 100%; }
.form input.code-input, .code-input { width: 100%; padding: 14px 10px 14px 28px; border: 2px solid #d6d5d1; border-radius: 14px; font: 400 2.2rem/1 var(--display); letter-spacing: 18px; text-align: center; color: var(--ink); }
.code-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 166, 51, .35); }
.code-input::placeholder { color: #d6d5d1; }
.verify-deadline { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .88rem; color: #8a5200; }
.verify-deadline .ico { width: 16px; height: 16px; }
.verify-resend { display: grid; gap: 8px; justify-items: center; width: 100%; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* ---------- Customer account: notices, countdown, separate pages ---------- */
.account-side nav a.active { background: var(--ink); color: #fff; }
.account-side nav a.active .ico { color: var(--accent); }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); border: 1px solid; }
.notice > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.notice strong { display: block; color: var(--ink); }
.notice b { padding: 7px 14px; border-radius: 999px; white-space: nowrap; font-size: .9rem; }
.notice.ok { border-color: #bfe3cd; background: var(--ok-soft); }
.notice.ok > span { background: var(--ok); }
.notice.ok b { background: var(--ok); color: #fff; }
.notice.wait { border-color: #ffd9a1; background: var(--accent-soft); }
.notice.wait > span { background: var(--accent-dark); }
.notice.left { text-align: left; margin: 6px 0; }
.countdown { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: .8rem; }
.countdown .ico { width: 14px; height: 14px; }
.status-awaiting { background: var(--accent-soft); color: #8a5200; }
.status-reserved { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 600px) { .notice { grid-template-columns: auto minmax(0, 1fr); } .notice b, .notice .btn { grid-column: 1 / -1; justify-self: start; } }
/* ---------- Account: change e-mail ---------- */
.account-main .card { display: grid; gap: 14px; }
.account-main .card > .card-title { margin-bottom: 4px; }
.current-email { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.current-email .ico { color: var(--accent-dark); }
.current-email span { color: var(--muted); }
.code-form { grid-template-columns: minmax(0, 260px) auto; align-items: center; justify-content: start; }
.code-form .code-input { font-size: 1.6rem; letter-spacing: 12px; padding: 10px 6px 10px 18px; }
@media (max-width: 520px) { .code-form { grid-template-columns: 1fr; } }
/* Declined booking: reason and next step */
.notice.bad { border-color: #f1b5af; background: var(--err-soft); align-items: start; }
.notice.bad > span { background: var(--err); }
.notice.bad .btn { align-self: center; }
.notice blockquote { margin: 10px 0; padding: 10px 14px; border-left: 4px solid var(--err); border-radius: 0 8px 8px 0; background: #fff; color: var(--ink); font-weight: 500; }
.notice blockquote small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--err); }
.notice em { display: block; margin-top: 6px; font-style: normal; font-weight: 600; color: var(--ink); }
.booking-reason { margin: -4px 0 10px; padding: 8px 12px; border-radius: 8px; background: var(--err-soft); color: var(--err); font-size: .88rem; }
/* Confirmation page: roomier card */
.verify-wrap { max-width: 640px; }
.verify-card { padding: clamp(28px, 5vw, 48px) clamp(22px, 6vw, 64px); gap: 18px; }
.verify-card h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 1.9rem); }
.verify-card > p { max-width: 460px; color: var(--muted); }
.verify-card .form { max-width: 400px; gap: 16px; }
.verify-card .code-input { font-size: 2.4rem; letter-spacing: 20px; padding: 16px 10px 16px 30px; }
.verify-deadline { max-width: 460px; padding: 10px 16px; border-radius: 10px; background: var(--accent-soft); text-align: left; align-items: flex-start; }
.verify-deadline .ico { flex: none; margin-top: 3px; }
.verify-resend { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; text-align: left; max-width: 460px; }
@media (max-width: 520px) { .verify-resend { grid-template-columns: 1fr; justify-items: center; text-align: center; } .verify-card .code-input { font-size: 1.9rem; letter-spacing: 14px; padding-left: 22px; } }
.verify-logout { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: center; font-size: .88rem; color: var(--muted); }
.link-btn { padding: 0; border: 0; background: none; font: 600 .88rem var(--body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent-dark); }
