/* ==========================================================================
   Centro Cinofilo Cavallara - V7: Video Hero, Mosaico Bento & Nuovi Testi
   Sito Vetrina Statico Minimal Dark (Nero Assoluto, Oro Sabbia, Terracotta Spento)
   100% Locale: zero dipendenze esterne, zero font o script remoti.
   ========================================================================== */

/* --------------------------------------------------------------------------
   VARIABILI & PALETTE COLORI
   -------------------------------------------------------------------------- */
:root {
  /* Palette Dark */
  --bg-black: #000000;
  --bg-card: #0a0a0a;
  --bg-subtle: #121212;
  --bg-drawer: #141414;

  /* Accenti raffinati */
  --accent-sand: #cbbda8;        /* Sabbia calda per bagliori, bordi, dettagli */
  --accent-terracotta: #b85d43;  /* Terracotta spento per secondo titolo e link */
  --accent-subtle: rgba(203, 189, 168, 0.22);
  --line-gold: rgba(203, 189, 168, 0.35);

  /* Testi */
  --text-white: #ffffff;
  --text-dim: #999999;
  --text-muted: #666666;

  /* WhatsApp CTA */
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba5a;

  /* Tipografia di sistema (zero richieste di rete) */
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Raggi e transizioni */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* --------------------------------------------------------------------------
   RESET DI BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   SEGNAPOSTO "DA COMPLETARE" E "DA VERIFICARE"
   -------------------------------------------------------------------------- */
.da-completare-box {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent-sand);
  background: rgba(203, 189, 168, 0.06);
  border: 1px dashed rgba(203, 189, 168, 0.35);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  margin-top: 6px;
  line-height: 1.4;
}

.badge-mini-todo {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--accent-sand);
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed rgba(203, 189, 168, 0.45);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 4px;
}

.da-verificare-tag {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--accent-sand);
  background: rgba(203, 189, 168, 0.08);
  border: 1px dashed rgba(203, 189, 168, 0.4);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  margin-top: 10px;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   PULSANTE FLUTTUANTE WHATSAPP (Unico contatto sempre presente)
   -------------------------------------------------------------------------- */
.fixed-whatsapp-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
}

.btn-whatsapp-fixed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease), background-color 0.2s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-whatsapp-fixed:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), 0 4px 14px rgba(37, 211, 102, 0.45);
}

.wa-icon {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   INDICATORE DI AVANZAMENTO (6 PUNTINI TEMATICI)
   -------------------------------------------------------------------------- */
.scene-progress-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  background: rgba(14, 14, 14, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(203, 189, 168, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.progress-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prog-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(203, 189, 168, 0.45);
  background: transparent;
  transition: all 0.25s var(--ease);
}

.prog-dot:hover,
.prog-dot.is-active {
  background-color: var(--accent-sand);
  border-color: var(--accent-sand);
  transform: scale(1.35);
  box-shadow: 0 0 12px rgba(203, 189, 168, 0.95);
}

.prog-tooltip {
  position: absolute;
  right: 26px;
  background: #111111;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid rgba(203, 189, 168, 0.3);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: all 0.2s ease;
}

.prog-dot:hover .prog-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   1. PRIMA PAGINA (HERO V7)
   - Video a tutto schermo con riproduzione silenziosa
   - Transizione fluida alla fine del video o al click "Entra nel sito"
   - Sigillo Logo rotondo grande (senza testo CAVALLARA)
   - Titolo «La nostra cinofilia» · Sottotitolo · Descrizione cliente
   - Mosaico Bento delle 6 aree
   ========================================================================== */
.scene-hero-v7 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--bg-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 24px 80px;
  overflow: hidden;
}

/* Layer Video Fullscreen (Fixed al viewport durante la riproduzione) */
.hero-video-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 120;
  background-color: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-container.video-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.btn-skip-video {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 125;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 14, 14, 0.82);
  color: #ffffff;
  border: 1px solid rgba(203, 189, 168, 0.5);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(203, 189, 168, 0.25);
  transition: all 0.25s var(--ease);
}

.btn-skip-video:hover {
  background: rgba(26, 26, 26, 0.95);
  border-color: var(--accent-sand);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.95), 0 0 28px rgba(203, 189, 168, 0.4);
}

/* Bagliore cursore su desktop */
.cursor-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(750px circle at var(--cursor-x, 50%) var(--cursor-y, 35%), rgba(203, 189, 168, 0.08), transparent 70%);
}

/* Contenitore Rivelato Hero (Logo + Testi + Mosaico) */
.hero-reveal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portal-header-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

/* Sigillo Logo Rotondo Grande */
.portal-logo-sigillo {
  width: clamp(170px, 18vw, 240px);
  height: clamp(170px, 18vw, 240px);
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  border: 2px solid var(--accent-sand);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.95), 0 0 40px rgba(203, 189, 168, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.portal-logo-sigillo:hover {
  transform: scale(1.02);
  border-color: var(--accent-terracotta);
}

.portal-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.portal-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.portal-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-sand);
  margin-bottom: 18px;
}

.portal-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  color: #cccccc;
  max-width: 760px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   MOSAICO BENTO GRID (6 Aree Tematiche)
   -------------------------------------------------------------------------- */
.bento-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1140px;
  margin-top: 14px;
}

.bento-card {
  position: relative;
  height: clamp(190px, 18vw, 240px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(203, 189, 168, 0.22);
  background-color: #0c0c0c;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  transition: transform 0.32s var(--ease), border-color 0.3s ease, box-shadow 0.32s ease;
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease);
  z-index: 1;
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.92) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-sand);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(203, 189, 168, 0.25);
}

.bento-card:hover .bento-card-bg {
  transform: scale(1.06);
}

.bento-card:hover .bento-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.95) 100%);
}

.bento-card-content {
  position: relative;
  z-index: 3;
  text-align: left;
}

.bento-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-sand);
  margin-bottom: 4px;
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 2px;
}

.bento-sub {
  font-size: 0.85rem;
  color: #bbbbbb;
  line-height: 1.3;
}

.bento-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 14, 14, 0.7);
  border: 1px solid rgba(203, 189, 168, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sand);
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

.bento-card:hover .bento-arrow {
  transform: translateX(3px);
  background: var(--accent-sand);
  color: #000000;
}

/* ==========================================================================
   SCENE TEMATICHE DIVISE (SPLIT-SCREEN)
   Alternanza: Media a Sinistra vs Media a Destra
   ========================================================================== */
.scene-split {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  position: relative;
  background-color: var(--bg-black);
  overflow: hidden;
}

.scene-media-left {
  flex-direction: row;
}

.scene-media-right {
  flex-direction: row;
}

/* Colonna Media (Slideshow a tutto schermo) */
.scene-media-col {
  width: 50%;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.scene-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.slide.slide-active {
  opacity: 1;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 6s ease-out;
}

.slide.slide-active .slide-img {
  transform: scale(1.05);
}

/* Punti focali specifici */
.img-focal-sport1 { object-position: 50% 25%; }
.img-focal-natura1 { object-position: 50% 35%; }
.img-focal-acqua1 { object-position: 50% 40%; }
.img-focal-acqua2 { object-position: 50% 30%; }

/* Gradiente di sfumatura verso la colonna di testo */
.scene-fade-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.scene-media-left .scene-fade-overlay {
  background: linear-gradient(to right, transparent 65%, var(--bg-black) 100%);
}

.scene-media-right .scene-fade-overlay {
  background: linear-gradient(to left, transparent 65%, var(--bg-black) 100%);
}

/* Colonna Testo su Sfondo Nero */
.scene-content-col {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6vw, 84px) clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 5;
  background-color: var(--bg-black);
}

.scene-col-inner {
  max-width: 540px;
  width: 100%;
}

.scene-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.scene-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-sand);
}

.btn-back-logo {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-sand);
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-back-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.scene-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.title-accent {
  color: var(--accent-sand);
}

.scene-category-sub {
  font-size: 1.05rem;
  color: var(--accent-sand);
  font-weight: 600;
  margin-top: -12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scene-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: #dddddd;
  margin-bottom: 30px;
}

/* Citazioni speciali */
.section-quote-box {
  background: #0b0b0b;
  border-left: 3px solid var(--accent-sand);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 24px;
}

.quote-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cccccc;
  font-style: italic;
}

/* Box Interventi Assistiti */
.interventi-card-box {
  background: #0d0d0d;
  border: 1px solid rgba(203, 189, 168, 0.2);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 20px;
}

.interventi-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-sand);
  margin-bottom: 8px;
}

.interventi-card-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cccccc;
}

/* --------------------------------------------------------------------------
   CASSETTI ATTIVITÀ (ACCORDION AD APERTURA SINGOLA)
   -------------------------------------------------------------------------- */
.activity-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.activity-drawer {
  background-color: var(--bg-card);
  border: 1px solid rgba(203, 189, 168, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.activity-drawer[open] {
  border-color: var(--accent-sand);
  background-color: var(--bg-drawer);
}

.activity-drawer-trigger {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.activity-drawer-trigger::-webkit-details-marker {
  display: none;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: color 0.2s ease;
}

.activity-drawer[open] .drawer-title {
  color: var(--accent-sand);
}

.drawer-icon {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent-sand);
  transition: transform 0.25s var(--ease), color 0.25s ease;
}

.activity-drawer[open] .drawer-icon {
  transform: rotate(45deg);
  color: var(--accent-terracotta);
}

.activity-drawer-body {
  padding: 0 20px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-desc-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #cccccc;
  margin-top: 12px;
}

/* ==========================================================================
   8. SEZIONE CHIUSURA (PRIMA DEL CONTATTO)
   ========================================================================== */
.scene-closing-section {
  background-color: var(--bg-black);
  padding: 100px 24px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.closing-card-container {
  max-width: 860px;
  width: 100%;
  background: #090909;
  border: 1px solid rgba(203, 189, 168, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
}

.closing-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-sand);
  opacity: 0.25;
  font-family: Georgia, serif;
  margin-bottom: -20px;
}

.closing-quote-text {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: #eeeeee;
  margin-bottom: 24px;
}

.closing-author-tag {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-sand);
}

/* ==========================================================================
   9. CALL TO ACTION (SUBITO DOPO CHIUSURA)
   ========================================================================== */
.scene-cta-bar-section {
  background: #050505;
  border-top: 1px solid rgba(203, 189, 168, 0.15);
  border-bottom: 1px solid rgba(203, 189, 168, 0.15);
  padding: 56px 24px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.cta-bar-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-single-line-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(37, 211, 102, 0.4);
  transition: all 0.25s var(--ease);
}

.btn-cta-main:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   10. GALLERIA FINALE (FASCIA ORIZZONTALE CON TUTTE LE 20 FOTO)
   ========================================================================== */
.scene-gallery-strip-section {
  background-color: var(--bg-black);
  padding: 90px 0 70px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-strip-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 0 20px;
}

.gallery-strip-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin: 12px 0 8px;
  line-height: 1;
}

.gallery-strip-sub {
  font-size: 1.02rem;
  color: var(--accent-sand);
  opacity: 0.9;
}

.gallery-marquee-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.gallery-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeSlide 65s linear infinite;
  padding: 10px 0;
}

.gallery-marquee-container:hover .gallery-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

.gallery-slide-item {
  flex: 0 0 auto;
  width: clamp(230px, 19vw, 310px);
  height: clamp(165px, 13vw, 215px);
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(203, 189, 168, 0.22);
  background: #0d0d0d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-slide-item:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent-sand);
  box-shadow: 0 12px 30px rgba(203, 189, 168, 0.25);
}

.gallery-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   11. CONTATTI (TUTTO NERO)
   ========================================================================== */
.scene-contact-dark {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-black);
  padding: 60px 24px;
}

.contact-card-dark {
  max-width: 680px;
  width: 100%;
  background: #080808;
  border: 1px solid rgba(203, 189, 168, 0.2);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
}

.contact-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-contact-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.btn-contact-wa {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-contact-wa:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}

.btn-contact-tel {
  background-color: #151515;
  color: #ffffff;
  border: 1px solid rgba(203, 189, 168, 0.3);
}

.btn-contact-tel:hover {
  background-color: #1e1e1e;
  border-color: var(--accent-sand);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(203, 189, 168, 0.15);
}

.btn-contact-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-title {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-subtitle {
  font-size: 0.74rem;
  opacity: 0.85;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}

.contact-detail-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sand);
}

.detail-link {
  font-size: 0.86rem;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-top: 6px;
  transition: color 0.2s ease;
}

.detail-link:hover {
  color: var(--accent-sand);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   PIÈ DI PAGINA (TUTTO NERO)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-sub {
  font-size: 0.82rem;
  color: var(--accent-sand);
}

.footer-tax-box {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-note {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  .bento-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .scene-split {
    flex-direction: column !important;
    min-height: auto;
  }

  .scene-media-col {
    width: 100%;
    height: 48svh;
    min-height: 280px;
    order: 1;
  }

  .scene-media-left .scene-fade-overlay,
  .scene-media-right .scene-fade-overlay {
    background: linear-gradient(to bottom, transparent 65%, var(--bg-black) 100%);
  }

  .scene-content-col {
    width: 100%;
    padding: 44px 24px 60px;
    order: 2;
  }

  .scene-progress-nav {
    display: none; /* Discreto / rimosso su schermi stretti per evitare collisioni */
  }
}

@media (max-width: 600px) {
  .scene-hero-v7 {
    padding: 36px 16px 60px;
  }

  .portal-logo-sigillo {
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
  }

  .portal-title {
    font-size: 2.2rem;
  }

  .portal-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
  }

  .portal-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .bento-mosaic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .bento-card {
    height: 160px;
    padding: 16px;
  }

  .bento-title {
    font-size: 1.3rem;
  }

  .scene-media-col {
    height: 40svh;
    min-height: 240px;
  }

  .scene-content-col {
    padding: 32px 18px 48px;
  }

  .scene-title {
    font-size: 2.1rem;
  }

  .scene-contact-dark {
    padding: 40px 16px 110px;
  }

  .contact-card-dark {
    padding: 28px 18px 36px;
  }

  .contact-actions-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .btn-contact-main {
    padding: 14px 16px;
  }

  .btn-whatsapp-fixed {
    padding: 10px 16px;
    font-size: 0.84rem;
  }

  .fixed-whatsapp-dock {
    bottom: 16px;
    right: 16px;
  }

  .gallery-slide-item {
    width: 200px;
    height: 140px;
  }
}

/* --------------------------------------------------------------------------
   PREFERS-REDUCED-MOTION (Accessibilità dispositivo)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gallery-marquee-track,
  .cursor-spotlight {
    animation: none !important;
  }

  .slide.slide-active .slide-img {
    transform: none !important;
  }

  .gallery-marquee-track {
    overflow-x: auto;
  }
}

.detail-text {
  margin: 6px 0 10px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-white);
}

.site-footer {
  padding-bottom: 96px;
}
