/* =====================================================================
   Esplora Kenya con Anna — stylesheet unico, no build step
   - Variabili colore brand (anche con alias Elementor originali)
   - Tipografia: Inter, Poppins, Yellowtail (Google Fonts)
   - Componenti: header, hero, intro, carosello safari, sezioni, form,
     footer, cookie banner, pagine dedicate
   ===================================================================== */

/* ---------- Variabili ---------- */
:root {
  /* Brand */
  --color-savana:       #264653;
  --color-savana-700:   #1d3741;
  --color-savana-300:   #5e7f8b;
  --color-oro:          #DCA546;
  --color-oro-200:      #ecc97b;
  --color-oro-700:      #a87c2f;
  --color-terracotta:   #D86F45;
  --color-salvia:       #7B9E89;
  --color-salvia-700:   #56735f;
  --color-crema:        #F7F2E8;
  --color-crema-100:    #fbf8f1;
  --color-testo:        #264653;
  --color-testo-soft:   #264653;

  /* Elementor color aliases (copy/paste compatibility with original CSS) */
  --e-global-color-9df8a23: var(--color-savana);
  --e-global-color-ae9b81b: var(--color-oro);
  --e-global-color-f868cd9: var(--color-crema);
  --e-global-color-fb2e995: var(--color-terracotta);
  --e-global-color-ef325bd: var(--color-salvia);

  /* Tipografia */
  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-script:  "Yellowtail", "Brush Script MT", cursive;

  /* Layout */
  --container-max: 1200px;
  --radius-card:   1.25rem;
  --radius-btn:    0.625rem;

  /* Ombre */
  --shadow-soft: 0 6px 24px -8px rgba(38, 70, 83, 0.18);
  --shadow-lift: 0 18px 40px -16px rgba(38, 70, 83, 0.28);
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-savana);
  background-color: #fff;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-savana);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 0.75em;
}
/* Titoli di sezione (h2, in blu savana) piu' marcati */
h2 { font-weight: 700; }
/* I titoli bianchi su sfondo scuro restano a 600 (la richiesta riguarda i titoli blu) */
.why-section h2, .audience-block h2 { font-weight: 600; }

p { margin: 0 0 1rem; }

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

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

::selection { background: var(--color-oro); color: var(--color-savana); }

/* ---------- Utility ---------- */
.font-script { font-family: var(--font-script); font-weight: 400; }

.container-page {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container-page { padding-inline: 2rem; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-savana); color: #fff;
  padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; outline: 2px solid var(--color-oro); }

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

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-btn);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em; line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.25s ease,
              background-color 0.25s ease, color 0.25s ease;
  cursor: pointer; text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--color-oro); outline-offset: 3px; }

.btn-primary {
  background: var(--color-oro); color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--color-savana); color: #fff;
  transform: none;
}

.btn-savana {
  background: var(--color-savana); color: #fff;
}
.btn-savana:hover { background: var(--color-savana-700); }

.btn-outline {
  background: transparent; color: var(--color-savana);
  border-color: var(--color-savana);
}
.btn-outline:hover { background: var(--color-savana); color: #fff; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(38, 70, 83, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 85px; padding-block: 0; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img {
  width: clamp(140px, 18vw, 200px); height: auto; display: block;
}

.nav-desktop { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle  { display: none !important; }
}
.nav-desktop ul {
  display: flex; align-items: center; gap: 2rem;
  margin: 0; padding: 0; list-style: none;
}
.nav-desktop ul a {
  color: var(--color-savana); font-weight: 700; font-size: 15px;
  padding: 0.4rem 0; border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-desktop ul a:hover,
.nav-desktop ul a.active {
  border-bottom-color: var(--color-oro);
  color: var(--color-savana-700);
}
.nav-desktop .nav-cta {
  margin: 0; padding: 0.6rem 1.25rem;
  font-size: 15px; line-height: 1;
  border-radius: 8px; align-self: center;
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: none; background: transparent;
  cursor: pointer; flex-shrink: 0;
}
.nav-toggle img { width: 30px; height: auto; display: block; }

.nav-mobile {
  position: fixed; inset: 0;
  background: var(--color-crema); z-index: 60;
  padding: 3.5rem 2rem 2rem;
  display: flex; flex-direction: column; align-items: center;
}
.nav-mobile[hidden] { display: none; }
.nav-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px; background: transparent;
  border: none; cursor: pointer;
}
.nav-close img { width: 30px; height: auto; display: block; }
.nav-mobile-logo {
  width: clamp(140px, 42vw, 170px); height: auto;
  margin: 1rem auto 2.25rem; display: block;
}
.nav-mobile ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.15rem; text-align: center;
}
.nav-mobile a {
  font-size: 1.25rem; font-family: var(--font-display);
  color: var(--color-savana); font-weight: 700;
}
.nav-mobile a.btn {
  margin-top: 1.5rem;
  background: var(--color-terracotta); color: #fff;
  border: none; padding: 0.7rem 1.7rem; font-size: 14px;
  border-radius: 8px;
}
.nav-mobile a.btn:hover {
  background: var(--color-savana); color: #fff;
}

/* ---------- HERO HOME ---------- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: #fff; text-align: center;
}
/* Fascia "pennellate" in fondo alla hero.
   Come nell'originale Elementor: repeat-x + contain -> l'immagine NON viene stirata,
   ma ripetuta in orizzontale mantenendo la sua risoluzione (resta nitida).
   Altezza contenuta (4vw): la banda viene rimpicciolita e ripetuta -> niente sgranatura.
   Tetto a 114px (dimensione nativa del PNG) per non ingrandirla mai oltre la sua risoluzione. */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px; /* -2px: copre il bordo del video (la linea sottile) */
  height: clamp(24px, 4vw, 114px);
  background: url("../img/misc/sbaffo-heder.png") repeat-x bottom left;
  background-size: contain;
  z-index: 3;
  pointer-events: none;
}
/* Fregio "pennellate" anche sulle hero interne (page-hero) e di dettaglio (trip-hero),
   come la home. Il percorso immagine e' relativo al CSS -> vale su tutte le pagine. */
.page-hero::after,
.trip-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: clamp(24px, 4vw, 100px);
  background: url("../img/misc/sbaffo-heder.png") repeat-x bottom left;
  background-size: contain;
  z-index: 3; pointer-events: none;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(216, 111, 69, 0.18) 0%, rgba(108, 50, 28, 0.55) 100%),
    linear-gradient(180deg, transparent 0%, rgba(20, 36, 44, 0.35) 100%);
  mix-blend-mode: multiply; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; padding-inline: 1rem;
}
.hero-title {
  font-family: var(--font-script);
  color: #fff; font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1; letter-spacing: 0.005em;
  margin: 0 0 1rem;
  white-space: nowrap;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
@media (max-width: 540px) {
  .hero-title { white-space: normal; }
}
.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 46ch; margin: 0 auto 1.75rem;
  font-weight: 500;
}
.hero-cta { padding: 0.9rem 1.75rem; font-size: 0.95rem; }

/* ---------- INTRO HOME ---------- */
.intro-section { padding-block: 6.5rem 6rem; }
.intro-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 0.72fr 1.3fr; gap: 4rem; }
}
@media (min-width: 1440px) {
  .intro-grid { gap: 5rem; }
}
.intro-image { position: relative; padding: 1rem; transform: rotate(-1deg); }
.intro-image::before {
  content: ""; position: absolute; inset: 0;
  background: #fff; border-radius: 0.75rem;
  box-shadow: var(--shadow-lift); transform: rotate(2deg); z-index: 0;
}
.intro-image img {
  width: 100%; border-radius: 0.5rem;
  position: relative; z-index: 1;
}
.intro-text h2 { margin: 0 0 1.25rem; line-height: 1.15; }
.intro-text h2 em {
  font-style: normal; font-family: inherit;
  color: var(--color-terracotta); font-weight: inherit;
  font-size: 1em; display: block; line-height: 1.1; margin-top: 0.15em;
}
.intro-lead { color: var(--color-savana); line-height: 1.75; }

.benefits {
  list-style: none; padding: 0;
  margin: 1.75rem 0 1.25rem;
  display: flex; flex-direction: column; gap: 1.15rem;
}
.benefits li {
  position: relative; padding-left: 1.9rem;
  color: var(--color-savana); font-weight: 600;
  font-size: 1rem; line-height: 1.4;
}
.benefits li::before {
  content: ""; position: absolute;
  left: 0; top: 0.12em;
  width: 1.2rem; height: 1.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D86F45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.signature { margin: 1.5rem 0 0 auto; width: 260px; display: block; }

/* ---------- SEZIONE SAFARI HOME (carosello scroll-snap) ---------- */
.safari-section { position: relative; padding-block: 5rem 6rem; background-color: var(--color-crema); }
/* Texture "zebra" di sfondo: come nell'originale Elementor (repeat + contain),
   con opacita' molto leggera. Sta su uno ::before sotto i contenuti, cosi'
   non sbiadisce card e testo. */
.safari-section::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/misc/bg_pattern_k.png");
  background-repeat: repeat;
  background-size: contain;
  opacity: 0.03;
  pointer-events: none;
}
.safari-section > * { position: relative; z-index: 1; }
/* Stessa texture "zebra" tenue su tutti gli altri fondi beige */
.guide-section,
.safari-list,
.safari-request,
.prev-next,
.notfound,
.thank-you { position: relative; }
.guide-section::before,
.safari-list::before,
.safari-request::before,
.prev-next::before,
.notfound::before,
.thank-you::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/misc/bg_pattern_k.png");
  background-repeat: repeat; background-size: contain;
  opacity: 0.03; pointer-events: none;
}
.guide-section > *,
.safari-list > *,
.safari-request > *,
.prev-next > *,
.notfound > *,
.thank-you > * { position: relative; z-index: 1; }

.safari-head {
  max-width: 900px; margin: 0 auto 3rem; text-align: center;
}
.safari-head h2 { margin: 0; line-height: 1.15; }
.safari-head h2 em {
  font-style: normal; font-family: inherit;
  color: var(--color-savana); font-weight: inherit;
  font-size: 1em; display: block; line-height: 1.1; margin-top: 0.15em;
}
.safari-head-lead {
  color: var(--color-savana);
  max-width: none; margin: 1rem auto 0;
}

/* contenitore-box del carosello: largo come la nav, i margini stanno qui */
.safari-carousel-wrap {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .safari-carousel-wrap { padding-inline: 2rem; }
}
.safari-carousel {
  display: flex; gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;        /* Firefox: nascondi la barra */
  -ms-overflow-style: none;     /* IE/Edge legacy */
  padding: 1rem 0 2rem;
  scroll-padding-inline: 0;     /* niente inset: le card vanno a filo, nessuno spezzone laterale */
  -webkit-overflow-scrolling: touch;
  cursor: grab; user-select: none;
}
.safari-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.safari-carousel.is-dragging a { pointer-events: none; }
.safari-carousel::-webkit-scrollbar { display: none; } /* Chrome/Safari: nascondi la barra */
.safari-slide {
  flex: 0 0 100%; max-width: none;
  scroll-snap-align: start;
}
@media (min-width: 600px) {
  .safari-slide { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (min-width: 1024px) {
  .safari-slide { flex-basis: calc((100% - 3rem) / 3); }
}
/* Bullet (paginazione) del carosello */
.safari-dots {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.55rem; margin: 0.25rem 0 0;
}
.safari-dots button {
  width: 10px; height: 10px; padding: 0; border: none;
  border-radius: 999px; cursor: pointer;
  background: rgba(216, 111, 69, 0.3);
  transition: background 0.25s ease, width 0.25s ease;
}
.safari-dots button:hover { background: rgba(216, 111, 69, 0.55); }
.safari-dots button.is-active {
  background: var(--color-terracotta); width: 26px;
}
/* Bottone "Scopri tutti i safari" sotto lo slider */
.safari-foot { text-align: center; margin-top: 1.75rem; }
/* "Scopri tutti i safari": solo testo, niente box, con freccina */
.safari-foot-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--color-savana); font-weight: 700; font-size: 1rem;
  transition: color 0.2s ease;
}
.safari-foot-link:hover { color: var(--color-terracotta); }

/* Card safari (carosello + grid pagina lista) */
.safari-card {
  background: #fff; border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
/* card: nessun sollevamento all'hover — resta solo lo zoom dell'immagine e il colore della CTA */
.safari-card-link {
  display: flex; flex-direction: column; height: 100%; color: inherit;
}
.safari-card-image {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
}
.safari-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.safari-card:hover .safari-card-image img { transform: scale(1.05); }
.duration-pill {
  position: absolute; top: 0.85rem; right: 0.85rem;
  background: rgba(20, 36, 44, 0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.38rem 0.8rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.safari-card-body {
  padding: 1.5rem; display: flex; flex-direction: column;
  gap: 0.65rem; flex: 1;
}
.safari-card-body h3 { margin: 0; color: var(--color-savana); }
.safari-tagline {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-size: 1.4rem; line-height: 1.1; margin: 0;
}
.safari-desc {
  color: var(--color-testo-soft);
  font-size: 0.92rem; line-height: 1.5;
  margin: 0.25rem 0 0;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.safari-meta {
  list-style: none; padding: 0;
  margin: 0.75rem 0 0;
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: var(--color-savana);
}
.safari-meta li { display: flex; align-items: center; gap: 0.35rem; }
.safari-meta svg { color: var(--color-oro-700); }
.safari-cta {
  margin-top: auto; padding-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--color-savana); font-weight: 600; font-size: 0.9rem;
  border-top: 1px solid rgba(38, 70, 83, 0.08);
}
.safari-card:hover .safari-cta { color: var(--color-terracotta); }

/* ---------- SEZIONE "QUALE AVVENTURA" ---------- */
.adventures-section { padding-block: 5rem; }
.adventures-title {
  text-align: center; margin-bottom: 2.5rem;
  line-height: 1.1;
  display: flex; flex-flow: row wrap;
  justify-content: center; align-items: baseline; gap: 0.25em;
}
.adventures-title .script {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-weight: 400; font-size: 1.5em; line-height: 1;
}
.adventures-title > span:not(.script) {
  color: var(--color-terracotta); font-size: 1.5em; margin-top: 0;
  font-family: var(--font-script); font-weight: 400; line-height: 1;
}
.adventures-grid {
  display: grid; gap: 5px; grid-template-columns: 1fr;
  max-width: 1200px; margin-inline: auto;
}
@media (min-width: 700px) {
  .adventures-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
}
.adventure-card {
  position: relative; overflow: hidden;
  border-radius: 1rem; aspect-ratio: 4 / 3;
  display: block; color: #fff;
  box-shadow: var(--shadow-soft);
}
.adventure-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.adventure-card:hover img { transform: scale(1.07); }
.adventure-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(38, 70, 83, 0.85) 100%);
}
.adventure-text {
  position: absolute; inset: auto 1rem 1.5rem 1rem; color: #fff;
  text-align: center;
}
.adventure-text h3 { color: #fff; margin: 0 0 0.2rem; font-size: 1.4rem; }
.adventure-text p {
  margin: 0; font-family: var(--font-script);
  font-size: 1.35rem; color: var(--color-oro); line-height: 1.1;
}

/* ---------- "PERCHE VIAGGIARE CON NOI" ---------- */
.why-section {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  padding-block: 5rem;
  background:
    linear-gradient(180deg, rgba(20, 36, 44, 0.82) 0%, rgba(38, 70, 83, 0.92) 100%),
    url("../img/real/albero-tramonto-mara.jpg") center/cover no-repeat fixed;
}
@media (max-width: 900px) { .why-section { background-attachment: scroll; } }
/* Fregio "a strappo" in cima alla sezione (transizione dalla sezione bianca sopra).
   Come nell'originale Elementor: repeat-x + contain, ancorato in alto a sinistra.
   Cap a 70px < padding-top (80px) cosi' non si sovrappone al testo. */
.why-section::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: clamp(20px, 4vw, 70px);
  background: url("../img/misc/sbaffo-1.png") repeat-x top left;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
}
.why-section > * { position: relative; z-index: 2; }
.why-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.eyebrow-script {
  font-family: var(--font-script);
  color: var(--color-oro);
  font-size: 1.7rem; margin: 0 0 0.25rem; line-height: 1;
}
.why-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (min-width: 1440px) {
  .why-grid { gap: 5rem; }
}
.advantages {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: 1rem;
}
@media (min-width: 600px) {
  .advantages { grid-template-columns: 1fr 1fr; }
}
.advantages li { display: flex; gap: 0.65rem; align-items: flex-start; }
.advantages svg { color: var(--color-oro); flex-shrink: 0; margin-top: 4px; }
.advantages strong {
  display: block; color: #fff; font-weight: 600; margin-bottom: 0.15rem;
}
.advantages span {
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.72);
}
.why-map img {
  width: 100%; max-width: 460px; margin-inline: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}
.why-meta {
  max-width: 720px; margin-top: 3rem;
  font-size: 1rem; text-align: center; line-height: 1.75;
}
.why-meta strong { color: var(--color-oro); font-weight: 600; }
.audience-block { margin-top: 3rem; text-align: center; }
.audience-block h2 { color: #fff; margin-bottom: 1.5rem; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.audiences {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
}
.audiences li {
  padding: 0.65rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: #fff;
  background: var(--badge-color, var(--color-oro));
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.01em;
}

/* ---------- FORM CONTATTI ---------- */
.contact-section {
  background-color: #fff;
  padding-block: 5rem; margin-top: 0;
}
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}
@media (min-width: 1440px) {
  .contact-grid { gap: 5rem; }
}
.contact-intro .eyebrow {
  font-family: var(--font-script);
  font-size: 1.6rem; color: var(--color-terracotta);
  margin: 0 0 1rem; line-height: 1;
}
.contact-intro h2 { margin: 0 0 1rem; }
.contact-intro h2 em {
  font-style: normal; font-family: inherit; font-weight: inherit;
  display: block; color: var(--color-terracotta); margin-top: 0.1em;
}
.contact-intro p { color: var(--color-savana); max-width: 40ch; }
.contact-meta {
  list-style: none; padding: 0;
  margin-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.contact-meta li { display: flex; gap: 0.6rem; align-items: center; }
.contact-meta svg { color: var(--color-savana); flex-shrink: 0; }
.contact-meta a { color: var(--color-savana); font-weight: 500; }
/* Foto tonda di Anna: riequilibra la colonna testo a sinistra */
.contact-anna {
  width: 185px; height: 185px;
  border-radius: 50%;
  object-fit: cover; object-position: 50% 30%;
  margin-top: 2rem;
  border: 4px solid #fff;
  box-shadow: 0 12px 30px -10px rgba(38, 70, 83, 0.4);
}

.contact-form {
  /* giallo del sito con texture "zebra" molto tenue (velatura oro al 93% sopra il pattern), senza ombra.
     Il giallo stacca bene sia su fondo bianco (home / chi-e-anna) sia su crema (pagine safari). */
  background-color: var(--color-oro);
  background-image:
    linear-gradient(rgba(220, 165, 70, 0.93), rgba(220, 165, 70, 0.93)),
    url("../img/misc/bg_pattern_k.png");
  background-repeat: no-repeat, repeat;
  background-position: center, top left;
  background-size: cover, contain;
  padding: 2.5rem 2.25rem;
  border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 0.95rem;
  color: var(--color-savana);
}
.row-2 { display: grid; gap: 0.95rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.92rem; }
/* label nascoste visivamente (restano per screen reader): il testo va nel placeholder */
.field > span {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.field abbr { color: var(--color-terracotta); text-decoration: none; margin-left: 2px; }
.field input,
.field textarea,
.field select {
  border: none;
  border-radius: 0;
  padding: 0.85rem 1rem; font: inherit;
  color: var(--color-testo); background: #fff;
  transition: box-shadow 0.2s ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23264653' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(38, 70, 83, 0.8); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none; border-color: var(--color-savana);
  box-shadow: 0 0 0 3px rgba(38, 70, 83, 0.15);
}
.field-checkbox {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.86rem; color: #fff; line-height: 1.45;
}
.field-checkbox a { color: #fff; text-decoration: underline; font-weight: 600; }
.field-checkbox input { margin-top: 3px; }
.honeypot {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}
.submit-btn {
  align-self: stretch; justify-content: center;
  margin-top: 0.5rem;
  background: var(--color-savana); color: #fff;
  font-weight: 700; border: none;
  padding: 0.85rem 1.5rem;
}
.submit-btn:hover {
  background: #fff; color: var(--color-savana);
  transform: none;
}
.form-note {
  font-size: 0.78rem; color: var(--color-savana-700);
  margin: 0; text-align: center;
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  background-color: var(--color-savana);
  color: rgba(255, 255, 255, 0.88);
  padding-top: clamp(20px, 4vw, 80px); /* spazio per il fregio in cima */
}
/* Fregio "a strappo" in cima al footer (transizione dalla sezione bianca sopra).
   sbaffo-heder-flip.png: bianco in alto, strappo verso il basso; repeat-x + contain. */
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: clamp(20px, 4vw, 80px);
  background: url("../img/misc/sbaffo-heder-flip.png") repeat-x top left;
  background-size: contain;
  pointer-events: none;
}
.footer-top {
  padding-block: 2.5rem 2rem;
  display: flex; flex-direction: column;
  gap: 1.5rem; align-items: center; text-align: center;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; justify-content: space-between; text-align: left; gap: 2rem; }
}
@media (min-width: 1024px) {
  .footer-top { padding-block: 3rem 2.5rem; gap: 3rem; }
}
.footer-brand img {
  width: clamp(180px, 18vw, 260px); display: block;
}
.footer-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  gap: 1rem 2rem; justify-content: center;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem; font-weight: 500;
  transition: color 0.2s ease;
}
.footer-nav a::before {
  content: "›"; color: var(--color-oro);
  margin-right: 0.4rem; font-weight: 700;
}
.footer-nav a:hover { color: var(--color-oro); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1rem;
}
.footer-bottom-inner {
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; } }
.footer-copy strong { font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.footer-copy .dot { margin-inline: 0.5rem; opacity: 0.5; }
.footer-credits a {
  color: inherit;
  text-decoration: none;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; inset: auto 1rem 1rem 1rem; z-index: 70;
  background: #fff; color: var(--color-testo);
  border-radius: 1rem;
  box-shadow: 0 20px 50px -15px rgba(38, 70, 83, 0.45);
  border: 1px solid rgba(38, 70, 83, 0.12);
  max-width: 720px; margin-inline: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) {
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cookie-text { font-size: 0.9rem; line-height: 1.55; }
.cookie-text a {
  color: var(--color-savana); text-decoration: underline; text-underline-offset: 2px;
}

/* ====================================================================
   PAGINE INTERNE
   ==================================================================== */

/* ---------- PAGE HERO (kenya-safari, chi-e-anna) ---------- */
.page-hero {
  position: relative; min-height: 500px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  color: #fff; text-align: center;
}
.page-hero img.page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(38, 70, 83, 0.4), rgba(20, 36, 44, 0.7));
}
.page-hero-overlay.warm {
  background: linear-gradient(180deg, rgba(108, 50, 28, 0.25) 0%, rgba(50, 24, 12, 0.55) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding-block: 4rem; width: 100%;
}
.page-hero h1 {
  color: #fff; font-family: var(--font-script); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1; margin: 0 0 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px; line-height: 1.5;
  max-width: 50ch; margin: 0 auto; font-weight: 500;
}

/* ---------- CHI E ANNA — bio ---------- */
.bio-section { padding-block: 4.5rem 3rem; background: #fff; }
.bio-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .bio-grid { grid-template-columns: 0.95fr 1.25fr; gap: 4rem; } }
@media (min-width: 1440px) { .bio-grid { gap: 5rem; } }
.bio-polaroids { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.polaroid {
  background: #fff; padding: 0.55rem 0.55rem 1rem;
  border-radius: 0.35rem;
  box-shadow: 0 14px 30px -14px rgba(38, 70, 83, 0.35);
}
.polaroid:first-child { transform: rotate(-2deg); }
.polaroid:last-child  { transform: rotate(2deg); margin-top: 1rem; }
.polaroid img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: 0.2rem;
}
.bio-text h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 700; line-height: 1.25;
}
.bio-text h2 em {
  font-style: normal; font-family: inherit; font-weight: inherit;
  display: block; color: var(--color-terracotta); margin-top: 0.1em;
}
.bio-text p {
  color: var(--color-testo);
  font-size: 16px; line-height: 1.65; margin-bottom: 0.85rem;
}

/* ---------- CHI E ANNA — vantaggi ---------- */
.vantaggi-section { padding-block: 3rem 4.5rem; background: #fff; }
.vantaggi-title {
  text-align: center; font-family: var(--font-script);
  font-weight: 400; color: var(--color-salvia);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 2.5rem; line-height: 1;
}
.vantaggi-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .vantaggi-grid { grid-template-columns: 1fr auto 1fr; gap: 3.5rem; }
}
.vantaggi-col {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1.75rem;
}
.vantaggi-col li {
  display: flex; gap: 1rem; align-items: flex-start;
  color: var(--color-savana); line-height: 1.45;
  font-size: 15px; font-weight: 600;
  font-family: var(--font-display);
}
.vantaggi-col img.k-bullet {
  flex-shrink: 0; width: 36px; height: 36px;
  object-fit: contain; margin-top: -2px;
}
.vantaggi-mural { max-width: clamp(220px, 20vw, 340px); margin-inline: auto; align-self: center; }
.vantaggi-mural img {
  width: 100%; border-radius: 0.85rem;
  box-shadow: 0 14px 30px -14px rgba(38, 70, 83, 0.3);
}

/* ---------- CHI E ANNA — le guide locali ---------- */
/* Sfondo crema pulito, niente texture: il pannello è già denso (titolo grande
   + 2 colonne di testo + 4 card colorate sotto), aggiungere un pattern di
   sfondo riduceva la leggibilità del paragrafo introduttivo. */
.guide-section {
  padding-block: 4.5rem 5rem;
  background-color: var(--color-crema);
}
.guide-intro {
  display: grid; gap: 2rem; margin-bottom: 3rem; align-items: start;
}
@media (min-width: 800px) {
  .guide-intro { grid-template-columns: 0.95fr 1.3fr; gap: 3rem; }
}
.guide-intro h2 {
  color: var(--color-savana);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.25; margin: 0;
}
.guide-intro h2 em {
  font-style: normal; color: var(--color-terracotta);
  font-weight: inherit; font-size: 1em;
  display: inline;
}
.guide-intro-body p {
  color: var(--color-savana-700);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 0.9rem;
}
.guide-intro-body strong { color: var(--color-savana); font-weight: 700; }

.guide-eyebrow {
  text-align: center; font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-savana);
  font-size: 14px; margin: 0 0 6rem;
}
.guide-cards {
  display: grid; gap: 1.75rem; grid-template-columns: 1fr;
}
@media (min-width: 600px) { .guide-cards { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
@media (min-width: 1024px) { .guide-cards { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.guide-card {
  position: relative;
  padding: 5rem 1.4rem 2.25rem;
  border-radius: 0.85rem;
  min-height: 250px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.2rem; align-items: center; text-align: center;
}
.guide-card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center; z-index: 0;
  opacity: 0.8;
}
.guide-card-photo {
  position: absolute; top: -65px; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 140px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
  border: 5px solid #fff; z-index: 2;
}
.guide-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.guide-card p {
  position: relative; z-index: 1;
  margin: 0; color: #fff;
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.4;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* ---------- CHI E ANNA — un safari diverso + quote polaroid ---------- */
.diverso-section { padding-block: 4.5rem 5rem; background: #fff; }
.diverso-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.diverso-head .eyebrow-script {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-size: 1.5rem; margin: 0 0 0.25rem; line-height: 1;
}
.diverso-head h2 {
  font-family: var(--font-script);
  color: var(--color-salvia); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.1; margin: 0 0 0.85rem;
}
.diverso-head h2 em {
  font-style: normal; font-family: inherit; font-weight: inherit;
  display: inline; color: inherit; margin-top: 0;
}
.diverso-tagline {
  color: var(--color-testo); font-size: 16px; margin: 0;
}
.diverso-tagline strong { color: var(--color-savana); }
.diverso-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .diverso-grid { grid-template-columns: 1.6fr 1fr; } }
.diverso-lead {
  color: var(--color-savana); font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.25;
  margin: 0 0 1rem;
}
.diverso-intro { color: var(--color-savana); line-height: 1.7; margin: 0 0 1.75rem; }
.diverso-subtitle {
  font-family: var(--font-script); color: var(--color-terracotta);
  font-size: 1.4rem; line-height: 1; margin: 0 0 1.25rem;
}
.diverso-features { display: grid; gap: 1.75rem; }
.diverso-feature h3 {
  margin: 0 0 0.4rem;
  color: var(--color-savana);
  font-size: 17px; font-weight: 700;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--color-oro);
  display: inline-block;
}
.diverso-feature p {
  margin: 0; color: var(--color-testo-soft);
  font-size: 14px; line-height: 1.6;
}
.diverso-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.diverso-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.diverso-photos img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 0.85rem; box-shadow: 0 12px 28px -14px rgba(38, 70, 83, 0.4);
}
.diverso-slogan { width: 100%; max-width: 340px; height: auto; display: block; margin: 0.5rem auto 0; }
/* Fascia separatrice con foto (stile hero) tra "diverso" e contatti */
.divider-band {
  position: relative;
  min-height: clamp(260px, 38vw, 420px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.55)),
    url("../img/real/albero-tramonto-mara.jpg") center / cover no-repeat fixed;
}
@media (max-width: 900px) { .divider-band { background-attachment: scroll; } }
.divider-band-text {
  color: #fff; font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.25;
  margin: 0; padding-inline: 1.5rem; max-width: none; white-space: nowrap;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
@media (max-width: 640px) {
  .divider-band-text { white-space: normal; max-width: 24ch; }
}
.quote-polaroid {
  background: #fff; padding: 0.85rem 0.85rem 1.5rem;
  border-radius: 0.4rem;
  box-shadow: 0 18px 40px -16px rgba(38, 70, 83, 0.35);
  max-width: 320px; transform: rotate(2deg);
  display: flex; flex-direction: column; gap: 1rem; margin: 0;
}
.quote-polaroid img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: 0.25rem;
}
.quote-polaroid figcaption {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-size: 1.4rem; line-height: 1.15;
  text-align: center; padding-inline: 0.5rem;
}
.quote-polaroid q { display: block; quotes: none; }
.quote-author {
  display: block; margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 13px; color: var(--color-savana);
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ---------- KENYA SAFARI — lista ---------- */
.intro-block { padding-block: 6.5rem; }
.intro-grid2 { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .intro-grid2 { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}
.intro-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.intro-collage img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 0.85rem;
}
.intro-content { max-width: 760px; }
.intro-content h2 { margin-bottom: 1rem; line-height: 1.15; }
.intro-content h2 em {
  font-style: normal; font-family: inherit;
  color: var(--color-terracotta); font-weight: inherit;
  font-size: 1em; display: block; line-height: 1.2; margin-top: 0.1em;
}
.intro-content p { color: var(--color-savana); font-size: 1.08rem; line-height: 1.7; }

/* CTA "tour su misura" (fondo bianco, prima del footer) */
.custom-cta { background: #fff; padding-block: 4.5rem; text-align: center; }
.custom-cta .container-page { max-width: 720px; }
.custom-cta .eyebrow {
  font-family: var(--font-script); color: var(--color-terracotta);
  font-size: 1.7rem; margin: 0 0 0.4rem; line-height: 1;
}
.custom-cta h2 { margin: 0 0 0.85rem; }
.custom-cta p {
  color: var(--color-savana); max-width: 56ch;
  margin: 0 auto 1.75rem; line-height: 1.65;
}

.safari-list { padding-block: 3rem 5rem; background: var(--color-crema); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-size: 1.5rem; margin: 0 0 0.25rem; line-height: 1;
}
.section-lead {
  color: var(--color-testo-soft);
  max-width: 50ch; margin: 1rem auto 0;
}
.safari-grid {
  display: grid; gap: 1.75rem; grid-template-columns: 1fr;
}
@media (min-width: 600px) { .safari-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .safari-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
@media (min-width: 1440px) { .safari-grid { gap: 3rem; } }

/* ---------- DETTAGLIO SAFARI ---------- */
.trip-hero {
  position: relative; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: #fff; text-align: center;
}
.trip-hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.trip-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.72) 100%);
}
.trip-hero-inner {
  position: relative; z-index: 2;
  padding-block: 4rem; width: 100%;
}
.trip-hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0 0 0.75rem;
}
.trip-eyebrow {
  color: var(--color-oro); letter-spacing: 0.08em;
  font-size: 0.9rem; text-transform: uppercase;
  font-weight: 600; margin: 0 0 0.5rem;
}
.trip-tagline {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.1; margin: 0;
}
.breadcrumb { margin-bottom: 1.5rem; font-size: 0.85rem; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  list-style: none; padding: 0; margin: 0;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb li:not(:last-child)::after {
  content: " ›"; margin-left: 0.5rem; color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a { color: #fff; opacity: 0.85; }
.breadcrumb a:hover { opacity: 1; color: var(--color-oro); }

.trip-body { padding-block: 4rem; }
.trip-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .trip-grid { grid-template-columns: 1.6fr 1fr; gap: 4rem; } }
@media (min-width: 1440px) { .trip-grid { gap: 5rem; } }
.trip-lead {
  font-size: 1.2rem; color: var(--color-testo);
  font-weight: 500; margin-bottom: 1.5rem;
}
.trip-body article p { color: var(--color-testo); line-height: 1.75; }
.trip-body article h3 { margin-top: 2.5rem; }
/* Day-by-day itinerary list */
.itinerary {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid var(--color-oro);
}
/* Accordion itinerario per giorno (costruito da main.js) */
.itinerary-accordion { margin: 1rem 0 0; }
.day-accordion {
  border: 1px solid rgba(38, 70, 83, 0.12);
  border-radius: 10px; overflow: hidden;
  margin-bottom: 0.75rem; background: #fff;
}
.day-accordion summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(123, 158, 137, 0.18); color: var(--color-savana);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.day-accordion summary::-webkit-details-marker { display: none; }
.day-accordion summary::after {
  content: "+"; color: var(--color-terracotta);
  font-size: 1.6rem; line-height: 1; font-weight: 400; flex-shrink: 0;
}
.day-accordion[open] summary::after { content: "−"; }
.day-accordion[open] summary { border-bottom: 1px solid rgba(38, 70, 83, 0.1); }
.day-accordion .itinerary { margin: 0; padding: 0.7rem 1.25rem 0.9rem 1.5rem; }
/* Placeholder foto itinerario (in attesa delle immagini reali) */
.trip-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.photo-placeholder {
  aspect-ratio: 4 / 3; border-radius: 0.75rem;
  background: #e6e4df;
  display: flex; align-items: center; justify-content: center;
  color: rgba(38, 70, 83, 0.32);
}
.photo-placeholder svg { width: 46px; height: 46px; }
.itin-step {
  display: grid; gap: 0.15rem;
  grid-template-columns: 1fr;
  padding: 0.65rem 0 0.65rem 1.25rem;
  position: relative;
}
.itin-step::before {
  content: ""; position: absolute;
  left: -7px; top: 0.95rem;
  width: 12px; height: 12px;
  background: var(--color-oro);
  border: 2px solid #fff;
  border-radius: 50%;
}
.itin-time {
  font-weight: 700; color: var(--color-savana);
  font-size: 0.85rem; letter-spacing: 0.02em;
}
.itin-text {
  color: var(--color-savana);
  font-size: 0.95rem; line-height: 1.55;
}
@media (min-width: 600px) {
  .itin-step { grid-template-columns: 180px 1fr; gap: 0.85rem; }
  .itin-time { padding-top: 1px; }
}

.highlights {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; gap: 0.75rem;
}
.highlights li { display: flex; gap: 0.65rem; align-items: flex-start; }
.highlights svg {
  color: var(--color-salvia-700);
  flex-shrink: 0; margin-top: 4px;
}
.locations {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.locations li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--color-crema); color: var(--color-savana);
  padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
}
.locations svg { color: var(--color-terracotta); }
.info-card {
  background: none; border-radius: 0;
  padding: 0; position: sticky; top: 90px;
}
.info-card h3 {
  margin: 0 0 0.25rem; padding-bottom: 0.5rem;
  color: var(--color-salvia);
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1;
  border-bottom: 2px solid var(--color-salvia);
}
.info-card dl {
  display: flex; flex-direction: column; gap: 0;
  margin: 0 0 1.5rem;
}
/* effetto tabella: ogni riga separata da un filetto 3px verde */
.info-card dl > div {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 2px solid var(--color-salvia);
}
.info-card dt {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--color-terracotta); font-weight: 700;
}
.info-card dd { margin: 0; color: var(--color-savana); font-weight: 500; }
.full { width: 100%; justify-content: center; }
.info-note {
  font-size: 0.78rem; text-align: center;
  color: var(--color-testo-soft); margin: 0.85rem 0 0;
}

/* ---------- Per-safari request form ---------- */
.safari-request {
  background: #fff;
  padding-block: 4.5rem 5rem;
  scroll-margin-top: 90px; /* anchor scroll non finisce sotto la nav sticky */
}
.safari-request::before { display: none; } /* come la home: fondo bianco, senza texture di sezione */
.request-grid {
  display: grid; gap: 3rem; align-items: start;
}
@media (min-width: 900px) {
  .request-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}
@media (min-width: 1440px) {
  .request-grid { gap: 5rem; }
}
.request-intro .eyebrow {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-size: 1.5rem; margin: 0 0 0.4rem; line-height: 1;
}
.request-intro h2 {
  margin: 0 0 0.85rem; line-height: 1.2;
}
.request-intro h2 em {
  font-style: normal; font-family: inherit;
  color: var(--color-savana); font-weight: inherit;
  font-size: 1em;
}
.request-intro > p {
  color: var(--color-savana);
  line-height: 1.65;
}
.request-intro strong {
  color: var(--color-savana); font-weight: 700;
}
.request-meta {
  list-style: none; padding: 0;
  margin-top: 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--color-testo);
}
.request-meta strong {
  color: var(--color-savana); font-weight: 600;
  display: inline-block; min-width: 7rem;
}

.form-fallback {
  font-size: 0.8rem; color: var(--color-savana-700);
  margin: 0.5rem 0 0; text-align: center;
}
.form-fallback a {
  color: var(--color-savana); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px;
}

.prev-next { background: #fff; padding-block: 3rem; }
.prev-next::before { display: none; } /* via la texture zebra: il colore lo danno le card */
.prev-next-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .prev-next-grid { grid-template-columns: 1fr 1fr; } }
.prev-next-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-card);
  padding: 1.75rem; min-height: 160px; box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; gap: 0.35rem; justify-content: flex-end;
  background-color: var(--color-savana);
  background-size: cover; background-position: center;
  color: #fff;
}
.prev-next-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.72) 100%);
}
.prev-next-card > * { position: relative; z-index: 1; }
.prev-next-card.right { text-align: right; }
.prev-next-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.dir {
  font-size: 0.78rem; text-transform: uppercase;
  color: var(--color-oro-200); font-weight: 700; letter-spacing: 0.05em;
}
.prev-next-card strong {
  color: #fff; font-family: var(--font-display);
  font-size: 1.3rem;
}
.prev-next-card .meta { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; }

/* ---------- LEGAL PAGES (privacy, cookie) ---------- */
.legal { padding-block: 4rem 5rem; }
.legal .container-page { max-width: 760px; }
.legal h1 { margin-bottom: 0.5rem; }
.legal h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal p, .legal ul {
  color: var(--color-testo); line-height: 1.75;
}
.legal a {
  color: var(--color-savana); text-decoration: underline; text-underline-offset: 3px;
}
.legal .updated {
  color: var(--color-testo-soft);
  font-size: 0.9rem; margin-bottom: 2rem;
}
.legal .note {
  background: var(--color-crema);
  padding: 0.85rem 1rem; border-radius: 0.5rem;
  border-left: 3px solid var(--color-oro);
  font-size: 0.88rem;
}
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.45rem; }
.cookies-table {
  width: 100%; margin: 1rem 0;
  border-collapse: collapse; font-size: 0.9rem;
}
.cookies-table th,
.cookies-table td {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(38, 70, 83, 0.12); text-align: left;
}
.cookies-table thead { background: var(--color-crema); }
.cookies-table th { color: var(--color-savana); font-weight: 600; }
code {
  background: var(--color-crema);
  padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.85em;
}

/* ---------- BLOG (stub) + 404 ---------- */
.blog-hero {
  padding-block: 5rem 3rem; text-align: center;
  background: linear-gradient(180deg, var(--color-crema), #fff);
}
.blog-hero .eyebrow {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-size: 1.5rem; margin: 0 0 0.5rem;
}
.blog-hero h1 { margin: 0 0 1rem; }
.lead {
  color: var(--color-testo-soft);
  max-width: 50ch; margin-inline: auto;
}
.blog-coming { padding-block: 3rem 6rem; }
.coming-card {
  max-width: 600px; margin-inline: auto;
  background: var(--color-crema);
  padding: 3rem 2rem; border-radius: var(--radius-card);
  text-align: center; box-shadow: var(--shadow-soft);
}
.coming-card svg { color: var(--color-oro); margin: 0 auto 1rem; }
.coming-card h2 { margin: 0 0 1rem; }
.coming-card p { color: var(--color-testo-soft); }
.coming-actions {
  display: flex; gap: 0.75rem;
  flex-wrap: wrap; justify-content: center; margin-top: 1.5rem;
}

.notfound {
  min-height: 60vh;
  display: flex; align-items: center; text-align: center;
  background: linear-gradient(180deg, var(--color-crema), #fff);
  padding-block: 5rem;
}
.notfound .eyebrow {
  color: var(--color-terracotta);
  font-family: var(--font-script);
  font-size: 1.5rem; margin: 0;
}
.notfound h1 { margin: 0.5rem 0 1rem; }
.notfound p {
  color: var(--color-testo-soft);
  max-width: 50ch; margin-inline: auto;
}
.notfound .actions {
  margin-top: 2rem;
  display: flex; gap: 0.75rem;
  justify-content: center; flex-wrap: wrap;
}

/* ---------- Thank you / errore ---------- */
.thank-you {
  padding-block: 5rem 6rem;
  background: linear-gradient(180deg, var(--color-crema), #fff);
  min-height: 60vh;
}
.ty-card {
  max-width: 640px; margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lift);
  text-align: center;
}
.ty-check {
  color: var(--color-salvia-700);
  margin: 0 auto 1rem;
  animation: pop .6s ease-out;
}
.thank-you.error .ty-check { color: var(--color-terracotta); }
@keyframes pop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.ty-eyebrow {
  font-family: var(--font-script);
  color: var(--color-terracotta);
  font-size: 1.6rem;
  margin: 0 0 0.25rem;
  line-height: 1;
}
.ty-card h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
}
.ty-lead {
  color: var(--color-testo);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 50ch;
  margin-inline: auto;
}
.ty-meta { margin: 2rem 0 1.5rem; }
.ty-meta > p { color: var(--color-testo-soft); margin: 0 0 1rem; }
.ty-actions {
  display: flex; gap: 0.75rem;
  flex-wrap: wrap; justify-content: center;
}
.ty-tip {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-testo-soft);
  border-top: 1px solid rgba(38, 70, 83, 0.08);
  padding-top: 1.25rem;
}
.ty-tip a {
  color: var(--color-savana); font-weight: 600;
  text-decoration: underline;
}

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { animation: fadeUp 0.7s ease-out both; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media print {
  header, footer, .no-print, .cookie-banner { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MERGE 2026-06-08: 10 mobile fixes + foto reali in .trip-gallery
   (aggiunto sopra le regole esistenti del collaboratore tramite cascade)
   ═══════════════════════════════════════════════════════════════════════ */

/* (1) Touch target WCAG 2.5.5 ≥48px */
.nav-toggle { width: 48px; height: 48px; }
.nav-close { width: 48px; height: 48px; }

/* (2) Hero title: wrap libero di default (sicuro su 320px), nowrap solo da tablet+ */
.hero-title { white-space: normal; }
@media (min-width: 768px) {
  .hero-title { white-space: nowrap; }
}

/* (3) Nav mobile: padding ridotto su mobile-small + font link più piccolo su <374px */
.nav-mobile { padding: 5.5rem 1.5rem 2rem; }
@media (min-width: 480px) {
  .nav-mobile { padding: 6rem 2rem 2rem; }
}
@media (max-width: 374px) {
  .nav-mobile a { font-size: 1.25rem; }
}

/* (4) Contact form: padding ridotto su mobile-small per dare spazio agli input */
.contact-form { padding: 1.75rem 1.25rem; }
@media (min-width: 768px) {
  .contact-form { padding: 2.5rem 2rem; }
}

/* (5) Cookie banner: inset e padding ridotti su mobile-small */
.cookie-banner { inset: auto 0.75rem 0.75rem 0.75rem; }
@media (min-width: 768px) {
  .cookie-banner { inset: auto 1rem 1rem 1rem; }
}
.cookie-inner { padding: 1rem 1.1rem; }
@media (min-width: 480px) {
  .cookie-inner { padding: 1.25rem 1.5rem; }
}

/* (6) Guide card photo circolare: più piccola su mobile + row-gap per non sovrapporre la card successiva */
@media (max-width: 599px) {
  .guide-card-photo { top: -55px; width: 120px; height: 120px; border-width: 4px; }
  .guide-card { padding-top: 3rem; }
  .guide-cards { row-gap: 4.5rem; }
}

/* (7) Info card sidebar: sticky solo da desktop in su (su mobile resta inline) */
.info-card { position: static; top: auto; }
@media (min-width: 900px) {
  .info-card { position: sticky; top: 90px; }
}

/* (8) Vantaggi mural: full-width su mobile (su desktop scala con clamp) */
.vantaggi-mural { max-width: 100%; }
@media (min-width: 900px) {
  .vantaggi-mural { max-width: clamp(220px, 20vw, 340px); }
}

/* (9) Form input: padding ridotto + font 16px su mobile-small (evita iOS auto-zoom) */
@media (max-width: 374px) {
  .field input, .field textarea, .field select {
    padding: 0.75rem 0.85rem;
    font-size: 16px;
  }
}

/* (10) FOTO REALI nella .trip-gallery (sostituiscono i .photo-placeholder del collaboratore)
   Mantiene il grid 1fr 1fr già definito a riga 1258, aggiunge solo styling per <figure> e <img> */
.trip-gallery figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-crema);
  box-shadow: 0 6px 20px -10px rgba(38, 70, 83, 0.25);
}
.trip-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.trip-gallery figcaption {
  font-size: 0.82rem;
  color: var(--color-testo-soft, rgba(38, 70, 83, 0.7));
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

