/* ==========================================================================
   MB MOTORSPORT — ULTRA LUXURY 3D INTERACTIVE 4K EDITION
   Universal Responsive System (320px -> 3840px 4K), 3D Depth Motion,
   Business & VIP Concierge Experience, Symmetrical Bento Financing
   ========================================================================== */

/* 0. UNIVERSAL MULTI-DEVICE & 4K FLUID CONTAINER SYSTEM */
:root {
  --container: min(96vw, 1780px);
}

@media (min-width: 1600px) {
  :root {
    --container: min(95vw, 1860px);
  }
}

@media (min-width: 2200px) {
  :root {
    --container: min(94vw, 2160px);
  }
  html {
    font-size: 17px;
  }
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 36px);
  box-sizing: border-box;
}

/* 1. SPOTLIGHT SHOWROOM CURSOR GLOW & 3D TILT ENGINE */
.car-card,
.concierge-card,
.finance-bento-left,
.showroom-card,
.finder-band,
.section-stats-luxury .stat {
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --rx: 0deg;
  --ry: 0deg;
}

.car-card {
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.car-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(255, 255, 255, 0.22),
    transparent 62%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .car-card:hover::before {
    opacity: 1;
  }
  .car-card:hover {
    border-color: #ffffff !important;
    box-shadow: 0 24px 48px -14px rgba(15, 23, 42, 0.25), 0 0 0 1.5px #ffffff, 0 0 24px rgba(255, 255, 255, 0.7), 0 0 45px rgba(255, 255, 255, 0.3) !important;
  }

  [data-luxury-tilt] {
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    will-change: transform;
  }
}

/* 2. SMART PILLS BAR (Instant Filter Strip on Catalog) */
.smart-pills-section {
  padding: 14px 0 8px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, transparent 100%);
}
.smart-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.smart-pills-bar::-webkit-scrollbar {
  display: none;
}
.smart-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.smart-pill:hover {
  border-color: #e31b23;
  color: #e31b23;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(227, 27, 35, 0.12);
}
.smart-pill.is-active {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  border-color: #0b1120;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11, 17, 32, 0.24);
}

/* 3. STICKY GLASSMORPHISM BAR (Car Detail Page) */
.sticky-glass-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 0;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.sticky-glass-bar.is-visible {
  transform: translateY(0);
}
.sticky-glass-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-glass-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.sticky-glass-thumb {
  width: 52px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.sticky-glass-title {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-glass-price {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ef4444;
}
.sticky-glass-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   4. ANIMATED FINANCING DONUT RING (HIGH-CONTRAST ON DARK CARBON)
   ========================================================================== */
.calc-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.calc-result-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.calc-result-head-left > span {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
#finanziamento .calc {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 22px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 24px !important;
  padding: 28px !important;
  box-shadow: 0 20px 48px -20px rgba(15, 23, 42, 0.12) !important;
}
.calc-result .big {
  font-size: clamp(2rem, 2.8vw, 2.6rem) !important;
}
.calc-donut-chart {
  position: relative;
  width: 86px;
  height: 86px;
  flex-shrink: 0;
}
.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14) !important;
  stroke-width: 3.6;
}
.donut-segment {
  fill: none;
  stroke: #ef4444 !important;
  stroke-width: 3.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.55));
  transition: stroke-dasharray 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.donut-center-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.donut-center-label span {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.donut-center-label small {
  font-size: 0.58rem;
  font-weight: 700;
  color: #94a3b8 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ==========================================================================
   5. MB MOTORSPORT CINEMATIC MAC-STYLE 3D SHOWROOM HERO (4K PARALLAX)
   ========================================================================== */
.hero.hero-cinematic {
  position: relative;
  min-height: clamp(560px, 84vh, 880px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 56px 0 76px;
  background: #090a0f;
}
.hero-cinematic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-cinematic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.06) translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.94) contrast(1.08) saturate(1.05);
  will-change: transform;
}
.hero-bokeh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}
.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(9, 10, 15, 0.92) 0%,
      rgba(9, 10, 15, 0.52) 34%,
      rgba(9, 10, 15, 0.74) 76%,
      #090a0f 100%),
    radial-gradient(circle at 50% 78%, rgba(227, 27, 35, 0.18) 0%, transparent 62%);
}
.hero-cinematic-container {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero-glass-card {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  background: rgba(11, 17, 32, 0.76);
  backdrop-filter: blur(30px) saturate(185%);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 40px 46px;
  box-shadow:
    0 34px 90px -16px rgba(0, 0, 0, 0.88),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  text-align: center;
  box-sizing: border-box;
  transform: perspective(1300px) rotateX(var(--hero-rx, 0deg)) rotateY(var(--hero-ry, 0deg));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: #e2e8f0;
}
.hero-pill-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  flex-shrink: 0;
}
.hero-pill-badge .pill-tag {
  background: rgba(227, 27, 35, 0.25);
  border: 1px solid rgba(227, 27, 35, 0.45);
  color: #fca5a5;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.76rem;
}

.hero-main-title {
  font-size: clamp(1.9rem, 3.8vw, 3.05rem);
  font-weight: 850;
  line-height: 1.13;
  letter-spacing: -0.028em;
  color: #ffffff;
  margin: 0 0 14px;
}
.hero-main-title .hero-brand-red {
  color: #ef4444 !important;
  background: linear-gradient(135deg, #fecaca 0%, #ef4444 52%, #dc2626 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.hero-sub-text {
  font-size: clamp(0.92rem, 1.35vw, 1.08rem);
  line-height: 1.58;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 26px;
}

/* Barra di Ricerca Stile Mac */
.hero-search-wrapper {
  margin-bottom: 20px;
}
.hero-mac-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 7px 8px 7px 18px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}
.hero-mac-search-form:focus-within {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.26), 0 16px 36px -8px rgba(0, 0, 0, 0.65);
  background: rgba(15, 23, 42, 0.98);
}
.mac-search-icon {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
}
.hero-mac-search-form input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: #ffffff;
  min-width: 0;
}
.hero-mac-search-form input[type="search"]::placeholder {
  color: #94a3b8;
}
.btn-mac-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
  flex-shrink: 0;
}
.btn-mac-search .icon {
  width: 16px;
  height: 16px;
}

.hero-quick-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 24px;
}
.quick-pills-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-right: 4px;
}
.hero-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-quick-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.2s ease;
}
.hero-trust-item[data-open-controlli]:hover {
  color: #ffffff;
}
.hero-trust-item .icon {
  width: 15px;
  height: 15px;
  color: #22c55e;
  flex-shrink: 0;
}
.hero-trust-item:last-child .icon {
  color: #f59e0b;
}

/* Scroll Cue Indicator */
.hero-scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}
.hero-scroll-cue:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%) translateY(-2px);
}
.scroll-mouse {
  width: 14px;
  height: 21px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  position: relative;
  display: inline-block;
}
.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 3px;
  height: 5px;
  margin-left: -1.5px;
  border-radius: 999px;
  background: #ef4444;
  animation: heroScrollWheel 1.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes heroScrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  75% { transform: translateY(7px); opacity: 0.15; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   6. VIP WELCOME DOCK ("BENTORNATO! VISTI DI RECENTE") — MAC PLATINUM CARD
   Fixes pastel pink/green clash seen in tablet/desktop view
   ========================================================================== */
.for-you {
  padding: 26px 0 8px !important;
  background: #f8fafc;
}
.for-you .container {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 24px !important;
  padding: 22px 26px !important;
  box-shadow: 0 18px 45px -20px rgba(15, 23, 42, 0.14), inset 0 1px 0 #ffffff !important;
  max-width: calc(var(--container) - 32px);
}

/* ==========================================================================
   7. BUSINESS & VIP CONCIERGE SECTION (4-PILLAR 3D CARBON BENTO)
   ========================================================================== */
.section-concierge {
  position: relative;
  background:
    radial-gradient(circle at 18% 15%, rgba(227, 27, 35, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 82% 85%, rgba(59, 130, 246, 0.10) 0%, transparent 48%),
    linear-gradient(180deg, #090b12 0%, #0d1322 50%, #090b12 100%);
  color: #ffffff;
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.concierge-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}
.concierge-head .eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(227, 27, 35, 0.16);
  border: 1px solid rgba(227, 27, 35, 0.38);
  color: #fca5a5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.concierge-head h2 {
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 12px;
}
.concierge-sub {
  color: #94a3b8;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

.concierge-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.concierge-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 26px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.concierge-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(255, 255, 255, 0.11),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .concierge-card:hover {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 26px 55px -16px rgba(0, 0, 0, 0.8), 0 0 28px -8px rgba(227, 27, 35, 0.28);
  }
  .concierge-card:hover::after {
    opacity: 1;
  }
}
.concierge-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.concierge-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.concierge-icon-wrap.is-red {
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(227, 27, 35, 0.38);
  color: #f87171;
}
.concierge-icon-wrap.is-blue {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.38);
  color: #60a5fa;
}
.concierge-icon-wrap.is-amber {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fbbf24;
}
.concierge-icon-wrap.is-emerald {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.38);
  color: #34d399;
}
.concierge-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  white-space: nowrap;
}
.concierge-card h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 780;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.3;
}
.concierge-card p {
  color: #94a3b8;
  font-size: 0.89rem;
  line-height: 1.58;
  margin: 0 0 20px;
  flex: 1;
}
.concierge-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.concierge-link:hover {
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(227, 27, 35, 0.5);
}
.concierge-link .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.concierge-link:hover .icon {
  transform: translateX(3px);
}

/* ==========================================================================
   8. SYMMETRICAL BENTO FINANCING SECTION (#finanziamenti & #finanziamento)
   Fixes off-center layout, duration pill spacing, range track & dark donut
   ========================================================================== */
#finanziamenti {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 84px 0 !important;
}

#finanziamenti .finance-block {
  display: grid !important;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr) !important;
  gap: 32px !important;
  align-items: stretch !important;
}

/* Left Executive Carbon Card */
.finance-bento-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 88% 12%, rgba(227, 27, 35, 0.24) 0%, transparent 48%),
    linear-gradient(155deg, #0b1120 0%, #111827 58%, #162032 100%);
  color: #ffffff;
  border-radius: 26px;
  padding: 38px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 65px -20px rgba(11, 17, 32, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}
.finance-bento-left .eyebrow {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(227, 27, 35, 0.4);
  color: #fca5a5 !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.finance-bento-left h2 {
  color: #ffffff !important;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 820;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.finance-bento-left .finance-lead {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

.finance-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.finance-kpi-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
}
.finance-kpi-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.finance-kpi-item span {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.25;
}

.finance-bento-left .finance-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.finance-bento-left .finance-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #e2e8f0;
}
.finance-bento-left .finance-check-list li strong {
  color: #ffffff;
}
.finance-bento-left .finance-check-list li .icon {
  width: 18px;
  height: 18px;
  color: #34d399 !important;
  flex-shrink: 0;
  margin-top: 2px;
}
.finance-bento-cta {
  margin-top: auto;
  padding-top: 8px;
}
.finance-bento-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 750;
  box-sizing: border-box;
}

/* Right Interactive Simulator Card (.calc-bento-right) */
#finanziamenti .calc.calc-bento-right {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 26px !important;
  padding: 32px !important;
  box-shadow: 0 28px 65px -22px rgba(15, 23, 42, 0.14) !important;
  box-sizing: border-box !important;
}

/* Client Profile Switcher (Privato / Business P.IVA) */
.calc-profile-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 18px;
}
.calc-profile-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.calc-profile-btn:hover {
  color: #0f172a;
}
.calc-profile-btn.is-active {
  background: #0b1120;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 17, 32, 0.2);
}

.calc-biz-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.05) 0%, rgba(227, 27, 35, 0.06) 100%);
  border: 1px solid rgba(227, 27, 35, 0.24);
  color: #1e293b;
  font-size: 0.81rem;
  line-height: 1.45;
}
.calc-biz-banner[hidden] {
  display: none !important;
}
.calc-biz-banner p {
  margin: 0;
}
.calc-biz-banner .biz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e31b23;
  box-shadow: 0 0 8px rgba(227, 27, 35, 0.6);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Tactile Luxury Range Sliders (Mac / Porsche Configurator Style) */
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #e31b23 0%,
    #ef4444 var(--range-pct, 25%),
    #e2e8f0 var(--range-pct, 25%),
    #e2e8f0 100%
  );
  outline: none;
  cursor: pointer;
  margin: 6px 0 2px;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e31b23;
  box-shadow: 0 3px 10px rgba(227, 27, 35, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: grab;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.calc input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 5px 14px rgba(227, 27, 35, 0.5);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e31b23;
  box-shadow: 0 3px 10px rgba(227, 27, 35, 0.35);
  cursor: grab;
}

/* Full-Width Equal Segmented Duration Control (No empty gap on right!) */
#hc-durate {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  padding: 5px !important;
  background: #f1f5f9 !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}
#c-dur {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  padding: 5px !important;
  background: #f1f5f9 !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}
#hc-durate label,
#c-dur label {
  margin: 0 !important;
  width: 100% !important;
}
#hc-durate label span,
#c-dur label span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 9px 6px !important;
  border-radius: 10px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #475569 !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
}
#hc-durate input:checked + span,
#c-dur input:checked + span {
  background: #ffffff !important;
  color: #e31b23 !important;
  border-color: rgba(227, 27, 35, 0.3) !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08) !important;
}

/* Dark Carbon Result Box */
.calc-result {
  background: linear-gradient(160deg, #0d1324 0%, #090a0f 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#finanziamenti .calc-note {
  margin: 0 !important;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #64748b;
}

/* ==========================================================================
   9. LUXURY 3D FINDER BAND, STATS STRIP & SECONDARY PAGE HEROES
   ========================================================================== */
.finder-band {
  background:
    radial-gradient(circle at 90% 50%, rgba(227, 27, 35, 0.22) 0%, transparent 52%),
    linear-gradient(135deg, #0b1120 0%, #131c31 60%, #1a1118 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: 32px 36px !important;
  box-shadow: 0 24px 55px -18px rgba(11, 17, 32, 0.45) !important;
}
.finder-band h2 {
  color: #ffffff !important;
}
.finder-band p {
  color: #cbd5e1 !important;
}
.finder-band .finder-ico {
  background: rgba(227, 27, 35, 0.2) !important;
  border: 1px solid rgba(227, 27, 35, 0.42) !important;
  color: #f87171 !important;
}

/* 3D Luxury Stats Bento — Supercar 0 -> 100 Digital Odometer & Rev-Gauge */
.section-stats-luxury {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 27, 35, 0.13) 0%, transparent 55%),
    linear-gradient(180deg, #070a12 0%, #0c1221 55%, #080b14 100%) !important;
  padding: 56px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-stats-luxury .stats {
  gap: 20px !important;
}

.section-stats-luxury .stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 22px !important;
  padding: 22px 20px 20px !important;
  text-align: center !important;
  cursor: pointer;
  box-shadow:
    0 18px 40px -16px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease !important;
}

.section-stats-luxury .stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px circle at var(--mouse-x, 50%) var(--mouse-y, 20%),
    rgba(239, 68, 68, 0.20) 0%,
    rgba(255, 255, 255, 0.05) 45%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.section-stats-luxury .stat.is-counting {
  border-color: rgba(239, 68, 68, 0.42) !important;
  box-shadow:
    0 20px 44px -16px rgba(0, 0, 0, 0.75),
    0 0 26px -8px rgba(227, 27, 35, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

@keyframes statLockPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.045); }
  100% { transform: scale(1); }
}

.section-stats-luxury .stat.is-complete strong {
  animation: statLockPulse 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .section-stats-luxury .stat:hover {
    border-color: rgba(239, 68, 68, 0.5) !important;
    transform: translateY(-4px);
    box-shadow:
      0 24px 48px -14px rgba(0, 0, 0, 0.8),
      0 0 28px -8px rgba(227, 27, 35, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }
  .section-stats-luxury .stat:hover::before {
    opacity: 1;
  }
}

.stat-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #94a3b8;
}

.stat-kicker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  display: inline-block;
}

.section-stats-luxury .stat.is-complete .stat-kicker-dot {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.section-stats-luxury .stat strong {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 62%, #fca5a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(227, 27, 35, 0.22));
}

.section-stats-luxury .stat span {
  position: relative;
  z-index: 1;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 14px;
}

/* Supercar 0 -> 100 Tachometer Gauge Bar */
.stat-rev-track {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 210px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
}

.stat-rev-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #991b1b 0%, #e31b23 65%, #fca5a5 100%);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.85);
}

@media (max-width: 480px) {
  .section-stats-luxury .stat {
    padding: 18px 12px 16px !important;
  }
  .stat-kicker {
    font-size: 0.58rem;
    padding: 2px 8px;
  }
  .section-stats-luxury .stat strong {
    font-size: 1.65rem;
  }
  .section-stats-luxury .stat span {
    font-size: 0.8rem;
    margin-bottom: 11px;
  }
}

/* Cohesive Secondary Page Heroes (auto.html, confronta.html, contatti.html, etc.) */
.page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(227, 27, 35, 0.18) 0%, transparent 48%),
    linear-gradient(180deg, #0b1120 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.page-hero h1 {
  color: #ffffff !important;
}
.page-hero p,
.page-hero .muted {
  color: #cbd5e1 !important;
}
.page-hero .eyebrow {
  color: #fca5a5 !important;
}

/* Showroom Actions Balanced 3-Button Grid */
.showroom-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}
.showroom-actions .btn {
  width: 100% !important;
  padding: 11px 10px !important;
  font-size: 0.86rem !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   10. EXECUTIVE CAR DOSSIER BAR (On Car Detail Pages scheda.html / auto/*.html)
   ========================================================================== */
.exec-dossier-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0b1120 0%, #162032 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 16px 36px -14px rgba(11, 17, 32, 0.35);
}
.exec-dossier-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.exec-dossier-btn:hover {
  background: rgba(227, 27, 35, 0.88);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}
.exec-dossier-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   11. BRAND COLOR ASSOCIATIONS & FLOATING WIDGET ANTI-OVERLAP SYSTEM
   ========================================================================== */

/* Primary Action Buttons (MB Racing Red) */
.btn-primary, .btn-mac-search {
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 6px 18px -3px rgba(227, 27, 35, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  letter-spacing: -0.01em;
}
.btn-primary:hover, .btn-mac-search:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 10px 24px -2px rgba(227, 27, 35, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

/* Card Detail Button (Mac Dark Onyx with Red Edge Lift) */
.btn-card-detail {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 12px rgba(11, 17, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
}
.btn-card-detail:hover {
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px -3px rgba(227, 27, 35, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* WhatsApp Action Button (Brand Emerald Gem) */
.btn-wa, .btn-card-wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 750 !important;
  border-radius: 12px !important;
}
.btn-wa:hover, .btn-card-wa:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.car-price .price-rata {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

/* COMPACT NON-INTRUSIVE CONCIERGE ORB (.wa-float)
   Eliminates overlap over TAEG, Hero text & car cards on tablet/desktop! */
@media (min-width: 769px) {
  .chat-widget {
    right: 20px !important;
    bottom: 20px !important;
    z-index: 120 !important;
  }
  body.has-compare-bar .chat-widget {
    bottom: 96px !important;
  }
  .wa-float {
    min-height: 54px !important;
    height: 54px !important;
    padding: 8px !important;
    gap: 0 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }
  .wa-float .wa-float-label {
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    transition: max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
  }
  .wa-float:hover,
  .wa-float:focus-visible {
    padding: 8px 18px 8px 10px !important;
    gap: 10px !important;
  }
  .wa-float:hover .wa-float-label,
  .wa-float:focus-visible .wa-float-label {
    max-width: 200px !important;
    opacity: 1 !important;
  }
}

/* UNIVERSAL MAC DYNAMIC ISLAND COMPARE BAR (Desktop + Tablet + Mobile) */
body.has-compare-bar main {
  padding-bottom: 92px !important;
}
@media (min-width: 901px) {
  .compare-bar {
    left: 20px !important;
    right: 20px !important;
    bottom: 16px !important;
    max-width: 880px !important;
    margin: 0 auto !important;
    border-radius: 22px !important;
    background: rgba(11, 17, 32, 0.94) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 24px 55px -12px rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
  }
  .compare-bar-inner {
    min-height: 64px !important;
    padding: 8px 18px !important;
  }
  .compare-bar-close {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
  }
  .compare-bar-summary {
    color: #ffffff !important;
  }
  .compare-bar-items .cmp-chip {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f8fafc !important;
  }
  .compare-bar-actions .link-btn,
  .compare-bar-actions .compare-clear-btn {
    color: #cbd5e1 !important;
  }
}

/* ==========================================================================
   12. INTERACTIVE CONTROLS MODAL & CHECKLIST SHEET
   ========================================================================== */
.mac-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.mac-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.mac-modal-window {
  background: #ffffff;
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 28px;
  position: relative;
  box-sizing: border-box;
}
.mac-modal-backdrop.is-open .mac-modal-window {
  transform: scale(1) translateY(0);
}
.mac-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background 0.18s ease;
}
.mac-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS (TABLET, PHONES, ULTRA-SMALL 320px & REDUCED MOTION)
   ========================================================================== */
@media (max-width: 1120px) {
  .concierge-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .showroom-actions {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  #finanziamenti .finance-block {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 720px;
    margin-inline: auto;
    gap: 24px !important;
  }
  .finance-bento-left {
    padding: 30px 26px;
  }
  #finanziamenti .calc.calc-bento-right {
    padding: 26px 22px !important;
  }
  .exec-dossier-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.has-mobile-bottom-bar .chat-widget {
    display: none !important;
  }
  .hero.hero-cinematic {
    min-height: auto;
    padding: 24px 0 38px;
  }
  .hero-scroll-cue {
    display: none;
  }
  .hero-glass-card {
    padding: 24px 16px;
    border-radius: 22px;
    transform: none !important;
  }
  .hero-pill-badge {
    flex-wrap: wrap !important;
    justify-content: center !important;
    max-width: 100% !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    gap: 6px !important;
  }
  .hero-pill-badge .pill-text {
    max-width: 100%;
    white-space: normal;
  }
  .hero-mac-search-form {
    padding: 5px 6px 5px 12px;
  }
  .btn-mac-search {
    padding: 10px 16px;
    font-size: 0.86rem;
  }
  .hero-quick-pills {
    gap: 6px 8px;
  }
  .hero-quick-pill {
    padding: 6px 11px;
    font-size: 0.78rem;
  }
  .quick-pills-label {
    display: none;
  }
  .hero-trust-row {
    gap: 8px 14px;
  }
  .hero-trust-item {
    font-size: 0.75rem;
  }
  .section-concierge {
    padding: 60px 0;
  }
  #finanziamenti {
    padding: 60px 0 !important;
  }
}

@media (max-width: 640px) {
  .concierge-bento-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .concierge-card {
    padding: 22px 18px;
  }
  .finance-kpi-grid {
    gap: 8px;
  }
  .finance-kpi-item {
    padding: 11px 8px;
  }
  .finance-kpi-item strong {
    font-size: 1.05rem;
  }
  .finder-band {
    padding: 24px 20px !important;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #hc-durate {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .calc-profile-btn {
    font-size: 0.79rem;
    padding: 9px 8px;
  }
  .calc-result-top {
    gap: 12px;
  }
  .calc-donut-chart {
    width: 74px;
    height: 74px;
  }
  .donut-center-label span {
    font-size: 0.94rem;
  }
  .exec-dossier-bar {
    grid-template-columns: minmax(0, 1fr);
  }
  .sticky-glass-thumb {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-mac-search-form {
    flex-wrap: wrap;
    padding: 10px;
    gap: 8px;
  }
  .hero-mac-search-form input[type="search"] {
    width: 100%;
    flex: 1 1 75%;
    font-size: 0.92rem;
  }
  .btn-mac-search {
    width: 100%;
    padding: 10px 14px;
  }
  .finance-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Smooth GPU-accelerated motion active across all desktop & mobile devices */

@media print {
  .exec-dossier-bar,
  .sticky-glass-bar,
  .mac-modal-backdrop {
    display: none !important;
  }
}


/* ==========================================================================
   14. ULTRA-LUXURY INTERACTIVE SHOWROOM MENU & HEADER HOVER PHYSICS
   ========================================================================== */

/* A) Desktop Top Navigation — Cursor Spotlight + Laser Red Underline */
.site-header .main-nav {
  gap: 5px;
}

.site-header .main-nav a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px !important;
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  transition:
    transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    opacity 0.22s ease,
    color 0.2s ease !important;
}

.site-header .main-nav a span {
  position: relative;
  z-index: 2;
}

.site-header .main-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    95px circle at var(--mm-x, 50%) var(--mm-y, 50%),
    rgba(239, 68, 68, 0.34) 0%,
    rgba(255, 255, 255, 0.1) 52%,
    transparent 78%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 1;
}

.site-header .main-nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff6b6b, #e31b23, #ff6b6b, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .site-header .main-nav:hover a:not(:hover):not(.is-active) {
    opacity: 0.72;
  }

  .site-header .main-nav a:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.65), 0 0 18px -5px rgba(227, 27, 35, 0.4) !important;
  }

  .site-header .main-nav a:hover:not(.is-active)::before {
    opacity: 1;
  }

  .site-header .main-nav a:hover:not(.is-active)::after {
    transform: scaleX(1);
  }

  .site-header .main-nav a.is-active:hover {
    transform: translateY(-1.5px) scale(1.02);
    box-shadow: 0 10px 24px -3px rgba(227, 27, 35, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
  }
}

/* Always-accessible Showroom Menu Launcher Button (.menu-btn) */
.site-header .menu-btn {
  display: inline-grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f8fafc !important;
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.site-header .menu-btn .icon {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .menu-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px -4px rgba(227, 27, 35, 0.62) !important;
}

.site-header .menu-btn:hover .icon {
  transform: scale(1.08);
}

@media (max-width: 1240px) {
  .site-header .main-nav {
    display: none !important;
  }
  .site-header .header-inner {
    justify-content: space-between;
  }
}

/* B) Obsidian Frosted-Glass Showroom Drawer (#mobile-menu) */
#mobile-menu.mobile-menu {
  background: radial-gradient(circle at 88% 18%, rgba(227, 27, 35, 0.14), rgba(5, 8, 16, 0.78) 62%) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#mobile-menu .mobile-menu-panel {
  width: min(432px, 92vw) !important;
  background:
    radial-gradient(circle at 96% 4%, rgba(227, 27, 35, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 6% 94%, rgba(59, 130, 246, 0.10) 0%, transparent 45%),
    linear-gradient(168deg, rgba(13, 19, 34, 0.97) 0%, rgba(7, 10, 19, 0.99) 100%) !important;
  backdrop-filter: blur(30px) saturate(185%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(185%) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.13) !important;
  box-shadow:
    -28px 0 80px -12px rgba(0, 0, 0, 0.88),
    inset 1px 0 0 rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  transform: translateX(102%);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1) !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

#mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0) !important;
}

/* C) Drawer Header — Crisp White MB Motorsport Wordmark & Rotating Close Button */
#mobile-menu .mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
}

.mm-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.mm-brand-wrap .logo-img,
.mm-brand-wrap .logo-wordmark {
  height: 29px !important;
  max-width: 215px !important;
  filter: brightness(1.08) drop-shadow(0 2px 10px rgba(227, 27, 35, 0.24)) !important;
}

.mm-brand-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.mm-sub-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
}

#mobile-menu .mm-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#mobile-menu .mm-close-btn .icon {
  width: 19px;
  height: 19px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu .mm-close-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px -4px rgba(227, 27, 35, 0.65) !important;
}

#mobile-menu .mm-close-btn:hover .icon {
  transform: rotate(90deg) scale(1.08);
}

/* D) Interactive Showroom Navigation Cards (.mm-link) */
#mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px !important;
}

@keyframes mmCascadeIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#mobile-menu.is-open .mm-link,
#mobile-menu.is-open .mm-quick-grid {
  animation: mmCascadeIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--mm-i, 0) * 28ms);
}

#mobile-menu nav a.mm-link {
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 13px !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #f8fafc !important;
  text-decoration: none !important;
  transition:
    transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.24s ease !important;
}

/* Cursor-Following Radial Spotlight */
#mobile-menu nav a.mm-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    220px circle at var(--mm-x, 50%) var(--mm-y, 50%),
    rgba(227, 27, 35, 0.28) 0%,
    rgba(255, 255, 255, 0.06) 46%,
    transparent 74%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 0;
}

/* Expanding Racing-Red Left Laser Accent Bar */
#mobile-menu nav a.mm-link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #ff6b6b 0%, #e31b23 55%, #b91c1c 100%);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.85);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.mm-ico {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #cbd5e1;
  transition:
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.24s ease,
    border-color 0.24s ease,
    color 0.22s ease,
    box-shadow 0.24s ease;
}

.mm-ico .icon {
  width: 18px;
  height: 18px;
}

.mm-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.mm-copy strong {
  font-size: 0.95rem;
  font-weight: 760;
  color: #f8fafc;
  letter-spacing: -0.01em;
  line-height: 1.22;
  transition: color 0.2s ease;
}

.mm-copy small {
  font-size: 0.73rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.mm-end {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.mm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.38);
  color: #fca5a5;
  transition: all 0.22s ease;
}

.mm-badge[hidden] {
  display: none !important;
}

.mm-badge.is-live {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(227, 27, 35, 0.45);
}

.mm-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.035);
  color: #64748b;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.mm-arrow .icon {
  width: 14px;
  height: 14px;
}

/* Active Page State in Drawer */
#mobile-menu nav a.mm-link.is-active {
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.22) 0%, rgba(185, 28, 28, 0.08) 100%) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow:
    0 10px 26px -10px rgba(227, 27, 35, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

#mobile-menu nav a.mm-link.is-active::after {
  transform: scaleY(1);
}

#mobile-menu nav a.mm-link.is-active .mm-ico {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 6px 16px -3px rgba(227, 27, 35, 0.58);
}

#mobile-menu nav a.mm-link.is-active .mm-copy strong {
  color: #ffffff;
}

#mobile-menu nav a.mm-link.is-active .mm-copy small {
  color: #cbd5e1;
}

#mobile-menu nav a.mm-link.is-active .mm-arrow {
  background: rgba(227, 27, 35, 0.25);
  color: #fca5a5;
}

/* Interactive Mouse Hover Physics on Drawer Items */
@media (hover: hover) and (pointer: fine) {
  #mobile-menu nav:hover a.mm-link:not(:hover):not(.is-active) {
    opacity: 0.7;
  }

  #mobile-menu nav a.mm-link:hover {
    background: rgba(255, 255, 255, 0.075) !important;
    border-color: rgba(239, 68, 68, 0.55) !important;
    transform: translateX(4px) !important;
    box-shadow:
      0 14px 30px -10px rgba(0, 0, 0, 0.8),
      0 0 24px -6px rgba(227, 27, 35, 0.38) !important;
  }

  #mobile-menu nav a.mm-link:hover::before {
    opacity: 1;
  }

  #mobile-menu nav a.mm-link:hover::after {
    transform: scaleY(1);
  }

  #mobile-menu nav a.mm-link:hover .mm-ico {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 18px -2px rgba(227, 27, 35, 0.62);
  }

  #mobile-menu nav a.mm-link:hover .mm-copy strong {
    color: #ffffff;
  }

  #mobile-menu nav a.mm-link:hover .mm-copy small {
    color: #e2e8f0;
  }

  #mobile-menu nav a.mm-link:hover .mm-badge {
    background: #e31b23;
    border-color: #ff8086;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.5);
  }

  #mobile-menu nav a.mm-link:hover .mm-arrow {
    background: rgba(227, 27, 35, 0.32);
    color: #ffffff;
    transform: translateX(4px);
  }
}

/* E) Quick Tools Twin Dock (Preferiti & Confronta) */
.mm-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#mobile-menu nav a.mm-quick-card {
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  gap: 9px;
  padding: 10px 11px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  text-decoration: none !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#mobile-menu nav a.mm-quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    140px circle at var(--mm-x, 50%) var(--mm-y, 50%),
    rgba(227, 27, 35, 0.24) 0%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.mm-quick-ico {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fca5a5;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.mm-quick-ico.is-cmp {
  color: #93c5fd;
}

.mm-quick-ico .icon {
  width: 16px;
  height: 16px;
}

.mm-quick-txt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mm-quick-txt strong {
  font-size: 0.86rem;
  font-weight: 750;
  color: #f8fafc;
  line-height: 1.2;
}

.mm-quick-txt small {
  font-size: 0.69rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#mobile-menu nav a.mm-quick-card.is-active,
#mobile-menu nav a.mm-quick-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7), 0 0 18px -6px rgba(227, 27, 35, 0.3) !important;
}

#mobile-menu nav a.mm-quick-card:hover::before {
  opacity: 1;
}

#mobile-menu nav a.mm-quick-card:hover .mm-quick-ico.is-heart {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: scale(1.08);
}

#mobile-menu nav a.mm-quick-card:hover .mm-quick-ico.is-cmp {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: scale(1.08);
}

/* F) Upgraded Concierge Drawer Footer (.mobile-menu-foot) */
#mobile-menu .mobile-menu-foot {
  margin-top: auto;
  padding: 14px 16px 16px !important;
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(7, 10, 18, 0.85) 100%);
}

#mobile-menu .mm-wa-btn {
  min-height: 46px;
  font-size: 0.94rem !important;
  border-radius: 13px !important;
}

#mobile-menu .mm-phone-btn {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f8fafc !important;
  font-size: 0.91rem !important;
  font-weight: 700 !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#mobile-menu .mm-phone-btn .icon {
  color: #f87171;
  transition: transform 0.22s ease, color 0.22s ease;
}

#mobile-menu .mm-phone-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.75), 0 0 18px -6px rgba(227, 27, 35, 0.35) !important;
}

#mobile-menu .mm-phone-btn:hover .icon {
  color: #ffffff;
  transform: rotate(-8deg) scale(1.1);
}

#mobile-menu .mobile-menu-foot .open-status {
  margin: 2px auto 0 !important;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1 !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  justify-self: center;
}

@media (max-width: 345px) {
  #mobile-menu .mobile-menu-panel {
    width: 95vw !important;
  }
  .mm-quick-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Menu cascade active across all OS settings */


/* ==========================================================================
   15. LIVE REAL-TIME DATE & DIGITAL CHRONOGRAPH SYSTEM (ALL DEVICES)
   ========================================================================== */

@keyframes liveRadarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.72), 0 0 8px #22c55e;
  }
  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0), 0 0 10px #22c55e;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 0 8px #22c55e;
  }
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  flex-shrink: 0;
  animation: liveRadarPulse 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

/* A) Universal Topbar Live Telemetry Strip (Visible on Desktop, Tablet & Mobile!) */
.topbar {
  display: block !important;
  background: linear-gradient(90deg, #060911 0%, #0b1120 50%, #060911 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

.topbar-inner {
  min-height: 36px !important;
  gap: 18px !important;
}

.live-clock-capsule {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 3px 11px 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #f8fafc !important;
  text-decoration: none !important;
  font-size: 0.77rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-clock-capsule:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.55);
  transform: translateY(-0.5px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}

.live-tag-badge,
.hlc-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-clock-readout,
.hlc-time,
.mm-live-clock-foot time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 650;
  color: #f1f5f9;
  letter-spacing: 0.01em;
}

.live-sep-dot,
.hlc-sep {
  color: rgba(255, 255, 255, 0.35);
}

.live-now-text,
.hlc-avail {
  color: #4ade80;
  font-weight: 750;
}

@media (max-width: 1320px) {
  .topbar-hide-mid {
    display: none !important;
  }
}

@media (max-width: 1120px) {
  .topbar-hide-compact {
    display: none !important;
  }
  .topbar-inner {
    justify-content: center !important;
    min-height: 33px !important;
    padding-block: 4px;
  }
  .live-clock-capsule {
    font-size: 0.73rem;
    padding: 2px 10px;
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .live-clock-capsule {
    font-size: 0.68rem;
    gap: 5px;
    padding: 2px 8px;
  }
  .live-tag-badge {
    display: none;
  }
}

/* B) Hero Glass Card Top Telemetry Row (Live Date/Time + Location Badge) */
.hero-top-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-top-pills .hero-pill-badge {
  margin-bottom: 0 !important;
}

.hero-pin-ico,
.hero-pill-badge .icon {
  width: 14px;
  height: 14px;
  color: #f87171;
  flex-shrink: 0;
}

.hero-live-clock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(52, 211, 153, 0.34);
  color: #f8fafc;
  font-size: 0.81rem;
  text-decoration: none !important;
  box-shadow: 0 6px 20px -6px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-live-clock-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(74, 222, 128, 0.6);
  transform: translateY(-1.5px);
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
  .hero-top-pills {
    gap: 8px;
    margin-bottom: 16px;
  }
  .hero-live-clock-pill {
    font-size: 0.7rem;
    padding: 5px 11px;
    gap: 5px;
    max-width: 100%;
    white-space: nowrap;
  }
  .hero-live-clock-pill .hlc-badge {
    display: none;
  }
}

@media (max-width: 355px) {
  .hero-live-clock-pill {
    white-space: normal;
    border-radius: 16px;
  }
  .hero-live-clock-pill .hlc-sep {
    display: none;
  }
}

/* C) Slide-Out Drawer Footer Live Clock Capsule */
.mm-live-clock-foot {
  margin: 2px auto 0 !important;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.26);
  color: #e2e8f0 !important;
  font-size: 0.76rem !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  justify-self: center;
  white-space: nowrap;
}

.mm-live-clock-foot strong {
  color: #4ade80;
  font-weight: 750;
}


/* ==========================================================================
   16. SITEWIDE PAGES & SECTIONS ULTRA-LUXURY 3D INTERACTIVE REDESIGN
   Covers: Galleria, Te la trovo io (Cerco), Vendi/Permuta, Chi Siamo,
   Contatti, Catalogo Auto, Preferiti, Confronta, Remaining Home Sections & Footer
   ========================================================================== */

/* --- 16.1 UNIVERSAL INNER PAGE HEROES (.page-hero, .sell-hero, .about-hero) --- */
.page-hero,
.sell-hero,
.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(920px 420px at 84% -8%, rgba(227, 27, 35, 0.28) 0%, transparent 64%),
    radial-gradient(640px 360px at 10% 108%, rgba(30, 64, 175, 0.16) 0%, transparent 65%),
    linear-gradient(180deg, #060911 0%, #0b1120 65%, #0f172a 100%) !important;
  color: #f1f5f9 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.page-hero {
  padding: clamp(38px, 5vw, 58px) 0 clamp(34px, 4.5vw, 48px) !important;
}

.sell-hero {
  padding: clamp(44px, 5.5vw, 68px) 0 clamp(58px, 6.5vw, 80px) !important;
}

.page-hero::before,
.sell-hero::before,
.about-hero::before {
  content: "";
  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: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.85) 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.85) 20%, transparent 78%);
  pointer-events: none;
}

.page-hero > *,
.sell-hero > *,
.about-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.sell-hero h1,
.about-hero h1 {
  color: #ffffff !important;
  letter-spacing: -0.028em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.page-hero p,
.page-hero .lead,
.sell-hero p {
  color: #cbd5e1 !important;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  max-width: 780px;
}

.page-hero .breadcrumb,
.sell-hero .breadcrumb,
.about-hero .breadcrumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #cbd5e1 !important;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.page-hero .breadcrumb a,
.sell-hero .breadcrumb a,
.about-hero .breadcrumb a {
  color: #f8fafc !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero .breadcrumb a:hover,
.sell-hero .breadcrumb a:hover,
.about-hero .breadcrumb a:hover {
  color: #f87171 !important;
}

.finder-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.18) 0%, rgba(185, 28, 28, 0.1) 100%);
  border: 1px solid rgba(248, 113, 113, 0.36);
  color: #fecaca !important;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px -8px rgba(227, 27, 35, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.finder-badge-top .icon {
  width: 15px;
  height: 15px;
  color: #f87171;
  flex-shrink: 0;
}

/* --- 16.2 SPOTLIGHT CURSOR GLOW ENGINE ON ALL CARDS SITEWIDE --- */
.showroom-photo-card,
.sell-benefits > div,
.step,
.service,
.review,
.delivery,
.contact-card,
.visit-card,
.checks-list li,
.finder-step-box,
.slot-box,
.alert-box,
.lax-card {
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* --- 16.3 GALLERIA & AUTO CATALOG: MAC SPOTLIGHT SEARCH BAR & INTERACTIVE PILLS --- */
.smart-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 18px !important;
  border-radius: 18px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.1), inset 0 1px 0 #ffffff !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.smart-bar:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.14) !important;
}

.smart-bar:focus-within {
  border-color: #e31b23 !important;
  background: #ffffff !important;
  box-shadow: 0 18px 40px -12px rgba(227, 27, 35, 0.18), 0 0 0 4px rgba(227, 27, 35, 0.11) !important;
  transform: translateY(-1px);
}

.smart-bar > .icon,
.smart-bar > i[data-icon] {
  width: 22px !important;
  height: 22px !important;
  color: #e31b23 !important;
  flex-shrink: 0;
}

.smart-bar input {
  font-size: 1rem !important;
  font-weight: 500;
  color: #0f172a !important;
  min-height: 46px !important;
}

.smart-bar input::placeholder {
  color: #64748b;
}

.smart-bar-clear {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.smart-bar-clear[hidden] {
  display: none !important;
}

.smart-bar-clear:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}

.smart-bar-clear .icon {
  width: 15px;
  height: 15px;
}

/* Interactive Category Pills (.qc-pill) */
.quick-category-scroll {
  gap: 10px !important;
  padding: 10px 2px 16px !important;
}

.qc-pill {
  position: relative;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.07) !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease !important;
}

.qc-pill:hover {
  transform: translateY(-2.5px);
  border-color: rgba(227, 27, 35, 0.45) !important;
  color: #e31b23 !important;
  box-shadow: 0 12px 24px -8px rgba(227, 27, 35, 0.18) !important;
}

.qc-pill.is-active,
button.qc-pill.is-active {
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%) !important;
  border-color: #e31b23 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 26px -6px rgba(227, 27, 35, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.qc-pill .qc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #475569;
  font-variant-numeric: tabular-nums;
  transition: background 0.2s ease, color 0.2s ease;
}

.qc-pill:hover .qc-count {
  background: #fee2e2;
  color: #dc2626;
}

.qc-pill.is-active .qc-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Gallery Showroom Photo Cards — Pure White LED Matrix Hover & Cursor Illumination */
.showroom-photo-card {
  position: relative;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, #090d16 0%, #0f172a 100%) !important;
  box-shadow: 0 18px 42px -14px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease !important;
}

/* 1. White LED Cursor Spotlight */
.showroom-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.10) 36%,
    rgba(255, 255, 255, 0.02) 64%,
    transparent 74%
  ) !important;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 3;
}

/* 2. White LED Running Contour Halo */
.showroom-photo-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.9) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s ease;
  z-index: 4;
}

@media (hover: hover) and (pointer: fine) {
  .showroom-photo-card:hover {
    transform: translateY(-8px) scale(1.008) !important;
    border-color: #ffffff !important;
    box-shadow: 
      0 26px 70px -10px rgba(0, 0, 0, 0.85),
      0 0 0 1.5px #ffffff,
      0 0 28px rgba(255, 255, 255, 0.75),
      0 0 55px rgba(255, 255, 255, 0.35),
      inset 0 0 16px rgba(255, 255, 255, 0.12) !important;
  }

  .showroom-photo-card:hover::after {
    opacity: 1 !important;
  }

  .showroom-photo-card:hover::before {
    opacity: 1 !important;
    animation: ledWhitePulse 2.6s ease-in-out infinite alternate;
  }

  .showroom-photo-card:hover .sp-media img {
    transform: scale(1.035);
  }
}

@keyframes ledWhitePulse {
  0% {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6)) brightness(1);
    opacity: 0.85;
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95)) brightness(1.25);
    opacity: 1;
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7)) brightness(1.05);
    opacity: 0.9;
  }
}

.showroom-photo-card .sp-info {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, #0b1120 100%) !important;
}

.showroom-photo-card .sp-actions .btn-outline {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(8px);
  transition: all 0.22s ease !important;
}

.showroom-photo-card .sp-actions .btn-outline:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0b1120 !important;
  transform: translateY(-2px);
}

.showroom-photo-card .sp-actions .btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(22, 163, 74, 0.55);
}

@keyframes galCardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.showroom-photo-card.is-gal-in {
  animation: galCardIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) var(--gal-delay, 0ms) both;
}

/* --- 16.4 CERCO.HTML & VENDI.HTML: 3D SELL-BENEFITS, LUXURY WIZARD & FORMS --- */
.sell-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.sell-benefits > div {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f8fafc !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease !important;
}

.sell-benefits > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(74, 222, 128, 0.16),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.sell-benefits > div:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.45) !important;
  box-shadow: 0 20px 38px -12px rgba(0, 0, 0, 0.6), 0 0 24px -8px rgba(34, 197, 94, 0.32);
}

.sell-benefits > div:hover::before {
  opacity: 1;
}

.sell-benefits > div .icon {
  width: 36px !important;
  height: 36px !important;
  padding: 8px;
  border-radius: 11px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80 !important;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.sell-benefits > div:hover .icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(34, 197, 94, 0.25);
}

@media (max-width: 960px) {
  .sell-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sell-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 16px !important;
  }
  .sell-benefits > div {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }
  .sell-benefits > div .icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }
}

/* Luxury Elevated Wizard & Panels */
.wizard.panel,
.finder-card-modern,
.two-col > .panel {
  position: relative;
  border-radius: 26px !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%) !important;
  box-shadow: 0 26px 60px -20px rgba(15, 23, 42, 0.16), 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  padding: clamp(22px, 3.5vw, 38px) !important;
  overflow: hidden;
}

.wizard.panel::before,
.finder-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b1120 0%, #e31b23 50%, #0b1120 100%);
}

/* Interactive Wizard Stepper on vendi.html */
.wizard-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px !important;
  margin-bottom: 28px !important;
}

.wizard-steps > div {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  padding: 13px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #64748b !important;
  font-size: 0.88rem !important;
  font-weight: 750 !important;
  text-align: center;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.wizard-steps > div::before {
  display: none !important;
}

.wizard-steps > div:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  transform: translateY(-1px);
}

.wizard-steps > div.is-active {
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%);
  border-color: #e31b23;
  color: #ffffff !important;
  box-shadow: 0 10px 24px -8px rgba(227, 27, 35, 0.45);
  transform: translateY(-1px);
}

.wizard-steps > div.is-done {
  background: #ecfdf5;
  border-color: #86efac;
  color: #15803d !important;
}

@media (max-width: 560px) {
  .wizard-steps {
    gap: 6px !important;
  }
  .wizard-steps > div {
    padding: 10px 8px;
    font-size: 0.76rem !important;
  }
}

/* Finder Step Boxes on cerco.html */
.finder-step-box {
  padding: 22px 24px !important;
  border-radius: 20px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  margin-bottom: 18px !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.finder-step-box:hover,
.finder-step-box:focus-within {
  border-color: rgba(227, 27, 35, 0.35) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 32px -14px rgba(15, 23, 42, 0.1);
}

.finder-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.finder-step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(227, 27, 35, 0.45);
}

.finder-step-num.is-opt {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.3);
}

.finder-step-head .finder-h {
  margin: 0 0 3px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 1.18rem;
}

.finder-sub {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

/* Quick Category Chips on cerco.html (.fqp-btn) */
.finder-quick-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.fqp-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
}

.fqp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.fqp-btn:hover {
  border-color: #e31b23;
  color: #e31b23;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -6px rgba(227, 27, 35, 0.2);
}

.fqp-btn.is-active {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  border-color: #0b1120;
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(11, 17, 32, 0.35);
}

/* Finder Layout & Side Concierge Card */
@media (min-width: 1061px) {
  .finder-side {
    padding-top: 44px;
  }
}
@media (max-width: 1060px) {
  .finder-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .finder-side {
    position: static !important;
  }
}
.finder-side .panel {
  border-radius: 22px !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.12) !important;
}

.finder-tip {
  background: linear-gradient(160deg, #0b1120 0%, #172033 100%) !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.finder-tip strong {
  color: #ffffff !important;
}

.finder-tip .owner-sign span,
.finder-tip .finder-direct-sub {
  color: #94a3b8 !important;
}

.finder-tip .finder-quote {
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid #e31b23;
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
  margin: 14px 0 18px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.finder-tip .finder-direct-sub {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.78rem;
}

/* Luxury Form Inputs, Segmented Pills & Photo Upload Slots */
.input,
.select,
.textarea {
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 13px !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #94a3b8 !important;
  background-color: #ffffff !important;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: #e31b23 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.12), 0 8px 20px -8px rgba(227, 27, 35, 0.15) !important;
}

.segmented span {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155;
  font-weight: 700 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.segmented span:hover {
  border-color: #94a3b8 !important;
  background: #ffffff;
  transform: translateY(-1px);
}

.segmented input:checked + span {
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%) !important;
  border-color: #e31b23 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px -6px rgba(227, 27, 35, 0.4);
}

.slot-box {
  border-radius: 16px !important;
  border: 2px dashed #cbd5e1 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease !important;
}

.slot-box:hover {
  transform: translateY(-3px);
  border-color: #e31b23 !important;
  box-shadow: 0 12px 26px -10px rgba(227, 27, 35, 0.2);
}

/* --- 16.5 CHI SIAMO (.about-hero, #about-place, .owner-quote, .checks-list) --- */
.about-hero {
  padding: clamp(42px, 5.5vw, 72px) 0 clamp(48px, 6vw, 78px) !important;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.98fr) !important;
  gap: clamp(28px, 4vw, 52px) !important;
  align-items: center;
}

.about-eyebrow-lux {
  display: block;
  color: #f87171 !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.about-hero-sub {
  color: #cbd5e1 !important;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 12px 0 18px;
  max-width: 600px;
}

.about-hero-ctas {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin-top: 22px;
}

.about-hero-ctas .btn {
  flex: 0 1 auto !important;
  border-radius: 14px !important;
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* Framed Showroom Photo in Chi Siamo Hero (Fixes 320px box & giant white card!) */
.about-hero .about-showcase-frame {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.65), 0 0 35px -10px rgba(227, 27, 35, 0.25);
  background: #050811;
}

.about-hero .about-showcase-img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block;
  border-radius: 20px !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-hero .about-showcase-frame:hover .about-showcase-img {
  transform: scale(1.04);
}

.about-showcase-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
}

.about-hero .owner-years.about-years-glass {
  position: absolute;
  left: 14px;
  right: auto !important;
  bottom: 14px;
  width: auto;
  max-width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px !important;
  border-radius: 14px !important;
  background: rgba(9, 13, 24, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45) !important;
  color: #f8fafc !important;
  z-index: 2;
}

.about-years-glass .ayg-num {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px -4px rgba(227, 27, 35, 0.5);
}

.about-years-glass .ayg-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.about-years-glass .ayg-meta strong {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2;
}

.about-years-glass .ayg-meta span {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 500;
}

@media (max-width: 960px) {
  .about-hero-grid {
    grid-template-columns: 1fr !important;
  }
  .about-hero .about-showcase-frame {
    order: -1;
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  .about-hero-ctas .btn {
    flex: 1 1 100% !important;
    justify-content: center;
  }
  .about-showcase-badge-top {
    font-size: 0.72rem;
    padding: 5px 11px;
  }
  .about-hero .owner-years.about-years-glass {
    padding: 9px 12px !important;
    gap: 10px;
  }
  .about-years-glass .ayg-num {
    min-width: 42px;
    height: 38px;
    font-size: 1.15rem;
  }
}

/* #about-place Ferrari F8 Showcase & Promise Card */
.about-promise-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc !important;
  box-shadow: 0 16px 36px -14px rgba(11, 17, 32, 0.35);
}

.about-promise-card .apc-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171;
  flex-shrink: 0;
}

.about-promise-card strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-promise-card span {
  display: block;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.about-place {
  position: relative;
  border-radius: 26px !important;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 26px 56px -16px rgba(15, 23, 42, 0.28) !important;
  background: #090d16;
}

.about-place img {
  aspect-ratio: 16 / 11 !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-place:hover img {
  transform: scale(1.045);
}

.about-place-top-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(9, 13, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 750;
  z-index: 2;
}

.about-place-top-pill .icon {
  width: 14px;
  height: 14px;
  color: #f87171;
}

.about-place-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  border-radius: 16px !important;
  background: rgba(9, 13, 24, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: #f8fafc !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.about-place-cap .apc-pin {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(227, 27, 35, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171;
  flex-shrink: 0;
}

.about-place-cap .apc-pin .icon {
  width: 18px;
  height: 18px;
  color: #f87171 !important;
}

.about-place-cap .apc-text {
  flex: 1;
  min-width: 0;
}

.about-place-cap .apc-text strong {
  color: #ffffff !important;
  font-size: 0.94rem;
  line-height: 1.25;
}

.about-place-cap .apc-text span {
  display: block;
  color: #cbd5e1;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-place-cap .apc-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #e31b23;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-place-cap .apc-map-btn:hover {
  background: #dc2626;
  transform: translateX(2px);
}

.about-place-cap .apc-map-btn .icon {
  width: 14px;
  height: 14px;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .about-place-cap .apc-map-btn {
    display: none;
  }
}

/* Interactive 120-Checks Checklist Cards */
.checks {
  border-radius: 24px !important;
  padding: 24px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 20px 44px -18px rgba(15, 23, 42, 0.12);
}

.checks-list {
  gap: 10px !important;
}

.checks-list li {
  padding: 12px 15px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #1e293b;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.checks-list li:hover {
  transform: translateX(5px);
  background: #ffffff;
  border-color: #86efac;
  box-shadow: 0 8px 20px -8px rgba(22, 163, 74, 0.18);
}

/* --- 16.6 SITEWIDE INTERACTIVE CARDS: STEPS, SERVICES, REVIEWS, DELIVERIES, CONTACTS, FAQ --- */

/* 3D Process Steps (.steps .step on cerco.html & vendi.html) */
.steps .step {
  overflow: hidden;
  border-radius: 22px !important;
  padding: 30px 26px !important;
  border: 1px solid #e2e8f0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 14px 32px -14px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.steps .step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mouse-x, -300px) var(--mouse-y, -300px),
    rgba(227, 27, 35, 0.08),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.steps .step:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.35) !important;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.18);
}

.steps .step:hover::after {
  opacity: 1;
}

.steps .step .s-icon {
  border-radius: 16px !important;
  box-shadow: 0 10px 22px -6px rgba(227, 27, 35, 0.42);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.steps .step .s-icon.wa {
  box-shadow: 0 10px 22px -6px rgba(22, 163, 74, 0.42);
}

.steps .step:hover .s-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Services / Vantaggi Cards (.services .service) */
.services .service {
  position: relative;
  overflow: hidden;
  border-radius: 22px !important;
  padding: 26px 24px !important;
  border: 1px solid #e2e8f0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease !important;
}

.services .service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e31b23, #f87171);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.services .service:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.32) !important;
  background: #ffffff !important;
  box-shadow: 0 22px 44px -14px rgba(15, 23, 42, 0.16) !important;
}

.services .service:hover::before {
  transform: scaleX(1);
}

.services .service > .icon {
  width: 46px !important;
  height: 46px !important;
  padding: 10px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #e31b23 !important;
  margin-bottom: 16px !important;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.services .service:hover > .icon {
  background: #e31b23;
  border-color: #e31b23;
  color: #ffffff !important;
  transform: scale(1.06);
}

/* Deliveries Cards (.deliveries .delivery) */
.deliveries .delivery {
  border-radius: 22px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.deliveries .delivery:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 35, 0.32) !important;
  box-shadow: 0 24px 48px -14px rgba(15, 23, 42, 0.18);
}

.deliveries .delivery-img {
  overflow: hidden;
}

.deliveries .delivery-img img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.deliveries .delivery:hover .delivery-img img {
  transform: scale(1.055);
}

/* Reviews Cards (.reviews .review) */
.reviews .review {
  border-radius: 22px !important;
  padding: 24px !important;
  border: 1px solid #e2e8f0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.reviews .review:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 22px 44px -14px rgba(15, 23, 42, 0.15);
}

/* Contact Channel Cards (.contact-cards .contact-card) */
.contact-cards .contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px !important;
  padding: 24px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.1);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease !important;
}

.contact-cards .contact-card::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #cbd5e1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.contact-cards .contact-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(227, 27, 35, 0.45) !important;
  background: #ffffff !important;
  box-shadow: 0 24px 46px -14px rgba(227, 27, 35, 0.18);
}

.contact-cards .contact-card:hover::after {
  transform: translateX(4px);
  color: #e31b23;
}

.contact-cards .contact-card.wa:hover {
  border-color: rgba(22, 163, 74, 0.5) !important;
  box-shadow: 0 24px 46px -14px rgba(22, 163, 74, 0.22);
}

.contact-cards .contact-card.wa:hover::after {
  color: #16a34a;
}

.contact-cards .contact-card .cc-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-cards .contact-card:hover .cc-icon {
  transform: scale(1.08) rotate(-4deg);
}

.contact-showroom-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.contact-showroom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -14px rgba(15, 23, 42, 0.18) !important;
}

.contact-showroom-card img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-showroom-card:hover img {
  transform: scale(1.045);
}

/* --- 16.7 HOME & GLOBAL BANNERS: #for-you, .finder-band, .showroom-card, .alert-box, .visit-card, .site-footer --- */

/* Bentornato / Visti di recente (#for-you) — Replaces pale pink-green box with Mac Platinum Bar */
.for-you .container {
  background: linear-gradient(135deg, #0b1120 0%, #172033 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: 24px 28px !important;
  color: #f8fafc !important;
  box-shadow: 0 22px 48px -16px rgba(11, 17, 32, 0.35);
}

.for-you .fy-head h2 {
  color: #ffffff !important;
}

.for-you .fy-recent > small,
.for-you .muted {
  color: #94a3b8 !important;
}

.for-you .link-btn {
  color: #cbd5e1 !important;
}

.for-you .mini-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(10px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, background 0.24s ease;
}

.for-you .mini-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(248, 113, 113, 0.5) !important;
}

.for-you .mini-card strong,
.for-you .mini-card em {
  color: #ffffff !important;
}

.for-you .mini-card em {
  color: #f87171 !important;
}

.for-you .mini-card small {
  color: #cbd5e1 !important;
}

/* Te la trovo io VIP Banner (.finder-band) & Conversion .alert-box */
.finder-band,
.alert-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  background:
    radial-gradient(560px 240px at 90% 10%, rgba(227, 27, 35, 0.26) 0%, transparent 70%),
    linear-gradient(135deg, #090d16 0%, #111827 60%, #1e293b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
  box-shadow: 0 24px 52px -16px rgba(11, 17, 32, 0.38) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.finder-band:hover,
.alert-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -16px rgba(11, 17, 32, 0.48), 0 0 30px -10px rgba(227, 27, 35, 0.28) !important;
}

.finder-band h2,
.alert-box strong {
  color: #ffffff !important;
}

.finder-band p,
.alert-box p {
  color: #cbd5e1 !important;
}

.finder-ico {
  background: linear-gradient(135deg, #e31b23 0%, #b91c1c 100%) !important;
  box-shadow: 0 12px 26px -6px rgba(227, 27, 35, 0.55);
}

.alert-box > .icon,
.alert-box > i[data-icon] {
  width: 46px !important;
  height: 46px !important;
  padding: 10px;
  border-radius: 14px;
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171 !important;
}

/* Showroom Split Card on Home (.showroom-card) */
.showroom-card {
  border-radius: 28px !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 26px 60px -20px rgba(15, 23, 42, 0.16) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease;
}

.showroom-card:hover {
  box-shadow: 0 32px 68px -20px rgba(15, 23, 42, 0.22) !important;
}

.showroom-features li {
  padding: 8px 12px;
  border-radius: 11px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.showroom-features li:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: #cbd5e1;
}

/* Visit Card, Map & Zone Pills (.visit-card, .zone-links a) */
.visit-card {
  border-radius: 24px !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 20px 48px -18px rgba(15, 23, 42, 0.13) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.visit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -18px rgba(15, 23, 42, 0.18) !important;
}

.visit-grid .map-box {
  border-radius: 24px !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 20px 48px -18px rgba(15, 23, 42, 0.13) !important;
}

.zones {
  border-radius: 22px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 14px 34px -16px rgba(15, 23, 42, 0.1);
}

.zone-links a {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.zone-links a:hover {
  transform: translateY(-2px);
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
  box-shadow: 0 6px 14px -4px rgba(227, 27, 35, 0.18);
}

/* Catalog Filters Sidebar (.filters on auto.html) */
@media (min-width: 901px) {
  .inv-layout > .filters {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 20px 20px 14px !important;
    box-shadow: 0 16px 38px -16px rgba(15, 23, 42, 0.1);
  }
}

/* Global Footer Luxury Upgrade (.site-footer) */
.site-footer {
  position: relative;
  background:
    radial-gradient(800px 280px at 50% 0%, rgba(227, 27, 35, 0.1) 0%, transparent 70%),
    linear-gradient(180deg, #070a12 0%, #05070d 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 88%);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(227, 27, 35, 0.75) 50%, transparent 100%);
  pointer-events: none;
}

.site-footer ul a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer ul a:hover {
  color: #ffffff !important;
  transform: translateX(3px);
  text-decoration: none;
}

.site-footer .social a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-footer .social a:hover {
  transform: translateY(-3px) scale(1.06);
  background: #e31b23 !important;
  border-color: #ef4444;
  box-shadow: 0 10px 22px -6px rgba(227, 27, 35, 0.55);
}


/* ==========================================================================
   17. ULTRA-LUXURY INTERACTIVE 3D RELIEF & SATELLITE MAP CONSOLE
   ========================================================================== */
html body .map-box.lux-map-console,
html body .visit-grid .map-box.lux-map-console {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  aspect-ratio: unset !important;
  height: 100% !important;
  min-height: 490px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #0d111b 0%, #080b12 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 26px 60px -18px rgba(8, 11, 18, 0.42),
    0 0 0 1px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

html body #map > .map-box.lux-map-console {
  height: auto !important;
  min-height: 480px !important;
}

.lux-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(227, 27, 35, 0.18), transparent 52%),
    linear-gradient(180deg, #131826 0%, #0b0f18 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.lux-map-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.lux-map-pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65), 0 0 10px rgba(16, 185, 129, 0.9);
  animation: luxMapPulse 2.1s infinite ease-out;
  flex-shrink: 0;
}

@keyframes luxMapPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65), 0 0 10px rgba(16, 185, 129, 0.9); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0), 0 0 12px rgba(16, 185, 129, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 0 10px rgba(16, 185, 129, 0.9); }
}

.lux-map-coords {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(226, 232, 240, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lux-map-coords strong {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.lux-map-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  flex-shrink: 0;
}

.lux-map-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.76);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 11px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.lux-map-tab svg {
  opacity: 0.82;
  flex-shrink: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.lux-map-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lux-map-tab:hover svg {
  transform: translateY(-1px);
  opacity: 1;
}

.lux-map-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #e31b23 0%, #b91018 100%);
  box-shadow:
    0 6px 16px -4px rgba(227, 27, 35, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.lux-map-tab.is-active svg {
  opacity: 1;
}

.lux-map-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 360px;
  background: #0d121d;
  overflow: hidden;
}

html body #map > .map-box.lux-map-console .lux-map-stage {
  height: 370px !important;
  min-height: 370px !important;
}

html body .map-box.lux-map-console .lux-map-stage iframe,
html body .visit-grid .map-box.lux-map-console .lux-map-stage iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border: 0 !important;
  display: block !important;
  filter: contrast(1.04) saturate(1.08);
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.lux-map-stage.is-switching iframe {
  opacity: 0.42;
  transform: scale(1.012);
}

.lux-map-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background:
    linear-gradient(180deg, #0e131f 0%, #090c14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.lux-map-addr {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.lux-map-pin {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(227, 27, 35, 0.16);
  border: 1px solid rgba(227, 27, 35, 0.38);
  color: #ff4d55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lux-map-pin .icon {
  width: 17px;
  height: 17px;
}

.lux-map-addr-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lux-map-addr-txt strong {
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lux-map-addr-txt small {
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.73rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lux-map-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lux-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.lux-map-btn .icon {
  width: 15px;
  height: 15px;
}

.lux-map-btn-ghost {
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.lux-map-btn-ghost:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.lux-map-btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, #e31b23 0%, #be1017 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px -6px rgba(227, 27, 35, 0.65);
}

.lux-map-btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 26px -5px rgba(227, 27, 35, 0.82);
  filter: brightness(1.06);
}

.visit-grid .lux-map-head {
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 12px 15px;
}

.visit-grid .lux-map-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visit-grid .lux-map-tab {
  justify-content: center;
  padding: 7px 8px;
}

.visit-actions { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }

.visit-card .btn {
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip !important;
  padding-inline: 13px !important;
  font-size: 0.83rem !important;
}

@media (max-width: 1180px) {
  .lux-map-head {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 11px 13px;
  }
  .lux-map-tabs {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .lux-map-tabs::-webkit-scrollbar { display: none; }
  .lux-map-tab {
    flex: 1 1 auto;
    justify-content: center;
    padding: 6px 9px;
    font-size: 0.74rem;
  }
}

@media (max-width: 680px) {
  html body .map-box.lux-map-console,
  html body .visit-grid .map-box.lux-map-console,
  html body #map > .map-box.lux-map-console {
    min-height: 430px !important;
    height: auto !important;
    border-radius: 20px !important;
  }
  html body .map-box.lux-map-console .lux-map-stage,
  html body .visit-grid .map-box.lux-map-console .lux-map-stage,
  html body #map > .map-box.lux-map-console .lux-map-stage {
    height: 295px !important;
    min-height: 295px !important;
    flex: 0 0 295px !important;
  }
  .lux-map-tabs,
  .visit-grid .lux-map-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
  }
  .lux-map-tab {
    padding: 7px 8px;
    font-size: 0.74rem;
  }
  .lux-map-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 13px;
  }
  .lux-map-addr-txt strong,
  .lux-map-addr-txt small {
    white-space: normal;
  }
  .lux-map-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 8px;
  }
  .lux-map-btn {
    padding: 10px 10px;
    font-size: 0.78rem;
  }
}


/* ==========================================================================
   18. EXECUTIVE LEGAL & PROSE TYPOGRAPHY (TERMINI & PRIVACY ONLY)
   ========================================================================== */
main .prose {
  max-width: 880px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: 0 20px 50px -22px rgba(15, 23, 42, 0.09);
}

main .prose h2 {
  font-size: 1.24rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin-top: 2.1em;
  margin-bottom: 0.65em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

main .prose p,
main .prose li {
  color: #334155;
  line-height: 1.72;
  font-size: 0.96rem;
}

main .prose ul {
  padding-left: 1.25rem;
}

main .prose li + li {
  margin-top: 0.55rem;
}

.legal-clause-box {
  margin-top: 14px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-left: 4px solid #e31b23;
}

.legal-clause-box > p:first-child {
  margin-top: 0;
}

.legal-clause-box ul {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  main .prose {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .legal-clause-box {
    padding: 16px 16px;
    border-radius: 14px;
  }
}


/* ==========================================================================
   19. CAR DETAIL CONCIERGE PANEL & STICKY BARS ORDERING (ZERO OVERLAP)
   ========================================================================== */
html body .d-side.side-box {
  border-radius: 26px !important;
  padding: 24px 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow:
    0 24px 54px -20px rgba(15, 23, 42, 0.13),
    0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

/* 1. Primary WhatsApp Hero CTA */
html body .btn-apple-hero.lux-wa-hero {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  padding: 14px 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 55%, #047857 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    0 14px 28px -8px rgba(16, 185, 129, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease !important;
}

html body .btn-apple-hero.lux-wa-hero:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 18px 34px -8px rgba(16, 185, 129, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}

html body .btn-apple-hero.lux-wa-hero .bah-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  flex-shrink: 0;
}

html body .btn-apple-hero.lux-wa-hero .bah-icon .icon {
  width: 22px !important;
  height: 22px !important;
}

html body .btn-apple-hero.lux-wa-hero .bah-text {
  flex: 1 1 auto;
  min-width: 0;
}

html body .btn-apple-hero.lux-wa-hero .bah-arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.24s ease, background 0.24s ease;
}

html body .btn-apple-hero.lux-wa-hero .bah-arrow .icon {
  width: 16px;
  height: 16px;
}

html body .btn-apple-hero.lux-wa-hero:hover .bah-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.26);
}

/* 2. Ordered 2x2 Luxury Concierge Grid */
html body .lux-concierge-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

html body .apple-action-grid.lux-action-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}

html body .apple-action-grid.lux-action-grid .apple-btn-tile {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  min-height: 62px !important;
  padding: 10px 11px !important;
  border-radius: 15px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow:
    0 6px 16px -10px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 #ffffff !important;
  text-align: left !important;
  transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body .apple-action-grid.lux-action-grid .apple-btn-tile:hover {
  transform: translateY(-2.5px) !important;
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.22) !important;
  box-shadow:
    0 14px 26px -12px rgba(15, 23, 42, 0.2),
    0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

html body .apple-action-grid.lux-action-grid .abt-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  transition: transform 0.24s ease !important;
}

html body .apple-action-grid.lux-action-grid .apple-btn-tile:hover .abt-icon {
  transform: scale(1.07);
}

html body .apple-action-grid.lux-action-grid .abt-icon .icon {
  width: 18px !important;
  height: 18px !important;
}

html body .abt-phone {
  background: rgba(2, 132, 199, 0.11) !important;
  border: 1px solid rgba(2, 132, 199, 0.22) !important;
}
html body .lux-tile-phone:hover { border-color: rgba(2, 132, 199, 0.42) !important; }

html body .abt-calendar {
  background: rgba(227, 27, 35, 0.1) !important;
  border: 1px solid rgba(227, 27, 35, 0.22) !important;
}
html body .lux-tile-calendar:hover { border-color: rgba(227, 27, 35, 0.42) !important; }

html body .abt-permuta {
  background: rgba(5, 150, 105, 0.11) !important;
  border: 1px solid rgba(5, 150, 105, 0.22) !important;
}
html body .lux-tile-permuta:hover { border-color: rgba(5, 150, 105, 0.42) !important; }

html body .abt-key {
  background: rgba(217, 119, 6, 0.12) !important;
  border: 1px solid rgba(217, 119, 6, 0.26) !important;
}
html body .lux-tile-key:hover { border-color: rgba(217, 119, 6, 0.48) !important; }

html body .abt-info {
  background: rgba(71, 85, 105, 0.11) !important;
  border: 1px solid rgba(71, 85, 105, 0.22) !important;
}

html body .abt-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

html body .apple-action-grid.lux-action-grid .abt-title {
  font-size: 0.81rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  text-align: left !important;
  line-height: 1.18 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body .abt-sub {
  font-size: 0.69rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. VIP Video-Tour Dark Obsidian Banner */
html body .apple-inset-group.lux-video-banner {
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 0% 50%, rgba(14, 165, 233, 0.22), transparent 55%),
    linear-gradient(135deg, #0d1321 0%, #151e32 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.2) !important;
  box-shadow: 0 12px 26px -12px rgba(15, 23, 42, 0.35) !important;
  overflow: hidden !important;
}

html body .apple-inset-group.lux-video-banner .aig-item {
  padding: 12px 14px !important;
  color: #ffffff !important;
  transition: transform 0.22s ease, background 0.22s ease !important;
}

html body .apple-inset-group.lux-video-banner .aig-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

html body .apple-inset-group.lux-video-banner .badge-video {
  width: 38px !important;
  height: 38px !important;
  border-radius: 11px !important;
  background: rgba(56, 189, 248, 0.16) !important;
  border: 1px solid rgba(56, 189, 248, 0.36) !important;
  color: #38bdf8 !important;
}

html body .aig-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

html body .apple-inset-group.lux-video-banner .aig-text {
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
}

html body .apple-inset-group.lux-video-banner .aig-sub {
  color: rgba(203, 213, 225, 0.82);
  font-size: 0.71rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body .apple-inset-group.lux-video-banner .aig-arrow {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  transition: transform 0.22s ease, background 0.22s ease;
}

html body .apple-inset-group.lux-video-banner .aig-item:hover .aig-arrow {
  transform: translateX(3px);
  background: rgba(56, 189, 248, 0.28);
}

/* 4. Structured Trust Guarantee Box */
html body .side-trust.apple-trust {
  margin: 14px 0 0 !important;
  padding: 13px 14px !important;
  border-radius: 15px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  gap: 8px !important;
}

html body .side-trust.apple-trust li {
  font-size: 0.83rem !important;
  font-weight: 550 !important;
  color: #334155 !important;
}

html body .side-trust.apple-trust li a {
  color: #e31b23 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html body .side-trust.apple-trust li a:hover {
  text-decoration: underline !important;
}

/* 5. Unified 4-Segment Utility Pill Dock (Salva / Confronta / Condividi / Stampa) */
html body .side-actions.apple-toolbar {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin-top: 14px !important;
  padding: 5px !important;
  border-radius: 16px !important;
  background: #f1f5f9 !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
}

html body .side-actions.apple-toolbar button,
html body .side-actions.apple-toolbar a {
  padding: 9px 4px !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  color: #334155 !important;
  font-size: 0.73rem !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body .side-actions.apple-toolbar button:hover,
html body .side-actions.apple-toolbar a:hover {
  transform: translateY(-1.5px) !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  box-shadow: 0 6px 14px -6px rgba(15, 23, 42, 0.16) !important;
}

html body .side-actions.apple-toolbar button .icon,
html body .side-actions.apple-toolbar a .icon {
  width: 17px !important;
  height: 17px !important;
}

html body .side-actions.apple-toolbar .is-active {
  background: #fef2f2 !important;
  border-color: rgba(227, 27, 35, 0.35) !important;
  color: #e31b23 !important;
}

html body .side-actions.apple-toolbar .is-active-cmp {
  background: #eff6ff !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  color: #1d4ed8 !important;
}

/* 6. Showroom Identity Badge Card */
html body .apple-dealer-mini {
  margin-top: 12px !important;
  padding: 12px 14px !important;
  border-radius: 15px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.08) !important;
}

/* 7. Eliminate Overlapping Sticky Bars & Floating Circles on Tablet/Mobile */
@media (max-width: 980px) {
  /* Hide top sticky bar when bottom .sticky-cta is active so there is only ONE sticky bar */
  html body.has-sticky-cta #sticky-glass-bar {
    display: none !important;
  }

  /* Hide redundant floating WhatsApp circle on detail pages since .sticky-cta already has WhatsApp */
  html body.has-sticky-cta .chat-widget {
    display: none !important;
  }

  /* Cohesive Dark Obsidian Bottom Sticky CTA */
  html body .sticky-cta {
    background: rgba(10, 14, 23, 0.96) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35) !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 10px !important;
  }

  html body .sticky-cta .sc-price strong {
    color: #ffffff !important;
    font-size: 1.12rem !important;
  }

  html body .sticky-cta .sc-price small {
    color: rgba(203, 213, 225, 0.82) !important;
  }

  html body .sticky-cta .btn-outline {
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
  }

  html body .sticky-cta .btn-wa {
    border-radius: 12px !important;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.55) !important;
  }

  /* Give page extra bottom space when compare-bar + sticky-cta are both visible so nothing is covered */
  html body.has-sticky-cta.has-compare-bar {
    padding-bottom: calc(138px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 420px) {
  html body .d-side.side-box {
    padding: 20px 16px !important;
  }
  html body .apple-action-grid.lux-action-grid {
    gap: 8px !important;
  }
  html body .apple-action-grid.lux-action-grid .apple-btn-tile {
    padding: 10px 10px !important;
    gap: 8px !important;
  }
  html body .apple-action-grid.lux-action-grid .abt-icon {
    width: 33px !important;
    height: 33px !important;
  }
  html body .apple-action-grid.lux-action-grid .abt-title {
    font-size: 0.8rem !important;
  }
  html body .abt-sub {
    font-size: 0.66rem !important;
  }
}


/* ==========================================================================
   20. ULTRA-LUXURY TECHNICAL TELEMETRY & SPEC BENTO GRID (DETAIL PAGE)
   ========================================================================== */
.lux-specs-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  padding: 26px 26px 28px;
  box-shadow:
    0 20px 46px -22px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 #ffffff;
}

.lux-specs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  flex-wrap: wrap;
}

.lux-specs-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e31b23;
  margin-bottom: 4px;
}

.lux-specs-head h2 {
  margin: 0 !important;
  font-size: 1.48rem !important;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.lux-specs-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lux-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lux-spec-pill .icon {
  width: 14px;
  height: 14px;
}

.lux-spec-pill-ok {
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #047857;
}

.lux-spec-pill-rif {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.lux-spec-pill-rif .icon {
  color: #ef4444;
}

/* 4 Dark Obsidian Hero Telemetry Cards */
.lux-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.lux-tele-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 16px 15px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 27, 35, 0.16), transparent 56%),
    linear-gradient(155deg, #131929 0%, #0a0e18 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 16px 32px -14px rgba(8, 12, 22, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, border-color 0.26s ease;
}

.lux-tele-card.tone-sapphire {
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.18), transparent 56%),
    linear-gradient(155deg, #131929 0%, #0a0e18 100%);
}

.lux-tele-card.tone-amber {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.17), transparent 56%),
    linear-gradient(155deg, #131929 0%, #0a0e18 100%);
}

.lux-tele-card.tone-emerald {
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.18), transparent 56%),
    linear-gradient(155deg, #131929 0%, #0a0e18 100%);
}

.lux-tele-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 22px 38px -14px rgba(8, 12, 22, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lux-tele-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.lux-tele-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 27, 35, 0.18);
  border: 1px solid rgba(227, 27, 35, 0.38);
  color: #ff5a62;
  flex-shrink: 0;
}

.lux-tele-card.tone-sapphire .lux-tele-icon {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.36);
  color: #38bdf8;
}

.lux-tele-card.tone-amber .lux-tele-icon {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.36);
  color: #fbbf24;
}

.lux-tele-card.tone-emerald .lux-tele-icon {
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.36);
  color: #34d399;
}

.lux-tele-icon .icon {
  width: 17px;
  height: 17px;
}

.lux-tele-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.2;
}

.lux-tele-val {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
}

.lux-tele-sub {
  font-size: 0.73rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.92);
  line-height: 1.25;
}

/* 12-Item Symmetrical Luxury Spec Bento Grid */
html body .spec-grid.lux-spec-bento {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 11px !important;
}

html body .spec-grid.lux-spec-bento .spec.lux-spec-card {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 13px 14px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.085) !important;
  box-shadow:
    0 6px 18px -12px rgba(15, 23, 42, 0.14),
    0 1px 3px rgba(15, 23, 42, 0.03) !important;
  overflow: hidden;
  transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body .spec-grid.lux-spec-bento .spec.lux-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(227, 27, 35, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.24s ease;
}

html body .spec-grid.lux-spec-bento .spec.lux-spec-card:hover {
  transform: translateY(-2.5px) !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  box-shadow:
    0 14px 28px -12px rgba(15, 23, 42, 0.18),
    0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

html body .spec-grid.lux-spec-bento .spec.lux-spec-card:hover::before {
  opacity: 1;
}

.lux-spec-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.09);
  transition: transform 0.24s ease;
}

html body .spec.lux-spec-card:hover .lux-spec-ico {
  transform: scale(1.07);
}

html body .spec.lux-spec-card .lux-spec-ico .icon {
  width: 18px !important;
  height: 18px !important;
  color: #334155 !important;
}

html body .spec.lux-spec-card.tone-ruby .lux-spec-ico {
  background: rgba(227, 27, 35, 0.09);
  border-color: rgba(227, 27, 35, 0.2);
}
html body .spec.lux-spec-card.tone-ruby .lux-spec-ico .icon { color: #e31b23 !important; }

html body .spec.lux-spec-card.tone-sapphire .lux-spec-ico {
  background: rgba(2, 132, 199, 0.09);
  border-color: rgba(2, 132, 199, 0.2);
}
html body .spec.lux-spec-card.tone-sapphire .lux-spec-ico .icon { color: #0284c7 !important; }

html body .spec.lux-spec-card.tone-emerald .lux-spec-ico {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.22);
}
html body .spec.lux-spec-card.tone-emerald .lux-spec-ico .icon { color: #059669 !important; }

html body .spec.lux-spec-card.tone-amber .lux-spec-ico {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.22);
}
html body .spec.lux-spec-card.tone-amber .lux-spec-ico .icon { color: #d97706 !important; }

.lux-spec-txt {
  min-width: 0;
  flex: 1 1 auto;
}

html body .spec.lux-spec-card .lux-spec-txt small {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #64748b !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
}

html body .spec.lux-spec-card .lux-spec-txt strong {
  display: block;
  font-size: 0.9rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
}

/* Companion Upgrade: Equipaggiamento (.opt-list), Controlli (.checks) & Vantaggi (.included-grid) */
html body .opt-list {
  columns: unset !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
}

html body .opt-list li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 13px !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 3px 10px -6px rgba(15, 23, 42, 0.08) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

html body .opt-list li:hover {
  transform: translateY(-1.5px);
  border-color: rgba(16, 185, 129, 0.35) !important;
}

html body .opt-list li .icon {
  width: 18px !important;
  height: 18px !important;
  padding: 2px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669 !important;
  margin-top: 0 !important;
  flex-shrink: 0;
}

html body .included-grid .included {
  align-items: center !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 8px 22px -14px rgba(15, 23, 42, 0.14) !important;
  transition: transform 0.22s ease, border-color 0.22s ease !important;
}

html body .included-grid .included:hover {
  transform: translateY(-2.5px);
  border-color: rgba(227, 27, 35, 0.3) !important;
}

@media (max-width: 1180px) {
  .lux-telemetry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body .spec-grid.lux-spec-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .lux-specs-section {
    padding: 18px 15px 20px;
    border-radius: 20px;
  }
  .lux-telemetry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .lux-tele-card {
    padding: 13px 12px;
    border-radius: 15px;
  }
  .lux-tele-val {
    font-size: 1.06rem;
  }
  html body .spec-grid.lux-spec-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  html body .spec-grid.lux-spec-bento .spec.lux-spec-card {
    padding: 11px 11px !important;
    gap: 9px !important;
  }
  .lux-spec-ico {
    width: 33px;
    height: 33px;
    border-radius: 9px;
  }
  html body .spec.lux-spec-card .lux-spec-txt strong {
    font-size: 0.83rem !important;
  }
  html body .opt-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 500px) {
  .hero-pill-badge {
    font-size: 0.73rem !important;
    padding: 5px 10px !important;
    gap: 6px !important;
    max-width: 100% !important;
  }
  .hero-pill-badge .pill-tag {
    font-size: 0.68rem !important;
    padding: 2px 6px !important;
  }
}


/* ==========================================================================
   HERO SPLIT LUXURY & SINGLE REVIEWS RATING
   ========================================================================== */
.hero.hero-split {
  position: relative;
  background: radial-gradient(circle at 85% 30%, #17181c 0%, #090a0d 70%, #050608 100%);
  padding: 56px 0 64px;
  min-height: auto;
  overflow: hidden;
}
.hero-split-container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: center;
}
.hero-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.hero-split-content .hero-top-pills {
  justify-content: flex-start;
  margin-bottom: 24px;
  gap: 14px;
}
.hero-split-content .hero-main-title {
  margin: 0 0 20px;
  text-align: left;
  line-height: 1.18;
}
.hero-split-content .hero-sub-text {
  margin: 0 0 28px;
  text-align: left;
  max-width: 680px;
  line-height: 1.65;
  font-size: 1.05rem;
}
.hero-split-content .hero-search-wrapper {
  width: 100%;
  max-width: 680px;
  margin-inline: 0;
  margin-bottom: 24px;
}
.hero-split-content .hero-quick-pills {
  justify-content: flex-start;
  margin-top: 16px;
  gap: 10px 12px;
}

/* Solo Recensioni Certificate */
.hero-trust-single {
  display: flex;
  align-items: center;
  margin-top: 18px;
}
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.32);
  color: #fef08a;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 20px -4px rgba(251, 191, 36, 0.22);
  transition: all 0.25s ease;
}
.hero-rating-badge:hover {
  background: rgba(251, 191, 36, 0.20);
  border-color: rgba(251, 191, 36, 0.50);
  transform: translateY(-1px);
}
.hero-rating-badge i,
.hero-rating-badge .icon {
  width: 17px;
  height: 17px;
  color: #fbbf24 !important;
}

/* Cornice Showroom Luxury */
.hero-split-frame-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.dealership-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.85), 0 0 25px -10px rgba(255, 255, 255, 0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.dealership-frame:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: #ffffff !important;
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.95), 
    0 0 0 1.5px #ffffff,
    0 0 32px rgba(255, 255, 255, 0.75), 
    0 0 60px rgba(255, 255, 255, 0.35) !important;
}
.dealership-frame-glass {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9.2;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.dealership-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.dealership-frame:hover .dealership-frame-img {
  transform: scale(1.03);
}
.dealership-frame-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.78rem;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dealership-frame-footer i,
.dealership-frame-footer .icon {
  width: 14px;
  height: 14px;
  color: #ef4444;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero.hero-split {
    padding: 36px 0 54px !important;
  }
  .hero-split-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .hero-split-frame-wrap {
    order: -1;
    margin-bottom: 6px !important;
  }
  .dealership-frame {
    padding: 7px;
    border-radius: 20px;
  }
  .dealership-frame-glass {
    border-radius: 15px;
  }
  .hero-split-content {
    align-items: center;
    text-align: center;
  }
  .hero-split-content .hero-top-pills {
    justify-content: center;
    margin-bottom: 26px !important;
    gap: 14px !important;
  }
  /* In mobile e tablet la cornice showroom mostra già la sede: nascondiamo il secondo badge per dare respiro */
  .hero-split-content .hero-pill-badge {
    display: none !important;
  }
  .hero-split-content .hero-main-title {
    text-align: center;
    margin: 0 0 18px !important;
    font-size: clamp(1.9rem, 5.5vw, 2.5rem) !important;
    line-height: 1.25 !important;
  }
  .hero-split-content .hero-sub-text {
    text-align: center;
    margin: 0 0 26px !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    max-width: 520px !important;
  }
  .hero-split-content .hero-search-wrapper {
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }
  .hero-split-content .hero-quick-pills {
    justify-content: center;
    margin-top: 8px !important;
    gap: 10px 12px !important;
  }
  .hero-trust-single {
    justify-content: center;
    margin-top: 16px !important;
  }
}


/* ==========================================================================
   PORSCHE SPORT CHRONO CLOCK GAUGE (MOTIVO CARBON & ANALOG LIVE DIAL)
   ========================================================================== */
.porsche-chrono-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 7px;
  background: linear-gradient(135deg, rgba(26, 30, 39, 0.96) 0%, rgba(13, 15, 21, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 
    0 14px 32px -6px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  text-decoration: none !important;
  color: #fff !important;
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.porsche-chrono-pill:hover {
  border-color: rgba(225, 29, 72, 0.55);
  box-shadow: 
    0 16px 36px -4px rgba(225, 29, 72, 0.28),
    0 0 0 1px rgba(225, 29, 72, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1.5px);
}

.porsche-chrono-dial {
  width: 52px;
  height: 52px;
  position: relative;
  border-radius: 50%;
  flex-shrink: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(225, 29, 72, 0.22) 0%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(135deg, #2a2f3a 0%, #101217 50%, #20242e 100%);
  border: 2px solid #475569;
  box-shadow: 
    0 0 0 1px #050608,
    0 4px 12px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.porsche-chrono-dial::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 35%, transparent 60%);
  pointer-events: none;
  z-index: 4;
}

.chrono-svg-face {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.chrono-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.chrono-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.chrono-porsche-badge {
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e11d48;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chrono-red-marker {
  width: 5px;
  height: 5px;
  background: #e11d48;
  border-radius: 50%;
  box-shadow: 0 0 8px #e11d48;
  display: inline-block;
}

.chrono-sub-tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chrono-main-readout {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.chrono-time {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.chrono-date {
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.chrono-live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: chronoPulse 1.8s infinite;
  flex-shrink: 0;
}

/* ELIMINAZIONE DUPLICATO OROLOGIO: NASCONDI TOPBAR SU MOBILE <= 820px */
@media (max-width: 820px) {
  .topbar {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .porsche-chrono-pill {
    gap: 9px;
    padding: 5px 14px 5px 6px;
    max-width: 100%;
  }
  .porsche-chrono-dial {
    width: 44px;
    height: 44px;
  }
  .chrono-time {
    font-size: 0.90rem;
  }
  .chrono-date {
    font-size: 0.66rem;
  }
  .chrono-porsche-badge {
    font-size: 0.58rem;
  }
  .chrono-sub-tag {
    font-size: 0.56rem;
  }
}


/* Topbar status capsule (no duplicate clock) */
.topbar-status-capsule {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
  color: #f8fafc !important;
  text-decoration: none !important;
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.topbar-status-capsule:hover {
  background: rgba(16, 185, 129, 0.20);
  border-color: rgba(52, 211, 153, 0.6);
  transform: translateY(-0.5px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}

/* Matching Cockpit Luxury for hero-pill-badge */
.hero-split-content .hero-pill-badge {
  background: linear-gradient(135deg, rgba(26, 30, 39, 0.90) 0%, rgba(13, 15, 21, 0.94) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}


/* ==========================================================================
   SUPER LUXURY POLISH: CONCISE BENEFITS, SLIM VISIT CARD & CLEAN SPECS
   ========================================================================== */

/* 1. COMPRANDOLA DA NOI (BENEFITS BENTO GRID) */
.included-grid.lux-benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

.included.lux-benefit-tile {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 13px 16px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.08) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.included.lux-benefit-tile:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(227, 27, 35, 0.35) !important;
  box-shadow: 0 10px 22px -6px rgba(227, 27, 35, 0.12) !important;
}

.lux-benefit-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(227, 27, 35, 0.08);
  border: 1px solid rgba(227, 27, 35, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lux-benefit-ico .icon {
  width: 17px !important;
  height: 17px !important;
  color: #e11d48 !important;
}

.lux-benefit-txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lux-benefit-txt strong {
  font-size: 0.88rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
  margin-bottom: 2px !important;
}

.lux-benefit-txt span {
  font-size: 0.76rem !important;
  color: #64748b !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
}

@media (max-width: 900px) {
  .included-grid.lux-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 580px) {
  .included-grid.lux-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .included.lux-benefit-tile {
    padding: 10px 10px !important;
    gap: 9px !important;
  }
  .lux-benefit-ico {
    width: 32px;
    height: 32px;
  }
  .lux-benefit-ico .icon {
    width: 15px !important;
    height: 15px !important;
  }
  .lux-benefit-txt strong {
    font-size: 0.80rem !important;
  }
  .lux-benefit-txt span {
    font-size: 0.70rem !important;
  }
}

/* 2. VISIT CARD (SLIM & BEAUTIFUL 3-COL ACTIONS & ORARI COMPATTI) */
.visit-card.lux-visit-card {
  border-radius: 20px !important;
  padding: 22px 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.10) !important;
}

.visit-actions.lux-visit-actions-3col {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 16px 0 !important;
}

.visit-actions.lux-visit-actions-3col .btn {
  justify-content: center !important;
  padding: 9px 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
}

.lux-hours-summary {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 10px 14px;
  margin: 10px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lux-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #334155;
}

.lhr-day {
  color: #64748b;
  font-weight: 600;
}

.lhr-time {
  color: #0f172a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lhr-sep {
  color: #cbd5e1;
  margin: 0 4px;
}

.lhr-closed {
  color: #e11d48;
  font-weight: 700;
}

.lux-hours-details {
  margin-top: 4px;
}

.lux-hours-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 650;
  color: #64748b;
  cursor: pointer;
  padding: 5px 4px;
  user-select: none;
  list-style: none;
}

.lux-hours-toggle::-webkit-details-marker {
  display: none;
}

.lux-hours-toggle .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.lux-hours-details[open] .lux-hours-toggle .icon {
  transform: rotate(180deg);
}

.lux-hours-details ul.hours {
  margin-top: 8px !important;
  padding-top: 8px !important;
  border-top: 1px dashed rgba(15, 23, 42, 0.08) !important;
}

/* 3. CARATTERISTICHE PRINCIPALI (CLEAN BENTO GRID WITHOUT DUPLICATES) */
.spec-grid.lux-spec-bento {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

@media (max-width: 820px) {
  .spec-grid.lux-spec-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* 4. CONCIERGE ACTION PANEL REFINEMENT */
.apple-action-grid.lux-action-grid {
  gap: 8px !important;
}

.apple-btn-tile {
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

.apple-btn-tile .abt-title {
  font-size: 0.84rem !important;
  font-weight: 750 !important;
}

.apple-btn-tile .abt-sub {
  font-size: 0.68rem !important;
}

.side-trust.apple-trust {
  padding: 10px 14px !important;
  border-radius: 16px !important;
  gap: 8px !important;
}

.side-trust.apple-trust li {
  font-size: 0.78rem !important;
  line-height: 1.25 !important;
}

.side-trust.apple-trust li .icon {
  width: 14px !important;
  height: 14px !important;
}

/* ==========================================================================
   ULTRA-WIDE FULL-PAGE LAYOUT & HIGH-IMPACT EXTRA-LARGE CAR SHOWCASE
   ========================================================================== */

/* 1. Full-page width sections */
.section {
  width: 100% !important;
  box-sizing: border-box !important;
}

.section-head {
  margin-bottom: clamp(28px, 3vw, 42px) !important;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.85rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
}

/* 2. Extra-large car cards grid */
.car-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(24px, 2.4vw, 36px) !important;
  width: 100% !important;
}

@media (min-width: 2200px) {
  .car-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 36px 30px !important;
  }
}

@media (max-width: 1200px) {
  .car-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
}

@media (max-width: 768px) {
  .car-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* 3. Extra-large photo container & image rendering */
.car-card {
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 42px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
  background: #ffffff !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.car-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10.2 !important;
  min-height: 250px !important;
  background: #0b0f19 !important;
  border-radius: 22px 22px 0 0 !important;
  overflow: hidden !important;
}

@media (min-width: 900px) {
  .car-media {
    aspect-ratio: 16 / 10 !important;
    min-height: 290px !important;
  }
}

@media (min-width: 1400px) {
  .car-media {
    aspect-ratio: 16 / 9.8 !important;
    min-height: 330px !important;
  }
}

@media (max-width: 600px) {
  .car-media {
    aspect-ratio: 16 / 10.5 !important;
    min-height: 240px !important;
  }
}

.car-media img,
.car-main-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.car-card:hover .car-media img,
.car-card:hover .car-main-img {
  transform: scale(1.05) !important;
}

/* 4. Luxury typography & buttons sized for large cards */
.car-body {
  padding: clamp(20px, 2.2vw, 26px) !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.car-title {
  font-size: clamp(1.22rem, 1.4vw, 1.42rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 6px !important;
}

.car-title a {
  color: #0f172a !important;
  text-decoration: none !important;
}

.car-version {
  font-size: 0.94rem !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin-bottom: 16px !important;
}

.car-specs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 18px !important;
  padding: 12px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 16px !important;
  color: #334155 !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
}

.car-specs li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.car-specs li .icon {
  width: 18px !important;
  height: 18px !important;
  color: #dc2626 !important;
}

.car-foot {
  margin-top: auto !important;
  padding-top: 10px !important;
}

.car-price .price {
  font-size: clamp(1.4rem, 1.6vw, 1.65rem) !important;
  font-weight: 850 !important;
  color: #0f172a !important;
}

.car-price .price-rata {
  font-size: 0.92rem !important;
  color: #64748b !important;
  font-weight: 650 !important;
}

.car-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

.btn-card-detail,
.btn-card-wa {
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
}

/* 5. Navigation arrows & dots on larger cards */
.card-nav {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.card-nav:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #ffffff !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.photo-count {
  padding: 6px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.fav-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
}

/* 6. Services, Reviews, and Benefits Wide Layout Expansion */
.services {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2vw, 32px) !important;
}

@media (max-width: 900px) {
  .services {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.reviews {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2vw, 32px) !important;
}

@media (max-width: 1024px) {
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .reviews {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   ULTRA-FAST SCROLL & IMAGE RENDERING OPTIMIZATIONS (60/120 FPS)
   ========================================================================== */
.car-card {
  contain: none;
}

.car-media img,
.car-main-img,
.gallery-main img,
.gallery img,
.car-hero-media img,
.lightbox-content img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.car-media img.car-main-img {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Prevenzione jitter e scroll fluido nativo */
html {
  scroll-behavior: smooth;
}

/* Footer SEO Accordion Luxury Styling */
.footer-zones-accordion {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 18px;
  margin-top: 18px;
  transition: all 0.3s ease;
}
.footer-zones-accordion[open] {
  background: rgba(255, 255, 255, 0.05);
}
.footer-zones-accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
  user-select: none;
}
.footer-zones-accordion summary::-webkit-details-marker {
  display: none;
}
.fz-toggle-hint {
  font-size: 0.78rem;
  color: var(--primary, #ef4444);
  font-weight: 500;
  text-decoration: underline;
}
.footer-zones-accordion .fz-chips {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
