:root {
  --bg: #050505;
  --bg-soft: #0d0d0f;
  --card: #141417;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --line: rgba(255,255,255,.10);
  --red: #8f1f24;
  --red-soft: rgba(143,31,36,.22);
  --white-soft: rgba(255,255,255,.72);
  --shadow: 0 24px 80px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(circle at 20% 10%, #202024 0, transparent 28%), linear-gradient(135deg, #030303, #111114 55%, #050505);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 7vw; background: rgba(5,5,5,.72); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; letter-spacing: .16em; font-size: 1.05rem; }
.nav { display: flex; gap: 26px; color: var(--muted); font-size: .92rem; }
.nav a { transition: .25s ease; }
.nav a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 1.7rem; }
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px;
  align-items: center; padding: 140px 7vw 80px;
}
.eyebrow { color: #d8d8d8; text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 700; margin-bottom: 18px; }
h1, h2 { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif; line-height: 1.03; letter-spacing: -.055em; font-weight: 800; }
h1 { font-size: clamp(3rem, 6.5vw, 6.25rem); max-width: 1040px; }
h2 { font-size: clamp(2.2rem, 4vw, 4.4rem); max-width: 840px; }
.hero-text { max-width: 620px; color: var(--muted); margin: 30px 0; font-size: 1.12rem; }
.hero-actions, .social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { padding: 14px 22px; border-radius: 999px; font-weight: 700; transition: .25s ease; }
.btn.primary { background: var(--text); color: #060606; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,255,255,.16); }
.btn.secondary { border: 1px solid var(--line); color: var(--text); }
.btn.secondary:hover { background: rgba(255,255,255,.07); }
.hero-card { min-height: 520px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); padding: 18px; box-shadow: var(--shadow); }
.hero-slideshow { position: relative; overflow: hidden; padding: 0; min-height: 520px; background: #080809; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateX(0); animation: subtlePan 8s ease-in-out infinite alternate; filter: saturate(.92) contrast(1.04) brightness(.78); }
.hero-slideshow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.68)); pointer-events: none; }
.slideshow-caption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(5,5,5,.48); backdrop-filter: blur(16px); }
.slideshow-caption span { color: var(--text); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800; }
.slideshow-caption p { color: var(--muted); margin-top: 6px; }
@keyframes subtlePan { from { transform: scale(1.08) translateX(-2%); } to { transform: scale(1.12) translateX(2%); } }
.section { padding: 120px 7vw; border-top: 1px solid var(--line); }
.section-title { margin-bottom: 54px; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; }
.about-text { color: var(--muted); font-size: 1.05rem; display: grid; gap: 14px; }
.credentials, .portfolio-grid, .gear-grid { display: grid; gap: 18px; }
.credential-card, .work-card, .gear-item, .service-list div, .contact-box {
  background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 24px; padding: 26px;
}
.credential-card span, .gear-item span, .service-list span { color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800; }
.credential-card h3, .work-card h3, .service-list h3 { margin: 10px 0; font-size: 1.3rem; }
.credential-card p, .work-card p, .service-list p, .contact-box p { color: var(--muted); }

.certificate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
  transition: .25s ease;
}
.certificate-link:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.software-card h3 { margin-bottom: 18px; }
.software-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 8px 0 18px; }
.software-logo { min-height: 82px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.045); display: grid; place-items: center; text-align: center; padding: 10px; }
.software-logo strong { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid rgba(255,255,255,.2); font-size: 1.05rem; line-height: 1; }
.software-logo small { color: var(--muted); font-size: .68rem; margin-top: 6px; line-height: 1.15; }
.software-logo.premiere strong { color: #c8b7ff; background: rgba(90,70,170,.18); }
.software-logo.after strong { color: #cbb8ff; background: rgba(70,48,170,.18); }
.software-logo.photoshop strong { color: #9bd7ff; background: rgba(30,105,160,.18); }
.software-logo.capcut strong { color: #ffffff; background: rgba(255,255,255,.08); }

.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.work-card { min-height: 330px; display: flex; flex-direction: column; }
.work-media { height: 150px; border-radius: 18px; background: linear-gradient(135deg, #222, #090909); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--white-soft); margin-bottom: 22px; }
.work-card a { margin-top: auto; color: var(--text); font-weight: 700; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gear-grid { grid-template-columns: repeat(3, 1fr); }
.gear-item { display: grid; gap: 10px; }
.social-links a { border: 1px solid var(--line); padding: 14px 22px; border-radius: 999px; color: var(--muted); transition: .25s ease; }
.social-links a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.contact { padding: 120px 7vw; }
.contact-box { max-width: 980px; margin: 0 auto; text-align: center; padding: 70px 34px; background: radial-gradient(circle at 50% 0%, var(--red-soft), transparent 36%), rgba(255,255,255,.045); }
.contact-box p { max-width: 680px; margin: 24px auto; }
footer { padding: 32px 7vw; color: var(--muted); border-top: 1px solid var(--line); text-align: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 73px; right: 7vw; flex-direction: column; background: #101012; border: 1px solid var(--line); padding: 18px; border-radius: 18px; display: none; }
  .nav.open { display: flex; }
  .hero, .about-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .gear-grid, .service-list { grid-template-columns: 1fr; }
  .software-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { min-height: 360px; }
  .hero-slideshow { min-height: 390px; }
  .section, .contact { padding: 88px 7vw; }
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 16px;
  max-width: 640px;
}
.work-card { overflow: hidden; }
.work-category {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 800;
  margin-top: 2px;
}
.work-media {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.05) brightness(.74);
  transition: transform .45s ease, filter .45s ease;
}
.work-thumb:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.08) brightness(.88); }
.play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.88);
  color: #050505;
  font-size: 1.25rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.placeholder-work {
  background:
    radial-gradient(circle at 25% 25%, rgba(143,31,36,.35), transparent 34%),
    linear-gradient(135deg, #1a1a1e, #070708 70%);
  display: grid;
  place-items: center;
}
.placeholder-work span {
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 800;
  font-size: .72rem;
}
.split-reels {
  background: #080809;
  display: block;
}
.split-reels::after {
  content: "";
  position: absolute;
  inset: -20px 48%;
  transform: rotate(13deg);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
  z-index: 3;
}
.reel-preview {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 62%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.reel-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.9) contrast(1.05) brightness(.62);
  transition: transform .45s ease, filter .45s ease;
}
.reel-preview:hover::before { transform: scale(1.06); filter: saturate(1) contrast(1.1) brightness(.78); }
.reel-one { left: 0; clip-path: polygon(0 0, 82% 0, 58% 100%, 0 100%); }
.reel-two { right: 0; clip-path: polygon(42% 0, 100% 0, 100% 100%, 18% 100%); }
.reel-one::before { background: linear-gradient(135deg, rgba(143,31,36,.55), rgba(15,15,17,.92)), url("assets/hero-editing-setup.jpeg"); }
.reel-two::before { background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(7,7,8,.94)), url("assets/hero-camera.jpeg"); }
.reel-preview span {
  position: relative;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(10px);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .72rem;
}
.work-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
}
.work-links a { margin-top: 0; }
@media (max-width: 900px) {
  .portfolio-grid { gap: 22px; }
  .work-media { height: 210px; }
}


/* Refinements v5: servizi e setup più eleganti */
.services .service-list div, .gear .gear-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.062), rgba(255,255,255,.026));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 60px rgba(0,0,0,.18);
}
.services .service-list div::before, .gear .gear-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 12%, rgba(143,31,36,.18), transparent 32%);
  opacity: .85;
  pointer-events: none;
}
.services .service-list div > *, .gear .gear-item > * { position: relative; z-index: 1; }
.gear-item strong {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}
.gear-item span { margin-bottom: 2px; }

/* v6: logo, social ufficiali e rifiniture responsive */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.hero-logo { width: 92px; height: 92px; object-fit: contain; margin-bottom: 24px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); opacity: .94; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }
.social-icon { width: 26px; height: 26px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.065); color: var(--text); font-size: .85rem; line-height: 1; font-weight: 900; }
.youtube-icon { color: #fff; background: rgba(255,0,0,.22); }
.instagram-icon { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), transparent 38%), rgba(190,60,110,.18); }
.tiktok-icon { background: rgba(255,255,255,.08); text-shadow: 1px 0 rgba(255,0,80,.85), -1px 0 rgba(0,240,255,.75); }
.paypal-icon { color: #d7e7ff; background: rgba(30,80,160,.2); font-family: Arial, sans-serif; }
@media (max-width: 900px) { .brand img { width: 30px; height: 30px; } .hero-logo { width: 74px; height: 74px; margin-bottom: 18px; } .social-links a { width: 100%; justify-content: center; } }


/* Tema 3 — Cinematic Burgundy */
:root { --bg:#080405; --card:#130b0c; --muted:#c2b5b5; --text:#fff7f5; --red:#7d1d24; --red-soft:rgba(125,29,36,.28); --line:rgba(255,235,235,.13); }
body { background: radial-gradient(circle at 75% 10%, rgba(125,29,36,.34), transparent 32%), radial-gradient(circle at 10% 90%, rgba(255,255,255,.07), transparent 28%), #070405; }
.site-header { background: rgba(8,4,5,.74); }
.btn.primary { background: #fff7f5; color:#100607; }
.hero-card, .credential-card, .work-card, .gear-item, .service-list div, .contact-box { background: linear-gradient(150deg, rgba(125,29,36,.12), rgba(255,255,255,.035)); }

/* v7 — Modello alternativo: editoriale/cinematico, stessi colori Burgundy */
.site-header {
  justify-content: center;
  padding: 20px 7vw;
}
.brand-empty {
  display: none !important;
}
.nav {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.hero-editorial {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 46px;
  padding: 138px 7vw 78px;
  text-align: center;
}
.hero-editorial .hero-content {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo-large {
  width: clamp(150px, 17vw, 245px);
  height: clamp(150px, 17vw, 245px);
  margin-bottom: 18px;
  filter: drop-shadow(0 28px 80px rgba(0,0,0,.62));
}
.hero-editorial h1 {
  max-width: 1100px;
  font-size: clamp(2.7rem, 6.8vw, 6.8rem);
}
.hero-editorial .hero-text {
  max-width: 760px;
  margin: 26px auto 0;
}
.hero-editorial .hero-actions {
  justify-content: center;
  margin-top: 28px;
}
.hero-slideshow-wide {
  width: min(1180px, 100%);
  min-height: 390px;
  height: 42vh;
  margin: 0 auto;
  border-radius: 38px;
  box-shadow: 0 34px 120px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.hero-slideshow-wide .slideshow-caption {
  max-width: 430px;
  left: 24px;
  right: auto;
  text-align: left;
}
.about-grid-compact {
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: start;
  gap: 24px;
}
.about-text-compact {
  gap: 8px;
  font-size: 1.08rem;
  line-height: 1.72;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(255,255,255,.05), rgba(125,29,36,.08));
}
.about-text-compact p { margin: 0; }
.about-text-compact p + p { margin-top: 8px; }
.portfolio-grid-featured {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-areas:
    "main side1"
    "main side2";
  gap: 20px;
}
.portfolio-grid-featured .work-card:nth-child(1) { grid-area: main; }
.portfolio-grid-featured .work-card:nth-child(2) { grid-area: side1; }
.portfolio-grid-featured .work-card:nth-child(3) { grid-area: side2; }
.work-card-featured .work-media {
  height: 320px;
}
.portfolio-grid-featured .work-card:not(.work-card-featured) .work-media {
  height: 140px;
}
.service-list-alt {
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 960px;
}
.service-list-alt div {
  display: grid;
  grid-template-columns: 80px 230px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
}
.service-list-alt h3,
.service-list-alt p { margin: 0; }
.gear-grid-alt {
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
}
.gear-grid-alt .gear-item {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gear-grid-alt .gear-item:nth-child(1),
.gear-grid-alt .gear-item:nth-child(5) {
  grid-column: span 2;
}
.gear-grid-alt .gear-item:nth-child(2),
.gear-grid-alt .gear-item:nth-child(6) {
  grid-column: span 2;
}
.gear-grid-alt .gear-item:nth-child(3),
.gear-grid-alt .gear-item:nth-child(4) {
  grid-column: span 1;
}
.social-links {
  justify-content: center;
}
@media (max-width: 1000px) {
  .site-header { justify-content: space-between; }
  .brand-empty { display: block !important; width: 1px; }
  .nav { border-radius: 18px; }
  .hero-editorial { text-align: left; align-items: stretch; }
  .hero-editorial .hero-content { align-items: flex-start; text-align: left; }
  .hero-editorial .hero-actions { justify-content: flex-start; }
  .hero-logo-large { width: 128px; height: 128px; }
  .hero-slideshow-wide { min-height: 420px; height: 52vh; border-radius: 28px; }
  .hero-slideshow-wide .slideshow-caption { left: 18px; right: 18px; max-width: none; }
  .about-grid-compact,
  .portfolio-grid-featured,
  .service-list-alt,
  .gear-grid-alt { grid-template-columns: 1fr; grid-template-areas: none; }
  .portfolio-grid-featured .work-card:nth-child(1),
  .portfolio-grid-featured .work-card:nth-child(2),
  .portfolio-grid-featured .work-card:nth-child(3) { grid-area: auto; }
  .work-card-featured .work-media,
  .portfolio-grid-featured .work-card:not(.work-card-featured) .work-media { height: 230px; }
  .service-list-alt div { grid-template-columns: 1fr; gap: 8px; }
  .gear-grid-alt .gear-item,
  .gear-grid-alt .gear-item:nth-child(1),
  .gear-grid-alt .gear-item:nth-child(2),
  .gear-grid-alt .gear-item:nth-child(3),
  .gear-grid-alt .gear-item:nth-child(4),
  .gear-grid-alt .gear-item:nth-child(5),
  .gear-grid-alt .gear-item:nth-child(6) { grid-column: auto; min-height: auto; }
}
@media (max-width: 560px) {
  .hero-editorial { padding-top: 112px; }
  .hero-logo-large { width: 112px; height: 112px; }
  .about-text-compact { padding: 24px; }
  .hero-slideshow-wide { min-height: 360px; }
}
