@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/jost-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-500.woff2') format('woff2');
}

:root {
  --accent: #525fe1;
  --accent-dark: #3d48c4;
  --accent-soft: #8f98ff;
  --accent-light: #eef0fc;
  --heading: #14164a;
  --text: #3a3a4a;
  --text-muted: #6b6b80;
  --border: #e6e6ef;
  --bg-soft: #f7f7fa;
  --bg-footer: #f3f3fd;
  --bg-copyright: #e9e9fb;
  --white: #ffffff;
  --radius: 12px;
  --radius-pill: 50px;
  --shadow: 0 6px 24px rgba(20, 22, 74, 0.08);
  --font-title: 'Jost', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

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

.container {
  max-width: 1200px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  box-shadow: none;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background-color: var(--heading);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 16px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--white);
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

main:focus {
  outline: none;
}

.section {
  padding: 90px 0;
}

section[id] {
  scroll-margin-top: 90px;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--heading);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 8px;
}

.btn-primary-ap,
.btn-outline-ap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary-ap {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary-ap:hover,
.btn-primary-ap:focus-visible {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-outline-ap {
  background-color: transparent;
  color: var(--accent);
}

.btn-outline-ap:hover,
.btn-outline-ap:focus-visible {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary-ap i,
.btn-outline-ap i {
  font-size: 0.9em;
  transition: transform 0.25s ease;
}

.btn-primary-ap:hover i,
.btn-outline-ap:hover i {
  transform: translateX(4px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(20, 22, 74, 0.08);
}

.site-header .navbar {
  min-height: 90px;
  padding: 0;
}

.navbar-brand {
  padding: 0;
  margin-right: 24px;
}

.navbar-brand img {
  display: block;
  height: 44px;
  width: auto;
}

.site-header .nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--heading);
  padding: 8px 16px;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.active {
  color: var(--accent);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--heading);
  font-size: 22px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85vh;
  padding: 80px 0;
  background-color: var(--heading);
  background-image:
    linear-gradient(90deg, rgba(20, 22, 45, 0.75) 0%, rgba(20, 22, 45, 0.45) 45%, rgba(20, 22, 45, 0) 70%),
    url('../img/hero/hero.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-highlight {
  color: var(--accent-soft);
}

.hero-subtitle {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 28px;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title,
.hero-subtitle,
.hero-btn {
  animation: fade-in-up 0.8s ease-out both;
}

.hero-title {
  animation-delay: 0.1s;
}

.hero-subtitle {
  animation-delay: 0.3s;
}

.hero-btn {
  animation-delay: 0.5s;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.categorie {
  background-color: var(--white);
}

.categoria-card {
  height: 100%;
  padding: 28px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(20, 22, 74, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.categoria-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.categoria-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.categoria-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 28px;
  color: var(--heading);
  margin-bottom: 20px;
}

.categoria-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categoria-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 14px;
}

.categoria-list li:last-child {
  margin-bottom: 0;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 20px;
  margin-top: 3px;
  border-radius: var(--radius-pill);
  background-color: var(--accent);
  color: var(--white);
  font-size: 11px;
}

.text-accent {
  color: var(--accent);
}

.servizi-home {
  background-color: var(--bg-soft);
  padding-bottom: 120px;
}

.servizi-title {
  text-align: left;
  margin-bottom: 48px;
}

.servizio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(20, 22, 74, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servizio-card:hover,
.servizio-card:focus-visible {
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.servizio-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.servizio-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servizio-card:hover .servizio-media img {
  transform: scale(1.04);
}

.servizio-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 18px 8px;
  background-color: var(--accent);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.5px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.servizio-body {
  flex-grow: 1;
  padding: 24px 22px 26px;
  text-align: center;
}

.servizio-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 21px;
  color: var(--heading);
  margin-bottom: 10px;
}

.servizio-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.perche {
  position: relative;
  display: flow-root;
  background-color: var(--white);
  padding-bottom: 90px;
}

.perche-row {
  margin-top: calc(-80px - var(--bs-gutter-y));
}

.perche-card {
  height: 100%;
  padding: 36px 28px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.perche-card:hover {
  transform: translateY(-4px);
}

.perche-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 24px;
}

.perche-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 26px;
  color: var(--heading);
  margin-bottom: 12px;
}

.perche-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contatori {
  display: flow-root;
  padding-bottom: 90px;
  background-color: var(--white);
}

.bandeau {
  height: 340px;
  background-image: url('../img/hero/bandeau.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contatori-row {
  position: relative;
  margin-top: calc(-45px - var(--bs-gutter-y));
}

.contatore-card {
  height: 100%;
  padding: 24px 26px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}

.contatore-number {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.contatore-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contatore-detail {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.85;
  margin: 2px 0 0;
}

.chi-siamo-home {
  background-color: var(--white);
  padding-top: 0;
}

.chi-siamo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

.chi-siamo-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.625rem);
  color: var(--heading);
  margin-bottom: 20px;
}

.chi-siamo-text {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  margin-bottom: 32px;
}

.come-funziona {
  background-color: var(--bg-soft);
}

.passi-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.passo-card {
  height: 100%;
  padding: 32px 26px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(20, 22, 74, 0.04);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.passo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.passo-number {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}

.passo-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 20px;
  color: var(--heading);
  margin-bottom: 10px;
}

.passo-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 0;
}

.testimonianze {
  background: linear-gradient(120deg, #eefaf4 0%, #f7f7fa 50%, #fdf1ea 100%);
}

.testimonianze-swiper .swiper-slide {
  height: auto;
}

.testimonianza-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(20, 22, 74, 0.04);
}

.testimonianza-photo {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.testimonianza-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.testimonianza-stars {
  display: inline-flex;
  gap: 4px;
  color: var(--accent);
  font-size: 16px;
}

.testimonianza-quote-icon {
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}

.testimonianza-quote {
  margin: 0;
}

.testimonianza-quote p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.testimonianza-quote:not(.is-expanded) p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonianza-toggle {
  align-self: flex-start;
  padding: 0;
  margin-top: 10px;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}

.testimonianza-toggle:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.testimonianza-toggle[hidden] {
  display: none;
}

.testimonianza-spacer {
  flex-grow: 1;
  min-height: 22px;
}

.testimonianza-author {
  padding: 14px 18px;
  border-radius: 10px;
  background-color: #fdf2f8;
}

.testimonianza-name {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
}

.testimonianza-country {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}

.testimonianze-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.testimonianze-prev,
.testimonianze-next,
.testimonianze-autoplay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background-color: var(--white);
  color: var(--accent);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.testimonianze-prev:hover,
.testimonianze-next:hover,
.testimonianze-autoplay:hover,
.testimonianze-prev:focus-visible,
.testimonianze-next:focus-visible,
.testimonianze-autoplay:focus-visible {
  background-color: var(--accent);
  color: var(--white);
}

.testimonianze-autoplay {
  width: 40px;
  height: 40px;
  margin-left: 4px;
  font-size: 14px;
}

.testimonianze-pagination.swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  gap: 4px;
}

.testimonianze-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  opacity: 0.25;
}

.testimonianze-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: var(--radius-pill);
  opacity: 1;
}

.cta-finale {
  padding: 110px 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    url('../img/hero/cta.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  color: var(--heading);
  margin-bottom: 14px;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--heading);
  margin-bottom: 32px;
}

.page-header {
  display: flex;
  align-items: center;
  min-height: 220px;
  padding: 40px 0;
  background-color: var(--accent-light);
  text-align: center;
}

.page-header-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--heading);
  margin-bottom: 10px;
}

.page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
}

.page-breadcrumb li + li::before {
  content: "/";
  padding: 0 10px;
  color: var(--text-muted);
}

.page-breadcrumb a {
  color: var(--accent);
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

.page-breadcrumb [aria-current="page"] {
  color: var(--heading);
}

.storia {
  background-color: var(--white);
}

.storia-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.625rem);
  color: var(--heading);
  margin-bottom: 20px;
}

.storia-text {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
}

.storia-text:last-child {
  margin-bottom: 0;
}

.storia-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

.ruolo {
  background-color: var(--bg-soft);
}

.ruolo-card {
  height: 100%;
  padding: 32px 28px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(20, 22, 74, 0.04);
}

.ruolo-card-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 26px;
  color: var(--heading);
  margin-bottom: 22px;
}

.check-pill--no {
  background-color: var(--border);
  color: var(--text-muted);
  font-size: 12px;
}

.come-funziona-dettaglio {
  background-color: var(--white);
}

.passi-list--dettaglio {
  margin-top: 36px;
}

.page-chi-siamo .bandeau {
  background-image: url('../img/chi-siamo/bandeau.webp');
}

.page-chi-siamo .cta-finale {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    url('../img/chi-siamo/cta.webp');
}

.partner {
  background-color: var(--bg-soft);
}

.partner-text {
  margin-bottom: 0;
}

.servizi-intro {
  padding: 60px 0 0;
  background-color: var(--white);
}

.servizi-intro-text {
  max-width: 760px;
  margin: 0 auto 60px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text);
  text-align: center;
}

.servizio-row {
  background-color: var(--white);
}

.servizio-row--soft {
  background-color: var(--bg-soft);
}

.servizio-row-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.servizio-row-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  color: var(--heading);
  margin-bottom: 20px;
}

.servizio-details {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.servizio-details li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.servizio-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.servizio-details strong {
  font-weight: 500;
  color: var(--heading);
}

.servizio-price {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.listino {
  background-color: var(--bg-soft);
}

.listino-card {
  height: 100%;
  padding: 28px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(20, 22, 74, 0.04);
}

.listino-badge {
  margin-bottom: 14px;
}

.listino-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.listino-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
}

.listino-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.listino-note {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.listino-price {
  flex-shrink: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent);
  white-space: nowrap;
}

.listino-footer {
  margin-top: 48px;
  text-align: center;
}

.listino-nota {
  max-width: 640px;
  margin: 0 auto 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
}

.listino-nota a {
  font-weight: 500;
  text-decoration: underline;
}

.page-servizi .cta-finale {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    url('../img/pagina-servizi/cta.webp');
}

.faq {
  background-color: var(--white);
}

.faq-intro {
  max-width: 680px;
  margin: 0 auto 56px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text);
  text-align: center;
}

.faq-theme + .faq-theme {
  margin-top: 56px;
}

.faq-theme-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--accent);
  text-align: center;
  margin-bottom: 6px;
}

.faq-theme-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

.faq-accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: var(--radius);
  --bs-accordion-inner-border-radius: var(--radius);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon-width: 1.1rem;

  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314164a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 9l7 7 7-7'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525fe1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 9l7 7 7-7'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-item {
  background-color: var(--accent-light);
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-accordion .accordion-item + .accordion-item {
  margin-top: 16px;
}

.faq-accordion .accordion-item:not(:first-of-type),
.faq-accordion .accordion-item:not(:last-of-type) {
  border-radius: var(--radius);
}

.faq-accordion .accordion-button,
.faq-accordion .accordion-button.collapsed {
  border-radius: var(--radius);
}

.faq-accordion .accordion-header {
  margin: 0;
}

.faq-accordion .accordion-button {
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--accent-light);
  color: var(--heading);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--accent-light);
  color: var(--heading);
  box-shadow: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-accordion .accordion-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.faq-accordion .accordion-body {
  margin: 0 8px 8px;
  padding: 18px 20px;
  background-color: var(--white);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.faq-aside {
  position: sticky;
  top: 110px;
}

.faq-aside-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-position: center 30%;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.faq-box {
  padding: 28px;
  background-color: var(--accent-light);
  border-radius: var(--radius);
  text-align: center;
}

.faq-box-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 24px;
  color: var(--heading);
  margin-bottom: 8px;
}

.faq-box-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 20px;
}

.faq-box-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .cta-finale {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    url('../img/faq/cta.webp');
}

.contatti {
  background-color: var(--white);
}

.contatti-intro {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 28px;
}

.form-status {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
}

.form-status.is-success {
  background-color: #e8f7ef;
  border: 1px solid #b7e4c7;
  color: #1e6b3f;
}

.form-status.is-error {
  background-color: #fdecec;
  border: 1px solid #f5c2c2;
  color: #a12a2a;
}

.form-status-static {
  display: none;
}

.form-status-static:target {
  display: block;
  scroll-margin-top: 110px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-label-ap {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--heading);
}

.form-required {
  color: var(--accent);
}

.form-input-ap {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-ap:focus,
.form-input-ap:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px rgba(82, 95, 225, 0.15);
}

.form-select-ap {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314164a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 9l7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.form-textarea-ap {
  resize: vertical;
  min-height: 130px;
}

.form-input-ap[aria-invalid="true"] {
  border-color: #c0392b;
}

.form-error {
  min-height: 0;
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: #c0392b;
}

.form-error:empty {
  display: none;
}

.form-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 8px;
}

.form-check-ap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
}

.form-radios .form-check-ap {
  margin-top: 0;
}

.form-check-ap input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check-ap label {
  cursor: pointer;
}

.form-consent a {
  text-decoration: underline;
}

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin: 8px 0 20px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}

.form-notice i {
  margin-top: 4px;
  color: var(--accent);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contatti-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background-color: var(--accent-light);
}

.contatti-list li {
  font-size: 16px;
  margin-bottom: 18px;
}

.contatti-list a.contatti-address {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contatti-list a.contatti-address:hover,
.contatti-list a.contatti-address:focus-visible {
  color: var(--accent-dark);
}

.contatti-whatsapp {
  width: 100%;
  margin-top: 8px;
  background-color: var(--white);
}

.legal {
  background-color: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.legal-intro {
  font-size: 18px;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--heading);
  margin: 44px 0 14px;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content strong {
  font-weight: 500;
  color: var(--heading);
}

.legal-content a {
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
}

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-table th + th,
.legal-table td + td {
  border-left: 1px solid var(--border);
}

.legal-table thead th {
  background-color: var(--accent-light);
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--heading);
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-updated {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}

.not-found {
  background-color: var(--white);
  text-align: center;
}

.not-found-text {
  max-width: 560px;
  margin: 0 auto 28px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text);
}

.site-footer {
  background-color: var(--bg-footer);
  color: var(--text);
  padding-top: 80px;
}

.footer-logo img {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  color: var(--heading);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-contacts i {
  color: var(--accent);
  font-size: 16px;
  width: 18px;
  margin-top: 5px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contacts a {
  color: var(--text);
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--accent);
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 24px 0;
  margin-bottom: 0;
}

.footer-copyright {
  background-color: var(--bg-copyright);
  padding: 18px 0;
  text-align: center;
}

.footer-copyright p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

html:not(.whatsapp-on) [data-whatsapp] {
  display: none !important;
}

.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #25d366;
  color: var(--white);
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: var(--white);
  transform: scale(1.08);
}

.whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background-color: var(--heading);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background-color: var(--white);
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
    background-color 0.25s ease, color 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background-color: var(--accent);
  color: var(--white);
}

@media (max-width: 1223.98px) {
  .g-5,
  .gx-5 {
    --bs-gutter-x: 1.5rem;
  }
}

@media (max-width: 1199.98px) {

  .hero {
    background-image:
      linear-gradient(rgba(20, 22, 45, 0.55), rgba(20, 22, 45, 0.55)),
      url('../img/hero/hero.webp');
  }

  .footer-copyright {
    padding-bottom: 90px;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar {
    min-height: 76px;
  }

  .navbar-brand img {
    height: 36px;
  }

  .site-header .navbar-collapse {
    padding: 8px 0 24px;
  }

  .site-header .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .navbar-cta {
    margin-top: 20px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 60px 0;
  }

  .servizi-home {
    padding-bottom: 120px;
  }

  .perche {
    padding-bottom: 60px;
  }

  .bandeau {
    height: 240px;
  }

  .contatori {
    padding-bottom: 60px;
  }

  .contatore-card {
    padding: 18px 16px;
  }

  .chi-siamo-home {
    padding-top: 0;
  }

  .cta-finale {
    padding: 70px 0;
  }

  .form-submit {
    width: 100%;
  }

  .page-header {
    min-height: 160px;
    padding: 30px 0;
  }

  .servizio-row-img {
    aspect-ratio: 16 / 9;
  }

  .hero {
    min-height: 70vh;
    padding: 60px 0;
    background-image:
      linear-gradient(rgba(20, 22, 45, 0.55), rgba(20, 22, 45, 0.55)),
      url('../img/hero/hero-mobile.webp');
    background-position: center;
  }

  .site-footer {
    padding-top: 60px;
  }

  .footer-logo img {
    height: 36px;
  }

  .whatsapp-float {
    left: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-title,
  .hero-subtitle,
  .hero-btn {
    animation: none;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
