@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:       #1A3A6B;
  --navy-dark:  #0F2550;
  --navy-mid:   #1E4A85;
  --blue:       #2563EB;
  --blue-h:     #1D55D4;
  --blue-pale:  #EFF6FF;
  --blue-light: #DBEAFE;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-300:   #CBD5E1;
  --text:       #0F172A;
  --text-mid:   #1E293B;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --border:     #E2E8F0;
  --border-mid: #CBD5E1;
  --shadow-xs:  0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15);
  --r-sm:  6px;
  --r:     10px;
  --r-lg:  16px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  /* backward compat */
  --navy-light: #1E4A85;
  --green:      #2563EB;
  --green-h:    #1D55D4;
  --emerald:    #2563EB;
  --emerald-h:  #1D55D4;
  --midnight:   #0F2550;
  --gold:       #2563EB;
  --gold-h:     #1D55D4;
  --cream:      #F8FAFC;
  --cream-mid:  #F1F5F9;
  --cream-dark: #E2E8F0;
  --bg:         #F8FAFC;
  --gray:       #64748B;
  --gray-light: #94A3B8;
  --border-light: #E2E8F0;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .28s; }

/* ── NAVBAR ── */
.nav {
  position: sticky; top: 0; z-index: 300;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 0 2.5rem;
  height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 88px; width: auto; display: block; }

.footer-logo-img {
  display: inline-block;
  background: white;
  border-radius: 14px;
  padding: 12px 20px;
  margin-bottom: 1.25rem;
}
.footer-logo-img img { height: 110px; width: auto; display: block; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
  justify-content: center;
}
.nav-links .nav-cta-wrap { margin-left: auto; }
.nav-links a {
  display: block; padding: 7px 14px;
  font-size: .875rem; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-50); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-actions {
  display: flex; align-items: center; gap: 8px;
  justify-content: flex-end;
}

.nav-cta {
  background: var(--blue);
  color: white !important;
  font-size: .875rem; font-weight: 600;
  border-radius: var(--r-sm);
  padding: 8px 20px;
  transition: background .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-h); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ── PAGE TITLE ISLAND (secondary pages) ── */
.page-hero {
  background: transparent;
  padding: 40px 2rem 8px;
  text-align: center;
}
.page-hero-inner {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #14306B 100%);
  padding: 13px 26px 13px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(15,37,80,.32), 0 0 0 1px rgba(255,255,255,.07) inset;
  animation: islandIn .55s cubic-bezier(.22,1,.36,1) both, islandFloat 5s ease-in-out 1s infinite;
}
.page-hero-inner::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #60D394;
  box-shadow: 0 0 0 0 rgba(96,211,148,.55);
  animation: islandPulse 2.2s ease-out infinite;
}
.page-hero h1 {
  font-size: .92rem; font-weight: 700; color: white;
  letter-spacing: -.005em; line-height: 1; white-space: nowrap;
}
.page-hero-breadcrumb, .page-hero p { display: none; }

@keyframes islandIn {
  from { opacity: 0; transform: translateY(-12px) scale(.92); }
  to { opacity: 1; transform: none; }
}
@keyframes islandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes islandPulse {
  0% { box-shadow: 0 0 0 0 rgba(96,211,148,.55); }
  70% { box-shadow: 0 0 0 6px rgba(96,211,148,0); }
  100% { box-shadow: 0 0 0 0 rgba(96,211,148,0); }
}

@media (max-width: 640px) {
  .page-hero { padding: 28px 1.25rem 4px; }
  .page-hero-inner { padding: 11px 20px 11px 16px; }
  .page-hero h1 { font-size: .82rem; }
}

/* ── SECTION UTILS ── */
.section { padding: 72px 2rem; }
.container { max-width: 1280px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--blue); margin-bottom: .55rem;
}
.section-label::before {
  content: ''; width: 14px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800; color: var(--text);
  line-height: 1.2; letter-spacing: -.02em;
}
.section-sub { font-size: .9rem; color: var(--text-muted); margin-top: .4rem; }

/* ── FILTER TABS ── */
.filter-tabs { display: flex; gap: .35rem; flex-wrap: wrap; }
.ftab {
  padding: 6px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: .8rem; font-weight: 600;
  color: var(--text-muted); background: var(--white);
  cursor: pointer; font-family: inherit;
  transition: all .15s;
}
.ftab:hover { border-color: var(--navy); color: var(--navy); }
.ftab.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ── VEHICLE CARDS ── */
.veicoli-grid, .cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.vcard {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.vcard:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}

.vcard-img {
  position: relative; overflow: hidden;
  height: 200px; background: var(--gray-100); flex-shrink: 0;
}
.vcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vcard:hover .vcard-img img { transform: scale(1.05); }

.vcard-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
}
.vcard-placeholder svg { width: 72px; height: 72px; stroke: var(--gray-300); fill: none; stroke-width: 1; }

.badge-avail {
  position: absolute; top: 10px; left: 10px;
  background: #16A34A; color: white;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
  display: flex; align-items: center; gap: 5px;
}
.badge-avail::before { content: ''; width: 5px; height: 5px; background: white; border-radius: 50%; }
.badge-type {
  position: absolute; top: 10px; right: 10px;
  background: rgba(15,37,80,.8);
  backdrop-filter: blur(6px);
  color: white; font-size: .62rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
}
.btn-photos {
  position: absolute; bottom: 10px; right: 10px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(15,37,80,.75); backdrop-filter: blur(6px);
  color: white; font-size: .68rem; font-weight: 700;
  padding: 5px 11px; border-radius: 50px;
  border: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn-photos:hover { background: var(--blue); transform: translateY(-1px); }
.btn-photos svg { width: 13px; height: 13px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── LIGHTBOX GALLERIA ── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(8,14,28,.92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-stage {
  position: relative; max-width: 1000px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.lightbox-img-wrap {
  width: 100%; max-height: 70vh; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 70vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: -1.5rem; right: -1.5rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: white; color: var(--navy-dark); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: var(--shadow-lg);
}
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lightbox-arrow:hover { background: rgba(255,255,255,.25); }
.lightbox-arrow.prev { left: 0; }
.lightbox-arrow.next { right: 0; }
.lightbox-arrow svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-counter { color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 600; }
.lightbox-thumbs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.lightbox-thumbs img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: .6; transition: opacity .15s, border-color .15s;
}
.lightbox-thumbs img.active { opacity: 1; border-color: var(--blue); }
@media (max-width: 640px) {
  .lightbox-overlay { padding: 1rem; }
  .lightbox-close { top: -2.75rem; right: 0; }
  .lightbox-arrow { width: 36px; height: 36px; }
}

.vcard-body { padding: 1.25rem 1.25rem .75rem; flex: 1; }
.vcard-name {
  font-size: 1.05rem; font-weight: 800;
  color: var(--text); letter-spacing: -.015em;
  margin-bottom: .2rem;
}
.vcard-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: .875rem; line-height: 1.6; }
.vcard-specs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .875rem; }
.spec-chip {
  display: flex; align-items: center; gap: 4px;
  background: var(--gray-50); color: var(--text-mid);
  font-size: .68rem; font-weight: 600;
  padding: 3px 9px; border-radius: 50px;
  border: 1px solid var(--border); letter-spacing: .02em;
}
.spec-chip svg { width: 11px; height: 11px; stroke: var(--text-muted); fill: none; stroke-width: 2; flex-shrink: 0; }

.price-tiers {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.price-tier { padding: .8rem 1rem; text-align: center; }
.price-tier + .price-tier { border-left: 1px solid var(--border); }
.pt-label {
  font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-faint); margin-bottom: 4px;
}
.pt-val {
  font-size: 1.35rem; font-weight: 800;
  color: var(--navy); letter-spacing: -.02em; line-height: 1;
}
.pt-unit { font-size: .62rem; font-weight: 500; color: var(--text-faint); }
.pt-na { font-size: .8rem; color: var(--text-faint); font-weight: 400; }

.vcard-footer { padding: 1rem 1.25rem; }
.btn-book {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%;
  background: var(--blue); color: white;
  padding: 11px; border-radius: var(--r-sm);
  font-size: .84rem; font-weight: 600; letter-spacing: .01em;
  transition: background .15s, transform .15s;
}
.btn-book:hover { background: var(--blue-h); transform: translateY(-1px); }
.btn-book svg { width: 14px; height: 14px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── FILTER BAR (flotta) ── */
.filtri-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky; top: 96px; z-index: 100;
  box-shadow: var(--shadow-xs);
}
.filtri-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.filtri-bar-label {
  font-size: .7rem; font-weight: 700; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: .12em; white-space: nowrap;
}
.range-wrap { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.range-wrap label { font-size: .84rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
input[type=range] { accent-color: var(--blue); cursor: pointer; }
.risultati-count { color: var(--text-muted); font-size: .875rem; margin-bottom: 1.5rem; }

/* ── FORM PAGES ── */
.prenotazione-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 2rem; align-items: start;
}
.form-card {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-card h2 {
  font-size: 1.25rem; font-weight: 800; color: var(--text);
  margin-bottom: 1.5rem; letter-spacing: -.02em;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: .68rem; font-weight: 700;
  color: var(--text-faint); text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: .9rem; color: var(--text); font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
  appearance: none; -webkit-appearance: none;
}
.form-control:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-control::-webkit-calendar-picker-indicator { opacity: .4; cursor: pointer; }
textarea.form-control { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-section-title {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; color: var(--text-faint);
  margin: 1.5rem 0 1rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}

/* ── FORM SECTIONS (blocchi distinti per tipo di dato) ── */
.form-section {
  margin: 0 -2rem 1.5rem; padding: 1.25rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
}
.form-section:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.form-section-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1.1rem;
}
.form-section-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.form-section-head h3 {
  font-size: .92rem; font-weight: 800; color: var(--text);
  letter-spacing: -.01em;
}
.form-section-head span {
  display: block; font-size: .74rem; color: var(--text-faint); margin-top: 1px;
}

.fs-veicolo .form-section-icon { background: var(--blue-pale); color: var(--blue); }
.fs-veicolo { background: linear-gradient(180deg, var(--blue-pale) 0%, transparent 100%); }
.fs-personali .form-section-icon { background: #F0FDF4; color: #16A34A; }
.fs-patente .form-section-icon { background: #FEF3C7; color: #B45309; }
.fs-note .form-section-icon { background: var(--gray-100); color: var(--text-muted); }

.consent-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 1.1rem; cursor: pointer;
}
.consent-check input[type="checkbox"] {
  width: 17px; height: 17px; margin-top: 2px;
  accent-color: var(--blue); cursor: pointer; flex-shrink: 0;
}
.consent-check span { font-size: .8rem; color: var(--text-muted); line-height: 1.55; }
.consent-check a { color: var(--blue); font-weight: 600; }
.consent-check a:hover { text-decoration: underline; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: white;
  padding: 12px 24px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 700;
  transition: background .15s, transform .15s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { background: var(--blue-h); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--text-faint); cursor: not-allowed; transform: none; }

/* RIEPILOGO */
.riepilogo-card {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow); position: sticky; top: 84px;
}
.riepilogo-card > h3 {
  background: var(--navy-dark); color: white;
  padding: 1.25rem 1.5rem;
  font-size: .95rem; font-weight: 700; letter-spacing: .01em;
}
.riepilogo-card > div { padding: 1.5rem; }

.veicolo-selezionato {
  display: flex; gap: 1rem; align-items: center;
  background: var(--gray-50); padding: 1rem; border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.veicolo-selezionato-info h4 { font-size: .95rem; font-weight: 700; color: var(--text); }
.veicolo-selezionato-info p { font-size: .8rem; color: var(--text-muted); }

.disponibilita-box {
  padding: 10px 13px; font-size: .85rem; font-weight: 600;
  margin-bottom: 1rem; border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 8px;
}
.disponibile { background: rgba(22,163,74,.07); color: #15803D; border-left: 3px solid #16A34A; }
.non-disponibile { background: rgba(220,38,38,.07); color: #DC2626; border-left: 3px solid #DC2626; }
.verifica { background: var(--gray-50); color: var(--text-muted); border-left: 3px solid var(--border-mid); }

.riepilogo-righe { margin-bottom: 1rem; }
.riepilogo-riga {
  display: flex; justify-content: space-between;
  padding: 7px 0; font-size: .875rem;
  border-bottom: 1px solid var(--border); color: var(--text-muted);
}
.riepilogo-riga:last-child { border: none; }
.riepilogo-totale {
  display: flex; justify-content: space-between;
  padding: 12px 0 0; font-weight: 800; font-size: 1.1rem;
  color: var(--text); border-top: 2px solid var(--text); margin-top: 4px;
}

.success-box {
  text-align: center; padding: 3rem;
  background: rgba(22,163,74,.04);
  border: 2px solid rgba(22,163,74,.2);
  border-radius: var(--r);
}
.success-box h2 { color: #15803D; margin-bottom: .5rem; font-weight: 800; }

/* ── CONTATTI ── */
.contatti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.info-card {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 1.75rem;
  box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.info-card:last-child { margin-bottom: 0; }
.info-card h2 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 1.5rem; letter-spacing: -.01em; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.info-item:last-child { margin-bottom: 0; }
.info-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.info-item h4 {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-faint); margin-bottom: 3px;
}
.info-item p, .info-item a { font-weight: 600; color: var(--text); font-size: .9rem; }
.info-item a:hover { color: var(--blue); }
.orari-row {
  display: flex; justify-content: space-between;
  font-size: .875rem; padding: 8px 0;
  border-bottom: 1px solid var(--border); color: var(--text-muted);
}
.orari-row:last-child { border: none; }
.orari-row strong { color: var(--text); font-weight: 700; }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  padding: 76px 2rem 32px;
  position: relative;
  text-align: center;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--blue);
}
.footer-inner {
  max-width: 820px; margin: 0 auto 2.75rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 2.25rem;
}
.footer-logo-img { margin: 0 auto 0; }
.footer-desc {
  font-size: .9rem; color: rgba(255,255,255,.4);
  line-height: 1.8; max-width: 460px; margin: 0 auto;
}

.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .35rem 1.5rem;
}
.footer-nav a {
  font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer-nav a:hover { color: white; }

.footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; }
.fc-row { display: flex; align-items: baseline; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.4); }
.fc-tag { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.25); }
.fc-row a { transition: color .15s; }
.fc-row a:hover { color: white; }

.footer-col-ttl {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; color: rgba(255,255,255,.3);
  margin-bottom: .9rem;
}
.footer-orari { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.75rem; }
.orario-row {
  display: flex; align-items: baseline; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.4);
}
.orario-row strong { color: rgba(255,255,255,.7); font-weight: 600; }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .72rem; color: rgba(255,255,255,.25);
}

/* ── CREDIT BAR (separata dal footer del sito) ── */
.credit-bar {
  background: #07142E;
  padding: 14px 1.5rem;
  text-align: center;
  font-size: .7rem;
  color: rgba(255,255,255,.3);
}
.credit-bar a {
  color: rgba(255,255,255,.6); font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.3);
  transition: color .15s, border-color .15s;
}
.credit-bar a:hover { color: white; border-color: white; }

/* ── FLOATING ── */
.floating { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500; display: flex; flex-direction: column; gap: .5rem; }
.fbtn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  position: relative; transition: transform .15s, box-shadow .15s;
}
.fbtn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.fbtn.wa { background: #25D366; }
.fbtn.ph { background: var(--navy-dark); }
.fbtn svg { width: 21px; height: 21px; }
.fl-label {
  position: absolute; right: 58px; top: 50%; transform: translateY(-50%);
  background: var(--navy-dark); color: rgba(255,255,255,.9);
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: var(--r-sm);
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .15s; box-shadow: var(--shadow-sm);
}
.fbtn:hover .fl-label { opacity: 1; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-dark); color: white;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500;
  z-index: 9999; transition: transform .4s cubic-bezier(.22,1,.36,1);
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #15803D; }
.toast.error { background: #DC2626; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  padding: 1rem;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 980px; margin: 0 auto;
  background: var(--navy-dark); color: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem 1.5rem;
}
.cookie-banner-main { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.cookie-banner-icon { font-size: 1.75rem; flex-shrink: 0; }
.cookie-banner-text {
  flex: 1; min-width: 240px;
  font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.7);
}
.cookie-banner-text strong { color: white; }
.cookie-banner-text a { color: #93C5FD; font-weight: 600; }
.cookie-banner-text a:hover { text-decoration: underline; }

.cookie-banner-cats {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: .75rem;
}
.cookie-cat-row {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
}
.cookie-cat-row input[type="checkbox"] {
  width: 17px; height: 17px; margin-top: 2px;
  accent-color: var(--blue); cursor: pointer; flex-shrink: 0;
}
.cookie-cat-row input[disabled] { opacity: .5; cursor: not-allowed; }
.cookie-cat-row span { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.cookie-cat-row strong { color: white; }

.cookie-banner-actions {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  margin-top: 1.1rem;
}
.cookie-banner-actions .btn-primary,
.cookie-banner-actions .btn-outline { padding: 10px 20px; font-size: .85rem; white-space: nowrap; }
.cookie-banner-actions .btn-outline {
  border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.85);
}
.cookie-banner-actions .btn-outline:hover { border-color: rgba(255,255,255,.5); background: transparent; color: white; }
.cookie-btn-link {
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.6);
  text-decoration: underline; text-underline-offset: 3px;
  margin-right: auto; transition: color .15s;
}
.cookie-btn-link:hover { color: white; }

.cookie-recall {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 499;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-dark); color: white;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .15s, box-shadow .15s;
}
.cookie-recall:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

@media (max-width: 640px) {
  .cookie-banner-main { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { flex-direction: column; align-items: stretch; }
  .cookie-btn-link { margin-right: 0; text-align: center; order: 99; }
  .cookie-banner-actions .btn-primary, .cookie-banner-actions .btn-outline { width: 100%; }
  .cookie-recall { left: 1rem; bottom: 1rem; width: 42px; height: 42px; }
}

/* ── SPINNER ── */
.spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--border); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .7s linear infinite;
  margin: 4rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── DATE PICKER A TENDINA (giorni occupati in rosso) ── */
.date-field-wrap { position: relative; }
.date-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  background: white; border: 1px solid var(--border); border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg); padding: .85rem; width: 248px;
}
.date-dropdown.open { display: block; }
.dd-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.dd-header span { font-size: .78rem; font-weight: 700; color: var(--text); text-transform: capitalize; }
.dd-nav { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--gray-50); border: none; cursor: pointer; color: var(--text-mid); }
.dd-nav:hover { background: var(--gray-100); }
.dd-nav svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dd-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dd-dow { font-size: .56rem; color: var(--text-faint); text-align: center; font-weight: 700; padding-bottom: 2px; }
.dd-day {
  font-size: .72rem; text-align: center; padding: 6px 0; border-radius: 6px;
  color: var(--text-mid); cursor: pointer; background: none; border: none; font-family: inherit;
}
.dd-day:hover:not(.disabled) { background: var(--blue-pale); }
.dd-day.vuoto { visibility: hidden; cursor: default; }
.dd-day.passato { color: var(--text-faint); opacity: .35; cursor: not-allowed; }
.dd-day.occupato { background: #FEE2E2; color: #B91C1C; font-weight: 700; cursor: not-allowed; }
.dd-day.occupato:hover { background: #FEE2E2; }
.dd-day.oggi { border: 1.5px solid var(--blue); font-weight: 800; }
.dd-day.selezionato { background: var(--blue); color: white; font-weight: 800; }
.dd-legend { display: flex; gap: .85rem; margin-top: .65rem; font-size: .62rem; color: var(--text-muted); flex-wrap: wrap; }
.dd-legend span { display: inline-flex; align-items: center; gap: 4px; }
.dd-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.dd-legend i.occ { background: #FEE2E2; border: 1px solid #FCA5A5; }

.alt-box { margin-top: 1rem; padding: 1rem 1.1rem; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: var(--r-sm); }
.alt-box h4 { font-size: .85rem; font-weight: 700; color: #92400E; margin-bottom: .7rem; }
.alt-card { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: white; border: 1px solid var(--border); border-radius: var(--r-sm); padding: .6rem .85rem; margin-bottom: .5rem; }
.alt-card-info strong { font-size: .85rem; display: block; }
.alt-card-info span { font-size: .74rem; color: var(--text-muted); }
.alt-card button { background: var(--blue); color: white; border: none; padding: 7px 14px; border-radius: 7px; font-size: .76rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s; }
.alt-card button:hover { background: var(--blue-h); }

/* ── LISTINO PREZZI ── */
.listino-intro { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.listino-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.listino-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.listino-card-head {
  background: var(--navy-dark); color: white;
  padding: 1.5rem 1.75rem; display: flex; align-items: center; gap: 12px;
}
.listino-card-head .lc-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.listino-card-head .lc-icon svg { width: 19px; height: 19px; stroke: white; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.listino-card-head h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.listino-card-head span { display: block; font-size: .76rem; color: rgba(255,255,255,.5); margin-top: 1px; }
.listino-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .95rem 1.75rem; border-bottom: 1px solid var(--border);
  font-size: .86rem; color: var(--text-mid);
}
.listino-row:last-child { border-bottom: none; }
.listino-row strong { color: var(--navy); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.listino-row.evid { background: var(--blue-pale); }
.listino-notes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.listino-note {
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem 1.5rem;
}
.listino-note h4 { font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.listino-note p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.listino-disclaimer {
  text-align: center; font-size: .82rem; color: var(--text-faint);
  max-width: 640px; margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .prenotazione-layout { grid-template-columns: 1fr; }
  .riepilogo-card { position: static; }
  .contatti-grid { grid-template-columns: 1fr; }
  .listino-grid, .listino-notes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 0 1.25rem; height: 72px; grid-template-columns: 1fr auto; }
  .nav-logo img { height: 62px; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 1rem; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-actions .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 52px 1.25rem; }
  .filtri-bar { padding: .875rem 1.25rem; top: 72px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { gap: 1.75rem; }
  footer { padding: 56px 1.25rem 28px; }
  .veicoli-grid, .cars-grid { grid-template-columns: 1fr; }
}
