/* ==========================================================================
   Aurobica — design system
   Un solo foglio di stile per tutto il sito. Nessuna dipendenza esterna.
   Sezioni: 1 font · 2 token · 3 reset · 4 layout · 5 tipografia · 6 bottoni
            7 header · 8 hero · 9 componenti · 10 footer · 11 utility · 12 print
   ========================================================================== */

/* 1 — Font ---------------------------------------------------------------- */
@font-face {
  font-family: "Inter var";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

/* 2 — Token --------------------------------------------------------------- */
:root {
  /* brand */
  --brand: #df1f21;
  --brand-700: #b81719;
  --brand-900: #7d0f11;
  --brand-tint: #fdf0f0;

  /* neutri */
  --ink: #0f1419;
  --body: #495260;
  --muted: #6f7885;
  --line: #e3e8ee;
  --line-soft: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --dark: #10151b;
  --dark-2: #19202a;
  --dark-line: #2a3341;
  --on-dark: #c7cfda;

  /* tipografia */
  --font: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 0.9rem + 1.1vw, 1.5rem);
  --fs-h3: clamp(1.35rem, 1.05rem + 1.1vw, 1.65rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.1vw, 2.5rem);
  --fs-h1: clamp(2.1rem, 1.35rem + 3.1vw, 3.5rem);

  /* spazi */
  --gap: 1.5rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  /* effetti */
  --shadow-sm: 0 1px 2px rgba(16, 21, 27, 0.05),
    0 2px 8px rgba(16, 21, 27, 0.04);
  --shadow: 0 2px 6px rgba(16, 21, 27, 0.06), 0 12px 28px rgba(16, 21, 27, 0.07);
  --shadow-lg: 0 8px 20px rgba(16, 21, 27, 0.08),
    0 24px 60px rgba(16, 21, 27, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 74px;
}

/* 3 — Reset --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--brand);
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* 4 — Layout -------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, 820px);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.section--tint {
  background: var(--surface-2);
  border-block: 1px solid var(--line-soft);
}

.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
  color: #fff;
}

.grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--wide-text {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .split--reverse > :first-child {
    order: 2;
  }
}

/* 5 — Tipografia ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.021em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.026em;
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-lg);
  line-height: 1.3;
}

p {
  margin: 0 0 1.1em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  flex: none;
}

.section--dark .eyebrow {
  color: #ff6b6d;
}

.section--dark .eyebrow::before {
  background: #ff6b6d;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--body);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.muted {
  color: var(--muted);
}

.prose h2 {
  margin-top: 2.4em;
}

.prose h3 {
  margin-top: 2em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose li::marker {
  color: var(--brand);
}

/* 6 — Bottoni ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(223, 31, 33, 0.25);
}

.btn--primary:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
  box-shadow: 0 8px 24px rgba(223, 31, 33, 0.3);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}

.section--dark .btn--ghost,
.hero--dark .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.section--dark .btn--ghost:hover,
.hero--dark .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--sm {
  padding: 0.55rem 1.05rem;
  font-size: var(--fs-xs);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--fs-sm);
}

.arrow-link::after {
  content: "→";
  transition: transform 0.18s var(--ease);
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* 7 — Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(16, 21, 27, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
}

.brand img {
  width: 148px;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--ink);
  white-space: nowrap;
}

.nav__link:hover {
  background: var(--surface-2);
  color: var(--ink);
}

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

.nav__item--has-menu {
  position: relative;
}

.nav__caret {
  width: 9px;
  height: 9px;
  flex: none;
  transition: transform 0.2s var(--ease);
  opacity: 0.55;
}

.nav__item--has-menu:hover .nav__caret,
.nav__item--has-menu:focus-within .nav__caret {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 310px;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0.18s;
}

.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

.nav__menu a:hover {
  background: var(--surface-2);
}

.nav__menu small {
  display: block;
  font-weight: 400;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 2px;
}

/* Il pulsante di contatto resta nella barra a ogni larghezza: e' la
   conversione principale e finiva nascosto dentro il menu a panino. */
.header-cta {
  display: inline-flex;
  flex: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s var(--ease), opacity 0.15s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
}

.nav-toggle__bars::before {
  transform: translateY(-7px);
}

.nav-toggle__bars::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

@media (min-width: 1040px) {
  .nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}

/* Sotto i 520px logo, pulsante e panino non ci starebbero affiancati:
   si stringono tutti e tre invece di far sparire il pulsante. */
@media (max-width: 520px) {
  .site-header__inner {
    gap: 0.6rem;
  }
  .brand img {
    width: 118px;
  }
  .header-cta {
    /* piu' basso di cosi' l'area di tocco scenderebbe sotto i 40px */
    padding: 0.75rem 0.9rem;
    font-size: 0.75rem;
  }
  .nav-toggle {
    width: 40px;
    margin-right: -10px;
  }
}

/* menu mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  padding: 1.5rem 0 3rem;
  background: var(--surface);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav > .container > ul > li + li {
  border-top: 1px solid var(--line-soft);
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.mobile-nav a[aria-current="page"] {
  color: var(--brand);
}

.mobile-nav__sub {
  padding: 0 0 0.75rem 0.9rem !important;
  border-left: 2px solid var(--line);
  margin-left: 2px !important;
}

.mobile-nav__sub a {
  padding: 0.5rem 0;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--body);
}

.mobile-nav .btn {
  margin-top: 1.5rem;
  width: 100%;
}

@media (min-width: 1040px) {
  .mobile-nav {
    display: none;
  }
}

/* 8 — Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem);
  overflow: hidden;
}

.hero--dark {
  background: var(--dark);
  color: var(--on-dark);
}

.hero--dark h1 {
  color: #fff;
}

.hero--dark .lead {
  color: #a9b4c2;
}

.hero__glow {
  position: absolute;
  inset: auto auto -40% -10%;
  width: min(70vw, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(223, 31, 33, 0.32) 0%,
    rgba(223, 31, 33, 0) 65%
  );
  pointer-events: none;
}

.hero__glow--tr {
  inset: -35% -10% auto auto;
  background: radial-gradient(
    circle,
    rgba(70, 110, 200, 0.22) 0%,
    rgba(70, 110, 200, 0) 65%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero--page {
  padding-block: clamp(2.75rem, 1.75rem + 4vw, 4.5rem);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}

.hero--page h1 {
  margin-bottom: 0.35em;
}

.hero--page .lead {
  max-width: 68ch;
}

.product-mark {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.product-mark img {
  width: 200px;
}

/* 9 — Componenti ---------------------------------------------------------- */

/* card generica */
.card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.card h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: var(--fs-sm);
  color: var(--body);
}

.card__foot {
  margin-top: auto;
  padding-top: 1.25rem;
}

a.card:hover,
.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d6dde6;
}

/* card prodotto */
.product-card {
  overflow: hidden;
  padding: 0;
}

.product-card__logo {
  padding: 1.75rem 1.75rem 0;
}

.product-card__logo img {
  width: 190px;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.75rem 1.75rem;
}

.product-card__kicker {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* card con immagine in testa */
.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
}

.media-card__body {
  padding: 1.35rem 1.5rem 1.6rem;
}

.media-card__step {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.media-card__body h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.4rem;
}

.media-card__body p {
  font-size: var(--fs-sm);
  margin: 0;
}

/* card con numero */
.step {
  position: relative;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.section--dark .step {
  background: var(--dark-2);
  border-color: var(--dark-line);
}

.section--dark .step__num {
  background: rgba(223, 31, 33, 0.16);
  color: #ff6b6d;
}

.section--dark .step p,
.section--dark .card p {
  color: var(--on-dark);
}

/* liste con spunta */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.7rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.checklist--tight li {
  margin-bottom: 0.4rem;
  font-size: var(--fs-sm);
}

/* blocco funzionalità */
.feature-block {
  padding: 1.6rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--brand);
}

.feature-block h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.65rem;
}

.feature-block p,
.feature-block li {
  font-size: var(--fs-sm);
}

.feature-block ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.feature-block li {
  margin-bottom: 0.35rem;
}

.feature-block li::marker {
  color: var(--brand);
}

/* pilastri (icona + testo) */
.pillar {
  text-align: center;
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--brand);
}

.pillar__icon svg {
  width: 26px;
  height: 26px;
}

.pillar h3 {
  font-size: var(--fs-base);
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}

.pillar p {
  font-size: var(--fs-sm);
  margin: 0;
}

.section--dark .pillar__icon {
  background: rgba(255, 255, 255, 0.07);
  color: #ff6b6d;
}

.section--dark .pillar p {
  color: var(--on-dark);
}

/* statistiche */
.stat {
  padding: 1.25rem 0;
}

.stat__value {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.section--dark .stat__value {
  color: #fff;
}

/* team */
.person {
  text-align: center;
}

.person img {
  width: 132px;
  height: 132px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}

.person h3 {
  font-size: var(--fs-base);
  margin-bottom: 0.15rem;
}

.person__role {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* timeline (profilo) */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding-bottom: 1.75rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 6px);
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--surface);
}

.timeline h3 {
  font-size: var(--fs-base);
  margin-bottom: 0.1rem;
}

.timeline__meta {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.timeline p {
  font-size: var(--fs-sm);
  margin: 0;
}

/* accordion */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
}

.accordion__btn:hover {
  color: var(--brand-700);
}

.accordion__sign {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.35em;
}

.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: var(--brand);
  transition: transform 0.22s var(--ease);
}

.accordion__sign::after {
  transform: rotate(90deg);
}

.accordion__btn[aria-expanded="true"] .accordion__sign::after {
  transform: rotate(0deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}

.accordion__panel[data-open="true"] {
  grid-template-rows: 1fr;
}

.accordion__panel > div {
  overflow: hidden;
}

.accordion__panel p {
  padding-bottom: 1.35rem;
  margin: 0;
  max-width: 72ch;
}

/* nota: email e telefono ora sono scritti nell'HTML da build.mjs, quindi non
   serve piu' nasconderli in attesa di main.js. */

/* box informativi */
.info-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--brand);
}

.info-card__icon svg {
  width: 21px;
  height: 21px;
}

.info-card h3 {
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
}

.info-card p,
.info-card a {
  font-size: var(--fs-sm);
  margin: 0;
}

.info-card a {
  font-weight: 600;
}

.callout {
  padding: 1.5rem 1.75rem;
  background: var(--brand-tint);
  border: 1px solid #f6d7d7;
  border-radius: var(--radius);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* banda CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band p {
  max-width: 58ch;
  margin-inline: auto;
  color: #a9b4c2;
}

.cta-band .btn-row {
  justify-content: center;
}

/* breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  opacity: 0.5;
}

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

.breadcrumb a:hover {
  color: var(--brand);
}

/* immagine media */
.media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
}

/* tabella */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

th,
td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}

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

/* 10 — Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  font-size: var(--fs-sm);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 0;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.site-footer h2 {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}

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

.site-footer li {
  margin-bottom: 0.6rem;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  max-width: 34ch;
  color: #8f9aa8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: var(--fs-xs);
  color: #7d8896;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom li {
  margin: 0;
}

/* nota marchi: sotto la riga legale, piu' piccola e meno contrastata */
.footer-legal {
  margin: 0;
  padding-bottom: 1.5rem;
  max-width: 90ch;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: #6d7885;
}

/* 11 — Utility ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-3 {
  margin-top: 2rem;
}

.mb-3 {
  margin-bottom: 2rem;
}

/* animazione d'ingresso — solo se l'utente non ha chiesto meno movimento */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 12 — Stampa ------------------------------------------------------------- */
@media print {
  .site-header,
  .mobile-nav,
  .cta-band,
  .site-footer,
  .skip-link {
    display: none !important;
  }
  body {
    color: #000;
    font-size: 11pt;
  }
  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}
