/* ==========================================================================
   Aweira Marine main stylesheet
   Mobile-first. Breakpoints: 640px (large phone), 768px (tablet),
   1024px (desktop nav), 1200px (wide).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #061423;
  --navy-900: #0a1e33;
  --navy-800: #0f2b47;
  --navy-700: #173f66;
  --blue-500: #1f74c9;
  --blue-100: #e6eff8;
  --sky-300: #82c4f5;
  --red-600: #d7262e;
  --red-700: #b51d24;
  --sand-50: #f7f5f0;
  --gray-50: #f2f5f8;
  --gray-100: #e9eef3;
  --white: #fff;
  --ink-900: #0c1826;
  --ink-700: #2b3a4a;
  --ink-500: #566778;
  --line: #dde3ea;
  --wa: #25d366;
  --wa-ink: #05361a;
  --wa-teal: #075e54;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(12 24 38 / 0.06), 0 2px 8px rgb(12 24 38 / 0.05);
  --shadow: 0 18px 40px -18px rgb(12 24 38 / 0.35);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; --header-h: 80px; }
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

[hidden] { display: none !important; }

img,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink-900);
  letter-spacing: 0.005em;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.7em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

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

.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary {
  background: var(--red-600);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgb(215 38 46 / 0.7);
}

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

.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #1ebe5b; }

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }

.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-100); }

.btn--outline-light { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn--ghost:hover { border-color: var(--navy-900); }

.btn--sm { min-height: 40px; padding: 0.5em 1.1em; font-size: 0.95rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.45em;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
}

.link-arrow .icon { transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--red-600); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-900);
  cursor: pointer;
  text-decoration: none;
}

/* ---------- Top bar ---------- */
.topbar {
  display: none;
  background: var(--navy-950);
  color: #c4d2df;
  font-size: 0.875rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__group { display: flex; align-items: center; gap: 28px; }

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.topbar__item .icon { width: 15px; height: 15px; color: var(--sky-300); }
a.topbar__item:hover { color: #fff; }

@media (min-width: 1024px) {
  .topbar { display: block; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}

@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(255 255 255 / 0.9); backdrop-filter: saturate(1.6) blur(12px); }
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -16px rgb(12 24 38 / 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink-900);
  text-decoration: none;
}

.brand img { width: 38px; }

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand__name small {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--red-700);
}

@media (min-width: 1024px) {
  .brand img { width: 44px; }
  .brand__name { font-size: 1.75rem; }
}

.nav { display: none; }

.nav__list { display: flex; gap: 2px; }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav__link:hover { color: var(--ink-900); background: var(--gray-50); }
.nav__link[aria-current="page"] { color: var(--red-600); }

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.header-phone {
  display: none;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  line-height: 1.15;
}

.header-phone .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy-700);
}

.header-phone small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.header-phone:hover { color: var(--red-600); }

.header-cta { display: none; }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-call,
  .nav-toggle { display: none; }
}

@media (min-width: 1240px) {
  .header-phone { display: inline-flex; }
  .nav__link { padding-inline: 14px; }
}

/* Hamburger */
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle__bars { position: relative; }

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 16px var(--gutter) 32px;
  background: #fff;
  border-top: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
}

.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.25s;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
}

.mobile-nav__link .icon { color: var(--ink-500); }
.mobile-nav__link[aria-current="page"] { color: var(--red-600); }

.mobile-nav__contact { display: grid; gap: 12px; margin-top: 28px; }

.mobile-nav__contact p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--ink-500);
  text-align: center;
}

@media (min-width: 1024px) {
  .mobile-nav { display: none; }
}

/* ---------- Sections & typography helpers ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--tint { background: var(--gray-50); }
.section--sand { background: var(--sand-50); }

.section--dark {
  background: var(--navy-900);
  color: #c3d1de;
}

.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > :last-child { margin-bottom: 0; }

.section-head--center { margin-inline: auto; text-align: center; }

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: none;
}

.section-head--split > div { max-width: 640px; }
.section-head--split > p { max-width: 440px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow--light { color: var(--sky-300); }

.h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); }
.h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }

.lead {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem);
  color: var(--ink-500);
}

.section--dark .lead { color: #b9c9d8; }

.text-accent { color: var(--red-600); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(6 20 35 / 0.55) 0%, rgb(6 20 35 / 0.78) 55%, rgb(6 20 35 / 0.95) 100%);
}

@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgb(6 20 35 / 0.94) 0%, rgb(6 20 35 / 0.78) 38%, rgb(6 20 35 / 0.1) 72%),
      linear-gradient(0deg, rgb(6 20 35 / 0.85) 0%, rgb(6 20 35 / 0) 38%);
  }
}

.hero__inner {
  padding-block: clamp(56px, 6vw, 88px) clamp(36px, 4vw, 56px);
}

.hero__content { max-width: 880px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e4edf5;
  backdrop-filter: blur(6px);
}

.hero__eyebrow img {
  height: 22px;
  width: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}

.hero h1 span { color: var(--sky-300); }

.hero__lead {
  max-width: 600px;
  margin-bottom: 32px;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  color: #d5e1ec;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 479px) {
  .hero__actions .btn,
  .btn-row .btn,
  .cta-band__actions .btn,
  .form__actions .btn { width: 100%; }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.stat__label { display: block; margin-top: 6px; font-size: 0.92rem; line-height: 1.4; color: #aebfd0; }

@media (min-width: 768px) {
  .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Brands strip ---------- */
.brands { padding-block: 28px; border-bottom: 1px solid var(--line); }

.brands__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 40px;
}

.brands__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  text-align: center;
}

.brands__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 34px;
}

.brands__logos img {
  height: 26px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.65;
  mix-blend-mode: multiply;
  transition: filter 0.25s, opacity 0.25s;
}

.brands__logos img:hover,
.brands__logos .is-primary { filter: none; opacity: 1; }

.brands__logos .is-primary { height: 32px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; gap: 18px; }

@media (min-width: 900px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.cat-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy-800);
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cat-card:hover .cat-card__media img { transform: scale(1.05); }

.cat-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(6 20 35 / 0.6);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

.cat-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

@media (min-width: 1024px) {
  .cat-card__body { padding: 28px 30px 30px; }
}

.cat-card h3 { margin-bottom: 8px; font-size: clamp(1.7rem, 1.4rem + 0.9vw, 2.1rem); color: #fff; }
.cat-card p { margin-bottom: 22px; font-size: 1rem; color: #b6c6d6; }

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-weight: 600;
}

.cat-card__link .icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--red-600);
  transition: transform 0.25s;
}

.cat-card:hover .cat-card__link .icon { transform: translateX(4px); }

@media (min-width: 640px) and (max-width: 899px) {
  .cat-card { flex-direction: row; }
  .cat-card__media { flex: 0 0 44%; aspect-ratio: auto; min-height: 240px; }
  .cat-card__media img { position: absolute; inset: 0; }
}

/* ---------- Split layout ---------- */
.split { display: grid; gap: 44px; align-items: center; }

@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .split--reverse > :first-child { order: 2; }
}

.split__media { position: relative; }

.split__media > img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split__media--landscape > img { aspect-ratio: 16 / 11; }

.float-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.float-badge strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--red-600);
}

.float-badge span { font-size: 0.92rem; font-weight: 600; line-height: 1.3; color: var(--ink-900); }

@media (min-width: 900px) {
  .float-badge { right: auto; left: -28px; bottom: 40px; }
}

/* ---------- Feature list ---------- */
.features { display: grid; gap: 22px; margin-block: 28px 32px; }

@media (min-width: 640px) {
  .features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.feature { display: flex; gap: 16px; }

.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--navy-700);
}

.feature__icon .icon { width: 24px; height: 24px; }

.feature h3 { margin-bottom: 4px; font-size: 1.35rem; }
.feature p { margin: 0; font-size: 0.98rem; color: var(--ink-500); }

.section--dark .feature__icon { background: rgb(255 255 255 / 0.08); color: var(--sky-300); }
.section--dark .feature p { color: #a9bbcc; }

/* ---------- Info cards ---------- */
.card-grid { display: grid; gap: 18px; }

@media (min-width: 768px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card-grid--2,
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 1100px) {
  .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.info-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.info-card h3 { margin-bottom: 10px; font-size: 1.6rem; }
.info-card p { margin: 0; color: var(--ink-500); }
.info-card .feature__icon { margin-bottom: 20px; }

.info-card--accent { border-color: transparent; background: var(--navy-900); color: #b9c9d8; }
.info-card--accent h3 { color: #fff; }
.info-card--accent p { color: #b9c9d8; }
.info-card--accent .feature__icon { background: rgb(255 255 255 / 0.08); color: var(--sky-300); }

.section--dark .info-card {
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.04);
}

.section--dark .info-card p { color: #a9bbcc; }

.info-card__link { margin-top: 18px; }

.info-card__logo { width: auto; height: 48px; padding-block: 7px; margin-bottom: 20px; mix-blend-mode: multiply; }

.section--dark .link-arrow { color: #fff; }
.section--dark .link-arrow:hover { color: var(--sky-300); }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .product-grid { gap: 16px; }
}

@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Featured row: always 2 × 2 or 1 × 4, never a lone orphan card */
@media (min-width: 900px) {
  .product-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.product:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }

.product[hidden] { display: none; }

.product__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--gray-50);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.5s;
}

.product:hover .product__media img { transform: scale(1.04); }

.product__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}

.product__tag--2-stroke { color: var(--red-700); }
.product__tag--diesel { color: #8a4b08; }
.product__tag--electric { color: #0c7a3e; }

.product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 14px 16px;
}

@media (min-width: 640px) {
  .product__body { padding: 16px 18px 18px; }
}

.product__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product__name { margin: 0; font-size: clamp(1.45rem, 1.3rem + 0.5vw, 1.8rem); }

.product__open {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* Stretch the button over the whole card; the Enquire link sits above it */
.product__open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.product__open:focus-visible { outline: none; }
.product:has(.product__open:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.no-js .product__open::after { display: none; }

.product__hp {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
}

.product__spec {
  margin: 4px 0 14px;
  font-size: 0.92rem;
  color: var(--ink-500);
}

.product__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.product__cta .icon { width: 18px; height: 18px; color: #1a9e4d; }
.product__cta:hover { border-color: var(--wa); background: var(--wa); color: var(--wa-ink); }
.product__cta:hover .icon { color: var(--wa-ink); }

/* Catalogue toolbar */
.toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1100px) {
  .toolbar { grid-template-columns: 1fr auto auto; align-items: center; padding: 12px 14px; }
}

.chips {
  display: flex;
  gap: 8px;
  margin: -4px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

@media (max-width: 639px) {
  .chips { flex-wrap: wrap; overflow: visible; }
}

@media (min-width: 1100px) {
  .toolbar { position: sticky; top: calc(var(--header-h) + 12px); z-index: 20; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover { border-color: var(--navy-700); }

.chip small {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--ink-500);
}

.chip[aria-pressed="true"] { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.chip.is-empty:not([aria-pressed="true"]) { opacity: 0.5; }
.chip[aria-pressed="true"] small { background: rgb(255 255 255 / 0.18); color: #fff; }

.toolbar__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 479px) {
  .toolbar__controls { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
  .toolbar__controls { display: contents; }
}

.select,
.search {
  position: relative;
  display: flex;
  align-items: center;
}

.select select,
.search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

.select select {
  padding: 8px 38px 8px 16px;
  appearance: none;
  cursor: pointer;
}

.select .icon { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; color: var(--ink-500); }

.search input { padding: 8px 16px 8px 40px; }
.search .icon { position: absolute; left: 14px; width: 17px; height: 17px; pointer-events: none; color: var(--ink-500); }

.select select:focus,
.search input:focus { border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 4px rgb(31 116 201 / 0.15); }

@media (min-width: 1100px) {
  .select { width: 210px; }
  .search { width: 230px; }
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--ink-500);
}

.results-meta strong { color: var(--ink-900); }

.reset-btn {
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.empty-state {
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink-500);
}

.empty-state h3 { font-size: 1.6rem; }

/* ---------- Parts ---------- */
.quick-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }

.quick-nav a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-700);
  transition: border-color 0.2s, color 0.2s;
}

.quick-nav a:hover { border-color: var(--navy-900); color: var(--ink-900); }

.part-group + .part-group { margin-top: clamp(48px, 6vw, 72px); }

.part-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.part-group__head h2 { margin: 0; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); }
.part-group__head p { margin: 0; color: var(--ink-500); }

.part-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .part-grid { gap: 16px; }
}

@media (min-width: 900px) {
  .part-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.part {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.part__media { aspect-ratio: 4 / 3; padding: 10px; background: var(--gray-50); }
.part__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.part { display: flex; flex-direction: column; }
.part__body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; }

.part__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
}

.part__cta .icon { width: 17px; height: 17px; color: #1a9e4d; }
.part__cta:hover { color: #0f7a40; }

.part--help {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 22px;
  border-style: dashed;
  background: var(--blue-100);
}

.part--help h3 { font-size: 1.45rem; }
.part--help p { margin-bottom: 8px; }
.part--help .feature__icon { background: #fff; }

@media (min-width: 900px) {
  .part--help { grid-column: span 2; align-items: center; padding: 28px; }
}

@media (max-width: 899px) {
  .part--help { grid-column: 1 / -1; }
}
.part h3 { margin-bottom: 4px; font-size: 1.35rem; }
.part p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--ink-500); }
.part--help p { font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  color: #c9d6e2;
}

.cta-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgb(6 20 35 / 0.95) 0%, rgb(10 30 51 / 0.85) 55%, rgb(10 30 51 / 0.55) 100%);
}

.cta-band__inner { display: grid; gap: 28px; }

@media (min-width: 960px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.5fr) auto; align-items: center; gap: 48px; }
}

.cta-band h2 { margin-bottom: 12px; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: #fff; }
.cta-band p { margin: 0; max-width: 620px; font-size: 1.1rem; }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact / visit ---------- */
.visit { display: grid; gap: 40px; }

@media (min-width: 960px) {
  .visit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: stretch; }
}

.contact-list { display: grid; gap: 20px; margin-block: 28px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; }

.contact-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--navy-700);
}

.contact-item__icon .icon { width: 21px; height: 21px; }

.contact-item__label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.contact-item__value { font-weight: 600; color: var(--ink-900); line-height: 1.5; }
.contact-item__value a { display: inline-block; padding-block: 6px; margin-block: -6px; text-decoration: none; }
.contact-item__value a:hover { color: var(--red-600); }
.contact-item__value small { display: inline-block; margin-bottom: 6px; font-size: 0.85rem; line-height: 1.4; }

.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; }
.hours dt { font-weight: 600; color: var(--ink-900); }
.hours dd { margin: 0; color: var(--ink-700); }
.hours .is-closed { color: var(--red-600); }

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
}

.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-500);
}

.open-status.is-open { background: #e3f6ea; color: #0c6b37; }
.open-status.is-open::before { background: #18a957; }
.open-status.is-closed-now { background: #fdeceb; color: var(--red-700); }
.open-status.is-closed-now::before { background: var(--red-600); }
.open-status:empty { display: none; }

.map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--gray-100);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
}

/* Team */
.team { display: grid; gap: 12px; }

@media (min-width: 640px) {
  .team--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.team-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.team-card:hover { border-color: var(--wa); box-shadow: var(--shadow-sm); }

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.team-card strong { display: block; color: var(--ink-900); line-height: 1.3; }
.team-card small { display: block; font-size: 0.88rem; color: var(--ink-500); }

.team-card__wa {
  display: grid;
  place-items: center;
  margin-left: auto;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e3f6ea;
  color: #128c4b;
}

.team-card__wa .icon { width: 18px; height: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px) clamp(44px, 6vw, 80px);
  background: var(--navy-900);
  color: #fff;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(6 20 35 / 0.92) 0%, rgb(6 20 35 / 0.6) 60%, rgb(6 20 35 / 0.35) 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #b3c4d5;
}

.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { display: inline-block; margin-block: -12px; padding-block: 12px; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}

.page-hero p { max-width: 640px; margin: 0; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: #d3dfea; }

/* ---------- Prose ---------- */
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.6rem; }

.checklist { display: grid; gap: 12px; margin: 20px 0; }

.checklist li { position: relative; padding-left: 34px; }

.checklist li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173f66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.checklist strong { color: var(--ink-900); }

/* Pull quote */
.pull-quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 12vw, 160px);
  background: var(--navy-900);
  color: #fff;
  text-align: center;
}

.pull-quote > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pull-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(6 20 35 / 0.6);
}

.pull-quote blockquote { margin: 0 auto; max-width: 900px; }

.pull-quote p {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.pull-quote cite { font-style: normal; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: var(--sky-300); }

/* ---------- Forms ---------- */
.form-card {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form { display: grid; gap: 18px; }

.form-row { display: grid; gap: 18px; }

@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-900);
}

.field label span { font-weight: 500; color: var(--ink-500); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cdd6df;
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566778' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 4px rgb(31 116 201 / 0.15); }

.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red-600); }

.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__note { margin: 0; font-size: 0.9rem; color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--navy-950);
  color: #a6b7c8;
  font-size: 0.98rem;
}

.footer-grid { display: grid; gap: 40px; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
}

.site-footer .brand { margin-bottom: 18px; color: #fff; }
.site-footer .brand__name small { color: #f0686d; }

.brand__tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
}

.brand__tile img { width: 36px; }

.footer-brand p { max-width: 340px; margin-bottom: 22px; }

.footer-title {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links { display: grid; gap: 2px; }
.footer-links a { display: inline-block; padding-block: 6px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--sky-300); }
.footer-contact a { display: inline-block; padding-block: 4px; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-contact small { font-size: 0.85rem; color: #8195a9; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-block: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.88rem;
  color: #8195a9;
}

.footer-bottom p { margin: 0; }

@media (max-width: 1023px) {
  .footer-bottom { padding-bottom: 92px; }
}

/* ---------- WhatsApp floating chat ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

@media (min-width: 1024px) {
  .wa-float { right: 24px; bottom: 24px; }
}

.nav-open .wa-float { display: none; }

.wa-float__btn {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgb(18 140 75 / 0.8);
  text-decoration: none;
  transition: transform 0.2s;
}

.wa-float__btn:hover { transform: scale(1.06); }
.wa-float__btn .icon { width: 30px; height: 30px; }
.wa-float__btn .icon-close { display: none; width: 24px; height: 24px; }
.wa-float.is-open .wa-float__btn { background: var(--navy-900); box-shadow: var(--shadow); }
.wa-float.is-open .icon-wa { display: none; }
.wa-float.is-open .icon-close { display: block; }

.wa-panel {
  width: min(330px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px -16px rgb(12 24 38 / 0.45);
  transform-origin: bottom right;
  animation: wa-pop 0.22s ease-out;
}

.wa-panel[hidden] { display: none; }

@keyframes wa-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.wa-panel__head { padding: 18px 20px; background: var(--wa-teal); color: #d9efe9; }
.wa-panel__head strong { display: block; font-size: 1.05rem; color: #fff; }
.wa-panel__head span { font-size: 0.9rem; }

.wa-panel .team-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.wa-panel .team-card:first-of-type { border-top: 0; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding-block: 80px;
  text-align: center;
}

.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 4rem + 10vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--blue-100);
  -webkit-text-stroke: 2px var(--navy-700);
}

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: 48px; }

@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
}

.contact-layout .contact-list { margin-bottom: 40px; }
.form__intro { color: var(--ink-500); margin-bottom: 24px; }

.map--wide { min-height: 420px; }

/* ---------- FAQ (question headings + <details>, mirrored in FAQPage schema) ---------- */
.faq-layout { display: grid; gap: 8px; }

@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
}

.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1826' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.25s;
}

.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover .faq__q { color: var(--red-600); }

.faq__q { margin: 0; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.2; transition: color 0.2s; }

.faq__answer { padding: 0 48px 22px 0; color: var(--ink-700); }
.faq__answer p { margin: 0; }

/* ---------- About: key facts ---------- */
.facts {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
}

.facts__list { display: grid; margin: 0; }

.facts__list > div {
  display: grid;
  gap: 2px 24px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .facts__list > div { grid-template-columns: 180px 1fr; }
}

.facts__list dt { font-weight: 700; color: var(--ink-900); }
.facts__list dd { margin: 0; }
.facts__list a { display: inline-block; padding-block: 6px; margin-block: -6px; color: var(--ink-900); font-weight: 600; text-decoration: none; }
.facts__list a:hover { color: var(--red-600); }

/* ---------- Catalogue intro (quotable range summary) ---------- */
.catalogue-intro { max-width: 820px; margin-bottom: 24px; font-size: 1.05rem; color: var(--ink-700); }
.catalogue-intro strong { color: var(--ink-900); }

/* ---------- Motor quick view (built by main.js) ---------- */
.qv {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink-700);
  box-shadow: 0 30px 80px -20px rgb(6 20 35 / 0.6);
  overflow: auto;
}

.qv::backdrop { background: rgb(6 20 35 / 0.7); backdrop-filter: blur(3px); }
.qv[open] { animation: qv-in 0.25s ease-out; }

@keyframes qv-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.qv__inner { position: relative; display: grid; }

@media (min-width: 768px) {
  .qv__inner { grid-template-columns: 1.05fr 1fr; }
}

.qv__media { position: relative; display: grid; place-items: center; background: var(--gray-50); }
.qv__media img { width: 100%; aspect-ratio: 4 / 3; max-height: 36vh; object-fit: contain; mix-blend-mode: multiply; }

@media (min-width: 768px) {
  .qv__media img { aspect-ratio: auto; height: 100%; max-height: none; min-height: 420px; object-fit: cover; }
}

.qv__body { display: flex; flex-direction: column; padding: 26px 24px 22px; }

@media (min-width: 768px) {
  .qv__body { padding: 40px 36px 28px; }
}

.qv__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.qv__eyebrow { margin-bottom: 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-600); }
.qv__title { margin-bottom: 18px; font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem); }

.qv__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qv__specs div { padding: 10px 12px; }
.qv__specs div + div { border-left: 1px solid var(--line); }
.qv__specs dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.qv__specs dd { margin: 2px 0 0; font-family: var(--font-display); font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.35rem); font-weight: 700; white-space: nowrap; color: var(--ink-900); }

.qv__text { margin-bottom: 10px; }
.qv__use { margin-bottom: 22px; font-size: 0.98rem; color: var(--ink-500); }
.qv__use strong { color: var(--ink-900); }

.qv__actions { display: grid; gap: 10px; }

@media (min-width: 480px) {
  .qv__actions { grid-template-columns: 1fr auto; }
}

.qv__note { margin: 14px 0 0; font-size: 0.88rem; color: var(--ink-500); }

.qv__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.9rem;
  color: var(--ink-500);
}

.qv__nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
}

.qv__nav button:hover { color: var(--red-600); }
.qv__nav .icon { width: 18px; height: 18px; }
.qv__nav [data-qv-prev] .icon { transform: rotate(180deg); }

.qv__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
}

.qv__more .icon { width: 17px; height: 17px; transform: rotate(90deg); }
.qv__more:hover { color: var(--red-600); }

/* Official spec sheet: full width under the photo + summary */
.qv__sheet {
  grid-column: 1 / -1;
  padding: 24px 24px 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 12px;
}

@media (min-width: 768px) {
  .qv__sheet { padding: 28px 36px 32px; }
}

.qv__sheet-title { margin-bottom: 10px; font-size: 1.6rem; }

.qv__table { display: grid; margin: 0; }

@media (min-width: 640px) {
  .qv__table { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

.qv__table > div {
  display: grid;
  grid-template-columns: minmax(118px, 0.9fr) 1.1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.qv__table dt { font-size: 0.9rem; color: var(--ink-500); }
.qv__table dd { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--ink-900); }

.qv__source { margin: 16px 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--ink-500); }
.qv__source a { font-weight: 600; color: var(--blue-500); }

body.qv-open { overflow: hidden; }

/* ---------- Form validation & success ---------- */
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red-700);
}

.field__error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red-600);
  font-size: 0.7rem;
  color: #fff;
}

.field__error[hidden] { display: none; }

.field [aria-invalid="true"] { border-color: var(--red-600); background-color: #fffafa; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(215 38 46 / 0.15); }

.form-success { padding-block: 12px; text-align: center; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: 1.9rem; }
.form-success p { max-width: 440px; margin-inline: auto; margin-bottom: 24px; color: var(--ink-500); }
.form-success .btn-row { justify-content: center; }

.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e3f6ea;
  color: #128c4b;
}

.form-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }

/* ---------- Utilities ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.muted { font-weight: 500; color: var(--ink-500); }
.mt-md { margin-top: 28px; }
.mt-0 { margin-top: 0; }
.pt-0 { padding-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .wa-float, .site-footer, .cta-band { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
