@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 15px;
}
:root {
  --navy:      #0d1b2e;
  --navy-mid:  #142338;
  --orange:    #f97316;
  --orange-d:  #ea580c;
  --white:     #ffffff;
  --bg:        #f8fafc;
  --bg2:       #f1f5f9;
  --border:    #e2e8f0;
  --text:      #0f172a;
  --text-mid:  #334155;
  --text-muted:#64748b;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 1px 3px rgba(0,0,0,.07),0 4px 14px rgba(0,0,0,.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,.13);
  /* Variabili sovrascrivibili da scheda API → settings.theme */
  --topbar-bg:   var(--navy);
  --topbar-text: #e2e8f0;
  --navbar-bg:   var(--white);
  --navbar-text: var(--navy);
  --mobile-navbar-bg:   var(--navy-mid);
  --mobile-navbar-text: var(--white);
  --button-bg:   var(--orange);
  --button-text: var(--white);
  --orange-d:    color-mix(in srgb, var(--button-bg) 82%, #000);
  --hero-bg:     var(--navy);
  --hero-text:   var(--white);
  --card-bg:     var(--white);
  --link:        var(--orange);
  --footer-bg:   var(--navy);
  --footer-text: #8899b2;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4 { line-height: 1.2; }
ul { list-style: none; padding: 0; margin: 0; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* TOPBAR */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 0;
  gap: 1rem;
}
.topbar-left,.topbar-right { display: flex; align-items: center; gap: .85rem; font-size: .82rem; }
.topbar-sep { opacity: .2; user-select: none; }
.topbar a { color: #8899b2; display: inline-flex; align-items: center; gap: .3rem; transition: color .15s; }
.topbar a:hover { color: var(--link); }

/* NAVBAR */
.site-header { position: sticky; top: 0; z-index: 200; }
.main-nav { background: var(--navbar-bg); border-bottom: 1px solid rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; height: 62px; gap: 1.5rem; position: relative; }
.navbar-collapse { display: flex; align-items: left; flex: 1; justify-content: flex-end; }
.brand-mark { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.brand-logo { height: 42px; max-width: 160px; object-fit: contain; display: block; }
.brand-mark-text { display: inline-flex; align-items: center; gap: .35rem; }
.brand-icon {
  background: var(--button-bg);
  color: #fff;
  font-family: "Inter",sans-serif;
  font-weight: 800;
  font-size: .95rem;
  padding: .28em .55em;
  border-radius: 7px;
  line-height: 1;
}
.brand-text { color: var(--navbar-text); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; }
.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-links .nav-link {
  color: var(--navbar-text);
  font-size: .9rem;
  font-weight: 500;
  padding: .42rem .78rem;
  border-radius: 8px;
  transition: color .18s, background .18s, box-shadow .18s;
  white-space: nowrap;
  position: relative;
}
.nav-links .nav-link:hover {
  color: var(--link);
  background: rgba(249,115,22,.08);
}
.nav-links .nav-link.nav-active {
  color: var(--link);
  background: transparent;
  font-weight: 650;
}
.nav-cta-group { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.btn-nav-ghost {
  color: #b8c7dc;
  font-size: .83rem;
  font-weight: 600;
  padding: .4rem .85rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
  transition: all .15s;
}
.btn-nav-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }
.btn-nav-orange {
  color: var(--button-text);
  background: var(--button-bg);
  font-size: .83rem;
  font-weight: 700;
  padding: .43rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s;
}
.btn-nav-orange:hover { background: var(--white-d); color: var(--white); }
.nav-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: 8px;
  border: 2px solid var(--mobile-navbar-text);
  background: var(--mobile-navbar-bg);
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: background .18s;
}
.nav-toggler:hover { background: color-mix(in srgb, var(--mobile-navbar-bg) 85%, var(--button-bg)); }
.nav-toggler span { display: block; height: 2px; background: var(--mobile-navbar-text); border-radius: 2px; }

/* HERO */
.hero-wrap {
  position: relative;
  padding: 5rem 0 7.5rem;
  background:
    linear-gradient(rgba(5,12,24,.82),rgba(5,12,24,.75)),
    url("https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero-text { text-align: center; max-width: 660px; margin: 0 auto 2.5rem; }
.hero-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--button-bg); background: color-mix(in srgb, var(--button-bg) 14%, transparent); border: 1px solid color-mix(in srgb, var(--button-bg) 35%, transparent); border-radius: 999px; padding: .28rem .85rem; margin-bottom: .9rem; }
.hero-text h1 { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: .7rem; line-height: 1.1; }
.hero-accent { color: var(--button-bg); }
.hero-text p { color: color-mix(in srgb, var(--hero-text, #fff) 72%, transparent); font-size: 1rem; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.btn-hero-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--button-bg); color: var(--button-text); border-radius: 8px; padding: .58rem 1.25rem; font-size: .88rem; font-weight: 700; transition: background .15s; }
.btn-hero-primary:hover { background: var(--orange-d); color: var(--button-text); }
.btn-hero-secondary { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--hero-text, var(--white)); border: 1.5px solid rgba(255,255,255,.35); border-radius: 8px; padding: .56rem 1.2rem; font-size: .88rem; font-weight: 600; transition: border-color .15s, background .15s; }
.btn-hero-secondary:hover { border-color: var(--hero-text, var(--white)); background: rgba(255,255,255,.08); color: var(--hero-text, var(--white)); }

/* Search card */
.search-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.4rem 1.6rem 1.2rem;
  max-width: 820px;
  margin: 0 auto;
}
.search-card-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .8rem; }
.search-row { display: flex; gap: .6rem; align-items: flex-end; }
.search-field { flex: 1; display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.search-field label { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.search-field select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .58rem .8rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .65rem center;
  cursor: pointer;
  transition: border-color .15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-field select:focus { outline: none; border-color: var(--button-bg); }
.btn-search {
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 8px;
  padding: .6rem 1.4rem;
  font-size: .9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
  transition: background .15s;
  align-self: flex-end;
}
.btn-search:hover { background: var(--orange-d); }
.search-tags { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--border); }
.search-tags-label { font-size: .78rem; color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.search-tags a { font-size: .8rem; color: var(--text-mid); background: var(--bg2); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .7rem; transition: all .15s; }
.search-tags a:hover { background: var(--button-bg); color: var(--button-text); border-color: var(--button-bg); }

/* Advanced search toggle */
.search-advanced-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .85rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .3rem .75rem;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.search-advanced-toggle:hover { border-color: var(--button-bg); color: var(--button-bg); }
.search-advanced-toggle.open { border-color: var(--button-bg); color: var(--button-bg); background: color-mix(in srgb, var(--button-bg) 6%, transparent); }
.toggle-chevron { transition: transform .25s; }
.search-advanced-toggle.open .toggle-chevron { transform: rotate(180deg); }

/* Advanced search panel */
.search-advanced {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease, opacity .25s;
  opacity: 0;
}
.search-advanced.open { max-height: 280px; opacity: 1; }
.search-advanced-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .6rem;
  padding-top: .85rem;
}
.search-price-row { padding-top: .4rem; }

/* STATS RIBBON */
.stats-ribbon {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .7rem 0;
}
.stats-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .2rem 0;
}
.stat-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--text-mid);
  padding: .28rem .9rem;
}
.stat-chip svg { color: var(--orange); flex-shrink: 0; }
.stat-chip strong { color: var(--text); }
.stat-chip-sep {
  width: 1px;
  height: 1.2rem;
  background: var(--border);
  flex-shrink: 0;
}

/* SECTIONS */
.sec { padding: 5rem 0; }
.sec-white { background: var(--card-bg); }
.sec-gray  { background: var(--bg); }
.sec-dark  { background: var(--navy); color: var(--hero-text, var(--white)); }

/* Section heading — centrato di default */
.sec-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: .4rem;
}
.sec-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: .5rem;
}
.sec-dark .sec-head h2 { color: var(--white); }
.sec-head p {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.sec-dark .sec-head p { color: #8899b2; }

/* Heading con link "vedi tutti" allineato a destra */
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.sec-head-row h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.sec-dark .sec-head-row h2 { color: var(--white); }
.sec-head-row p { color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }
.sec-dark .sec-head-row p { color: #8899b2; }
.sec-dark .link-all { color: var(--link); }
.sec-dark .sec-head-row .link-all { color: var(--link); }

/* Vehicle cards on dark bg */
.sec-dark .v-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.sec-dark .v-card:hover { border-color: var(--orange); background: rgba(255,255,255,.09); }
.sec-dark .v-title { color: var(--white); }
.sec-dark .v-brand { color: #8899b2; }
.sec-dark .v-meta { color: #8899b2; }
.sec-dark .v-meta svg { color: #64748b; }
.sec-dark .v-footer { border-top-color: rgba(255,255,255,.08); }
.sec-dark .v-price { color: var(--orange); }
.sec-dark .btn-card { background: rgba(249,115,22,.15); color: var(--orange); border-color: rgba(249,115,22,.3); }
.sec-dark .btn-card:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* About-grid on dark bg */
.sec-dark .about-text h2 { color: var(--white); }
.sec-dark .about-text p { color: #8899b2; }
.sec-dark .about-checks .about-check span { color: #8899b2; }
.sec-dark .btn-outline-dark { border-color: rgba(255,255,255,.35); color: var(--white); }
.sec-dark .btn-outline-dark:hover { background: var(--white); color: var(--navy); }

/* Brand chips on dark bg */
.sec-dark .brand-chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.sec-dark .brand-chip:hover { border-color: var(--orange); background: rgba(249,115,22,.12); }
.sec-dark .brand-chip img { filter: invert(1) opacity(.65); }
.sec-dark .brand-chip:hover img { filter: invert(1) opacity(1); }

/* eyebrow on dark */
.sec-dark .eyebrow { background: color-mix(in srgb, var(--button-bg) 18%, transparent); color: var(--button-bg); border-color: color-mix(in srgb, var(--button-bg) 25%, transparent); }
.link-all {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--link);
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap .15s;
}
.link-all:hover { gap: .6rem; }

/* CATEGORIES */
.cat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  overflow: hidden;
  min-height: 160px;
  background: var(--cat-bg, var(--navy-mid)) center/cover no-repeat;
  transition: transform .2s,box-shadow .2s;
  cursor: pointer;
  text-decoration: none;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(249,115,22,.18) 40%, rgba(5,12,24,.18) 100%);
  transition: opacity .2s;
  z-index: 0;
}
.cat-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 12px 36px rgba(0,0,0,.28); }
.cat-card:hover::before { opacity: .7; }
.cat-icon  { position: relative; z-index: 1; font-size: 2.1rem; line-height: 1; margin-bottom: .25rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.cat-name  { position: relative; z-index: 1; font-weight: 700; font-size: .93rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.cat-count { position: relative; z-index: 1; font-size: .75rem; color: rgba(255,255,255,.72); margin-bottom: .8rem; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-text .eyebrow { margin-bottom: .5rem; }
.about-text h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); margin-bottom: 1rem; }
.about-text p { color: var(--text-mid); line-height: 1.7; margin-bottom: .75rem; font-size: .95rem; }
.btn-outline-dark { display: inline-block; margin-top: .5rem; border: 2px solid var(--text); border-radius: 8px; padding: .52rem 1.3rem; font-size: .88rem; font-weight: 700; color: var(--text); transition: all .15s; }
.btn-outline-dark:hover { background: var(--text); color: var(--white); }

.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
.about-badges {
  position: absolute;
  bottom: 1.25rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: .6rem;
  justify-content: center;
}
.about-badge {
  background: rgba(13,27,46,.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: .6rem 1rem;
  text-align: center;
  flex: 1;
  color: var(--white);
}
.about-badge strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--orange); line-height: 1.1; }
.about-badge span { font-size: .72rem; color: rgba(255,255,255,.7); line-height: 1.3; }

/* Legacy about-stats (keep for other pages if needed) */
.about-stats { display: flex; flex-direction: column; gap: .8rem; }
.about-stat { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1rem 1.15rem; display: flex; align-items: center; gap: .9rem; }
.about-stat-icon { font-size: 1.55rem; flex-shrink: 0; }
.about-stat-body strong { display: block; font-size: 1rem; font-weight: 700; color: var(--text); }
.about-stat-body span { font-size: .85rem; color: var(--text-muted); }

/* ── CATALOG / VEICOLI PAGE ─────────────────────────── */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  align-items: start;
}

/* Filters panel */
.filters-panel {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1rem;
  position: sticky;
  top: 80px;
}
.fp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--border);
}
.fp-title { font-weight: 700; font-size: .95rem; color: var(--text); }
.fp-reset {
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.fp-reset:hover { text-decoration: underline; }
.fp-group { margin-bottom: 1.1rem; }
.fp-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.fp-checks { display: flex; flex-direction: column; gap: .3rem; }
.fp-checks label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--text-mid);
  cursor: pointer;
  user-select: none;
}
.fp-checks input[type=checkbox] {
  width: 15px; height: 15px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}
.fp-select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .52rem .8rem;
  font-size: .88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  cursor: pointer;
}
.fp-select:focus { outline: none; border-color: var(--orange); }
.fp-range-wrap { display: flex; flex-direction: column; gap: .4rem; }
.fp-range { width: 100%; accent-color: var(--orange); cursor: pointer; }
.fp-range-val { font-size: .85rem; color: var(--text-mid); }
.fp-range-val strong { color: var(--text); font-weight: 700; }
.fp-hint { font-size: .75rem; color: var(--text-muted); margin-top: .35rem; line-height: 1.4; font-style: italic; }
.fc-count { margin-left: auto; font-size: .72rem; color: var(--text-muted); background: var(--bg2); border-radius: 10px; padding: .1em .5em; font-weight: 600; }
.fp-mobile-close { display: none; }
.fp-mobile-toggle {
  display: none;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .45rem .85rem;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
}

/* Catalog main */
.catalog-main { min-width: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.catalog-count { font-size: .88rem; color: var(--text-muted); font-weight: 500; }
.catalog-toolbar-right { display: flex; align-items: center; gap: .65rem; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pag-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 .65rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.pag-btn:hover:not([disabled]) {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(249,115,22,.05);
}
.pag-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.pag-btn[disabled] {
  opacity: .35;
  cursor: default;
}
.pag-ellipsis {
  color: var(--text-muted);
  font-size: .88rem;
  padding: 0 .25rem;
  line-height: 38px;
}

.catalog-banner {
  margin-top: 1.2rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b1220;
  box-shadow: var(--shadow-sm);
}

.catalog-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Empty state */
.catalog-empty {  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}
.catalog-empty svg { color: var(--border); }
.catalog-empty p { font-size: .95rem; }
.catalog-empty button {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: .55rem 1.3rem;
  font-size: .88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.catalog-empty button:hover { background: var(--orange-d); }

@media (max-width: 767px) {
  .catalog-banner {
    margin-top: 1rem;
    border-radius: 10px;
  }
}

/* VEHICLE CARDS */
.vehicles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.v-card { background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); display: flex; flex-direction: column; transition: box-shadow .2s,transform .2s; }
.v-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.v-thumb { position: relative; }
.v-thumb img { width: 100%; height: 195px; object-fit: cover; }
.v-badge { position: absolute; top: .6rem; left: .6rem; background: var(--orange); color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 5px; }
.v-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.v-brand { font-size: .78rem; color: var(--text-muted); font-weight: 500; margin-bottom: .2rem; }
.v-title { font-size: .97rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; line-height: 1.3; }
.v-meta { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin-bottom: .7rem; }
.v-meta li { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: .2rem; }
.v-meta li::before { content: "·"; color: var(--border); }
.v-meta li:first-child::before { display: none; }
.v-footer { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.v-price { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.v-price small { display: block; font-size: .72rem; font-weight: 500; color: var(--text-muted); line-height: 1; }
.btn-card { font-size: .8rem; font-weight: 700; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 7px; padding: .38rem .85rem; white-space: nowrap; transition: all .15s; flex-shrink: 0; }
.btn-card:hover { background: var(--orange); color: var(--white); }

/* CTA CONTATTI */
.cta-contact-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: center; }
.cta-contact-text h2 { color: var(--white); margin-bottom: .6rem; }
.cta-contact-text p { color: #8899b2; font-size: .98rem; line-height: 1.65; margin-bottom: 1.5rem; }
.cta-contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: var(--white); padding: .65rem 1.25rem; border-radius: var(--radius); font-size: .87rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; transition: border-color .18s, background .18s; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.orari-mini { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.orari-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #8899b2; font-size: .9rem; }
.orari-row:last-child { border-bottom: none; }
.orari-row strong { color: var(--white); font-weight: 600; text-align: right; }
.orari-row strong.chiuso { color: #f87171; }

/* BRANDS */
.brands-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.brand-chip { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: .9rem 1.4rem; min-width: 110px; min-height: 72px; display: flex; align-items: center; justify-content: center; transition: border-color .18s; }
.brand-chip:hover { border-color: var(--orange); }
.brand-chip img { max-height: 38px; max-width: 90px; filter: grayscale(1) opacity(.55); transition: filter .18s; }
.brand-chip:hover img { filter: grayscale(0) opacity(1); }

/* NEWSLETTER */
.newsletter-wrap { text-align: center; max-width: 520px; margin: 0 auto; }

/* ── Recensioni Google ─────────────────────────────────────────────────── */
.reviews-summary { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.reviews-score { font-size: 2.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
.reviews-stars { display: flex; gap: 2px; }
.reviews-count { font-size: .9rem; color: var(--text-muted); }
.reviews-google-badge { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; padding: .45rem .9rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: .82rem; color: var(--text-muted); text-decoration: none; transition: border-color .15s, color .15s; }
.reviews-google-badge:hover { border-color: #4285F4; color: #4285F4; }
/* Cards griglia */
.reviews-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; position: relative; }
.review-card-head { display: flex; align-items: flex-start; gap: .75rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-avatar-fallback { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-card-meta { flex: 1; min-width: 0; }
.review-author { font-weight: 700; font-size: .9rem; color: var(--text); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-author:hover { color: var(--orange); }
.review-stars { display: flex; gap: 1px; margin-top: 2px; }
.review-time { font-size: .78rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.review-text { font-size: .875rem; line-height: 1.6; color: var(--text); margin: 0; }
.review-google-mark { position: absolute; bottom: .9rem; right: 1rem; opacity: .5; }
.reviews-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-review-write { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; background: var(--white); border: 1.5px solid var(--border); border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.btn-review-write:hover { border-color: #4285F4; box-shadow: 0 0 0 3px rgba(66,133,244,.1); }
.btn-review-view { font-size: .88rem; color: var(--orange); text-decoration: none; font-weight: 600; }
.btn-review-view:hover { text-decoration: underline; }
.newsletter-wrap h2 { font-size: clamp(1.4rem,2.8vw,2rem); font-weight: 800; letter-spacing: -.03em; color: var(--white); margin-bottom: .4rem; }
.newsletter-wrap p { color: #8899b2; margin-bottom: 1.4rem; }
.newsletter-form { display: flex; gap: .5rem; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; min-width: 0; border: 1.5px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(255,255,255,.07); color: var(--white); padding: .6rem 1rem; font-size: .9rem; font-family: inherit; }
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form input:focus { outline: none; border-color: var(--orange); }
.newsletter-form button { background: var(--orange); color: var(--white); border: none; border-radius: 8px; padding: .6rem 1.3rem; font-weight: 700; font-size: .9rem; font-family: inherit; cursor: pointer; white-space: nowrap; transition: background .15s; }
.newsletter-form button:hover { background: var(--orange-d); }

/* FOOTER */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand { display: flex; align-items: center; gap: .35rem; margin-bottom: .9rem; }
.footer-brand .brand-icon { font-size: .9rem; }
.footer-brand .brand-text { font-size: .98rem; }
.footer-logo-img { max-height: 48px; max-width: 140px; object-fit: contain; margin-bottom: .9rem; display: block; }
.footer-contact-list p { display: flex; align-items: flex-start; gap: .45rem; margin-bottom: .4rem; font-size: .88rem; }
.footer-contact-list p svg { flex-shrink: 0; margin-top: .15rem; opacity: .7; }
.footer-contact-list a { color: inherit; }
.footer-contact-list a:hover { color: var(--orange); }
.footer-col p { font-size: .87rem; line-height: 1.65; color: #8899b2; }
.footer-col a { color: #8899b2; transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-col h4 { color: var(--white); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .85rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col ul a { font-size: .87rem; }
.footer-social { display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-top: .1rem; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; color: #8899b2; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: .45rem; transition: all .15s; width: 34px; height: 34px; }
.social-btn:hover { color: var(--white); border-color: rgba(249,115,22,.5); background: rgba(249,115,22,.1); }
.bottom-footer { background: #060d18; padding: .8rem 0; }
.bottom-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .8rem; color: #3d5068; }

/* INNER PAGES */
.inner-hero { background: var(--navy); padding: 3.5rem 0 3rem; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.06); }
.inner-hero h1 { font-size: clamp(1.8rem,4vw,2.7rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .4rem; }
.inner-hero p { color: #8899b2; }
.panel { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem 2rem; }
.panel h2 { margin-bottom: .35rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.panel > p { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.about-story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.kpi-list li { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .93rem; }
.kpi-list li:last-child { border-bottom: none; }
.kpi-list strong { font-weight: 700; }
.section-spacing { padding: 4.5rem 0; }

/* ── CHI SIAMO PAGE ──────────────────────────────────── */

/* KPI banner */
.kpi-banner {
  background: var(--navy);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.kpi-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.kpi-item {
  text-align: center;
  padding: .75rem 2.5rem;
  flex: 1;
  min-width: 140px;
}
.kpi-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.kpi-item strong span {
  font-size: 1.2rem;
  color: var(--orange);
  font-weight: 700;
}
.kpi-item > span {
  font-size: .8rem;
  color: #8899b2;
  margin-top: .2rem;
  display: block;
}
.kpi-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* About checks */
.about-checks {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.25rem;
}
.about-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-mid);
}
.about-check svg {
  flex-shrink: 0;
  color: var(--orange);
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.1rem;
}
.value-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.value-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-icon {
  width: 46px; height: 46px;
  background: rgba(249,115,22,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 1rem;
}
.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.value-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Steps */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-item {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.step-item p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-arrow {
  flex-shrink: 0;
  color: var(--border);
  padding-top: 1rem;
  align-self: flex-start;
  margin-top: .85rem;
}

/* CTA banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner-text .eyebrow { margin-bottom: .3rem; }
.cta-banner-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: .3rem;
}
.cta-banner-text p { color: #8899b2; font-size: .92rem; }
.cta-banner-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
.btn-cta-orange {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.6rem;
  border-radius: 9px;
  transition: background .15s;
  white-space: nowrap;
}
.btn-cta-orange:hover { background: var(--orange-d); color: var(--white); }
.btn-cta-ghost {
  color: #b8c7dc;
  font-weight: 600;
  font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.18);
  transition: all .15s;
  white-space: nowrap;
}
.btn-cta-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }

/* ── CONTACTS PAGE ───────────────────────────────────── */
.contacts-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.75rem;
  align-items: start;
}

/* Info card */
.contact-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--white);
}
.cic-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cic-title { font-weight: 700; font-size: 1rem; color: var(--white); }
.contact-info-list { display: flex; flex-direction: column; gap: 1.15rem; }
.contact-info-list li { display: flex; align-items: flex-start; gap: .85rem; }
.cil-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(249,115,22,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-top: .05rem;
}
.cil-body { display: flex; flex-direction: column; gap: .1rem; }
.cil-body strong { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.cil-body a,
.cil-body span { font-size: .92rem; color: var(--white); }
.cil-body a:hover { color: var(--orange); }
.cil-note { font-size: .8rem !important; color: rgba(255,255,255,.4) !important; }

/* Map */
.contact-map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); position: relative; }
.contact-map-wrap iframe { width: 100%; height: 200px; border: none; display: block; }
.map-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  justify-content: center;
  padding: .6rem 1rem;
  background: var(--white);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color .15s, background .15s;
  border-top: 1px solid var(--border);
}
.map-link:hover { color: var(--orange); background: var(--bg2); }

/* Form wrap */
.contact-form-wrap { }
.cfh {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--border);
}
.cfh-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: rgba(249,115,22,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.cfh h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-bottom: .15rem; }
.cfh p { font-size: .85rem; color: var(--text-muted); }

/* Form fields */
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.contact-form-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .85rem; }
.contact-form-field label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: .3rem;
}
.cf-opt { font-weight: 400; letter-spacing: 0; text-transform: none; font-size: .78rem; color: #94a3b8; }
.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: .62rem .9rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.contact-form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  cursor: pointer;
}
.contact-form-field textarea { resize: vertical; min-height: 120px; }
.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.cf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}
.cf-privacy { font-size: .8rem; color: var(--text-muted); }
.cf-privacy a { color: var(--orange); text-decoration: underline; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 9px;
  padding: .7rem 1.75rem;
  font-weight: 700;
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn-submit:hover { background: var(--orange); transform: translateY(-1px); }

/* ── VEHICLE DETAIL PAGE ─────────────────────────────── */

/* Breadcrumb */
.vd-breadcrumb {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
}
.vd-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.vd-breadcrumb-nav a { color: var(--text-muted); transition: color .15s; }
.vd-breadcrumb-nav a:hover { color: var(--orange); }
.vd-breadcrumb-nav span:not(:last-child) { opacity: .5; }

/* Title row */
.vd-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.vd-condizione-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(249,115,22,.12);
  color: var(--orange);
  border-radius: 999px;
  padding: .18rem .7rem;
  margin-bottom: .4rem;
}
.vd-title {
  font-size: clamp(1.5rem,3vw,2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: .5rem;
}
.vd-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.vd-meta-chips span {
  font-size: .8rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .18rem .65rem;
  color: var(--text-mid);
}
.mobile-only { display: none; }
@media (max-width: 767px) { .mobile-only { display: block; } }

.vd-price-top { text-align: right; flex-shrink: 0; }
.vd-price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.vd-price-note { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }

/* Layout */
.vd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.75rem;
  align-items: start;
}

/* Gallery */
.vd-gallery { }
.vd-main-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg2);
  aspect-ratio: 16/10;
}
.vd-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.vd-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .6rem;
  flex-wrap: wrap;
}
.vd-thumb {
  width: 90px;
  height: 62px;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color .15s;
  flex-shrink: 0;
}
.vd-thumb.active { border-color: var(--orange); }
.vd-thumb:hover { border-color: var(--orange); }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Specs */
.vd-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.1rem;
  padding-bottom: .75rem;
  border-bottom: 1.5px solid var(--border);
}
.vd-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.vd-spec-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--border);
}
.vd-spec-item:nth-child(odd) { border-right: 1px solid var(--border); }
.vd-spec-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.vd-spec-val {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}

/* Sidebar */
.vd-sidebar { display: flex; flex-direction: column; gap: 0; }

/* Price card */
.vd-price-card { }
.vd-price-big {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .25rem;
}
.vd-price-sub { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; }
.vd-quick-specs {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  background: var(--bg);
  border-radius: 10px;
  padding: .75rem .85rem;
  margin-bottom: 1rem;
}
.vd-qs { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.vd-qs strong { font-size: .92rem; font-weight: 700; color: var(--text); }
.vd-qs span { font-size: .7rem; color: var(--text-muted); }

/* WhatsApp button */
.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #25d366;
  color: var(--white);
  border-radius: 9px;
  padding: .7rem 1rem;
  font-weight: 700;
  font-size: .9rem;
  width: 100%;
  transition: background .15s;
}
.btn-wa:hover { background: #1ebe5d; color: var(--white); }

/* Back link */
.vd-back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: .85rem;
  transition: color .15s;
}
.vd-back-link:hover { color: var(--orange); }

/* Related */
.vd-related { padding-top: 3rem !important; }

/* VEHICLE DETAIL (legacy) */
.vehicle-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.vehicle-detail-media img { width: 100%; border-radius: var(--radius); object-fit: cover; min-height: 280px; }
.detail-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text-mid); display: flex; justify-content: space-between; gap: .5rem; }
.detail-list li:last-child { border-bottom: none; }
.detail-list strong { color: var(--text); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 1199px) {
  .vehicles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid   { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 991px) {
  .nav-toggler { display: flex; }
  /* topbar-right resta visibile su tablet: nasconde solo testo social */
  .navbar-collapse {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--mobile-navbar-bg);
    border-top: 1px solid rgba(255,255,255,.07);
    padding: .75rem 1.25rem 1.25rem;
    display: none;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  .navbar-collapse.show {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    margin: 0;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links .nav-link { display: block; padding: .6rem .7rem; font-size: .93rem; color: var(--mobile-navbar-text); }
  .nav-links .nav-link.nav-active { color: var(--link); }
  .nav-cta-group {
    flex-direction: column;
    gap: .5rem;
    padding-top: .75rem;
    width: 100%;
  }
  .btn-nav-ghost,
  .btn-nav-orange {
    display: block;
    text-align: center;
    padding: .6rem 1rem;
    width: 100%;
  }
  .cat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-story-grid,.vehicle-detail { grid-template-columns: 1fr; }
  .contacts-layout { grid-template-columns: 1fr; }
  .vd-layout { grid-template-columns: 1fr; }
  .vd-price-top { text-align: left; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 500;
    overflow-y: auto;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform .28s ease;
    max-width: 320px;
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
  }
  .filters-panel.open { transform: translateX(0); }
  .fp-mobile-close {
    display: block;
    width: 100%;
    margin-top: .75rem;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 9px;
    padding: .7rem 1rem;
    font-size: .9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
  }
  .fp-mobile-toggle { display: inline-flex; }
  .values-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: .25rem 0; padding: 0; }
  .step-item { padding: 0 .5rem; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  .kpi-divider { display: none; }
  .kpi-item { min-width: 120px; padding: .5rem 1rem; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .sec-head p { max-width: 100%; }
}
@media (max-width: 767px) {
  .hero-wrap { padding: 3rem 0 4rem; }
  .search-card {
    padding: 1.1rem 1rem 1rem;
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .search-row {
    flex-direction: column;
    gap: .55rem;
  }
  .search-field { width: 100%; }
  .search-field select { width: 100%; }
  .btn-search {
    width: 100%;
    justify-content: center;
    padding: .7rem 1rem;
    align-self: stretch;
  }
  .search-advanced-row { grid-template-columns: 1fr 1fr; }
  .search-price-row .search-field:last-child { grid-column: 1 / -1; }
  .stats-ribbon-inner { gap: 0; }
  .stat-chip { font-size: .78rem; padding: .2rem .55rem; }
  .stat-chip-sep { display: none; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .cta-contact-actions { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .bottom-footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .sec { padding: 3.5rem 0; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .vd-specs-grid { grid-template-columns: 1fr; }
  .vd-spec-item:nth-child(odd) { border-right: none; }
  .vd-values-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-footer { flex-direction: column; align-items: stretch; }
  .btn-submit { justify-content: center; }
}
@media (max-width: 479px) {
  .cat-grid  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-advanced-row { grid-template-columns: 1fr; }
  .stats-ribbon-inner { flex-wrap: wrap; gap: .1rem; justify-content: flex-start; padding: 0 .25rem; }
  .stat-chip-sep { display: none; }
  /* topbar sempre visibile su mobile */
  .topbar-sep,
  .topbar-left a[href^="mailto"] { display: none; }
  .topbar-right .topbar-link-text { display: none; }
  .topbar-right { display: flex; }
}

/* ── GALLERY PAGE ─────────────────────────────────────── */

/* Hero gallery */
.gallery-hero { padding-bottom: 2.8rem; }
.gallery-section { padding: 2.5rem 0 4rem; }

/* Pulsante refresh */
.gallery-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  flex-shrink: 0;
}
.gallery-refresh-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(249,115,22,.04); }
.gallery-refresh-btn .spinning {
  animation: spin 0.8s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.gallery-breadcrumb {
  display: flex; align-items: center; gap: .35rem;
  font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: .1rem;
}
.gallery-breadcrumb a { color: rgba(255,255,255,.55); transition: color .15s; }
.gallery-breadcrumb a:hover { color: var(--orange); }
.gallery-breadcrumb svg { opacity: .4; }
.gallery-hero-sub { color: #8899b2; font-size: .97rem; margin-top: .35rem; }
.gallery-hero-stats { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.ghs-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: .3rem .85rem;
  font-size: .82rem; color: rgba(255,255,255,.75);
}
.ghs-chip svg { color: var(--orange); }
.ghs-sep { color: rgba(255,255,255,.25); font-size: .9rem; }

/* Toolbar */
.gallery-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.gallery-count-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }

/* Filtri */
.gallery-filters { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.gallery-filter-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-mid); font-size: .85rem; font-weight: 600;
  font-family: inherit; cursor: pointer;
  transition: all .18s; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.gallery-filter-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(249,115,22,.04); }
.gallery-filter-btn.active {
  background: var(--orange); border-color: var(--orange); color: #fff;
  box-shadow: 0 3px 10px rgba(249,115,22,.28);
}
.gfb-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 .35rem;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: rgba(0,0,0,.1); color: inherit; line-height: 1;
}
.gallery-filter-btn.active .gfb-count { background: rgba(255,255,255,.25); }
.gfb-count:empty { display: none; }

/* Grid */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .85rem; animation: fadeUp .35s ease;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* Card item */
.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg2); cursor: pointer; outline: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.08); transition: box-shadow .2s, transform .2s;
}
.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-3px) scale(1.01); box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.gallery-item--featured { grid-column: span 2; grid-row: span 2; aspect-ratio: unset; }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* Hover overlay */
.gi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,46,.65) 0%, rgba(13,27,46,.1) 55%, transparent 100%);
  opacity: 0; transition: opacity .25s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gi-overlay,
.gallery-item:focus-visible .gi-overlay { opacity: 1; }
.gi-overlay-icon {
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 50%;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  color: #fff; transform: scale(.8); transition: transform .25s ease;
}
.gallery-item:hover .gi-overlay-icon { transform: scale(1); }

/* Play icon video */
.gi-play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gi-play-icon svg {
  background: rgba(249,115,22,.9); border-radius: 50%; padding: .75rem;
  width: 48px; height: 48px; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform .2s, background .2s;
}
.gallery-item:hover .gi-play-icon svg { transform: scale(1.12); background: var(--orange); }

/* Type badge */
.gi-type-badge {
  position: absolute; bottom: .6rem; left: .65rem;
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; font-weight: 700; padding: .22rem .6rem;
  border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; pointer-events: none;
}
.gi-type-foto { background: rgba(13,27,46,.65); color: rgba(255,255,255,.85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.gi-type-video { background: rgba(249,115,22,.85); color: #fff; }

/* Placeholder */
.gallery-item-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--text-muted); background:var(--navy-mid); }

/* Skeleton */
.gallery-skeleton {
  border-radius: 12px; aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--bg2) 25%, #e9eef5 50%, var(--bg2) 75%);
  background-size: 200% 100%; animation: gallery-shimmer 1.4s infinite;
}
@keyframes gallery-shimmer { 0% { background-position:200% 0; } 100% { background-position:-200% 0; } }

/* Empty state */
.gallery-empty-state {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:.85rem; padding:5rem 2rem; text-align:center;
}
.ges-icon {
  width:72px; height:72px; background:var(--white); border:1.5px solid var(--border);
  border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--border); margin-bottom:.25rem;
}
.gallery-empty-state p { color:var(--text-muted); font-size:.95rem; }
.gallery-empty-state button {
  background:var(--orange); color:#fff; border:none; border-radius:8px;
  padding:.55rem 1.4rem; font-size:.88rem; font-weight:700; font-family:inherit; cursor:pointer; transition:background .15s;
}
.gallery-empty-state button:hover { background:var(--orange-d); }

/* ── Lightbox ─────────────────────────────────────────── */
.gallery-lightbox-overlay {
  position:fixed; inset:0; background:rgba(5,10,20,.94); z-index:900;
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); animation:lbFadeIn .22s ease;
}
@keyframes lbFadeIn { from { opacity:0; } to { opacity:1; } }
.gallery-lightbox { position:fixed; inset:0; z-index:901; display:flex; align-items:center; justify-content:center; padding:1rem; }
.glb-close {
  position:fixed; top:1.1rem; right:1.1rem;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18);
  border-radius:50%; width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; cursor:pointer; transition:background .15s, transform .15s; z-index:902;
}
.glb-close:hover { background:var(--orange); transform:rotate(90deg); }
.glb-nav {
  position:fixed; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16);
  border-radius:50%; width:50px; height:50px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; cursor:pointer; transition:background .15s, transform .15s; z-index:902;
}
.glb-nav:hover { background:var(--orange); }
.glb-prev { left:1.1rem; }
.glb-prev:hover { transform:translateY(-50%) translateX(-2px); }
.glb-next { right:1.1rem; }
.glb-next:hover { transform:translateY(-50%) translateX(2px); }
.glb-inner { display:flex; flex-direction:column; align-items:center; gap:.75rem; animation:lbScaleIn .25s cubic-bezier(.34,1.35,.7,1); }
@keyframes lbScaleIn { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:scale(1); } }
.glb-media-wrap { max-width:min(92vw,1100px); max-height:82vh; display:flex; align-items:center; justify-content:center; }
.glb-img { max-width:100%; max-height:82vh; border-radius:10px; object-fit:contain; display:block; box-shadow:0 20px 80px rgba(0,0,0,.6); }
.glb-video { width:min(88vw,960px); aspect-ratio:16/9; border-radius:10px; box-shadow:0 20px 80px rgba(0,0,0,.6); }
.glb-caption { font-size:.8rem; color:rgba(255,255,255,.45); font-weight:500; }
.glb-counter {
  position:fixed; bottom:1.25rem; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,.5); font-size:.82rem; font-weight:600;
  background:rgba(0,0,0,.45); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  padding:.3rem .9rem; border-radius:999px; white-space:nowrap; z-index:902;
}

/* Responsive gallery */
@media (max-width:991px) { .gallery-item--featured { grid-column:1; grid-row:1; aspect-ratio:4/3; } }
@media (max-width:767px) {
  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
  .gallery-item--featured { grid-column:span 2; grid-row:1; aspect-ratio:16/9; }
  .glb-nav { width:40px; height:40px; }
  .glb-prev { left:.5rem; }
  .glb-next { right:.5rem; }
}
@media (max-width:479px) {
  .gallery-grid { grid-template-columns:1fr; }
  .gallery-item--featured { grid-column:1; aspect-ratio:4/3; }
}

/* ── Social share ──────────────────────────────────────── */
.social-share {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.social-share-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .65rem;
}
.social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--text-mid);
  font-size: 1rem;
  transition: color .15s, background .15s, border-color .15s, transform .15s;
}
.share-btn:hover {
  color: var(--white);
  transform: translateY(-1px);
}
.share-facebook:hover  { background: #1877f2; border-color: #1877f2; }
.share-whatsapp:hover  { background: #25d366; border-color: #25d366; }
.share-messenger:hover { background: #0084ff; border-color: #0084ff; }
.share-telegram:hover  { background: #229ed9; border-color: #229ed9; }
.share-gmail:hover     { background: #ea4335; border-color: #ea4335; }
.vd-sidebar .social-share {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
}

/* ── Promotion detail ──────────────────────────────────── */
.promotion-detail { padding-top: 3rem; padding-bottom: 0; }
.promotion-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.promotion-detail-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.promotion-detail-img { width: 100%; height: auto; display: block; }
.promotion-detail-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--link);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.promotion-detail-text { color: var(--text-mid); line-height: 1.75; }
.promotion-detail-text p { margin-bottom: .85rem; }
.promotion-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
}
.promotion-contact-band {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 2.5rem;
  padding: 2.5rem 1.5rem 3.5rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}
.promotion-contact-band-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
}
.promotion-contact-band .cf-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.promotion-contact-band .contact-form-field textarea { min-height: 140px; }
.promotion-not-found {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
}
.promotion-not-found h2 { margin-bottom: .5rem; }
.promotion-not-found p { color: var(--text-muted); margin-bottom: 1.25rem; }
@media (max-width: 900px) {
  .promotion-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .promotion-contact-band {
    margin-top: 1.5rem;
    padding: 2rem 1rem 3rem;
  }
  .promotion-contact-band-inner { padding: 1.5rem 1.25rem; }
  .promotion-contact-band .cf-row { grid-template-columns: 1fr; }
}

/* ── Promo Banners ───────────────────────────────────────── */
.promo-banners-section { padding-top: 0; padding-bottom: 0; }
.promo-banners-section .container { padding-top: 0; padding-bottom: 0; }
.promo-banners-grid {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem 0;
}
.promo-banner-item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
}
.promo-banner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
}
.promo-banners-grid--catalog {
  padding: 0;
  gap: .75rem;
}
.promo-banners-grid--catalog .promo-banner-item {
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.catalog-banner.promo-banners-slot:empty {
  display: none;
}
.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Sedi / Branches ─────────────────────────────────────── */
.sedi-section {
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.sedi-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.sedi-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sede-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.sede-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(249,115,22,.25);
}
.sede-card--primary {
  border-color: rgba(13,27,46,.12);
  box-shadow: 0 8px 28px rgba(13,27,46,.1);
}
.sede-card--primary .sede-card-body { padding: 0; }
.sede-card--primary .sede-card-head {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 1.35rem;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sede-card--primary .sede-info-list {
  padding: 1.25rem 1.4rem 0;
}
.sede-card--primary .sede-card-footer {
  padding: .25rem 1.4rem 1.35rem;
}
.sede-card--primary .sede-card-icon {
  background: rgba(249,115,22,.18);
  color: var(--orange);
}
.sede-card--primary .sede-nome { color: var(--white); }
.sede-card--primary .sede-badge {
  background: rgba(249,115,22,.18);
  color: #ffb07a;
}
.sede-card-body {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.sede-card-head {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.sede-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(249,115,22,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.sede-card-head-text {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}
.sede-nome {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}
.sede-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: rgba(249,115,22,.1);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sede-info-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sede-info-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.sede-info-list .sede-info-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: .05rem;
  border-radius: 8px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.sede-info-list a {
  color: var(--text-mid);
  word-break: break-word;
  transition: color .15s;
}
.sede-info-list a:hover { color: var(--orange); }
.sede-card-footer {
  margin-top: auto;
  padding-top: .25rem;
}
.sede-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: .58rem 1rem;
  background: var(--orange);
  border-radius: 9px;
  transition: background .18s, transform .18s;
}
.sede-directions-btn:hover {
  background: var(--orange-d);
  color: var(--white);
  transform: translateY(-1px);
}
.sede-directions-btn--ghost {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid rgba(249,115,22,.35);
}
.sede-directions-btn--ghost:hover {
  background: rgba(249,115,22,.08);
  color: var(--orange-d);
}
/* Mappa sedi con Leaflet */
.sedi-map-col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.sedi-map-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg2);
  min-height: 420px;
}
.sedi-map-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.1rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
}
.sedi-map-head svg { color: var(--orange); flex-shrink: 0; }
#sedi-map {
  width: 100%;
  height: 400px;
  min-height: 400px;
  z-index: 1;
  background: var(--bg2);
}
#sedi-map .leaflet-container {
  width: 100%;
  height: 400px;
  font-family: inherit;
}
#sedi-map .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
#sedi-map .leaflet-popup-content { margin: .65rem .8rem; line-height: 1.45; }
.sedi-map-marker { background: transparent; border: none; }
.sedi-map-pin {
  background: var(--orange);
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
@media (max-width: 991px) {
  .sedi-layout { grid-template-columns: 1fr; }
  .sedi-map-wrap { min-height: 320px; }
  #sedi-map, #sedi-map .leaflet-container { height: 300px; min-height: 300px; }
}
@media (max-width: 767px) {
  .sedi-section { padding-top: 3rem; }
  .sede-card-body { padding: 1.15rem 1.2rem 1.25rem; }
}
