/*
 * Auto Service Trapani — Officina Autorizzata VW & Skoda
 * Foglio di stile principale v2.0 — Loghi ufficiali + Colori brand ufficiali
 * ============================================ */

/* ── DESIGN TOKENS ─────────────────────────── */
:root {
  --vw-blue:       #001E50;
  --vw-blue-dark:  #000F2E;
  --vw-blue-mid:   #003087;
  --skoda-green:   #0a5640;
  --skoda-dark:    #083d2d;
  --skoda-light:   #e6f2ed;
  --gold:          #F5A623;
  --gold-light:    #FEF9EC;
  --wa-green:      #25D366;
  --white:         #FFFFFF;
  --surface:       #F3F6FB;
  --surface-2:     #E8EFF8;
  --border:        #D4DFF0;
  --text-primary:  #0A0A0A;
  --text-body:     #374151;
  --text-muted:    #6B7280;
  --text-hint:     #9CA3AF;
  --google-blue:   #4285F4;
  --google-red:    #EA4335;
  --google-yellow: #FBBC05;
  --google-green:  #34A853;
  --font-display:  'Lato', sans-serif;
  --font-body:     'Inter', sans-serif;
  --container:     1140px;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-pill:   999px;
  --transition:    200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; }
p  { font-size: 1rem; color: var(--text-body); }

/* ── LAYOUT UTILS ───────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4rem 0; }
.section--surface  { background: var(--surface); }
.section--surface2 { background: var(--surface-2); }
.section--blue     { background: var(--vw-blue); }
.section--green    { background: var(--skoda-light); border-top: 3px solid var(--skoda-green); }
.section-head       { text-align: center; margin-bottom: 2.5rem; }
.section-head h2    { color: var(--vw-blue); margin-bottom: 0.5rem; }
.section-head p     { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── NAVIGATION ─────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,30,80,.08); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 68px;
}
/* Logo con immagine ufficiale */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
}
/* Links */
.nav__links {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
  margin-right: 1rem;
  flex-shrink: 1;
}
.nav__links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--vw-blue);
  border-bottom-color: var(--vw-blue);
}
/* CTA */
.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav__phone {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--vw-blue);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__phone svg { width: 14px; height: 14px; stroke: var(--vw-blue); fill: none; }
.btn-nav {
  background: var(--vw-blue);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background var(--transition);
}
.btn-nav:hover { background: var(--vw-blue-mid); }
/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--vw-blue);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { color: var(--vw-blue); }
.nav__mobile-cta { margin-top: 1rem; }
.nav__mobile-cta a {
  display: block;
  text-align: center;
  background: var(--vw-blue);
  color: var(--white);
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: none;
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--vw-blue); color: var(--white); }
.btn--primary:hover { background: var(--vw-blue-mid); transform: translateY(-1px); }
.btn--call { background: var(--wa-green); color: var(--white); }
.btn--call:hover { background: #1da851; transform: translateY(-1px); }
.btn--white { background: var(--white); color: var(--vw-blue); }
.btn--white:hover { background: var(--surface); }
.btn--outline { background: transparent; color: var(--vw-blue); border: 2px solid var(--vw-blue); }
.btn--outline:hover { background: var(--vw-blue); color: var(--white); }
.btn--skoda { background: var(--skoda-green); color: var(--white); }
.btn--skoda:hover { background: var(--skoda-dark); }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--text-primary); border: 2px solid var(--border); }
.btn--ghost:hover { border-color: var(--text-primary); background: var(--surface); }

/* ── HERO ───────────────────────────────────── */
.hero {
  background: var(--surface);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--vw-blue);
  opacity: 0.04;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: 80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--vw-blue);
  opacity: 0.03;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
  position: relative;
}
/* Brand row con loghi ufficiali */
.hero__brands {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero__brand-logo {
  height: 108px;
  width: auto;
  display: block;
}
.hero__brand-logo--skoda {
  height: 28px;
  /* Skoda logo è solo testo: altezza ridotta per bilanciare
     il cerchio VW, in modo che la parola Service appaia simile */
}
.brand-divider { width: 1px; height: 36px; background: var(--border); }
.since-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--vw-blue);
}
/* Hero text */
.hero__title { color: var(--vw-blue); margin-bottom: 1rem; }
.hero__sub { font-size: 1.05rem; color: var(--text-body); margin-bottom: 2rem; max-width: 480px; }
.hero__buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
/* Rating card */
.rating-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
a.rating-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,30,80,0.13);
}
.reviews__google-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--vw-blue);
  text-decoration: underline;
  transition: opacity var(--transition);
}
.reviews__google-link:hover { opacity: 0.75; }
.rating-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.rating-card__score {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--vw-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.rating-card__stars { font-size: 1.6rem; color: var(--gold); letter-spacing: 2px; margin-bottom: 0.4rem; }
.rating-card__label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.google-badge {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: fit-content;
}
.g-letter { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.g-b { color: var(--google-blue); }
.g-r { color: var(--google-red); }
.g-y { color: var(--google-yellow); }
.g-g { color: var(--google-green); }
.google-badge span { font-size: 0.75rem; color: var(--text-hint); margin-left: 0.25rem; }

/* ── TRUST BAR ──────────────────────────────── */
.trust-bar {
  background: var(--vw-blue);
  padding: 0.85rem 0;
}
.trust-bar__inner {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
}
.trust-pill svg { width: 13px; height: 13px; stroke: var(--white); fill: none; }

/* ── SERVICES GRID ──────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-3px); }
.service-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.service-card p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ── SKODA BAND ─────────────────────────────── */
.skoda-band__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.skoda-band__logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.skoda-band__content { flex: 1; min-width: 220px; }
.skoda-band__content h2 { color: var(--skoda-dark); font-size: 1.4rem; margin-bottom: 0.4rem; }
.skoda-band__content p  { color: var(--skoda-green); font-size: 0.9rem; }

/* ── REVIEWS ────────────────────────────────── */
.reviews__top {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.reviews__score-block { flex-shrink: 0; }
.reviews__score-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--vw-blue);
  line-height: 1;
}
.reviews__score-stars { font-size: 1.5rem; color: var(--gold); letter-spacing: 2px; margin: 0.25rem 0; }
.reviews__score-label { font-size: 0.8rem; color: var(--text-muted); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border-left: 4px solid var(--gold);
}
.review-card__top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.review-card__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--vw-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.review-card__meta { flex: 1; }
.review-card__name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
.review-card__stars { font-size: 0.8rem; color: var(--gold); }
.review-card__date { font-size: 0.75rem; color: var(--text-hint); }
.review-card__text { font-size: 0.875rem; color: var(--text-body); line-height: 1.6; font-style: italic; }

/* ── OWNER ──────────────────────────────────── */
.owner__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}
.owner__avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--surface-2);
  border: 4px solid var(--vw-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--vw-blue);
  flex-shrink: 0;
}
.owner__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; color: var(--vw-blue); }
.owner__role { font-size: 0.82rem; color: var(--text-muted); margin: 0.2rem 0 1rem; }
.owner__quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--surface);
  border-left: 4px solid var(--vw-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
}

/* ── TOURIST SECTION ────────────────────────── */
.tourist { text-align: center; }
.tourist__eyebrow {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.tourist h2 { color: var(--white); margin-bottom: 0.75rem; }
.tourist p  { color: rgba(255,255,255,0.72); max-width: 540px; margin: 0 auto 2rem; }

/* ── CONTACT ────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.contact-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-item__icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--vw-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 16px; height: 16px; stroke: var(--white); fill: none; }
.contact-item strong { display: block; font-size: 0.78rem; font-weight: 700; color: var(--vw-blue); margin-bottom: 0.15rem; }
.contact-item span   { font-size: 0.82rem; color: var(--text-body); line-height: 1.4; }
.contact__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--wa-green);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition);
}
.contact__cta-btn:hover { background: #1da851; }
.contact__cta-btn svg { width: 20px; height: 20px; fill: var(--white); }
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
}
.contact__map iframe { width: 100%; height: 100%; border: none; }

/* ── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--vw-blue-dark);
  padding: 3rem 0 1.5rem;
  color: rgba(255,255,255,0.7);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Logo nel footer su sfondo scuro: negativo (bianco) */
.footer__brand { margin-bottom: 0.75rem; }
.footer__brand-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
}
.footer__brand-logo--white {
  opacity: 0.88;
}
.footer__tagline { font-size: 0.82rem; max-width: 260px; line-height: 1.5; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 0.85rem; }
.footer__social-link { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); transition: background var(--transition), color var(--transition); text-decoration: none; }
.footer__social-link:hover { background: rgba(255,255,255,0.22); color: var(--white); }
.footer__social-link svg { width: 15px; height: 15px; }
.footer__nav h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__nav a { font-size: 0.82rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer__nav a:hover { color: var(--white); }
.footer__contact h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
.footer__contact p { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 0.3rem; }
.footer__contact a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer__contact a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
/* Loghi brand footer (filtro bianco su sfondo scuro) */
.footer__brands { display: flex; align-items: center; gap: 1.25rem; }
.footer__brand-sm {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--transition);
}
.footer__brand-sm:hover { opacity: 0.85; }

/* ── FLOATING CTA ───────────────────────────── */
.float-duo {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}
.float-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vw-blue);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(0,30,80,0.3);
  transition: transform var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.float-cta:hover { background: var(--vw-blue-mid); transform: scale(1.04); }
.float-cta svg { width: 18px; height: 18px; stroke: var(--white); fill: none; }

/* ── PAGE HERO VARIANTS ─────────────────────── */
.page-hero {
  background: var(--vw-blue);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.75); margin-top: 0.75rem; max-width: 560px; margin-inline: auto; }
.page-hero--skoda { background: var(--skoda-green); }
/* Logo nel page hero */
.page-hero__logo {
  height: 108px;
  width: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: brightness(0) invert(1);
}
.page-hero__logo--skoda {
  height: 28px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── SERVICE DETAIL LIST ────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.service-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.service-detail-item:hover { border-color: var(--vw-blue); }
.service-detail-item__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-detail-item__icon svg { width: 22px; height: 22px; stroke: var(--vw-blue); fill: none; }
.service-detail-item--skoda .service-detail-item__icon svg { stroke: var(--skoda-green); }
.service-detail-item h3 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 0.3rem; }
.service-detail-item p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ── TIMELINE (Chi siamo) ───────────────────── */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.timeline-dot {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--vw-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-dot span { font-family: var(--font-display); font-size: 0.65rem; font-weight: 900; color: var(--white); text-align: center; line-height: 1.1; }
.timeline-content { padding-top: 0.5rem; }
.timeline-content h3 { color: var(--vw-blue); margin-bottom: 0.4rem; }
.timeline-content p  { font-size: 0.9rem; color: var(--text-body); }

/* ── VALUES GRID ────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-top: 4px solid var(--vw-blue);
  text-align: center;
}
.value-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.value-card__icon svg { width: 26px; height: 26px; stroke: var(--vw-blue); fill: none; }
.value-card h3 { color: var(--vw-blue); margin-bottom: 0.5rem; font-size: 1rem; }
.value-card p  { font-size: 0.85rem; color: var(--text-muted); }

/* ── ALERT BOX ──────────────────────────────── */
.alert-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--vw-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

/* ── CONTACT PAGE FORM ──────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.35rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--vw-blue);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s var(--transition) both; }
.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }

/* ── MEDIA QUERIES ──────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .rating-card { max-width: 360px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { height: 280px; }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  h1 { font-size: 1.7rem; }
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 2.5rem 0; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__info-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .owner__inner { grid-template-columns: 1fr; text-align: center; }
  .owner__avatar { margin: 0 auto; }
  .owner__quote { text-align: left; }
  .float-duo { bottom: 1rem; right: 1rem; }
  .float-cta { padding: 0.65rem 1rem; font-size: 0.82rem; }
  .skoda-band__inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .reviews__top { flex-direction: column; gap: 1rem; }
  .timeline::before { display: none; }
  .nav__logo-img { height: 36px; }
  .hero__brands { flex-wrap: nowrap; gap: 0.5rem; }
  .hero__brand-logo { height: 54px; }
  .hero__brand-logo--skoda { height: 14px; }
  .brand-divider { height: 36px; }
  .page-hero__logo { height: 54px; }
  .page-hero__logo--skoda { height: 14px; }
  .multi-logo-vw { height: 54px !important; }
  .multi-logo-sk { height: 14px !important; }
  .multi-logo-divider { height: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── MULTIMARCA PAGE ─────────────────────────── */
.hero-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.08);
  transition: background var(--transition), border-color var(--transition);
}
.hero-chip--vip {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.brand-grid-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.brand-grid-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.brand-card:hover { transform: translateY(-2px); }
.brand-card--vw   { border-top-color: var(--vw-blue); }
.brand-card--sk   { border-top-color: var(--skoda-green); }
.brand-card--audi { border-top-color: #1a1a1a; }
.brand-card--neu  { border-top-color: #6B7280; }
.brand-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.brand-card--vw   .brand-card__name { color: var(--vw-blue); }
.brand-card--sk   .brand-card__name { color: var(--skoda-green); }
.brand-card--audi .brand-card__name { color: #1a1a1a; }
.brand-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}
.brand-card__badge--vw   { background: #EEF2FF; color: var(--vw-blue); }
.brand-card__badge--sk   { background: var(--skoda-light); color: var(--skoda-green); }
.brand-card__badge--audi { background: #F1EFE8; color: #1a1a1a; }
.brand-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.brand-card__list li {
  font-size: 0.82rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.4;
}
.brand-card__list li::before {
  content: '–';
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 0;
}
.odis-banner {
  margin-top: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--vw-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.odis-banner svg { width: 22px; height: 22px; stroke: var(--vw-blue); flex-shrink: 0; margin-top: 2px; }
.odis-banner strong { display: block; font-size: 0.9rem; color: var(--vw-blue); margin-bottom: 0.2rem; }
.odis-banner p { font-size: 0.82rem; color: var(--text-body); margin: 0; }
.audi-band {
  background: #111111;
  padding: 3rem 0;
}
.audi-band__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}
.audi-band__brand {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.audi-band__sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.audi-band__tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.audi-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.audi-service-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}
.audi-service-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.audi-service-item p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.other-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.other-brand-chip {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-body);
  background: var(--white);
}
.diag-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--gold-light);
  border: 1px solid rgba(245,166,35,0.3);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.9rem 1.1rem;
  margin-top: 1.5rem;
  font-size: 0.84rem;
  color: var(--text-body);
}
.diag-note svg { width: 18px; height: 18px; stroke: #D4900A; flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .brand-grid-top    { grid-template-columns: 1fr 1fr; }
  .brand-grid-bottom { grid-template-columns: repeat(2, 1fr); }
  .audi-band__inner  { grid-template-columns: 1fr; gap: 1.5rem; }
  .audi-band__brand  { font-size: 2.5rem; }
}
@media (max-width: 640px) {
  .brand-grid-top    { grid-template-columns: 1fr; }
  .brand-grid-bottom { grid-template-columns: repeat(2, 1fr); }
  .audi-services     { grid-template-columns: 1fr; }
}

/* ── WHATSAPP CTA ────────────────────────────── */
.btn--wa {
  background: var(--wa-green);
  color: var(--white);
  gap: 0.45rem;
}
.btn--wa:hover { background: #1da851; transform: translateY(-1px); }
.btn--wa svg { flex-shrink: 0; }

/* Floating button WhatsApp */
.float-cta--wa {
  background: var(--wa-green);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.float-cta--wa:hover { background: #1da851; transform: scale(1.04); }
.float-cta--wa svg { width: 18px; height: 18px; fill: var(--white); stroke: none; }
.float-cta--prenota { background: #003087; }
.float-cta--prenota:hover { background: #001E50; transform: scale(1.04); }
.float-cta--prenota svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2; }

/* Link inline dopo la citazione (chi-siamo) */
.wa-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--wa-green);
  transition: color var(--transition);
}
.wa-inline-link:hover { color: #1da851; }
.wa-inline-link svg { flex-shrink: 0; fill: var(--wa-green); }

/* Card WhatsApp nella pagina contatti */
.wa-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #f0faf4;
  border: 1.5px solid var(--wa-green);
  border-radius: var(--radius-lg);
  color: var(--text-body);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.wa-contact-card:hover {
  background: #e2f6ea;
  transform: translateY(-1px);
}
.wa-contact-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-contact-card__icon svg { fill: var(--white); }
.wa-contact-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a7a3a;
  margin-bottom: 0.15rem;
}
.wa-contact-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.wa-contact-card__arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--wa-green);
  font-weight: 700;
}
@media (max-width: 640px) {
  .btn--wa { font-size: 0.88rem; padding: 0.8rem 1.2rem; }
  .wa-contact-card__arrow { display: none; }
}

/* ══════════════════════════════════════════════
   COOKIE CONSENT — MODALE CENTRATA
   ══════════════════════════════════════════════ */

/* Overlay scuro dietro la modale */
#ast-cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: ast-cb-fadein 0.25s ease;
}
#ast-cookie-banner.ast-cb--hiding {
  animation: ast-cb-fadeout 0.3s ease forwards;
}

/* Card modale */
.ast-cb__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,30,80,0.22);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
  border-top: 4px solid var(--vw-blue);
}

/* Titolo */
.ast-cb__inner::before {
  content: "🍪 Preferenze cookie";
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vw-blue);
  margin-bottom: 0.85rem;
}

.ast-cb__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 1.4rem;
}
.ast-cb__text strong { color: var(--text-primary); }
.ast-cb__text a {
  color: var(--vw-blue);
  text-decoration: underline;
}

.ast-cb__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.ast-cb__btn {
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.ast-cb__btn--primary {
  background: var(--vw-blue);
  color: #fff;
}
.ast-cb__btn--primary:hover { background: #002b73; }
.ast-cb__btn--secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.ast-cb__btn--secondary:hover {
  background: var(--surface);
  color: var(--text-primary);
}

@keyframes ast-cb-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ast-cb-fadeout {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Placeholder mappa (contatti.html) */
.maps-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2rem;
  color: var(--text-body);
}
.maps-placeholder__icon { font-size: 2.5rem; }
.maps-placeholder p { font-size: 0.9rem; line-height: 1.55; margin: 0; }
.maps-placeholder__btn {
  margin-top: 0.75rem;
  padding: 0.55rem 1.2rem;
  background: var(--vw-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.maps-placeholder__btn:hover { background: #002b73; }

/* ══════════════════════════════════════════════
   CHECKBOX PRIVACY / NEWSLETTER (prenota step-2)
   ══════════════════════════════════════════════ */

.privacy-consent-block {
  margin: 1.5rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-group--checkbox {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

/* Checkbox custom — usa SVG come sfondo per la spunta (compatibile tutti i browser) */
.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 0.2rem;
  border: 2px solid var(--border);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.checkbox-label input[type="checkbox"]:hover {
  border-color: var(--vw-blue);
}

.checkbox-label input[type="checkbox"]:checked {
  background-color: var(--vw-blue);
  border-color: var(--vw-blue);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.checkbox-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  font-weight: 400;
}

/* Link nelle checkbox: visibili come link */
.checkbox-text a {
  color: var(--vw-blue);
  text-decoration: underline;
  font-weight: 600;
}

/* Asterisco obbligatorietà */
.checkbox-text strong {
  font-weight: 600;
  color: var(--text-muted);
}

/* Messaggio errore privacy */
.form-group--checkbox .error-msg {
  margin-top: 0.45rem;
  margin-left: 1.4rem;
  font-size: 0.83rem;
  color: #c0392b;
}

/* Footer legal links */
.footer__legal-links {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.footer__legal-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}
                