/* ─── 1. CONFIGURAZIONE E VARIABILI ─── */
:root {
  --navy:   #001F3F;
  --gold:   #DAA520;
  --white:  #FFFFFF;
  --wine:   #800020;
  --light:  #F8F5F0;
  --font-menu:  'Bodoni Moda', Georgia, serif;
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'Lora', Georgia, serif;
  --transition: 0.35s ease;
}

/* ─── 2. RESET E BASI ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  border-bottom: 1px solid rgba(218, 165, 32, 0.3);
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 100%; /* Si adatta all'altezza della navbar */
}
.nav-logo img {
  height: 50px;    /* Regola questo valore per rimpicciolire o ingrandire il logo */
  width: auto;     /* Mantiene le proporzioni originali */
  display: block;
}
/*.nav-logo span { color: var(--navy); }*/
.nav-links { display: flex; gap: 2.4rem; align-items: center; }
.nav-links a {
  font-family: var(--font-menu);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
/* ─── DROPDOWN DESKTOP (Default) ─── */
.dropdown { 
    position: relative; 
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid rgba(218, 165, 32, 0.3);
    min-width: 180px;
    padding: 0.6rem 0;
    z-index: 1001;
}

/* Mostra al passaggio del mouse solo su Desktop */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu { 
        display: block; 
    }
}

.dropdown-menu a { 
    padding: 0.5rem 1rem; 
    display: block; 
    font-size: 0.75rem; 
    color: var(--navy);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: rgba(218, 165, 32, 0.1);
    color: var(--gold);
}

/* ─── RESPONSIVE MOBILE ─── */
@media (max-width: 768px) {
    /* Spostiamo il menu a tendina nel flusso del testo */
    .dropdown-menu {
        position: static; 
        transform: none;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.02); /* Sfondo leggero per stacco */
        border: none;
        box-shadow: none;
        padding-left: 1rem; /* Rientro per i figli */
    }

    /* Classe che aggiungeremo col JS al click */
    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Nascondiamo l'hover su mobile per evitare conflitti */
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    /* Forza la visualizzazione se attiva */
    .dropdown.active .dropdown-menu {
        display: block;
    }
}

.btn-preventivo {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.4rem;
  font-size: 0.78rem;
}
/* Stile Bandiere nella Navbar */
.lang-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 10px;
}

.lang-selector img {
    width: 20px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    filter: grayscale(0.2);
}

.lang-selector img:hover {
    transform: scale(1.2);
    filter: grayscale(0);
}

/* Stile specifico per la tendina lingua */
.lang-dropdown img {
    width: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.lang-menu {
    min-width: 120px !important; /* Più stretta rispetto ai servizi */
}

.lang-menu a {
    display: flex !important;
    align-items: center;
    cursor: pointer;
}

/* Nascondi widget Google e barre fastidiose */
body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
#goog-gt-tt { display: none !important; }

/* Blocca il banner di Google Translate */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Rimuove l'evidenziazione blu (tooltip) che compare sulle parole tradotte */
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Nasconde il contenitore originale del widget se dovesse apparire */
#google_translate_element {
    display: none !important;
}

/* Nasconde gli elementi di Google Translate */
body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon { display: none !important; }
.goog-te-gadget-simple { background: none !important; border: none !important; }
.goog-te-menu-value span { display: none !important; }
/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 4rem;
  color: var(--navy);
}

.hero-divider { width: 60px; height: 1px; background: var(--gold); margin: 2rem 0; margin-top: 0px}

/* --- OTTIMIZZAZIONE HERO MOBILE --- */

.hero-brand { 
  font-family: var(--font-title); 
  /* clamp ridimensiona tra 3rem e 6rem in base allo schermo */
  font-size: clamp(4rem, 12vw, 6rem); 
  margin-bottom: 0;
  padding: 0 1rem; /* Margine di sicurezza ai lati */
  line-height: 1.1;
}

/* 2. Il Sottotitolo (PhotoBooth & VideoBooth) */
.hero-sub { 
  color: var(--gold); 
  font-family: var(--font-title); 
  font-size: clamp(1.6rem, 5vw, 2rem); 
  font-style: italic; 
  margin-top: 0; /* Rimosso il margine negativo che creava sovrapposizioni */
  padding: 0 1rem;
}

/* 3. La frase "Ogni festa ha un'anima..." */
.hero-tagline {
  color: var(--navy); 
  font-family: var(--font-title); 
  font-size: clamp(1.4rem, 4vw, 1.5rem); 
  font-style: italic;
  margin-top: 10px; 
  margin-bottom: 2rem;
  line-height: 1.4;
  padding: 0 15px;
}

/* 4. Logica per il salto riga solo su Mobile */
.mobile-break {
  display: none; /* Nascosto su Desktop */
}

@media (max-width: 768px) {
  .mobile-break {
    display: block; /* Visibile solo sotto i 768px */
  }
  
  #hero {
    padding-top: 100px; /* Spazio per la navbar su mobile */
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.btn-primary { border: 1px solid var(--gold); color: var(--gold); padding: 1rem 2rem; text-transform: uppercase; }
.btn-primary:hover { background: var(--gold); color: var(--navy); }

/* ─── SEZIONI ─── */
section { padding: 4rem 2rem; }
.centered { text-align: center; }
.section-label { color: var(--gold); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }
.section-title { font-family: var(--font-title); font-size: 2.5rem; margin-top: 0.5rem; }
.section-divider { width: 50px; height: 1px; background: var(--gold); margin: 1.5rem auto; }

/* ─── CARDS SERVIZI ─── */
#servizi {
  background-color: var(--navy); 
  color: var(--white);
  padding: 4rem 0; /* Padding sopra/sotto, 0 ai lati */
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra il titolo e la grid */
}

/* Assicuriamoci che il titolo della sezione sia visibile sul blu */
#servizi .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 1rem;
}
/* ─── CARDS SERVIZI ─── */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem; /* Crea lo spazio dai bordi del telefono */
  justify-items: center; /* Centra la card nella sua cella */
}

.servizio-card { 
  background-color: var(--white); /* Sfondo card bianco */
  padding: 2.5rem 1.5rem; 
  text-align: center; 
  transition: 0.3s ease; 
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /*border: none !important; /* Rimuove bordi residui */
  width: 100%; /* Occupa lo spazio della colonna */
  max-width: 480px; /* Ma non diventa mai enorme */
  box-shadow: 0 10px 30px rgba(179, 179, 179, 0.2);
}

.servizio-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.3); 
}

/* Forza il colore Navy per i titoli delle card */
.servizio-card h3 {
  color: var(--navy) !important;
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Forza un grigio scuro per le descrizioni delle card */
.servizio-card p {
  color: #333333 !important; 
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* CONTENITORE IMMAGINE GRANDE */
.card-img-wrap { 
  width: 100%;
  height: 220px; /* Aumentato per dare ancora più spazio ai loghi */
  margin-bottom: 1rem;
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: transparent !important;
}

.card-img-wrap img {
  max-width: 95%;    
  max-height: 200px; 
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* BOTTONE */
.btn-card {
  color: var(--gold) !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Effetto zoom sul logo quando passi il mouse sulla card */
.servizio-card:hover .card-img-wrap img {
  transform: scale(1.1);
}

/* --- FIX SPECIFICO PER MOBILE --- */
@media (max-width: 480px) {
  .servizi-grid {
    grid-template-columns: 1fr; /* Forza una colonna secca */
    padding: 0 1rem;
  }
  
  .servizio-card {
    max-width: 100%; /* La card usa tutto lo spazio disponibile */
  }
}

/* ─── GALLERIA SLIDER ─── */
/* Colore dei titoli nella sezione Galleria */
#galleria .section-title {
    color: var(--white) !important;
}


#galleria .section-divider {
    background: var(--gold); /* Assicuriamoci che anche la linea sia visibile */
}
#galleria .section-subtitle {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-style: italic; 
    opacity: 0.9;       
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#galleria { 
    background-color: var(--navy); 
    padding: 1rem rem; 
}

/* Stile per il contenitore di Behold */
.instagram-feed-wrapper {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.insta-link {
    color: var(--gold); /* Usa il tuo colore oro */
    text-decoration: underline; /* Sottolineatura fissa */
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.insta-link:hover {
    opacity: 0.8;
    text-decoration: none; /* La sottolineatura sparisce al passaggio del mouse (effetto moderno) */
}

/* Rimuovi eventuali vecchi stili della galleria che non usi più 
   per non appesantire il file (facoltativo) */
/*
.gallery-container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.gallery-wrapper {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 20px 0;
  scroll-snap-type: x mandatory; 
}


.gallery-item {
  flex: 0 0 calc(25% - 12px); 
  aspect-ratio: 4/5;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--gold);
  scroll-snap-align: start;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}
*/
/* Frecce di navigazione Carousel */
/*
.nav-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 0 10px;
  transition: 0.3s;
}

.nav-btn:hover {
    transform: scale(1.1);
    background: white;
}
*/
/* ─── NUOVO LIGHTBOX MODERNO ─── */
.lightbox {
  display: none; 
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95); 
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px); 
}

.lightbox-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80%;
  position: relative;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 60%; 
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-content {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border: 2px solid var(--gold);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.3);
}

.lightbox-arrow {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 3.5rem; 
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 20;
  padding: 20px;
}

.lightbox-arrow:hover { opacity: 1; transform: scale(1.1); }
.lightbox-arrow.prev { position: absolute; left: 2%; }
.lightbox-arrow.next { position: absolute; right: 2%; }

.close-lightbox {
  position: absolute;
  top: 30px; right: 40px;
  color: white;
  font-size: 50px;
  cursor: pointer;
  opacity: 0.6;
  z-index: 30;
}

/* ── EFFECTO FOTO PRECEDENTE/SUCCESSIVA ── */
.lightbox-content-wrapper::before,
.lightbox-content-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30%; 
  height: 70%;
  background-size: cover;
  background-position: center;
  filter: blur(8px) grayscale(100%); 
  opacity: 0.2; 
  z-index: -1; 
  transition: 0.5s;
}

/* Queste righe leggono le immagini dal JS */
.lightbox-content-wrapper::before {
  left: -40%; 
  background-image: var(--prev-img); 
}

.lightbox-content-wrapper::after {
  right: -40%; 
  background-image: var(--next-img); 
}

/* Adattamento Mobile */
@media (max-width: 768px) {
  .gallery-item { flex: 0 0 calc(80% - 10px); } /* Foto più grandi su mobile */
  .lightbox-content-wrapper { max-width: 90%; }
  .lightbox-arrow { font-size: 2.5rem; }
  .lightbox-content-wrapper::before,
  .lightbox-content-wrapper::after { display: none; }
}

/* ─── FORM PREVENTIVO ─── */
#preventivo { 
  background: var(--light); 
  padding: 5rem 2rem; 
}

.preventivo-inner { 
  max-width: 900px; /* Un po' più largo per somigliare allo screenshot */
  margin: 0 auto; 
}

/* Titolo e sottotitolo */
#preventivo .section-title {
  color: var(--gold);
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Griglia del form */
.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 1.5rem; 
  margin-bottom: 1.5rem; 
}

/* Mobile: una colonna sola */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group { 
  display: flex; 
  flex-direction: column; 
  margin-bottom: 1.5rem; 
}

/* Etichette (Labels) */
.form-group label {
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Input e Textarea */
.form-group input, 
.form-group textarea { 
  padding: 0.8rem; 
  border: 1px solid var(--navy); /* Bordi sottili color navy */
  background: white;
  font-family: var(--font-body);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: var(--gold); /* Cambia colore quando clicchi */
}

/* Checkbox Style */
.checkbox-group {
  display: flex;
  flex-direction: column; 
  gap: 0.8rem;
  margin-top: 0.5rem;
  /* Aggiunta: un bordo sottile a sinistra color oro per richiamare gli altri campi */
  border-left: 2px solid var(--gold);
  padding-left: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Bottone Invio */
.btn-submit { 
  width: 100%;
  background: var(--gold); /* Colore oro come nello screenshot */
  color: var(--navy); 
  padding: 1.2rem; 
  border: none; 
  cursor: pointer; 
  text-transform: uppercase; 
  letter-spacing: 2px;
  font-weight: bold;
  margin-top: 1rem;
  transition: 0.3s;
}

.btn-submit:hover {
  filter: brightness(1.1);
}


/* ─── CONTATTI ─── */
#contatti { 
  background: white; 
  padding: 0rem 0rem;
}

#contatti .section-title {
  color: var(--gold) !important; /* Forza il colore Navy */
  text-align: left;              /* Mantiene l'allineamento a sinistra come nello screenshot */
  font-size: 3.5rem;             /* Opzionale: per renderlo grande come in foto */
    margin-bottom: 2rem;
}

.contatti-layout { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  max-width: 1100px; 
  margin: 0 auto; 
  gap: 4rem; 
  align-items: center;
}

.contact-info-item { 
  margin-bottom: 1.5rem; 
  display: flex; 
  align-items: center; 
  gap: 1.2rem; 
}

.contact-info-item a {
  font-size: 1.4rem;
  color: #8a0000; /* Rosso scuro come nello screenshot */
  text-decoration: underline;
  font-weight: 500;
}

.contact-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.contact-big-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* ─── FOOTER ─── */
.main-footer {
  background: white;
}

/* Fascia Blu con Nuvole */
.footer-clouds {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.clouds-text p {
  color: var(--gold);
  font-family: 'Playfair Display', serif; /* O un font corsivo elegante */
  font-size: 2.2rem;
  font-style: italic;
  text-align: center;
}

/* Logo Centrale */
.footer-logo-row {
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.footer-logo-img {
  max-width: 400px;
}

/* Barra Bottom Copyright */
.footer-bottom {
  padding: 1.5rem 2rem;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-logo {
  height: 50px;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials img {
  width: 25px;
  transition: 0.3s;
}

.footer-socials img:hover {
  transform: scale(1.2);
}

.footer-copy p {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Badge Matrimonio.com */
.wedding-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wedding-badge img {
  height: 45px; /* Lo teniamo simile all'altezza del tuo mini-logo che è 50px */
  width: auto;
  transition: transform 0.3s ease;
}

.wedding-badge img:hover {
  transform: scale(1.1);
}
/* Responsive Mobile */

@media (max-width: 768px) {
  /* Sezione Contatti */
  #contatti {
    padding: 3rem 1rem; /* Aggiunge spazio sopra e sotto */
  }

  #contatti .section-title {
    text-align: center !important; /* Forza il titolo al centro */
    font-size: 2.5rem;             /* Ridimensiona per mobile */
    margin-bottom: 2rem;
  }

  .contatti-layout { 
    grid-template-columns: 1fr; 
    text-align: center; 
    justify-items: center; /* Centra gli elementi nella griglia */
  }

  .contact-info-item { 
    justify-content: center; /* Centra l'unione Icona + Link */
    width: 100%;
  }

  /* Logo grande in basso */
  .contact-big-logo {
    max-width: 80%;
    margin: 2rem auto 0;
    display: block;
  }

  /* Footer e Testi */
  .footer-bottom-inner { 
    flex-direction: column; 
    gap: 1.5rem; 
    text-align: center; 
  }

  .clouds-text p { 
    font-size: 1.2rem; /* Leggermente più piccolo per evitare sovrapposizioni */
    line-height: 1.4;
    padding: 0 1rem;
  }
  
  .footer-bottom-inner { 
    flex-direction: column; 
    gap: 2rem; /* Aumentato il gap da 1.5 a 2 per dare spazio al badge */
    text-align: center; 
  }

  .wedding-badge img {
    height: 40px; /* Leggermente più piccolo su mobile */
  }
}
/* ─── MOBILE ─── */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav-toggle span { width: 25px; height: 2px; background: navy; }

@media (max-width: 768px) {
  #navbar { padding: 0 1.5rem; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 2rem; border-bottom: 1px solid var(--gold); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .contatti-layout { grid-template-columns: 1fr; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── PAGINA PRODOTTO FEAMIRROR  ─── */

.product-page {
    background-color: var(--navy) !important;
}

/* Griglia: Testo a Sinistra, Immagine a Destra */
.product-container {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important; 
    gap: 5rem;
    max-width: 1350px;
    margin: 0 auto;
    padding: 140px 2rem 6rem;
    align-items: start;
    width: 100%;
}

/* 1. IMMAGINE (DESTRA) - Pulizia del Box Blu */
/* ─── FIX DEFINITIVO IMMAGINE (DESTRA) ─── */

.product-image {
    display: flex;
    justify-content: flex-end; /* Spinge l'immagine verso il bordo destro */
    align-items: flex-start;
    background: transparent !important; /* Elimina qualsiasi colore di sfondo residuo */
    padding: 0 !important;             /* Elimina spazi interni che creano il "box" */
    border: none !important;
    position: sticky;
    top: 120px;
    /* Rimuoviamo eventuali box-shadow o border-radius dal contenitore */
    box-shadow: none !important;
    border-radius: 0 !important;
}

.product-image img {
    width: auto;               /* Permette alla foto di mantenere le sue proporzioni reali */
    max-width: 100%;           /* Non esce mai dal contenitore */
    height: auto;
    max-height: 85vh;          /* Si adatta all'altezza dello schermo */
    object-fit: contain;
    display: block;
    
    /* STILE WIX: Applichiamo bordi e ombra SOLO all'immagine stessa */
    border-radius: 20px;       /* Bordi arrotondati sulla foto */
    border: 1px solid rgba(218, 165, 32, 0.3); /* Sottile bordo oro */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); /* Ombra profonda per staccarla dallo sfondo */
}

/* 2. TESTI (SINISTRA) */
.product-title {
    font-family: var(--font-title);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--gold) !important; /* Titolo ORO */
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.product-subtitle {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-style: italic;
    font-weight: 700;
    color: var(--gold) !important; /* Sottotitolo ORO */
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

.product-description p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--white) !important; /* Descrizione BIANCA */
    margin-bottom: 1.5rem;
}

.product-description strong, 
.features-list li strong {
    color: var(--white) !important; /* Parole chiave in ORO */
    font-weight: 800;
}

.service-header {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 700;
    color: var(--gold) !important; /* Titolo Service ORO */
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.features-list li {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--white) !important; /* Elenco BIANCO */
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold) !important; /* Puntini ORO */
    font-size: 1.8rem;
    top: -5px;
}

/* 3. RESPONSIVE MOBILE */
@media (max-width: 992px) {
  .product-container {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 100px;
    gap: 2rem;
    text-align: center; /* Centra i testi su mobile */
  }

  /* ORDINE 1: Titolo e Sottotitolo */
  .product-header {
    order: 1;
    margin-bottom: 1rem;
  }

  /* ORDINE 2: L'Immagine */
  .product-image {
    order: 2;
    position: static; /* Rimuove lo sticky su mobile */
    margin: 1rem 0;
  }
  
  .product-image img {
    max-height: 400px;
    width: auto;
    margin: 0 auto;
  }

  /* ORDINE 3: Descrizione e lista */
  .product-details {
    order: 3;
    text-align: left; /* La descrizione è meglio leggerla allineata a sinistra */
  }

  .features-list li {
    justify-content: flex-start;
  }
}

/* --- AGGIUSTAMENTO PER DESKTOP (Sopra i 992px) --- */
@media (min-width: 993px) {
  .product-container {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    grid-template-areas: 
      "header image"
      "details image";
    gap: 3rem 5rem;
  }

  .product-header { grid-area: header; }
  .product-details { grid-area: details; }
  .product-image   { grid-area: image; }
}

/* ─── VARIANTE DARK PER IL FORM (Navy Background) ─── */
.section-dark-bg {
  background-color: var(--navy) !important;
  border-top: 1px solid rgba(218, 165, 32, 0.2);
}

.section-dark-bg .section-title {
  color: var(--gold) !important;
}

.section-dark-bg .form-group label {
  color: var(--gold) !important;
}

.section-dark-bg input, 
.section-dark-bg textarea,
.section-dark-bg select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(218, 165, 32, 0.4) !important;
  color: var(--white) !important;
}

.section-dark-bg .checkbox-label {
  color: var(--white) !important;
}

.section-dark-bg .form-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Responsive per Tablet/Mobile */
@media (max-width: 992px) {
  .product-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }
  .features-list li {
    justify-content: center;
  }
}


/* PAGINA PARTNER */

/* 1. Modifica il titolo per l'oro e la riga singola */
.partner-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.;
  margin-bottom: 2rem;
}

/* Nuova classe per la scritta Fea Moments in oro */
.gold-text {
  color: var(--gold);
  font-style: italic;
  white-space: nowrap; /* Impedisce l'andata a capo */
}

/* 2. Nuovo wrapper per l'immagine a tutta larghezza (Full Width) */
.full-width-img-container {
  width: 100vw; /* Occupa tutta la larghezza dello schermo */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.full-width-img-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Ombra dorata come nel tuo stile originale */
  filter: drop-shadow(0 10px 40px rgba(218,165,32,0.2));
}

/* 3. Sottotesto dorato e corsivo */
.partner-hero-sub.gold-highlight {
  color: var(--white);
  font-family: var(--font-accent); /* Cormorant Garamond */
  font-style: italic;
  font-size: 1.2rem;
  max-width: 800px;
}

/* ─── HERO PARTNER ─── */
#partner-hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 6rem;
  color: var(--white);
}

.partner-hero-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUp 0.9s ease both;
}

.partner-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.partner-hero-img-wrap {
  margin: 0 auto 2.5rem;
  max-width: 700px;
}

.partner-hero-img-wrap img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(218,165,32,0.25));
}

.partner-hero-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.partner-hero-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-partner-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 2.2rem;
  font-family: var(--font-menu);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-partner-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-partner-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 1rem 2.2rem;
  font-family: var(--font-menu);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-partner-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ───  SEZIONE VANTAGGI ─── */
.section-benefits-navy {
  background-color: #001529; /* Navy scuro */
  padding: 6rem 2rem;
  text-align: center;
}

.section-benefits-navy .section-title {
  color: #ffffff !important; /* Forza il titolo in bianco */
}

.benefits-grid-row {
  display: grid;
  grid-template-columns: 1fr; /* Una colonna su mobile */
  gap: 1.2rem;
  max-width: 1400px;
  margin: 3rem auto 0;
}

/* Display su PC: Tutte le box sulla stessa riga */
@media (min-width: 1024px) {
  .benefit-card-gold {
    padding: 3.5rem 2rem;
    min-height: 420px; 
    max-width: none; /* Su PC segue la griglia */
  }
}

.benefit-card-gold {
  background-color: #c59d33;
  padding: 1.5rem; /* Ridotto per mobile */
  text-align: center;
  border: 2px solid #7a1a1a;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto; 
  margin: 0 auto;
  width: 100%;
  max-width: 320px; /* Evita che la card diventi troppo larga occupando tutto lo schermo */
}

.benefit-card-gold:hover {
  transform: translateY(-10px);
}

.benefit-card-gold .benefit-icon {
  font-size: 3rem; /* Leggermente più piccola su mobile */
  color: #7a1a1a;
  margin-bottom: 1rem; /* Ridotto da 1.5rem o 2rem */
}

.benefit-card-gold h3 {
  color: #7a1a1a;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem; /* Ridotto spazio sotto il titolo */
  line-height: 1.2;
}

.benefit-card-gold p {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 0; /* Rimuovi l'auto se vuoi che il testo stia vicino al titolo */
}
/* ─── SEZIONE VANTAGGI OTTIMIZZATA MOBILE ─── */
.section-benefits-navy {
  background-color: #001529;
  padding: 3rem 1rem; /* Padding molto più stretto su mobile */
}

.benefits-grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem; /* Gap ridotto tra una card e l'altra */
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .benefits-grid-row { grid-template-columns: repeat(5, 1fr); }
}

.benefit-card-gold {
  background-color: #c59d33;
  padding: 2rem 1.5rem; /* Più piccolo su mobile */
  text-align: center;
  border: 2px solid #7a1a1a; /* Bordo rosso scuro */
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .benefit-card-gold {
    padding: 3.5rem 2rem;
    min-height: 420px; /* Altezza fissa solo su PC */
  }
}

.benefit-card-gold .benefit-icon {
  font-size: 3.5rem; /* Icona più proporzionata */
  color: #7a1a1a;
  margin-bottom: 1.5rem;
}

.benefit-card-gold h3 {
  color: #7a1a1a;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.benefit-card-gold p {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* ─── SEZIONE CHI PUO DIVENTARE PARTNER (STILE IMMAGINE) ─── */
.section-who-navy {
  background-color: #001529;
  padding: 0rem 1.5rem;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .section-who-navy { padding: 8rem 4rem; }
}

.who-title-gold {
  font-family: 'Bodoni Moda', serif;
  color: #daa520;
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1rem;
}

.who-subtitle-gold {
  font-size: 1.3rem;
  color: white;
  max-width: 700px;
  line-height: 1.4;
  margin-bottom: 4rem;
}

.who-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .who-columns { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

.who-box-gold {
  background-color: #c59d33;
  border: 4px solid #7a1a1a; /* Bordo rosso scuro */
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: 4px;
}

.who-box-gold h4 {
  color: #7a1a1a;
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.who-box-gold p { color: #7a1a1a; font-size: 0.9rem; margin: 0; }

/* Immagine con arco curvo */
.who-image-arch {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-bottom-left-radius: 120px;
  border-top-right-radius: 120px;
  border-bottom-right-radius: 120px;
}

/* Banner CTA finale con bordo oro */
.who-cta-banner-gold {
  margin-top: 6rem;
  border: 2px solid #daa520;
  border-radius: 12px;
  padding: 3rem;
}

.who-cta-banner-gold h5 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.who-cta-banner-gold .italic-gold {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  color: #daa520;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  /* Titolo: ridotto per stare su 2 righe invece di 3 */
  .who-title-gold {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Ridimensionamento fluido */
    text-align: center;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  /* Sottotitolo bianco: stesso font del titolo gold per eleganza */
  .who-subtitle-gold {
    font-family: 'Bodoni Moda', serif; /* Unifica il font */
    font-size: 1.1rem;
    text-align: center;
    margin: 0 auto 2rem; /* Centra il testo */
    max-width: 100%;
    line-height: 1.5;
  }
}
.section-who-navy {
  display: flex;
  flex-direction: column;
  align-items: center; /* Forza la centratura di tutti gli elementi */
  padding: 4rem 1.5rem;
}
/* ─── SELECT nel form dark ─── */
.section-dark-bg select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(218, 165, 32, 0.4) !important;
  color: var(--white) !important;
  padding: 0.8rem;
  font-family: var(--font-body);
  border-radius: 4px;
  outline: none;
  width: 100%;
  appearance: none;
  cursor: pointer;
}

.section-dark-bg select option {
  background: var(--navy);
  color: var(--white);
}

/* ─── RESPONSIVE PARTNER ─── */
@media (max-width: 992px) {
  .partner-who-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .partner-who-img img {
    height: 350px;
  }
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 600px) {
  .partner-hero-title {
    font-size: 2.2rem;
  }
  .partner-hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .btn-partner-primary,
  .btn-partner-outline {
    width: 100%;
    text-align: center;
  }
  .partner-cta-banner {
    padding: 2.5rem 1.5rem;
  }
  .partner-cta-banner p {
    font-size: 1.5rem;
  }
}


/* 1. Nasconde il frame del banner */
.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

/* 2. Impedisce a Google di spostare la pagina verso il basso */
html {
    margin-top: 0px !important;
}

body {
    top: 0px !important;
    position: static !important;
}

/* 3. Nasconde il widget originale che Google inietta a volte a fondo pagina */
.skiptranslate > iframe {
    height: 0 !important;
    border: none !important;
    display: none !important;
}

/* 4. Rimuove il tooltip blu/grigio quando passi il mouse sul testo tradotto */
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}
