:root {
  --bg: #0d0f14;
  --bg-card: #161a22;
  --bg-elevated: #1e2430;
  --text: #e8eaef;
  --text-muted: #9aa3b2;
  --accent: #c9a227;
  --accent-hover: #e0b83a;
  --whatsapp: #25d366;
  --border: #2a3140;
  --max-width: 1120px;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.125rem, 4.5vw, 2rem);
  --header-h: 4.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-left: max(var(--gutter), var(--safe-left));
  padding-right: max(var(--gutter), var(--safe-right));
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.65rem;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.logo:hover { text-decoration: none; opacity: 0.95; }
.logo-wrap {
  display: inline-flex;
  align-items: center;
  background: #000;
  border-radius: 8px;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.logo img {
  height: 56px;
  width: auto;
  max-width: min(300px, 68vw);
  object-fit: contain;
  object-position: left center;
}
.logo-footer .logo-wrap {
  padding: 0.3rem 0.65rem;
}
.logo-footer img {
  height: 42px;
  max-width: 240px;
}
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .footer-brand { grid-column: auto; }
}
.nav-toggle {
  display: none;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 1rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent);
}
.nav-sub-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-sub-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
}
.nav-has-sub.is-active .nav-sub-toggle,
.nav-has-sub:hover .nav-sub-toggle,
.nav-has-sub.is-open .nav-sub-toggle {
  color: var(--accent);
}
.nav-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .main-nav > ul { flex-wrap: nowrap; gap: 0.35rem 1rem; }
  .nav-sub {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.4rem 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 120;
  }
  .nav-has-sub:hover .nav-sub,
  .nav-has-sub.is-open .nav-sub {
    display: block;
  }
  .nav-sub a {
    display: block;
    padding: 0.55rem 1rem;
    white-space: nowrap;
  }
  .nav-sub a:hover {
    background: var(--bg-card);
    text-decoration: none;
  }
}

/* Hero */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroBgKenBurns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
@keyframes heroShine {
  0%, 100% { opacity: 0.35; transform: translateX(-8%); }
  50% { opacity: 0.65; transform: translateX(8%); }
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero--cinematic {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: min(78vh, 720px);
  padding: 0;
  overflow: hidden;
  border-bottom: none;
  background: var(--bg);
}
.hero--cinematic.hero--home {
  min-height: min(92vh, 860px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: heroBgKenBurns 14s ease-out forwards;
  will-change: transform;
}
.hero-bg--carousel .hero-bg__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  z-index: 0;
}
.hero-bg--carousel .hero-bg__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-bg--carousel .hero-bg__slide .hero-bg__img {
  animation: heroBgKenBurnsSlow 18s ease-out forwards;
}
.hero-bg--carousel .hero-bg__slide:not(.is-active) .hero-bg__img {
  animation: none;
  transform: scale(1.08);
}
@keyframes heroBgKenBurnsSlow {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg--carousel .hero-bg__slide {
    transition: none;
  }
  .hero-bg--carousel .hero-bg__slide .hero-bg__img {
    animation: none;
  }
}
.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13, 15, 20, 0.92) 0%, rgba(13, 15, 20, 0.55) 42%, rgba(13, 15, 20, 0.2) 100%),
    linear-gradient(to top, rgba(13, 15, 20, 0.98) 0%, rgba(13, 15, 20, 0.5) 45%, transparent 100%);
}
.hero-bg__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(201, 162, 39, 0.08) 50%,
    transparent 70%
  );
  animation: heroShine 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-block: 7rem 3.5rem;
  box-sizing: border-box;
}
.hero--home .hero-inner {
  padding-block: 8.5rem 4rem;
}
.hero--home .hero-content {
  max-width: 42rem;
}
.hero-content { max-width: 42rem; }
.hero-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.hero-badge span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-reveal {
  opacity: 0;
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-reveal--1 { animation-delay: 0.08s; }
.hero-reveal--2 { animation-delay: 0.18s; }
.hero-reveal--3 { animation-delay: 0.28s; }
.hero-reveal--4 { animation-delay: 0.38s; }
.hero-reveal--5 { animation-delay: 0.48s; }
.hero-reveal--6 { animation-delay: 0.58s; }
.hero-reveal--7 { animation-delay: 0.68s; }
.hero-scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}
.hero-scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero--cinematic h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero--cinematic .lead {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero--cinematic p:not(.lead):not(.hours-bar) {
  color: rgba(232, 234, 239, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero--cinematic .hours-bar {
  background: rgba(22, 26, 34, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.hero--cinematic .cta-row .btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
body.has-hero-cinematic .site-header {
  background: linear-gradient(180deg, rgba(13, 15, 20, 0.9) 0%, rgba(13, 15, 20, 0.35) 65%, transparent 100%);
  border-bottom-color: transparent;
}
body.has-hero-cinematic .site-header.is-scrolled {
  background: rgba(13, 15, 20, 0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(10px);
}

.hero--with-logo { padding-top: 2.5rem; }
.hero--with-logo:not(.hero--cinematic) { padding-top: 2.5rem; }
.hero--with-logo .logo-block--hero { margin-bottom: 1.25rem; }
.hero--with-logo .logo-block--hero .logo-wrap {
  padding: 0.5rem 1rem 0.5rem 0.65rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.hero--with-logo .logo-block--hero img {
  height: auto;
  max-height: 88px;
  max-width: min(440px, 92vw);
}
.hero--cinematic.hero--with-logo .logo-block--hero img {
  max-height: 72px;
}
.hero--with-logo .logo-block--section { margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 0.5rem; line-height: 1.15; }
.hero--with-logo:not(.hero--cinematic) h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-top: 0.25rem;
}
.hero .lead {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--accent);
  margin: 0 0 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}
.hero p:not(.lead):not(.hours-bar):not(.hero-badge) {
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 0 1.5rem;
}
.hero-img {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal,
  .hero-bg__img,
  .hero-bg__shine,
  .hero-scroll-hint span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1fb855; color: #fff; }
.btn-primary { background: var(--accent); color: #0d0f14; }
.btn-primary:hover { background: var(--accent-hover); color: #0d0f14; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { padding: 2.75rem 0; }
section + section { border-top: 1px solid var(--border); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0 0 1rem; color: var(--text); }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.prose p:last-child { margin-bottom: 0; }

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card h3 { color: var(--accent); margin-top: 0; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.card a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card a.card-link:hover { text-decoration: none; }
.card a.card-link:hover h3 { color: var(--accent-hover); }
.card--photo { padding: 0; overflow: hidden; }
.card--photo .card-link { display: flex; flex-direction: column; height: 100%; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.card-img__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card--photo .card-link:hover .card-img__el { transform: scale(1.04); }
.card--photo .card-body { padding: 1.25rem 1.35rem 1.35rem; flex: 1; }

/* Brand band */
.brand-band {
  padding: 2.5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}
.brand-band-text { flex: 1 1 220px; }
.brand-band-text p { margin: 0 0 0.35rem; color: var(--text-muted); font-size: 0.95rem; }
.brand-band-text strong { color: var(--text); }
.brand-band .cta-row { margin: 0; flex-shrink: 0; }
/* Tesseramento — widget CRM esterno */
.crm-section {
  padding: 0 0 3rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}
.crm-section-head {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}
.crm-section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}
.crm-section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.crm-section-head .cta-row {
  display: inline-flex;
  margin-top: 0.75rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}
.crm-embed-card {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  background: #eef0f4;
  border-radius: 16px;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.crm-embed-wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 520px;
  background: #eef0f4;
  border-radius: 12px;
  overflow: hidden;
}
.crm-embed-wrap iframe {
  width: 100% !important;
  max-width: 100%;
  min-width: min(100%, 320px);
  min-height: 520px;
  height: 720px;
  border: none;
  display: block;
  margin: 0 auto;
  background: #eef0f4;
}
.crm-section-note {
  text-align: center;
  margin: 1.25rem auto 0;
  max-width: 50ch;
  font-size: 0.9rem;
  color: var(--text-muted);
}
@media (min-width: 900px) {
  .crm-embed-wrap iframe {
    min-height: 640px;
  }
}

/* Media block (foto secondarie pagine servizio) */
.media { padding: 0; border-top: none; }
.media + section,
.media + .media { border-top: 1px solid var(--border); }
.media-inner { padding: 0; }
.media__figure {
  margin: 0;
  line-height: 0;
}
.media__img {
  width: 100%;
  max-height: min(70vh, 640px);
  object-fit: cover;
  display: block;
}

/* FAQ */
.faq-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

/* ASD box */
.asd-box {
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.asd-box strong { color: var(--accent); }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  margin: 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
body.has-hero-cinematic .breadcrumb {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  box-sizing: border-box;
  background: rgba(13, 15, 20, 0.88);
  border-bottom: 1px solid var(--border);
}

main {
  display: block;
  width: 100%;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-card .body { padding: 1.25rem; }
.blog-card h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.blog-card h2 a { color: var(--text); text-decoration: none; }
.blog-card h2 a:hover { color: var(--accent); }
.blog-card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.blog-card--photo .blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.blog-card--photo .blog-card-link:hover h2 { color: var(--accent); }
.blog-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.blog-card-img__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.blog-card--photo .blog-card-link:hover .blog-card-img__el { transform: scale(1.04); }

.internal-links {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
}
.internal-links h3 { margin-top: 0; font-size: 1rem; color: var(--accent); }
.internal-links ul { margin: 0; padding-left: 1.25rem; }
.internal-links li { margin-bottom: 0.35rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.contact-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.contact-block h3 { margin-top: 0; color: var(--accent); }

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--text-muted); }
.site-footer p { color: var(--text-muted); margin: 0 0 0.5rem; }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: calc(1rem + var(--safe-bottom));
  right: calc(1rem + var(--safe-right));
  z-index: 90;
  background: var(--whatsapp);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  text-decoration: none;
}
.wa-float .wa-icon {
  width: 30px;
  height: 30px;
  display: block;
}
.wa-float:hover { background: #1fb855; color: #fff; text-decoration: none; }

/* CRM embed */

/* Hours bar */
.hours-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ——— Responsive: tablet e mobile ——— */
@media (max-width: 899px) {
  :root {
    --header-h: 3.75rem;
    --gutter: 1.35rem;
  }
  body {
    font-size: 1rem;
  }
  .logo img {
    height: 44px;
    max-width: min(200px, 52vw);
  }
  .logo-wrap {
    padding: 0.25rem 0.5rem 0.25rem 0.35rem;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1rem;
    max-height: min(70dvh, calc(100dvh - var(--header-h)));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .main-nav > ul > li > a,
  .nav-sub-toggle {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.25rem;
    font-size: 1rem;
  }
  .nav-sub-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }
  .nav-sub {
    display: none;
    padding: 0.15rem 0 0.5rem 0.85rem;
    border-left: 2px solid var(--border);
    margin: 0 0 0.35rem;
  }
  .nav-has-sub.is-open .nav-sub {
    display: block;
  }
  .nav-sub a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0.35rem 0;
    font-size: 0.95rem;
  }
  .nav-sub li {
    margin-bottom: 0.15rem;
  }
  body.has-hero-cinematic .site-header {
    background: rgba(13, 15, 20, 0.96);
    border-bottom-color: var(--border);
  }
  body.has-hero-cinematic .site-header.is-scrolled,
  body.has-hero-cinematic .site-header:has(.main-nav.is-open) {
    background: rgba(13, 15, 20, 0.98);
  }

  /* Hero mobile */
  .hero--cinematic {
    min-height: min(78dvh, 680px);
    align-items: stretch;
    padding-bottom: 1.25rem;
  }
  .hero--cinematic.hero--home {
    min-height: min(85dvh, 740px);
  }
  .hero-bg__overlay {
    background:
      linear-gradient(180deg, rgba(13, 15, 20, 0.55) 0%, rgba(13, 15, 20, 0.82) 38%, rgba(13, 15, 20, 0.97) 72%, rgba(13, 15, 20, 1) 100%);
  }
  .hero-bg__img {
    object-position: center 30%;
  }
  .hero-inner {
    padding-block: 4.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    min-height: inherit;
  }
  .hero--home .hero-inner {
    padding-block: 4rem 0.5rem;
  }
  .hero-content {
    max-width: none;
    background: linear-gradient(
      180deg,
      rgba(13, 15, 20, 0.78) 0%,
      rgba(13, 15, 20, 0.96) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.35rem 1.2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .hero--cinematic h1 {
    font-size: clamp(1.5rem, 6.8vw, 2.1rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
  }
  .hero--cinematic .lead {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
    margin-bottom: 0.75rem;
  }
  .hero--with-logo .logo-block--hero {
    margin-bottom: 0.85rem;
  }
  .hero--with-logo .logo-block--hero .logo-wrap {
    padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  }
  .hero--with-logo .logo-block--hero img,
  .hero--cinematic.hero--with-logo .logo-block--hero img {
    max-height: 52px;
    max-width: min(240px, 78vw);
  }
  .hero-badge {
    margin-bottom: 1rem;
    gap: 0.4rem;
  }
  .hero-badge span {
    font-size: 0.68rem;
    padding: 0.32rem 0.65rem;
  }
  .hero-scroll-hint {
    display: none;
  }
  .hero p:not(.lead):not(.hours-bar):not(.hero-badge) {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }
  .hero--cinematic .hours-bar {
    font-size: 0.86rem;
    padding: 0.9rem 1rem;
    margin: 0.85rem 0 0;
    line-height: 1.45;
  }
  .hero--cinematic .cta-row {
    gap: 0.6rem;
    margin-top: 0.25rem;
  }
  .hero--cinematic .cta-row .btn {
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
  }

  /* CTA nelle sezioni (non hero a tutto schermo) */
  .prose .cta-row,
  .brand-band .cta-row,
  .crm-section-head .cta-row {
    flex-direction: column;
    gap: 0.65rem;
  }
  .prose .cta-row .btn,
  .brand-band .cta-row .btn {
    width: 100%;
    max-width: 100%;
  }
  .hero--cinematic .cta-row .btn {
    width: 100%;
    max-width: 100%;
  }
  .brand-band-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .brand-band .logo-block {
    display: flex;
    justify-content: center;
  }
  .brand-band .cta-row {
    justify-content: stretch;
  }

  /* Sezioni e griglie */
  section {
    padding: 2rem 0;
  }
  h2 {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-top: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .breadcrumb {
    font-size: 0.8rem;
    padding-block: 0.85rem;
    line-height: 1.5;
    word-break: break-word;
  }
  body.has-hero-cinematic .breadcrumb {
    padding-block: 0.75rem 0.65rem;
  }
  .faq-item summary {
    padding: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .faq-item p {
    padding: 0 1rem 1rem;
    font-size: 0.95rem;
  }
  .internal-links {
    padding: 1rem 1.15rem;
    margin: 1.5rem 0;
  }
  .asd-box {
    padding: 1rem 1.15rem;
    margin: 1.5rem 0;
  }
  .media__img {
    max-height: min(50svh, 360px);
  }
  .crm-embed-wrap {
    min-height: 420px;
  }
  .crm-embed-wrap iframe {
    min-height: 420px;
    height: 560px;
  }
  .crm-section-head .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .crm-section-head .cta-row .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: min(100%, 200px);
  }
  .wa-float {
    width: 52px;
    height: 52px;
    bottom: calc(0.85rem + var(--safe-bottom));
    right: calc(0.85rem + var(--safe-right));
  }
  .wa-float .wa-icon {
    width: 26px;
    height: 26px;
  }
  main {
    padding-bottom: calc(4.5rem + var(--safe-bottom));
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cta-row .btn {
    width: auto;
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }
}

@media (max-width: 380px) {
  :root {
    --gutter: 1.15rem;
  }
  .hero-content {
    padding: 1.2rem 1.05rem 1.35rem;
  }
  .hero-badge {
    gap: 0.35rem;
  }
  .hero-badge span {
    font-size: 0.65rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .main-nav > ul {
    gap: 0.35rem 0.65rem;
  }
  .main-nav a,
  .nav-sub-toggle {
    font-size: 0.85rem;
  }
}
