/* ==========================================================================
   OMNICAR S.A.S. — Modern Swiss Design System (Spacious & Architectural)
   Surfaces: #FFFFFF, #F7F7F8
   Typeface: "Helvetica Neue", Helvetica, Arial, sans-serif
   Accent:   International Orange #FF4F00
   Structure: Generous vertical rhythm, 1px hairline borders, left-aligned type
   ========================================================================== */

:root {
  --surface-white: #FFFFFF;
  --surface-neutral: #F5F5F7;
  --ink: #111111;
  --ink-muted: #4A4A50;
  --ink-faint: #7E7E86;
  --rule: #D2D2DA;
  --rule-hover: #9E9EA8;
  --rule-strong: #111111;
  --accent: #FF4F00;
  --accent-hover: #E04500;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container-w: 1240px;
  --radius: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--surface-white);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface-white);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
  text-align: left;
}

.num {
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   Sections & Vertical Rhythm
   ========================================================================== */
.section {
  padding: 88px 0;
  background: var(--surface-white);
  border-bottom: 1px solid var(--rule);
}

.section-neutral {
  padding: 88px 0;
  background: var(--surface-neutral);
  border-bottom: 1px solid var(--rule);
}

.section-compact {
  padding: 56px 0;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 26px;
  margin-bottom: 44px;
  border-bottom: 1.5px solid var(--ink);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.section-desc {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 600px;
}

/* ==========================================================================
   Header (Spacious & Uncluttered)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-white);
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 66px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: transparent;
  transition: color 0.18s ease;
}

.nav-list .nav-link + .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: var(--rule);
}

.nav-list .nav-link::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-list .nav-link:hover {
  color: var(--accent);
  background: transparent;
}

.nav-list .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-list .nav-link.active {
  color: var(--accent);
  font-weight: 700;
  background: transparent;
}

.nav-list .nav-link.active::after {
  height: 3px;
  transform: scaleX(1);
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--surface-white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.contact-menu-btn:hover,
.contact-menu-btn[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--surface-white);
}

.contact-menu-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.contact-menu-btn .chevron-icon {
  width: 12px;
  height: 12px;
  color: currentColor;
  opacity: 0.85;
  transition: transform 0.15s ease;
}

.contact-menu-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.contact-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--surface-white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 6px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
  z-index: 150;
}

.contact-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.contact-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: background-color 0.12s ease;
}

.contact-dropdown-item + .contact-dropdown-item {
  border-top: 1px solid var(--rule);
}

.contact-dropdown-item:hover {
  background: var(--surface-neutral);
}

.contact-dropdown-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.contact-dropdown-val {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

.contact-dropdown-item.is-accent .contact-dropdown-val {
  color: var(--accent);
}

.contact-dropdown-item svg {
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons (Modern, Tactile, Spacious)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  border: 1.5px solid var(--ink);
  background: var(--surface-white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface-white);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface-white);
}

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

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface-white);
}

.btn-dark:hover {
  background: #2A2A2E;
  border-color: #2A2A2E;
  color: var(--surface-white);
}

.btn-quiet {
  background: var(--surface-neutral);
  border-color: var(--rule);
  color: var(--ink-muted);
}

.btn-quiet:hover {
  background: var(--surface-white);
  border-color: var(--rule-hover);
  color: var(--ink);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--surface-neutral);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--surface-white);
  padding: 16px 24px 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.mobile-drawer-nav a {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-drawer-nav a.active {
  background: transparent;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  color: var(--ink);
  font-weight: 700;
}

.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   Homepage Hero & Full-Width Photographic Backgrounds
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 84px 0 92px;
  background: var(--surface-white);
  border-bottom: 1px solid var(--rule);
}

.hero-section.has-bg,
.page-banner.has-bg {
  position: relative;
  background-color: #16181C;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--surface-white);
  border-bottom: 2px solid var(--ink);
}

.hero-section.has-bg {
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.page-banner.has-bg {
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  padding: 72px 0 60px;
}

.hero-section.has-bg-placeholder,
.page-banner.has-bg-placeholder {
  background-image:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92) 0%, rgba(24, 26, 30, 0.78) 55%, rgba(34, 37, 43, 0.68) 100%),
    repeating-linear-gradient(-45deg, #252830 0, #252830 1px, #1C1F26 1px, #1C1F26 28px);
}

.hero-section.has-bg .section-kicker,
.page-banner.has-bg .section-kicker {
  color: #FF6A2B;
}

.hero-section.has-bg .section-kicker::before,
.page-banner.has-bg .section-kicker::before {
  background: #FF6A2B;
}

.hero-section.has-bg .hero-title,
.page-banner.has-bg h1,
.page-banner.has-bg .page-big-num {
  color: var(--surface-white);
}

.hero-section.has-bg .hero-lead,
.page-banner.has-bg p {
  color: rgba(255, 255, 255, 0.86);
}

.bg-stage-note {
  position: absolute;
  right: 28px;
  bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.hero-intro {
  max-width: 780px;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFilterFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-intro,
  .page-banner-grid {
    animation: heroFadeUp 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .vehicle-sheet.is-filtering {
    animation: cardFilterFade 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

.hero-title {
  font-size: clamp(2.35rem, 4.1vw, 3.55rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 680px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  margin-bottom: 0;
}

/* ==========================================================================
   Vehicle Cards (Spacious 2-Column Grid with 32px Gap)
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.vehicle-sheet-compact .sheet-head {
  gap: 12px;
  padding: 16px 20px 14px;
}

.vehicle-sheet-compact .sheet-ref {
  font-size: 28px;
}

.vehicle-sheet-compact .sheet-brand {
  font-size: 16.5px;
}

.vehicle-sheet-compact .sheet-version {
  font-size: 12.5px;
}

.vehicle-sheet-compact .sheet-status {
  font-size: 11.5px;
  padding: 4px 8px;
}

.vehicle-sheet-compact .sheet-media-empty {
  padding: 20px;
}

.vehicle-sheet-compact .sheet-media-empty-num {
  font-size: 52px;
}

.vehicle-sheet-compact .sheet-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-sheet-compact .sheet-spec-cell {
  padding: 11px 12px;
}

.vehicle-sheet-compact .spec-v {
  font-size: 13px;
}

.vehicle-sheet-compact .sheet-foot {
  padding: 13px 20px;
}

.vehicle-sheet-compact .sheet-price,
.vehicle-sheet-compact .sheet-cta {
  font-size: 13px;
}

.vehicle-sheet {
  position: relative;
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.vehicle-sheet::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.vehicle-sheet:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}

.vehicle-sheet:hover::before {
  transform: scaleX(1);
}

.sheet-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vehicle-sheet:hover .sheet-cta svg {
  transform: translateX(4px);
}

.sheet-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--rule);
}

.sheet-ref {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.sheet-title-group {
  min-width: 0;
}

.sheet-brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}

.sheet-version {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet-status {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 5px 10px;
  background: var(--surface-neutral);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  display: inline-block;
}

.status-dot-muted {
  background: var(--ink-faint);
}

.sheet-media {
  aspect-ratio: 16 / 10;
  background: var(--surface-neutral);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
}

.sheet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.vehicle-sheet:hover .sheet-media img {
  transform: scale(1.02);
}

.sheet-media-empty {
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-neutral);
}

.sheet-media-empty-num {
  font-size: 68px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: #DFDFE5;
  font-variant-numeric: tabular-nums;
}

.sheet-media-empty-caption {
  font-size: 13px;
  color: var(--ink-faint);
}

.sheet-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
  background: var(--surface-white);
}

.sheet-spec-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
}

.sheet-spec-cell:last-child {
  border-right: 0;
}

.spec-k {
  display: block;
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-bottom: 3px;
}

.spec-v {
  display: block;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet-foot {
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  background: var(--surface-white);
}

.sheet-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}

.sheet-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   Separated Feature Panels (Home, Chi siamo, Contatti)
   ========================================================================== */
.panels-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.panel {
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.panel-tinted {
  background: var(--surface-neutral);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.panel h3,
.panel-tinted h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.panel p,
.panel-tinted p {
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.kv-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.kv-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.kv-list li strong {
  font-weight: 600;
  color: var(--ink);
}

.kv-list li span {
  color: var(--ink-muted);
}

/* ==========================================================================
   Inner Page Header Band
   ========================================================================== */
.page-banner {
  padding: 60px 0 56px;
  background: var(--surface-neutral);
  border-bottom: 1px solid var(--rule);
}

.page-banner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

.page-banner h1 {
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 640px;
}

.page-big-num {
  font-size: 56px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* ==========================================================================
   Catalog Filter Bar (Spacious Modern Controls)
   ========================================================================== */
.filter-bar-wrap {
  background: var(--surface-white);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: var(--surface-white);
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.field select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23111111' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.catalog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink-muted);
}

.empty-notice {
  display: none;
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 48px 36px;
}

/* ==========================================================================
   Single Vehicle Detail Page (Separated Blocks + Sticky Summary)
   ========================================================================== */
.breadcrumb-band {
  background: var(--surface-white);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface-white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.back-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.back-btn:hover {
  background: var(--ink);
  color: var(--surface-white);
}

.back-btn:hover svg {
  transform: translateX(-2px);
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

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

.breadcrumb-band a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.detail-card {
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 34px 36px;
}

.detail-card-media {
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.detail-photo-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-neutral);
  overflow: hidden;
}

.detail-photo-stage.zoomable {
  cursor: zoom-in;
}

.detail-photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.16s ease;
}

.detail-photo-stage img.is-switching {
  opacity: 0.35;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 17, 0.25);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gallery-nav-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface-white);
}

.gallery-nav-btn svg {
  width: 18px;
  height: 18px;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 5;
  padding: 5px 11px;
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.86);
  color: var(--surface-white);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.thumb-strip {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--rule);
  overflow-x: auto;
}

.thumb-btn {
  width: 96px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-neutral);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.7;
}

.thumb-btn.active {
  opacity: 1;
  border-color: var(--accent);
  outline: 1px solid var(--accent);
}

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

.detail-card h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--rule);
}

.specs-table tr {
  border-bottom: 1px solid var(--rule);
}

.specs-table th,
.specs-table td {
  padding: 13px 0;
  font-size: 14.5px;
  text-align: left;
}

.specs-table th {
  width: 44%;
  font-weight: 500;
  color: var(--ink-muted);
}

.specs-table td {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.dims-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dims-cell {
  background: var(--surface-neutral);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.dims-cell span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.dims-cell strong {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.aside-sticky {
  position: sticky;
  top: 120px;
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}

.aside-head {
  padding: 30px 32px 24px;
  border-bottom: 1px solid var(--rule);
}

.aside-ref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.aside-ref-big {
  font-size: 54px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.aside-title {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.18;
}

.aside-version {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin-top: 5px;
}

.aside-price-block {
  padding: 22px 32px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-neutral);
}

.aside-price-main {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.aside-price-sub {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.aside-actions {
  padding: 26px 32px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aside-conditions {
  padding: 24px 32px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.aside-conditions dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: 12px;
}

.aside-conditions dt:first-child {
  margin-top: 0;
}

.aside-conditions dd {
  margin: 2px 0 0;
}

/* ==========================================================================
   Contact, About & Prose Layouts
   ========================================================================== */
.asymmetric-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-list-card {
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-row {
  padding: 20px 26px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-k {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.contact-v {
  font-size: 15px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.contact-v a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.map-card {
  background: var(--surface-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-gap {
  margin-bottom: 18px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin: 20px 0 24px;
}

.consent-label input {
  margin-top: 4px;
}

.consent-label a {
  color: var(--ink);
  text-decoration: underline;
}

.prose-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 680px;
}

.prose-body p:last-child {
  margin-bottom: 0;
}

.prose-body h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 36px 0 14px;
}

.prose-body h2:first-child {
  margin-top: 0;
}

.prose-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--ink-muted);
  max-width: 680px;
}

.prose-body li {
  margin-bottom: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface-white);
  border-top: 1px solid var(--rule-strong);
  padding: 68px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Lightbox & Cookie Banner */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(17, 17, 17, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 86vh;
  transform: scale(0.97);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.16s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
}

.lightbox-counter {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--surface-white);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lightbox .gallery-prev {
  left: 24px;
}

.lightbox .gallery-next {
  right: 24px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 850;
  background: var(--surface-white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cookie-inner p {
  font-size: 13.5px;
  color: var(--ink-muted);
  max-width: 780px;
}

.cookie-inner a {
  color: var(--ink);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .hero-split,
  .panels-2,
  .detail-layout,
  .asymmetric-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .aside-sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .container,
  .header-inner {
    padding: 0 20px;
  }

  .header-inner {
    height: 80px;
  }

  .brand-logo {
    height: 48px;
  }

  .nav-list,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .section,
  .section-neutral,
  .hero-section {
    padding: 56px 0;
  }

  .section-header,
  .page-banner-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-grid,
  .featured-grid,
  .filter-grid,
  .form-grid-2,
  .dims-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .sheet-spec-cell:nth-child(1),
  .sheet-spec-cell:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }

  .sheet-spec-cell:nth-child(2) {
    border-right: 0;
  }

  .panel,
  .panel-tinted,
  .detail-card {
    padding: 26px 22px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 20px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
}
