*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --blue: #0f4c9b;
  --blue-dark: #0a3873;
  --blue-bright: #1a6bdc;
  --black: #0f1114;
  --gray-900: #1e2228;
  --gray-100: #f3f5f8;
  --white: #fff;
  --whatsapp: #25d366;
  --text: #1a1d22;
  --muted: #4a515c;
  --radius: 6px;
  --shadow-soft: 0 12px 40px rgb(15 17 20 / 0.18);
  --focus: #ffbf47;
  --max-width: 1100px;
  --header-scroll-offset: 8.5rem;
}

@media (max-width: 52rem) {
  :root {
    /* Collapsed layout: logo row + menu button — no tall black bar */
    --header-scroll-offset: 7rem;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-scroll-offset);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  z-index: 999;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.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;
}

a {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e6e9ef;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  min-block-size: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  /* Middle ground vs contact icons (~2.35rem): clearly visible without the old oversized bar fill */
  height: clamp(2.65rem, 2.5vw + 2.05rem, 3.85rem);
  width: auto;
  max-width: min(85vw, 24rem);
  object-fit: contain;
  object-position: left center;
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.header-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-900);
  text-decoration: none;
}

.header-contact__glyph {
  display: grid;
  place-items: center;
  width: clamp(2rem, 5vw, 2.35rem);
  height: clamp(2rem, 5vw, 2.35rem);
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.22), transparent 52%),
    linear-gradient(160deg, var(--blue-bright), var(--blue-dark));
  box-shadow: 0 2px 10px rgb(15 76 155 / 0.22);
}

.header-contact__glyph .material-symbols-outlined {
  font-size: 1.125rem;
  line-height: 1;
  color: var(--white);
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.header-contact__text {
  line-height: 1.25;
}

.header-contact__num {
  white-space: nowrap;
}

.header-contact__link:hover {
  text-decoration: underline;
}

.header-contact__link:hover .header-contact__glyph {
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .header-contact__link:hover .header-contact__glyph {
    filter: none;
  }
}

.nav-toggle {
  display: none;
  margin: 0 1.25rem 0.65rem auto;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-weight: 600;
  border: 1px solid var(--gray-900);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav {
  background: var(--black);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: var(--max-width);
  margin-inline: auto;
}

.nav__list a {
  display: block;
  padding: 0.95rem 1rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__list a:hover {
  color: var(--blue-bright);
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav {
    display: none;
    border-bottom: 1px solid var(--gray-900);
  }

  .site-header.nav-open .nav {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav__list a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-900);
    font-size: 0.9rem;
  }

  .nav__list li:last-child a {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: min(82vh, 620px);
  display: grid;
}

.hero__backdrop {
  grid-area: 1 / 1;
  position: relative;
  background-color: var(--gray-900);
  background-image: linear-gradient(
      to right,
      rgb(6 12 26 / 0.93) 0%,
      rgb(14 38 74 / 0.48) 32%,
      rgb(14 52 118 / 0.18) 58%,
      transparent 82%
    ),
    url("assets/hero-range-rover.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero__backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: radial-gradient(ellipse 100% 80% at 70% 45%, rgb(255 255 255 / 0.08), transparent 52%);
}

.hero__inner {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: start;
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  /* Roughly one third of `.hero`; floor keeps copy readable where 33% would be tiny */
  width: clamp(20rem, calc(100% / 3), 100%);
  text-align: left;
}

/* .wrap margins would centre this narrow column; hero copy stays left with extra inset (~250px cap) */
.hero .hero__inner.wrap {
  margin-inline: unset;
  padding-top: 0;
  --hero-pad-left: clamp(1.25rem, calc(17vw + 1rem), 15.625rem); /* scales down on small screens, ~250px max */
  padding-left: var(--hero-pad-left);
  padding-right: 1.25rem;
  /* Widen outer box so text column stays ~same as before padding was added (border-box consumes padding from width). */
  width: clamp(20rem, calc(100% / 3 + var(--hero-pad-left) - 1.25rem), 100%);
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  line-height: 1.14;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__checks {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.hero__checks li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.hero__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 3px rgb(26 107 220 / 0.35);
}

.hero__note {
  margin: 0 0 1.75rem;
  font-size: 0.93rem;
  color: rgb(229 236 246 / 0.88);
}

.hero__note em {
  color: var(--blue-bright);
  font-style: normal;
  font-weight: bold;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--blue-bright);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--blue);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  filter: brightness(1.06);
}

.btn--block {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}

.section__head {
  text-align: center;
  margin-bottom: 2.25rem;
  max-width: 40rem;
  margin-inline: auto;
}

.section__head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
}

.lead {
  margin: 0;
  font-size: 1.06rem;
  color: var(--muted);
}

/* ---------- Cards ---------- */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.85rem);
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 56rem) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 32rem) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  text-align: center;
  padding: 1rem 0.85rem;
}

.card__title {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.06rem;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.card__icon {
  width: 4.75rem;
  height: 4.75rem;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.25), transparent 52%),
    linear-gradient(160deg, var(--blue-bright), var(--blue-dark));
  box-shadow: 0 8px 24px rgb(15 76 155 / 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon .material-symbols-outlined {
  font-size: 2.25rem;
  line-height: 1;
  color: var(--white);
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* ---------- Split banner ---------- */
.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: var(--white);
}

@media (max-width: 52rem) {
  .split-banner {
    grid-template-columns: 1fr;
  }
}

.split-banner__pane {
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2rem);
}

.split-banner__pane--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.split-banner__pane--dark {
  background: var(--black);
}

.split-banner__pane h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.split-banner__pane p {
  margin: 0;
  max-width: 30rem;
  color: rgb(239 243 251 / 0.92);
  font-size: 0.98rem;
}

.fleet-trade__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2rem);
}

.fleet-trade__figures {
  flex: 0 0 auto;
}

.fleet-trade__icon-ring {
  width: clamp(5.25rem, 14vw, 6rem);
  height: clamp(5.25rem, 14vw, 6rem);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.25), transparent 52%),
    linear-gradient(160deg, var(--blue-bright), var(--blue-dark));
  box-shadow: 0 8px 24px rgb(15 76 155 / 0.32);
}

.fleet-trade__icon-ring .material-symbols-outlined {
  font-size: clamp(2.15rem, 5.5vw, 2.6rem);
  line-height: 1;
  color: var(--white);
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.fleet-trade__copy {
  flex: 1 1 16rem;
  min-width: min(100%, 15rem);
}

@media (max-width: 52rem) {
  .fleet-trade__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fleet-trade__copy {
    text-align: left;
    width: 100%;
  }

  .split-banner__pane--blue .fleet-trade__copy p {
    margin-inline: auto;
  }

  .split-banner__pane--blue .fleet-trade__figures + .fleet-trade__copy {
    align-self: stretch;
  }
}

.trust-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 52rem) {
  .trust-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.trust-points__item {
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.35;
}

.trust-points__item strong {
  display: block;
  font-size: 0.93rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.trust-points__item span {
  display: block;
}

.trust-points__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.trust-points__ring {
  width: clamp(3.5rem, 10vw, 4.25rem);
  height: clamp(3.5rem, 10vw, 4.25rem);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.22);
}

.trust-points__ring .material-symbols-outlined {
  font-size: clamp(1.85rem, 4vw, 2.2rem);
  line-height: 1;
  color: var(--white);
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--gray-100);
}

.contact__layout {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: minmax(0, 320px) 1fr;
  align-items: start;
}

@media (max-width: 52rem) {
  .contact__layout {
    grid-template-columns: 1fr;
  }
}

.contact h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem 1rem;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  padding: 1.5rem clamp(1rem, 4vw, 1.85rem);
  border-radius: 8px;
  box-shadow: 0 2px 20px rgb(23 43 71 / 0.08);
}

@media (max-width: 42rem) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row--full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.62rem 0.72rem;
  border: 1px solid #c9d3e5;
  border-radius: var(--radius);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form button {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}

.contact-form .form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-form__honey {
  position: absolute;
  left: -8000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgb(237 243 255 / 0.88);
  padding-top: 2.75rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 2rem;
}

@media (max-width: 52rem) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  margin: 0 0 0.75rem;
  color: var(--blue-bright);
}

.site-footer__contact {
  margin: 0;
}

.site-footer__contact-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-size: 0.93rem;
  line-height: 1.4;
}

.site-footer__contact-line a {
  color: var(--white);
  text-decoration: none;
}

.site-footer__contact-line:last-child {
  margin-bottom: 0;
}

.site-footer__contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--blue-bright);
  line-height: 0;
}

.site-footer__contact-icon .material-symbols-outlined {
  font-size: 1.22rem;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.site-footer__contact-value {
  min-width: 0;
  word-break: break-word;
}

.site-footer a {
  color: var(--white);
}

.site-footer .social__link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.site-footer .social__link svg {
  display: block;
}

.social__link--facebook {
  background: #1877f2;
}

.social__link--whatsapp {
  background: #25d366;
}

.social__link--linkedin {
  background: #0a66c2;
}

.site-footer .social__link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.site-footer .social__link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .social__link:hover {
    transform: none;
  }
}

.social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer__bar {
  border-top: 1px solid var(--gray-900);
  padding: 1rem 1.25rem 1.75rem;
  text-align: center;
  color: rgb(173 182 194 / 0.85);
}
