

/* ============================================
   HERO — STRICT 100dvh
   ============================================ */
.hero-warehouse {
  position: relative;
  height: 100dvh;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 75px var(--container-padding) 1.5rem;
  overflow: hidden;
}

/* Background Layers */
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg-image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 51%;
  opacity: 0.25;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.8) 0%, rgba(10,10,12,0.95) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at 50% 45%, black 25%, transparent 75%);
  pointer-events: none; z-index: 2;
}

.jp-watermark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 12rem);
  color: rgba(255,255,255,0.025);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  pointer-events: none; user-select: none;
  white-space: nowrap; z-index: 2;
  letter-spacing: 12px;
}

/* Hero Content */
.hero-content {
  position: relative; z-index: 10;
  max-width: 850px; width: 100%;
  text-align: center; padding: 0 0.5rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-condensed); font-size: 0.9rem; font-weight: 600;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 0.8rem;
  opacity: 0; animation: fadeInUp 0.7s var(--ease-out-expo) 0.2s forwards;
}
.badge-line, .badge-dot { display: inline-block; background: var(--accent-red); }
.badge-line { width: 30px; height: 2px; }
.badge-dot  { width: 5px;  height: 5px; border-radius: 50%; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  line-height: 0.92; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.title-line {
  display: block; opacity: 0; transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}
.title-line[data-delay="0"] { animation-delay: 0.4s; }
.title-line[data-delay="1"] { animation-delay: 0.55s; }
.title-line[data-delay="2"] { animation-delay: 0.7s; }
.title-line.highlight {
  color: var(--accent-red-light);
  text-shadow: 0 0 30px var(--accent-red-glow);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-secondary); max-width: 650px;
  margin: 0 auto 1.2rem; line-height: 1.6;
  opacity: 0; animation: fadeInUp 0.8s var(--ease-out-expo) 0.9s forwards;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 500; }

.hero-cta-group {
  display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeInUp 0.8s var(--ease-out-expo) 1.1s forwards;
}

/* ============================================
   BUTTONS (index-specific, integrano shared)
   ============================================ */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 2rem; font-family: var(--font-condensed);
  font-size: 1.1rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; text-decoration: none; border-radius: 4px;
  cursor: pointer; transition: var(--transition-base); border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-red); color: #fff;
  box-shadow: 0 4px 20px rgba(198,40,40,0.3);
}
.btn-primary:hover {
  background: var(--accent-red-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.btn-secondary:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-secondary);
}
.btn-large { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: absolute;
  padding-top: 2rem;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--text-tertiary);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
  opacity: 0; animation: fadeIn 0.6s var(--ease-out-expo) 1.5s forwards;
  z-index: 80;
}
.mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--text-tertiary);
  border-radius: 16px; position: relative;
}
.wheel {
  width: 3px; height: 6px;
  background: var(--accent-red); border-radius: 2px;
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 2s ease-in-out infinite;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  position: relative; z-index: 30;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem var(--container-padding);
}
.stats-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; justify-content: center; align-items: center; gap: 3rem;
}
.stat-item {
  text-align: center; display: flex;
  flex-direction: column; gap: 0.3rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem; color: var(--accent-red-light);
  line-height: 1; letter-spacing: 1px;
}
.stat-label {
  font-family: var(--font-condensed); font-size: 0.85rem;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 500;
}
.stat-divider { width: 1px; height: 40px; background: var(--border-default); }

/* ============================================
   SECTIONS BASE
   ============================================ */
.section {
  padding: var(--section-padding) var(--container-padding);
  position: relative;
}
.container { max-width: var(--container-max); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-label {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--font-condensed); font-size: 0.95rem;
  font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 1.2rem;
}
.label-bar { width: 35px; height: 2px; background: var(--accent-red); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95; text-transform: uppercase; letter-spacing: 1px;
}
.outline { -webkit-text-stroke: 1px var(--text-primary); color: transparent; }

.section-footer { text-align: center; margin-top: 3.5rem; }

/* ============================================
   FEATURED CARS
   ============================================ */
.featured-cars { background: var(--bg-secondary); }

.car-grid-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--grid-gap);
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--grid-gap); margin: 2rem 0;
}

/* Dynamic grid based on car count */
.featured-cars .car-grid:has(> .car-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 440px; margin-left: auto; margin-right: auto;
}
.featured-cars .car-grid:has(> .car-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px; margin-left: auto; margin-right: auto;
}
.featured-cars .car-grid:has(> .car-card:nth-child(3)) {
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
}

/* Car card */
.car-card {
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  opacity: 0; transform: translateY(30px);
}
.car-card.visible { opacity: 1; transform: translateY(0); }
.car-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-red);
}
.car-card__media {
  position: relative; height: 240px;
  background: linear-gradient(135deg, #1a1a22, #14141a);
  overflow: hidden;
}
.car-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.car-card:hover .car-card__img { transform: scale(1.08); }

.car-card__badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  padding: 0.4rem 1rem; background: var(--accent-red); color: #fff;
  font-family: var(--font-condensed); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.8px; border-radius: 4px; z-index: 2;
}
.car-card__badge.commission {
  background: transparent; border: 1px solid var(--accent-red); color: var(--accent-red);
}
.car-badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.4rem 0.9rem; border-radius: 4px;
  font-family: var(--font-condensed); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  background: rgba(198,40,40,0.75); color: #fff;
  border: 1px solid rgba(255,82,82,0.6);
}
.car-card__origin {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(10,10,12,0.9); color: var(--text-primary);
  padding: 0.4rem 0.8rem; border-radius: 4px;
  font-family: var(--font-condensed); font-size: 0.8rem; font-weight: 500;
}
.car-card__content { padding: 1.8rem; }
.car-card__title {
  font-family: var(--font-display); font-size: 1.8rem;
  margin-bottom: 0.5rem; letter-spacing: 0.5px;
}
.car-card__meta {
  font-family: var(--font-condensed); color: var(--text-tertiary);
  font-size: 1rem; margin-bottom: 1.2rem;
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.car-card__meta span { margin-right: 1rem; }
.car-card__meta .sep { color: var(--border-default); margin-right: 0; }
.car-card__desc {
  color: var(--text-secondary); font-size: 0.95rem;
  line-height: 1.6; margin-bottom: 1.2rem;
}
.car-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.2rem; border-top: 1px solid var(--border-subtle);
}
.car-price {
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--accent-red-light);
}
.car-card__price {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--accent-red-light); letter-spacing: 0.5px;
}
.car-card__price.on-request {
  font-size: 1rem; color: var(--text-secondary);
  font-family: var(--font-condensed); font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px;
}
.car-action {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
  transition: var(--transition-fast);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.car-action:hover { color: var(--accent-red); }
.btn-contact {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; background: transparent; color: var(--text-primary);
  text-decoration: none; font-family: var(--font-condensed); font-size: 0.85rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  border-radius: 6px; border: 1px solid var(--border-default); cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-contact:hover { border-color: var(--accent-red); background: rgba(198,40,40,0.1); }

/* State cards */
.catalog-state {
  text-align: center; padding: 4rem 2rem;
  background: var(--bg-card); border: 2px dashed var(--border-subtle);
  border-radius: 12px; margin: 2rem 0;
}
.catalog-state__icon { color: var(--text-muted); margin-bottom: 1.5rem; opacity: 0.6; }
.catalog-state__icon.error-icon { color: var(--accent-red-light); opacity: 0.8; }
.catalog-state__title {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--text-primary); margin-bottom: 1rem; letter-spacing: 1px;
}
.catalog-state__text {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7;
  max-width: 600px; margin: 0 auto 2rem;
}
.catalog-state__text strong { color: var(--text-primary); }
.state-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.error-state { border-color: rgba(198,40,40,0.3); background: rgba(198,40,40,0.04); }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us { background: var(--bg-primary); }

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.why-content .section-title { text-align: left; margin-bottom: 3rem; }

.features-list {
  display: flex; flex-direction: column; gap: 2.2rem; margin-bottom: 3rem;
}
.feature-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  background: rgba(198,40,40,0.12); border: 1px solid var(--border-subtle);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--accent-red-light);
}
.feature-item h3 {
  font-family: var(--font-condensed); font-size: 1.3rem;
  margin-bottom: 0.5rem; font-weight: 600;
}
.feature-item p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

.feature-item--no-icon {
  border-left: 3px solid var(--accent-red);
  padding-left: 1.5rem;
}
.feature-item--no-icon h3 {
  font-family: var(--font-condensed); font-size: 1.3rem;
  margin-bottom: 0.5rem; font-weight: 600;
}
.feature-item--no-icon p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

/* Image Stack */
.why-image { position: relative; }
.image-stack {
  position: relative; border-radius: 12px; overflow: visible;
  padding-top: 120px; padding-right: 40px; padding-bottom: 0;
}
.image-stack img { width: 100%; display: block; border-radius: 12px; }
.image-stack img:first-child { object-fit: cover; object-position: center 65%; }
.image-stack .stacked {
  position: absolute; bottom: -40px; right: -30px;
  width: 60%; border: 4px solid var(--bg-primary);
  border-radius: 12px; box-shadow: var(--shadow-md);
  object-fit: cover; object-position: center bottom;
}
.why-image--constrained { align-self: bottom; padding-top: 60px; }
.why-image--constrained .transparency-img {
  width: 100%; height: 420px;
  object-fit: cover; object-position: center bottom;
  border-radius: 12px; box-shadow: var(--shadow-lg); display: block;
}

/* Garage 52 Partnership box */
.garage52-partnership {
  background: linear-gradient(135deg, rgba(198,40,40,0.08), rgba(15,15,19,0.6));
  border: 1px solid var(--border-default); border-left: 4px solid var(--accent-red);
  border-radius: 12px; padding: 2rem; margin-top: 2.5rem;
}
.garage52-partnership h4 {
  font-family: var(--font-display); font-size: 1.6rem;
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem;
}
.garage52-partnership h4::before { content: '🤝'; font-size: 1.8rem; }
.garage52-partnership p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.garage52-partnership ul {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
.garage52-partnership li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-secondary); font-size: 0.95rem; }
.garage52-partnership li::before { content: '✓'; color: var(--accent-red); font-weight: 700; }

/* ============================================
   GARAGE 52 SPLIT SECTION
   ============================================ */
.g52-section { overflow: hidden; }
.g52-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.g52-split__content { display: flex; flex-direction: column; gap: 0; }
.g52-split__content .section-label { margin-bottom: 1.5rem; }
.g52-split__content .g52-logo-wrap { margin-bottom: 1.8rem; }
.g52-split__desc {
  color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 1.8rem; font-size: 1.05rem;
}
.g52-split__list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem; margin-bottom: 2.5rem;
}
.g52-split__list li {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text-secondary); font-size: 0.95rem;
  font-family: var(--font-condensed); font-weight: 500; letter-spacing: 0.2px;
}
.g52-split__list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent-red); border-radius: 50%; flex-shrink: 0;
}
.g52-split__quote {
  border-left: 3px solid var(--accent-red); padding: 1rem 1.5rem;
  margin: 0 0 2.5rem; color: var(--text-secondary);
  font-style: italic; font-size: 1rem; line-height: 1.7;
  background: rgba(198,40,40,0.05); border-radius: 0 6px 6px 0;
}
.g52-split__image {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3/2; background: transparent;
}
.g52-split__image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.8s var(--ease-out-expo);
}
.g52-split__image:hover img { transform: scale(1.04); }

/* G52 Logo */
.g52-logo-wrap {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.g52-logo-main { height: 72px; width: auto; object-fit: contain; filter: brightness(1.1) contrast(1.05); }
.g52-logo-divider { width: 1px; height: 46px; background: var(--border-default); flex-shrink: 0; }
.g52-logo-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.g52-logo-meta__label {
  font-family: var(--font-condensed); font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2px; font-weight: 600;
}
.g52-logo-meta__name {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--text-primary); line-height: 1; letter-spacing: 1px;
}

/* Aspect-ratio overrides per pagina */
.g52-section--index     .g52-split__image { aspect-ratio: 3/2; }
.g52-section--index     .g52-split__image img { object-position: center 50%; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative; background: var(--bg-secondary);
  padding: var(--section-padding) var(--container-padding); text-align: center;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(198,40,40,0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(198,40,40,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 1px; margin-bottom: 1.2rem;
}
.cta-text { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2.5rem; }
.cta-group--centered { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { to { opacity: 1; } }
@keyframes mouseWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.4; transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   ██████╗ ███████╗███████╗██████╗  ██████╗ ███╗   ██╗███████╗
   ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔═══██╗████╗  ██║██╔════╝
   ██████╔╝█████╗  ███████╗██████╔╝██║   ██║██╔██╗ ██║███████╗
   ██╔══██╗██╔══╝  ╚════██║██╔═══╝ ██║   ██║██║╚██╗██║╚════██║
   ██║  ██║███████╗███████║██║     ╚██████╔╝██║ ╚████║███████║
   ╚═╝  ╚═╝╚══════╝╚══════╝╚═╝      ╚═════╝ ╚═╝  ╚═══╝╚══════╝
   ============================================================ */


/* ============================================
   1280px — Large desktop
   Gap ridotti, spacing leggero
   ============================================ */
@media (max-width: 1280px) {
  :root {
    --container-padding: 1.8rem;
    --grid-gap: 1.8rem;
  }

  .why-grid { gap: 4rem; }
  .g52-split { gap: 4rem; }

  .hero-title { font-size: clamp(2.4rem, 6vw, 4rem); }

  .stats-inner { gap: 2.5rem; }
}


/* ============================================
   1100px — Tablet landscape
   Two-column → single, hero compatta
   ============================================ */
@media (max-width: 1100px) {
  :root {
    --container-padding: 1.6rem;
    --grid-gap: 1.6rem;
  }

  /* Hero */
  .hero-warehouse { padding-top: 70px; }
  .hero-title { font-size: clamp(2.2rem, 6vw, 3.8rem); }
  .hero-subtitle { font-size: 1rem; }

  /* Stats */
  .stats-inner { gap: 2rem; }
  .stat-number { font-size: 2.1rem; }

  /* Why-grid: colonna singola */
  .why-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .why-content .section-title { text-align: left; }
  .why-image { order: -1; }

  /* G52 split */
  .g52-split { grid-template-columns: 1fr; gap: 3rem; }
  .g52-split__image { aspect-ratio: 16/9; order: -1; }
  .g52-split__list { grid-template-columns: 1fr; }

  /* Car grids: 2 colonne */
  .car-grid-preview { grid-template-columns: repeat(2, 1fr); }
  .featured-cars .car-grid:has(> .car-card:nth-child(3)) {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  /* Garage 52 partnership ul */
  .garage52-partnership ul { grid-template-columns: 1fr; }
}


/* ============================================
   900px — Tablet portrait
   ============================================ */
@media (max-width: 900px) {
  /* Hero */
  .hero-warehouse {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    padding: 70px var(--container-padding) 2rem;
  }
  .hero-title { font-size: clamp(2rem, 8vw, 3.2rem); margin-bottom: 0.7rem; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1rem; }
  .jp-watermark { font-size: clamp(3rem, 10vw, 7rem); opacity: 0.015; }
  .scroll-indicator { position: relative; padding-top: 1.5rem; left: auto; transform: none; margin: 0 auto; }

  /* Stats */
  .stats-bar { padding: 2rem var(--container-padding); }
  .stats-inner { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 40px; height: 1px; }
  .stat-number { font-size: 2rem; }

  /* Section */
  .section-title { font-size: clamp(2.2rem, 7vw, 3.5rem); }

  /* Car grid */
  .car-grid-preview { grid-template-columns: repeat(2, 1fr); }
  .featured-cars .car-grid:has(> .car-card:nth-child(3)) {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why */
  .features-list { gap: 1.8rem; margin-bottom: 2rem; }
  .image-stack { padding-top: 0; padding-right: 0; }
  .image-stack .stacked { display: none; }

  /* CTA */
  .cta-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
}


/* ============================================
   768px — Mobile landscape / piccoli tablet
   ============================================ */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.2rem;
    --grid-gap: 1.2rem;
    --section-padding: clamp(3rem, 7vw, 5rem);
  }

  /* Hero */
  .hero-warehouse { padding: 68px var(--container-padding) 1.5rem; }
  .hero-title { font-size: clamp(1.9rem, 9vw, 3rem); line-height: 0.95; }
  .hero-badge { font-size: 0.8rem; letter-spacing: 2px; }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 1rem; }
  .hero-cta-group { gap: 0.6rem; }
  .btn-large { padding: 0.85rem 1.6rem; font-size: 0.95rem; }
  .scroll-indicator{display: none;}


  /* Stats */
  .stats-bar { padding: 1.8rem var(--container-padding); }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.78rem; }

  /* Sections */
  .section { padding: 3rem var(--container-padding); }
  .section-header { margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.9rem, 8vw, 3rem); }

  /* Car grid: colonna singola */
  .car-grid-preview { grid-template-columns: 1fr; }
  .car-grid { grid-template-columns: 1fr; }
  .featured-cars .car-grid:has(> .car-card:nth-child(2):last-child),
  .featured-cars .car-grid:has(> .car-card:nth-child(3)) {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .car-card__media { height: 210px; }
  .car-card__content { padding: 1.3rem; }
  .car-card__title { font-size: 1.5rem; }
  .car-card__footer { flex-wrap: wrap; gap: 0.6rem; }

  /* Why */
  .why-content .section-title { text-align: left; margin-bottom: 1.5rem; }
  .features-list { gap: 1.5rem; margin-bottom: 1.5rem; }
  .feature-item--no-icon { padding-left: 1.2rem; }
  .why-image--constrained { padding-top: 0; }
  .why-image--constrained .transparency-img { height: 240px; }

  /* G52 */
  .g52-logo-main { height: 52px; }
  .g52-logo-divider { display: none; }
  .g52-split__image { aspect-ratio: 4/3; }
  .g52-split__quote { padding: 0.8rem 1rem; font-size: 0.9rem; }

  /* Garage52 box */
  .garage52-partnership { padding: 1.5rem; }
  .garage52-partnership h4 { font-size: 1.3rem; }
  .garage52-partnership h4::before { font-size: 1.4rem; }

  /* CTA */
  .cta-text { font-size: 1rem; margin-bottom: 1.8rem; }
  .cta-group--centered { flex-direction: column; align-items: stretch; }
  .cta-group--centered .btn-primary,
  .cta-group--centered .btn-secondary { width: 100%; justify-content: center; }

  /* State */
  .catalog-state { padding: 3rem 1.5rem; }
  .catalog-state__title { font-size: 1.6rem; }
  .state-actions { flex-direction: column; align-items: stretch; }
  .state-actions .btn-primary,
  .state-actions .btn-secondary { justify-content: center; }
}


/* ============================================
   480px — Mobile portrait standard
   ============================================ */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --grid-gap: 1rem;
  }

  /* Hero */
  .hero-warehouse { padding: 65px var(--container-padding) 1rem; }
  .hero-title { font-size: clamp(1.7rem, 10vw, 2.6rem); letter-spacing: 1px; }
  .hero-badge { font-size: 0.72rem; gap: 0.5rem; }
  .badge-line { width: 22px; }
  .hero-subtitle { font-size: 0.88rem; line-height: 1.6; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-ghost { width: 100%; justify-content: center; font-size: 0.95rem; }
  .scroll-indicator { display: none; }
  .jp-watermark { display: none; }

  /* Stats */
  .stats-bar { padding: 1.5rem var(--container-padding); }
  .stat-number { font-size: 1.7rem; }
  .stat-label { font-size: 0.72rem; letter-spacing: 1px; }

  /* Section */
  .section { padding: 2.8rem var(--container-padding); }
  .section-title { font-size: clamp(1.7rem, 9vw, 2.8rem); }
  .section-label { font-size: 0; }
  .section-label span { font-size: 0.75rem; }
  .section-header { margin-bottom: 1.8rem; }

  /* Car card */
  .car-card__media { height: 190px; }
  .car-card__content { padding: 1.1rem; }
  .car-card__title { font-size: 1.4rem; }
  .car-price, .car-card__price { font-size: 1.3rem; }

  /* Why */
  .feature-item { gap: 1rem; }
  .feature-icon { width: 44px; height: 44px; border-radius: 8px; }
  .feature-item h3,
  .feature-item--no-icon h3 { font-size: 1.15rem; }
  .feature-item p,
  .feature-item--no-icon p { font-size: 0.95rem; }

  /* G52 */
  .g52-logo-main { height: 44px; }
  .g52-split__image { aspect-ratio: 16/9; }
  .g52-split__quote { display: none; }
  .g52-split__list { gap: 0.5rem; }

  /* Garage52 box */
  .garage52-partnership { padding: 1.2rem; }
  .garage52-partnership ul { grid-template-columns: 1fr; gap: 0.6rem; }

  /* CTA */
  .cta-title { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .cta-text { font-size: 0.93rem; }

  /* State */
  .catalog-state { padding: 2.5rem 1rem; }
  .catalog-state__title { font-size: 1.4rem; }
  .catalog-state__text { font-size: 0.92rem; }
}


/* ============================================
   360px — Mobile piccolo (Galaxy S, iPhone SE)
   ============================================ */
@media (max-width: 360px) {
  :root {
    --container-padding: 0.85rem;
    --grid-gap: 0.85rem;
  }
  .scroll-indicator{display: none;}
  .hero-warehouse { padding: 62px var(--container-padding) 0.8rem; }
  .hero-title { font-size: clamp(1.5rem, 11vw, 2.2rem); letter-spacing: 0.5px; }
  .hero-badge { display: none; }
  .hero-subtitle { font-size: 0.85rem; }

  .stats-bar { padding: 1.2rem var(--container-padding); }
  .stat-number { font-size: 1.5rem; }
  .stat-divider { display: none; }
  .stats-inner { gap: 1.2rem; }

  .section { padding: 2.5rem var(--container-padding); }
  .section-title { font-size: clamp(1.5rem, 10vw, 2.4rem); }

  .car-card__media { height: 170px; }
  .car-card__content { padding: 0.9rem; }
  .car-card__title { font-size: 1.25rem; }

  .g52-logo-main { height: 38px; }

  .garage52-partnership { padding: 1rem; }
  .garage52-partnership h4 { font-size: 1.15rem; }
  .garage52-partnership h4::before { display: none; }

  .cta-title { font-size: clamp(1.4rem, 10vw, 2rem); }
  .cta-group--centered .btn-primary,
  .cta-group--centered .btn-secondary { font-size: 0.85rem; padding: 0.75rem 1.2rem; }
}


/* ============================================
   LANDSCAPE MOBILE (altezza ridotta)
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-warehouse {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    padding: 65px var(--container-padding) 1rem;
    justify-content: center;
  }
  .hero-title { font-size: clamp(1.6rem, 5vh, 2.8rem); margin-bottom: 0.4rem; }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 0.8rem; }
  .hero-badge { margin-bottom: 0.4rem; }
  .scroll-indicator { display: none; }
  .stats-bar { padding: 1.2rem var(--container-padding); }
  .stats-inner { flex-direction: row; gap: 2rem; }
  .stat-divider { width: 1px; height: 30px; }
}


/* ============================================
   PRINT
   ============================================ */
@media print {
  .hero-warehouse .hero-bg,
  .hero-grid, .jp-watermark,
  .scroll-indicator, .stats-bar,
  .cta-section, .btn-primary, .btn-secondary,
  .btn-ghost, .hero-cta-group { display: none !important; }

  body { background: #fff; color: #000; }
  .hero-warehouse { min-height: 0; height: auto; padding: 2rem 1rem; background: #f9f9f9; }
  .hero-content { max-width: 100%; }
  .hero-title { color: #000; font-size: 2.5rem; }
  .hero-subtitle { color: #333; }
  .section { padding: 1.5rem 0; }
  .section-title, .cta-title { color: #000; -webkit-text-stroke: none; }
  .outline { color: #000; -webkit-text-stroke: none; }
  .car-card { break-inside: avoid; border: 1px solid #ddd; }
  .car-card__media { height: 160px; }
  a { color: inherit; text-decoration: none; }
}

body::before { z-index: 100 !important; }