/* ==========================================================
   IoNoleggioFacile – Partner Ayvens
   Palette e font da Ayvens Brand Guidelines 2023
   ========================================================== */
:root {
  /* Primari */
  --turquoise: #73D2D2;   /* Sustainable Turquoise */
  --white: #FFFFFF;       /* Freedom White */
  --blue: #0F3549;        /* Serene Blue */
  --yellow: #FFDC46;      /* Optimistic Yellow – solo accenti */
  /* Secondari (web) */
  --teal: #008282;
  --mint: #E6F5F5;
  --azure: #0073C8;
  --cream: #FFF0B4;
  /* Tinte */
  --blue-75: #4B6877;
  --blue-50: #879AA4;
  --blue-10: #E7EBED;
  --turq-50: #B9E8E8;

  --font-title: 'Chillax', 'Source Sans 3', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 53, 73, .12);
  --shadow-lg: 0 24px 60px rgba(15, 53, 73, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--blue);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;            /* titoli sempre in Chillax medium */
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-top: 40px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-title); font-weight: 500; font-size: 1.05rem;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-yellow { background: var(--yellow); color: var(--blue); box-shadow: 0 6px 18px rgba(255, 220, 70, .45); }
.btn-yellow:hover { box-shadow: 0 10px 26px rgba(255, 220, 70, .6); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--blue); }   /* testo blu: il bianco sul verde non si legge bene */
.btn-sm { padding: .6em 1.2em; font-size: .95rem; }
.btn-lg { padding: 1em 2.2em; font-size: 1.15rem; }
.btn-block { width: 100%; }
.ul { font-weight: 600; }

/* ---------- Barra partner ---------- */
.partner-bar {
  background: var(--turquoise);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 12px 16px;
}
.partner-bar span { font-family: var(--font-title); font-weight: 500; font-size: 1.35rem; color: var(--blue); }
/* brandbook: lunghezza minima logo 276px */
.partner-bar .ayvens-logo { width: 276px; height: auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue-10);
}
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand-mark {
  display: inline-block; font-family: var(--font-title); font-weight: 500;
  font-size: 1.45rem; color: var(--blue); letter-spacing: -.02em;
  border: 2px solid var(--blue); border-radius: 10px; padding: 4px 12px;
}
.brand-mark b { font-weight: 600; color: var(--teal); }
.brand-mark.light { color: var(--white); border-color: var(--white); }
.brand-mark.light b { color: var(--turquoise); }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--blue); text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.nav a:hover { color: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); }
.header-phone svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--mint); fill: var(--teal); }
.header-phone span { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone small { font-size: .78rem; color: var(--blue-75); }
.header-phone strong { font-family: var(--font-title); font-weight: 500; white-space: nowrap; }
@media (max-width: 1440px) { .header-phone small { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--blue); color: var(--white);
  padding: 64px 0 80px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--turquoise); margin-bottom: 18px;
}
.eyebrow.dark { color: var(--teal); }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 220, 70, .7); } 50% { box-shadow: 0 0 0 8px rgba(255, 220, 70, 0); } }
.hero h1 .hl { color: var(--turquoise); }
.lead { font-size: 1.2rem; color: #D5E0E5; max-width: 560px; }
.lead strong { color: var(--white); }
.hero-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.08rem; }
.hero-points i {
  flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--turquoise);
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230F3549' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hero-price { display: flex; align-items: center; gap: 22px; }
.hero-price p { margin: 0; color: #D5E0E5; }
.hero-price a { color: var(--yellow); font-weight: 600; text-decoration: none; }
.price-bubble {
  flex: none; width: 138px; height: 138px; border-radius: 50%;
  background: var(--yellow); color: var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.05; font-family: var(--font-title);
  transform: rotate(-6deg);
}
.price-bubble strong { font-size: 2.15rem; font-weight: 600; }
.price-bubble small { font-size: .8rem; font-weight: 500; }

/* ---------- Card / form ---------- */
.card { background: var(--white); color: var(--blue); border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-form { padding: 30px 30px 26px; }
.form-kicker { font-family: var(--font-title); font-weight: 500; font-size: 1.15rem; margin-bottom: 10px; }
.progress { height: 6px; border-radius: 6px; background: var(--blue-10); overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; width: 33%; background: var(--turquoise); transition: width .35s; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.step { display: none; animation: fade .3s ease; }
.step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
legend { font-family: var(--font-title); font-weight: 500; font-size: 1.55rem; line-height: 1.15; margin-bottom: 18px; padding: 0; }
.choice-grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 8px; border-radius: 14px; border: 2px solid var(--blue-10); background: var(--white);
  font: 600 1rem var(--font-body); color: var(--blue); cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.choice svg { width: 36px; height: 36px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.choice:hover, .choice.is-selected { border-color: var(--turquoise); background: var(--mint); transform: translateY(-2px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip {
  padding: .55em 1.05em; border-radius: 999px; border: 2px solid var(--blue-10); background: var(--white);
  font: 600 .95rem var(--font-body); color: var(--blue); cursor: pointer;
}
.chip:hover { border-color: var(--turquoise); }
.chip.is-selected { background: var(--blue); border-color: var(--blue); color: var(--white); }
.range-label { display: block; font-weight: 600; margin-bottom: 8px; }
.range-label output { font-family: var(--font-title); color: var(--teal); font-size: 1.2rem; }
input[type=range] { width: 100%; accent-color: var(--teal); }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.link-back { background: none; border: 0; color: var(--blue-75); font: 600 .95rem var(--font-body); cursor: pointer; padding: 0; }
.microcopy { font-size: .88rem; color: var(--blue-75); margin: 16px 0 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
label { display: block; font-weight: 600; font-size: .9rem; }
input:not([type=checkbox]):not([type=range]), select {
  display: block; width: 100%; margin-top: 5px;
  padding: .75em .9em; border-radius: 10px; border: 2px solid var(--blue-10);
  font: 400 1rem var(--font-body); color: var(--blue); background: var(--white);
}
input:focus, select:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 4px rgba(115, 210, 210, .25); }
input.invalid { border-color: #D2463C; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; margin-top: 14px; color: var(--blue-75); }
.check input { margin-top: 3px; accent-color: var(--teal); width: 17px; height: 17px; flex: none; }
.check.invalid { color: #D2463C; }
.step-done { text-align: center; padding: 16px 0; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--turquoise); color: var(--blue); font-size: 2.2rem; display: grid; place-items: center; }
.form-ok { color: var(--teal); font-weight: 600; margin: 12px 0 0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--turquoise); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.trust strong { display: block; font-family: var(--font-title); font-weight: 600; font-size: 2rem; line-height: 1.1; }
.trust span { font-size: .95rem; }

/* ---------- Sezioni ---------- */
.section { padding: 96px 0; position: relative; }
.section.soft { background: var(--mint); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sub { font-size: 1.15rem; color: var(--blue-75); }

/* countdown (urgenza) */
.countdown {
  display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; justify-content: center;
  background: var(--cream); padding: 10px 20px; border-radius: 999px; font-weight: 600;
}
.countdown span { margin-right: 6px; }
.countdown b { font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; min-width: 1.6ch; text-align: right; }
.countdown small { margin-right: 6px; color: var(--blue-75); }

/* ---------- Offerte ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  padding: .55em 1.2em; border-radius: 999px; border: 2px solid var(--blue-10); background: var(--white);
  font: 600 .95rem var(--font-body); color: var(--blue); cursor: pointer;
}
.filter.is-active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.offer {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer-visual { position: relative; height: 210px; background: var(--mint); overflow: hidden; }
.offer:nth-child(even) .offer-visual { background: var(--turquoise); }
.offer-visual img, .offer-visual svg { position: absolute; left: 4%; bottom: 10px; width: 72%; height: auto; }
.offer-visual img { object-fit: contain; max-height: 170px; }
.badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: var(--blue); color: var(--white); font-size: .8rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .02em;
}
.badge.hot { background: #D2463C; }
.badge.green { background: var(--teal); }
.offer .price-bubble {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 104px; height: 104px; box-shadow: 0 6px 16px rgba(15, 53, 73, .2);
}
.offer .price-bubble strong { font-size: 1.6rem; }
.offer .price-bubble small { font-size: .7rem; }
.offer-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.offer-body h3 { margin-bottom: 2px; font-size: 1.45rem; }
.offer-body .version { color: var(--blue-75); margin-bottom: 14px; }
.specs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { background: var(--mint); border-radius: 8px; padding: 4px 10px; font-size: .85rem; font-weight: 600; }
.stock { font-size: .9rem; color: #B5342B; font-weight: 600; margin: auto 0 14px; display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D2463C; animation: pulse-red 1.6s infinite; }
@keyframes pulse-red { 50% { opacity: .3; } }
.stock.ok { color: var(--teal); }
.stock.ok::before { background: var(--teal); animation: none; }
.offer-body .btn { margin-top: auto; }
.offers-note { text-align: center; margin-top: 40px; font-size: 1.1rem; }

/* ---------- Tutto incluso ---------- */
.incluso { background: var(--blue); color: var(--white); overflow: hidden; }
.incluso .sub { color: #C9D6DC; }
.incluso .eyebrow { color: var(--turquoise); }
.incl-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.incl { background: rgba(255, 255, 255, .06); border: 1px solid rgba(115, 210, 210, .25); border-radius: var(--radius); padding: 28px; }
.incl svg { width: 46px; height: 46px; fill: none; stroke: var(--turquoise); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.incl p { color: #C9D6DC; margin: 0; }

/* ---------- Confronto ---------- */
.compare { max-width: 920px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.compare-row > span { padding: 16px 20px; border-bottom: 1px solid var(--blue-10); }
.compare-row > span:first-child { font-weight: 600; }
.compare-top > span { font-family: var(--font-title); font-weight: 500; font-size: 1.15rem; background: var(--blue-10); border: 0; }
.compare-top .us { background: var(--blue); color: var(--white); }
.compare .no { color: var(--blue-75); }
.compare .no::before { content: "✕  "; color: #D2463C; font-weight: 700; }
.compare .yes { background: var(--mint); font-weight: 600; }
.compare .yes::before { content: "✓  "; color: var(--teal); font-weight: 700; }

/* ---------- Come funziona ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); position: relative; }
.num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--turquoise); font-family: var(--font-title); font-weight: 600; font-size: 1.6rem; margin-bottom: 18px;
}
.steps p { color: var(--blue-75); margin: 0; }

/* ---------- Per chi ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.aud { position: relative; border: 2px solid var(--blue-10); border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column; }
.aud p { color: var(--blue-75); }
.aud ul { padding: 0; margin: 0 0 26px; list-style: none; display: grid; gap: 8px; }
.aud li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 10px; }
.aud .btn { margin-top: auto; }
.aud.featured { border-color: var(--turquoise); background: var(--mint); transform: scale(1.03); box-shadow: var(--shadow); }
.tag { position: absolute; top: -14px; left: 28px; background: var(--yellow); font-weight: 700; font-size: .82rem; padding: 4px 14px; border-radius: 999px; }

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.review .stars { color: #E0B400; letter-spacing: 2px; margin-bottom: 10px; }
.review cite { font-style: normal; font-weight: 700; display: block; margin-top: 12px; }
.review cite small { display: block; font-weight: 400; color: var(--blue-75); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--blue-10); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-title); font-weight: 500; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: var(--teal);
  display: grid; place-items: center; font-size: 1.4rem; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; background: var(--turquoise); color: var(--blue); }
.faq details p { color: var(--blue-75); padding-right: 44px; }

/* ---------- CTA finale ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--turquoise); padding: 90px 0; }
.final-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.final-grid > div > p { font-size: 1.2rem; max-width: 480px; }
.final-contacts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.callback { padding: 30px; display: grid; gap: 12px; }
.callback h3 { font-size: 1.6rem; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--blue); color: #C9D6DC; padding: 60px 0 120px; font-size: .95rem; }
.footer a { color: var(--white); text-decoration: none; }
.cobrand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 36px; }
.cobrand-sep { font-family: var(--font-title); font-weight: 500; color: var(--white); font-size: 1.25rem; margin-left: 12px; }
.cobrand .ayvens-logo { width: 276px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-grid h4 { color: var(--white); font-size: 1.1rem; }
.legal { margin-top: 36px; font-size: .8rem; color: #A9BCC6; }   /* note legali nel fondo pagina blu: grigio chiaro leggibile */

/* ---------- Mobile bar / WhatsApp ---------- */
.mobile-bar { display: none; }
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }

/* ---------- Modali ---------- */
.modal { border: 0; padding: 0; border-radius: 22px; width: min(460px, 100% - 32px); box-shadow: var(--shadow-lg); color: var(--blue); }
.modal::backdrop { background: rgba(15, 53, 73, .6); backdrop-filter: blur(3px); }
.modal-in { position: relative; padding: 34px 30px 26px; display: grid; gap: 12px; overflow: hidden; }
.modal-in h3 { font-size: 1.8rem; margin: 0; }
.modal-in .eyebrow { margin: 0; }
.modal-price { margin: 0; font-family: var(--font-title); font-size: 1.15rem; color: var(--teal); }
.modal-x { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 2rem; color: var(--blue-50); cursor: pointer; line-height: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
.nav-toggle { display: none; }
@media (max-width: 1240px) {
  .header-cta { margin-left: auto; }
  /* Menu a tendina su tablet e mobile */
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; flex: none;
    border: 0; border-radius: 12px; background: var(--mint); cursor: pointer; padding: 0;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--blue);
    position: relative; transition: transform .2s, background .2s;
  }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px;
    background: var(--white); border-bottom: 1px solid var(--blue-10); box-shadow: var(--shadow);
  }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--blue-10); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav-open .nav { display: flex; }
  .offers, .incl-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .final-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .audience { grid-template-columns: 1fr; }
  .aud.featured { transform: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .header-phone span { display: none; }
}
@media (max-width: 640px) {
  .partner-bar { gap: 12px; }
  .partner-bar span { font-size: 1.05rem; }
  .partner-bar .ayvens-logo, .cobrand .ayvens-logo { width: min(276px, 62vw); }
  .header-in { min-height: 64px; gap: 12px; }
  .brand-mark { font-size: 1.15rem; padding: 3px 9px; }
  .brand-logo { height: 28px; }
  .header-cta .btn { display: none; }
  .offers, .incl-grid, .reviews { grid-template-columns: 1fr; }
  .hero-form { padding: 24px 18px; }
  .choice-grid.three { gap: 8px; }
  .choice { padding: 16px 4px; font-size: .9rem; }
  .fields { grid-template-columns: 1fr; }
  .hero-price { gap: 16px; }
  .price-bubble { width: 116px; height: 116px; }
  .price-bubble strong { font-size: 1.75rem; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > span:first-child { grid-column: 1 / -1; background: var(--blue-10); padding: 10px 16px; }
  .compare-top > span:first-child { display: none; }
  .compare-row > span { padding: 12px 14px; font-size: .92rem; }
  .countdown span { width: 100%; text-align: center; margin: 0; }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); box-shadow: 0 -6px 20px rgba(15, 53, 73, .15);
  }
  .mobile-bar a {
    text-align: center; text-decoration: none; font-family: var(--font-title); font-weight: 500;
    padding: 12px 6px; border-radius: 12px; background: var(--mint); color: var(--blue); font-size: .95rem;
  }
  .mobile-bar a.primary { background: var(--yellow); }
}

/* ---------- Aggiunte v4 ---------- */
.mini-label { font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.hero-form .chips { margin-bottom: 16px; }
.incl-note { position: relative; text-align: center; margin: 32px 0 0; color: #C9D6DC; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.benefit { background: var(--mint); border-radius: var(--radius); padding: 32px 28px; }
.benefit p { color: var(--blue-75); margin: 0; }
@media (max-width: 880px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Card offerte v5 ---------- */
.badges { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 60%; }
.badges .badge { position: static; }
.brand-line { font-size: .85rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.offer .version { font-size: .92rem; }
.offer.is-photo .offer-visual img { left: 0; bottom: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.stock::before { animation: none; background: var(--yellow); box-shadow: 0 0 0 2px var(--blue-10); }
.stock { color: var(--blue); }

/* ---------- Home: link al catalogo ---------- */
.catalog-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.quick-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.quick-links span { font-weight: 600; margin-right: 4px; }
.quick-links a { text-decoration: none; color: var(--blue); background: var(--mint); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.quick-links a:hover { background: var(--turquoise); }

/* ---------- Catalogo ---------- */
.cat-hero { position: relative; overflow: hidden; background: var(--blue); color: var(--white); padding: 56px 0 64px; }
.cat-hero .wrap { position: relative; }
.cat-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cat-hero .lead { color: #D5E0E5; }
.cat-search { margin-top: 24px; max-width: 640px; }
.cat-search input { padding: 1em 1.2em !important; border-radius: 999px !important; font-size: 1.05rem !important; border: 0 !important; }
.cat-section { padding-top: 48px; }
.cat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.cat-toggle { display: none; }
.filters-panel { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; padding: 22px; border: 2px solid var(--blue-10); border-radius: var(--radius); background: var(--white); }
.fp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fp-head h2 { font-size: 1.4rem; margin: 0; }
.fgroup { display: block; border: 0; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--blue-10); font-weight: 600; font-size: .92rem; }
.fgroup:last-child { border-bottom: 0; }
.fgroup legend { font-family: var(--font-body); font-size: .92rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.fgroup .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.fgroup .chip { font-size: .85rem; padding: .4em .8em; }
.fgroup .chip small { color: var(--blue-50); font-weight: 400; }
.fgroup .chip.is-selected small { color: var(--turq-50); }
.fgroup output { color: var(--teal); font-family: var(--font-title); }
.fgroup input[type=range] { margin-top: 8px; }
.fgroup.checks .check { margin-top: 4px; font-size: .9rem; color: var(--blue); }
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cat-bar p { margin: 0; font-size: 1.1rem; }
.cat-bar label { display: flex; align-items: center; gap: 10px; }
.cat-bar select { margin: 0; width: auto; }
.cat-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-empty { padding: 32px; text-align: center; }
.cat-note { margin-top: 36px; font-size: .85rem; color: var(--blue-75); }

@media (max-width: 1240px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) {
  .cat-layout { grid-template-columns: 1fr; gap: 18px; }
  .cat-toggle { display: inline-flex; position: sticky; top: 74px; z-index: 20; justify-self: start; }
  .filters-panel { display: none; position: static; max-height: none; }
  body.filters-open .filters-panel { display: block; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-toggle { top: 70px; }
}

/* ---------- Campo anti-spam nascosto ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Pagine di testo (privacy, cookie, 404) ---------- */
.page-hero { padding: 48px 0 52px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-text h2 { font-size: 1.45rem; margin-top: 1.8em; }
.page-text h2:first-child { margin-top: 0; }
.page-text ul { padding-left: 1.2em; margin: 0 0 1em; }
.page-text li { margin-bottom: .5em; }
.page-updated { margin-top: 2.5em; font-size: .9rem; color: var(--blue-75); }

/* ---------- Offerte dell'agenzia (dal foglio Google) ---------- */
.offer-note { font-size: .9rem; font-weight: 600; color: var(--teal); margin: 0 0 10px; }
.apri-pratica { margin-top: 8px; background: var(--mint); color: var(--teal); border: 2px dashed var(--teal); }
.apri-pratica:hover { background: var(--teal); color: var(--white); }
.apri-pratica svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.apri-pratica small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; opacity: .85; }

/* ---------- Correzioni ---------- */
/* un elemento nascosto resta nascosto anche se il suo stile lo mostrerebbe (es. "Mostra altre offerte" con 0 risultati) */
[hidden] { display: none !important; }
/* scelte del catalogo che darebbero 0 risultati */
.chip[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- Cerca per marca (home) ---------- */
.marche-loghi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.marca-logo {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px 16px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: var(--blue-75); font-size: .9rem; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.marca-logo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--teal); }
.marca-logo img { width: 96px; height: 96px; object-fit: contain; }
.marche-filtro { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 36px auto 0; }
.marche-filtro label { font-weight: 600; font-size: 1rem; }
.marche-filtro select { width: 280px; margin-top: 0; }
@media (max-width: 640px) {
  .marche-loghi { gap: 10px; }
  .marca-logo { padding: 12px 6px 10px; font-size: .75rem; }
  .marca-logo img { width: 56px; height: 56px; }
}
/* la X delle finestre sopra il contenuto */
.modal-x { z-index: 3; }

/* ---------- Preventivatore ---------- */
.btn-cfg { margin-bottom: 8px; }
.modal-cfg { width: min(520px, 100% - 32px); }
.cfg-griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cfg-griglia select { margin-top: 5px; }
.cfg-serv { margin-top: 10px !important; font-size: .95rem !important; color: var(--blue) !important; }
.cfg-serv small { color: var(--teal); font-weight: 600; margin-left: 4px; }
.cfg-prezzo { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; background: var(--mint); border-radius: 14px; padding: 14px 18px; margin: 16px 0 8px; }
.cfg-prezzo span { font-weight: 600; }
.cfg-prezzo strong { font-family: var(--font-title); font-weight: 600; font-size: 2rem; color: var(--blue); }
.cfg-prezzo small { color: var(--blue-75); }
.cfg-nota { font-size: .8rem; color: var(--blue-75); margin: 0 0 12px; }
@media (max-width: 520px) { .cfg-griglia { grid-template-columns: 1fr; } }

.cfg-iva { display: inline-flex; margin-top: 14px; border: 2px solid var(--blue-10); border-radius: 999px; padding: 3px; background: var(--white); }
.cfg-iva button { border: 0; background: none; font: 600 .9rem var(--font-body); color: var(--blue-75); padding: .45em 1.1em; border-radius: 999px; cursor: pointer; }
.cfg-iva button.is-on { background: var(--blue); color: var(--white); }

/* ---------- Pagina di ringraziamento ---------- */
.grazie-hero .wrap { text-align: center; }
.grazie-hero .lead { margin-inline: auto; }
.grazie-ok { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--turquoise); color: var(--blue);
  display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; }
.grazie-riepilogo { padding: 22px 26px; margin-bottom: 40px; }
.grazie-riepilogo p:last-child { margin: 0; font-weight: 600; }
.grazie-head { margin-bottom: 24px; }
.grazie-passi { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.grazie-passi li { display: flex; gap: 18px; align-items: flex-start; background: var(--mint); border-radius: var(--radius); padding: 22px 24px; }
.grazie-passi .num { flex: none; margin: 0; width: 46px; height: 46px; font-size: 1.3rem; }
.grazie-passi h3 { margin: 4px 0 4px; }
.grazie-passi p { margin: 0; color: var(--blue-75); }
.grazie-azioni { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.grazie-mail { text-align: center; margin-top: 18px; }

.grazie-riepilogo p { overflow-wrap: anywhere; }


/* ---------- Doppio cursore (fascia di prezzo da… a…) ---------- */
.doppio { position: relative; height: 30px; margin-top: 6px; --da: 0%; --a: 100%; }
.doppio::before, .doppio-pieno { content: ""; position: absolute; top: 13px; height: 5px; border-radius: 99px; }
.doppio::before { left: 0; right: 0; background: var(--blue-10); }
.doppio-pieno { left: var(--da); width: calc(var(--a) - var(--da)); background: var(--teal); }
.doppio input[type=range] { position: absolute; inset: 0; width: 100%; height: 30px; margin: 0 !important; background: none; pointer-events: none;
  -webkit-appearance: none; appearance: none; }
.doppio input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 30px; }
.doppio input[type=range]::-moz-range-track { background: transparent; }
.doppio input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 3px;
  border-radius: 50%; background: var(--teal); border: 3px solid var(--white); box-shadow: 0 1px 6px rgba(15, 53, 73, .35); cursor: grab; }
.doppio input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--teal);
  border: 3px solid var(--white); box-shadow: 0 1px 6px rgba(15, 53, 73, .35); cursor: grab; }
.doppio input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--yellow); outline-offset: 2px; }
.doppio input[type=range]:focus-visible::-moz-range-thumb { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Budget: quanto vuoi spendere al mese ---------- */
.budget { position: relative; overflow: hidden; color: var(--white); padding: 84px 0;
  background: radial-gradient(120% 90% at 85% 10%, rgba(115, 210, 210, .28), transparent 55%), linear-gradient(135deg, var(--blue) 0%, #0B4B5E 55%, var(--teal) 130%); }
.budget-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px 48px; align-items: center; }
.budget-testa { grid-column: 1; }
.budget-testa .eyebrow { color: var(--turquoise); margin: 0 0 10px; }
.budget-testa h2 { color: var(--white); margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.budget-testa h2 span { color: var(--turquoise); }
.budget-testa .sub { color: #C9D6DC; margin: 0; max-width: 460px; }
.budget-box { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); background: var(--white); border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  padding: 30px 32px; display: grid; gap: 14px; text-align: center; }
.budget-iva { justify-self: center; margin-top: 0; }
.budget-cifra { margin: 2px 0 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.budget-cifra output { font-family: var(--font-title); font-weight: 600; font-size: 2.9rem; line-height: 1.05; color: var(--blue); }
.budget-cifra span { color: var(--blue-75); font-size: .95rem; }
.budget-scala { display: flex; justify-content: space-between; font-size: .85rem; color: var(--blue-75); margin-top: -6px; }
.budget-ant { justify-self: center; display: flex; align-items: center; gap: 10px; font-weight: 600; flex-wrap: wrap; justify-content: center; }
.budget-ant select { width: auto; min-width: 230px; margin-top: 0; }
.budget-conto { margin: 4px 0 0; font-weight: 600; font-size: 1.1rem; color: var(--teal); min-height: 1.5em; }
.budget-box .btn { justify-self: center; }
/* auto d'esempio nella fascia scelta */
.budget-esempi { grid-column: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 150px; }
.budget-esempio { display: flex; flex-direction: column; text-decoration: none; color: var(--white); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(115, 210, 210, .3); border-radius: 16px; padding: 10px 10px 12px; transition: transform .2s, background .2s, border-color .2s; }
.budget-esempio:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .12); border-color: var(--turquoise); }
.budget-esempio .foto { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.budget-esempio img, .budget-esempio svg { width: 100%; height: 100%; object-fit: contain; }
.budget-esempio strong { font-family: var(--font-title); font-weight: 500; font-size: .98rem; line-height: 1.2; margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.budget-esempio small { color: #C9D6DC; font-size: .8rem; }
.budget-esempio .prezzo { margin-top: 6px; align-self: flex-start; background: var(--yellow); color: var(--blue); font-weight: 700; font-size: .9rem;
  border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.budget-nota { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: #A9BCC6; text-align: center; }
@media (max-width: 960px) {
  .budget-in { grid-template-columns: 1fr; }
  .budget-testa, .budget-box, .budget-esempi { grid-column: 1; grid-row: auto; }
  .budget-testa { text-align: center; } .budget-testa .sub { margin-inline: auto; }
}
@media (max-width: 640px) {
  .budget { padding: 64px 0; }
  .budget-box { padding: 24px 18px; } .budget-cifra output { font-size: 2.4rem; }
  .budget-esempi { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .budget-esempio { padding: 8px; } .budget-esempio strong { font-size: .85rem; } .budget-esempio small { display: none; }
  .budget-esempio .prezzo { font-size: .78rem; padding: 2px 8px; } .budget-esempio .pm { display: none; }
}
@media (prefers-reduced-motion: reduce) { .budget-esempio { transition: none; } .budget-esempio:hover { transform: none; } }

.check-mkt { font-size: .88rem; }
.check-mkt small { color: var(--blue-75); }
.avviso-dati { background: #FFF6CC; border: 1px solid var(--yellow); border-radius: 14px; padding: 14px 18px; margin: 0 0 22px; font-weight: 600; color: var(--blue); }

/* ---------- Carosello in cima alla home (4 banner) ---------- */
.carosello { padding-top: 34px; }
.carosello .wrap { position: relative; }
.car-controlli { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 22px; }
.car-punti { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.car-punti button { border: 1px solid rgba(115, 210, 210, .45); background: rgba(255, 255, 255, .06); color: #D5E0E5; font: 600 .88rem var(--font-body);
  padding: .5em 1.05em; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.car-punti button:hover { border-color: var(--turquoise); color: var(--white); }
.car-punti button[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--blue); }
.car-freccia { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(115, 210, 210, .45); background: rgba(255, 255, 255, .06);
  color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.car-freccia:hover { background: rgba(255, 255, 255, .14); }
.car-slides { display: grid; }
.car-slide { grid-area: 1 / 1; transition: opacity .55s ease, visibility .55s; }
.car-slide:not(.is-attiva) { opacity: 0; visibility: hidden; pointer-events: none; }
.hero .h1 { font-family: var(--font-title); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; margin: 14px 0 20px; letter-spacing: -.01em; color: var(--white); }
.hero .h1 .hl { color: var(--turquoise); }
/* banner 1: esempi di auto nella fascia scelta, sul fondo scuro */
.carosello .budget-testa { text-align: left; }
.carosello .budget-esempi { margin-top: 22px; min-height: 0; }
.carosello .budget-nota { text-align: left; margin-top: 14px; }
/* banner 3: ricerca, tipi e brand */
.car-pannello { padding: 28px 28px 24px; color: var(--blue); }
.car-cerca label { font-weight: 700; display: block; margin-bottom: 8px; }
.car-cerca-riga { display: flex; gap: 8px; }
.car-cerca-riga input { flex: 1; margin-top: 0; min-width: 0; }
.car-tipi { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.car-tipi a { text-decoration: none; color: var(--blue); background: var(--mint); border-radius: 999px; padding: .45em .95em; font-weight: 600; font-size: .92rem; }
.car-tipi a:hover { background: var(--turquoise); }
.car-loghi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.car-loghi a { display: grid; place-items: center; aspect-ratio: 1.6; border: 1px solid var(--blue-10); border-radius: 12px; background: var(--white); }
.car-loghi a:hover { border-color: var(--teal); }
.car-loghi img { width: 52px; height: 52px; object-fit: contain; }
/* banner 4: offerta del mese in evidenza */
.car-auto { position: relative; display: grid; place-items: center; min-height: 340px; }
.car-auto::before { content: ""; position: absolute; width: min(460px, 92%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 210, 210, .45), rgba(115, 210, 210, 0) 68%); }
.car-auto img, .car-auto svg { position: relative; width: min(560px, 100%); height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35)); }
.evid-badge { display: inline-block; background: #D63A35; color: var(--white); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .35em .9em; }
.evid-versione { color: #D5E0E5; margin: -8px 0 18px; font-size: 1.05rem; }
.evid-specs { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.evid-specs li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(115, 210, 210, .35); border-radius: 999px; padding: .35em .9em; font-size: .92rem; }
.evid-riga { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 24px; }
.evid-timer { display: flex; gap: 10px; }
.evid-timer div { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 8px 10px; text-align: center; min-width: 58px; }
.evid-timer strong { display: block; font-family: var(--font-title); font-size: 1.5rem; line-height: 1.1; color: var(--yellow); }
.evid-timer small { font-size: .72rem; color: #C9D6DC; }
.evid-scade { margin: 0 0 6px; font-weight: 600; color: var(--turquoise); }
@media (max-width: 880px) {
  .car-controlli { justify-content: center; margin-bottom: 18px; }
  .car-freccia { display: none; }
  .car-auto { min-height: 0; order: -1; }
  .car-auto img, .car-auto svg { width: min(420px, 100%); }
}
@media (max-width: 520px) {
  .car-punti button { font-size: .8rem; padding: .45em .8em; }
  .car-loghi { grid-template-columns: repeat(4, 1fr); }
  .car-pannello { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .car-slide { transition: none; } }
/* carosello: niente contenuti più larghi dello schermo; sul telefono ogni banner ha la sua altezza */
.car-slides, .car-slide, .car-slide > * { min-width: 0; }
@media (max-width: 880px) {
  .car-slide.hero-grid { grid-template-columns: minmax(0, 1fr); }
  .car-slide:not(.is-attiva) { display: none; }
}
.car-cerca { margin-bottom: 18px; }
/* carosello più compatto (meno blu vuoto) */
.carosello { padding: 26px 0 44px; }
.car-controlli { margin-bottom: 14px; }
.carosello .hero-grid { gap: 44px; }
.hero.carosello h1, .hero .h1 { font-size: clamp(2rem, 3.3vw, 3rem); margin: 10px 0 14px; }
.carosello .eyebrow { margin-bottom: 8px; }
.carosello .lead { font-size: 1.08rem; margin-bottom: 0; }
.carosello .budget-esempi { margin-top: 18px; }
.carosello .budget-esempio { padding: 8px 10px 10px; }
.carosello .budget-esempio .foto { aspect-ratio: 16 / 8; }
.carosello .budget-esempio small { display: none; }
.carosello .budget-nota { margin-top: 10px; font-size: .76rem; }
.carosello .budget-box { padding: 24px 28px; gap: 10px; }
.carosello .budget-cifra output { font-size: 2.5rem; }
.carosello .car-auto { min-height: 0; }
.carosello .car-auto img.evid-foto { width: min(600px, 112%); max-width: none; transform: scale(1.06); }
.carosello .evid-versione { margin: -4px 0 14px; }
.carosello .evid-riga { margin-bottom: 16px; }
.carosello .car-pannello { padding: 22px 24px 20px; }
.carosello .car-loghi a { aspect-ratio: 1.9; }
.carosello .car-loghi img { width: 44px; height: 44px; }
@media (max-width: 880px) { .carosello .car-auto img.evid-foto { width: min(440px, 100%); transform: none; } }
/* titoli dei riquadri del carosello, ben visibili */
.pannello-titolo { margin: 0 0 4px; font-family: var(--font-title); font-weight: 600; font-size: 1.45rem; line-height: 1.15; letter-spacing: .02em;
  text-transform: uppercase; color: var(--blue); text-align: center; }
.pannello-titolo span { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 1.05rem; color: var(--teal); margin-top: 2px; }
.car-pannello .pannello-titolo { text-align: left; margin-bottom: 14px; }
/* banner 4 più grande, con le altre offerte del mese */
#slide-offerta .h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); }
#slide-offerta .price-bubble { width: 138px; height: 138px; }
#slide-offerta .price-bubble strong { font-size: 2.1rem; }
.evid-azioni { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-chiaro { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .6); }
.btn-chiaro:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.car-auto { flex-direction: column; }
#evidenzaFoto { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.evid-altre { position: relative; width: 100%; max-width: 520px; }
.evid-altre p { margin: 0 0 8px; font-weight: 600; color: var(--turquoise); font-size: .9rem; text-align: center; }
.evid-altre > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.evid-altre a { display: flex; flex-direction: column; text-decoration: none; color: var(--white); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(115, 210, 210, .3); border-radius: 14px; padding: 8px 10px; transition: background .2s, border-color .2s; }
.evid-altre a:hover { background: rgba(255, 255, 255, .13); border-color: var(--turquoise); }
.evid-altre img { width: 100%; aspect-ratio: 16 / 8; object-fit: contain; }
.evid-altre strong { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evid-altre span { font-size: .78rem; color: var(--yellow); font-weight: 700; }
.carosello .car-auto img.evid-foto { margin-bottom: 4px; }
@media (max-width: 880px) { .evid-altre { display: none; } }
/* pulsanti del carosello tutti gialli; quello aperto bianco con bordo giallo */
.car-punti button { background: var(--yellow); border: 2px solid var(--yellow); color: var(--blue); }
.car-punti button:hover { background: #FFE57A; border-color: #FFE57A; color: var(--blue); }
.car-punti button[aria-selected="true"] { background: var(--white); border-color: var(--yellow); color: var(--blue); box-shadow: 0 0 0 3px rgba(255, 220, 70, .35); }
/* titoli dei riquadri in una fascia gialla, ben visibili sul bianco */
.pannello-titolo { justify-self: center; display: inline-block; background: var(--yellow); color: var(--blue); border-radius: 12px; padding: .35em .8em; }
.car-pannello .pannello-titolo { display: block; }
.pannello-titolo span { color: var(--blue); }
/* banner 4 più equilibrato: etichetta "Offerta del mese" più grande, pulsanti normali affiancati */
#slide-offerta .evid-badge { font-size: 1.05rem; padding: .5em 1.25em; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(214, 58, 53, .35); }
#slide-offerta .evid-azioni { align-items: center; }
#slide-offerta .evid-azioni .btn { padding: .8em 1.6em; font-size: 1rem; }
/* "Scegli la tua rata": senza fascia gialla, testo blu grande con una breve linea gialla sotto */
.budget-box .pannello-titolo { background: none; padding: 0 0 8px; border-radius: 0; font-size: 1.75rem; position: relative; }
.budget-box .pannello-titolo::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--yellow); transform: translateX(-50%); }

/* ---------- Preferiti ---------- */
.pref { position: absolute; left: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px rgba(15, 53, 73, .18); display: grid; place-items: center; transition: transform .15s; }
.pref:hover { transform: scale(1.08); }
.pref svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; transition: fill .2s, stroke .2s; }
.pref[aria-pressed="true"] svg { fill: #D63A35; stroke: #D63A35; }
.pref-pop { animation: pref-pop .35s ease; }
@keyframes pref-pop { 40% { transform: scale(1.25); } }
.offer-visual { position: relative; }
.evid-testa { display: flex; align-items: center; gap: 12px; }
.evid-testa .pref { position: static; }
.header-pref { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); text-decoration: none; flex: none; }
.header-pref svg { width: 22px; height: 22px; fill: #D63A35; stroke: #D63A35; stroke-width: 1.5; }
.header-pref span { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: var(--white);
  font: 700 .72rem/20px var(--font-body); text-align: center; }
.pref-barra { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #FFF0EF; border: 1px solid #F3C3C0;
  border-radius: 14px; padding: 12px 16px; margin: 0 0 22px; }
.pref-barra p { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pref-barra svg { width: 22px; height: 22px; fill: #D63A35; }
@media (prefers-reduced-motion: reduce) { .pref-pop { animation: none; } .pref:hover { transform: none; } }

/* ---------- "Ti aiutiamo noi" ---------- */
.aiuto { position: fixed; left: 24px; bottom: 24px; z-index: 80; width: min(400px, calc(100% - 32px)); background: var(--turquoise); color: var(--blue);
  border-radius: 24px; padding: 26px 26px 18px; box-shadow: 0 22px 60px rgba(15, 53, 73, .35); display: grid; gap: 12px;
  transform: translateY(30px); opacity: 0; transition: transform .4s ease, opacity .4s ease; }
.aiuto.is-aperto { transform: none; opacity: 1; }
.aiuto-x { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 1.9rem; line-height: 1; color: var(--blue); cursor: pointer; }
.aiuto-icona { position: absolute; left: -18px; top: -26px; width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(15, 53, 73, .2); }
.aiuto-icona svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aiuto-pill { justify-self: center; margin: 0; background: var(--yellow); border-radius: 999px; padding: .35em 1.2em; font-family: var(--font-title); font-weight: 600; font-size: 1.1rem; }
.aiuto-titolo { margin: 4px 0 6px; font-family: var(--font-title); font-weight: 600; font-size: 1.3rem; line-height: 1.25; text-align: center; }
.aiuto .btn { margin: 0; }
.aiuto-nota { margin: 2px 0 0; text-align: center; font-size: .85rem; }
@media (max-width: 640px) {
  .aiuto { left: 16px; bottom: 92px; padding: 22px 18px 14px; }
  .aiuto-icona { width: 58px; height: 58px; left: -8px; top: -20px; }
  .aiuto-icona svg { width: 34px; height: 34px; }
  .aiuto-titolo { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) { .aiuto { transition: none; } }
.aiuto-icona circle { fill: var(--blue); stroke: none; }

/* ---------- "Riprendi da dove avevi lasciato" ---------- */
.ripresa { background: var(--mint); border-bottom: 1px solid rgba(0, 130, 130, .2); }
.ripresa-in { position: relative; display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 12px 40px 12px 0; }
.ripresa-titolo { margin: 0; color: var(--blue); }
.ripresa-voci { display: flex; flex-wrap: wrap; gap: 8px; }
.ripresa-auto, .ripresa-link { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--blue-10); border-radius: 999px;
  padding: 4px 14px 4px 4px; text-decoration: none; color: var(--blue); font: inherit; font-size: .9rem; cursor: pointer; text-align: left; }
.ripresa-link { padding: 8px 14px; }
.ripresa-auto:hover, .ripresa-link:hover { border-color: var(--teal); }
.ripresa-auto img { width: 54px; height: 34px; object-fit: contain; }
.ripresa-auto span { display: flex; flex-direction: column; line-height: 1.15; }
.ripresa-auto small { color: var(--teal); font-weight: 700; }
.ripresa-prev { background: var(--yellow); border-color: var(--yellow); }
.ripresa-azzera { border: 0; background: none; color: var(--blue-75); text-decoration: underline; font: inherit; font-size: .82rem; cursor: pointer; }
.ripresa-x { position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 1.6rem; color: var(--blue); cursor: pointer; }
@media (max-width: 640px) { .ripresa-in { padding-right: 32px; } .ripresa-auto small { display: none; } }
@media (max-width: 640px) { .ripresa-x { top: 4px; transform: none; } }

/* ---------- Filtri del catalogo a tendina ---------- */
.fgroup.acc { padding: 0; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 15px 30px 15px 2px; position: relative;
  font-size: .98rem; font-weight: 600; color: var(--blue); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--blue); transition: transform .2s; }
.acc[open] summary::after { content: "−"; }
.acc summary:hover { color: var(--teal); }
.acc summary output, .acc-scelta { font-weight: 600; font-size: .85rem; color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.acc-corpo { padding: 0 2px 16px; }
.acc-corpo select { margin-top: 0; }
.acc-corpo.checks .check { margin-top: 6px; font-size: .9rem; color: var(--blue); font-weight: 400; }
.acc.ha-scelta summary { color: var(--teal); }

/* catalogo, solo offerte del mese: invito al catalogo completo */
.tutto-catalogo { margin: 34px 0 0; background: var(--mint); border-radius: var(--radius); padding: 26px 28px; text-align: center; }
.tutto-catalogo p { margin: 0 0 16px; font-size: 1.08rem; color: var(--blue); }

/* ---------- Filtri a caselle da spuntare, come la vetrina Ayvens ---------- */
.acc[open] > summary { background: #EEF2F8; border-radius: 10px; padding-left: 12px; margin: 6px 0 4px; }
.acc[open] > summary::after { content: "×"; font-size: 1.35rem; right: 12px; }
.opzioni { padding: 0 2px 10px; }
.opzioni.lunga { max-height: 320px; overflow-y: auto; }
.opz { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 10px 12px 12px; border-bottom: 1px solid var(--blue-10);
  font-weight: 400; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; color: var(--blue); cursor: pointer; }
.opz:last-child { border-bottom: 0; }
.opz:hover { background: var(--mint); }
.opz small { color: var(--blue-50); text-transform: none; letter-spacing: 0; }
.opz input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.opz.is-vuota { opacity: .45; cursor: default; }
.opz.is-vuota input { cursor: default; }
.acc-corpo.checks { padding: 0 2px 10px; }
.acc-corpo.checks .check { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; margin: 0; padding: 12px 10px 12px 12px;
  border-bottom: 1px solid var(--blue-10); text-transform: uppercase; letter-spacing: .02em; font-size: .92rem; }
.acc-corpo.checks .check:last-child { border-bottom: 0; }
.acc-corpo.checks .check input { width: 20px; height: 20px; accent-color: var(--blue); }

/* ==========================================================
   Animazione d'apertura: un'auto passa e lascia il logo
   Nella barra in alto: l'auto entra da destra e il logo si scopre dietro di lei; la pagina è subito usabile.
   Una volta per visita, mai con "riduci movimento"; solo CSS + un disegno SVG (nessun video, nessuna libreria).
   Senza JavaScript non succede nulla: il logo è sempre visibile.
   ========================================================== */
/* --- versione "barra" --- */
.intro-barra .header .brand { position: relative; }
.intro-barra .header .brand-logo { animation: intro-svela 1.4s linear .15s both; }
.intro-barra .header .brand::after { content: ""; position: absolute; transform: scaleX(-1); left: 0; bottom: -9px; width: 30%; aspect-ratio: 132 / 48; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 132 48%22%3E %3Cg stroke=%22%2373D2D2%22 stroke-width=%223%22 stroke-linecap=%22round%22 opacity=%22.55%22%3E%3Cpath d=%22M2 22h14M0 30h12M4 38h10%22/%3E%3C/g%3E %3Cpath d=%22M18 36v-8c1-5 5-7 10-7.5l14-1.5c7-9 16-12 27-12h12c10 0 19 4 27 11.5l11 1.2c6 .7 9 3.6 9 8.3v8z%22 fill=%22%230F3549%22/%3E %3Cpath d=%22M47 20c6-6.5 13-8.5 21-8.5h4v8.5zm29-8.5h5c8 0 14 3 19.5 8.5H76z%22 fill=%22%2373D2D2%22/%3E %3Crect x=%22122%22 y=%2224%22 width=%227%22 height=%224%22 rx=%222%22 fill=%22%23FFDC46%22/%3E %3Ccircle cx=%2240%22 cy=%2237%22 r=%228.5%22 fill=%22%230F3549%22 stroke=%22%2373D2D2%22 stroke-width=%222.5%22/%3E%3Ccircle cx=%2240%22 cy=%2237%22 r=%223%22 fill=%22%2373D2D2%22/%3E %3Ccircle cx=%22104%22 cy=%2237%22 r=%228.5%22 fill=%22%230F3549%22 stroke=%22%2373D2D2%22 stroke-width=%222.5%22/%3E%3Ccircle cx=%22104%22 cy=%2237%22 r=%223%22 fill=%22%2373D2D2%22/%3E %3C/svg%3E") center / contain no-repeat; animation: intro-auto 1.4s linear .15s both; }
/* il logo si scopre dietro l'auto: il bordo segue il retro dell'auto (stessa durata, movimento lineare) */
@keyframes intro-svela { 0%, 23% { clip-path: inset(-20% 0 -20% 100%); } 100% { clip-path: inset(-20% 0 -20% 0); } }
@keyframes intro-auto { 0% { left: 100%; opacity: 1; } 88% { opacity: 1; } 100% { left: -30%; opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .intro-barra .header .brand-logo, .intro-barra .header .brand::after { animation: none; } .intro-barra .header .brand::after { display: none; } }
/* "Trova la tua prossima auto": senza fascia gialla, come "Scegli la tua rata" (testo blu e breve linea gialla) */
.car-pannello .pannello-titolo { background: none; padding: 0 0 10px; border-radius: 0; font-size: 1.55rem; position: relative; text-align: left; }
.car-pannello .pannello-titolo span { color: var(--teal); }
.car-pannello .pannello-titolo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--yellow); }
.car-pannello .pannello-titolo { display: block; width: 100%; margin: 0 0 16px; justify-self: stretch; }

/* "Ti aiutiamo noi": pulsante riduci a icona e stato ridotto (resta solo il fumetto) */
.aiuto-riduci { position: absolute; right: 50px; top: 14px; width: 30px; height: 30px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.aiuto-riduci svg { width: 20px; height: 20px; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.aiuto-icona { border: 0; padding: 0; cursor: default; }
.aiuto.is-ridotto { width: auto; padding: 0; background: none; box-shadow: none; gap: 0; }
.aiuto.is-ridotto > :not(.aiuto-icona) { display: none; }
.aiuto.is-ridotto .aiuto-icona { position: static; cursor: pointer; width: 64px; height: 64px; box-shadow: 0 10px 24px rgba(15, 53, 73, .3); animation: aiuto-respiro 2.6s ease-in-out 1s 2; }
.aiuto.is-ridotto .aiuto-icona:hover { transform: scale(1.06); }
@keyframes aiuto-respiro { 50% { transform: scale(1.08); } }
@media (max-width: 640px) { .aiuto.is-ridotto { left: 16px; bottom: 92px; } .aiuto.is-ridotto .aiuto-icona { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .aiuto.is-ridotto .aiuto-icona { animation: none; } }
/* il logo non si stringe mai, anche con la barra piena (cuore dei preferiti, telefono, pulsante) */
.header .brand { flex: none; }
.brand-logo { flex: none; width: auto; max-width: none; object-fit: contain; aspect-ratio: 678 / 96; }
/* barra in alto con il cuore dei preferiti: un po' più compatta, così il logo resta intero */
@media (min-width: 1241px) and (max-width: 1500px) {
  .header-in { gap: 20px; }
  .nav { gap: 15px; }
  .nav a { font-size: .93rem; }
  .header-cta { gap: 12px; }
  .header-pref { width: 40px; height: 40px; }
}
@media (max-width: 640px) {
  .header-in { gap: 8px; }
  .brand-logo { height: 26px; }
  .header-pref { width: 40px; height: 40px; }
  .header-cta { gap: 8px; }
}
@media (max-width: 380px) {
  .brand-logo { height: 23px; }
  .header-pref, .header-phone svg { width: 36px; height: 36px; }
  .nav-toggle { width: 40px; height: 40px; }
}

