/* Car Rental Selfoss — public site. Premium visual layer.
   Type system: Fraunces (display serif, headings + prices) + Lato (body/UI).
   Palette kept brand-true: ink/grey text, green accent #43922A, white + #f4f6f3 grounds. */
:root {
  --color-ink: #1f2420;          /* headings — deep, premium */
  --color-text: #2b2b2b;
  --color-muted: #5c5c5c;
  --color-soft: #7c8378;         /* secondary muted on light grounds */
  --color-accent: #43922a;
  --color-accent-dark: #357021;
  --color-accent-soft: #eef5e9;  /* pale green wash */
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f3;
  --color-border: #e3e6e1;
  --color-border-strong: #d3d8cf;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --maxw: 1180px;

  --shadow-sm: 0 1px 2px rgba(20,30,22,.06), 0 2px 6px rgba(20,30,22,.05);
  --shadow-md: 0 10px 30px rgba(20,30,22,.09);
  --shadow-lg: 0 24px 60px rgba(20,30,22,.16);

  --ease: cubic-bezier(.4, 0, .2, 1);

  --font: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); margin: 0 0 16px; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 0 0 14px; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Accessible focus ring (keyboard nav) */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 3px; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}
.eyebrow-center { justify-content: center; }
.eyebrow-light { color: #d8efcf; }
.eyebrow-light::before { background: #9fd98a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--radius);
  font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.2;
  cursor: pointer; border: 2px solid transparent; text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); box-shadow: 0 6px 18px rgba(67,146,42,.22); }
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); box-shadow: 0 10px 26px rgba(53,112,33,.30); }
.btn-ghost { background: transparent; color: var(--color-accent-dark); border-color: var(--color-accent); }
.btn-ghost:hover { background: var(--color-accent); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--color-border); background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(8px); position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--color-muted); font-weight: 700; font-size: 0.97rem; position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--color-accent); transition: right .25s var(--ease); }
.main-nav a:not(.nav-cta):hover, .main-nav a:not(.nav-cta).active { color: var(--color-accent-dark); text-decoration: none; }
.main-nav a:not(.nav-cta):hover::after, .main-nav a:not(.nav-cta).active::after { right: 0; }
.main-nav a.nav-cta { color: #fff; }
.main-nav a.nav-cta:hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--color-muted); border-radius: 2px; }

/* ---------- Hero ---------- */
/* Skógarfoss backdrop; editorial headline left, booking card right.
   Background image set inline; this layer adds the legibility gradient + depth. */
.hero {
  position: relative; isolation: isolate;
  background-size: cover; background-position: center 36%;
  color: #fff; min-height: min(86vh, 760px);
  display: flex; align-items: center; padding: 72px 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(13,22,15,.82) 0%, rgba(13,22,15,.55) 42%, rgba(13,22,15,.18) 72%, rgba(13,22,15,.05) 100%),
    linear-gradient(to top, rgba(13,22,15,.55), rgba(13,22,15,0) 45%);
}
.hero .container { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 56px; }
.hero-text { text-align: left; max-width: 620px; }
.hero h1 {
  color: #fff; font-size: clamp(2.7rem, 5.6vw, 4.3rem); font-weight: 600;
  line-height: 1.02; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.45); margin: 0 0 18px;
}
.hero .lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: #eef2ea; text-shadow: 0 1px 14px rgba(0,0,0,.5); margin: 0; font-weight: 400; max-width: 32ch; }
.hero-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 700; color: #f3f6f0; }
.hero-trust svg { width: 19px; height: 19px; color: #9fd98a; flex: 0 0 19px; }

/* ---------- Booking widget ---------- */
.hero-widget { width: 100%; background: #fff; color: var(--color-text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 26px 28px; text-align: left; border-top: 4px solid var(--color-accent); }
.widget-title { font-family: var(--font-display); margin: 0 0 18px; font-size: 1.4rem; color: var(--color-ink); }
.hero-widget label { display: block; margin-bottom: 14px; }
.hero-widget label span { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--color-muted); margin-bottom: 6px; }
.hero-widget input, .hero-widget select { width: 100%; padding: 12px 13px; border: 1px solid var(--color-border-strong); border-radius: var(--radius); font: inherit; color: var(--color-text); background: #fff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.hero-widget input:focus, .hero-widget select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.widget-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.widget-note { margin: 14px 0 0; font-size: 0.76rem; color: var(--color-soft); line-height: 1.5; }

/* ---------- Section rhythm ---------- */
.featured { padding: clamp(64px, 8vw, 104px) 0; }
.featured-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.featured-media { position: relative; }
.featured-media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 62%; height: 62%; background: var(--color-accent-soft); border-radius: var(--radius-lg); z-index: 0; }
.featured-img { position: relative; z-index: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.featured-text h2 { margin-top: 0; }
.featured-text p { color: var(--color-muted); }
.featured-text .btn { margin-top: 8px; }

/* ---------- Discounts ---------- */
.discounts { background: var(--color-bg-alt); padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.discounts h2 { margin: 0 0 8px; }
.discount-grid { list-style: none; padding: 0; margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 760px; }
.discount-grid li { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 34px 26px; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); position: relative; }
.discount-grid li:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.discount-pct { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--color-accent); letter-spacing: -0.02em; }
.discount-label { display: block; margin-top: 10px; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }

/* ---------- Why ---------- */
.why { padding: clamp(64px, 8vw, 104px) 0; }
.why .eyebrow { display: flex; justify-content: center; }
.why h2 { text-align: center; margin-bottom: 18px; }
.why-lead { max-width: 720px; margin: 0 auto 14px; text-align: center; color: var(--color-muted); }
.why-grid { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px 28px; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.why-item:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--color-accent-soft); color: var(--color-accent-dark); margin-bottom: 18px; }
.why-icon svg { width: 26px; height: 26px; }
.why-name { font-size: 1.22rem; margin: 0 0 8px; }
.why-text { color: var(--color-muted); font-size: .96rem; margin: 0; line-height: 1.6; }

/* ---------- Locations ---------- */
.locations { background: var(--color-bg-alt); padding: clamp(56px, 7vw, 92px) 0; }
.locations-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.locations h2 { margin: 0 0 14px; }
.locations-addr { color: var(--color-muted); font-size: 1.05rem; max-width: 40ch; }
.locations-actions { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.locations-actions .btn { margin: 0; }
.locations-media { position: relative; }
.locations-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Page head + prose (shared with legal/contact/about) ---------- */
.page-head { background: var(--color-bg-alt); padding: clamp(48px, 6vw, 76px) 0; border-bottom: 1px solid var(--color-border); }
.page-head h1 { margin: 0; }
.page-head .eyebrow { display: inline-flex; }
.page-intro { color: var(--color-muted); margin: 14px 0 0; max-width: 720px; font-size: 1.08rem; }
.page-note { color: var(--color-soft); font-size: 0.88rem; margin: 10px 0 0; max-width: 720px; }
.prose, .legal { padding: 48px 0; }
.prose p, .legal p { margin: 0 0 16px; }
.contact-block, address { font-style: normal; line-height: 1.8; }
.link-list { list-style: none; padding: 0; }
.link-list li { padding: 6px 0; border-bottom: 1px solid var(--color-border); }

/* ---------- Legal ---------- */
.legal-content h2 { margin: 32px 0 12px; font-size: 1.5rem; }
.legal-content h3 { margin: 26px 0 10px; font-size: 1.2rem; color: var(--color-accent-dark); }
.legal-content p { margin: 0 0 12px; }
.legal-content ul, .legal-content ol { margin: 0 0 14px; padding-left: 22px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--color-border); }
.legal-table th { background: var(--color-bg-alt); }

/* ---------- Fleet — shared ---------- */
.empty-state { text-align: center; color: var(--color-muted); padding: 40px 0; }

/* ---------- Contact / enquiry (shared, contact page) ---------- */
.contact { padding: 48px 0 64px; }
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.enquiry-form label { display: block; margin-bottom: 16px; }
.enquiry-form label span { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--color-muted); }
.enquiry-form input, .enquiry-form textarea, .enquiry-form select { width: 100%; padding: 12px 13px; border: 1px solid var(--color-border-strong); border-radius: var(--radius); font: inherit; color: var(--color-text); background: #fff; }
.enquiry-form input:focus, .enquiry-form textarea:focus, .enquiry-form select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.enquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-aside { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; }
.alert { border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.alert-success { background: #eaf6e6; border: 1px solid #b6dca6; }
.alert-success h2 { margin: 0 0 8px; color: var(--color-accent-dark); }
.alert-error { background: #fdecea; border: 1px solid #f3b7b0; color: #9c2a1e; }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px solid var(--color-accent); background: #23261f; color: #cfd3cb; margin-top: 0; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-name { font-family: var(--font-display); color: #fff; font-size: 1.3rem; display: block; font-weight: 600; }
.footer-legal { margin: 8px 0 4px; }
.footer-meta { font-size: 0.86rem; color: #a7ab9f; margin: 2px 0; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font); font-weight: 700; }
.site-footer a { color: #d7e6cf; }
.site-footer .footer-label { color: #a7ab9f; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; }
.footer-bottom { border-top: 1px solid #3a3e33; margin-top: 36px; padding: 18px 0; font-size: 0.82rem; color: #a7ab9f; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--color-muted); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner[hidden] { display: none; }

/* ---------- Error ---------- */
.error-page { text-align: center; padding: 80px 0; }
.error-page h1 { font-size: 4rem; margin: 0; color: var(--color-accent-dark); }

/* ===================================================================
   Fleet catalogue — showroom slider + category tabs + premium cards
   (SVG icons only, no emoji)
   =================================================================== */

/* ---------- Spec icons (shared: slider + cards) ---------- */
.vspecs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 9px 10px; }
.vspec { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--color-muted); font-weight: 700; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 999px; padding: 6px 12px; }
.vspec-ico { width: 17px; height: 17px; flex: 0 0 17px; color: var(--color-accent-dark); }

/* ---------- Showroom slider (featured) ---------- */
.showroom { padding: clamp(48px, 6vw, 76px) 0 12px; }
.showroom .eyebrow { display: flex; justify-content: center; }
.showroom-title { text-align: center; margin: 0 0 32px; font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.showroom-viewport { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.showroom-track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .85s var(--ease); }
.showroom-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; min-height: 420px; }
.showroom-media { position: relative; background: linear-gradient(160deg,#f6f8f5,#e9ede6); display: flex; align-items: center; justify-content: center; }
.showroom-media img { width: 100%; height: 100%; object-fit: cover; }
.showroom-info { padding: 44px 48px; display: flex; flex-direction: column; }
.showroom-cat { text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 700; color: var(--color-accent-dark); margin: 0 0 8px; }
.showroom-name { font-family: var(--font-display); margin: 0 0 18px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; }
.showroom-year { color: var(--color-soft); font-weight: 400; font-family: var(--font); font-size: .7em; }
.showroom-desc { color: var(--color-muted); margin: 4px 0 20px; }
.showroom-price { margin: 4px 0 22px; }
.showroom-info .btn { align-self: flex-start; margin-top: auto; }
.showroom-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--color-border); background: rgba(255,255,255,.96); color: var(--color-ink); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-md); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.showroom-arrow:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.showroom-prev { left: 16px; }
.showroom-next { right: 16px; }
.showroom-dots { display: flex; justify-content: center; gap: 9px; margin-top: 20px; }
.showroom-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--color-border-strong); cursor: pointer; padding: 0; transition: background .25s var(--ease), transform .25s var(--ease); }
.showroom-dot.is-active { background: var(--color-accent); transform: scale(1.3); }

/* ---------- Fleet section: heading + tabs ---------- */
.vfleet { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 96px); }
.vfleet-heading { margin: 0 0 24px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.vfleet-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.vtab { font-family: var(--font); border: 1px solid var(--color-border-strong); background: #fff; color: var(--color-muted); font-weight: 700; font-size: .9rem; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.vtab:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.vtab.is-active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* ---------- Fleet cards (premium) ---------- */
.vfleet-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .28s var(--ease), transform .28s var(--ease), border-color .28s var(--ease); }
.vcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--color-border-strong); }
.vcard[hidden] { display: none; }
.vcard-media { position: relative; height: 200px; background: linear-gradient(160deg,#f6f8f5,#e9ede6); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover .vcard-media > img { transform: scale(1.04); }
.vcard-noimg { color: var(--color-muted); font-weight: 700; opacity: .5; font-size: .9rem; padding: 0 10px; text-align: center; }
.vbadge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--color-accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; box-shadow: 0 2px 8px rgba(53,112,33,.35); }
.vcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.vcard-cat { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--color-accent-dark); margin: 0 0 5px; }
.vcard-name { font-family: var(--font-display); margin: 0 0 14px; font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.vcard-desc { color: var(--color-muted); font-size: .88rem; margin: 0 0 16px; }
.vcard-foot { margin-top: auto; }

/* ---------- Price (emphasis — owner priority) ---------- */
.vcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 7px; margin: 0 0 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.vprice-from { font-size: .72rem; color: var(--color-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; width: 100%; margin-bottom: 2px; }
.vprice-amount { font-family: var(--font-display); font-size: 1.95rem; font-weight: 700; color: var(--color-ink); line-height: 1; letter-spacing: -0.01em; }
.vprice-amount.is-empty { font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--color-soft); }
.vprice-unit { font-size: .82rem; color: var(--color-muted); font-weight: 700; }
.vcard-btn { width: 100%; }
.vfleet-empty-cat { text-align: center; color: var(--color-muted); padding: 30px 0; }

/* showroom price slightly larger */
.showroom-price .vprice-amount { font-size: 2.4rem; color: var(--color-accent-dark); }

/* ---------- In-card photo gallery ---------- */
.vcard-media[data-gallery] .car-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.vcard-media[data-gallery] .car-photo.is-active { opacity: 1; }
.vcard:hover .vcard-media[data-gallery] .car-photo.is-active { transform: scale(1.04); }
.car-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--color-ink); cursor: pointer; font-size: 1.2rem; line-height: 1; opacity: 0; transition: opacity .2s var(--ease), background .2s var(--ease); box-shadow: 0 2px 10px rgba(0,0,0,.22); }
.vcard:hover .car-gallery-arrow { opacity: 1; }
.car-gallery-arrow:hover { background: var(--color-accent); color: #fff; }
.car-gallery-prev { left: 10px; }
.car-gallery-next { right: 10px; }

/* ===================================================================
   Motion — subtle, accessibility-guarded
   =================================================================== */
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: fade-up .8s var(--ease) both; }
  .hero-text .eyebrow { animation-delay: .05s; }
  .hero-text h1 { animation-delay: .14s; }
  .hero-text .lead { animation-delay: .26s; }
  .hero-text .hero-trust { animation-delay: .38s; }
  .hero-widget { animation: fade-up .85s var(--ease) both; animation-delay: .32s; }

  /* Scroll-driven reveals only where supported; content stays visible otherwise.
     Applied to non-hover-transform elements so hover lifts are never clobbered. */
  @supports (animation-timeline: view()) {
    .featured-text, .featured-media, .why-item, .discount-grid li, .locations-text, .locations-media {
      animation: reveal-up .9s var(--ease) both;
      animation-timeline: view();
      animation-range: entry 2% cover 24%;
    }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { min-height: auto; padding: 64px 0; }
  .hero-text { max-width: none; text-align: center; }
  .hero-text .eyebrow, .why .eyebrow, .showroom .eyebrow { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-widget { max-width: 460px; margin: 0 auto; }
  .featured-inner, .contact-layout, .footer-grid, .locations-inner { grid-template-columns: 1fr; gap: 40px; }
  .featured-media::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-media { order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .showroom-slide { grid-template-columns: 1fr; min-height: 0; }
  .showroom-media { min-height: 240px; }
  .showroom-info { padding: 30px 26px; }
  .vfleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--color-border); }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav a.nav-cta { margin-top: 12px; border-bottom: 0; }
  .why-grid, .discount-grid, .enquiry-form .form-row { grid-template-columns: 1fr; }
  .hero { padding: 52px 0; }
  .featured, .why { padding: 56px 0; }
}
@media (max-width: 560px) { .vfleet-grid { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 761px) { .vfleet-grid { grid-template-columns: repeat(3, 1fr); } }
