/* ============================================================
   Venice Transfers & Tours — Autonoleggio Trissino di Salvatore Buono
   Design system Royaletiger — CSS custom, zero framework
   ============================================================ */

/* ---------- Font self-hosted (nessuna richiesta a terzi) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  /* palette brand — nero laguna + oro veneziano */
  --brand: #0d1420;
  --brand-dark: #080d16;
  --brand-soft: #16202f;
  --accent: #c8963e;
  --accent-light: #dcb268;
  --accent-dark: #a87b2c;
  --ink: #101826;
  --text: #3c4655;
  --muted: #75808f;
  --bg: #ffffff;
  --bg-alt: #f7f4ee;
  --bg-warm: #f2ece1;
  --line: #e5e0d6;
  --on-dark: #e8e4dc;
  --on-dark-muted: #9aa3ae;
  /* tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  /* sistema */
  --shadow-sm: 0 2px 8px rgba(13, 20, 32, .07);
  --shadow-md: 0 8px 28px rgba(13, 20, 32, .12);
  --shadow-lg: 0 20px 50px rgba(13, 20, 32, .22);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1.5px;
  background: var(--accent);
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--accent-light); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; font-size: 1.06rem; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.65; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(200, 150, 62, .35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 150, 62, .45);
  color: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(16, 24, 38, .25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }

.hero .btn-outline, .section-dark .btn-outline, .cta-banner .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}
.hero .btn-outline:hover, .section-dark .btn-outline:hover, .cta-banner .btn-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.btn-whatsapp {
  background: #1fac53;
  color: #fff;
  box-shadow: 0 6px 20px rgba(31, 172, 83, .3);
}
.btn-whatsapp:hover { background: #189245; color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 13, 22, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
  color: #fff;
}
.nav-brand:hover { color: #fff; }
.brand-logo {
  height: 50px;
  width: auto;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; }
.nav-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav-brand .brand-name em { font-style: normal; color: var(--accent-light); }
.nav-brand .brand-tag {
  font-size: .6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--on-dark-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn)[aria-current="page"] { color: var(--accent-light); }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { padding: 11px 26px; font-size: .88rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
}
.lang-switch span { color: rgba(255, 255, 255, .3); }
.lang-switch a:not(.btn) {
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 2px;
}
.lang-switch a:not(.btn)::after { display: none; }
.lang-switch a:not(.btn).is-active { color: var(--accent-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero home ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 13, 22, .88) 0%, rgba(8, 13, 22, .62) 45%, rgba(8, 13, 22, .28) 75%, rgba(8, 13, 22, .45) 100%),
    linear-gradient(to top, rgba(8, 13, 22, .65), transparent 40%);
}

.hero-content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent-light); }
.hero .lead { color: rgba(255, 255, 255, .82); margin-bottom: 36px; max-width: 560px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-badge { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 500; }
.hero-badge svg { width: 20px; height: 20px; color: var(--accent-light); flex: none; }

/* ---------- Hero pagine interne ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(60px, 9vw, 110px)) 0 clamp(56px, 7vw, 90px);
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(200, 150, 62, .16), transparent 60%),
    var(--brand);
  isolation: isolate;
  overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 800px; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 640px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  color: var(--on-dark-muted);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; color: rgba(255,255,255,.35); }
.breadcrumb [aria-current="page"] { color: var(--accent-light); }

/* ---------- Feature card (perché sceglierci) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 150, 62, .45);
}
.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(200, 150, 62, .16), rgba(200, 150, 62, .06));
  border: 1px solid rgba(200, 150, 62, .3);
  margin-bottom: 24px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--accent-dark); }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: .97rem; }

/* ---------- Split (chi siamo) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.split-media::before {
  content: '';
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1.5px solid rgba(200, 150, 62, .4);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split-body h2 { margin-bottom: 20px; }
.split-body p + p { margin-top: 16px; }
.split-body .btn { margin-top: 30px; }

.split-stat {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200, 150, 62, .4);
}
.split-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-light);
  line-height: 1.1;
}
.split-stat span { font-size: .82rem; color: var(--on-dark-muted); }

/* ---------- Service card ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: .93rem; flex: 1; }
.service-link {
  margin-top: 18px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link::after { content: '→'; transition: transform .3s var(--ease); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ---------- Numeri / counter ---------- */
.stats-band { border-block: 1px solid rgba(255, 255, 255, .1); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--accent-light);
  line-height: 1.1;
}
.stat-item span { font-size: .9rem; color: var(--on-dark-muted); }

/* ---------- Sezione servizi dettaglio (pagina servizi) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.service-row + .service-row { margin-top: clamp(64px, 8vw, 100px); }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-row h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 14px;
}
.service-row p + p { margin-top: 12px; }
.service-row ul { margin-top: 18px; display: grid; gap: 10px; }
.service-row li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: .97rem;
}
.service-row li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-1px);
}

/* ---------- Quote / testimonianza ---------- */
.quote-wrap { max-width: 840px; margin-inline: auto; text-align: center; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.section-dark blockquote p { color: #fff; }
blockquote footer { margin-top: 22px; font-size: .92rem; color: var(--muted); font-style: normal; }

/* ---------- Blog card ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.blog-card-body { padding: 28px 26px 30px; }
.blog-meta {
  display: flex;
  gap: 14px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--accent-dark); }
.blog-card p { font-size: .95rem; }

/* ---------- Articolo blog ---------- */
.article-body { max-width: 760px; margin-inline: auto; }
.article-body > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: 40px; }
.article-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 16px; }
.article-body h3 { font-size: 1.2rem; margin: 30px 0 12px; }
.article-body p + p { margin-top: 16px; }
.article-body ul { margin: 16px 0; display: grid; gap: 10px; }
.article-body li { display: flex; gap: 12px; align-items: baseline; }
.article-body li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-1px);
}
.article-body strong { color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: clamp(80px, 10vw, 130px) 0;
}
.cta-banner-media { position: absolute; inset: 0; z-index: -2; }
.cta-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(8, 13, 22, .82), rgba(8, 13, 22, .82));
}
.cta-banner h2 { color: #fff; max-width: 700px; margin-inline: auto; }
.cta-banner p { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 18px auto 36px; }
.cta-banner .hero-cta { justify-content: center; }

/* ---------- Contatti ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-info-item {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-info-item:hover { border-color: rgba(200, 150, 62, .5); box-shadow: var(--shadow-sm); }
.contact-info-item .feature-icon { width: 48px; height: 48px; margin: 0; flex: none; border-radius: 12px; }
.contact-info-item .feature-icon svg { width: 22px; height: 22px; }
.contact-info-item h3 { font-family: var(--font-body); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 1rem; font-weight: 500; color: var(--ink); }
.contact-info-item a:hover { color: var(--accent-dark); }
.contact-info-item small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }

.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: .95rem; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.form-field label span { color: var(--accent-dark); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}

.form-privacy {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--muted);
}
.form-privacy input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-dark); flex: none; }

.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.form-status { grid-column: 1 / -1; font-size: .9rem; font-weight: 500; color: var(--accent-dark); min-height: 1.4em; }

.map-link-card {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
}
.map-link-card p { color: var(--on-dark-muted); font-size: .9rem; }
.map-link-card strong { color: #fff; display: block; font-size: 1rem; }
.map-link-card .btn { padding: 11px 22px; font-size: .85rem; flex: none; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-dark);
  transition: transform .3s var(--ease);
  flex: none;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: var(--on-dark-muted);
  padding-top: clamp(60px, 7vw, 90px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-brand em { font-style: normal; color: var(--accent-light); }
.footer-tagline {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.footer-col > p { font-size: .92rem; }
.footer-col h4 { color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--on-dark-muted); font-size: .93rem; }
.footer-col a:hover { color: var(--accent-light); }
.footer-col li { font-size: .93rem; }

.footer-contact-item { display: flex; gap: 12px; align-items: baseline; }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--accent-light); flex: none; transform: translateY(2px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .84rem;
}
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--accent-light); }
.footer-credit a { color: var(--accent-light); }

/* ---------- Pagine legali ---------- */
.legal-body { max-width: 780px; margin-inline: auto; }
.legal-body h2 { font-size: 1.45rem; margin: 40px 0 14px; }
.legal-body h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { margin: 14px 0; display: grid; gap: 8px; }
.legal-body li { display: flex; gap: 12px; align-items: baseline; }
.legal-body li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal-updated { font-size: .85rem; color: var(--muted); margin-bottom: 30px; }

/* ---------- Bottone WhatsApp flottante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #27c162, #1fa050);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 172, 83, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 30px rgba(31, 172, 83, .55);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(8, 13, 22, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
  }
  .nav-links.is-open { opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font-size: 1.3rem; }
  .features-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .split, .service-row, .contact-grid { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .split-media::before { display: none; }
  .split-stat { left: 16px; }
}

@media (max-width: 640px) {
  .services-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-badges { gap: 14px 22px; }
  .map-link-card { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
  .nav-brand .brand-name { font-size: 1.05rem; }
  .nav-brand .brand-tag { font-size: .54rem; }
  .nav-brand { gap: 9px; }
  .brand-logo { height: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta .btn, .form-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
