/* ==========================================================================
   BROTHER CAR BAZAR - Main stylesheet
   --------------------------------------------------------------------------
   1.  GLOBAL COLORS  (change the whole site's look from this block only)
   2.  Global tokens (typography, radius, shadow, layout)
   3.  Reset & base
   4.  Typography helpers
   5.  Layout: container / sections / section headings
   6.  Buttons
   7.  Header (top bar, navbar, hamburger, mobile menu)
   8.  Hero
   9.  Shared components (cards, checklists, split rows, gallery)
   10. Page sections (spotlight, services, process, stats, categories,
       why-choose, testimonials, FAQ, CTA band, page hero)
   11. Forms / Contact
   12. Footer
   13. Motion utilities
   14. Responsive rules
   ========================================================================== */

/* ==========================================================================
   1. GLOBAL COLORS
   The site is light-mode only. Blue is the reference brand color; the accent
   is an emerald green (never orange) so it always pairs cleanly with the blue.
   ========================================================================== */
:root {
  /* --- Brand blue (same navy family as the reference site) --- */
  --color-primary: #0e2a47;        /* main navy: headers, buttons, footer */
  --color-primary-700: #15395c;    /* hover / secondary navy */
  --color-primary-800: #10304f;
  --color-primary-900: #0a1e33;    /* deepest navy: footer base */
  --color-primary-200: #c6d6e6;
  --color-primary-100: #dfe9f3;
  --color-primary-50: #eff5fa;     /* light blue wash */

  /* --- Accent (replaces the reference orange) --- */
  --color-accent: #0f9d76;         /* emerald: highlights, icons, CTAs */
  --color-accent-600: #0c8462;     /* hover state */
  --color-accent-700: #0a6b50;
  --color-accent-100: #bfe8db;
  --color-accent-50: #e8f7f2;      /* light emerald wash */

  /* --- Neutrals --- */
  --color-ink: #16202e;            /* body text */
  --color-muted: #5c6a7b;          /* secondary text */
  --color-line: #e3e9f0;           /* borders / dividers */
  --color-soft: #f5f8fb;           /* alternate section background */
  --color-white: #ffffff;

  /* --- Feedback --- */
  --color-success: #12805c;
  --color-success-bg: #e7f6f1;
  --color-error: #c0392b;
  --color-error-bg: #fdeeec;

  /* --- Derived (used by components) --- */
  --color-primary-alpha: rgba(14, 42, 71, 0.08);
  --focus-ring: 0 0 0 3px rgba(15, 157, 118, 0.28);
}

/* ==========================================================================
   2. GLOBAL TOKENS
   ========================================================================== */
:root {
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14, 42, 71, 0.05), 0 6px 14px -8px rgba(14, 42, 71, 0.16);
  --shadow: 0 1px 2px rgba(14, 42, 71, 0.05), 0 14px 32px -16px rgba(14, 42, 71, 0.22);
  --shadow-lg: 0 2px 6px rgba(14, 42, 71, 0.06), 0 30px 64px -26px rgba(14, 42, 71, 0.32);

  --container: 1180px;
  --container-pad: 22px;
  --section-pad: 96px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.68, 0.35, 1);
  --speed: 260ms;
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* keeps anchors clear of the sticky header */
  -webkit-text-size-adjust: 100%;
  /* the top bar collapses when the header sticks; scroll anchoring would then
     pull the scroll position back, toggling the header and flickering it */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-white);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--color-accent-600);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

a:hover {
  color: var(--color-accent-700);
}

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

button {
  font: inherit;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

::selection {
  background: var(--color-accent-100);
  color: var(--color-primary);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--speed) var(--ease);
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

/* ==========================================================================
   4. TYPOGRAPHY HELPERS
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem);
  color: var(--color-muted);
}

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

/* ==========================================================================
   5. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--soft { background: var(--color-soft); }
.section--blue-wash { background: var(--color-primary-50); }

/* --- Standard section heading pattern (used on every page) --- */
.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}

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

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

.section-head--split > div:first-child { max-width: 640px; }

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

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

.section-title {
  margin-bottom: 14px;
}

.section-sub {
  color: var(--color-muted);
  font-size: 1.03rem;
  margin-bottom: 0;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease),
    color var(--speed) var(--ease), border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

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

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

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

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn--accent:hover {
  background: var(--color-accent-600);
  color: var(--color-white);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.btn--ghost-light:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary-200);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-50);
  color: var(--color-primary);
}

.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent-600);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--speed) var(--ease);
}

.link-arrow:hover svg { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ==========================================================================
   7. HEADER
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 900;
  background: var(--color-white);
}

@media (min-width: 1025px) {
  .site-header {
    position: sticky;
    top: 0;
  }
}

/* --- top bar --- */
.topbar {
  background: var(--color-primary-900);
  color: var(--color-primary-100);
  font-size: 0.85rem;
  overflow: hidden;
  max-height: 80px;
  transition: max-height var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

/* top bar drops away while the header is stuck to the top of the window */
.site-header.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
}

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

.topbar__list {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

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

.topbar__item svg {
  width: 15px;
  height: 15px;
  color: var(--color-accent);
  flex: none;
}

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

.topbar a:hover { color: var(--color-accent-100); }

/* --- main nav --- */
.navbar {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-white);
  transition: box-shadow var(--speed) var(--ease);
}

.site-header.is-scrolled .navbar {
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

.brand:hover { color: var(--color-primary); }

.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-700) 55%, var(--color-accent) 190%);
  display: grid;
  place-items: center;
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.brand__mark svg { width: 24px; height: 24px; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
  border-radius: var(--radius-sm);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.nav__link:hover {
  color: var(--color-primary);
  background: var(--color-primary-50);
}

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link.is-active { color: var(--color-primary); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- hamburger --- */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav-toggle:hover { border-color: var(--color-primary-200); background: var(--color-primary-50); }

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transition: transform var(--speed) var(--ease), opacity 160ms var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- mobile menu --- */
.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.mobile-menu.is-open { display: block; }

.mobile-menu__list { padding: 10px 0; }

.mobile-menu__link {
  display: block;
  padding: 13px var(--container-pad);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
}

.mobile-menu__list li:last-child .mobile-menu__link { border-bottom: 0; }

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
  color: var(--color-accent-600);
  background: var(--color-accent-50);
}

.mobile-menu__foot {
  padding: 16px var(--container-pad) 22px;
  border-top: 1px solid var(--color-line);
  background: var(--color-soft);
  display: grid;
  gap: 10px;
}

.mobile-menu__foot a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--color-primary);
}

.mobile-menu__foot svg { width: 16px; height: 16px; color: var(--color-accent-600); }

/* ==========================================================================
   8. HERO (home)
   ========================================================================== */
.hero {
  position: relative;
  color: var(--color-white);
  background: var(--color-primary-900);
  isolation: isolate;
}

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

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

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 30, 51, 0.94) 0%, rgba(14, 42, 71, 0.86) 42%, rgba(14, 42, 71, 0.55) 100%);
}

.hero__inner {
  padding-top: 108px;
  padding-bottom: 0;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__content {
  max-width: 640px;
  padding-bottom: 64px;
}

.hero .eyebrow { color: var(--color-accent-100); }

.hero .eyebrow::before,
.hero .eyebrow::after { background: var(--color-accent); }

.hero__title {
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent-100);
  position: relative;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.16em;
  background: var(--color-accent);
  opacity: 0.55;
  border-radius: 3px;
}

.hero__text {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero__badge svg {
  width: 17px;
  height: 17px;
  color: var(--color-accent);
  flex: none;
}

/* assurance strip pinned to the hero bottom */
.hero__strip {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 30, 51, 0.55);
  backdrop-filter: blur(6px);
}

.hero__strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero__strip-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__strip-item:last-child { border-right: 0; }

.hero__strip-item svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  flex: none;
}

.hero__strip-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.97rem;
  color: var(--color-white);
  line-height: 1.3;
}

.hero__strip-item span {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* ==========================================================================
   9. SHARED COMPONENTS
   ========================================================================== */

/* --- generic card --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

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

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--color-accent-50);
  color: var(--color-accent-600);
  margin-bottom: 20px;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.card:hover .card__icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.card__icon svg { width: 26px; height: 26px; }

.card__title { margin-bottom: 10px; }

.card__text {
  color: var(--color-muted);
  font-size: 0.97rem;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  gap: 26px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* --- tick list --- */
.ticks { display: grid; gap: 13px; }

.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--color-ink);
  font-size: 0.99rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--color-accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c8462' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.ticks--light li { color: rgba(255, 255, 255, 0.9); }

.ticks--light li::before {
  background-color: rgba(15, 157, 118, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fe6c8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.ticks li strong { color: var(--color-primary); }

/* --- split rows (image + text, alternating) --- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.split--flip .split__media { order: 2; }

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split__media--frame::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 46%;
  height: 62%;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  opacity: 0.45;
  z-index: -1;
}

.split__title { margin-bottom: 16px; }

.split__text { color: var(--color-muted); margin-bottom: 22px; }

/* floating badge on media */
.media-badge {
  position: absolute;
  right: -14px;
  bottom: -20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 260px;
  border: 1px solid var(--color-line);
}

.media-badge__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--color-accent-50);
  color: var(--color-accent-600);
  display: grid;
  place-items: center;
}

.media-badge__icon svg { width: 21px; height: 21px; }

.media-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.media-badge span {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* --- gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.gallery figure:hover img {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.gallery figcaption {
  margin-top: 11px;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 600;
}

/* ==========================================================================
   10. PAGE SECTIONS
   ========================================================================== */

/* --- numbered process steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 58px; /* vertically centred on the 60px step number circles */
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--color-primary-200) 55%, transparent 0);
  background-size: 12px 2px;
  background-repeat: repeat-x;
}

.step {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  border: 1px solid var(--color-line);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.step__num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 20px;
  border: 5px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.step__title { margin-bottom: 8px; font-size: 1.12rem; }

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

/* --- stats band --- */
.stats {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 157, 118, 0.35) 0%, rgba(15, 157, 118, 0) 70%);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.stat {
  text-align: center;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat:last-child { border-right: 0; }

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.9rem);
  font-weight: 800;
  color: var(--color-accent-100);
  line-height: 1.1;
  display: block;
  margin-bottom: 6px;
}

.stat__label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

/* --- car category cards --- */
.category {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.category img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.category:hover img { transform: scale(1.06); }

.category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 51, 0) 35%, rgba(10, 30, 51, 0.88) 100%);
  z-index: 1;
}

.category__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 22px 24px;
  color: var(--color-white);
}

.category__body h3 {
  color: var(--color-white);
  margin-bottom: 5px;
  font-size: 1.16rem;
}

.category__body p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.category__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* --- testimonials --- */
.quote-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

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

.quote-card__mark {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--color-accent-100);
}

.quote-card__text {
  color: var(--color-ink);
  font-size: 0.99rem;
  margin: 0;
}

.quote-card__foot {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

.avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-card__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.99rem;
  line-height: 1.3;
}

.quote-card__role {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* --- FAQ accordion --- */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq__item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.faq__item.is-open {
  border-color: var(--color-accent-100);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-primary);
}

.faq__icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--color-accent-50);
  color: var(--color-accent-600);
  display: grid;
  place-items: center;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
}

.faq__icon svg { width: 14px; height: 14px; }

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: var(--color-white);
}

/* FAQ accordion - answers stay readable when JavaScript is unavailable */
.faq__a {
  overflow: hidden;
}

.js .faq__a {
  max-height: 0;
  transition: max-height 340ms var(--ease);
}

.faq__a-inner {
  padding: 0 24px 22px;
  color: var(--color-muted);
  font-size: 0.98rem;
}

/* --- CTA band --- */
.cta {
  position: relative;
  color: var(--color-white);
  isolation: isolate;
  background: var(--color-primary-900);
}

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

.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 30, 51, 0.95) 10%, rgba(14, 42, 71, 0.82) 100%);
}

.cta__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.cta h2 { color: var(--color-white); }

.cta__text { color: rgba(255, 255, 255, 0.82); margin-bottom: 26px; }

.cta .eyebrow { color: var(--color-accent-100); }

.cta__contacts {
  display: grid;
  gap: 14px;
}

.cta__contact {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 17px 20px;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.cta__contact:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: inherit;
}

.cta__contact svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-accent);
  margin-top: 3px;
}

.cta__contact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-accent-100);
  margin-bottom: 2px;
}

.cta__contact span { color: var(--color-white); font-size: 0.97rem; }

/* --- inner page hero --- */
.page-hero {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 157, 118, 0.28) 0%, rgba(15, 157, 118, 0) 70%);
  z-index: -1;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 3px;
  background: var(--color-accent);
  z-index: -1;
}

.page-hero__inner {
  padding: 74px 0 68px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a { color: rgba(255, 255, 255, 0.86); }

.breadcrumb a:hover { color: var(--color-accent-100); }

.breadcrumb__sep { color: var(--color-accent); }

.breadcrumb__current { color: var(--color-white); font-weight: 600; }

.page-hero h1 {
  color: var(--color-white);
  max-width: 800px;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* --- job cards --- */
.job {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

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

.job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent-50);
  color: var(--color-accent-700);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip--blue {
  background: var(--color-primary-50);
  color: var(--color-primary-700);
}

.job h3 { margin-bottom: 10px; }

.job__text { color: var(--color-muted); font-size: 0.96rem; margin-bottom: 18px; }

.job__list {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.job__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: var(--color-ink);
}

.job__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.job .btn { margin-top: auto; align-self: flex-start; }

/* --- value / promise item with index --- */
.promise {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

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

.promise__idx {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-accent-600);
  background: var(--color-accent-50);
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.promise h3 { margin-bottom: 6px; font-size: 1.08rem; }

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

/* ==========================================================================
   11. FORMS / CONTACT
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.contact-info__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.contact-info__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--color-accent-50);
  color: var(--color-accent-600);
  display: grid;
  place-items: center;
}

.contact-info__icon svg { width: 21px; height: 21px; }

.contact-info__item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info__item p,
.contact-info__item address {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.contact-info__item a { color: var(--color-primary); font-weight: 600; }

.contact-info__item a:hover { color: var(--color-accent-600); }

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-sm);
}

.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }

.form-card > p { color: var(--color-muted); margin-bottom: 26px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; }

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

.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.form-field label .req { color: var(--color-error); }

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.97rem;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  width: 100%;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(15, 157, 118, 0.16);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.form-field .field-error {
  font-size: 0.82rem;
  color: var(--color-error);
  min-height: 1em;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible { display: block; }

.form-status.is-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(18, 128, 92, 0.25);
}

.form-status.is-error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(192, 57, 43, 0.25);
}

.btn.is-loading { opacity: 0.75; pointer-events: none; }

.btn .spinner {
  display: inline-block;
  vertical-align: -3px;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* info panel used on contact + careers pages */
.note-panel {
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-100);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.note-panel svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--color-accent-600);
  margin-top: 2px;
}

.note-panel h3 { font-size: 1.05rem; margin-bottom: 5px; }

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

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-primary-900);
  color: var(--color-primary-100);
  font-size: 0.95rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding: 68px 0 52px;
}

.footer__brand .brand { color: var(--color-white); margin-bottom: 18px; }

.footer__brand .brand__name { color: var(--color-white); }

.footer__brand .brand__tag { color: var(--color-accent-100); }

.footer__brand .brand__mark {
  background: linear-gradient(140deg, var(--color-accent) 0%, var(--color-accent-700) 60%, var(--color-primary-700) 160%);
}

.footer__text {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 22px;
  max-width: 340px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.footer__social a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.footer__social svg { width: 18px; height: 18px; }

.footer__title {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

.footer__links { display: grid; gap: 11px; }

.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.footer__links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex: none;
}

.footer__links a:hover {
  color: var(--color-white);
  transform: translateX(3px);
}

.footer__contact { display: grid; gap: 14px; }

.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--color-accent);
  margin-top: 4px;
}

.footer__contact a { color: rgba(255, 255, 255, 0.86); }

.footer__contact a:hover { color: var(--color-accent-100); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.footer__keywords { color: rgba(255, 255, 255, 0.45); }

/* ==========================================================================
   13. MOTION UTILITIES
   ========================================================================== */
/* Scroll-reveal - only hidden when the JS enhancement is active */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  will-change: opacity, transform;
}

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

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

/* back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease),
    visibility var(--speed) var(--ease), background var(--speed) var(--ease);
  z-index: 800;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { background: var(--color-accent-600); }

.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  :root { --section-pad: 84px; }

  .hero__inner { min-height: 560px; }
  .footer__main { grid-template-columns: 1.3fr 1fr 1fr; gap: 38px; }
  .footer__main > div:last-child { grid-column: span 3; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  /* top bar is desktop-only */
  .topbar { display: none; }

  /* hamburger takes over on tablet + mobile */
  .nav,
  .navbar__actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero__inner { padding-top: 84px; min-height: 0; }
  .hero__content { padding-bottom: 52px; }

  .hero__strip-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__strip-item:nth-child(2) { border-right: 0; }
  .hero__strip-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .steps::before { display: none; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip .split__media { order: 0; }

  .cta__grid { grid-template-columns: 1fr; gap: 38px; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__main > div:last-child { grid-column: auto; }
}

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .stat:nth-child(n + 3) { padding-top: 26px; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:last-child { display: none; }

  .section-head--split { align-items: flex-start; }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 58px;
    --container-pad: 18px;
  }

  body { font-size: 15.5px; }

  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.02rem; }
  .brand__tag { font-size: 0.64rem; }

  .hero__inner { padding-top: 62px; }
  .hero__content { padding-bottom: 44px; }
  .hero__text { font-size: 1rem; }
  .hero__strip-grid { grid-template-columns: 1fr; }
  .hero__strip-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 16px 4px;
  }
  .hero__strip-item:last-child { border-bottom: 0; }

  .grid--3,
  .grid--4,
  .grid--2,
  .steps,
  .form-grid { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: 1fr; }
  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px 0;
  }
  .stat:last-child { border-bottom: 0; }
  .stat:nth-child(-n + 2),
  .stat:nth-child(n + 3) { padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .stat:last-child { border-bottom: 0; }

  .gallery { grid-template-columns: 1fr; }
  .gallery figure:last-child { display: block; }

  .media-badge { right: 10px; bottom: -16px; }

  .form-card { padding: 28px 22px; }
  .card { padding: 26px 22px; }
  .job { padding: 26px 22px; }

  .footer__main { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  .page-hero__inner { padding: 54px 0 48px; }

  .btn { white-space: normal; }
  .btn-row .btn { flex: 1 1 auto; }

  .to-top { right: 14px; bottom: 14px; }
}

/* ==========================================================================
   15. COMPONENT VARIANTS (declared last so they win over generic rules)
   ========================================================================== */

/* Three-column process steps (careers page) */
.steps--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .steps--3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
