/* ==========================================================================
   Car Rentals Ltd — Design System
   Brand accent sampled from the company logo: #019654
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand:        #019654;
  --brand-600:    #018049;
  --brand-700:    #0a6a3f;
  --brand-800:    #075532;
  --brand-400:    #22b673;
  --brand-300:    #5fcf99;
  --brand-100:    #d9f2e5;
  --brand-50:     #eff9f4;

  /* Ink — near-black with a green undertone so it sits with the brand */
  --ink:          #08130e;
  --ink-800:      #0d1c16;
  --ink-700:      #16271f;
  --ink-600:      #24382f;

  /* Neutrals — warm, limestone-inspired (Malta) */
  --cream:        #faf8f4;
  --cream-200:    #f2eee6;
  --limestone:    #e6ded1;
  --sand:         #c8b68f;
  --line:         #e3ded4;
  --line-strong:  #d3ccbe;

  --text:         #16271f;
  --text-muted:   #5d6b63;
  --text-soft:    #7d8a82;
  --on-dark:      #f4f1ea;
  --on-dark-mut:  rgba(244,241,234,.68);

  --white:        #ffffff;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-xs:    0.75rem;
  --fs-sm:    0.8125rem;
  --fs-base:  1rem;
  --fs-md:    clamp(1.0rem, 0.97rem + 0.16vw, 1.0625rem);
  --fs-lg:    clamp(1.125rem, 1.07rem + 0.28vw, 1.25rem);
  --fs-xl:    clamp(1.375rem, 1.28rem + 0.45vw, 1.625rem);
  --fs-2xl:   clamp(1.75rem, 1.55rem + 0.95vw, 2.375rem);
  --fs-3xl:   clamp(2.25rem, 1.9rem + 1.7vw, 3.25rem);
  --fs-4xl:   clamp(2.75rem, 2.1rem + 3.1vw, 4.75rem);
  --fs-5xl:   clamp(3rem, 2.2rem + 3.6vw, 5.25rem);

  /* Space */
  --gap:        clamp(1rem, 0.85rem + 0.7vw, 1.5rem);
  --section-y:  clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --shell:      1240px;
  --shell-wide: 1440px;
  --shell-text: 720px;

  /* Radii */
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Elevation — tinted, never pure black */
  --sh-sm:  0 1px 2px rgba(8,19,14,.06), 0 2px 6px rgba(8,19,14,.05);
  --sh:     0 2px 6px rgba(8,19,14,.05), 0 10px 24px -6px rgba(8,19,14,.10);
  --sh-lg:  0 4px 12px rgba(8,19,14,.06), 0 24px 48px -12px rgba(8,19,14,.16);
  --sh-xl:  0 8px 24px rgba(8,19,14,.08), 0 40px 80px -20px rgba(8,19,14,.24);
  --sh-brand: 0 8px 24px -6px rgba(1,150,84,.38);

  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --dur:       .45s;

  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand); color: #fff; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-lg); letter-spacing: -0.01em; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--brand);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow { color: var(--brand-300); }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-muted);
}
.on-dark .lead { color: var(--on-dark-mut); }

.display-serif { font-family: var(--font-display); }
.accent { color: var(--brand); }
.italic-accent {
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  color: var(--brand);
}

/* ---------- 4. Layout ---------- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}
.shell--wide { width: min(100% - 2.5rem, var(--shell-wide)); }
.shell--text { width: min(100% - 2.5rem, var(--shell-text)); }
@media (max-width: 640px) {
  .shell, .shell--wide, .shell--text { width: calc(100% - 2rem); }
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--cream { background: var(--cream-200); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }

.stack > * + * { margin-top: 1.1em; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.7em;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 12px 30px -8px rgba(1,150,84,.5); }

.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: var(--ink-700); box-shadow: var(--sh-lg); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(8,19,14,.04); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border-color: rgba(244,241,234,.32);
}
.btn--ghost-light:hover { border-color: var(--on-dark); background: rgba(244,241,234,.08); }

.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--white:hover { box-shadow: var(--sh-lg); }

.btn--lg { padding: 1.1em 2.1em; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary svg, .btn--dark svg { transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--brand-700);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .4s var(--ease-out), color .25s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--brand-300); background-image: linear-gradient(var(--brand-300), var(--brand-300)); }

/* ---------- 6. Badges / pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .45em 1em;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.pill--glass {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pill--solid { background: var(--brand); color: #fff; border-color: transparent; }
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: none;
}
.pill--glass .dot { background: var(--brand-300); box-shadow: 0 0 0 3px rgba(34,182,115,.28); }

/* ---------- 7. Utility bar ---------- */
.utilbar {
  background: var(--ink);
  color: var(--on-dark-mut);
  font-size: var(--fs-xs);
  letter-spacing: .02em;
  position: relative;
  z-index: 60;
}
.utilbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
  padding-block: .35rem;
}
.utilbar__promo {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 500;
}
.utilbar__promo strong { color: var(--brand-300); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.utilbar__contact { display: flex; align-items: center; gap: 1.4rem; }
.utilbar__contact a {
  display: inline-flex; align-items: center; gap: .45em;
  transition: color .2s var(--ease);
}
.utilbar__contact a:hover { color: var(--white); }
.utilbar__contact svg { width: 13px; height: 13px; opacity: .8; }
@media (max-width: 900px) {
  .utilbar__contact .u-hide-md { display: none; }
}
@media (max-width: 640px) {
  .utilbar__inner { justify-content: center; }
  .utilbar__promo { display: none; }
}

/* ---------- 8. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,244,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(8,19,14,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
@media (max-width: 480px) { .brand img { height: 34px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.1rem); }
.nav__link {
  position: relative;
  display: block;
  padding: .5em .75em;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color .22s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .75em; right: .75em;
  bottom: .15em;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: .7rem; flex: none; }
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta .btn--ghost { display: none; }
}

/* Mobile menu toggle */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--ink);
}
@media (max-width: 1024px) { .burger { display: inline-flex; } }
.burger span {
  display: block;
  position: relative;
  width: 22px; height: 1.75px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease-out), background-color .2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 1.75px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease-out), top .25s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .4s var(--ease-out), visibility .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__list { display: flex; flex-direction: column; }
.drawer__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  letter-spacing: -.02em;
  border-bottom: 1px solid rgba(244,241,234,.1);
  transition: color .2s var(--ease), padding-left .3s var(--ease-out);
}
.drawer__list a:hover, .drawer__list a[aria-current="page"] { color: var(--brand-300); padding-left: .5rem; }
.drawer__list a span { font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--text-soft); letter-spacing: .1em; }
.drawer__foot { margin-top: 2.5rem; display: grid; gap: 1rem; }
.drawer__foot .btn { width: 100%; }
.drawer__contact { margin-top: 2rem; display: grid; gap: .5rem; font-size: var(--fs-sm); color: var(--on-dark-mut); }
.drawer__contact a:hover { color: var(--brand-300); }
body.nav-open { overflow: hidden; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(600px, 88svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: clamp(4rem, 10vh, 8rem);
  /* Must clear the booking card, which is pulled up over the hero by ~4rem */
  padding-bottom: clamp(7rem, 5rem + 6vw, 10rem);
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  animation: heroZoom 22s var(--ease-out) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8,19,14,.92) 0%, rgba(8,19,14,.55) 38%, rgba(8,19,14,.18) 68%, rgba(8,19,14,.42) 100%),
    linear-gradient(to right, rgba(8,19,14,.6) 0%, rgba(8,19,14,0) 62%);
}
/* NB: set no width/flex here — .shell owns the gutter and max-width, and a
   flex child already defaults to `flex: 0 1 auto`, sizing from that width.
   Setting `width: 100%` or `flex-grow: 1` here makes the hero go full-bleed. */
.hero__content { max-width: 900px; color: var(--on-dark); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-5xl);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-block: 1.2rem 1.4rem;
  text-shadow: 0 2px 40px rgba(0,0,0,.3);
}
.hero__sub {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.86);
  max-width: 54ch;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.hero__scroll {
  position: absolute;
  /* Aligns to .shell's right edge. Percentages resolve against the hero, so
     unlike 100vw this is unaffected by the scrollbar width. */
  right: calc(50% - min(50% - 1.25rem, var(--shell) / 2));
  bottom: clamp(8rem, 6rem + 6vw, 11rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 54px;
  background: linear-gradient(rgba(255,255,255,.5), transparent);
}
@media (max-width: 1100px) { .hero__scroll { display: none; } }

/* Hero stats strip */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__stat span {
  display: block;
  margin-top: .45rem;
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ---------- 10. Booking widget ---------- */
.booking {
  position: relative;
  z-index: 20;
  margin-top: clamp(-4rem, -3vw, -2rem);
}
.booking__card {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
}
.booking--inline { margin-top: 0; }
.booking--inline .booking__card { background: #fff; border-color: var(--line); }

.booking__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.15rem;
}
.booking__title {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.booking__note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.booking__note svg { width: 14px; height: 14px; color: var(--brand); }

/* Proportional tracks rather than a 12-col span system — spans had to sum to
   exactly 12 or the last field wrapped to its own row. fr units can't overflow. */
.booking__grid {
  display: grid;
  /* minmax(0,…) not plain fr: an fr track floors at min-content, so a wide
     field would still force its track open and overflow the row.
     Ratios follow real content needs — the date+time pairs need the most. */
  grid-template-columns:
    minmax(0, 1.05fr)  /* pick-up location */
    minmax(0, 1.3fr)   /* pick-up date + time */
    minmax(0, 1.3fr)   /* drop-off date + time */
    minmax(0, 0.9fr)   /* vehicle type */
    minmax(0, 0.65fr); /* search */
  gap: .75rem;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }

/* Below 1280px the shell is still growing, so the 5-across row would be
   borderline. Above it the shell is pinned at its 1240px max and the tracks
   are a known-good size, so the single row is only used where it certainly fits. */
@media (max-width: 1280px) {
  .booking__grid { grid-template-columns: 1fr 1fr; }
  .field--go { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .booking__grid { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
}

/* Match the submit button's height to the inputs beside it */
.field--go .btn { min-height: 47px; }

.field > label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-left: .15rem;
}
.control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0; /* grid/flex items default to min-width:auto and would overflow */
  overflow: hidden; /* last-resort clip so nothing can spill into the next field */
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.control:hover { border-color: var(--line-strong); }
.control:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px rgba(1,150,84,.14);
}
.control > svg {
  width: 17px; height: 17px;
  margin-left: .75rem;
  color: var(--brand);
  flex: none;
}
.control select,
.control input {
  width: 100%;
  min-width: 0;
  padding: .82rem .85rem;
  border: 0;
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  border-radius: inherit;
}
.control select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2rem;
  cursor: pointer;
}
.control input:focus, .control select:focus { outline: none; }
.control::after {
  content: "";
  position: absolute;
  right: .9rem;
  width: 8px; height: 8px;
  border-right: 1.75px solid var(--text-soft);
  border-bottom: 1.75px solid var(--text-soft);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
  opacity: 0;
}
.control--select::after { opacity: 1; }

/* Time pair: no dropdown arrow is drawn here, so reclaim the 2rem of right
   padding .control select reserves for one — that overflow was pushing the
   time box into the neighbouring field. */
.control--time { gap: 0; }
.control--time select {
  width: auto;
  flex: 0 1 auto;
  min-width: 0;
  padding: .82rem .4rem;
  text-align: center;
}

.datetime {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .4rem;
  min-width: 0;
}
.datetime > * { min-width: 0; }
.datetime .control--time { padding-inline: .15rem; }
.datetime .control--time::after { display: none; }

.booking__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.booking__foot .tick {
  display: inline-flex;
  align-items: center;
  gap: .45em;
}
.booking__foot .tick svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* ---------- 11. Marquee / trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  padding-block: clamp(2.25rem, 2rem + 1.5vw, 3.25rem);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.trust__item { display: flex; gap: .9rem; align-items: flex-start; }
.trust__item svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: .2rem; }
.trust__item strong { display: block; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.trust__item span { display: block; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; margin-top: .15rem; }

/* ---------- 12. Feature: No deposit ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
.split__text { grid-column: span 6; }
.split__media { grid-column: span 6; }
.split--reverse .split__text { grid-column: 7 / span 6; grid-row: 1; }
.split--reverse .split__media { grid-column: 1 / span 6; grid-row: 1; }
@media (max-width: 900px) {
  .split__text, .split__media,
  .split--reverse .split__text, .split--reverse .split__media {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

.figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--limestone);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure--square { aspect-ratio: 1; }

/* floating price/quote card over a figure */
.float-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--sh);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.float-card svg { width: 34px; height: 34px; color: var(--brand); flex: none; }
.float-card strong { display: block; font-size: var(--fs-sm); color: var(--ink); }
.float-card span { display: block; font-size: var(--fs-xs); color: var(--text-muted); }

/* Checklist */
.checklist { display: grid; gap: .9rem; margin-top: 1.8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: var(--fs-base); }
.checklist li svg {
  width: 21px; height: 21px; flex: none; margin-top: .18rem;
  color: var(--brand);
}
.checklist strong { color: var(--ink); font-weight: 600; }
.on-dark .checklist strong { color: var(--on-dark); }
.checklist span { color: var(--text-muted); }
.on-dark .checklist span { color: var(--on-dark-mut); }

/* Price highlight block */
.price-hi {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r);
}
.price-hi b {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--brand-700);
  letter-spacing: -.02em;
}
.price-hi span { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- 13. Fleet cards ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
}
.car {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s var(--ease);
}
.car:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.car__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--cream-200), var(--limestone));
  overflow: hidden;
}
.car__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.car:hover .car__media img { transform: scale(1.05); }
.car__tag {
  position: absolute;
  top: .9rem; left: .9rem;
  z-index: 2;
}
.car__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.car__cat {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.car__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin-top: .35rem;
  letter-spacing: -.015em;
  color: var(--ink);
}
.car__eg { font-size: var(--fs-sm); color: var(--text-soft); margin-top: .3rem; }

.car__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.car__specs li {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: .01em;
}
.car__specs svg { width: 15px; height: 15px; color: var(--text-soft); flex: none; }

.car__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.car__price { line-height: 1.2; }
.car__price small { display: block; font-size: var(--fs-xs); color: var(--text-soft); letter-spacing: .06em; text-transform: uppercase; }
.car__price b {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.025em;
}
.car__price em { font-style: normal; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- 14. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--brand);
  letter-spacing: -.02em;
}
.step::after {
  content: "";
  position: absolute;
  top: .9rem; left: 3.2rem; right: -1.5rem;
  height: 1px;
  background: linear-gradient(to right, var(--line-strong), transparent);
}
.step:last-child::after { display: none; }
@media (max-width: 860px) { .step::after { display: none; } }
.on-dark .step::after { background: linear-gradient(to right, rgba(244,241,234,.2), transparent); }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--text-muted); font-size: var(--fs-base); }
.on-dark .step p { color: var(--on-dark-mut); }

/* ---------- 15. Benefit cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.card {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-700);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: var(--fs-lg); margin-bottom: .55rem; }
.card p { font-size: var(--fs-base); color: var(--text-muted); }

.card--dark {
  background: rgba(244,241,234,.045);
  border-color: rgba(244,241,234,.12);
}
.card--dark:hover { background: rgba(244,241,234,.07); border-color: rgba(244,241,234,.2); box-shadow: none; }
.card--dark .card__icon { background: rgba(34,182,115,.14); color: var(--brand-300); }
.card--dark h3 { color: var(--on-dark); }
.card--dark p { color: var(--on-dark-mut); }

/* Extras row (small image cards) */
.extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.extra {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.extra:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.extra__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--limestone); }
.extra__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.extra:hover img { transform: scale(1.06); }
.extra__body { padding: 1.1rem 1.2rem 1.3rem; }
.extra__body h3 { font-size: var(--fs-base); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.extra__body p { font-size: var(--fs-sm); color: var(--text-muted); margin-top: .3rem; }

/* ---------- 16. Explore Malta (editorial) ---------- */
.explore {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  isolation: isolate;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  color: #fff;
  background: var(--ink);
}
.tile img {
  position: absolute; inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8,19,14,.88) 0%, rgba(8,19,14,.35) 45%, rgba(8,19,14,.05) 100%);
  transition: opacity .5s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: .5rem;
  display: block;
}
.tile h3 { color: #fff; font-size: var(--fs-xl); }
.tile p { font-size: var(--fs-sm); color: rgba(255,255,255,.78); margin-top: .5rem; max-width: 42ch; }

.tile--lg { grid-column: span 6; min-height: 420px; }
.tile--sm { grid-column: span 3; min-height: 300px; }
@media (max-width: 900px) {
  .tile--lg { grid-column: span 12; min-height: 340px; }
  .tile--sm { grid-column: span 6; min-height: 260px; }
}
@media (max-width: 560px) {
  .tile--sm { grid-column: span 12; }
}

/* ---------- 17. Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.quote {
  padding: clamp(1.6rem, 1.3rem + 1vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: .18rem; color: var(--brand); margin-bottom: 1.1rem; }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.5;
  letter-spacing: -.012em;
  color: var(--ink);
  flex: 1;
}
.quote figcaption {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.quote figcaption span { color: var(--text-soft); font-size: var(--fs-xs); letter-spacing: .04em; }

/* ---------- 18. Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  letter-spacing: -.012em;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.acc__btn:hover { color: var(--brand-700); }
.acc__icon {
  position: relative;
  width: 34px; height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  flex: none;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease-out);
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%,-50%);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.acc__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(180deg);
}
.acc__btn[aria-expanded="true"] .acc__icon::after { opacity: 0; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.acc__panel > div { overflow: hidden; }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__panel p {
  color: var(--text-muted);
  padding-bottom: 1.6rem;
  max-width: 68ch;
}
.acc__panel p + p { padding-top: .5rem; }

/* ---------- 19. Locations ---------- */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.location {
  background: var(--white);
  padding: clamp(1.4rem, 1.2rem + .8vw, 2rem);
  transition: background-color .3s var(--ease);
}
.location:hover { background: var(--brand-50); }
.location__idx {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand);
}
.location h3 { font-size: var(--fs-lg); margin-block: .5rem .4rem; }
.location p { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- 20. CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(1,150,84,.28), transparent 70%),
    radial-gradient(50% 70% at 85% 100%, rgba(1,150,84,.16), transparent 70%);
}
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { margin: 1.2rem auto 2.2rem; max-width: 52ch; color: var(--on-dark-mut); font-size: var(--fs-lg); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- 21. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(4rem, 3rem + 6vw, 8rem) clamp(3rem, 2.5rem + 3vw, 5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 120% at 15% 0%, rgba(1,150,84,.25), transparent 65%);
}
.page-hero--img::before { background: none; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(8,19,14,.94) 10%, rgba(8,19,14,.75) 55%, rgba(8,19,14,.5) 100%);
}
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { margin-top: 1.3rem; max-width: 58ch; color: var(--on-dark-mut); font-size: var(--fs-lg); }

.crumbs {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--brand-300); }
.crumbs svg { width: 12px; height: 12px; opacity: .5; }
.crumbs span[aria-current] { color: var(--on-dark-mut); }

/* ---------- 22. Prose (long-form content) ---------- */
.prose { font-size: var(--fs-md); color: var(--text-muted); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--fs-2xl); margin-top: 2.6em; margin-bottom: .1em; }
.prose h3 { font-size: var(--fs-xl); margin-top: 2em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--brand); }
.prose ul { display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: .1em; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.prose ol { display: grid; gap: .6em; counter-reset: n; }
.prose ol li { position: relative; padding-left: 1.9em; counter-increment: n; }
.prose ol li::before {
  content: counter(n) ".";
  position: absolute; left: 0; top: 0;
  font-weight: 600;
  color: var(--brand);
}

.callout {
  padding: 1.4rem 1.6rem;
  background: var(--brand-50);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--text-muted);
  font-size: var(--fs-base);
}
.callout strong { color: var(--brand-800); }
.callout--warn { background: #fdf5ec; border-left-color: #d08a2c; }
.callout--warn strong { color: #8a5410; }

/* Sticky side nav for long docs */
.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } }
.doc-nav { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .doc-nav { position: static; } }
.doc-nav__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.doc-nav ul { display: grid; gap: .1rem; border-left: 1px solid var(--line); }
.doc-nav a {
  display: block;
  padding: .5rem 0 .5rem 1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.doc-nav a:hover { color: var(--ink); }
.doc-nav a.is-active { color: var(--brand-700); border-left-color: var(--brand); font-weight: 600; }

/* ---------- 23. Contact ---------- */
/* Contact page stacks full-width blocks: form → details → map */
.contact-stack {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  box-shadow: var(--sh-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.control textarea {
  width: 100%;
  padding: .82rem .95rem;
  border: 0;
  background: transparent;
  resize: vertical;
  min-height: 140px;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.control textarea:focus { outline: none; }
.control--area { align-items: stretch; }
.req { color: var(--brand); }
.form-note { font-size: var(--fs-xs); color: var(--text-soft); margin-top: 1rem; }

.info-list { display: grid; gap: 1.4rem; }

/* Full-width horizontal spread of the contact details */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
}
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__ico {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  flex: none;
}
.info-item__ico svg { width: 19px; height: 19px; }
.info-item h3 { font-size: var(--fs-base); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; margin-bottom: .2rem; }
.info-item p, .info-item a { font-size: var(--fs-sm); color: var(--text-muted); }
.info-item a { transition: color .2s; }
.info-item a:hover { color: var(--brand-700); }

.map-frame {
  margin-top: 2rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--limestone);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Full-width map beneath the form */
.map-frame--full {
  margin-top: 0;
  aspect-ratio: 21 / 9;
  min-height: 420px;
  box-shadow: var(--sh);
}
@media (max-width: 800px) {
  .map-frame--full { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- 24. Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--on-dark-mut);
  padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem);
  font-size: var(--fs-sm);
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
}
.footer__brand { grid-column: span 4; }
.footer__col { grid-column: span 2; }
.footer__col--wide { grid-column: span 4; }
@media (max-width: 900px) {
  .footer__brand { grid-column: span 12; }
  .footer__col { grid-column: span 6; }
  .footer__col--wide { grid-column: span 12; }
}
@media (max-width: 520px) { .footer__col { grid-column: span 12; } }

.footer__logo {
  height: 42px;
  width: auto;
  margin-bottom: 1.3rem;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer__brand p { max-width: 38ch; line-height: 1.7; }
.footer h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 1.2rem;
}
.footer__links { display: grid; gap: .7rem; }
.footer__links a {
  display: inline-block;
  transition: color .2s var(--ease), transform .3s var(--ease-out);
}
.footer__links a:hover { color: var(--brand-300); transform: translateX(3px); }

.footer address { font-style: normal; line-height: 1.8; }
.footer__phones { display: grid; gap: .55rem; margin-top: 1.2rem; }
.footer__phones a { display: inline-flex; align-items: center; gap: .55em; transition: color .2s; }
.footer__phones a:hover { color: var(--brand-300); }
.footer__phones svg { width: 14px; height: 14px; color: var(--brand); flex: none; }

.socials { display: flex; gap: .6rem; margin-top: 1.6rem; }
.socials a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(244,241,234,.16);
  border-radius: 50%;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s, transform .3s var(--ease-out);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(244,241,234,.1);
  font-size: var(--fs-xs);
  color: var(--text-soft);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--brand-300); }

/* Floating "call" button on mobile */
.call-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: none;
  align-items: center;
  gap: .55em;
  padding: .9em 1.4em;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--sh-brand);
}
.call-fab svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .call-fab { display: inline-flex; } }

/* ---------- 25. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 26. Helpers ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 100;
  padding: .8em 1.4em;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--r) var(--r);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.divider { height: 1px; background: var(--line); border: 0; }
