/* ============================================
   MATRIMONI · LA PELLICOLA · Soul Studio Wedding
   Palette: bianco avorio + oro lucido + nero caldo
============================================ */

:root {
  --wd-cream: #faf7f2;
  --wd-cream-warm: #f5efdf;
  --wd-gold: #d4af37;
  --wd-gold-shine: #f5d97a;
  --wd-gold-deep: #b8941f;
  --wd-black: #1a1612;
  --wd-grey: #6e6359;
  --wd-grey-soft: #c4bcae;
}

/* === IMPORTA FONT === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,400;1,500&family=JetBrains+Mono:wght@400;600&display=swap');

/* === RESET PER PAGINA === */
body.page-matrimoni { background: var(--wd-cream); color: var(--wd-black); overflow-x: hidden; }

/* === ANIMATIONS === */
@keyframes wdFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wdRecPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
@keyframes wdReelScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Scroll reveal --- */
.wd-anim { opacity: 0; transform: translateY(20px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.wd-anim.visible { opacity: 1; transform: translateY(0); }

/* === NAVBAR OVERRIDE (bianco) === */
body.page-matrimoni .ss-nav { background: rgba(250, 247, 242, 0.94) !important; border-bottom: 1px solid rgba(0, 0, 0, 0.04); backdrop-filter: blur(12px); }
body.page-matrimoni .ss-nav__logo { color: var(--wd-black); }
body.page-matrimoni .ss-nav__logo-img { filter: brightness(0) saturate(100%) opacity(.8); }
body.page-matrimoni .ss-nav__links a { color: var(--wd-grey); }
body.page-matrimoni .ss-nav__links a:hover { color: var(--wd-black); }
body.page-matrimoni .ss-nav__cta { background: transparent !important; border: 1px solid var(--wd-black) !important; color: var(--wd-black) !important; box-shadow: none !important; }
body.page-matrimoni .ss-nav__cta:hover { background: var(--wd-gold) !important; color: var(--wd-black) !important; border-color: var(--wd-gold) !important; }
body.page-matrimoni .ss-nav__dropdown-menu { background: rgba(250, 247, 242, 0.96); border: 1px solid rgba(0, 0, 0, 0.06); }
body.page-matrimoni .ss-nav__dropdown-menu a { color: var(--wd-grey); }
body.page-matrimoni .ss-nav__dropdown-menu a:hover { color: var(--wd-black); }

/* === GLOBALI === */
.gold-text {
  background: linear-gradient(135deg, var(--wd-gold-deep) 0%, var(--wd-gold) 35%, var(--wd-gold-shine) 60%, var(--wd-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.wd-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wd-gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.wd-tag::before, .wd-tag::after {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wd-gold));
}
.wd-tag::after { background: linear-gradient(90deg, var(--wd-gold), transparent); }

.wd-tag--gold { color: var(--wd-gold); }
.wd-tag--gold::before, .wd-tag--gold::after { background: linear-gradient(90deg, transparent, var(--wd-gold-shine)); }
.wd-tag--gold::after { background: linear-gradient(90deg, var(--wd-gold-shine), transparent); }

/* ============================================
   HERO · FILM OPENING
============================================ */
.wd-hero {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--wd-cream) 0%, var(--wd-cream-warm) 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
  text-align: center;
}

.wd-hero__bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 30%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 70%, rgba(212, 175, 55, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.wd-hero__logo {
  margin-bottom: 50px;
  position: relative;
  z-index: 3;
}

.wd-hero__logo-img {
  max-width: 240px;
  height: auto;
  margin: 0 auto 14px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(26, 22, 18, 0.1));
}

.wd-hero__timecode {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--wd-grey);
  letter-spacing: 0.18em;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.wd-hero__timecode-rec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 3px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--wd-gold-deep);
  font-weight: 600;
}
.wd-hero__timecode-rec i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wd-gold);
  box-shadow: 0 0 8px var(--wd-gold);
  animation: wdRecPulse 1.5s ease-in-out infinite;
}

.wd-hero__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 800;
  text-transform: lowercase;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  position: relative;
  z-index: 3;
  max-width: 1100px;
  color: var(--wd-black);
}
.wd-hero__title-line1, .wd-hero__title-line2 { display: block; }

.wd-hero__sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--wd-grey);
  max-width: 560px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 3;
}

/* === BOBINA PELLICOLA === */
.wd-reel-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  z-index: 2;
  padding: 32px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 22, 18, 0.04) 30%, rgba(26, 22, 18, 0.04) 70%, transparent 100%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  cursor: grab;
}
.wd-reel-wrap.is-dragging { cursor: grabbing; }
.wd-reel-wrap.is-dragging .wd-reel { animation-play-state: paused; }
.wd-reel-wrap:hover .wd-reel { animation-play-state: paused; }

/* Perforazioni pellicola */
.wd-reel-wrap::before, .wd-reel-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background-image: radial-gradient(circle, var(--wd-cream-warm) 3.5px, transparent 4px);
  background-size: 22px 14px;
  background-repeat: repeat-x;
  pointer-events: none;
  z-index: 3;
}
.wd-reel-wrap::before { top: 8px; }
.wd-reel-wrap::after { bottom: 8px; }

.wd-reel {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: wdReelScroll 60s linear infinite;
  user-select: none;
  -webkit-user-select: none;
}

.wd-reel__frame {
  width: 220px;
  height: 280px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: var(--wd-black);
  border: 1px solid rgba(26, 22, 18, 0.1);
  box-shadow: 0 4px 12px rgba(26, 22, 18, 0.08);
  transition: transform 0.4s;
}
.wd-reel__frame:hover { transform: scale(1.04); z-index: 5; box-shadow: 0 12px 28px rgba(212, 175, 55, 0.25); }
.wd-reel__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.wd-reel__frame-num {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--wd-gold-shine);
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 2px;
}

/* ============================================
   TRAILER · FEATURE PRESENTATION
============================================ */
.wd-trailer {
  padding: 120px 24px;
  background: var(--wd-black);
  color: var(--wd-cream);
  position: relative;
  overflow: hidden;
}
.wd-trailer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 1000px 500px at 50% 50%, rgba(212, 175, 55, 0.13), transparent 60%);
  pointer-events: none;
}

.wd-trailer__head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.wd-trailer__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  text-transform: lowercase;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
  color: var(--wd-cream);
}
.wd-trailer__sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--wd-grey-soft);
}

.wd-trailer__player-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
}
.wd-trailer__meta-top, .wd-trailer__meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 8px;
}
.wd-trailer__meta-top { color: var(--wd-gold); margin-bottom: 14px; }
.wd-trailer__meta-bottom { color: var(--wd-grey); margin-top: 14px; font-size: 10px; }

.wd-trailer__meta-rec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wd-trailer__meta-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wd-gold);
  box-shadow: 0 0 10px var(--wd-gold);
  animation: wdRecPulse 1.5s ease-in-out infinite;
}

.wd-trailer__player {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: #050403;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 175, 55, 0.18);
  cursor: pointer;
}
.wd-trailer__player video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.wd-trailer__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--wd-gold);
  z-index: 3;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
  pointer-events: none;
}
.wd-trailer__corner--tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.wd-trailer__corner--tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.wd-trailer__corner--bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.wd-trailer__corner--br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.wd-trailer__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: opacity 0.3s;
  background: rgba(26, 22, 18, 0.25);
}
.wd-trailer__overlay.is-playing { opacity: 0; pointer-events: none; }

.wd-trailer__play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wd-gold-shine), var(--wd-gold), var(--wd-gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wd-black);
  font-size: 30px;
  padding-left: 6px;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.wd-trailer__play:hover { transform: scale(1.1); }

/* ============================================
   FRAMES · RAW FRAMES (masonry)
============================================ */
.wd-frames {
  padding: 120px 24px 90px;
  background: var(--wd-cream);
  position: relative;
}

.wd-frames__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.wd-frames__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  text-transform: lowercase;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
  color: var(--wd-black);
}
.wd-frames__sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--wd-grey);
  line-height: 1.6;
}

.wd-frames__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1300px;
  margin: 0 auto;
}

.wd-frame {
  position: relative;
  overflow: hidden;
  background: var(--wd-black);
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.5s;
  box-shadow: 0 4px 12px rgba(26, 22, 18, 0.08);
}
.wd-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(26, 22, 18, 0.18), 0 0 30px rgba(212, 175, 55, 0.15);
  z-index: 2;
}
.wd-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  display: block;
}
.wd-frame:hover img { transform: scale(1.05); }

.wd-frame__num {
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--wd-gold-shine);
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
}

/* Aspect-ratio variabili per masonry-look */
.wd-frame--tall { aspect-ratio: 4/5.5; }
.wd-frame--normal { aspect-ratio: 4/5; }
.wd-frame--square { aspect-ratio: 1; }
.wd-frame--wide { aspect-ratio: 4/3; }

/* ============================================
   THE CREDITS
============================================ */
.wd-credits {
  background: var(--wd-black);
  color: var(--wd-cream);
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}
.wd-credits::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 0%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(212, 175, 55, 0.08), transparent 60%);
  pointer-events: none;
}

.wd-credits__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.wd-credits__head {
  margin-bottom: 80px;
}
.wd-credits__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  text-transform: lowercase;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
}

.wd-credits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.wd-credits__entry {
  text-align: center;
}
.wd-credits__role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--wd-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-right: 0.5em;
}
.wd-credits__divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wd-gold), transparent);
  margin: 0 auto 18px;
}
.wd-credits__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
  color: var(--wd-cream);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.wd-credits__end {
  margin-top: 100px;
  padding-top: 60px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--wd-grey);
  text-transform: uppercase;
}

/* ============================================
   CTA
============================================ */
.wd-cta {
  background: var(--wd-cream);
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(212, 175, 55, 0.025) 40px, rgba(212, 175, 55, 0.025) 41px),
    radial-gradient(ellipse 800px 500px at 50% 50%, rgba(212, 175, 55, 0.08), transparent 70%);
  padding: 120px 24px;
  position: relative;
}

.wd-cta__card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 70px 60px;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(26, 22, 18, 0.08);
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.wd-cta__card::before, .wd-cta__card::after {
  content: '';
  position: absolute;
  width: 50px; height: 50px;
  border: 1px solid var(--wd-gold);
  pointer-events: none;
}
.wd-cta__card::before { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.wd-cta__card::after { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.wd-cta__head { text-align: center; margin-bottom: 40px; }
.wd-cta__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  text-transform: lowercase;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 12px;
  color: var(--wd-black);
}
.wd-cta__sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--wd-grey);
}

.wd-cta__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wd-cta__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wd-input, .wd-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 22, 18, 0.15);
  padding: 14px 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--wd-black);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.wd-input::placeholder, .wd-textarea::placeholder {
  color: var(--wd-grey-soft);
  font-style: italic;
}
.wd-input:focus, .wd-textarea:focus { border-bottom-color: var(--wd-gold); }
.wd-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Inter', sans-serif;
}

.wd-cta__submit {
  margin-top: 18px;
  padding: 16px 36px;
  background: var(--wd-black);
  color: var(--wd-cream);
  border: none;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  align-self: center;
  position: relative;
  overflow: hidden;
}
.wd-cta__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wd-gold-deep), var(--wd-gold), var(--wd-gold-shine));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.wd-cta__submit:hover {
  color: var(--wd-black);
  letter-spacing: 0.4em;
}
.wd-cta__submit:hover::before { opacity: 1; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 960px) {
  .wd-hero { padding: 100px 20px 50px; }
  .wd-hero__logo-img { max-width: 200px; }
  .wd-reel__frame { width: 180px; height: 230px; }

  .wd-frames__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .wd-trailer { padding: 80px 20px; }
  .wd-credits { padding: 100px 20px; }
  .wd-credits__list { gap: 50px; }
  .wd-credits__name { font-size: 22px; }
  .wd-cta { padding: 80px 20px; }
  .wd-cta__card { padding: 50px 30px; }
  .wd-cta__row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wd-hero__logo-img { max-width: 170px; }
  .wd-reel__frame { width: 150px; height: 195px; }
  .wd-frames__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .wd-credits__role { letter-spacing: 0.35em; font-size: 10px; }
  .wd-credits__name { font-size: 18px; }
  .wd-trailer__play { width: 64px; height: 64px; font-size: 22px; }
  .wd-trailer__corner { width: 18px; height: 18px; }
  .wd-cta__card::before, .wd-cta__card::after { width: 35px; height: 35px; top: 10px; left: 10px; }
  .wd-cta__card::after { top: auto; left: auto; bottom: 10px; right: 10px; }
}

/* === HIDE OLD SECTIONS DEFINITIVELY === */
.wd-hero__floral-left, .wd-hero__floral-right,
.wd-hero__rings, .wd-hero__petals, .wd-hero__petal,
.wd-testimonial, .wd-why,
.wd-gallery, .wd-gallery--alt, .wd-gallery--details {
  display: none !important;
}

/* ============================================
   FIX · logo Soulstudiowedding
============================================ */
.wd-hero__logo {
  margin-bottom: 30px !important;
}

.wd-hero__logo-img {
  max-width: 280px !important;
  height: auto !important;
  width: auto !important;
  display: block !important;
  margin: 0 auto 8px !important;
  background: transparent !important;
  filter: none !important;
  /* mix-blend-mode rimosso · ora il PNG è trasparente */
}

/* ============================================
   FIX · bobina pulita (no border, rounded, shadow)
============================================ */
.wd-reel__frame {
  width: 220px !important;
  height: 280px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  box-shadow:
    0 8px 24px rgba(26, 22, 18, 0.18),
    0 2px 6px rgba(26, 22, 18, 0.12) !important;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.4s !important;
}

.wd-reel__frame:hover {
  transform: scale(1.06) translateY(-6px) !important;
  z-index: 5;
  box-shadow:
    0 20px 40px rgba(26, 22, 18, 0.25),
    0 8px 16px rgba(212, 175, 55, 0.2) !important;
}

.wd-reel__frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

.wd-reel__frame-num {
  display: none !important;
}

.wd-reel {
  gap: 18px !important;
  padding: 6px 0 !important;
}

.wd-reel-wrap::before,
.wd-reel-wrap::after {
  display: none !important;
}
.wd-reel-wrap {
  background: transparent !important;
  padding: 40px 0 !important;
}

/* ============================================
   FIX FINALE · logo Soulstudiowedding trasparente
============================================ */
.wd-hero__logo-img {
  max-width: 280px !important;
  height: auto !important;
  width: auto !important;
  display: block !important;
  margin: 0 auto !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 4px 16px rgba(26, 22, 18, 0.08));
}

/* ============================================
   FIX · compatta spazi (tutta la pagina più densa)
============================================ */

/* HERO · meno padding sopra/sotto, hero non più 100vh */
.wd-hero {
  min-height: 0 !important;
  padding: 70px 24px 40px !important;
}
.wd-hero__logo {
  margin-bottom: 18px !important;
}
.wd-hero__title {
  margin: 14px 0 16px !important;
  line-height: 0.95 !important;
}
.wd-hero__sub {
  margin: 0 auto 30px !important;
  font-size: 16px !important;
}
.wd-hero__timecode {
  margin-top: 6px !important;
}

/* REEL · padding più stretto */
.wd-reel-wrap {
  padding: 24px 0 !important;
}

/* TRAILER · meno padding */
.wd-trailer {
  padding: 70px 24px !important;
}
.wd-trailer__head {
  margin-bottom: 36px !important;
}
.wd-trailer__title {
  margin: 12px 0 8px !important;
}

/* FRAMES · meno padding */
.wd-frames {
  padding: 70px 24px 60px !important;
}
.wd-frames__head {
  margin: 0 auto 36px !important;
}
.wd-frames__title {
  margin: 12px 0 10px !important;
}

/* CREDITS · molto più compatto */
.wd-credits {
  padding: 80px 24px !important;
}
.wd-credits__head {
  margin-bottom: 50px !important;
}
.wd-credits__title {
  margin: 12px 0 0 !important;
}
.wd-credits__list {
  gap: 40px !important;
}
.wd-credits__role {
  margin-bottom: 10px !important;
}
.wd-credits__divider {
  margin: 0 auto 12px !important;
}
.wd-credits__end {
  margin-top: 60px !important;
  padding-top: 40px !important;
}

/* CTA · meno padding */
.wd-cta {
  padding: 70px 24px !important;
}
.wd-cta__card {
  padding: 50px 50px !important;
}
.wd-cta__head {
  margin-bottom: 28px !important;
}
.wd-cta__title {
  margin: 12px 0 8px !important;
}

/* TAG · meno spazio sotto */
.wd-tag {
  margin-bottom: 10px !important;
}

/* Mobile · ulteriore compattazione */
@media (max-width: 640px) {
  .wd-hero { padding: 60px 20px 30px !important; }
  .wd-trailer { padding: 50px 20px !important; }
  .wd-frames { padding: 50px 20px 40px !important; }
  .wd-credits { padding: 60px 20px !important; }
  .wd-credits__list { gap: 32px !important; }
  .wd-cta { padding: 50px 20px !important; }
  .wd-cta__card { padding: 35px 25px !important; }
}

/* ============================================
   FIX · griglia frames pulita (no num, rounded, shadow)
============================================ */

.wd-frame__num {
  display: none !important;
}

.wd-frame {
  border-radius: 14px !important;
  background: transparent !important;
  border: none !important;
  box-shadow:
    0 8px 24px rgba(26, 22, 18, 0.12),
    0 2px 6px rgba(26, 22, 18, 0.08) !important;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.5s !important;
  overflow: hidden !important;
}

.wd-frame img {
  border-radius: 14px !important;
}

.wd-frame:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 24px 48px rgba(26, 22, 18, 0.22),
    0 8px 16px rgba(212, 175, 55, 0.18) !important;
}

.wd-frames__grid {
  gap: 18px !important;
}

@media (max-width: 960px) {
  .wd-frames__grid {
    gap: 12px !important;
  }
}

/* ============================================
   FIX · hero ancora più compatto in cima
============================================ */

.wd-hero {
  padding: 30px 24px 30px !important;
  min-height: 0 !important;
}

.wd-hero__logo {
  margin-bottom: 12px !important;
}

.wd-hero__logo-img {
  max-width: 220px !important;
  margin: 0 auto !important;
}

.wd-hero__timecode {
  margin-top: 4px !important;
  font-size: 10px !important;
}

.wd-hero__title {
  margin: 14px 0 12px !important;
  font-size: clamp(36px, 5.5vw, 72px) !important;
  line-height: 0.95 !important;
}

.wd-hero__sub {
  margin: 0 auto 24px !important;
  font-size: 15px !important;
}

@media (max-width: 640px) {
  .wd-hero { padding: 20px 20px 24px !important; }
  .wd-hero__logo-img { max-width: 150px !important; }
}

/* ============================================
   FIX · EDITORIAL MAGAZINE LAYOUT
============================================ */

.wd-frames__grid {
  display: none !important;
}

.wd-editorial {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.wd-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.wd-block--right {
  grid-template-columns: 1fr 1.4fr;
}

.wd-block__hero {
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 12px 32px rgba(26, 22, 18, 0.14),
    0 4px 8px rgba(26, 22, 18, 0.08);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.5s;
  aspect-ratio: 4/5;
  position: relative;
  cursor: pointer;
  grid-column: 1;
  grid-row: 1;
}
.wd-block--right .wd-block__hero {
  grid-column: 2;
  grid-row: 1;
}

.wd-block__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s;
}
.wd-block__hero:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 48px rgba(26, 22, 18, 0.2),
    0 8px 16px rgba(212, 175, 55, 0.18);
}
.wd-block__hero:hover img {
  transform: scale(1.04);
}

.wd-block__small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  grid-column: 2;
  grid-row: 1;
}
.wd-block--right .wd-block__small {
  grid-column: 1;
  grid-row: 1;
}

.wd-block__small-item {
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 8px 20px rgba(26, 22, 18, 0.12),
    0 2px 4px rgba(26, 22, 18, 0.06);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.5s;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}
.wd-block__small-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s;
}
.wd-block__small-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 32px rgba(26, 22, 18, 0.18),
    0 4px 10px rgba(212, 175, 55, 0.15);
}
.wd-block__small-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .wd-editorial {
    gap: 28px;
  }
  .wd-block,
  .wd-block--right {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .wd-block__hero,
  .wd-block--right .wd-block__hero {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .wd-block__small,
  .wd-block--right .wd-block__small {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .wd-block__small {
    gap: 10px;
  }
}

@media (max-width: 540px) {
  .wd-block__small {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

/* ============================================
   FIX · GRIGLIA UNIFORME (museum-style)
============================================ */

.wd-editorial,
.wd-block,
.wd-block__hero,
.wd-block__small,
.wd-block__small-item {
  display: none !important;
}

.wd-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wd-grid__item {
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 8px 24px rgba(26, 22, 18, 0.12),
    0 2px 6px rgba(26, 22, 18, 0.08);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.5s;
  aspect-ratio: 4/5;
  cursor: pointer;
  position: relative;
}

.wd-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s;
}

.wd-grid__item:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 44px rgba(26, 22, 18, 0.2),
    0 6px 14px rgba(212, 175, 55, 0.18);
  z-index: 2;
}
.wd-grid__item:hover img {
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .wd-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .wd-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
