/*
Theme Name: Giro del Mondo Viaggi
Theme URI: https://girodelmondoviaggi.it
Author: Matteo Pennacchi
Author URI: https://girodelmondoviaggi.it
Description: Tema premium per Giro del Mondo Viaggi — consulenza personalizzata per viaggi intorno al mondo. Completamente compatibile con Elementor.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giro-del-mondo
Tags: travel, elementor, full-width, custom-colors, custom-fonts, featured-images
*/

/* =========================================================
   DESIGN SYSTEM — VARIABILI GLOBALI
   ========================================================= */
:root {
  /* Colori principali */
  --gdm-navy:        #1a2744;
  --gdm-navy-dark:   #111d36;
  --gdm-navy-light:  #1e3158;
  --gdm-gold:        #c9922a;
  --gdm-gold-dark:   #a97820;
  --gdm-gold-light:  #d4a843;
  --gdm-cream:       #f5f0e8;
  --gdm-cream-dark:  #ede7d9;
  --gdm-white:       #ffffff;

  /* Testo */
  --gdm-text-dark:   #1a2744;
  --gdm-text-body:   #4a5568;
  --gdm-text-light:  #718096;
  --gdm-text-white:  #ffffff;

  /* Font */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spaziature */
  --section-padding: 100px 0;
  --section-padding-sm: 60px 0;
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Bordi & Ombre */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(26,39,68,0.08);
  --shadow-card-hover: 0 12px 40px rgba(26,39,68,0.16);
  --shadow-btn: 0 4px 16px rgba(201,146,42,0.35);

  /* Transizioni */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gdm-text-body);
  background-color: var(--gdm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gdm-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gdm-gold-dark);
}

ul, ol {
  list-style: none;
}

/* =========================================================
   TIPOGRAFIA
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gdm-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--gdm-text-body);
}

p:last-child { margin-bottom: 0; }

/* =========================================================
   LAYOUT & CONTAINER
   ========================================================= */
.container,
.gdm-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-padding {
  padding: var(--section-padding);
}

.section-padding-sm {
  padding: var(--section-padding-sm);
}

/* =========================================================
   BOTTONI
   ========================================================= */
.btn,
.gdm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary,
.gdm-btn-primary {
  background-color: var(--gdm-gold);
  color: var(--gdm-white);
  border-color: var(--gdm-gold);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.gdm-btn-primary:hover {
  background-color: var(--gdm-gold-dark);
  border-color: var(--gdm-gold-dark);
  color: var(--gdm-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,146,42,0.45);
}

.btn-secondary,
.gdm-btn-secondary {
  background-color: transparent;
  color: var(--gdm-white);
  border-color: transparent;
}

.btn-secondary:hover,
.gdm-btn-secondary:hover {
  color: var(--gdm-gold-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--gdm-navy);
  border-color: var(--gdm-navy);
}

.btn-outline:hover {
  background-color: var(--gdm-navy);
  color: var(--gdm-white);
}

/* =========================================================
   HEADER & NAVIGAZIONE
   ========================================================= */

/* Il body NON ha mai padding-top — l'header sovrasta le sezioni hero.
   Le pagine senza hero usano la classe .gdm-no-hero sul <body>. */
body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* WP a volte aggiunge margin tramite wp_admin_bar — preserviamo solo quella */
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

#masthead,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  /* Gradiente scuro dall'alto: i link del menu sono SEMPRE leggibili
     anche sulla hero, ma la hero rimane visibile sotto */
  background: linear-gradient(
    to bottom,
    rgba(17, 29, 54, 0.72) 0%,
    rgba(17, 29, 54, 0.0)  100%
  );
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

/* Stato scroll: diventa navy pieno e solido */
.site-header.scrolled,
#masthead.scrolled {
  background: #1a2744 !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

/* Pagine senza hero: header sempre navy dal primo pixel */
body.gdm-no-hero .site-header,
body.gdm-no-hero #masthead {
  background: #1a2744 !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: var(--container-wide);
  margin: 0 auto;
}

/* Quando scrolled, header più compatto */
.site-header.scrolled .header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.site-logo img {
  height: 64px;
  width: auto;
}

/* Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul li a {
  color: var(--gdm-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gdm-gold);
  transition: width var(--transition);
}

.main-nav ul li a:hover {
  color: var(--gdm-gold-light);
}

.main-nav ul li a:hover::after {
  width: 100%;
}

/* Header CTA */
.header-cta .btn-primary {
  padding: 12px 24px;
  font-size: 0.9rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gdm-white);
  transition: all var(--transition);
}

/* =========================================================
   HERO SECTION — Homepage & Articoli
   La hero occupa l'intera viewport partendo da y=0.
   L'header fisso trasparente la sovrasta, quindi NESSUN
   margin-top o padding-top sulla hero stessa.
   ========================================================= */
.hero-section,
.hero-article {
  position: relative;
  /* Parte DALL'inizio della pagina, NON dopo l'header */
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--gdm-navy-dark);
}

/* Assicura che il main non aggiunga offset */
.site-main {
  margin-top: 0;
  padding-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 29, 54, 0.25) 0%,
    rgba(17, 29, 54, 0.5)  40%,
    rgba(17, 29, 54, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  margin: 0 auto;
}

/* =========================================================
   ARTICOLO SINGOLO — Hero, intestazione, corpo
   ========================================================= */

/* ── Hero con immagine ─────────────────────────────────── */
.gdm-art-hero {
  position: relative;
  height: 62vh;
  min-height: 360px;
  max-height: 660px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* L'header fisso sovrasta dall'alto — nessun margin-top */
  margin-top: 0;
}

.gdm-art-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.gdm-art-hero__ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,29,54,0.55) 0%,
    rgba(17,29,54,0.68) 100%
  );
}

.gdm-art-hero__wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 860px;
  padding: 0 32px;
  margin: 0 auto;
}

.gdm-art-hero__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gdm-gold-light);
  margin: 0 0 20px;
}

.gdm-art-hero__cat a {
  color: var(--gdm-gold-light);
  text-decoration: none;
}

.gdm-art-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  margin: 0;
}

/* ── Intestazione navy (senza immagine) ────────────────── */
.gdm-art-plain-hdr {
  background: var(--gdm-navy);
  padding: 136px 32px 52px;
  text-align: center;
}

.gdm-art-plain-hdr__inner {
  max-width: 820px;
  margin: 0 auto;
}

.gdm-art-plain-hdr__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-top: 16px;
}

/* ── Corpo articolo ────────────────────────────────────── */
.gdm-art-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  background: #ffffff;
}

/* Barra autore */
.gdm-art-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--gdm-cream-dark);
}

.gdm-art-meta__author {
  display: block;
  font-weight: 600;
  color: var(--gdm-navy);
  font-size: 0.95rem;
}

.gdm-art-meta__info {
  display: block;
  font-size: 0.82rem;
  color: var(--gdm-text-light);
  margin-top: 2px;
}

/* Tag */
.gdm-art-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gdm-cream-dark);
}

.gdm-art-tags__lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gdm-text-light);
}

.gdm-art-tags__item {
  background: var(--gdm-cream);
  color: var(--gdm-navy);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all var(--transition);
}

.gdm-art-tags__item:hover {
  background: var(--gdm-navy);
  color: #fff;
}

/* Navigazione */
.gdm-art-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--gdm-cream-dark);
}

.gdm-art-nav a {
  display: block;
  text-decoration: none;
  transition: opacity var(--transition);
}

.gdm-art-nav a:hover { opacity: 0.72; }

.gdm-art-nav__lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gdm-text-light);
  margin-bottom: 8px;
}

.gdm-art-nav__ttl {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gdm-navy);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .gdm-art-hero       { height: 52vh; min-height: 300px; }
  .gdm-art-hero__title { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .gdm-art-body        { padding: 40px 20px 72px; }
  .gdm-art-nav         { grid-template-columns: 1fr; }
}

/* =========================================================
   PROSA ARTICOLO — Tipografia corpo testo
   ========================================================= */
.gdm-prose {
  font-size: 1.07rem;
  line-height: 1.85;
  color: var(--gdm-text-body);
}

.gdm-prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--gdm-navy);
  margin: 52px 0 20px;
  line-height: 1.2;
}

.gdm-prose h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--gdm-navy);
  margin: 40px 0 16px;
}

.gdm-prose p { margin-bottom: 1.5rem; }

.gdm-prose a {
  color: var(--gdm-gold);
  border-bottom: 1px solid rgba(201,146,42,0.35);
  text-decoration: none;
  transition: all var(--transition);
}

.gdm-prose a:hover {
  color: var(--gdm-gold-dark);
}

.gdm-prose blockquote {
  border-left: 4px solid var(--gdm-gold);
  padding: 20px 28px;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gdm-text-body);
  background: var(--gdm-cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 36px 0;
}

.gdm-prose img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 32px 0;
  display: block;
}

.gdm-prose figure { margin: 36px 0; }

.gdm-prose figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gdm-text-light);
  margin-top: 10px;
  font-style: italic;
}

.gdm-prose ul {
  list-style: disc;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.gdm-prose ol {
  list-style: decimal;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.gdm-prose li { margin-bottom: 0.6rem; }

.gdm-prose code {
  background: var(--gdm-cream);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'Courier New', monospace;
}

.gdm-prose pre {
  background: var(--gdm-navy);
  color: var(--gdm-cream);
  padding: 24px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 28px 0;
}
  position: relative;
  height: 65vh;
  min-height: 380px;
  max-height: 680px;
  overflow: hidden;
  /* Allineamento contenuto: centrato verticalmente */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Immagine di sfondo */
.gdm-single-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Leggero effetto zoom al caricamento */
  animation: gdmHeroZoom 8s ease-out both;
}

@keyframes gdmHeroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

/* Overlay gradiente: leggero in alto (header trasparente),
   più marcato al centro per il testo */
.gdm-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 29, 54, 0.55) 0%,    /* top: copre header trasparente */
    rgba(17, 29, 54, 0.65) 50%,
    rgba(17, 29, 54, 0.72) 100%
  );
}

/* Contenuto hero: centrato */
.gdm-single-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 32px;
  margin: 0 auto;
}

/* Categoria · Data */
.gdm-single-hero__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gdm-gold-light);
  margin-bottom: 20px;
}

.gdm-single-hero__cat a {
  color: var(--gdm-gold-light);
  text-decoration: none;
}

/* Titolo articolo sulla hero — BIANCO, centrato, leggibile */
.gdm-single-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  margin: 0;
}


/* =========================================================
   HERO HOMEPAGE — Testi e bottoni
   ========================================================= */
.hero-content h1 {
  color: var(--gdm-white);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 48px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-btn-secondary {
  color: var(--gdm-white);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-secondary:hover {
  color: var(--gdm-gold-light);
}

/* =========================================================
   PRESS BAR
   ========================================================= */
.press-bar {
  background: var(--gdm-cream);
  padding: 24px 0;
  border-bottom: 1px solid var(--gdm-cream-dark);
}

.press-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.press-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gdm-text-light);
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid var(--gdm-cream-dark);
}

.press-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.press-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gdm-text-light);
  opacity: 0.6;
  transition: opacity var(--transition);
  font-style: italic;
}

.press-logo:hover {
  opacity: 1;
  color: var(--gdm-navy);
}

/* =========================================================
   ABOUT SECTION (Chi Siamo)
   ========================================================= */
.about-section {
  padding: 100px 0;
  background: var(--gdm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80%;
  height: 80%;
  border: 3px solid var(--gdm-gold);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-quote {
  border-left: 4px solid var(--gdm-gold);
  padding: 16px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gdm-text-body);
  background: transparent;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}

.stat-item {}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gdm-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gdm-text-light);
  margin-top: 6px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gdm-gold);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
  border-bottom: 2px solid var(--gdm-gold);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.about-link:hover {
  color: var(--gdm-gold-dark);
  border-color: var(--gdm-gold-dark);
  gap: 14px;
}

/* =========================================================
   PROPOSTE SECTION
   ========================================================= */
.proposte-section {
  padding: 100px 0;
  background: var(--gdm-cream);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gdm-text-body);
}

.proposte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.proposta-card {
  background: var(--gdm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.proposta-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.proposta-card.featured {
  border-top: 3px solid var(--gdm-gold);
}

.proposta-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.proposta-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proposta-card:hover .proposta-card-image img {
  transform: scale(1.06);
}

.proposta-card-body {
  padding: 28px;
}

.proposta-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.proposta-card.featured h3 {
  color: var(--gdm-gold);
}

.proposta-card-body p {
  font-size: 0.95rem;
  color: var(--gdm-text-body);
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gdm-gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 12px;
  color: var(--gdm-gold-dark);
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--gdm-navy);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.stat-block {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-block:last-child {
  border-right: none;
}

.stat-block-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gdm-gold);
  line-height: 1;
}

.stat-block-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section {
  padding: 100px 0;
  background: var(--gdm-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.testimonial-card {
  background: var(--gdm-cream);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative;
}

.testimonial-quote-icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--gdm-gold);
  opacity: 0.2;
  position: absolute;
  top: 16px;
  left: 24px;
  font-style: normal;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gdm-text-body);
  margin-bottom: 28px;
  position: relative;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gdm-navy);
  margin-bottom: 4px;
}

.testimonial-trip {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gdm-text-light);
}

.testimonials-cta {
  text-align: center;
  margin-top: 48px;
}

/* =========================================================
   CONTACT FORM SECTION
   ========================================================= */
.contact-section {
  padding: 100px 0;
  background: var(--gdm-navy);
}

.contact-card {
  background: var(--gdm-white);
  border-radius: var(--radius-lg);
  padding: 64px 72px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.contact-card h2 {
  text-align: center;
  margin-bottom: 16px;
}

.contact-card .subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--gdm-text-body);
  margin-bottom: 48px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gdm-text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: var(--gdm-cream);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gdm-text-dark);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gdm-gold);
  background: var(--gdm-white);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gdm-text-light);
  margin-top: 16px;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section {
  padding: 100px 0;
  background: var(--gdm-cream);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-item {
  background: var(--gdm-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(26,39,68,0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gdm-navy);
  user-select: none;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--gdm-cream);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gdm-gold);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--gdm-text-body);
  line-height: 1.8;
}

/* =========================================================
   BOOK / AUTHORITY SECTION
   ========================================================= */
.book-section {
  padding: 80px 0;
  background: var(--gdm-cream);
}

.book-inner {
  background: var(--gdm-cream-dark);
  border-radius: var(--radius-lg);
  max-width: calc(var(--container-max) - 48px);
  margin: 0 auto;
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.book-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 20px;
}

.book-content p {
  font-size: 1rem;
  margin-bottom: 32px;
}

.book-divider {
  border: none;
  border-top: 1px solid var(--gdm-cream-dark);
  margin: 28px 0;
}

.press-names {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.press-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gdm-text-light);
  font-style: italic;
}

.book-collab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gdm-navy);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid var(--gdm-navy);
  padding-bottom: 2px;
  transition: all var(--transition);
}

.book-collab-link:hover {
  color: var(--gdm-gold);
  border-color: var(--gdm-gold);
}

.book-image-wrap {
  flex-shrink: 0;
}

.book-image-wrap img {
  width: 240px;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: rotate(2deg);
  transition: transform var(--transition);
}

.book-image-wrap img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* =========================================================
   BLOG SECTION
   ========================================================= */
.blog-section {
  padding: 100px 0;
  background: var(--gdm-white);
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto 48px;
  padding: 0 24px;
}

.blog-header-text {}

.blog-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 8px;
}

.blog-header p {
  font-size: 1rem;
}

.blog-all-link {
  color: var(--gdm-gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: gap var(--transition);
}

.blog-all-link:hover {
  gap: 12px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.blog-card {}

.blog-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gdm-gold);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gdm-text-body);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.blog-read-link:hover {
  color: var(--gdm-navy);
  gap: 12px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--gdm-navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {}

/* Logo nel footer: da Personalizza → Logo */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo,
.footer-logo-link img {
  height: 56px;
  width: auto;
  display: block;
}

/* WordPress custom logo nel footer */
.footer-logo-link .custom-logo {
  height: 56px;
  width: auto;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gdm-gold);
  color: var(--gdm-white);
}

/* Colonne footer — titoli (anche via widget) */
.footer-col h4,
.footer-col-title,
.footer-col .widgettitle,
.footer-col .widget-title,
.footer-widget .widgettitle,
.footer-widget .widget-title {
  color: var(--gdm-white) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-family: var(--font-body) !important;
  margin-bottom: 20px !important;
}

/* Link nelle colonne footer (sia default che widget) */
.footer-col ul li,
.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col ul li a:visited,
.footer-widget ul li a,
.footer-widget ul li a:visited {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover,
.footer-widget ul li a:hover {
  color: var(--gdm-gold-light);
}
.footer-col ul li a:hover {
  color: var(--gdm-gold-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-cta {
  margin-top: 20px;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* =========================================================
   ELEMENTOR OVERRIDES
   ========================================================= */
.elementor-section.elementor-section-full_width .elementor-section-wrap,
.elementor-section.elementor-section-full_width > .elementor-container {
  max-width: 100%;
}

.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-heading) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
  .proposte-grid { grid-template-columns: 1fr; max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px; }
  .stat-block:nth-child(2n) { border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .book-inner { grid-template-columns: 1fr; text-align: center; padding: 48px 40px; }
  .book-image-wrap { margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 72px 0; }

  .header-inner { padding: 16px 24px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: fixed; inset: 0; background: var(--gdm-navy); z-index: 999; padding: 80px 24px; }
  .main-nav.open ul { flex-direction: column; gap: 24px; }
  .main-nav.open ul li a { font-size: 1.5rem; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  .contact-card { padding: 40px 24px; }
  .contact-form-grid { grid-template-columns: 1fr; }

  .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   ANIMAZIONI
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.text-gold    { color: var(--gdm-gold) !important; }
.text-navy    { color: var(--gdm-navy) !important; }
.text-white   { color: var(--gdm-white) !important; }
.text-center  { text-align: center; }
.text-light   { color: var(--gdm-text-light) !important; }

.bg-navy      { background-color: var(--gdm-navy); }
.bg-cream     { background-color: var(--gdm-cream); }
.bg-white     { background-color: var(--gdm-white); }
.bg-gold      { background-color: var(--gdm-gold); }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 48px !important; }
.mb-6 { margin-bottom: 64px !important; }

.mt-auto { margin-top: auto; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
