/* ==========================================================================
   Music Village Group — style.css
   Palette: notte da palco (60) · superfici viola scuro (30) · magenta logo (10, solo CTA)
   ========================================================================== */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('../fonts/playfairdisplay-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/playfairdisplay-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-normal.woff2') format('woff2'); }

:root {
  /* palette */
  --bg: #0f0b17;
  --bg-alt: #171125;
  --surface: #1e1730;
  --surface-2: #261d3c;
  --line: rgba(255, 255, 255, .1);
  --ink: #f5f1ea;
  --text: #ddd6e6;
  --muted: #b8afc7;
  --gold: #e5c48f;
  --accent: #d6245f;
  --accent-dark: #b81d50;
  --link: #ff6f9b;
  --rainbow: linear-gradient(90deg, #ff8a00, #ffd400, #3fd06b, #19b8f0, #8f4bff, #ff2e8a);
  /* tipografia */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* sistema */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .25);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .5);
  --glow: 0 10px 30px rgba(214, 36, 95, .35);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
:root { color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); }
p { margin: 0 0 1.1em; }
em.hl, h1 em, h2 em { font-style: italic; font-weight: 600; background: linear-gradient(90deg, #ffb347, #ff5c8f 55%, #b77bff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
ul { padding-left: 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* utility */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--rainbow); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text); max-width: 620px; }
.rainbow-line { height: 4px; background: var(--rainbow); border: 0; margin: 0; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s; font-family: var(--font-body); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: var(--ink); background: rgba(255, 255, 255, .04); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- topbar + header ---------- */
.topbar { background: #08060d; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--text); }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; gap: 7px; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(15, 11, 23, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(15, 11, 23, .92); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.nav-brand img { width: 94px; height: auto; transition: transform .3s var(--ease); }
.nav-brand:hover img { transform: rotate(-4deg) scale(1.04); }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 14px; color: var(--text); font-weight: 500; font-size: .97rem; border-radius: 10px; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--link); border-radius: 10px 10px 4px 4px; }
.nav-menu .nav-cta { margin-left: 10px; }
.nav-menu .nav-cta .btn { padding: 11px 22px; color: #fff; background: var(--accent); box-shadow: none; }
.nav-menu .nav-cta .btn:hover { background: var(--accent-dark); }

/* --- menu mobile (da templates/menu.css) --- */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 89; background: rgba(0, 0, 0, .6); border: 0; padding: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .38s var(--ease), visibility 0s linear .38s; }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  /* il pannello chiuso sta fuori schermo: il contenitore fisso lo ritaglia,
     altrimenti allarga la pagina su mobile (layout a 697px invece di 375) */
  .site-header nav { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 91; }
  .nav-menu { pointer-events: auto; position: absolute; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--bg-alt); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 100px 26px 40px; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; border-left: 1px solid var(--line); }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--link); border-radius: 4px 12px 12px 4px; }
  .nav-menu .nav-cta { margin: 14px 0 0; }
  .nav-menu .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { position: relative; z-index: 95; }
}

/* ---------- hero home ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 80px 0 120px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15, 11, 23, .95) 0%, rgba(15, 11, 23, .8) 42%, rgba(15, 11, 23, .35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-content { max-width: 760px; }
.hero h1 { margin-bottom: .35em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 44px; align-items: center; color: var(--muted); font-size: .95rem; }
.hero-proof strong { color: var(--ink); font-size: 1.05rem; }
.stars { color: #ffc93c; letter-spacing: 2px; font-size: 1.05rem; }
.proof-item { display: flex; align-items: center; gap: 10px; }
.proof-sep { width: 1px; height: 28px; background: var(--line); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* marquee servizi */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #0a0711; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .8em; color: var(--link); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- card features ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; display: flex; flex-direction: column; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255, 111, 155, .4); box-shadow: var(--shadow-md); }
.feature-card .card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.feature-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-card:hover .card-img img { transform: scale(1.06); }
.feature-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.feature-body p { color: var(--muted); }
.feature-body .link-arrow { margin-top: auto; }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: -55px 0 18px; position: relative; background: var(--surface-2); border: 1px solid var(--line); color: var(--link); box-shadow: var(--shadow-sm); }
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-media { position: relative; }
.split-media .main-img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media .float-img { position: absolute; width: 46%; right: -6%; bottom: -8%; border-radius: var(--radius); border: 5px solid var(--bg); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.split-media::before { content: ""; position: absolute; inset: -14px auto auto -14px; width: 120px; height: 120px; border-radius: 22px; background: var(--rainbow); opacity: .9; z-index: -1; filter: blur(.5px); }
.split-media .badge-years { position: absolute; left: -18px; bottom: 34px; background: var(--accent); color: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--glow); line-height: 1.1; text-align: center; }
.badge-years strong { display: block; font-family: var(--font-display); font-size: 2.4rem; }
.badge-years span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- servizi (home preview + pagina) ---------- */
.service-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 7, 17, .95) 0%, rgba(10, 7, 17, .25) 60%, transparent); }
.tile:hover img { transform: scale(1.07); }
.tile-body { padding: 24px; }
.tile-body h3 { margin-bottom: 6px; color: #fff; }
.tile-body p { font-size: .94rem; color: #ddd6e6; margin: 0; }
.tile-tag { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
a.tile:hover { color: #fff; }

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-md); }
.service-num { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--link); margin-bottom: 8px; display: block; }
.service-text ul { color: var(--muted); margin: 0 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 15px; font-size: .9rem; color: var(--text); }

/* ---------- numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 34px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; background: linear-gradient(90deg, #ffb347, #ff5c8f); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- recensioni ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.rating-box { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.rating-box .g { width: 34px; height: 34px; }
.rating-box strong { color: var(--ink); display: block; font-size: 1.05rem; }
.rating-box small { color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.review blockquote { margin: 0; color: var(--text); font-size: 1.02rem; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.review figcaption strong { color: var(--ink); display: block; font-size: .97rem; }
.review figcaption small { color: var(--muted); font-size: .82rem; }

/* ---------- galleria ---------- */
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; position: relative; display: block; cursor: zoom-in; background: var(--surface); border: 0; padding: 0; width: 100%; }
.gallery-item img { width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; color: #fff; font-size: .9rem; background: linear-gradient(0deg, rgba(10, 7, 17, .9), transparent); opacity: 0; transform: translateY(8px); transition: .35s var(--ease); text-align: left; }
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.strip img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; width: 100%; }

.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; color: #fff; aspect-ratio: 16 / 9; isolation: isolate; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.video-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 7, 17, .9), rgba(10, 7, 17, .2)); }
.video-card:hover img { transform: scale(1.05); }
.video-card:hover { color: #fff; }
.play { position: absolute; top: 50%; left: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(214, 36, 95, .25); transition: transform .3s var(--ease); }
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-card:hover .play { transform: scale(1.1); }
.video-card .video-meta { position: absolute; left: 24px; bottom: 20px; right: 24px; }
.video-meta strong { display: block; font-family: var(--font-display); font-size: 1.35rem; }
.video-meta small { color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(5, 3, 9, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 84vh; width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); margin: 0; padding: 0 70px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -25px; }
.lb-next { right: 20px; top: 50%; margin-top: -25px; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s; }
.post-card:hover { transform: translateY(-6px); border-color: rgba(255, 111, 155, .4); }
.post-card .card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .card-img img { transform: scale(1.05); }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--link); }
.post-body p { color: var(--muted); font-size: .97rem; }
.post-body .link-arrow { margin-top: auto; }

.article { max-width: 780px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); margin: 0 0 44px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul li { margin-bottom: .5em; }
.article ul li strong { color: var(--ink); }
.answer-box { background: var(--surface); border-left: 4px solid var(--link); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 0 0 34px; font-size: 1.08rem; }
.answer-box p:last-child { margin: 0; }
.article-cta { margin-top: 50px; padding: 36px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #2a1440, #3a1230); border: 1px solid var(--line); text-align: center; }
.article-cta h2 { margin-top: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--link); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); }

/* ---------- page hero (interne) ---------- */
.page-hero { position: relative; padding: clamp(90px, 13vw, 150px) 0 clamp(60px, 8vw, 90px); overflow: hidden; isolation: isolate; }
.page-hero .hero-media img { animation: none; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(15, 11, 23, .78) 45%, rgba(15, 11, 23, .7) 100%); }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 900px; }
.page-hero .lead { max-width: 680px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(44px, 7vw, 80px); isolation: isolate; text-align: center; }
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(42, 16, 70, .93), rgba(120, 16, 64, .88)); }
.cta-banner h2 { max-width: 760px; margin: 0 auto .4em; }
.cta-banner p { max-width: 600px; margin: 0 auto 30px; color: #eee6f3; }
.cta-banner .hero-cta { justify-content: center; margin-top: 0; }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; color: var(--text); transition: border-color .3s, transform .3s var(--ease); }
a.contact-card:hover { border-color: rgba(255, 111, 155, .5); transform: translateX(4px); color: var(--text); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--link); flex-shrink: 0; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-card strong { color: var(--ink); font-weight: 600; word-break: break-word; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); }
.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: .9rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8afc7' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(255, 111, 155, .2); }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); grid-column: 1 / -1; }
.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--gold); min-height: 1.4em; font-size: .95rem; }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-wa:hover { background: #18773f; color: #fff; transform: translateY(-2px); }
.map-card { margin-top: 16px; border-radius: var(--radius); overflow: hidden; position: relative; display: block; aspect-ratio: 16 / 8; isolation: isolate; color: #fff; }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.6); }
.map-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 11, 23, .7); }
.map-card span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-align: center; padding: 16px; }
.map-card:hover { color: #fff; }
.map-card:hover::after { background: rgba(120, 16, 64, .7); }

/* ---------- testo legale ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: #08060d; padding: 80px 0 0; font-size: .96rem; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--rainbow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: #fff; }
.footer-col p { color: var(--muted); }
.footer-logo { width: 130px; height: auto; margin-bottom: 18px; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.footer-contacts svg { width: 17px; height: 17px; color: var(--link); flex-shrink: 0; margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .footer-credit a { color: var(--gold); }

/* pulsante chiamata mobile */
.call-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: none; place-items: center; box-shadow: var(--glow); }
.call-fab svg { width: 24px; height: 24px; }
.call-fab:hover { color: #fff; }

/* reveal (con fallback: senza JS resta visibile) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .service-row, .contact-grid { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .split-media { max-width: 560px; margin: 0 auto 30px; }
  .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .topbar-hide { display: none !important; }
  .call-fab { display: grid; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip img:nth-child(n+4) { display: none; }
}
@media (max-width: 768px) {
  .videos { grid-template-columns: 1fr; }
  .blog-grid, .reviews { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 70px 0 90px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(15, 11, 23, .82) 40%, rgba(15, 11, 23, .7) 100%); }
  .proof-sep { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-tiles { grid-template-columns: 1fr; }
  .split-media .float-img { right: -2%; }
  .split-media .badge-years { left: -6px; }
  .hero-cta .btn { width: 100%; }
  .topbar .container { justify-content: center; }
  .nav-brand img { width: 70px; }
  :root { --nav-h: 74px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
