/* ===== PAGES.CSS — SPA Page Styles ===== */

/* ===== PAGE TRANSITIONS ===== */
.page-transition {
  animation: pageFadeIn 0.4s var(--ease-out) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE HERO (Category / Brand / Info pages) ===== */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: calc(80px + var(--space-12)) var(--space-4) var(--space-10);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.6) 0%,
    rgba(10, 10, 15, 0.55) 40%,
    rgba(10, 10, 15, 0.85) 100%
  );
}
.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.page-hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.page-hero__count {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  margin-top: var(--space-3);
  letter-spacing: 0.05em;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: var(--content-wide);
  margin: var(--space-4) auto var(--space-6);
  padding-inline: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .breadcrumb { padding-inline: var(--space-8); }
}
.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb__sep {
  color: var(--color-text-faint);
  font-size: 0.65em;
  user-select: none;
}
.breadcrumb__current {
  color: var(--color-text-muted);
}

/* ===== CATEGORY PAGE LAYOUT ===== */
.category-layout {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-16);
}
@media (min-width: 768px) {
  .category-layout { padding-inline: var(--space-8); }
}
@media (min-width: 1024px) {
  .category-layout {
    grid-template-columns: 260px 1fr;
    gap: var(--space-8);
  }
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  align-self: start;
  position: sticky;
  top: calc(70px + var(--space-4));
}
.filter-sidebar__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.filter-group {
  margin-bottom: var(--space-5);
}
.filter-group__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.filter-group__checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.filter-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.filter-check:hover { color: var(--color-text); }
.filter-check input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
}
.filter-check input[type="range"] {
  width: 100%;
  accent-color: var(--color-accent);
}
.filter-price-range {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.filter-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
}
.filter-toggle input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
/* Mobile filter toggle */
.filter-toggle-btn {
  display: none;
  width: 100%;
  margin-bottom: var(--space-4);
}
@media (max-width: 1023px) {
  .filter-sidebar {
    position: static;
    display: none;
  }
  .filter-sidebar.open { display: block; }
  .filter-toggle-btn { display: flex; }
}

/* ===== PRODUCT GRID (Category listing) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-4);
}
.product-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-12);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ===== PRODUCT CARD ===== */
.product-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(192, 192, 200, 0.4);
  box-shadow:
    0 12px 40px rgba(0, 163, 255, 0.15),
    0 0 60px rgba(192, 192, 200, 0.08),
    inset 0 0 30px rgba(192, 192, 200, 0.03);
}
.product-card__spotlight {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: var(--radius-xl);
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(192, 192, 200, 0.08), transparent 60%);
}
.product-card:hover .product-card__spotlight { opacity: 1; }

.product-card__image {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card__image svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}
.product-card:hover .product-card__image svg {
  opacity: 0.5;
  transform: scale(1.1);
}
.product-card__body {
  padding: var(--space-4) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-1);
  line-height: 1.3;
}
.product-card__oem {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}
.product-card__compat {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  line-height: 1.5;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.product-card__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}
.product-card__old-price {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: line-through;
  margin-left: var(--space-2);
  font-weight: 400;
}
.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  white-space: nowrap;
}
.product-card__badge--instock {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.product-card__badge--order {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.2);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.badge-dot--green { background: #34d399; }
.badge-dot--orange { background: #fb923c; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4) var(--space-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .product-detail { padding-inline: var(--space-8); }
}
@media (min-width: 1024px) {
  .product-detail { grid-template-columns: 1.2fr 1fr; }
}

.product-detail__image {
  aspect-ratio: 4/3;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-detail__image svg {
  width: 80px;
  height: 80px;
  opacity: 0.2;
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.product-detail__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.product-detail__oem {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-accent);
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.15);
  border-radius: 100px;
  padding: var(--space-1) var(--space-4);
  font-weight: 500;
  letter-spacing: 0.04em;
  width: fit-content;
}
.product-detail__compat {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.product-detail__compat strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Price block */
.product-detail__price-block {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.product-detail__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
}
.product-detail__old-price {
  font-size: var(--text-lg);
  color: var(--color-text-faint);
  text-decoration: line-through;
}
.product-detail__stock {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
}
.product-detail__stock--instock {
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
}
.product-detail__stock--order {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.15);
}

.product-detail__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Specifications table */
.product-detail__specs {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-detail__specs-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.03em;
}
.spec-row {
  display: flex;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.spec-row:last-child { border-bottom: none; }
.spec-row__label {
  width: 45%;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.spec-row__value {
  color: var(--color-text);
  font-weight: 500;
}

/* Analogues */
.product-detail__analogues {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.product-detail__analogues-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: 0.03em;
}
.analogue-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-1);
}

/* Related products */
.related-products {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4) var(--space-16);
}
@media (min-width: 768px) {
  .related-products { padding-inline: var(--space-8); }
}
.related-products__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-6);
}
.related-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--space-4);
}

/* ===== BRAND PAGE ===== */
.brand-hero {
  text-align: center;
}
.brand-hero__country {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.brand-hero__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.brand-hero__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: var(--space-3) auto 0;
  line-height: 1.6;
}

/* ===== BRANDS INDEX PAGE ===== */
.brands-index {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4) var(--space-16);
}
@media (min-width: 768px) {
  .brands-index { padding-inline: var(--space-8); }
}
.brands-index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-4);
}
.brand-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}
.brand-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(192, 192, 200, 0.4);
  box-shadow:
    0 12px 40px rgba(0, 163, 255, 0.15),
    0 0 60px rgba(192, 192, 200, 0.08);
}
.brand-card__flag {
  font-size: 2rem;
  line-height: 1;
}
.brand-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.brand-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.brand-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== ABOUT PAGE ===== */
.about-section {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4) var(--space-12);
}
@media (min-width: 768px) {
  .about-section { padding-inline: var(--space-8); }
}
.about-section__story {
  max-width: 800px;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.about-section__story p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.about-figures {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.about-figure {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.about-figure:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 192, 200, 0.3);
}
.about-figure__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}
.about-figure__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.about-value {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.about-value:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 192, 200, 0.3);
}
.about-value__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 163, 255, 0.08);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.about-value__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}
.about-value__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.about-geo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.about-office {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.about-office__city {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}
.about-office__address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== DELIVERY PAGE ===== */
.delivery-section {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4) var(--space-12);
}
@media (min-width: 768px) {
  .delivery-section { padding-inline: var(--space-8); }
}
.delivery-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.delivery-method {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.delivery-method:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 192, 200, 0.3);
}
.delivery-method__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 163, 255, 0.08);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.delivery-method__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}
.delivery-method__time {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.delivery-method__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.delivery-method__price {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-3);
}

/* Payment methods */
.payment-section {
  margin-bottom: var(--space-12);
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--space-4);
}
.payment-method {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: border-color 0.3s;
}
.payment-method:hover { border-color: rgba(192, 192, 200, 0.3); }
.payment-method__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 163, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  flex-shrink: 0;
}
.payment-method__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.payment-method__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
  margin-bottom: var(--space-12);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 800px;
  margin-inline: auto;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(192, 192, 200, 0.2); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: none;
  border: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: var(--space-3);
}
.faq-item__question:hover { color: var(--color-accent); }
.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-item__answer {
  max-height: 500px;
}
.faq-item__answer-inner {
  padding: 0 var(--space-5) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== CONTACTS PAGE ===== */
.contacts-section {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4) var(--space-12);
}
@media (min-width: 768px) {
  .contacts-section { padding-inline: var(--space-8); }
}
.contacts-offices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.office-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color 0.3s;
}
.office-card:hover { border-color: rgba(192, 192, 200, 0.3); }
.office-card__city {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: 0.03em;
}
.office-card__flag {
  font-size: 1.4rem;
  margin-right: var(--space-2);
}
.office-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.office-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.office-card__item svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}
.office-card__item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.office-card__item a:hover { color: var(--color-accent); }

/* Contact form wrapper */
.contact-form-wrap {
  max-width: 700px;
  margin-inline: auto;
}
.contact-form-wrap .section-header {
  opacity: 1;
  transform: none;
}

/* ===== NAV DROPDOWN ===== */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(17, 17, 24, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-2) 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  z-index: 110;
  box-shadow: var(--shadow-lg);
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav__dropdown-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

/* ===== SCROLL REVEAL for new pages ===== */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CATEGORY IMAGE GRADIENTS ===== */
.cat-gradient--auto    { background: linear-gradient(135deg, #0f1923 0%, #162033 50%, rgba(0,163,255,0.08) 100%); }
.cat-gradient--moto    { background: linear-gradient(135deg, #1a0f0f 0%, #2a1515 50%, rgba(255,107,53,0.08) 100%); }
.cat-gradient--jetski  { background: linear-gradient(135deg, #0f1a1a 0%, #0f2a2a 50%, rgba(0,163,255,0.08) 100%); }
.cat-gradient--snowmobile { background: linear-gradient(135deg, #121218 0%, #1a1a2a 50%, rgba(192,192,200,0.05) 100%); }
.cat-gradient--atv     { background: linear-gradient(135deg, #141410 0%, #22220f 50%, rgba(255,200,0,0.06) 100%); }

/* ===== MOBILE NAV SUBMENU ===== */
.mobile-nav__submenu {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.mobile-nav__submenu-link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav__submenu-link:hover { color: var(--color-accent); }

/* ===== UTILITY ===== */
.section-page-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-6);
  text-align: center;
}
.section-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-8) 0;
}
