/* ============================================================
   TractorGate Classic Tractors — Header + Hero
   ============================================================ */

:root {
  --color-red: #c8102e;
  --color-red-dark: #a40d25;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --radius: 4px;
  --header-h: 72px;
  --container: 1280px;
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Header / Topbar
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  overflow: visible;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  grid-template-areas: "contact navL logo navR search";
  align-items: center;
  gap: 12px 18px;
  height: var(--header-h);
  padding: 0 24px;
  max-width: 1440px;
  margin: 0 auto;
  overflow: visible;
}

.topbar__contact {
  grid-area: contact;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.topbar__icon:hover { color: var(--color-red); background: #f6f6f6; }

/* ============================================================
   Logo (image-based, swappable via WP media library)
   ============================================================ */
.logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--header-h) - 24px);
  padding: 0;
  line-height: 0;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(15, 18, 24, 0.12));
  pointer-events: auto;
  transition: transform var(--transition), filter var(--transition);
}
.logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: min(300px, 28vw);
  user-select: none;
  object-fit: contain;
}
.logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 6px 16px rgba(15, 18, 24, 0.18));
}

/* Десктоп: крупный логотип + все элементы шапки на одной линии */
@media (min-width: 901px) {
  :root {
    --header-h: 96px;
    --header-logo-h: 84px;
  }
  .topbar {
    align-items: center;
    height: var(--header-h);
  }
  .logo {
    min-width: 190px;
  }
  .primary-nav__list {
    align-items: center;
    height: var(--header-h);
  }
  .nav-link {
    height: var(--header-h);
    padding: 0 14px;
    box-sizing: border-box;
  }
  form.search {
    align-self: center;
    height: 44px;
    flex-shrink: 0;
  }
}

/* ============================================================
   Primary navigation (desktop)
   ============================================================ */

.primary-nav {
  /* makes the <ul> children participate directly in the topbar grid,
     so left list / logo / right list line up perfectly */
  display: contents;
}
.primary-nav__list--left  { grid-area: navL; justify-self: end; position: relative; z-index: 4; }
.primary-nav__list--right { grid-area: navR; justify-self: start; position: relative; z-index: 4; }

.primary-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}
.primary-nav__list--left { justify-content: flex-end; }
.primary-nav__list--right { justify-content: flex-start; }

.has-menu { position: relative; display: flex; flex-shrink: 0; }
.primary-nav__list .has-menu + .has-menu {
  border-left: 1px solid var(--color-line);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 24px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
  border-radius: 2px;
}
.nav-link .caret { width: 10px; height: 6px; transition: transform var(--transition); }
.nav-link:hover,
.has-menu.is-open .nav-link {
  background: var(--color-red);
  color: #fff;
}
.has-menu.is-open .nav-link .caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  z-index: 50;
}
.has-menu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.submenu li a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-line);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.submenu li:last-child a { border-bottom: 0; }
.submenu li a:hover { background: #f6f6f6; color: var(--color-red); }

/* ============================================================
   Logo
   ============================================================ */

/* Legacy text-logo helpers removed — now image-based via .logo img */

/* ============================================================
   Search
   ============================================================ */

/*
 * Селектор квалифицируем как `form.search`, потому что WordPress присваивает
 * <body class="search search-results …"> для любой страницы поиска, и без
 * квалификации `.search { display: inline-flex; ... }` превращал body в
 * inline-flex контейнер и ломал layout страницы /inventory/?s=…
 */
form.search {
  grid-area: search;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-left: 1px solid var(--color-line);
  min-width: 0;
}
form.search .search__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: color var(--transition);
}
form.search .search__icon:hover { color: var(--color-red); }
form.search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--color-muted);
  width: 220px;
  min-width: 0;
}
form.search input::placeholder { color: #9ca3af; }

/* ============================================================
   Hamburger (mobile)
   ============================================================ */

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  grid-column: 3;
  justify-self: end;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  background: #111;
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 700ms ease;
  display: flex;
  align-items: center;
}
.hero__slide.is-active { opacity: 1; z-index: 2; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0) 75%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  transform: translateY(-30px);
}

.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.container.hero__actions {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--color-red);
  border-radius: 2px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn--primary { background: var(--color-red); color: #fff; }
.btn--primary:hover { background: var(--color-red-dark); border-color: var(--color-red-dark); }
.btn--ghost { background: transparent; color: #fff; }
.btn--ghost:hover { background: var(--color-red); }
.btn:active { transform: translateY(1px); }

/* Slider arrows */
.hero__controls {
  position: absolute;
  right: 24px;
  bottom: 64px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hero__arrow {
  width: 44px;
  height: 44px;
  background: var(--color-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}
.hero__arrow:hover { background: var(--color-red-dark); }
.hero__arrow:active { transform: scale(0.95); }

/* ============================================================
   Reusable red diagonal stripe (used in hero + lineup)
   ============================================================ */
.stripe {
  position: relative;
  height: 30px;
  background: #ffffff;
  overflow: hidden;
}
.stripe__svg {
  display: block;
  width: 100%;
  height: 100%;
  shape-rendering: crispEdges;
}
.stripe--flip .stripe__svg { transform: scaleX(-1); }

.hero__stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

/* ============================================================
   Lineup (tractor categories)
   ============================================================ */
.lineup {
  background: #fff;
  --lineup-gap: 12px;
  --lineup-visible: 6;
}

.lineup__header {
  text-align: center;
  padding: 56px 24px 32px;
}
.lineup__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.lineup__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
}

.lineup__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 0 8px;
}
.lineup__viewport::-webkit-scrollbar { display: none; }

.lineup__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100vw - 48px - (var(--lineup-visible) - 1) * var(--lineup-gap)) / var(--lineup-visible));
  gap: var(--lineup-gap);
  padding: 0 24px;
}

.lineup__card {
  position: relative;
  scroll-snap-align: start;
}

.lineup__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1a1a;
}
.lineup__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 70%;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), background-position 700ms cubic-bezier(.2,.7,.2,1), filter 400ms ease;
  filter: brightness(0.92);
  will-change: transform, background-position;
}
.lineup__card:hover .lineup__image,
.lineup__card:focus-within .lineup__image {
  transform: scale(1.12);
  background-position: center center;
  filter: brightness(1);
}

.lineup__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(15, 15, 15, 0.55);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  transition: background 300ms ease;
}
.lineup__card:hover .lineup__label {
  background: rgba(15, 15, 15, 0.7);
}
.lineup__card::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-red);
}

.lineup__controls {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 18px 0 36px;
}
.lineup__arrow {
  width: 44px;
  height: 44px;
  background: var(--color-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}
.lineup__arrow:hover { background: var(--color-red-dark); }
.lineup__arrow:active { transform: scale(0.95); }

/* ============================================================
   Story / About section
   ============================================================ */
.story {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.story__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
}

/* Left column: content */
.story__content {
  padding: 88px 56px 96px 24px;
  max-width: 720px;
  width: 100%;
  justify-self: end;
}
.story__eyebrow {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
}
.story__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--color-red);
  transform: translateY(-50%);
}
.story__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 28px;
}
.story__title span {
  color: var(--color-red);
  display: inline-block;
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #4b5563;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  margin-bottom: 36px;
}
.story__body p { margin: 0; }
.story__body p:first-child {
  font-size: 16px;
  color: #374151;
  font-weight: 500;
}

.story__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 28px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 32px;
  position: relative;
}
.story__stat {
  position: relative;
  padding: 0 4px;
}
.story__stat + .story__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--color-line);
}
.story__stat strong {
  display: block;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.story__stat strong sup {
  color: var(--color-red);
  font-size: 0.55em;
  vertical-align: top;
  margin-left: 1px;
}
.story__stat span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.3;
}

.story__cta {
  align-self: flex-start;
}

/* Right column: image */
.story__media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.story__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 1.2s ease;
}
.story:hover .story__image { transform: scale(1.06); }

.story__media-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.story__sign {
  position: absolute;
  left: 36px;
  bottom: 40px;
  z-index: 2;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.story__sign-brand {
  font-family: 'Pacifico', 'Brush Script MT', cursive;
  font-size: 56px;
  color: #fff;
  line-height: 1;
  transform: skewX(-6deg);
  text-shadow: 0 4px 24px rgba(0,0,0,0.55);
  letter-spacing: 0.5px;
}
img.story__sign-brand {
  display: block;
  height: 72px;
  width: auto;
  max-width: 260px;
  transform: none;
  text-shadow: none;
  letter-spacing: 0;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  object-fit: contain;
}
.story__sign-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.95);
  margin-top: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.story__media-badge {
  position: absolute;
  top: 36px;
  right: 36px;
  z-index: 2;
  background: var(--color-red);
  color: #fff;
  padding: 14px 22px 16px;
  text-align: right;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 12px 30px -8px rgba(200, 16, 46, 0.55);
}
.story__media-badge-year {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.16em;
  line-height: 1;
  font-weight: 700;
}
.story__media-badge-sub {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1100px) {
  .story__content { padding: 64px 32px 72px 24px; }
  .story__sign-brand { font-size: 44px; }
  img.story__sign-brand { height: 60px; max-width: 220px; }
}

@media (max-width: 900px) {
  .story__grid {
    grid-template-columns: 1fr;
  }
  .story__content {
    padding: 56px 24px 48px;
    max-width: 100%;
    justify-self: stretch;
  }
  .story__media {
    min-height: 420px;
    order: -1;
  }
  .story__media-badge { top: 20px; right: 20px; padding: 10px 18px 12px; }
  .story__media-badge-year { font-size: 18px; }
  .story__sign { left: 24px; bottom: 28px; }
  .story__sign-brand { font-size: 40px; }
  img.story__sign-brand { height: 52px; max-width: 200px; }
  .story__sign-tag { font-size: 13px; }
  .story__stats { grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
  .story__stat:nth-child(3)::before { display: none; }
}

@media (max-width: 480px) {
  .story__content { padding: 40px 16px 36px; }
  .story__media { min-height: 320px; }
  .story__title { margin-bottom: 20px; }
  .story__sign-brand { font-size: 36px; }
  img.story__sign-brand { height: 44px; max-width: 180px; }
  .story__body p:first-child { font-size: 15px; }
}

/* ============================================================
   Reviews (satisfied clients)
   ============================================================ */
.reviews {
  background: #fff;
  padding: 64px 0 80px;
  position: relative;
}

.reviews__header {
  text-align: left;
  padding-bottom: 28px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-line);
}
.reviews__eyebrow {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}
.reviews__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--color-red);
  transform: translateY(-50%);
}
.reviews__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 14px;
  line-height: 1.25;
  max-width: 920px;
}
.reviews__desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
  max-width: 820px;
  margin: 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--color-line);
}
.reviews__company {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  min-height: 150px;
  background: #fff;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  position: relative;
  overflow: hidden;
  transition: background 240ms ease;
}
.reviews__company::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  z-index: 0;
  opacity: 0;
}
.reviews__company img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.25);
  transition: filter 240ms ease, transform 240ms ease;
}
.reviews__company:hover {
  background: #fafafa;
}
.reviews__company:hover img {
  filter: grayscale(0) saturate(1.15);
  transform: scale(1.04);
}

/* Responsive grid columns */
@media (max-width: 1100px) {
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .reviews { padding: 48px 0 56px; }
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews__company {
    min-height: 120px;
    padding: 20px 16px;
  }
  .reviews__company img { max-height: 60px; }
}
@media (max-width: 420px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FAQ section (dark theme with red accents)
   ============================================================ */
.faq {
  position: relative;
  background: linear-gradient(180deg, #0b132a 0%, #060a18 100%);
  color: #fff;
  padding: 84px 0 96px;
  overflow: hidden;
}
.faq__glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.22) 0%, rgba(200, 16, 46, 0) 70%);
  pointer-events: none;
  filter: blur(4px);
}
.faq__glow--alt {
  top: auto;
  right: auto;
  bottom: -160px;
  left: -160px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(83, 102, 200, 0.18) 0%, rgba(83, 102, 200, 0) 70%);
}

.faq__inner {
  position: relative;
  z-index: 1;
}
.faq__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 44px;
  color: #fff;
  line-height: 1.2;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.faq__item {
  background: #1a2235;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  overflow: hidden;
  transition: background 240ms ease, border-color 240ms ease;
}
.faq__item:hover {
  background: #222b42;
  border-color: rgba(255, 255, 255, 0.08);
}
.faq__item.is-open {
  background: #232c44;
  border-color: rgba(200, 16, 46, 0.35);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  line-height: 1.45;
}

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.faq__icon svg { fill: currentColor; display: block; }
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(.2,.7,.2,1);
}
.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 28px;
  color: #cbd5e1;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}
.faq__item.is-open .faq__answer-inner {
  padding-top: 6px;
  padding-bottom: 24px;
}
.faq__answer-inner p {
  margin: 0 0 14px;
  padding: 0;
  color: inherit;
}
.faq__answer-inner p:last-child { margin-bottom: 0; }
.faq__answer-inner h2,
.faq__answer-inner h3,
.faq__answer-inner h4 {
  margin: 0 0 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.4;
}
.faq__answer-inner strong { color: #fff; font-weight: 600; }
.faq__answer-inner ul,
.faq__answer-inner ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.faq__answer-inner li { margin: 0 0 6px; }
.faq__answer-inner li:last-child { margin-bottom: 0; }
.faq__answer-inner a { color: #f5b50a; text-decoration: underline; }

.faq__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.faq__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--color-red);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(200, 16, 46, 0.6);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.faq__cta:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(200, 16, 46, 0.75);
}
.faq__cta:active { transform: translateY(0); }

@media (max-width: 700px) {
  .faq { padding: 60px 0 76px; }
  .faq__title { margin-bottom: 28px; }
  .faq__question {
    padding: 18px 20px;
    font-size: 12px;
    letter-spacing: 0.04em;
    gap: 14px;
  }
  .faq__icon { width: 26px; height: 26px; }
  .faq__icon svg { width: 12px; height: 12px; }
  .faq__answer p { padding: 4px 20px 18px; font-size: 14px; }
  .faq__cta { padding: 14px 24px; font-size: 12px; }
}

/* ============================================================
   Why Choose Us — "field manual" / vintage ticket style
   ============================================================ */
.why {
  background:
    /* fine cream paper grain */
    radial-gradient(rgba(0,0,0,0.025) 1px, transparent 1px) 0 0 / 4px 4px,
    linear-gradient(180deg, #faf6ef 0%, #f3ede1 100%);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.why__container { position: relative; z-index: 1; }

/* ===== Manifesto-style header ===== */
.why__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 64px;
  padding: 0 8px;
}
.why__header-meta {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 18px;
}
.why__chapter {
  display: inline-block;
  font-size: 14px;
  padding: 4px 12px;
  border: 1.5px solid var(--color-red);
  color: var(--color-red);
}
.why__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #1a1a1a;
}

.why__title {
  grid-column: 1;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin: 0;
}
.why__title-em {
  font-family: 'Pacifico', 'Brush Script MT', cursive;
  color: var(--color-red);
  font-size: clamp(40px, 5.6vw, 80px);
  letter-spacing: 0;
  font-weight: 400;
  display: inline-block;
  transform: skewX(-4deg) translateY(4px);
  margin-top: 6px;
}

/* hand-drawn red squiggle + signature line under the title */
.why__signature {
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  text-align: right;
  padding-bottom: 10px;
}
.why__signature svg { display: block; }

/* ===== Vintage "ticket" cards ===== */
.why__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.why__ticket {
  position: relative;
  background:
    /* paper grain */
    radial-gradient(rgba(0,0,0,0.025) 1px, transparent 1px) 0 0 / 5px 5px,
    #fffdf8;
  border: 1.5px solid #1a1a1a;
  padding: 38px 36px 36px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
  box-shadow:
    6px 6px 0 0 #1a1a1a,
    0 0 0 1px #1a1a1a inset;
}
.why__ticket:hover {
  transform: translate(-3px, -3px);
  box-shadow:
    9px 9px 0 0 var(--color-red),
    0 0 0 1px #1a1a1a inset;
}

/* Corner notches — like vintage ticket */
.why__ticket-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--color-red);
  z-index: 1;
}
.why__ticket-corner--tl {
  top: -1.5px;
  left: -1.5px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.why__ticket-corner--br {
  bottom: -1.5px;
  right: -1.5px;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

/* Perforated edge on the right side, like a tear-off ticket */
.why__ticket-perfs {
  position: absolute;
  top: 36px;
  bottom: 36px;
  right: 90px;
  width: 1px;
  background-image:
    linear-gradient(to bottom, #1a1a1a 0, #1a1a1a 6px, transparent 6px, transparent 12px);
  background-size: 1px 12px;
  background-repeat: repeat-y;
  pointer-events: none;
  display: none; /* enabled on wider cards via media query if needed */
}

/* "Approved" stamp column */
.why__ticket-stamp {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: rotate(-6deg);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.why__ticket:hover .why__ticket-stamp {
  transform: rotate(-2deg) scale(1.03);
}
.why__ticket-stamp svg {
  display: block;
}
.why__ticket-num {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--color-red);
  border-top: 1px solid var(--color-red);
  border-bottom: 1px solid var(--color-red);
  padding: 3px 10px;
  white-space: nowrap;
}

/* Body content */
.why__ticket-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.why__ticket-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-red);
  padding: 4px 10px 4px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.why__ticket-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #1a1a1a;
  margin: 4px 0 6px;
}
.why__ticket-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
}
.why__ticket-meta {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 0, 0, 0.18);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

/* ===== Closing pledge strip ===== */
.why__pledge {
  margin-top: 56px;
  background: #1a1a1a;
  color: #fff;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  position: relative;
  border: 1.5px solid #1a1a1a;
  box-shadow: 6px 6px 0 0 var(--color-red);
}
.why__pledge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-red);
}

.why__pledge-stamp {
  flex-shrink: 0;
  transform: rotate(-8deg);
}

.why__pledge-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.why__pledge-tag {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
}
.why__pledge-text p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 640px;
}

.why__pledge-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.why__pledge-cta:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1100px) {
  .why { padding: 80px 0 90px; }
  .why__cards { gap: 22px; }
  .why__ticket { padding: 32px 28px; gap: 20px; grid-template-columns: 70px 1fr; }
  .why__ticket-stamp svg { width: 52px; height: 52px; }
}
@media (max-width: 820px) {
  .why__header {
    grid-template-columns: 1fr;
  }
  .why__signature {
    grid-column: 1;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }
  .why__cards { grid-template-columns: 1fr; }
  .why__pledge {
    grid-template-columns: auto 1fr;
    gap: 18px 22px;
    padding: 22px 24px;
  }
  .why__pledge-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 540px) {
  .why { padding: 60px 0 80px; }
  .why__title { font-size: 44px; }
  .why__title-em { font-size: 46px; }
  .why__ticket {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 18px;
    box-shadow: 4px 4px 0 0 #1a1a1a, 0 0 0 1px #1a1a1a inset;
  }
  .why__ticket:hover {
    box-shadow: 6px 6px 0 0 var(--color-red), 0 0 0 1px #1a1a1a inset;
  }
  .why__ticket-stamp {
    flex-direction: row;
    transform: rotate(-4deg);
    gap: 14px;
  }
  .why__pledge {
    grid-template-columns: 1fr;
    box-shadow: 4px 4px 0 0 var(--color-red);
  }
  .why__pledge-stamp { display: none; }
}

/* ============================================================
   Featured inventory (For Sale cards)
   ============================================================ */
.inventory {
  background: #fff;
  padding: 80px 0 96px;
}

.inventory__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.inventory__eyebrow {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.inventory__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-red);
  transform: translateY(-50%);
}

.inventory__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #1a1a1a;
  margin: 0;
}
.inventory__title span {
  color: var(--color-red);
}

.inventory__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: transparent;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.inventory__more:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  transform: translateX(2px);
}

.inventory__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.invcard {
  background: #fff;
  border: 1px solid #ebebee;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, border-color 320ms ease;
}
.invcard:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow:
    0 24px 40px -20px rgba(0, 0, 0, 0.2),
    0 10px 20px -10px rgba(200, 16, 46, 0.15);
}

/* Media area */
.invcard__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f4f6;
}
.invcard__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.invcard:hover .invcard__image {
  transform: scale(1.06);
}

/* Top-left location badge */
.invcard__loc {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-red);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 26px 7px 14px;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
}

/* Bottom-right brand stamp (image-based, swappable via WP) */
.invcard__brand {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  background: var(--color-red);
  padding: 6px 14px 6px 26px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.4);
}
.invcard__brand img {
  display: block;
  height: 34px;
  width: auto;
}

/* Status badges (NEW / HOT / SALE) */
.invcard__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}
.invcard__badge {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 11px 4px;
  border-radius: 3px;
  line-height: 1;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}
.invcard__badge--new  { background: #16a34a; }
.invcard__badge--hot  { background: #ea580c; }
.invcard__badge--sale { background: var(--color-red, #d92525); }

/* ============================================================
   Item page — tabs (Guarantee / Delivery) — стиль Gateway-карточек
   ============================================================ */
.itabs {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 14px 40px -28px rgba(0,0,0,0.35);
  overflow: hidden;
}
.itabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e7eb;
}
.itabs__tab {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 16px 26px 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: color 160ms ease, background 160ms ease;
  border-right: 1px solid #e5e7eb;
}
.itabs__tab:hover { color: #111; }
.itabs__tab:focus-visible { outline: 2px solid #c8102e; outline-offset: -2px; }
.itabs__tab.is-active {
  color: #111;
  background: #fff;
}
.itabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: #c8102e;
}
.itabs__panels {
  padding: 22px 28px 26px;
  background: #fff;
}
.itabs__panel { display: none; }
.itabs__panel.is-active { display: block; }
.itabs__panel .item-prose ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}
.itabs__panel .item-prose li + li { margin-top: 8px; }
.itabs__panel .item-prose a { color: #c8102e; text-decoration: underline; }

@media (max-width: 640px) {
  .itabs__tab { flex: 1 1 50%; padding: 14px 16px 12px; font-size: 14px; }
  .itabs__panels { padding: 18px 18px 22px; }
}

/* ============================================================
   Lightweight modal (fancybox-replacement)
   ============================================================ */
html.bug-modal-open, html.bug-modal-open body { overflow: hidden; }
.bug-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
  z-index: 10000;
}
.bug-modal-overlay.is-open { opacity: 1; visibility: visible; }
.bug-modal-overlay__inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 6px;
  padding: 40px 44px 44px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}
.bug-modal-overlay.is-open .bug-modal-overlay__inner { transform: none; opacity: 1; }
.bug-modal-overlay__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 160ms ease;
}
.bug-modal-overlay__close:hover { background: rgba(0,0,0,0.06); }
.bug-modal-overlay .modal { display: block !important; }

/* Стиль внутреннего содержимого .modal (CALL REQUEST / BUY NOW) */
.modal { background: transparent; }
.modal__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  margin: 0 0 14px;
}
.modal__subtitle, .modal__subtitle p {
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.form-modal .form,
.form-modal form { display: grid; gap: 14px; }
.form-modal .form-label {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}
.form-modal .form-label > span { display: block; margin: 0 0 6px; }
.form-modal .input_st,
.form-modal textarea.input_st {
  width: 100%;
  background: #f4f5f7;
  border: 0;
  border-radius: 4px;
  padding: 16px 18px;
  font: 400 16px/1.4 'Inter', sans-serif;
  letter-spacing: 0;
  color: #111;
  text-transform: none;
}
.form-modal textarea.input_st { min-height: 110px; resize: vertical; }
.form-modal .input_st::placeholder { color: #9aa0a6; }
.form-modal .input_st:focus { outline: 2px solid #c8102e; outline-offset: -2px; background: #fff; }
.form-modal .button.third,
.form-modal button.button {
  align-self: start;
  background: var(--color-red, #c8102e);
  border: 0;
  border-radius: 3px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 16px 36px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 24px -10px rgba(200, 16, 46, 0.6);
}
.form-modal .button.third:hover,
.form-modal button.button:hover { background: #b00d27; box-shadow: 0 12px 28px -10px rgba(200, 16, 46, 0.75); }
.form-modal .button.third:active,
.form-modal button.button:active { transform: translateY(1px); }
.form-modal .button.third:disabled,
.form-modal button.button:disabled { background: #d9a4ad; cursor: not-allowed; box-shadow: none; }
.bug-modal-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 14px 18px;
  text-align: center;
  font: 500 15px/1.4 'Inter', sans-serif;
}
@media (max-width: 640px) {
  .bug-modal-overlay { padding: 12px; }
  .bug-modal-overlay__inner { padding: 30px 22px 28px; max-height: calc(100vh - 24px); }
  .modal__title { font-size: 30px; }
}

/* ============================================================
   Testimonials page (.tpg)
   ============================================================ */
.tpg { background: #f7f7f8; padding-bottom: 80px; }

/* Hero */
.tpg-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 80px 0 70px;
  margin-bottom: 56px;
}
.tpg-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.4) 0%, rgba(15,17,21,0.78) 100%);
  pointer-events: none;
}
.tpg-hero__inner { position: relative; z-index: 1; }
.tpg-hero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}
.tpg-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.tpg-hero__crumbs a:hover { color: #fff; }
.tpg-hero__crumbs span[aria-hidden] { opacity: 0.5; }
.tpg-hero__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.4vw, 64px);
  letter-spacing: 0.04em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.tpg-hero__stripes { display: inline-block; transform: translateY(8px); }
.tpg-hero__lead {
  max-width: 820px;
  font: 600 18px/1.4 'Inter', sans-serif;
  color: rgba(255,255,255,0.92);
  margin: 0 0 10px;
}
.tpg-hero__sub {
  max-width: 820px;
  font: 400 15px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

/* Section frame */
.tpg-section { padding: 36px 0; }
.tpg-section + .tpg-section { padding-top: 18px; }
.tpg-section__lead {
  max-width: 880px;
  font: 400 15px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: -4px 0 28px;
}

/* Stars */
.tpg-stars { display: inline-flex; gap: 3px; align-items: center; }
.tpg-stars__icon { fill: #d4d6db; }
.tpg-stars__icon.is-on { fill: #f5b50a; }

/* Video reviews */
.tpg-videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.tpg-vcard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.tpg-vcard:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -22px rgba(0,0,0,0.4); }
.tpg-vcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #11151a;
  overflow: hidden;
}
.tpg-vcard__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 350ms ease;
}
.tpg-vcard:hover .tpg-vcard__media img { transform: scale(1.04); }
.tpg-vcard__play {
  position: absolute; inset: 0;
  border: 0; padding: 0; margin: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}
.tpg-vcard__play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(200,16,46,0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(200,16,46,0.6), 0 0 0 6px rgba(255,255,255,0.18);
  transition: transform 160ms ease, background 160ms ease;
}
.tpg-vcard__play-icon svg { transform: translateX(2px); }
.tpg-vcard__play:hover .tpg-vcard__play-icon { background: #c8102e; transform: translate(-50%, -50%) scale(1.06); }
.tpg-vcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.tpg-vcard__text {
  font: 400 14px/1.55 'Inter', sans-serif;
  color: #1f2937;
  margin: 0;
}
.tpg-vcard__person {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.tpg-vcard__person strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}
.tpg-vcard__person span {
  font: 500 12px/1 'Inter', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

/* Written reviews */
.tpg-quotes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.tpg-qcard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 22px 22px 22px;
  box-shadow: 0 14px 32px -24px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.tpg-qcard.is-hidden { display: none; }
.tpg-qcard.is-hidden[hidden] { display: none !important; }
.tpg-qcard::before {
  content: "";
  position: absolute;
  top: 22px; left: 0;
  width: 4px; height: 28px;
  background: #c8102e;
  border-radius: 0 3px 3px 0;
}
.tpg-qcard__head {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
}
.tpg-qcard__head .tpg-stars {
  grid-column: 1 / -1;
}
.tpg-qcard__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  position: relative;
  flex-shrink: 0;
}
.tpg-qcard__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpg-qcard__initials {
  position: absolute; inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c8102e;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
}
.tpg-qcard__person {
  display: flex; flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tpg-qcard__person strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  word-break: break-word;
}
.tpg-qcard__person span {
  font: 500 11px/1.3 'Inter', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  word-break: break-word;
}
.tpg-qcard__text {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #1f2937;
  margin: 0;
}
.tpg-quotes__more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.tpg-quotes__more .ibtn { display: inline-flex; align-items: center; gap: 8px; }

/* Platforms (legacy block, оставлено на случай старых страниц) */
.tpg-platforms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-bottom: 18px;
}
.tpg-platform,
.tpg-platform--static {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px;
  min-height: 88px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.tpg-platform { text-decoration: none; }
.tpg-platform:hover {
  transform: translateY(-2px);
  border-color: #c8102e;
  box-shadow: 0 16px 30px -22px rgba(200,16,46,0.45);
}
.tpg-platform img,
.tpg-platform--static img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 160ms ease;
}
.tpg-platform:hover img { filter: none; }
.tpg-platforms__note {
  max-width: 880px;
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: 8px 0 0;
}

/* ===== Trust block on /testimonials/ — стилистика как .partners на главной ===== */
.tpg-trust {
  background: #fff;
  position: relative;
  margin: 36px 0 12px;
}
.tpg-trust__band {
  background: linear-gradient(90deg, #0f0f15 0%, #1a0d10 55%, #2a0d12 100%);
  position: relative;
  overflow: hidden;
}
.tpg-trust__band::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--color-red);
  box-shadow: 0 0 16px rgba(200, 16, 46, 0.6);
}
.tpg-trust__band::after {
  content: '';
  position: absolute;
  right: -40px; top: 0; bottom: 0;
  width: 180px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 16, 46, 0.18) 60%, rgba(200, 16, 46, 0.35) 100%);
  pointer-events: none;
}
.tpg-trust__band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 24px;
  gap: 16px 24px;
  position: relative;
  z-index: 1;
}
.tpg-trust__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  min-width: 0;
}
.tpg-trust__eyebrow-mark {
  display: inline-block;
  width: 18px;
  height: 4px;
  background: var(--color-red);
  position: relative;
  flex: 0 0 auto;
}
.tpg-trust__eyebrow-mark::before,
.tpg-trust__eyebrow-mark::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}
.tpg-trust__eyebrow-mark::before { top: -4px; }
.tpg-trust__eyebrow-mark::after  { bottom: -4px; }
.tpg-trust__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tpg-trust__meta-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.tpg-trust__body {
  background: #fff;
  position: relative;
  padding: 14px 0;
  overflow: hidden;
}
.tpg-trust__body::before,
.tpg-trust__body::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.tpg-trust__body::before {
  left: 0;
  background: linear-gradient(90deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}
.tpg-trust__body::after {
  right: 0;
  background: linear-gradient(270deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}
.tpg-trust__row {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}
.tpg-trust__row + .tpg-trust__row {
  border-top: 1px solid #ececec;
}
.tpg-trust__track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  will-change: transform;
  animation: tpgTrustMarqueeLTR 42s linear infinite;
}
.tpg-trust__row--rtl .tpg-trust__track {
  animation-name: tpgTrustMarqueeRTL;
  animation-duration: 48s;
}
.tpg-trust__row:hover .tpg-trust__track,
.tpg-trust__row:focus-within .tpg-trust__track {
  animation-play-state: paused;
}
.tpg-trust__cell {
  flex: 0 0 auto;
  width: 200px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 280ms ease;
}
.tpg-trust__cell--static { cursor: default; }
.tpg-trust__cell + .tpg-trust__cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 56%;
  width: 1px;
  background: #ececec;
  transform: translateY(-50%);
}
.tpg-trust__cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05) contrast(0.95);
  opacity: 0.65;
  transition: filter 320ms ease, opacity 320ms ease, transform 320ms ease;
}
.tpg-trust__cell:hover,
.tpg-trust__cell:focus-visible {
  transform: scale(1.05);
  outline: none;
}
.tpg-trust__cell:hover img,
.tpg-trust__cell:focus-visible img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
}
.tpg-trust__cell:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(200, 16, 46, 0.55);
  border-radius: 4px;
}

.tpg-trust__note {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 18px 0 4px;
}
.tpg-trust__note p {
  max-width: 920px;
  margin: 0;
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #4b5563;
}

@keyframes tpgTrustMarqueeLTR {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes tpgTrustMarqueeRTL {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .tpg-trust__track { animation: none !important; }
}
@media (max-width: 720px) {
  .tpg-trust__band-inner { padding: 14px 18px; gap: 10px 18px; }
  .tpg-trust__eyebrow { font-size: 15px; letter-spacing: 0.18em; }
  .tpg-trust__meta-num { font-size: 22px; padding-right: 10px; }
  .tpg-trust__cell { width: 160px; height: 84px; padding: 0 18px; }
}

/* Video lightbox */
.tpg-video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tpg-video-lightbox.is-open { display: flex; }
.tpg-video-lightbox__stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}
.tpg-video-lightbox__stage video {
  width: 100%; height: 100%; display: block;
  background: #000;
  border-radius: 4px;
}
.tpg-video-lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, transform 160ms ease;
}
.tpg-video-lightbox__close:hover { background: rgba(255,255,255,0.22); transform: scale(1.06); }

@media (max-width: 640px) {
  .tpg-hero { padding: 56px 0 44px; margin-bottom: 36px; }
  .tpg-hero__title { font-size: 38px; gap: 10px; }
}

/* ============================================================
   About Us page (.ab)
   ============================================================ */
.ab { background: #f7f7f8; padding-bottom: 80px; }
.ab-section { padding: 48px 0; }
.ab-section + .ab-section { padding-top: 24px; }

/* Hero */
.ab-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 84px;
  margin-bottom: 32px;
}
.ab-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.45) 0%, rgba(15,17,21,0.82) 100%);
  pointer-events: none;
}
.ab-hero__inner { position: relative; z-index: 1; max-width: 920px; }
.ab-hero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.ab-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.ab-hero__crumbs a:hover { color: #fff; }
.ab-hero__crumbs span[aria-hidden] { opacity: 0.5; }
.ab-hero__eyebrow {
  display: inline-block;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 12px;
}
.ab-hero__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.ab-hero__stripes { display: inline-block; transform: translateY(8px); }
.ab-hero__lead {
  font: 400 16px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.88);
}
.ab-hero__lead p { margin: 0 0 10px; }
.ab-hero__lead p:last-child { margin-bottom: 0; }
.ab-hero__lead a { color: #f5b50a; text-decoration: underline; }

/* Generic prose for sections */
.ab .item-prose p { margin: 0 0 12px; font: 400 15px/1.7 'Inter', sans-serif; color: #1f2937; }
.ab .item-prose p:last-child { margin-bottom: 0; }
.ab .item-prose ul { padding-left: 22px; margin: 8px 0; }
.ab .item-prose li + li { margin-top: 6px; }
.ab .item-prose strong { color: #111; }

/* Video + text block (b2) */
.ab-elite__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.ab-elite__media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 6px;
  overflow: hidden;
  background: #11151a;
  box-shadow: 0 30px 60px -38px rgba(0,0,0,0.45);
}
.ab-elite__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-elite__play {
  position: absolute; inset: 0;
  border: 0; padding: 0; margin: 0;
  background: transparent;
  cursor: pointer;
}
.ab-elite__play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(200,16,46,0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 32px -12px rgba(200,16,46,0.6), 0 0 0 8px rgba(255,255,255,0.18);
  transition: transform 160ms ease, background 160ms ease;
}
.ab-elite__play-icon svg { transform: translateX(3px); }
.ab-elite__play:hover .ab-elite__play-icon { background: #c8102e; transform: translate(-50%, -50%) scale(1.06); }

/* Stats / track record (b3) */
.ab-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.ab-stats__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 14px 32px -24px rgba(0,0,0,0.3);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.ab-stats__card:hover { transform: translateY(-3px); border-color: #c8102e; box-shadow: 0 18px 36px -20px rgba(200,16,46,0.35); }
.ab-stats__icon {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: #fff5f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ab-stats__icon img { width: 32px; height: 32px; object-fit: contain; }
.ab-stats__text {
  font: 600 15px/1.4 'Inter', sans-serif;
  color: #111;
  margin: 0;
}

/* Feature image + text (b4) */
.ab-feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.ab-feature__media {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -38px rgba(0,0,0,0.45);
}
.ab-feature__media img { width: 100%; height: auto; display: block; }

/* Story (b5) */
.ab-story__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.ab-story__media {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -38px rgba(0,0,0,0.45);
}
.ab-story__media img { width: 100%; height: auto; display: block; }
.ab-story__footer {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 28px 32px;
}
.ab-story__footer-media { border-radius: 4px; overflow: hidden; }
.ab-story__footer-media img { width: 100%; height: auto; display: block; }
.ab-story__quote {
  margin: 16px 0 0;
  padding-left: 16px;
  border-left: 3px solid #c8102e;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.25;
}

/* Missions & values (b6) */
.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.ab-values__card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 28px 26px 26px;
  box-shadow: 0 16px 36px -28px rgba(0,0,0,0.3);
  overflow: hidden;
}
.ab-values__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: #c8102e;
}
.ab-values__num {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: #c8102e;
  margin-bottom: 6px;
}
.ab-values__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 10px;
}
.ab-values__text {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: 0;
}

/* CEO quote (b7) */
.ab-quote { padding: 40px 0; }
.ab-quote__inner {
  position: relative;
  background: linear-gradient(180deg, #11151a 0%, #1f242c 100%);
  color: #fff;
  border-radius: 8px;
  padding: 60px 56px 50px;
  text-align: center;
}
.ab-quote__mark {
  display: inline-block;
  margin: 0 auto 18px;
  opacity: 0.9;
}
.ab-quote__text {
  max-width: 920px;
  margin: 0 auto 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.ab-quote__person {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ab-quote__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c8102e;
}
.ab-quote__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-quote__person-text {
  text-align: left;
  display: flex; flex-direction: column;
  gap: 2px;
}
.ab-quote__person-text strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ab-quote__person-text span {
  font: 500 12px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Solutions (b8) */
.ab-solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.ab-solutions__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 28px 26px;
  text-align: left;
  box-shadow: 0 14px 32px -24px rgba(0,0,0,0.3);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.ab-solutions__card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(0,0,0,0.4); }
.ab-solutions__icon {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: #fff5f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ab-solutions__icon img { width: 32px; height: 32px; object-fit: contain; }
.ab-solutions__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 8px;
}
.ab-solutions__text {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: 0;
}

/* Roadmap (b9) */
.ab-roadmap__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.ab-roadmap__list::before {
  content: "";
  position: absolute;
  top: 12px; bottom: 12px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, #c8102e 0%, rgba(200,16,46,0.2) 100%);
}
.ab-roadmap__item {
  position: relative;
  padding-left: 44px;
}
.ab-roadmap__dot {
  position: absolute;
  left: 0; top: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #c8102e;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.15);
}
.ab-roadmap__body {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 18px 22px;
  box-shadow: 0 14px 32px -28px rgba(0,0,0,0.3);
}
.ab-roadmap__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8102e;
  margin: 0 0 6px;
}
.ab-roadmap__text {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #1f2937;
  margin: 0;
}

@media (max-width: 880px) {
  .ab-elite__inner,
  .ab-feature__inner,
  .ab-story__inner { grid-template-columns: 1fr; gap: 28px; }
  .ab-quote__inner { padding: 44px 26px 36px; }
}

/* ============================================================
   FAQ page (.faqpg) — hero + reuse .faq accordion + bottom banner
   ============================================================ */
.faqpg { background: #f7f7f8; padding-bottom: 80px; }
.faqpg-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 84px;
}
.faqpg-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.5) 0%, rgba(15,17,21,0.85) 100%);
  pointer-events: none;
}
.faqpg-hero__inner { position: relative; z-index: 1; max-width: 920px; }
.faqpg-hero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.faqpg-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.faqpg-hero__crumbs a:hover { color: #fff; }
.faqpg-hero__crumbs span[aria-hidden] { opacity: 0.5; }
.faqpg-hero__eyebrow {
  display: inline-block;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 12px;
}
.faqpg-hero__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
}
.faqpg-hero__stripes { display: inline-block; transform: translateY(8px); }

/* На странице /faq/ блок аккордеона делаем чуть просторнее */
.faq--page { padding-top: 60px; padding-bottom: 60px; }
.faq--page .faq__title { margin-top: 0; }

/* Bottom CTA banner */
.faqpg-banner {
  padding: 80px 0 24px;
}
.faqpg-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 0;
  background: linear-gradient(135deg, #14181f 0%, #1f242c 100%);
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px -32px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.faqpg-banner__inner::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, #c8102e 0%, rgba(200,16,46,0.55) 100%);
  z-index: 2;
}
.faqpg-banner__media {
  position: relative;
  min-height: 280px;
}
.faqpg-banner__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.faqpg-banner__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(20,24,31,0) 40%, rgba(20,24,31,0.55) 80%, rgba(20,24,31,1) 100%);
  pointer-events: none;
}
.faqpg-banner__copy {
  position: relative;
  padding: 48px 48px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.faqpg-banner__copy::before {
  content: "";
  position: absolute;
  top: 18px; right: 26px;
  width: 84px; height: 4px;
  background: repeating-linear-gradient(135deg, #c8102e 0 8px, transparent 8px 14px);
  opacity: 0.55;
}
.faqpg-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5b50a;
  margin: 0 0 4px;
}
.faqpg-banner__eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 2px;
  background: #f5b50a;
}
.faqpg-banner__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.12;
  max-width: 32ch;
}
.faqpg-banner__text {
  font: 400 15px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 56ch;
}
.faqpg-banner__cta {
  margin-top: 8px;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 3px;
  background: var(--color-red, #c8102e);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 32px -12px rgba(200,16,46,0.65);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.faqpg-banner__cta svg { transition: transform 200ms ease; }
.faqpg-banner__cta:hover { background: #b00d27; transform: translateY(-1px); box-shadow: 0 18px 36px -12px rgba(200,16,46,0.7); }
.faqpg-banner__cta:hover svg { transform: translateX(3px); }
.faqpg-banner__cta:active { transform: translateY(0); }

@media (max-width: 880px) {
  .faqpg-banner { padding: 56px 0 16px; }
  .faqpg-banner__inner { grid-template-columns: 1fr; }
  .faqpg-banner__media { min-height: 220px; }
  .faqpg-banner__media::after {
    background: linear-gradient(180deg, rgba(20,24,31,0) 0%, rgba(20,24,31,0.45) 70%, rgba(20,24,31,1) 100%);
  }
  .faqpg-banner__copy { padding: 30px 26px 36px; }
  .faqpg-banner__copy::before { display: none; }
}

/* ============================================================
   Contact page (.ctc)
   ============================================================ */
.ctc { background: #f7f7f8; padding-bottom: 80px; }

/* Hero */
.ctc-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 84px;
  margin-bottom: 0;
}
.ctc-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.5) 0%, rgba(15,17,21,0.85) 100%);
}
.ctc-hero__inner { position: relative; z-index: 1; max-width: 920px; }
.ctc-hero__crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.ctc-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.ctc-hero__crumbs a:hover { color: #fff; }
.ctc-hero__crumbs span[aria-hidden] { opacity: 0.5; }
.ctc-hero__eyebrow {
  display: inline-block;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 12px;
}
.ctc-hero__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.ctc-hero__stripes { display: inline-block; transform: translateY(8px); }
.ctc-hero__sub {
  max-width: 720px;
  font: 400 16px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.84);
  margin: 0;
}

/* Main grid */
.ctc-main { padding: 56px 0 24px; }
.ctc-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}

/* Info column */
.ctc-info { display: flex; flex-direction: column; gap: 26px; }
.ctc-info__cards {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 12px;
}
.ctc-info__card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 14px 30px -26px rgba(0,0,0,0.3);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.ctc-info__card:hover { border-color: #c8102e; box-shadow: 0 18px 36px -20px rgba(200,16,46,0.35); transform: translateY(-2px); }
.ctc-info__icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: #fff5f6;
  color: #c8102e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ctc-info__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ctc-info__label {
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7280;
}
.ctc-info__value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  word-break: break-word;
}
a.ctc-info__value { transition: color 160ms ease; }
a.ctc-info__value:hover { color: #c8102e; }

.ctc-info__departments {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 22px 24px;
  box-shadow: 0 14px 30px -26px rgba(0,0,0,0.3);
}
.ctc-info__subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 14px;
}
.ctc-info__depts-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ctc-info__dept {
  padding-left: 16px;
  border-left: 3px solid #c8102e;
  font: 400 14px/1.55 'Inter', sans-serif;
  color: #1f2937;
}
.ctc-info__dept strong { color: #111; }
.ctc-info__dept div { margin: 0; }

/* Form */
.ctc-form {
  position: relative;
}
.ctc-form__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 36px 36px 32px;
  box-shadow: 0 30px 60px -32px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.ctc-form__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, #c8102e 0%, rgba(200,16,46,0.55) 100%);
}
.ctc-form__head { margin-bottom: 8px; }
.ctc-form__lead {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: 0 0 22px;
}
.ctc-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 22px;
}
.ctc-form__form .form-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
}
.ctc-form__form .form-label--full { grid-column: 1 / -1; }
.ctc-form__form .input_st,
.ctc-form__form select.input_st,
.ctc-form__form textarea.input_st {
  width: 100%;
  background: #f4f5f7;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 14px 16px;
  font: 400 15px/1.4 'Inter', sans-serif;
  letter-spacing: 0;
  color: #111;
  text-transform: none;
  appearance: none;
  -webkit-appearance: none;
}
.ctc-form__form select.input_st {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23111' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
  cursor: pointer;
}
.ctc-form__form textarea.input_st { min-height: 120px; resize: vertical; }
.ctc-form__form .input_st:focus {
  outline: 2px solid #c8102e;
  outline-offset: -2px;
  background: #fff;
}
.ctc-form__form .input_st::placeholder { color: #9aa0a6; }

.ctc-form__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ctc-form__form .button.third {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-red, #c8102e);
  color: #fff;
  border: 0;
  border-radius: 3px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: 0 14px 32px -12px rgba(200,16,46,0.6);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.ctc-form__form .button.third:hover { background: #b00d27; transform: translateY(-1px); box-shadow: 0 18px 36px -12px rgba(200,16,46,0.7); }
.ctc-form__form .button.third:disabled { background: #d9a4ad; cursor: not-allowed; box-shadow: none; }
.ctc-form__note {
  font: 400 12px/1.4 'Inter', sans-serif;
  color: #6b7280;
  margin: 0;
  max-width: 320px;
}

.ctc-form__card .bug-modal-success {
  margin-bottom: 16px;
}

/* Locations */
.ctc-locations { padding: 40px 0 24px; }
.ctc-locations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.ctc-loc {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 36px -28px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}
.ctc-loc__map iframe { display: block; width: 100%; height: 280px; border: 0; }
.ctc-loc__body {
  padding: 18px 22px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.ctc-loc__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: #c8102e;
}
.ctc-loc__addr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font: 500 14px/1.5 'Inter', sans-serif;
  color: #1f2937;
  margin: 0;
}
.ctc-loc__addr svg { color: #c8102e; flex-shrink: 0; margin-top: 2px; }

/* Banner reuse (.faqpg-banner стиль) — выравниваем отступ под секцию контактов */
.ctc-banner { padding-top: 40px; }

@media (max-width: 980px) {
  .ctc-main__inner { grid-template-columns: 1fr; gap: 32px; }
  .ctc-form__card { padding: 28px 24px 28px; }
}
@media (max-width: 640px) {
  .ctc-hero { padding: 64px 0 50px; }
  .ctc-hero__title { font-size: 36px; gap: 10px; }
  .ctc-form__grid { grid-template-columns: 1fr; }
  .ctc-loc__map iframe { height: 220px; }
}

/* ============================================================
   Case studies page (.cs)
   ============================================================ */
.cs { background: #f7f7f8; padding-bottom: 80px; }

/* Hero */
.cs-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 84px;
}
.cs-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.5) 0%, rgba(15,17,21,0.86) 100%);
}
.cs-hero__inner { position: relative; z-index: 1; max-width: 940px; }
.cs-hero__crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.cs-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.cs-hero__crumbs a:hover { color: #fff; }
.cs-hero__crumbs span[aria-hidden] { opacity: 0.5; }
.cs-hero__eyebrow {
  display: inline-block;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 12px;
}
.cs-hero__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.04;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.cs-hero__title br { display: inline; }
.cs-hero__stripes { display: inline-block; transform: translateY(8px); }
.cs-hero__sub {
  max-width: 760px;
  font: 400 16px/1.5 'Inter', sans-serif;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.cs-hero__sub br { display: inline; }

/* Grid */
.cs-grid-wrap { padding: 56px 0 24px; }
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.cs-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.cs-card:hover {
  transform: translateY(-4px);
  border-color: #c8102e;
  box-shadow: 0 24px 48px -22px rgba(200,16,46,0.35);
}
.cs-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #1a1d22;
  overflow: hidden;
}
.cs-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.cs-card:hover .cs-card__media img { transform: scale(1.06); }
.cs-card__media-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1d22 0%, #2a2f37 100%);
}
.cs-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: #c8102e;
  padding: 5px 11px 4px;
  border-radius: 3px;
  box-shadow: 0 6px 16px -4px rgba(200,16,46,0.65);
}
.cs-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cs-card__date {
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7280;
}
.cs-card__title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}
.cs-card__title a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.cs-card__title a:hover { color: #c8102e; }
.cs-card__text {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: 0;
  flex: 1;
}
.cs-card__more {
  margin-top: 8px;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8102e;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 160ms ease, gap 160ms ease;
}
.cs-card__more:hover { border-color: #c8102e; gap: 10px; }
.cs-card__more svg { transition: transform 200ms ease; }
.cs-card__more:hover svg { transform: translateX(2px); }

.cs-banner { padding-top: 40px; }

@media (max-width: 640px) {
  .cs-hero { padding: 64px 0 50px; }
  .cs-hero__title { font-size: 30px; gap: 10px; }
  .cs-grid { gap: 16px; }
}

/* ============================================================
   Single case-study post (.csp)
   ============================================================ */
.csp { background: #f7f7f8; padding-bottom: 80px; }
.csp__wrap { list-style: none; }

/* Hero */
.csp-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 0 80px;
}
.csp-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.5) 0%, rgba(15,17,21,0.92) 100%);
}
.csp-hero__inner { position: relative; z-index: 1; max-width: 880px; }
.csp-hero__crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font: 500 12px/1 'Inter', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}
.csp-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.csp-hero__crumbs a:hover { color: #f5b50a; }
.csp-hero__crumbs span[aria-hidden] { opacity: 0.45; }
.csp-hero__eyebrow {
  display: inline-block;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(245,181,10,0.45);
}
.csp-hero__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.csp-hero__stripes { display: inline-block; transform: translateY(8px); flex-shrink: 0; }
.csp-hero__lead {
  max-width: 760px;
  font: 400 17px/1.55 'Inter', sans-serif;
  color: rgba(255,255,255,0.86);
  margin: 0 0 30px;
}
.csp-hero__meta {
  display: flex; flex-wrap: wrap; gap: 36px;
  list-style: none; padding: 0; margin: 0;
}
.csp-hero__meta li { display: flex; flex-direction: column; gap: 5px; }
.csp-hero__meta-key {
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.csp-hero__meta-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
}

/* Body */
.csp-body { padding: 70px 0 60px; }
.csp-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.csp-body__main { min-width: 0; }
.csp-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }

/* Prose typography for Gutenberg content */
.csp-prose {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 44px 46px 48px;
  font: 400 16px/1.7 'Inter', sans-serif;
  color: #2a2f37;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.25);
}
.csp-prose > * + * { margin-top: 1em; }
.csp-prose p { margin: 0; }
.csp-prose__lead {
  font-size: 18px;
  line-height: 1.6;
  color: #111;
  font-weight: 500;
  padding-left: 16px;
  border-left: 3px solid #c8102e;
  background: linear-gradient(90deg, rgba(200,16,46,0.05) 0%, rgba(200,16,46,0) 100%);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
}
.csp-prose h2, .csp-prose h3, .csp-prose h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin-top: 1.8em;
  line-height: 1.15;
}
.csp-prose h2 { font-size: 30px; }
.csp-prose h3 { font-size: 24px; }
.csp-prose h4 { font-size: 20px; }
.csp-prose h2 + *, .csp-prose h3 + *, .csp-prose h4 + * { margin-top: 0.8em; }
.csp-prose strong { color: #111; font-weight: 600; }
.csp-prose em { color: #1f2933; }
.csp-prose a {
  color: #c8102e;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 160ms ease;
}
.csp-prose a:hover { opacity: 0.75; }
.csp-prose ul, .csp-prose ol { padding-left: 22px; margin: 1em 0; }
.csp-prose li + li { margin-top: 6px; }
.csp-prose blockquote {
  position: relative;
  margin: 1.6em 0;
  padding: 22px 24px 22px 56px;
  background: #f5f6f8;
  border-left: 4px solid #c8102e;
  border-radius: 0 8px 8px 0;
  font-size: 18px;
  line-height: 1.55;
  color: #1a1d22;
}
.csp-prose blockquote::before {
  content: "“";
  position: absolute;
  top: 8px; left: 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: #c8102e;
  line-height: 1;
}
.csp-prose blockquote h5 {
  margin: 0;
  font: 500 17px/1.55 'Inter', sans-serif;
  color: inherit;
}
.csp-prose figure { margin: 1.6em 0; }
.csp-prose .wp-block-image img,
.csp-prose figure img,
.csp-prose img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.csp-prose .wp-block-spacer { margin: 0; }
.csp-prose hr {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 2em 0;
}

/* Sidebar cards */
.csp-side__card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 26px 24px 28px;
  box-shadow: 0 12px 30px -22px rgba(0,0,0,0.25);
}
.csp-side__eyebrow {
  display: inline-block;
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 12px;
}
.csp-side__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 12px;
}
.csp-side__text {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: 0 0 18px;
}

/* Share icons */
.csp-share {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.csp-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #f4f6f8;
  color: #1a1d22;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.csp-share a:hover {
  background: #c8102e;
  color: #fff;
  transform: translateY(-2px);
}

/* CTA card on sidebar */
.csp-side__cta {
  background: linear-gradient(140deg, #1a1d22 0%, #2a2f37 100%);
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.csp-side__cta::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at top right, rgba(200,16,46,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.csp-side__cta .csp-side__title { color: #fff; }
.csp-side__cta .csp-side__text { color: rgba(255,255,255,0.7); }
.csp-side__cta .csp-side__eyebrow { color: #f5b50a; }
.csp-side__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: #c8102e;
  padding: 12px 18px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 22px -10px rgba(200,16,46,0.6);
}
.csp-side__btn:hover { background: #b00d27; box-shadow: 0 14px 28px -10px rgba(200,16,46,0.75); }
.csp-side__btn:active { transform: translateY(1px); }
.csp-side__btn svg { transition: transform 200ms ease; }
.csp-side__btn:hover svg { transform: translateX(3px); }

/* Related on single */
.csp-related { padding: 30px 0 60px; }
.csp-related__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.csp-related__eyebrow {
  display: block;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 8px;
}
.csp-related__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}
.csp-related__all {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8102e;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 160ms ease, gap 160ms ease;
}
.csp-related__all:hover { border-color: #c8102e; gap: 10px; }

.csp-banner { padding-top: 40px; }

/* ============================================================
   14-Day Money Back page (.g14)
   ============================================================ */
.g14 { background: #f7f7f8; padding-bottom: 80px; }

/* Hero */
.g14-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 0 80px;
}
.g14-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.55) 0%, rgba(15,17,21,0.92) 100%);
}
.g14-hero__inner { position: relative; z-index: 1; max-width: 1080px; }
.g14-hero__crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font: 500 12px/1 'Inter', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}
.g14-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.g14-hero__crumbs a:hover { color: #f5b50a; }
.g14-hero__crumbs span[aria-hidden] { opacity: 0.45; }
.g14-hero__eyebrow {
  display: inline-block;
  font: 700 11px/1 'Inter', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #1a1d22;
  background: linear-gradient(180deg, #f5b50a 0%, #d29a04 100%);
  padding: 9px 14px 8px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px -8px rgba(245,181,10,0.7);
}
.g14-hero__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0 0 16px;
  max-width: 880px;
}
.g14-hero__stripes { display: inline-block; transform: translateY(8px); flex-shrink: 0; }
.g14-hero__provider {
  font: 500 14px/1.4 'Inter', sans-serif;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.06em;
  margin: 0 0 36px;
}
.g14-hero__stats {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.g14-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding-left: 0;
}
.g14-hero__stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(46px, 5.4vw, 64px);
  line-height: 0.95;
  color: #f5b50a;
  letter-spacing: 0.01em;
}
.g14-hero__stat-key {
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}
.g14-hero__stat-text {
  font: 400 14px/1.5 'Inter', sans-serif;
  color: rgba(255,255,255,0.7);
  max-width: 280px;
}

/* Lead */
.g14-lead { padding: 56px 0 0; }
.g14-lead__card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 36px 40px 38px;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.25);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}
.g14-lead__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #c8102e 0%, #f5b50a 100%);
}
.g14-lead__eyebrow {
  display: inline-block;
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 12px;
}
.g14-lead__body {
  font: 400 17px/1.65 'Inter', sans-serif;
  color: #2a2f37;
}
.g14-lead__body p { margin: 0 0 12px; }
.g14-lead__body p:last-child { margin-bottom: 0; }
.g14-lead__body strong { color: #111; font-weight: 600; }

/* Cards grid */
.g14-blocks { padding: 56px 0 30px; }
.g14-blocks__grid {
  display: grid;
  gap: 22px;
}
@media (min-width: 960px) {
  .g14-blocks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .g14-card--wide { grid-column: 1 / -1; }
}

.g14-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px 32px 32px;
  box-shadow: 0 14px 32px -24px rgba(0,0,0,0.25);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
}
.g14-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8102e 0%, #f5b50a 100%);
  opacity: 0.95;
}
.g14-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,0.28);
  border-color: rgba(200,16,46,0.4);
}
.g14-card__head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.g14-card__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #c8102e;
  background: rgba(200,16,46,0.08);
  padding: 7px 10px 5px;
  border-radius: 4px;
  line-height: 1;
}
.g14-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(145deg, rgba(245,181,10,0.25), rgba(245,181,10,0.08));
  border-radius: 10px;
  border: 1px solid rgba(245,181,10,0.4);
}
.g14-card__title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}
.g14-card__body {
  font: 400 15px/1.65 'Inter', sans-serif;
  color: #4b5563;
}
.g14-card__body p { margin: 0 0 12px; }
.g14-card__body p:last-child { margin-bottom: 0; }
.g14-card__body strong { color: #111; font-weight: 600; }
.g14-card__body a { color: #c8102e; text-decoration: none; border-bottom: 1px solid currentColor; }
.g14-card__body a:hover { opacity: 0.8; }

/* Custom lists from ACF content (.guarantee-list / .guarantee-steps) */
.g14-card__body .guarantee-list,
.g14-card__body .guarantee-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.g14-card__body .guarantee-list li,
.g14-card__body .guarantee-steps li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: #2a2f37;
  line-height: 1.6;
}
.g14-card__body .guarantee-list li:last-child,
.g14-card__body .guarantee-steps li:last-child { margin-bottom: 0; }
.g14-card__body .guarantee-list li::before {
  content: "";
  position: absolute;
  left: 10px; top: 0.6em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c8102e;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.18);
}
.g14-card__body .guarantee-steps { counter-reset: g14step; }
.g14-card__body .guarantee-steps li { padding-left: 44px; counter-increment: g14step; }
.g14-card__body .guarantee-steps li::before {
  content: counter(g14step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  font: 700 13px/30px 'Inter', sans-serif;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #c8102e 0%, #9a0c23 100%);
  border-radius: 6px;
  box-shadow: 0 6px 14px -6px rgba(200,16,46,0.6);
}
.g14-card__body .guarantee-page__emphasis {
  display: block;
  margin: 16px 0 0;
  padding: 14px 18px;
  font-weight: 600;
  color: #111;
  background: linear-gradient(90deg, rgba(245,181,10,0.18) 0%, rgba(245,181,10,0) 100%);
  border-left: 3px solid #f5b50a;
  border-radius: 0 6px 6px 0;
}

/* Dark CTA card */
.g14-cta { padding: 50px 0 40px; }
.g14-cta__inner {
  position: relative;
  background: linear-gradient(140deg, #1a1d22 0%, #2a2f37 100%);
  color: #fff;
  border-radius: 14px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.4);
}
.g14-cta__inner::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,16,46,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.g14-cta__copy { position: relative; z-index: 1; }
.g14-cta__eyebrow {
  display: inline-block;
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 12px;
}
.g14-cta__question {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.g14-cta__answer {
  font: 400 15px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.78);
  margin: 0;
}
.g14-cta__brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.g14-cta__brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.04em;
  color: #fff;
}
.g14-cta__brand-tag {
  font: 500 14px/1.5 'Inter', sans-serif;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.g14-cta__btn {
  align-self: start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: #c8102e;
  padding: 13px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 24px -10px rgba(200,16,46,0.65);
}
.g14-cta__btn:hover { background: #b00d27; box-shadow: 0 14px 30px -10px rgba(200,16,46,0.8); }
.g14-cta__btn:active { transform: translateY(1px); }
.g14-cta__btn svg { transition: transform 200ms ease; }
.g14-cta__btn:hover svg { transform: translateX(3px); }

.g14-wp { padding: 0 0 30px; }
.g14-wp__inner { max-width: 980px; margin: 0 auto; }

.g14-banner { padding-top: 30px; }

/* ============================================================
   Service page (.srv)
   ============================================================ */
.srv { background: #f7f7f8; padding-bottom: 80px; }

/* ---- Section heads (shared) ---- */
.srv-section__head { margin-bottom: 32px; }
.srv-section__head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.srv-section__eyebrow {
  display: inline-block;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 10px;
}
.srv-section__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}
.srv-section__sub {
  margin-top: 14px;
  font: 400 16px/1.6 'Inter', sans-serif;
  color: #4b5563;
}
.srv-section__head--on-dark .srv-section__eyebrow { color: #f5b50a; }
.srv-section__head--on-dark .srv-section__title { color: #fff; }
.srv-section__head--on-dark .srv-section__sub { color: rgba(255,255,255,0.72); }

/* ---- Buttons ---- */
.srv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.srv-btn svg { transition: transform 200ms ease; }
.srv-btn:hover svg { transform: translateX(3px); }
.srv-btn--red {
  color: #fff;
  background: #c8102e;
  box-shadow: 0 12px 26px -10px rgba(200,16,46,0.6);
}
.srv-btn--red:hover { background: #b00d27; box-shadow: 0 16px 30px -10px rgba(200,16,46,0.75); }
.srv-btn--red:active { transform: translateY(1px); }
.srv-btn--ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
}
.srv-btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* ---- Hero ---- */
.srv-hero {
  position: relative;
  background-color: #1a1d22;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 0 90px;
}
.srv-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.55) 0%, rgba(15,17,21,0.92) 100%);
}
.srv-hero__inner { position: relative; z-index: 1; max-width: 940px; }
.srv-hero__crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font: 500 12px/1 'Inter', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}
.srv-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.srv-hero__crumbs a:hover { color: #f5b50a; }
.srv-hero__crumbs span[aria-hidden] { opacity: 0.45; }
.srv-hero__eyebrow {
  display: inline-block;
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(245,181,10,0.45);
}
.srv-hero__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.srv-hero__stripes { display: inline-block; transform: translateY(8px); flex-shrink: 0; }
.srv-hero__lead {
  max-width: 720px;
  font: 400 16px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.86);
  margin: 0 0 32px;
}
.srv-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Section paddings ---- */
.srv-reasons { padding: 64px 0; }
.srv-equip   { padding: 56px 0; background: #fff; }
.srv-repairs { padding: 72px 0; background: linear-gradient(180deg, #1a1d22 0%, #2a2f37 100%); color: #fff; position: relative; }
.srv-stats   { padding: 64px 0; }

/* ---- B2 Reasons ---- */
.srv-reasons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.srv-rcard {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px 28px 30px;
  box-shadow: 0 14px 32px -24px rgba(0,0,0,0.25);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.srv-rcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8102e 0%, #f5b50a 100%);
}
.srv-rcard:hover {
  transform: translateY(-3px);
  border-color: rgba(200,16,46,0.45);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,0.3);
}
.srv-rcard__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #c8102e;
  background: rgba(200,16,46,0.08);
  padding: 6px 10px 4px;
  border-radius: 4px;
  line-height: 1;
}
.srv-rcard__icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(245,181,10,0.22), rgba(245,181,10,0.06));
  border-radius: 12px;
  border: 1px solid rgba(245,181,10,0.35);
  margin-bottom: 16px;
}
.srv-rcard__icon img { width: 30px; height: 30px; display: block; }
.srv-rcard__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 8px;
}
.srv-rcard__text {
  font: 400 15px/1.6 'Inter', sans-serif;
  color: #4b5563;
  margin: 0;
}

/* ---- B3 Equipment types ---- */
.srv-equip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.srv-ecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f7f7f8;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 16px 20px;
  text-decoration: none;
  color: #111;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.srv-ecard:hover {
  transform: translateY(-3px);
  border-color: #c8102e;
  background: #fff;
  box-shadow: 0 18px 32px -22px rgba(0,0,0,0.25);
}
.srv-ecard__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.srv-ecard__media img { max-width: 88%; max-height: 88%; object-fit: contain; transition: transform 320ms ease; }
.srv-ecard:hover .srv-ecard__media img { transform: scale(1.05); }
.srv-ecard__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.srv-ecard--more { background: linear-gradient(140deg, #1a1d22 0%, #2a2f37 100%); border-color: transparent; color: #fff; }
.srv-ecard--more:hover { background: linear-gradient(140deg, #c8102e 0%, #9a0c23 100%); }
.srv-ecard__more-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: #fff;
}
.srv-equip__footer {
  text-align: center;
  margin: 28px auto 0;
  max-width: 720px;
  font: 500 15px/1.6 'Inter', sans-serif;
  color: #4b5563;
  padding: 16px 22px;
  background: linear-gradient(90deg, rgba(245,181,10,0.12), rgba(245,181,10,0));
  border-left: 3px solid #f5b50a;
  border-radius: 0 6px 6px 0;
}

/* ---- B4 Repairs (dark) ---- */
.srv-repairs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.srv-tcard {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 28px 26px 30px;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}
.srv-tcard:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,181,10,0.6);
}
.srv-tcard__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #f5b50a;
  line-height: 1;
}
.srv-tcard__icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,181,10,0.18);
  border-radius: 12px;
  margin-bottom: 14px;
}
.srv-tcard__icon img { width: 28px; height: 28px; display: block; filter: brightness(0) invert(1); opacity: 0.95; }
.srv-tcard__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}
.srv-tcard__text {
  font: 400 15px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.srv-repairs__cta { margin-top: 32px; }

/* ---- B5 Stats + video ---- */
.srv-stats__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}
.srv-stats__sub { margin-top: 0; }
.srv-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.srv-stat { display: flex; flex-direction: column; gap: 6px; }
.srv-stat__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #c8102e;
}
.srv-stat__text {
  font: 400 14px/1.5 'Inter', sans-serif;
  color: #4b5563;
  max-width: 240px;
}
.srv-stats__bottom {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: center;
}
.srv-stats__footer {
  font: 400 15px/1.7 'Inter', sans-serif;
  color: #4b5563;
  margin: 0;
}
.srv-video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a1d22 center/cover no-repeat;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 22px 40px -24px rgba(0,0,0,0.5);
}
.srv-video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.srv-video:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -20px rgba(0,0,0,0.5); }
.srv-video__play {
  position: relative;
  z-index: 1;
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c8102e;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 30px -10px rgba(200,16,46,0.7);
  transition: transform 200ms ease;
}
.srv-video:hover .srv-video__play { transform: scale(1.08); }
.srv-video__label {
  position: absolute;
  bottom: 18px; left: 22px;
  z-index: 1;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.srv-banner { padding-top: 30px; }

/* ============================================================
   To Business page (.tob) — расширения над .srv-*
   ============================================================ */
.tob { background: #f7f7f8; padding-bottom: 80px; }
.tob-models { padding: 64px 0 56px; background: #fff; }
.tob-models__grid { margin-top: 8px; }
.tob-models__footer {
  margin-top: 40px;
  padding: 26px 30px;
  background: linear-gradient(140deg, #1a1d22 0%, #2a2f37 100%);
  color: #fff;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.tob-models__footer::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,181,10,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.tob-models__footer-text {
  position: relative; z-index: 1;
  margin: 0;
  font: 400 15px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.86);
  max-width: 640px;
}

.tob-adv { padding: 64px 0; }
.tob-track { padding: 64px 0 70px; background: #fff; }
.tob-track__bottom { align-items: start; }
.tob-track__notes {
  font: 400 15px/1.7 'Inter', sans-serif;
  color: #4b5563;
}
.tob-track__notes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tob-track__notes li {
  position: relative;
  padding-left: 28px;
}
.tob-track__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(200,16,46,0.12);
}
.tob-track__notes li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.55em + 4px);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #c8102e;
  box-shadow: 0 0 0 3px rgba(200,16,46,0.18);
}

.tob-banner { padding-top: 30px; }

@media (max-width: 900px) {
  .tob-models__footer { grid-template-columns: 1fr; padding: 24px; }
}

/* ============================================================
   To Partners page (.top) — расширения над .srv-*
   ============================================================ */
.top { background: #f7f7f8; padding-bottom: 80px; }
.top-hero__lead p { margin: 0 0 10px; }
.top-hero__lead p:last-child { margin-bottom: 0; }

.top-perks { padding: 64px 0; }
.top-types { padding: 64px 0 56px; background: #fff; }

/* Split section: image + bullet list */
.top-split {
  padding: 72px 0;
  background: linear-gradient(180deg, #f7f7f8 0%, #fff 100%);
}
.top-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.top-split__media {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1d22;
  aspect-ratio: 5 / 4;
  box-shadow: 0 28px 50px -28px rgba(0,0,0,0.45);
}
.top-split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.top-split__media-badge {
  position: absolute;
  top: 22px; right: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 124px; height: 124px;
  background: linear-gradient(140deg, #c8102e 0%, #9a0c23 100%);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  padding: 8px;
  box-shadow: 0 18px 30px -10px rgba(200,16,46,0.6);
  border: 3px solid rgba(255,255,255,0.18);
}
.top-split__badge-top {
  font: 700 10px/1 'Inter', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.top-split__badge-mid {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.04em;
}
.top-split__badge-mid span {
  font-size: 22px;
  margin-left: 2px;
  opacity: 0.95;
}
.top-split__badge-bot {
  font: 600 9px/1.1 'Inter', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  max-width: 88px;
  opacity: 0.9;
}
.top-split__copy { display: flex; flex-direction: column; gap: 14px; }
.top-split__copy .srv-section__title { font-size: clamp(26px, 3.2vw, 38px); }
.top-split__text {
  font: 400 16px/1.7 'Inter', sans-serif;
  color: #4b5563;
  margin: 0;
}
.top-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.top-split__list li {
  position: relative;
  padding-left: 28px;
  font: 500 15px/1.5 'Inter', sans-serif;
  color: #1a1d22;
}
.top-split__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(200,16,46,0.1);
}
.top-split__list li::after {
  content: "";
  position: absolute;
  left: 5px; top: calc(0.45em + 6px);
  width: 8px; height: 4px;
  border-left: 2px solid #c8102e;
  border-bottom: 2px solid #c8102e;
  transform: rotate(-45deg);
  transform-origin: left;
}
.top-split__copy .srv-btn { align-self: start; margin-top: 8px; }

/* 6 reasons — dark grid without icons */
.top-reasons {
  padding: 72px 0;
  background: linear-gradient(180deg, #1a1d22 0%, #2a2f37 100%);
  color: #fff;
}
.top-reasons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.top-rcard {
  position: relative;
  padding: 28px 28px 30px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
  overflow: hidden;
}
.top-rcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #c8102e 0%, #f5b50a 100%);
  opacity: 0.85;
}
.top-rcard:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,181,10,0.45);
  transform: translateY(-3px);
}
.top-rcard__num {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #f5b50a;
  margin-bottom: 14px;
}
.top-rcard__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}
.top-rcard__text {
  font: 400 15px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

.top-banner { padding-top: 30px; }

@media (max-width: 980px) {
  .top-split__inner { grid-template-columns: 1fr; gap: 32px; }
  .top-split__media { aspect-ratio: 16 / 10; max-width: 640px; }
  .top-split__media-badge { width: 100px; height: 100px; top: 14px; right: 14px; }
  .top-split__badge-mid { font-size: 36px; }
}
@media (max-width: 640px) {
  .top-split__list { grid-template-columns: 1fr; }
  .top-reasons { padding: 56px 0; }
}

/* ============================================================
   Legal pages (.legal) — Privacy Policy / Terms of Service
   ============================================================ */
.legal { background: #f7f7f8; padding-bottom: 80px; }

.legal-hero {
  position: relative;
  background: linear-gradient(140deg, #1a1d22 0%, #2a2f37 70%, #1a1d22 100%);
  color: #fff;
  padding: 110px 0 80px;
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(200,16,46,0.32) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,181,10,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero__overlay { display: none; }
.legal-hero__inner { position: relative; z-index: 1; max-width: 980px; }
.legal-hero__crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font: 500 12px/1 'Inter', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}
.legal-hero__crumbs a { color: inherit; text-decoration: none; transition: color 160ms ease; }
.legal-hero__crumbs a:hover { color: #f5b50a; }
.legal-hero__crumbs span[aria-hidden] { opacity: 0.45; }
.legal-hero__eyebrow {
  display: inline-block;
  font: 700 11px/1 'Inter', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #1a1d22;
  background: linear-gradient(180deg, #f5b50a 0%, #d29a04 100%);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px -8px rgba(245,181,10,0.7);
}
.legal-hero__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin: 0 0 30px;
}
.legal-hero__stripes { display: inline-block; transform: translateY(8px); flex-shrink: 0; }
.legal-hero__meta {
  display: flex; flex-wrap: wrap; gap: 28px 44px;
  list-style: none; padding: 22px 0 0; margin: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.legal-hero__meta li { display: flex; flex-direction: column; gap: 4px; }
.legal-hero__meta-key {
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.legal-hero__meta-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
}

/* Body */
.legal-body { padding: 56px 0 0; }
.legal-body__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.legal-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* TOC */
.legal-toc {
  position: sticky;
  top: 110px;
}
.legal-toc__inner {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 22px 24px;
  box-shadow: 0 12px 30px -22px rgba(0,0,0,0.25);
}
.legal-toc__eyebrow {
  display: inline-block;
  font: 700 11px/1 'Inter', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  width: 100%;
}
.legal-toc__list {
  counter-reset: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.legal-toc__list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 7px 6px 7px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #2a2f37;
  font: 500 13px/1.4 'Inter', sans-serif;
  transition: background 160ms ease, color 160ms ease;
}
.legal-toc__list a:hover {
  background: rgba(200,16,46,0.06);
  color: #c8102e;
}
.legal-toc__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #c8102e;
}
.legal-toc__ttl {
  font-weight: 500;
}

/* Prose */
.legal-prose {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 40px 44px 44px;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.25);
  font: 400 16px/1.7 'Inter', sans-serif;
  color: #2a2f37;
}
.legal-prose__intro {
  font-size: 17px;
  color: #1a1d22;
  background: linear-gradient(90deg, rgba(200,16,46,0.05), rgba(200,16,46,0));
  padding: 18px 20px 18px 22px;
  border-left: 3px solid #c8102e;
  border-radius: 0 6px 6px 0;
  margin-bottom: 28px;
}
.legal-prose__intro p { margin: 0 0 12px; }
.legal-prose__intro p:last-child { margin-bottom: 0; }

.legal-section { margin-top: 32px; }
.legal-section:first-of-type { margin-top: 0; }
.legal-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}
.legal-section__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #c8102e;
  background: rgba(200,16,46,0.08);
  padding: 6px 10px 4px;
  border-radius: 4px;
  line-height: 1;
}
.legal-section__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}
.legal-section__body { font-size: 15.5px; line-height: 1.7; color: #4b5563; }
.legal-section__body p { margin: 0 0 12px; }
.legal-section__body p:last-child { margin-bottom: 0; }
.legal-section__body strong { color: #111; font-weight: 600; }
.legal-section__body a {
  color: #c8102e;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  word-break: break-word;
}
.legal-section__body a:hover { opacity: 0.75; }
.legal-section__body ul, .legal-section__body ol { padding-left: 22px; margin: 0 0 12px; }
.legal-section__body li { margin-bottom: 6px; }

/* Help card */
.legal-help {
  position: relative;
  background: linear-gradient(140deg, #1a1d22 0%, #2a2f37 100%);
  color: #fff;
  border-radius: 10px;
  padding: 30px 32px 32px;
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.35);
}
.legal-help::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,16,46,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.legal-help__eyebrow {
  display: inline-block;
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #f5b50a;
  margin-bottom: 12px;
}
.legal-help__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.legal-help__text {
  font: 400 15px/1.6 'Inter', sans-serif;
  color: rgba(255,255,255,0.78);
  margin: 0 0 18px;
}
.legal-help__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: #c8102e;
  padding: 13px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 24px -10px rgba(200,16,46,0.65);
}
.legal-help__btn:hover { background: #b00d27; box-shadow: 0 14px 30px -10px rgba(200,16,46,0.8); }
.legal-help__btn:active { transform: translateY(1px); }
.legal-help__btn svg { transition: transform 200ms ease; }
.legal-help__btn:hover svg { transform: translateX(3px); }

@media (max-width: 980px) {
  .legal-body__inner { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
  .legal-toc__list { max-height: 300px; }
}
@media (max-width: 640px) {
  .legal-hero { padding: 70px 0 56px; }
  .legal-hero__title { font-size: 30px; gap: 10px; }
  .legal-hero__meta { gap: 18px 28px; }
  .legal-prose { padding: 26px 22px; }
  .legal-section__title { font-size: 20px; }
}

@media (max-width: 980px) {
  .srv-stats__head { grid-template-columns: 1fr; gap: 18px; }
  .srv-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .srv-stats__bottom { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .srv-hero { padding: 70px 0 56px; }
  .srv-hero__title { font-size: 30px; gap: 10px; }
  .srv-reasons, .srv-stats { padding: 48px 0; }
  .srv-equip { padding: 44px 0; }
  .srv-repairs { padding: 56px 0; }
  .srv-rcard, .srv-tcard { padding: 22px 20px 24px; }
  .srv-stats__grid { grid-template-columns: 1fr; gap: 18px; }
  .srv-equip__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .srv-ecard { padding: 16px 12px; }
}

@media (max-width: 900px) {
  .g14-hero__stats { grid-template-columns: 1fr; gap: 22px; }
  .g14-cta__inner { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .g14-cta__brand { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px; }
}
@media (max-width: 640px) {
  .g14-hero { padding: 70px 0 56px; }
  .g14-hero__title { font-size: 32px; gap: 10px; }
  .g14-lead__card { padding: 26px 22px 26px 28px; }
  .g14-lead__card::before { width: 4px; }
  .g14-card { padding: 24px 22px 26px; }
  .g14-card__head { grid-template-columns: auto auto; row-gap: 8px; }
  .g14-card__title { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .csp-body__inner { grid-template-columns: 1fr; gap: 32px; }
  .csp-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .csp-side__card { flex: 1 1 280px; }
}
@media (max-width: 640px) {
  .csp-hero { padding: 70px 0 56px; }
  .csp-hero__title { font-size: 30px; gap: 10px; }
  .csp-hero__meta { gap: 22px; }
  .csp-prose { padding: 26px 22px; }
  .csp-prose h2 { font-size: 26px; }
  .csp-prose blockquote { padding: 18px 18px 18px 46px; font-size: 16px; }
}
@media (max-width: 640px) {
  .faqpg-hero { padding: 64px 0 50px; }
  .faqpg-hero__title { font-size: 36px; gap: 10px; }
}
@media (max-width: 640px) {
  .ab-hero { padding: 64px 0 50px; }
  .ab-hero__title { font-size: 38px; gap: 10px; }
  .ab-quote__person { flex-direction: column; gap: 10px; align-items: flex-start; }
  .ab-quote__person-text { text-align: center; align-items: center; }
}

/* Body */
.invcard__body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.invcard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.invcard__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #1a1a1a;
  margin: 0;
}
.invcard__title span {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 4px;
}

.invcard__price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--color-red);
  line-height: 1.1;
  flex-shrink: 0;
  white-space: nowrap;
}

.invcard__specs {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.invcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #ebebee;
  min-width: 0;
}
.invcard__stock {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invcard__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.01em;
  transition: color 220ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.invcard__phone:hover { color: var(--color-red); }

.invcard__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(200, 16, 46, 0.1);
  border-radius: 50%;
  color: var(--color-red);
  transition: background 220ms ease, transform 220ms ease;
  flex-shrink: 0;
}
.invcard__phone:hover .invcard__phone-icon {
  background: var(--color-red);
  color: #fff;
  transform: scale(1.08);
}

/* Inventory responsive */
@media (max-width: 1280px) {
  .inventory__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .inventory { padding: 64px 0 80px; }
  .inventory__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .inventory__header { margin-bottom: 30px; }
}
/* Vertical stacked footer when cell is too narrow to fit stock + phone in one row */
@media (max-width: 1100px) and (min-width: 981px),
       (max-width: 700px) and (min-width: 541px),
       (max-width: 380px) {
  .invcard__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 540px) {
  .inventory__grid { grid-template-columns: 1fr; }
  .invcard__brand img { height: 30px; }
  .invcard__loc { font-size: 11px; }
  .invcard__head { gap: 10px; }
  .invcard__title { font-size: 20px; }
  .invcard__price { font-size: 20px; }
}

/* ============================================================
   Partners / Brands strip
   ============================================================ */
.partners {
  background: #fff;
  position: relative;
}

/* Dark band — replacing the navy of the reference with our brand red gradient */
.partners__band {
  background: linear-gradient(90deg, #0f0f15 0%, #1a0d10 55%, #2a0d12 100%);
  position: relative;
  overflow: hidden;
}
.partners__band::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-red);
  box-shadow: 0 0 16px rgba(200, 16, 46, 0.6);
}
.partners__band::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 180px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 16, 46, 0.18) 60%, rgba(200, 16, 46, 0.35) 100%);
  pointer-events: none;
}

.partners__band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.partners__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.partners__eyebrow-mark {
  display: inline-block;
  width: 18px;
  height: 4px;
  background: var(--color-red);
  position: relative;
}
.partners__eyebrow-mark::before,
.partners__eyebrow-mark::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}
.partners__eyebrow-mark::before { top: -4px; }
.partners__eyebrow-mark::after  { bottom: -4px; }

.partners__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.partners__meta-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

/* White marquee area */
.partners__body {
  background: #fff;
  position: relative;
  padding: 14px 0;
  overflow: hidden;
}
/* Side fade-out edges for a polished look */
.partners__body::before,
.partners__body::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.partners__body::before {
  left: 0;
  background: linear-gradient(90deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}
.partners__body::after {
  right: 0;
  background: linear-gradient(270deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}

.partners__row {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}
.partners__row + .partners__row {
  border-top: 1px solid #ececec;
}

.partners__track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  will-change: transform;
  animation: partnersMarqueeLTR 40s linear infinite;
}
.partners__row--rtl .partners__track {
  animation-name: partnersMarqueeRTL;
  animation-duration: 46s;
}

/* Pause on hover or focus inside */
.partners__row:hover .partners__track,
.partners__row:focus-within .partners__track {
  animation-play-state: paused;
}

.partners__cell {
  flex: 0 0 auto;
  width: 180px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  position: relative;
  cursor: default;
  transition: transform 280ms ease;
}
.partners__cell + .partners__cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 56%;
  width: 1px;
  background: #ececec;
  transform: translateY(-50%);
}
.partners__cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05) contrast(0.95);
  opacity: 0.65;
  transition: filter 320ms ease, opacity 320ms ease, transform 320ms ease;
}
.partners__cell:hover {
  transform: scale(1.05);
}
.partners__cell:hover img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
}

@keyframes partnersMarqueeLTR {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes partnersMarqueeRTL {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none !important; }
}

/* Responsive */
@media (max-width: 900px) {
  .partners__body::before,
  .partners__body::after { width: 60px; }
  .partners__cell { width: 150px; height: 84px; padding: 0 14px; }
}
@media (max-width: 800px) {
  .partners__band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
  }
  .partners__eyebrow { font-size: 16px; letter-spacing: 0.2em; }
  .partners__meta-num { font-size: 24px; padding-right: 10px; }
  .partners__meta { font-size: 11px; }
}
@media (max-width: 520px) {
  .partners__cell { width: 130px; height: 72px; padding: 0 10px; }
  .partners__eyebrow { font-size: 14px; }
  .partners__track { animation-duration: 32s; }
  .partners__row--rtl .partners__track { animation-duration: 38s; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0a0a0f;
  color: #fff;
  position: relative;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 500px;
}

/* Left: cinematic tractor image with vintage stamp overlay */
.footer__media {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.footer__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.05);
  transition: transform 1.4s ease, filter 700ms ease;
}
.footer:hover .footer__image {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
}
.footer__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0) 55%, rgba(10,10,15,0.7) 90%, rgba(10,10,15,1) 100%),
    linear-gradient(180deg, rgba(10,10,15,0.15) 0%, rgba(10,10,15,0.55) 100%);
}

/* "Vintage stamp" overlay — replaces the boring corner */
.footer__media-stamp {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  padding: 14px 22px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  transform: rotate(-3deg);
}
.footer__media-stamp::before,
.footer__media-stamp::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}
.footer__media-stamp::before { top: 6px; }
.footer__media-stamp::after  { bottom: 6px; }
.footer__media-stamp-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1;
}
.footer__media-stamp-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
  max-width: 200px;
}

/* Right: dark panel with logo, nav, contact */
.footer__panel {
  padding: 64px 56px 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}
.footer__panel::before {
  content: '';
  position: absolute;
  top: 64px;
  bottom: 56px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(200, 16, 46, 0.5) 50%, transparent 100%);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer .logo--footer {
  padding: 0;
  height: 56px;
  display: inline-flex;
  filter: drop-shadow(0 6px 18px rgba(200, 16, 46, 0.25));
}
.footer .logo--footer img {
  height: 100%;
  width: auto;
}
.footer__tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  margin: 0;
  max-width: 420px;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.footer__col-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-red);
  text-transform: uppercase;
  margin: 0 0 16px;
  position: relative;
  padding-left: 22px;
}
.footer__col-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--color-red);
  transform: translateY(-50%);
}

.footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  transition: color 220ms ease, transform 220ms ease;
}
.footer__nav a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--color-red);
  transition: width 250ms ease, margin-right 250ms ease;
  margin-right: 0;
}
.footer__nav a:hover {
  color: #fff;
}
.footer__nav a:hover::before {
  width: 16px;
  margin-right: 10px;
}

/* Contact block */
.footer__contact {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 18px;
}
.footer__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: footerPulse 2s infinite;
}
.footer__status.is-closed {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
  color: #f87171;
}
.footer__status.is-closed .footer__status-dot {
  background: #ef4444;
  animation: none;
}
@keyframes footerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.footer__contact-list a {
  color: #fff;
  transition: color 220ms ease;
}
.footer__contact-list a:hover { color: var(--color-red); }

.footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--color-red);
  flex-shrink: 0;
  transition: background 220ms ease, border-color 220ms ease;
}
.footer__contact-list li:hover .footer__contact-icon {
  background: rgba(200, 16, 46, 0.12);
  border-color: rgba(200, 16, 46, 0.3);
}

/* Bottom bar */
.footer__bottom {
  background: #050507;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer__legal a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 220ms ease;
  position: relative;
}
.footer__legal a:hover { color: #fff; }
.footer__legal li + li a::before {
  content: '·';
  position: absolute;
  left: -14px;
  color: rgba(255, 255, 255, 0.25);
}

/* Footer responsive */
@media (max-width: 1100px) {
  .footer__panel { padding: 56px 32px 40px; }
}
@media (max-width: 900px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__media { min-height: 320px; }
  .footer__media-overlay {
    background: linear-gradient(180deg, rgba(10,10,15,0.1) 0%, rgba(10,10,15,0.85) 100%);
  }
  .footer__media-stamp { left: 24px; bottom: 24px; }
  .footer__panel { padding: 48px 24px 40px; }
  .footer__panel::before { display: none; }
}
@media (max-width: 600px) {
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .footer .logo--footer { height: 48px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer__legal { gap: 8px 18px; }
  .footer__media-stamp-num { font-size: 24px; }
  .footer__media-stamp-text { font-size: 9px; }
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet & below: simplify layout */
@media (max-width: 1100px) {
  .nav-link { padding: 22px 10px; font-size: 12.5px; letter-spacing: 0.05em; }
  form.search input { width: 128px; }
  .topbar { gap: 8px 10px; }
  .lineup { --lineup-visible: 5; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  :root {
    --header-h: 88px;
    --header-logo-h: 76px;
  }
  .nav-link {
    height: var(--header-h);
    padding: 0 10px;
    font-size: 12.5px;
    letter-spacing: 0.05em;
  }
  .logo {
    min-width: 150px;
  }
  .logo img { max-width: min(200px, 20vw); }
}
@media (min-width: 901px) and (max-width: 1280px) {
  .nav-link {
    padding: 0 12px;
    font-size: 13px;
  }
  .logo img { max-width: min(220px, 22vw); }
  form.search input { width: 150px; }
}

@media (max-width: 900px) {
  .lineup { --lineup-visible: 4; }
}

@media (max-width: 700px) {
  .lineup { --lineup-visible: 3; }
  .lineup__header { padding: 40px 16px 20px; }
  .lineup__track { padding: 0 16px; }
  .lineup__track {
    grid-auto-columns: calc((100vw - 32px - (var(--lineup-visible) - 1) * var(--lineup-gap)) / var(--lineup-visible));
  }
}

@media (max-width: 480px) {
  .lineup { --lineup-visible: 2; }
  .lineup__label { font-size: 12px; letter-spacing: 0.1em; padding: 12px 6px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  /* Mobile topbar: [contact | logo | hamburger] — logo dead-centered, no overlap */
  .topbar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "contact logo hamburger";
    gap: 8px;
  }

  .hamburger {
    display: inline-flex;
    grid-area: hamburger;
  }

  .primary-nav {
    /* drawer — slides in from the left */
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 300ms ease;
    padding: 12px 0 24px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .primary-nav.is-open { transform: translateX(0); }

  /* Reset the desktop grid-area placement inside the drawer */
  .primary-nav__list--left,
  .primary-nav__list--right {
    display: block;
    grid-area: auto;
    justify-self: stretch;
  }
  .has-menu { display: block; }
  .primary-nav__list .has-menu + .has-menu {
    border-left: 0;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 14px;
    border-bottom: 1px solid var(--color-line);
  }
  .nav-link:hover,
  .has-menu.is-open .nav-link {
    background: #fafafa;
    color: var(--color-red);
  }

  .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    background: #f7f7f7;
    border-radius: 0;
  }
  .has-menu.is-open .submenu {
    max-height: 600px;
    transform: none;
  }
  .submenu li a { padding: 12px 36px; }

  form.search {
    display: none;
    grid-area: auto;
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--color-line);
    padding: 10px 24px;
    width: 100%;
    height: 48px;
  }
  form.search.is-open { display: inline-flex; }
  form.search input { flex: 1; width: auto; }

  /* На мобильных/планшетах возвращаем классическую посадку без выезда. */
  .logo {
    height: calc(var(--header-h) - 18px);
    transform: none;
    filter: none;
  }
  .logo:hover {
    transform: none;
    filter: none;
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 0 14px;
    gap: 4px;
  }
  .topbar__icon { width: 32px; height: 32px; }
  .topbar__icon svg { width: 18px; height: 18px; }
  .logo { height: 36px; }

  .hero__content { transform: translateY(-60px); }
  .hero__controls { bottom: 50px; right: 16px; }
  .btn { height: 44px; padding: 0 18px; font-size: 12px; }
  .container.hero__actions {
    bottom: 50px;
    gap: 10px;
    padding-right: 130px;
  }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* Very narrow phones — drop the email icon so logo has room */
@media (max-width: 420px) {
  .topbar__contact .topbar__icon:nth-of-type(2) { display: none; }
  .logo { height: 32px; }
}

/* ============================================================
   Inventory page (inventory.html)
   ============================================================ */
.inventory-page { background: #fff; }

/* ===== Hero banner with title and tabs ===== */
.invpg-hero {
  position: relative;
  min-height: 280px;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 90px;
  overflow: hidden;
}
.invpg-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(1.1) contrast(1.05);
  transform: scale(1.02);
  z-index: 0;
}
.invpg-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.65) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.invpg-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.invpg-hero__eyebrow {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 12px;
}
.invpg-hero__title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.invpg-hero__sub {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  text-transform: uppercase;
}
.invpg-hero__sub strong {
  font-weight: 500;
  color: var(--color-red);
  font-size: 1.4em;
  vertical-align: -2px;
  padding: 0 4px;
}

/* ===== Search toolbar (red bar with input + buttons) ===== */
.invpg-toolbar {
  background: linear-gradient(180deg, var(--color-red) 0%, #ad0e28 100%);
  padding: 18px 0;
}
.invpg-toolbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.invpg-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
  white-space: nowrap;
}
.invpg-toolbar__btn:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: #fff;
}
.invpg-toolbar__caret {
  margin-left: 4px;
  transition: transform 220ms ease;
}

/* ===== Sort dropdown ===== */
.invpg-toolbar__sort {
  position: relative;
}
.invpg-toolbar__sort-toggle strong {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  background: rgba(0, 0, 0, 0.18);
  padding: 3px 10px;
  border-radius: 4px;
  margin: 0 2px;
}
.invpg-toolbar__sort-toggle[aria-expanded="true"] .invpg-toolbar__caret {
  transform: rotate(180deg);
}

.invpg-toolbar__sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 240px;
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.06),
    0 12px 32px -8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  z-index: 30;
}
.invpg-toolbar__sort-toggle[aria-expanded="true"] + .invpg-toolbar__sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.invpg-toolbar__sort-menu li { margin: 0; padding: 0; }
.invpg-toolbar__sort-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: 0;
  color: #1a1a1a;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease, color 200ms ease;
}
.invpg-toolbar__sort-menu button svg {
  opacity: 0;
  color: var(--color-red);
  transition: opacity 200ms ease;
}
.invpg-toolbar__sort-menu button:hover {
  background: #fafafa;
  color: var(--color-red);
}
.invpg-toolbar__sort-menu button.is-active {
  background: rgba(200, 16, 46, 0.06);
  color: var(--color-red);
}
.invpg-toolbar__sort-menu button.is-active svg {
  opacity: 1;
}

.invpg-toolbar__search {
  flex: 1 1 320px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  height: 44px;
  min-width: 0;
}
.invpg-toolbar__search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  min-width: 0;
}
.invpg-toolbar__search input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.invpg-toolbar__search-btn {
  background: var(--color-red);
  border: 0;
  color: #fff;
  width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 220ms ease;
}
.invpg-toolbar__search-btn:hover {
  background: #ad0e28;
}

/* ===== Body layout: sidebar + grid ===== */
.invpg-body {
  background: #f6f6f8;
  padding: 36px 0 60px;
  min-height: 50vh;
}
.invpg-body__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: flex-start;
}

/* Mobile filter trigger (hidden on desktop) */
.invpg-mobile-filters {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--color-red);
  color: #fff;
  border: 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}
.invpg-mobile-filters__badge {
  margin-left: auto;
  background: #fff;
  color: var(--color-red);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}

/* ===== Sidebar ===== */
.invpg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  padding-right: 4px;
  /* nice scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}
.invpg-sidebar::-webkit-scrollbar { width: 6px; }
.invpg-sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

.invpg-sidebar__head {
  display: none;
}

/* ===== Light, minimal filter dropdown ===== */
.invpg-filter {
  background: #fff;
  border: 1px solid #e5e5e9;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.invpg-filter.is-open {
  border-color: #cfcfd6;
  box-shadow: 0 4px 14px -8px rgba(0, 0, 0, 0.12);
}
.invpg-filter__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  color: #1a1a1a;
  padding: 11px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 220ms ease;
  text-align: left;
}
.invpg-filter__toggle:hover { color: var(--color-red); }
.invpg-filter__caret {
  color: rgba(0, 0, 0, 0.4);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease;
  flex-shrink: 0;
}
.invpg-filter.is-open .invpg-filter__caret {
  transform: rotate(180deg);
  color: var(--color-red);
}

.invpg-filter__panel {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  transition:
    max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease;
  border-top: 1px solid transparent;
}
.invpg-filter.is-open .invpg-filter__panel {
  /* generous upper bound — longest panel (Brand) has 8 rows ≈ 280px */
  max-height: 520px;
  border-top-color: #ececef;
}
.invpg-filter__panel label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.72);
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}
.invpg-filter__panel label:hover {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.03);
}
.invpg-filter__panel label:has(input:checked) {
  color: #1a1a1a;
  font-weight: 600;
}
.invpg-filter__panel input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #c8c8cf;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 200ms ease, background 200ms ease;
}
.invpg-filter__panel input[type="checkbox"]:checked {
  background: var(--color-red);
  border-color: var(--color-red);
}
.invpg-filter__panel input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.invpg-filter__panel em {
  margin-left: auto;
  font-style: normal;
  color: rgba(0, 0, 0, 0.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Light filter chip (with X) — pill style */
.invpg-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #1a1a1a;
  border-radius: 999px;
  padding: 8px 6px 8px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--color-red);
  gap: 6px;
  transition: background 200ms ease;
}
.invpg-chip:hover {
  background: #fff5f6;
}
.invpg-chip span {
  position: relative;
  padding-left: 14px;
}
.invpg-chip span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-red);
  transform: translateY(-50%);
}
.invpg-chip button {
  background: transparent;
  border: 0;
  color: rgba(0, 0, 0, 0.45);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.invpg-chip button:hover {
  background: var(--color-red);
  color: #fff;
}

/* Wrap multiple chips together with small spacing */
.invpg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 0;
}

/* Reset button — text link style, lighter */
.invpg-sidebar__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  background: transparent;
  border: 0;
  color: rgba(0, 0, 0, 0.55);
  padding: 10px 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 220ms ease;
  justify-content: flex-start;
  align-self: flex-start;
}
.invpg-sidebar__reset:hover {
  color: var(--color-red);
}

/* ===== Grid + result header ===== */
.invpg-grid-wrap {
  min-width: 0;
}
.invpg-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0 4px 18px;
  border-bottom: 1px solid #e1e1e6;
  margin-bottom: 24px;
}
.invpg-result-header p {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
}
.invpg-result-header strong {
  color: #1a1a1a;
  font-weight: 700;
}
.invpg-result-header__sort {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
}
.invpg-result-header__sort em {
  font-style: normal;
  color: var(--color-red);
  font-weight: 700;
}

.invpg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* ===== Pagination ===== */
.invpg-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.invpg-pagination__btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid #d8d8de;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.invpg-pagination__btn:hover:not([disabled]):not(.is-active) {
  background: #f6f6f8;
  border-color: #1a1a1a;
}
.invpg-pagination__btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.invpg-pagination__btn.is-active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  cursor: default;
}
.invpg-pagination__btn--nav {
  padding: 0 16px;
}
.invpg-pagination__ellipsis {
  padding: 0 6px;
  color: rgba(0, 0, 0, 0.4);
  font-family: 'Inter', system-ui, sans-serif;
}

/* ===== Inventory page responsive ===== */
@media (max-width: 1180px) {
  .invpg-body__inner {
    grid-template-columns: 200px 1fr;
    gap: 28px;
  }
  .invpg-grid { gap: 22px; }
}
@media (max-width: 1024px) {
  .invpg-body__inner {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
  .invpg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  /* Sidebar becomes a slide-in drawer */
  .invpg-body__inner { grid-template-columns: 1fr; }
  .invpg-mobile-filters { display: inline-flex; }

  .invpg-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(360px, 86vw);
    background: #fff;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    padding: 20px 18px 20px 20px;
    max-height: 100vh;
    box-shadow: 8px 0 28px -8px rgba(0, 0, 0, 0.25);
  }
  .invpg-sidebar.is-open { transform: translateX(0); }
  .invpg-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e1e1e6;
  }
  .invpg-sidebar__head h2 {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 22px;
    margin: 0;
    letter-spacing: 0.06em;
  }
  .invpg-sidebar__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: #1a1a1a;
    padding: 4px;
  }

  /* Backdrop */
  body.invpg-sidebar-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 199;
  }

  .invpg-toolbar__btn,
  .invpg-toolbar__search-btn { height: 42px; }

  .invpg-hero { min-height: 220px; padding: 60px 24px 70px; }
}
@media (max-width: 600px) {
  .invpg-grid { grid-template-columns: 1fr; }
  .invpg-toolbar__inner { gap: 10px; }
  .invpg-toolbar__btn { flex: 1 1 calc(50% - 5px); justify-content: center; }
  .invpg-toolbar__search { order: -1; flex: 1 1 100%; }
  .invpg-pagination__btn { min-width: 36px; height: 36px; font-size: 13px; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.e404-page {
  background: #f6f6f8;
}

.e404-hero {
  position: relative;
  background: linear-gradient(140deg, #0f1217 0%, #2a2f37 60%, #14171c 100%);
  color: #fff;
  padding: 90px 0 100px;
  overflow: hidden;
  text-align: center;
}
.e404-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.e404-hero__glow--red {
  top: -180px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.45) 0%, transparent 70%);
}
.e404-hero__glow--gold {
  bottom: -180px; left: -140px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245, 181, 10, 0.22) 0%, transparent 70%);
}
.e404-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 80%);
  pointer-events: none;
}
.e404-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 820px;
}
.e404-hero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}
.e404-hero__crumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 180ms ease;
}
.e404-hero__crumbs a:hover { color: #fff; }
.e404-hero__crumbs span[aria-hidden] { color: rgba(255, 255, 255, 0.35); }

.e404-hero__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.5vw, 18px);
  margin: 4px 0 6px;
  line-height: 1;
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(120px, 22vw, 220px);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #cfd2da 60%, #8a8f99 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.45));
}
.e404-hero__num-digit { display: inline-block; }
.e404-hero__num-gear {
  display: inline-flex;
  width: clamp(96px, 18vw, 180px);
  height: clamp(96px, 18vw, 180px);
  align-items: center;
  justify-content: center;
  animation: e404-spin 18s linear infinite;
  filter: drop-shadow(0 14px 26px rgba(200, 16, 46, 0.35));
}
.e404-hero__num-gear svg {
  width: 100%;
  height: 100%;
}
@keyframes e404-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .e404-hero__num-gear { animation: none; }
}

.e404-hero__eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold, #f5b50a);
  margin: 0;
}
.e404-hero__title {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0;
  color: #fff;
}
.e404-hero__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto;
  max-width: 620px;
}

.e404-hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.e404-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.e404-hero__btn--solid {
  background: var(--color-red);
  color: #fff;
  box-shadow: 0 14px 26px rgba(200, 16, 46, 0.35);
}
.e404-hero__btn--solid:hover {
  background: #ad0e28;
  color: #fff;
  transform: translateY(-1px);
}
.e404-hero__btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}
.e404-hero__btn--ghost:hover {
  border-color: var(--color-gold, #f5b50a);
  color: var(--color-gold, #f5b50a);
}

.e404-hero__search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 620px;
  height: 60px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  border-radius: 6px;
  padding: 0 0 0 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.40);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.e404-hero__search:focus-within {
  background: #fff;
  border-color: var(--color-red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.20), 0 18px 48px rgba(0, 0, 0, 0.40);
}
.e404-hero__search-icon { flex: 0 0 auto; color: rgba(20, 23, 28, 0.55); }
.e404-hero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 12px;
  height: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: #14171c;
  outline: none;
}
.e404-hero__search input::placeholder { color: rgba(20, 23, 28, 0.45); }
.e404-hero__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: calc(100% - 8px);
  margin: 4px;
  padding: 0 22px;
  background: var(--color-red);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease;
}
.e404-hero__search-btn:hover { background: #ad0e28; }

.e404-hero__links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.e404-hero__links-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.e404-hero__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.e404-hero__links li { margin: 0; padding: 0; }
.e404-hero__links a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.e404-hero__links a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

/* ---------- Popular categories block under hero ---------- */
.e404-cats {
  padding: 70px 0 90px;
}
.e404-cats__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.e404-cats__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.e404-cats__eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
}
.e404-cats__title {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #14171c;
  margin: 0;
  max-width: 640px;
}
.e404-cats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.e404-cats__grid li { margin: 0; padding: 0; }
.e404-cats__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid #e6e8ed;
  border-radius: 8px;
  color: #14171c;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease, color 200ms ease;
  box-shadow: 0 6px 16px rgba(15, 18, 24, 0.04);
}
.e404-cats__card:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 18, 24, 0.10);
}
.e404-cats__card-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(140deg, rgba(200, 16, 46, 0.08), rgba(245, 181, 10, 0.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  overflow: hidden;
}
.e404-cats__card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.e404-cats__card-name {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.e404-cats__card-arrow {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f6f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(20, 23, 28, 0.55);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.e404-cats__card:hover .e404-cats__card-arrow {
  background: var(--color-red);
  color: #fff;
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .e404-hero { padding: 70px 0 80px; }
  .e404-hero__num { gap: 4px; font-size: clamp(96px, 28vw, 160px); }
  .e404-hero__num-gear { width: 92px; height: 92px; }
  .e404-hero__search { height: 54px; padding-left: 14px; }
  .e404-hero__search input { font-size: 14px; }
  .e404-hero__search-btn span { display: none; }
  .e404-hero__search-btn { padding: 0 14px; }
  .e404-cats { padding: 50px 0 70px; }
}
@media (max-width: 480px) {
  .e404-hero__btn { flex: 1 1 100%; justify-content: center; }
  .e404-cats__grid { grid-template-columns: 1fr; }
}

/* ===== Search hero (Inventory search page) ===== */
.invpg-shero {
  position: relative;
  background: linear-gradient(140deg, #14171c 0%, #2a2f37 70%, #14171c 100%);
  color: #fff;
  padding: 96px 0 72px;
  overflow: hidden;
}
.invpg-shero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px, 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.invpg-shero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.invpg-shero__glow--red {
  top: -160px; right: -140px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.42) 0%, transparent 70%);
}
.invpg-shero__glow--gold {
  bottom: -160px; left: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245, 181, 10, 0.20) 0%, transparent 70%);
}
.invpg-shero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 900px;
}
.invpg-shero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}
.invpg-shero__crumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 180ms ease;
}
.invpg-shero__crumbs a:hover {
  color: #fff;
}
.invpg-shero__crumbs span[aria-hidden] {
  color: rgba(255, 255, 255, 0.35);
}
.invpg-shero__eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold, #f5b50a);
  margin: 4px 0 0;
}
.invpg-shero__title {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
  color: #fff;
}
.invpg-shero__title em {
  font-style: normal;
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  color: var(--color-red);
}
.invpg-shero__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 680px;
}
.invpg-shero__sub strong {
  color: #fff;
  font-weight: 700;
}
.invpg-shero__search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 680px;
  height: 60px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  border-radius: 6px;
  padding: 0 0 0 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.invpg-shero__search:focus-within {
  background: #fff;
  border-color: var(--color-red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.20), 0 18px 48px rgba(0, 0, 0, 0.35);
}
.invpg-shero__search-icon {
  flex: 0 0 auto;
  color: rgba(20, 23, 28, 0.55);
}
.invpg-shero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 12px;
  height: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: #14171c;
  outline: none;
}
.invpg-shero__search input::placeholder {
  color: rgba(20, 23, 28, 0.45);
}
.invpg-shero__search-clear {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(20, 23, 28, 0.55);
  text-decoration: none;
  background: transparent;
  transition: background 160ms ease, color 160ms ease;
}
.invpg-shero__search-clear:hover {
  background: rgba(20, 23, 28, 0.08);
  color: #14171c;
}
.invpg-shero__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: calc(100% - 8px);
  margin: 4px;
  padding: 0 22px;
  background: var(--color-red);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease;
}
.invpg-shero__search-btn:hover {
  background: #ad0e28;
}
.invpg-shero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
  width: 100%;
}
.invpg-shero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.invpg-shero__pill svg {
  color: var(--color-gold, #f5b50a);
}
.invpg-shero__pill--zero {
  background: rgba(200, 16, 46, 0.16);
  border-color: rgba(200, 16, 46, 0.45);
}
.invpg-shero__pill--zero svg {
  color: var(--color-red);
}
.invpg-shero__suggest {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.invpg-shero__suggest-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.invpg-shero__suggest ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.invpg-shero__suggest li { margin: 0; padding: 0; }
.invpg-shero__suggest a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.invpg-shero__suggest a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

@media (max-width: 720px) {
  .invpg-shero { padding: 80px 0 56px; }
  .invpg-shero__search { height: 54px; padding-left: 14px; }
  .invpg-shero__search-icon { width: 18px; height: 18px; }
  .invpg-shero__search input { font-size: 14px; }
  .invpg-shero__search-btn span { display: none; }
  .invpg-shero__search-btn { padding: 0 14px; }
}
@media (max-width: 480px) {
  .invpg-shero__title { font-size: clamp(24px, 7vw, 32px); }
  .invpg-shero__suggest { width: 100%; }
}

/* ===== Empty state (no results) ===== */
.invpg-empty {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 18, 24, 0.06);
  padding: 56px 28px 60px;
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.invpg-empty::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.invpg-empty::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -100px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(245, 181, 10, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.invpg-empty__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.invpg-empty__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(200, 16, 46, 0.08), rgba(245, 181, 10, 0.12));
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.invpg-empty__eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-red);
  margin: 0;
}
.invpg-empty__title {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #14171c;
  margin: 0;
  max-width: 560px;
}
.invpg-empty__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(20, 23, 28, 0.65);
  max-width: 560px;
  margin: 0;
}
.invpg-empty__search {
  display: flex;
  width: 100%;
  max-width: 520px;
  height: 52px;
  margin-top: 6px;
  background: #f5f6f8;
  border: 1.5px solid #e6e8ed;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.invpg-empty__search:focus-within {
  border-color: var(--color-red);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.10);
  background: #fff;
}
.invpg-empty__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: #14171c;
  outline: none;
}
.invpg-empty__search input::placeholder {
  color: rgba(20, 23, 28, 0.4);
}
.invpg-empty__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  background: var(--color-red);
  border: 0;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease;
}
.invpg-empty__search-btn:hover {
  background: #ad0e28;
}
.invpg-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.invpg-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.invpg-empty__btn--solid {
  background: var(--color-red);
  color: #fff;
}
.invpg-empty__btn--solid:hover {
  background: #ad0e28;
  color: #fff;
}
.invpg-empty__btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(20, 23, 28, 0.18);
  color: #14171c;
}
.invpg-empty__btn--ghost:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}
.invpg-empty__cats {
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.invpg-empty__cats-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 23, 28, 0.55);
}
.invpg-empty__cats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.invpg-empty__cats li { margin: 0; padding: 0; }
.invpg-empty__cats a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f5f6f8;
  border: 1px solid #e6e8ed;
  color: #14171c;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.invpg-empty__cats a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}
@media (max-width: 600px) {
  .invpg-empty { padding: 44px 18px 48px; }
  .invpg-empty__icon { width: 78px; height: 78px; }
  .invpg-empty__icon svg { width: 50px; height: 50px; }
  .invpg-empty__search { height: 48px; flex-wrap: wrap; }
  .invpg-empty__search-btn span { display: none; }
  .invpg-empty__search-btn { padding: 0 18px; }
}

/* ============================================================
   ITEM DETAIL PAGE
   ============================================================ */

.item-page { background: #f7f7f8; padding-bottom: 80px; }

/* ============================================================
   IHERO — 1:1 Gateway-style layout
   ============================================================ */
.ihero { padding: 22px 24px 36px; background: #f7f7f8; }

/* ------------------------------------------------------------
   Chips breadcrumb row
   ------------------------------------------------------------ */
.ihero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.ichip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 22px 7px 16px;
  background: #e5e5e9;
  color: #2a2a30;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 200ms, color 200ms;
}
.ichip:first-child {
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding-left: 14px;
}
.ichip:last-child {
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}
.ichip:hover { background: #1a1a1d; color: #fff; }
.ichip--back { background: #1a1a1d; color: #fff; }
.ichip--back svg { stroke: #fff; }
.ichip--back:hover { background: var(--color-red); }
.ichip--red { background: var(--color-red); color: #fff; }
.ichip--red:hover { background: #a40d24; color: #fff; }

/* ------------------------------------------------------------
   Title row
   ------------------------------------------------------------ */
.ihero__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}
.ihero__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #0f0f12;
}
.ihero__title > span:last-child { padding-top: 2px; }
.ihero__stripes { flex: 0 0 22px; display: block; }
.ihero__stripes svg { display: block; }
.ihero__sub {
  margin: 8px 0 0 36px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #2a2a30;
  letter-spacing: 0.02em;
}
.ihero__sub span { color: #c9c9d0; padding: 0 4px; font-weight: 400; }

.ihero__head-r {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  white-space: nowrap;
}
.ihero__price {
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 38px);
  letter-spacing: -0.005em;
  line-height: 1.05;
  color: #0f0f12;
}
.ihero__epay {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #6e6e76;
  line-height: 1.3;
  padding-bottom: 4px;
}
.ihero__epay span { letter-spacing: 0.06em; }
.ihero__epay strong {
  color: #1a1a1d;
  font-size: 12px;
  font-weight: 700;
}
.ihero__epay-info {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  color: #8a8a92;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
  transition: color 200ms;
}
.ihero__epay-info:hover { color: var(--color-red); }

/* ------------------------------------------------------------
   3-col gallery row (flex-based for max compatibility)
   ------------------------------------------------------------ */
.ihero__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
}

/* Vertical thumb column */
.ihero__thumbs {
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ihero__thumbs > .ihero__thumb { flex: 1 1 0; min-height: 0; }
.ihero__thumb {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #1a1a1a;
  overflow: hidden;
  outline: 3px solid transparent;
  outline-offset: -3px;
  transition: outline-color 200ms;
  min-height: 0;
}
.ihero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease, opacity 200ms;
}
.ihero__thumb:hover img { opacity: 0.85; }
.ihero__thumb.is-active { outline-color: var(--color-red); }

.ihero__thumb-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: var(--color-red);
  padding: 5px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ihero__thumb-tag img { width: auto; height: 14px; object-fit: contain; }

.ihero__thumb--more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(200, 16, 46, 0.88) 0%, rgba(200, 16, 46, 0.65) 100%);
  z-index: 1;
}
.ihero__thumb-more {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Main image */
.ihero__main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  background: #1a1a1a;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.ihero__main-btn {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  background: transparent;
}
.ihero__main-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}
.ihero__main:hover .ihero__main-btn img { transform: scale(1.025); }

/* Right side nav buttons (next / grid / prev) */
.ihero__nav {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.ihero__nav-btn {
  width: 42px;
  height: 42px;
  background: var(--color-red);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, transform 200ms;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ihero__nav-btn:hover {
  background: #fff;
  color: var(--color-red);
  transform: scale(1.05);
}
.ihero__nav-btn--grid { background: #1a1a1d; }
.ihero__nav-btn--grid:hover { background: var(--color-red); color: #fff; }

/* Bottom showroom banner */
.ihero__banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  pointer-events: none;
}
.ihero__banner-body {
  position: relative;
  background: var(--color-red);
  color: #fff;
  padding: 14px 30px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: auto;
}
.ihero__banner-body::after {
  content: '';
  position: absolute;
  top: 0;
  right: -18px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 100% 18px;
  border-color: transparent transparent var(--color-red) transparent;
}
.ihero__banner-body strong {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ihero__banner-body a {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  pointer-events: auto;
  text-transform: lowercase;
}
.ihero__banner-body a:hover { text-decoration: underline; color: #fff; }

.ihero__banner-crest {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px 10px 32px;
  background: #fff;
  color: var(--color-red);
}
.ihero__crest-mark svg { display: block; }
.ihero__crest-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.ihero__crest-text strong {
  font-family: 'Pacifico', cursive;
  font-size: 22px;
  color: var(--color-red);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
}
.ihero__crest-text strong em {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-style: normal;
  font-size: 22px;
  margin-left: 4px;
  color: #1a1a1d;
  letter-spacing: 0.02em;
}
.ihero__crest-text span {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: #1a1a1d;
  margin-top: 2px;
}

/* ------------------------------------------------------------
   Action column (right)
   ------------------------------------------------------------ */
.ihero__actions {
  flex: 0 0 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  position: relative;
  z-index: 2;
}
.ihero__actions-row {
  display: flex;
  gap: 8px;
}
.ihero__actions-row > .ibtn { flex: 1 1 0; min-width: 0; }
.ibtn {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1.5px solid var(--color-red);
  cursor: pointer;
  text-align: center;
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
  white-space: nowrap;
  box-sizing: border-box;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ibtn--red {
  background: var(--color-red);
  color: #fff;
}
.ibtn--red:hover {
  background: #a40d24;
  border-color: #a40d24;
  transform: translateY(-1px);
}
.ibtn--outline {
  background: #fff;
  color: var(--color-red);
}
.ibtn--outline:hover {
  background: var(--color-red);
  color: #fff;
  transform: translateY(-1px);
}
.ibtn svg { flex-shrink: 0; }

/* Large variant — full-row hero CTAs */
.ibtn--lg {
  min-height: 56px;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  gap: 10px;
}
.ibtn--lg svg { width: 18px; height: 18px; }

/* Featured services tiles */
.ifeat {
  margin-top: 6px;
  text-align: center;
}
.ifeat__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  color: #6e6e76;
  margin-bottom: 6px;
}
.ifeat__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ifeat__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  height: 70px;
  padding: 10px 12px 10px 44px;
  text-decoration: none;
  overflow: hidden;
  border-radius: 2px;
  transition: transform 200ms, filter 200ms;
}
.ifeat__card:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.ifeat__card-wm {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.95);
}
.ifeat__card strong {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}
.ifeat__card em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}
.ifeat__card--insure {
  background: linear-gradient(135deg, #0084c7 0%, #006aa0 100%);
}
.ifeat__card--protect {
  background: linear-gradient(135deg, #1f4ea3 0%, #143570 100%);
}

/* ------------------------------------------------------------
   IHero — responsive
   ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .ihero__grid { flex-wrap: wrap; }
  .ihero__thumbs { flex: 0 0 90px; }
  .ihero__main { flex: 1 1 calc(100% - 102px); }
  .ihero__actions {
    flex: 1 1 100%;
    margin-top: 6px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ihero__actions > .ibtn { flex: 1 1 calc(33% - 8px); min-width: 200px; }
  .ihero__head { grid-template-columns: 1fr; gap: 12px; }
  .ihero__head-r { flex-direction: row-reverse; align-items: center; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .ihero__grid { flex-direction: column; }
  .ihero__main { flex: 1 1 auto; aspect-ratio: 16 / 11; order: 1; }
  .ihero__thumbs {
    flex: 1 1 auto;
    flex-direction: row;
    order: 2;
  }
  .ihero__thumbs > .ihero__thumb {
    flex: 1 1 0;
    aspect-ratio: 4 / 3;
  }
  .ihero__actions {
    order: 3;
    flex-direction: column;
  }
  .ihero__actions > .ibtn { flex: 1 1 auto; min-width: 0; }
  .ihero__title { font-size: 28px; }
  .ihero__sub { margin-left: 0; }
  .ihero__nav-btn { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .ichip { padding: 6px 18px 6px 12px; font-size: 11px; }
}

/* ------------------------------------------------------------
   Item body — Description / Features / Gallery (single column)
   ------------------------------------------------------------ */
.item-body { padding: 40px 24px; }
.item-body__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Generic section — flat (no card chrome) */
.item-section {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.item-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
}
.item-section__stripes {
  flex: 0 0 22px;
  display: block;
  margin-top: 1px;
}
.item-section__stripes svg { display: block; }
.item-section__head h2 {
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  color: #0f0f12;
  flex: 1;
  line-height: 1.05;
}
.item-section__cta {
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 220ms;
}
.item-section__cta:hover { gap: 10px; }

/* Description prose */
.item-prose p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: #2a2a30;
  margin: 0 0 18px;
}
.item-prose p:last-child { margin-bottom: 0; }
.item-prose strong { color: #0f0f12; }

/* ------------------------------------------------------------
   Features list — grouped categories
   ------------------------------------------------------------ */
.item-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #ececef;
  border-bottom: 1px solid #ececef;
  padding: 28px 0 24px;
}
.item-features__group {
  padding: 4px 28px 4px 0;
}
.item-features__group + .item-features__group {
  padding-left: 28px;
  border-left: 1px solid #ececef;
}
.item-features__group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
}
.item-features__group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff4f4;
  color: var(--color-red);
  flex-shrink: 0;
}
.item-features__group-icon svg { display: block; }

.item-features__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.item-features__list li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #2a2a30;
  line-height: 1.4;
  transition: color 200ms ease, padding-left 220ms ease;
}
.item-features__list li + li {
  border-top: 1px dashed #ececef;
}
.item-features__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  background: var(--color-red);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(200, 16, 46, 0.18);
}
.item-features__list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 16px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.item-features__list li:hover {
  color: #0f0f12;
  padding-left: 34px;
}

/* ------------------------------------------------------------
   Gallery — framed Gateway-style layout
   ------------------------------------------------------------ */
.igal {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.igal__frame {
  background: #1a1a1d;
  padding: 14px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  position: relative;
}
.igal__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path d='M0 8L8 0' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/></svg>");
  background-size: 8px 8px;
  border-radius: 4px;
}

/* Big photo (spans 2 rows of thumb grid) */
.igal__big {
  position: relative;
  grid-column: 1;
  grid-row: 1 / 3;
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #0d0d10;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  min-height: 0;
  z-index: 1;
}
.igal__big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.igal__big:hover img { transform: scale(1.03); }

/* Thumbnails (4 cells filling cols 2-3, rows 1-2) */
.igal__cell {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #0d0d10;
  overflow: hidden;
  border-radius: 2px;
  min-height: 0;
  z-index: 1;
}
.igal__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms, opacity 200ms;
}
.igal__cell:hover img { transform: scale(1.06); opacity: 0.92; }

/* View Gallery CTA */
.igal__cta-wrap {
  display: flex;
  justify-content: center;
}
.igal__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--color-red);
  color: #fff;
  border: 0;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(200, 16, 46, 0.3);
  transition: background 200ms, transform 200ms, box-shadow 200ms;
}
.igal__cta:hover {
  background: #a40d24;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.4);
}

/* ------------------------------------------------------------
   Specs row — horizontal icon cards (refined)
   ------------------------------------------------------------ */
.ispecs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.ispecs__card {
  position: relative;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 4px;
  padding: 28px 14px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 180px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: border-color 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}
/* Red accent strip on top */
.ispecs__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ispecs__card:hover {
  border-color: #d8d8dc;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.ispecs__card:hover::before {
  transform: scaleX(1);
}

.ispecs__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #fafafa;
  border-radius: 50%;
  margin-bottom: 4px;
  color: #1a1a1d;
  transition: background 220ms ease, color 220ms ease;
}
.ispecs__card:hover .ispecs__icon {
  background: #fff4f4;
  color: var(--color-red);
}
.ispecs__icon svg { display: block; }

.ispecs__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8a92;
}
.ispecs__value {
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: #0f0f12;
  line-height: 1.2;
  margin-top: 2px;
}

/* ------------------------------------------------------------
   Contact section — Houston Showroom + Lead form (2-col)
   ------------------------------------------------------------ */
.icontact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.icontact__info {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 3px;
  overflow: hidden;
}
.icontact__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}
.icontact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
}
.icontact__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 6px 12px;
}
.icontact__info h3 {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 22px 24px 6px;
  color: #0f0f12;
}
.icontact__info p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #4a4a52;
  margin: 0 24px 16px;
  line-height: 1.6;
}
.icontact__info ul {
  list-style: none;
  padding: 0;
  margin: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
}
.icontact__info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
}
.icontact__info ul li svg { color: var(--color-red); flex: 0 0 14px; }
.icontact__info a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}
.icontact__info a:hover { color: var(--color-red); }

.icontact__form {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 3px;
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.icontact__form h4 {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: #0f0f12;
}
.icontact__form p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #4a4a52;
  margin: 0 0 4px;
  line-height: 1.6;
}
.icontact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.icontact__form input,
.icontact__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8dc;
  background: #fafafa;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #1a1a1a;
  border-radius: 2px;
  transition: border-color 200ms, background 200ms;
  box-sizing: border-box;
}
.icontact__form input:focus,
.icontact__form textarea:focus {
  outline: none;
  border-color: var(--color-red);
  background: #fff;
}
.icontact__form textarea { resize: vertical; min-height: 96px; }
.icontact__form button {
  margin-top: 6px;
  width: 100%;
  height: 50px;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 16px;
  letter-spacing: 0.14em;
}

/* Backwards-compat aliases (kept so JS continues to work) */
.item-lead-form { display: flex; flex-direction: column; gap: 12px; }

/* ------------------------------------------------------------
   Related tractors
   ------------------------------------------------------------ */
.item-related {
  padding: 60px 24px;
  background: #fff;
  border-top: 1px solid #ececef;
  border-bottom: 1px solid #ececef;
}
.item-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ececef;
  position: relative;
}
.item-related__head::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 90px;
  height: 4px;
  background: var(--color-red);
}
.item-related__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a92;
  margin-bottom: 6px;
}
.item-related__title {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f0f12;
  margin: 0;
}
.item-related__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
  text-decoration: none;
  transition: gap 220ms;
}
.item-related__more:hover { gap: 12px; }

.item-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ------------------------------------------------------------
   Sell CTA banner
   ------------------------------------------------------------ */
.item-sell {
  margin: 70px 24px 0;
  background: linear-gradient(120deg, #0d0d10 0%, #1a1a1d 50%, #2a0e13 100%);
  position: relative;
  overflow: hidden;
}
.item-sell::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path d='M0 8L8 0' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/></svg>");
  background-size: 8px 8px;
  pointer-events: none;
}
.item-sell__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 32px;
}
.item-sell__art {
  width: 90px;
  height: 80px;
  opacity: 0.16;
}
.item-sell__art svg { width: 100%; height: 100%; }
.item-sell__copy { color: #fff; }
.item-sell__copy > span {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}
.item-sell__copy h2 {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(28px, 3.5vw, 38px);
  margin: 0 0 6px;
  letter-spacing: 0.04em;
  color: #fff;
}
.item-sell__copy p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 60ch;
}
.item-sell__cta {
  flex-shrink: 0;
  padding: 14px 28px;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 17px;
  letter-spacing: 0.16em;
  background: var(--color-red);
  color: #fff;
  text-decoration: none;
  border: 0;
  text-transform: uppercase;
  transition: background 200ms, transform 200ms;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.32);
}
.item-sell__cta:hover { background: #b00d27; transform: translateY(-2px); }

/* ------------------------------------------------------------
   Item page responsive
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .ispecs { grid-template-columns: repeat(3, 1fr); }
  .icontact { grid-template-columns: 1fr; }
  .item-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .igal__frame {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .igal__big {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .igal__cell { aspect-ratio: 4 / 3; }
  .item-sell__inner { grid-template-columns: 1fr; text-align: center; }
  .item-sell__art { display: none; }
  .item-sell__copy p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 1100px) {
  .item-features { grid-template-columns: 1fr 1fr; }
  .item-features__group:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #ececef;
    margin-top: 8px;
    padding-top: 20px;
  }
}

@media (max-width: 700px) {
  .ispecs { grid-template-columns: repeat(2, 1fr); }
  .item-features {
    grid-template-columns: 1fr;
    padding: 20px 0 16px;
  }
  .item-features__group {
    padding: 4px 0;
  }
  .item-features__group + .item-features__group {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #ececef;
    margin-top: 10px;
    padding-top: 20px;
  }
  .item-features__group:nth-child(3) { margin-top: 10px; padding-top: 20px; }
  .icontact__row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .item-related__grid { grid-template-columns: 1fr; }
  .item-related__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ispecs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ispecs__card { min-height: 160px; padding: 22px 12px 18px; }
  .ispecs__icon { width: 48px; height: 48px; }
  .ispecs__value { font-size: 15px; }
}

/* ============================================================
   LIGHTBOX MODAL
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 10, 0.96);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.lightbox:not([hidden]) { display: grid; }
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox[hidden] { display: none; }

/* Subtle diagonal stripe overlay for brand consistency */
.lightbox::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M0 16L16 0' stroke='%23c8102e' stroke-opacity='0.05' stroke-width='1'/></svg>");
  background-size: 16px 16px;
}

/* Top bar */
.lightbox__topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lightbox__title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: #fff;
  min-width: 0;
}
.lightbox__title strong {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox__counter {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-left: 2px solid var(--color-red);
  padding-left: 14px;
}
.lightbox__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lightbox__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  padding: 0 16px;
  height: 44px;
  border-radius: 2px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background 200ms ease, border-color 200ms ease;
}
.lightbox__action-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}
.lightbox__action-btn svg { flex-shrink: 0; }

.lightbox__close {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  width: 44px;
  height: 44px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background 200ms, transform 200ms;
  flex-shrink: 0;
}
.lightbox__close:hover {
  background: var(--color-red);
  transform: rotate(90deg);
}

/* ------------------------------------------------------------
   Lightbox — Grid view (tile gallery)
   ------------------------------------------------------------ */
.lightbox__grid {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2 / -1;
  display: none;
  overflow-y: auto;
  padding: 32px 32px 48px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.lightbox__grid::-webkit-scrollbar { width: 8px; }
.lightbox__grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}
.lightbox__grid-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  animation: lightboxGridIn 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lightboxGridIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lightbox__tile {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #1a1a1a;
  cursor: pointer;
  border-radius: 2px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox__tile-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: rgba(15, 15, 18, 0.7);
  color: #fff;
  padding: 5px 9px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2px;
}
.lightbox__tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 16, 46, 0);
  transition: background 240ms ease;
  pointer-events: none;
}
.lightbox__tile-overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.lightbox__tile:hover img { transform: scale(1.07); }
.lightbox__tile:hover .lightbox__tile-overlay { background: rgba(8, 8, 10, 0.45); }
.lightbox__tile:hover .lightbox__tile-overlay-icon { opacity: 1; transform: scale(1); }
.lightbox__tile:hover { outline-color: var(--color-red); }

/* Grid mode — toggle visibility of views */
.lightbox.is-grid .lightbox__grid { display: block; }
.lightbox.is-grid .lightbox__stage { display: none; }
.lightbox.is-grid .lightbox__filmstrip { display: none; }
.lightbox.is-grid .lightbox__action-btn { display: none; }

/* Stage */
.lightbox__stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 24px 28px;
  gap: 12px;
  min-height: 0;
}
.lightbox__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.lightbox__viewport img {
  max-width: 100%;
  max-height: calc(100vh - 280px);
  object-fit: contain;
  display: block;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  animation: lightboxImgIn 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lightboxImgIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox__arrow {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 220ms, border-color 220ms, transform 220ms;
}
.lightbox__arrow:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}
.lightbox__arrow--prev:hover { transform: translateX(-3px); }
.lightbox__arrow--next:hover { transform: translateX(3px); }

/* Filmstrip */
.lightbox__filmstrip {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 16px 28px 22px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lightbox__filmstrip::-webkit-scrollbar { height: 6px; }
.lightbox__filmstrip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.lightbox__filmstrip-thumb {
  flex: 0 0 110px;
  height: 70px;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 2px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  opacity: 0.55;
  transition: opacity 200ms, outline-color 200ms, transform 200ms;
}
.lightbox__filmstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lightbox__filmstrip-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.lightbox__filmstrip-thumb.is-active {
  opacity: 1;
  outline-color: var(--color-red);
}

/* Lightbox responsive — grid */
@media (max-width: 1100px) {
  .lightbox__grid-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .lightbox__grid { padding: 20px 16px 32px; }
  .lightbox__grid-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Mobile lightbox */
@media (max-width: 700px) {
  .lightbox__topbar { padding: 14px 16px; gap: 10px; }
  .lightbox__title { gap: 10px; }
  .lightbox__title strong { font-size: 16px; }
  .lightbox__counter { font-size: 10px; padding-left: 8px; }
  .lightbox__actions { gap: 6px; }
  .lightbox__action-btn { padding: 0 12px; height: 40px; }
  .lightbox__action-btn span { display: none; }
  .lightbox__close { width: 40px; height: 40px; }
  .lightbox__stage { padding: 12px 8px; gap: 4px; }
  .lightbox__viewport img { max-height: calc(100vh - 240px); }
  .lightbox__arrow {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
  .lightbox__filmstrip { padding: 10px 12px 14px; }
  .lightbox__filmstrip-thumb { flex: 0 0 80px; height: 54px; }
}

/* Body scroll-lock when lightbox open */
body.lightbox-open {
  overflow: hidden;
}

