/* ==========================================================================er
   Thetis Yacht Charter — stile condiviso
   ========================================================================== */

:root {
  /* Nuova palette da immagine */
  --night-blue: #010080;       /* Teal Green Desaturated - Colore primario / accento */
  --light-blue: #ADD9E6;       /* Slate Blue Muted - Colore secondario */
  --slate-gray: #7B8DA1;        /* Sea Salt Grey - Sfondi tenui */
  
  /* Bianco e Nero di base */
  --white: #FFFFFF;           /* Pure White */
  --black: #111827;           /* Nero profondo per testi ad alto contrasto */
  --black-soft: rgba(17, 24, 39, 0.75);

  /* Font scelti */
  --font-display: 'Cinzel', serif;
  --font-body: 'Lato', sans-serif;

  --max-width: 1320px;
  --header-height: 150px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--light-blue);
  line-height: 1.6;
  padding-top: var(--header-height); /* compensa l'header fixed */
}
body.page-home { padding-top: 0; } /* in home l'hero parte da y=0, sotto l'header trasparente */

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--night-blue);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--black-soft); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-blue);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.section { padding: 5.5rem 0; }
.section--tight { padding: 3.5rem 0; }

.section--navy { background: var(--night-blue); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255, 255, 255, 0.85); }

/* ==========================================================================
   Header / Navigazione
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Mette il logo a sinistra e l'hamburger/menu a destra */
  height: 100%;
}

@media (max-width: 859px) {
  .site-header {
    height: 100px; 
  }
}

/* ==========================================================================
   LOGO RESPONSIVE E DINAMICO
   ========================================================================== */

/* Contenitore del logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001; /* Assicura che il logo resti sempre cliccabile sopra la tendina */
}

/* Immagine del logo (Desktop) */
.logo-img {
  height: 130px; /* Altezza base per computer e tablet grandi */
  width: auto;  /* Mantiene le proporzioni originali (non lo deforma) */
  max-width: 100%;
  transition: transform 0.3s ease, filter 0.35s ease;
}

/* Effetto al passaggio del mouse */
.logo-link:hover .logo-img {
  transform: scale(1.03);
}

/* --- VERSIONE MOBILE DEL LOGO --- */
/* Rimpicciolisce il logo sugli smartphone per fare spazio al pulsante Menu */
@media (max-width: 859px) {
  .logo-img {
    height: 72px; 
  }
}

/* --- CAMBIO COLORE MAGICO PER LA HOME PAGE --- */
/* 
   Quando l'header è trasparente (inizio pagina Home), 
   usa un filtro per forzare l'SVG a diventare tutto bianco e luminosissimo 
*/
body.page-home .site-header:not(.scrolled):not(.menu-open) .logo-img {
  filter: brightness(0) invert(1);
}

/* 
   Quando l'utente scorre giù (.scrolled) o apre il menu mobile (.menu-open), 
   rimuove il filtro bianco e l'SVG torna ai suoi bellissimi colori originali (Teal & Slate) 
*/
body.page-home .site-header.scrolled .logo-img,
body.page-home .site-header.menu-open .logo-img {
  filter: none;
}


/* --- NAVIGAZIONE DESKTOP E MOBILE --- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links { 
  display: flex; 
  gap: 2.2rem; 
  list-style: none; 
}

.nav-links a {
  font-size: 1.40rem; /* AUMENTATO da 0.95rem (ora è circa 18px) */
  font-weight: 500;
  color: var(--black);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.35s ease;
}
.nav-links a.active,
.nav-links a:hover { color: var(--night-blue); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--night-blue);
}

.mobile-socials {
  display: none; /* Nascosto su desktop */
}

/* --- HAMBURGER MENU --- */
.nav-toggle {
  display: none; /* Nascosto su desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Sopra il menu a tendina */
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--night-blue);
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* Animazione Hamburger quando il menu è aperto (X) */
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); }


/* --- VERSIONE MOBILE (Menu a tendina) --- */
@media (max-width: 859px) {
  .nav-toggle {
    display: flex; /* Mostra l'hamburger */
  }

  .main-nav {
    position: absolute;
    top: var(--header-height); /* Inizia esattamente sotto l'header */
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 0;
    max-height: 0; /* Altezza zero di default */
    overflow: hidden; /* Nasconde il contenuto che sborda */
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, box-shadow 0.3s ease;
    box-shadow: none;
  }

  /* Quando il menu è aperto (aggiunto via JavaScript) */
  .main-nav.open {
    max-height: 500px; /* Un valore abbastanza grande da contenere i link */
    padding: 2rem 0;
    box-shadow: 0 10px 15px -3px rgba(17, 24, 39, 0.1);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    width: 100%;
  }

  .nav-links a {
    font-size: 1.4rem; /* Link leggermente più grandi su mobile */
  }

  /* Mostra i social nel menu a tendina */
  .mobile-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    width: 80%;
    justify-content: center;
  }
  
  .mobile-socials a { color: var(--night-blue); }
}

/* --- COMPORTAMENTO HEADER TRASPARENTE IN HOME PAGE --- */
body.page-home .site-header:not(.scrolled) {
  background: transparent;
  box-shadow: none;
}
/* Su home, logo e testi nav sono bianchi PRIMA dello scroll */
body.page-home .site-header:not(.scrolled) .logo,
body.page-home .site-header:not(.scrolled) .nav-links a { color: var(--white); }
body.page-home .site-header:not(.scrolled) .nav-links a.active::after { background: var(--light-blue); }
body.page-home .site-header:not(.scrolled) .nav-toggle span { background: var(--white); }

/* ECCEZIONE: Quando il menu mobile è APERTO in Home (non scrollata), 
   l'header DEVE diventare solido e i testi neri/verdi, altrimenti non si leggono sullo sfondo bianco della tendina */
body.page-home .site-header.menu-open {
  background: var(--white);
}
body.page-home .site-header.menu-open .logo { color: var(--night-blue); }
body.page-home .site-header.menu-open .nav-links a { color: var(--black); }
body.page-home .site-header.menu-open .nav-toggle span { background: var(--night-blue); }

/* --- RIMUOVI IL CODICE DELLA VECCHIA SIDEBAR --- */
/* Assicurati di eliminare tutte le vecchie classi .mobile-sidebar, .sidebar-close, .sidebar-links, .sidebar-socials, .sidebar-overlay */


/* ---------- Bottoni ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn--primary { background: var(--night-blue); color: var(--white); }
.btn--primary:hover { background: var(--slate-gray); }
.btn--outline { border-color: currentColor; color: inherit; }
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--outline-navy { border-color: var(--night-blue); color: var(--night-blue); }
.btn--outline-navy:hover { background: var(--night-blue); color: var(--white); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Hero (Home) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center; /* Centra la scatola di testo verticalmente nella pagina */
  /* Mantengo IL TUO GRADIENTE AZZURRO a tutto schermo. Ho rimosso l'url dell'immagine da qui. */
  background: linear-gradient(180deg, rgba(1,0,128,0.35) 0%, rgba(173,217,230,0.75) 100%);
  color: var(--white);
  padding-top: var(--header-height); /* Evita che il box finisca sotto l'header */
}

/* Rimuovo padding-bottom: 4.5rem; perché ora usiamo align-items: center per centrare */
.hero .container { 
  max-width: var(--max-width); 
  width: 100%;
}

/* ========================================================
   IL NUOVO RIQUADRO CON L'IMMAGINE E IL TESTO 
   ======================================================== */
.hero-text-box {
  position: relative;
  /* Qui inserisci la tua immagine fotografica. 
     Ho aggiunto un filtro scuro (rgba) sopra la foto per garantire 
     che il testo bianco e il titolo si leggano sempre bene, 
     indipendentemente da quanto sia chiara la foto. */
  background: linear-gradient(180deg, rgba(17,24,39,0.4) 0%, rgba(17,24,39,0.8) 100%),
              url('../media/hero-boat-provvisorio.jpg') center/cover no-repeat;
              
  border-radius: 16px; /* Ecco gli angoli stondati che volevi */
  padding: 4rem; /* Spazio vuoto tra i bordi dell'immagine e il testo */
  
  /* Un'ombra elegante per far "galleggiare" il riquadro sopra il gradiente azzurro */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Spinge il testo in basso all'interno della foto, se la foto fosse molto alta */
}

/* Limita la larghezza del testo per non farlo andare da bordo a bordo dell'immagine */
.hero-content { 
  max-width: 55ch; 
}

.hero p { 
  color: rgba(255,255,255,0.85); 
  margin: 1rem 0 2rem; 
  font-size: 1.1rem;
}

.hero h1 { 
  color: var(--white); 
  text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Ombreggiatura leggera per staccare il titolo dalla foto */
}

/* Adattamento per dispositivi mobili */
@media (max-width: 768px) {
  .hero-text-box {
    padding: 2.5rem 1.5rem; /* Riduciamo i margini interni su smartphone */
  }
}

/* ----------------------------------------------------- */

.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(79,121,123,0.15);
}

/* ---------- Griglie generiche ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

/* ---------- Card Generiche ---------- */

.card { 
  background: var(--white); 
  border: 1px solid rgba(79,121,123,0.15); 
  padding: 2rem; 
  border-radius: 12px; /* Angoli stondati e moderni (non a pillola) */
  overflow: hidden;    /* Mantiene le immagini interne dentro i bordi stondati */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Opzionale: per un effetto hover fluido */
}

.card img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  margin-bottom: 1.2rem; 
  border-radius: 6px; /* Stonda leggermente anche le immagini interne se c'è padding */
}

/* Variante su sfondo scuro */
.card--on-navy { 
  background: transparent; 
  border-color: rgba(255,255,255,0.2); 
}
.card--on-navy h3 { 
  color: var(--white); 
}

/* Variante centrata con avatar circolare */
.card--centered { 
  text-align: center; 
}
.card--centered img.avatar { 
  border-radius: 50%; /* Questo resta circolare solo per gli avatar degli utenti/recensioni */
  width: 140px; 
  height: 140px; 
  margin: 0 auto 1.2rem; 
  object-fit: cover; 
}

/* ==========================================================================
   Griglia 5 Tour (3 sopra, 2 sotto centrate — Tutte della STESSA dimensione)
   ========================================================================== */

/* ==========================================================================
   Layout 5 Tour (3 sopra, 2 sotto centrate — Tutte identiche)
   ========================================================================== */

.grid-5-tours {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centra automaticamente le card rimanenti nella seconda riga */
  gap: 2rem;
  margin-top: 2.5rem;
}

/* DESKTOP (≥ 992px): Esattamente 3 card nella 1ª riga e 2 card centrate nella 2ª */
@media (min-width: 992px) {
  .grid-5-tours > .card {
    flex: 0 0 calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
  }
}

/* TABLET (da 641px a 991px): 2 card per riga, la 5ª centrata in fondo */
@media (min-width: 641px) and (max-width: 991px) {
  .grid-5-tours > .card {
    flex: 0 0 calc((100% - 2rem) / 2);
    max-width: calc((100% - 2rem) / 2);
  }
}

/* SMARTPHONE (≤ 640px): 1 card per riga */
@media (max-width: 640px) {
  .grid-5-tours > .card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Galleria e Modal Ingrandimento Foto (Lightbox)
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* Anteprime nella griglia */
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px; /* Angoli stondati */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(17, 24, 39, 0.08);
}

/* Effetto al passaggio del mouse */
.gallery-grid img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 25px rgba(1, 0, 128, 0.2);
}

/* --- Modal Lightbox (Schermo Intero) --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Sfondo nero a media trasparenza */
  backdrop-filter: blur(4px);            /* Sfondamento morbido (opzionale) */
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lightbox-content-wrapper img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain; /* Mantiene la foto intera senza tagli */
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Titolo/Descrizione sotto la foto ingrandita */
.lightbox-caption {
  margin-top: 1.2rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

/* Pulsante X di chiusura */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  color: var(--light-blue);
  transform: scale(1.1);
}

/* --- Frecce di Scorrimento Lightbox --- */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  padding: 1rem;
  user-select: none;
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  z-index: 2010;
  border-radius: 8px;
}

.lightbox-prev {
  left: 2%;
}

.lightbox-next {
  right: 2%;
}

/* Effetto hover sulle frecce */
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--light-blue);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1.1);
}

/* --- Adattamento Frecce su Mobile --- */
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 0.5rem;
  }
  
  .lightbox-prev {
    left: 0;
  }
  
  .lightbox-next {
    right: 0;
  }
}

/* ==========================================================================
   Adattamento Responsive per Galleria e Lightbox
   ========================================================================== */

/* --- Mobile / Smartphone (Schermi fino a 600px) --- */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); /* Una foto per riga per massimo impatto */
    gap: 1rem;
  }

  .gallery-grid img {
    height: 240px; /* Altezza ottimizzata per lo schermo del telefono */
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-content-wrapper {
    max-width: 95%;
  }

  .lightbox-content-wrapper img {
    max-height: 68vh; /* Lascia spazio al titolo e alla X senza far scorrere la pagina */
  }

  .lightbox-caption {
    font-size: 1rem;
    margin-top: 0.8rem;
  }

  .lightbox-close {
    top: 12px;
    right: 18px;
    font-size: 2.4rem;
  }
}

/* --- Smartphone in orizzontale (Landscape - altezza ridotta) --- */
@media (max-height: 500px) {
  .lightbox-content-wrapper img {
    max-height: 60vh;
  }

  .lightbox-caption {
    font-size: 0.9rem;
    margin-top: 0.4rem;
  }

  .lightbox-close {
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }
}

/* ---------- Form contatti ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}
@media (min-width: 860px) {
  .contact-layout { grid-template-columns: 1.1fr 0.9fr; }
}

/* Avviso Luogo di Partenza */
.departure-notice {
  background: var(--white);
  border-left: 4px solid var(--night-blue);
  padding: 1.2rem 1.8rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(17, 24, 39, 0.05);
}

.departure-notice p {
  font-size: 1.05rem;
  color: var(--black);
}

/* Immagine di affiancamento */
.contact-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stile per il Blocco Informazioni Contatti */
.contact-info-block {
  background: var(--night-blue);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(1, 0, 128, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Singoli Elementi Contatto con Icona */
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item .icon-box {
  width: 46px;
  height: 46px;
  background: rgba(173, 217, 230, 0.15); /* Sfondo celeste traslucido */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-blue);
  flex-shrink: 0;
}

.contact-item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light-blue);
  margin-bottom: 0.2rem;
}

.contact-item a {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--light-blue);
}

@media (max-width: 768px) {
  .contact-image-wrapper {
    min-height: 250px; /* Riduce l'altezza dell'immagine su mobile per mostrare prima i contatti */
  }
}

form.contact-form label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.3rem; margin-top: 1.1rem; }
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(79,121,123,0.25);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 2px;
}
form.contact-form textarea { min-height: 120px; resize: vertical; }
form.contact-form button { margin-top: 1.6rem; }

.contact-info-block { background: var(--night-blue); color: var(--white); padding: 2.4rem; }
.contact-info-block h3 { color: var(--white); }
.contact-info-block .item { margin-bottom: 1.4rem; }
.contact-info-block .item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light-blue);
  margin-bottom: 0.2rem;
}
.contact-info-block a { color: var(--white); font-weight: 500; }
.contact-info-block a:hover { color: var(--light-blue); }

.map-embed { width: 100%; height: 260px; border: 0; margin-top: 1.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site-footer {
  background: var(--night-blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 4.5rem 0 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

/* Colonna Brand */
.footer-brand-col {
  max-width: 340px;
}

/* Logo bianco per risaltare sullo sfondo scuro */
.footer-logo-img {
  height: 72px;
  width: auto;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Titoli delle colonne */
.footer-nav-col h4,
.footer-contact-col h4,
.footer-legal-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

/* Link di Navigazione */
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a,
.footer-contact-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contact-col a:hover {
  color: var(--light-blue);
}

.footer-contact-col p {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Copyright in basso */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

/* Responsive per Smartphone */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-brand-col {
    max-width: 100%;
  }
}