/* ═══════════════════════════════════════════════════
   WEDDINGS — mobile-first, stesso schema di Stay
   (hero sticky, sezioni trasparenti che scorrono sopra)
═══════════════════════════════════════════════════ */

/* ── UTILITIES ────────────────────────────────────── */

.wd-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 16px rgba(0,0,0,0.95);
  margin-bottom: 16px;
}

.wd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 239, 232, 0.45);
  padding-bottom: 2px;
}

/* ── HERO ─────────────────────────────────────────── */

.wd-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  background: transparent;
}

.wd-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.wd-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.58) 45%, rgba(0,0,0,0.88) 100%);
}

.wd-hero-copy {
  position: absolute;
  bottom: 242px;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 24px;
}

.wd-hero-copy .wd-eyebrow {
  font-weight: 400;
  color: rgba(243,239,232,0.85);
  text-shadow: none;
}

.wd-hero-copy h1 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(3.8rem, 17vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

.wd-hero-sub {
  margin: 30px 0 0;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.05rem, 4vw, 1.3rem);
  color: rgba(243,239,232,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.40);
}

.wd-hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 24px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wd-hero-rule {
  width: min(480px, 100%);
  height: 1px;
  background: rgba(243, 239, 232, 0.20);
  margin-bottom: 18px;
}

.wd-hero-guide {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 15px;
  width: min(480px, 100%);
  color: var(--cream);
  text-decoration: none;
}

.wd-hero-guide img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.3));
}

.wd-hero-guide p {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 3.8vw, 1.42rem);
  color: var(--cream);
}

.wd-hero-guide span {
  font-style: italic;
  color: rgba(243,239,232,0.88);
}

.wd-hero-guide strong {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.70rem;
  letter-spacing: 0.16em;
  color: rgba(243,239,232,0.72);
  font-weight: 400;
  border-bottom: 1px solid rgba(243,239,232,0.45);
  padding-bottom: 2px;
}

.wd-hero-guide > em {
  font-style: normal;
  font-size: 1.6rem;
  color: rgba(243,239,232,0.80);
  line-height: 1;
}

.wd-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(243,239,232,0.45);
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.wd-scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(243,239,232,0.35);
  animation: wdScrollPulse 1.8s ease-in-out infinite;
}

@keyframes wdScrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.35; }
  50%       { transform: scaleY(0.5); opacity: 0.75; }
}

/* ── SEZIONI (trasparenti, scorrono sopra l'hero) ── */

.wd-section {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  background: transparent;
}

.wd-split {
  display: grid;
  gap: 36px;
}

/* Composizione 2 foto: principale + dettaglio sovrapposto */
.wd-media {
  position: relative;
  padding-bottom: 48px;
}

.wd-media-main {
  display: block;
  width: 82%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.wd-media-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 5px solid rgba(243, 239, 232, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* Stay: la foto piccola senza cornice chiara */
.wd-stay .wd-media-detail { border: 0; }

/* At the table: come la sezione Stay ma specchiata
   (foto grande a destra, piccola in basso a sinistra) */
.wd-table .wd-media-main { margin-left: auto; }
.wd-table .wd-media-detail { left: 0; right: auto; border: 0; }

.wd-text h2 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(2.2rem, 8.5vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.wd-text p {
  margin: 0 0 28px;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.22rem, 4.4vw, 1.42rem);
  line-height: 1.58;
  color: rgba(243, 239, 232, 0.95);
  max-width: 480px;
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
}

/* ── INVITO FINALE ────────────────────────────────── */

.wd-cta {
  padding: 72px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--cream);
}

.wd-cta-animal {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 22px;
}

.wd-cta p {
  margin: 0 0 32px;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.6rem, 6.5vw, 2.4rem);
  line-height: 1.3;
  color: var(--cream);
  text-shadow: 0 1px 18px rgba(0,0,0,0.6);
}

.wd-cta-btn {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid rgba(243, 239, 232, 0.70);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.24s, background 0.24s;
}

.wd-cta-btn:hover {
  border-color: var(--cream);
  background: rgba(243, 239, 232, 0.08);
}

/* ── MOBILE — visibilità testi ────────────────────── */

@media (max-width: 767px) {
  .wd-eyebrow           { font-size: 0.80rem; }
  .wd-hero-copy h1      { font-size: clamp(3rem, 14vw, 6rem); font-weight: 400; }
  .wd-hero-sub          { font-size: clamp(1.15rem, 4.4vw, 1.5rem); font-weight: 400; }
  .wd-hero-guide p      { font-weight: 400; }
  .wd-hero-guide strong { font-size: 0.86rem; }
  .wd-text h2           { font-weight: 400; }
  .wd-text p            { font-weight: 400; }
}

/* ── DESKTOP 768px+ ───────────────────────────────── */

@media (min-width: 768px) {
  .wd-hero-copy   { bottom: 262px; padding: 0 56px; }
  .wd-hero-bottom { padding: 0 56px 56px; }

  .wd-section { padding: 110px 0; }

  .wd-split {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 72px;
  }

  .wd-split-reverse .wd-media { order: 2; }

  .wd-text h2 { font-size: clamp(3rem, 5vw, 4.4rem); }

  .wd-cta { padding: 110px 56px 150px; }
  .wd-cta-btn { padding: 18px 56px; }
}

@media (min-width: 1100px) {
  .wd-hero-copy { bottom: 272px; }
}

/* ═══════════════════════════════════════════════════
   HERO — testo a sinistra come Nature (2026-10-15)
═══════════════════════════════════════════════════ */

.wd-hero-copy { padding-left: 24px; }
.wd-hero-copy .container {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .wd-hero-copy { padding-left: 44px; }
}


/* MOBILE (2026-10-16): testo sopra, foto sotto */
@media (max-width: 767px) {
  .wd-split { display: flex; flex-direction: column; }
  .wd-text { order: -1; }
}
