/* ============================================================
   MARIA DAL ROVERE — mariadalrovere.com
   Identità: blu notte · antracite · oro #C8A46A · bianco caldo
   Font: Lexend (titoli) · DM Sans (testi) · Playfair italic (accenti)
   Parallax selettivo (max 3 passaggi) · bilingue IT/EN
   ============================================================ */

:root {
  --night: #0F172A;        /* blu notte */
  --night-2: #16203a;
  --anthracite: #2F3B40;
  --gold: #C8A46A;
  --gold-light: #DDBE8C;
  --warm-white: #F7F4EF;   /* bianco caldo */
  --ink: #1E293B;
  --muted: #6B7280;
  --font-title: 'Lexend', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--night); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), 92%); margin: 0 auto; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; }
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.section-title { font-size: clamp(30px, 4vw, 50px); margin-bottom: 22px; }
.section-title em { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--gold-light); }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 720px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10, 13, 25, .85);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  transition: padding .4s ease, box-shadow .4s ease;
}
.site-header.scrolled { padding: 8px 0; box-shadow: 0 1px 0 rgba(200,164,106,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-name {
  font-family: var(--font-title); font-weight: 600; font-size: 15px;
  letter-spacing: .28em; text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a.nav-link {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(247,244,239,.85); position: relative; padding: 4px 0;
}
.main-nav a.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s ease;
}
.main-nav a.nav-link:hover::after { width: 100%; }
.lang-switch { display: flex; gap: 8px; align-items: center; border: 1px solid rgba(200,164,106,.45); padding: 5px 10px; border-radius: 4px; }
.lang-btn {
  background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 11px; letter-spacing: .12em;
  font-family: var(--font-title); font-weight: 600; padding: 2px 4px;
  transition: color .3s;
}
.lang-btn svg { width: 18px; height: 12px; border-radius: 2px; display: block; }
.lang-btn.active { color: var(--gold-light); }
.lang-btn:not(.active) { opacity: .55; }
.lang-btn:not(.active):hover { opacity: 1; }
.burger { display: none; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--warm-white); margin: 6px 0; transition: .3s; }

/* ---------- HERO: ritratto + parallax ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #d9d4cc;
}
.hero-media {
  position: absolute; inset: -10% 0; z-index: 0;
  background-image: url('../assets/img/hero-maria.jpg');
  background-size: cover;
  background-position: 72% 30%;
  will-change: transform;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,23,42,.62) 0%, rgba(15,23,42,.32) 38%, rgba(15,23,42,0) 62%),
    linear-gradient(180deg, rgba(15,23,42,.3) 0%, transparent 30%, rgba(15,23,42,.55) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 90px; max-width: 720px; }
.hero h1 {
  font-size: clamp(42px, 6.5vw, 84px);
  letter-spacing: .02em;
  margin: 16px 0 20px;
  text-shadow: 0 4px 40px rgba(15,23,42,.5);
}
.hero h1 .line { display: block; }
.hero h1 .accent {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  color: var(--gold-light);
}
.hero .role {
  font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 14px rgba(15,23,42,.85), 0 0 4px rgba(15,23,42,.6);
}
.hero p { max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(247,244,239,.92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-title); font-weight: 600;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all .35s ease;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { color: var(--warm-white); border-color: rgba(247,244,239,.45); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
/* Variante ghost per fondi chiari */
.btn-ghost.btn-dark { color: var(--anthracite); border-color: rgba(47,59,64,.45); }
.btn-ghost.btn-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Sezioni ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-light { background: var(--warm-white); color: var(--ink); }
.section-light .lead { color: #45525f; }
.section-light .section-title { color: var(--night); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- MARIA DAL VIVO (showreel) ---------- */
.live-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.video-frame {
  position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,23,42,.35);
  aspect-ratio: 16/9; background: var(--night);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.live-text .big-quote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px); color: var(--night);
  line-height: 1.4; margin-bottom: 20px;
}
.live-text p { color: #45525f; margin-bottom: 16px; }

/* ---------- DUE PERCORSI (equivalenti) ---------- */
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 56px; }
.path-card {
  position: relative; overflow: hidden; border-radius: 8px;
  min-height: 520px; display: flex; align-items: flex-end;
  isolation: isolate;
}
.path-card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.path-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,23,42,.15) 30%, rgba(15,23,42,.95) 100%);
}
.path-card:hover img { transform: scale(1.05); }
.path-body { padding: 42px; }
.path-body .tag {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light);
}
.path-body h3 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 12px; }
.path-body p { font-size: 16px; color: rgba(247,244,239,.88); margin-bottom: 22px; max-width: 420px; }
.path-link {
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-light); display: inline-flex; align-items: center; gap: 8px;
}
.path-link::after { content: '→'; transition: transform .3s; }
.path-card:hover .path-link::after { transform: translateX(6px); }

/* ---------- PROGETTI SELEZIONATI ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.project-card {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 3/4; display: flex; align-items: flex-end; isolation: isolate;
}
.project-card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1s cubic-bezier(.16,1,.3,1);
}
.project-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(15,23,42,.98) 60%);
}
.project-body { position: relative; z-index: 1; width: 100%; }
.project-body h3 { color: var(--warm-white); text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.project-body p { text-shadow: 0 1px 6px rgba(0,0,0,.9); font-weight: 500; }
.project-card:hover img { transform: scale(1.06); }
.project-body { padding: 24px; }
.project-body h3 { font-size: 21px; margin-bottom: 6px; }
.project-body p { font-size: 13px; color: rgba(247,244,239,.85); }

/* ---------- EVENTI SU MISURA (categorie) ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.cat-card {
  background: #fff;
  border: 1px solid rgba(47,59,64,.12);
  border-radius: 8px; padding: 34px 30px;
  transition: all .35s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15,23,42,.12); border-color: var(--gold); }
.cat-icon {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.cat-icon svg { width: 24px; height: 24px; }
.cat-card h3 { font-size: 20px; color: var(--night); margin-bottom: 8px; }
.cat-card p { font-size: 14.5px; color: #55616e; }

/* ---------- PARALLAX BAND (unico passaggio centrale) ---------- */
.parallax-band {
  position: relative; min-height: 72vh;
  display: flex; align-items: center;
  background-attachment: fixed;
  background-position: center 30%;
  background-size: cover;
  background-image: url('../assets/img/slides/MDR_all_alba_sul_mare_web.jpg');
}
.parallax-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.45), rgba(15,23,42,.65));
}
.parallax-band .container { position: relative; z-index: 1; }
.parallax-band blockquote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(26px, 3.4vw, 44px);
  max-width: 860px; line-height: 1.35;
}
.parallax-band cite {
  display: block; margin-top: 24px; font-family: var(--font-title); font-style: normal;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light);
}

/* ---------- CAROSELLO ---------- */
.carousel { position: relative; margin-top: 52px; }
.carousel-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 100%; scroll-snap-align: center;
  border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; position: relative;
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 10px; }
.carousel-nav button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(200,164,106,.6); background: none; color: var(--gold);
  font-size: 18px; cursor: pointer; transition: all .3s;
}
.carousel-nav button:hover { background: var(--gold); color: var(--night); }

/* ---------- SOCIAL PROOF ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.proof-card {
  background: #fff; border: 1px solid rgba(47,59,64,.12);
  border-radius: 8px; padding: 32px;
}
.proof-card .stars { color: var(--gold); letter-spacing: 4px; font-size: 15px; margin-bottom: 14px; }
.proof-card p { font-size: 15px; color: #45525f; font-style: italic; }
.proof-card footer { margin-top: 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.proof-badge {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--gold); border-radius: 100px; padding: 12px 28px;
  font-size: 13px; letter-spacing: .1em; color: var(--night);
}

/* ---------- CHI È MARIA ---------- */
.maria-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.maria-photo { position: relative; }
.maria-photo::before {
  content: ''; position: absolute; inset: 20px -20px -20px 20px;
  border: 1px solid var(--gold); border-radius: 8px; z-index: -1;
}
.maria-photo img { border-radius: 8px; }
.maria-text p { color: #45525f; margin-bottom: 18px; }
.maria-text .signature {
  font-family: var(--font-accent); font-style: italic;
  font-size: 26px; color: var(--gold); margin-top: 10px;
}

/* ---------- ACIB BAND ---------- */
.acib-band { background: var(--night); }
.acib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.acib-text h3 { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.acib-text p { color: rgba(247,244,239,.8); font-size: 16px; margin-bottom: 24px; }
.acib-logo-box {
  text-align: center; padding: 40px;
  border: 1px solid rgba(200,164,106,.3); border-radius: 8px;
}
.acib-logo-box .acib-name {
  font-family: var(--font-title); font-weight: 600; letter-spacing: .3em;
  font-size: clamp(22px, 2.4vw, 30px); color: var(--warm-white);
}
.acib-logo-box .acib-name span { color: var(--gold); }
.acib-logo-box p { font-family: var(--font-accent); font-style: italic; color: var(--gold-light); margin: 10px 0 24px; }

/* ---------- CTA FINALE ---------- */
.cta-final { text-align: center; background: var(--night-2); }
.cta-final .section-title { max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-final .lead { margin: 0 auto; color: rgba(247,244,239,.8); }
.cta-duo { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.cta-contacts { margin-top: 36px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; color: rgba(247,244,239,.6); font-size: 15px; }
.cta-contacts a { color: var(--warm-white); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.cta-contacts a:hover { color: var(--gold-light); }

/* ---------- FOOTER ---------- */
.site-footer { background: #0A0D19; padding: 70px 0 34px; }
.footer-cta { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.footer-cta h3 {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3vw, 38px); color: var(--gold-light); margin-bottom: 14px;
}
.footer-cta p { color: rgba(247,244,239,.75); margin-bottom: 26px; }
.footer-cta .btn-gold { background: var(--gold); }
.footer-cta .mail { display: block; margin-top: 22px; font-size: 17px; color: var(--warm-white); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-top: 50px; border-top: 1px solid rgba(200,164,106,.2);
}
.footer-grid img.footer-logo { height: 56px; margin-bottom: 18px; }
.footer-grid p { font-size: 14px; color: rgba(247,244,239,.8); max-width: 340px; }
.footer-grid h4 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a { font-size: 14px; color: rgba(247,244,239,.8); }
.footer-grid li a:hover { color: var(--gold-light); }
.socials { display: flex; gap: 14px; margin-top: 18px; justify-content: center; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(200,164,106,.45);
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.socials a svg { width: 17px; height: 17px; fill: var(--warm-white); transition: fill .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.socials a:hover svg { fill: var(--night); }
.footer-follow { text-align: center; margin-top: 40px; }
.footer-follow .follow-label {
  font-family: var(--font-accent); font-style: italic; color: var(--gold-light);
  display: block; margin-bottom: 14px; font-size: 18px;
}
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(247,244,239,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(247,244,239,.5);
}
.footer-bottom a { color: var(--gold-light); margin-right: 20px; }

/* ---------- Responsive ---------- */
.mobile-nav {
  display: none;
}
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .mobile-nav {
    position: fixed; inset: 0; z-index: 99; background: rgba(10,13,25,.98);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav a { font-family: var(--font-title); font-size: 24px; letter-spacing: .1em; text-transform: uppercase; }
  .live-grid, .paths-grid, .maria-grid, .acib-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof-grid, .cats-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .path-card { min-height: 420px; }
  .parallax-band { background-attachment: scroll; }
  .hero-media { background-position: 65% 30%; }
  .brand-name { display: none; }
}
@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; }
  .carousel-item { flex-basis: 85vw; }
}

/* ============================================================
   PAGINE INTERNE — hero di pagina, schede progetto, metodo
   ============================================================ */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  background: var(--night);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(200,164,106,.16), transparent 55%),
    linear-gradient(180deg, rgba(15,23,42,.6), rgba(15,23,42,0) 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 68px); max-width: 860px; }
.page-hero .lead { color: rgba(247,244,239,.85); margin-top: 18px; }

/* Schede progetto dettagliate */
.proj-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px);
  align-items: center; padding: clamp(50px, 6vw, 90px) 0;
}
.proj-detail + .proj-detail { border-top: 1px solid rgba(47,59,64,.14); }
.proj-detail.flip .proj-media { order: 2; }
.proj-media {
  position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(15,23,42,.28);
}
.proj-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.proj-info .tag {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.proj-info h2 { font-size: clamp(26px, 3vw, 38px); color: var(--night); margin: 10px 0 16px; }
.proj-info p { color: #45525f; margin-bottom: 16px; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.meta-chips span {
  font-size: 12px; letter-spacing: .08em; padding: 7px 16px;
  border: 1px solid rgba(200,164,106,.6); border-radius: 100px; color: var(--anthracite);
}

/* Metodo di lavoro (3 passi) */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.step-card {
  background: #fff; border: 1px solid rgba(47,59,64,.12);
  border-radius: 8px; padding: 36px 30px; position: relative;
}
.step-num {
  font-family: var(--font-accent); font-style: italic; font-size: 46px;
  color: var(--gold); line-height: 1; margin-bottom: 16px;
}
.step-card h3 { font-size: 20px; color: var(--night); margin-bottom: 10px; }
.step-card p { font-size: 15px; color: #55616e; }

/* Venue / credibility chips */
.venue-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.venue-chips span, .venue-chips a {
  font-size: 13px; padding: 10px 20px; border-radius: 100px;
  background: rgba(200,164,106,.12); border: 1px solid rgba(200,164,106,.35);
  color: var(--anthracite);
}
.venue-chips a { transition: all .3s; }
.venue-chips a:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(200,164,106,.22); transform: translateY(-2px);
}

/* Formazioni */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 20px; margin-top: 52px; }
.form-card {
  border: 1px solid rgba(47,59,64,.14); border-radius: 8px; padding: 30px 24px;
  background: #fff; text-align: center; transition: all .3s;
}
.form-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(15,23,42,.1); }
.form-card .fnum { font-family: var(--font-accent); font-style: italic; font-size: 30px; color: var(--gold); }
.form-card h3 { font-size: 18px; color: var(--night); margin: 10px 0 8px; }
.form-card p { font-size: 14px; color: #55616e; }

/* Press kit downloads */
.dl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.dl-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid rgba(47,59,64,.14); border-radius: 8px;
  padding: 20px 24px; transition: all .3s;
}
.dl-item:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15,23,42,.1); }
.dl-item .dl-name { font-family: var(--font-title); font-weight: 600; font-size: 15px; color: var(--night); }
.dl-item .dl-type { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: .06em; }
.dl-item .dl-btn {
  flex-shrink: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 100px;
  padding: 9px 18px; font-family: var(--font-title); font-weight: 600;
}
.dl-item:hover .dl-btn { background: var(--gold); color: var(--night); }

/* Biografia lunga */
.bio-columns { columns: 2; column-gap: 50px; color: #45525f; }
.bio-columns p { margin-bottom: 16px; break-inside: avoid; }
@media (max-width: 900px) { .bio-columns { columns: 1; } .dl-list { grid-template-columns: 1fr; } }

/* Form contatti */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 5vw, 80px); margin-top: 50px; }
.contact-form { background: #fff; border: 1px solid rgba(47,59,64,.14); border-radius: 8px; padding: 40px; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-family: var(--font-title); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--anthracite); margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: var(--font-body);
  border: 1px solid rgba(47,59,64,.25); border-radius: 6px; background: var(--warm-white);
  color: var(--ink); transition: border-color .3s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-success {
  display: none; background: rgba(200,164,106,.14); border: 1px solid var(--gold);
  border-radius: 6px; padding: 16px 20px; margin-bottom: 20px; color: var(--night);
}
.contact-side h3 { font-size: 22px; margin-bottom: 14px; }
.contact-side .c-block { margin-bottom: 28px; }
.contact-side .c-label {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.contact-side a, .contact-side p { font-size: 17px; color: #45525f; }
.contact-side a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
}

/* Timeline biografia */
.timeline { margin-top: 50px; border-left: 1px solid rgba(200,164,106,.5); padding-left: 34px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: ''; position: absolute; left: -39.5px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
}
.tl-item .tl-year { font-family: var(--font-accent); font-style: italic; font-size: 20px; color: var(--gold); }
.tl-item h3 { font-size: 19px; color: var(--night); margin: 4px 0 6px; }
.tl-item p { font-size: 15px; color: #55616e; }

/* Striscia video commerciale (identità eventi/wedding nei primi 10 secondi) */
.video-band {
  position: relative; min-height: 66vh; display: flex; align-items: center;
  overflow: hidden;
}
.video-band video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.video-band::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,23,42,.85) 0%, rgba(15,23,42,.45) 45%, rgba(15,23,42,.15) 75%);
}
.video-band .container { position: relative; z-index: 2; }
.video-band h2 {
  font-size: clamp(30px, 4.4vw, 56px); max-width: 720px; margin: 12px 0 18px;
  text-shadow: 0 4px 30px rgba(15,23,42,.5);
}
.video-band p { max-width: 540px; color: rgba(255,255,255,.96); font-size: clamp(16px, 1.4vw, 19px); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.video-band .btn { margin-top: 28px; }

/* Formazioni con immagini */
a.form-card { display: block; text-align: left; padding: 0; overflow: hidden; }
a.form-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
a.form-card .form-body { padding: 24px; }
a.form-card:hover { text-decoration: none; }

/* Categorie evento con immagini */
a.cat-card { display: block; padding: 0; overflow: hidden; }
a.cat-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
a.cat-card .cat-body { padding: 26px 28px; }
a.cat-card:hover { text-decoration: none; }

/* Checklist servizio (da landing) */
.svc-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.svc-check {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid rgba(47,59,64,.12); border-radius: 8px;
  padding: 18px 22px; font-size: 15px; color: #45525f;
}
.svc-check::before {
  content: '✓'; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--night);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
@media (max-width: 900px) { .svc-checklist { grid-template-columns: 1fr; } }

/* Griglia video embed */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.video-grid .video-frame iframe {
  width: 100%; height: 100%; border: 0; display: block; position: absolute; inset: 0;
}
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

/* Didascalia immagine progetto */
.img-caption {
  font-size: 12.5px; color: var(--muted); margin-top: 12px;
  font-style: italic; letter-spacing: .04em;
}

/* Striscia ACIB nel footer */
.acib-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap; padding: 34px 40px; margin-bottom: 50px;
  border: 1px solid rgba(200,164,106,.4); border-radius: 8px;
  background: rgba(200,164,106,.07);
}
.acib-strip .as-text strong {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  font-size: clamp(19px, 2vw, 24px); color: var(--gold-light); display: block; margin-bottom: 6px;
}
.acib-strip .as-text p { font-size: 15px; color: rgba(247,244,239,.75); max-width: 560px; }

/* Partner strip */
.partners { text-align: center; margin-top: 46px; padding-top: 36px; border-top: 1px solid rgba(247,244,239,.08); }
.partners .p-label {
  display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.partners .p-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.partners .p-row span { font-size: 14px; color: rgba(247,244,239,.7); letter-spacing: .06em; }

/* Carousel autoplay: pausa al click */
.carousel-track { cursor: pointer; }

@media (max-width: 900px) {
  .proj-detail { grid-template-columns: 1fr; }
  .proj-detail.flip .proj-media { order: 0; }
  .steps-grid, .form-grid { grid-template-columns: 1fr; }
  .video-band { min-height: 74vh; }
  .video-band video { object-position: 62% center; }
  .video-grid .video-frame { aspect-ratio: 16/9; }
  .video-band::after {
    background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.85));
  }
}
