/* Leucanda — portale turistico Capo di Leuca (bozza)
   MOBILE FIRST: le regole base valgono per il telefono; i @media sono min-width (si cresce di dimensione).
   Nessun font esterno e nessuna libreria: tipografia di sistema, illustrazioni SVG inline, animazioni CSS. */

:root {
  /* Palette allineata al brand (misurata sull'immagine del logo):
     blu profondo #003048, sabbia #c0a890, off-white #f6f6f4 */
  --bg: #f6f6f4;
  --panel: #ffffff;
  --panel-2: #f0ede7;
  --border: #e3ded5;
  --border-strong: #cec5b6;
  --text: #12232b;
  --text-soft: #3b4850;
  --muted: #626b72;
  --sea: #003048;
  --sea-dark: #00202f;
  --sea-soft: #e7eef3;
  --sea-mid: #0d5c8c;
  --terra: #855c33;
  --terra-soft: #f5ece1;
  --sand: #c0a890;
  --sand-light: #d9c4a6;
  --ok: #26784c;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", "Times New Roman", serif;

  --radius: 12px;
  --radius-sm: 9px;
  --shadow: 0 4px 18px rgba(24, 44, 62, .07);
  --shadow-lg: 0 14px 38px rgba(24, 44, 62, .13);
  --measure: 66ch;
  --header-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--sea); text-underline-offset: 2px; }
strong, b { font-weight: 650; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.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;
}

/* ---------- tipografia ---------- */
h1, h2 {
  font-family: var(--font-serif); font-weight: 600;
  letter-spacing: -.015em; line-height: 1.14; text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 8.2vw, 3.35rem); line-height: 1.06; }
h2 { font-size: clamp(1.45rem, 5.6vw, 2.15rem); }
h3, h4 { line-height: 1.3; text-wrap: pretty; }
h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.005em; }
h4 { font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
p { text-wrap: pretty; }

.eyebrow {
  font-size: .6875rem; font-weight: 700; letter-spacing: .19em;
  text-transform: uppercase; color: var(--terra);
}
.lead { font-size: 1.03rem; line-height: 1.6; }
.num { font-variant-numeric: tabular-nums; }
.head { margin-bottom: 26px; }
.head h2 { margin-top: 10px; }
.head p { color: var(--muted); margin-top: 12px; max-width: var(--measure); }
.tagline { font-size: .9375rem; color: var(--muted); margin-top: 20px; max-width: var(--measure); }

/* icone di linea (SVG inline, colore dal contesto) */
.ic { width: 26px; height: 26px; flex: none; color: var(--sea); }
.ic use { color: inherit; }

/* ---------- banner bozza ---------- */
.draft {
  background: #2b2118; color: #f3d8a7; font-size: .75rem;
  text-align: center; padding: 9px 14px; letter-spacing: .01em; line-height: 1.5;
}
.draft strong { color: #ffd489; letter-spacing: .06em; }

/* ---------- header + menù mobile ---------- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 245, 240, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600;
  letter-spacing: -.02em; color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; flex: none;
}
.logo img.mark {
  width: auto; height: 30px; flex: none; display: block;
  /* il segno del brand è su sfondo trasparente: niente cerchio disegnato */
}
.logo img.mark { margin-top: -2px; }
.logo em { font-style: normal; color: var(--terra); }

/* hamburger: visibile solo su mobile */
.burger {
  margin-left: auto; width: 46px; height: 46px; flex: none; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer;
}
.burger span {
  display: block; width: 19px; height: 2px; background: var(--text); border-radius: 2px;
  position: relative; transition: background .2s ease;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--text); border-radius: 2px; transition: transform .25s ease, top .25s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* pannello menù: chiuso di default su mobile */
.nav-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--panel); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height .3s ease, visibility .3s ease;
}
.nav-open .nav-panel { max-height: 78vh; visibility: visible; overflow-y: auto; }
.nav-panel ul { list-style: none; padding: 8px 18px 0; }
.nav-panel li { border-bottom: 1px solid var(--border); }
.nav-panel li:last-child { border-bottom: 0; }
.nav-panel a {
  display: flex; align-items: center; min-height: 52px;
  color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500;
}
.nav-panel a:hover, .nav-panel a:active { color: var(--sea); }
.nav-panel .btn { margin: 14px 18px 20px; width: calc(100% - 36px); }
/* il pulsante nel menù deve restare bianco su blu: `.nav-panel a` avrebbe la precedenza */
.nav-panel a.btn { color: #fff; }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; background: var(--sea); color: #fff; text-decoration: none;
  font-family: inherit; font-size: .9375rem; font-weight: 650; letter-spacing: .005em;
  padding: 12px 20px; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--sea-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--sea); border: 1.5px solid var(--border-strong); }
.btn.ghost:hover { background: var(--sea-soft); border-color: var(--sea); transform: none; box-shadow: none; }
.btn.block { width: 100%; }

/* ---------- hero con illustrazione animata ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  /* il fondo lascia spazio alla banda illustrata sotto il form */
  padding: 52px 0 178px;
  background:
    linear-gradient(180deg, rgba(0, 32, 47, .70) 0%, rgba(0, 32, 47, .44) 48%, rgba(0, 32, 47, .88) 100%),
    linear-gradient(150deg, #0d5c8c 0%, #003048 55%, #001b28 100%);
}
.hero .art { position: absolute; inset: auto 0 0 0; height: 156px; pointer-events: none; }
.hero .art svg { width: 100%; height: 100%; display: block; }
/* mobile: si vede solo la banda bassa; da 760px in su si passa alla scena piena.
   Selettore con la stessa specificità di ".hero .art svg", altrimenti la regola non vince. */
.hero .art svg.art-wide { display: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero .kicker {
  display: inline-block; font-size: .6875rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .42); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 18px; color: #e2f1fa;
}
.hero h1 { max-width: 20ch; color: #fff; }
.hero h1 span { color: #ffd489; }
.hero p.lead { margin-top: 16px; max-width: 58ch; color: #e2eff8; }
.hero .usp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero .usp span {
  font-size: .8125rem; color: #eaf5fc;
  background: rgba(255, 255, 255, .11); border: 1px solid rgba(255, 255, 255, .21);
  padding: 6px 12px; border-radius: 999px;
}

/* animazioni dell'illustrazione */
.wave { animation: waveShift 16s linear infinite; }
.wave.b { animation-duration: 22s; animation-direction: reverse; }
.sun { animation: sunPulse 7s ease-in-out infinite; }
.boat { animation: bob 6s ease-in-out infinite; }
.gull { animation: drift 11s ease-in-out infinite alternate; }
.gull.b { animation-duration: 14s; animation-delay: -3s; }
@keyframes waveShift { from { transform: translateX(0); } to { transform: translateX(-160px); } }
@keyframes sunPulse { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-6px) rotate(1.2deg); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(46px, -8px); } }

/* barra preventivo */
.quote {
  position: relative; z-index: 3; margin-top: 30px; background: var(--panel);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px;
  display: grid; grid-template-columns: 1fr; gap: 12px; color: var(--text);
}
.quote label {
  display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.quote .note { font-size: .8125rem; color: var(--muted); margin: 0; }

/* ---------- campi (>=16px: su iOS niente zoom automatico) ---------- */
input, select, textarea {
  font-family: inherit; font-size: 1rem; color: var(--text); line-height: 1.4;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 13px; width: 100%; min-height: 48px;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(13, 92, 140, .13);
  background: var(--panel);
}

/* ---------- sezioni ---------- */
section { padding: 46px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- pacchetti ---------- */
.packs { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
.pack {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pack:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pack .ph {
  display: block; width: 100%; height: 96px;
  background: linear-gradient(150deg, #0d5c8c 0%, #003048 100%);
}
.pack.hi .ph { background: linear-gradient(150deg, #c0a890 0%, #7a5c3e 100%); }
.pack.p3 .ph { background: linear-gradient(150deg, #4a6b7a 0%, #1c2f38 100%); }
.pack .top { padding: 20px 20px 0; }
.badge {
  display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; background: var(--terra-soft); color: var(--terra);
  border-radius: 999px; padding: 5px 12px;
}
.pack.hi .badge { background: var(--sea-soft); color: var(--sea); }
.pack h3 { font-size: 1.3rem; font-family: var(--font-serif); font-weight: 600; margin-top: 12px; }
.pack .sub { font-size: .875rem; color: var(--muted); margin-top: 5px; }
.pack .price { display: flex; align-items: baseline; gap: 9px; margin: 14px 0 2px; }
.pack .price b { font-size: 1.625rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pack .price small { color: var(--muted); font-size: .8125rem; }
.pack .body { padding: 0 20px; }
.pack .body h4 { margin: 20px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.pack ol.days { list-style: none; display: grid; gap: 11px; }
.pack ol.days li { font-size: .9375rem; line-height: 1.55; padding-left: 32px; position: relative; color: var(--text-soft); }
.pack ol.days li b { display: block; color: var(--text); font-weight: 650; }
.pack ol.days li::before {
  content: attr(data-day); position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--sea-soft); color: var(--sea);
  font-size: .6875rem; font-weight: 700; display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
}
.pack ul.inc { list-style: none; display: grid; gap: 7px; }
.pack ul.inc li { font-size: .9375rem; line-height: 1.5; padding-left: 22px; position: relative; color: var(--text-soft); }
.pack ul.inc li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.pack ul.exc li::before { content: "–"; color: var(--muted); }
.pack .foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; }
.pack .foot .mini { font-size: .8125rem; color: var(--muted); text-align: center; }

/* ---------- griglie generiche ---------- */
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.item {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 9px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.item .ic { width: 28px; height: 28px; }
.item p { font-size: .9375rem; color: var(--text-soft); line-height: 1.55; }
.item .meta {
  display: flex; gap: 8px 14px; flex-wrap: wrap; margin-top: auto; padding-top: 6px;
  font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.item .meta b { color: var(--text); font-weight: 650; }

/* ---------- immobiliare ---------- */
.re-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.re-tab {
  font-family: inherit; font-size: .8125rem; font-weight: 650; color: var(--text);
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 15px; min-height: 44px; cursor: pointer; flex: 1 1 auto;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.re-tab:hover { border-color: var(--border-strong); }
.re-tab[aria-selected="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }

.listings { display: grid; gap: 16px; grid-template-columns: 1fr; }
.listing {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.listing:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.listing[hidden] { display: none; }
.listing .thumb {
  position: relative; height: 140px; overflow: hidden;
  background: linear-gradient(150deg, #0d5c8c 0%, #003048 60%, #00202f 100%);
}
.listing.a .thumb { background: linear-gradient(150deg, #c0a890 0%, #94704c 60%, #6d5138 100%); }
.listing.b .thumb { background: linear-gradient(150deg, #4a6b7a 0%, #23414d 60%, #16272e 100%); }
.listing .thumb svg { width: 100%; height: 100%; display: block; }
.listing .flag {
  position: absolute; top: 11px; left: 11px; background: rgba(255, 255, 255, .94);
  color: #1b2228; font-size: .6875rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 6px; padding: 4px 9px;
}
.listing .inner { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.listing h3 { font-size: 1.0625rem; }
.listing .loc { font-size: .8125rem; color: var(--muted); margin-top: -4px; }
.listing .specs { display: flex; flex-wrap: wrap; gap: 6px; }
.listing .specs span {
  font-size: .75rem; color: var(--text-soft); background: var(--panel-2);
  border-radius: 6px; padding: 4px 9px; font-variant-numeric: tabular-nums;
}
.listing .cost {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.listing .cost b { font-size: 1.25rem; font-weight: 650; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.listing .cost small { font-size: .8125rem; color: var(--muted); }
.listing .cost a { font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.listing .cost a:hover { text-decoration: underline; }

/* ---------- traffico / lead ---------- */
.traffic { display: grid; gap: 14px; grid-template-columns: 1fr; }
.traffic .item { background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%); }
form.lead { display: grid; gap: 10px; grid-template-columns: 1fr; align-items: end; margin-top: 4px; }
.form-msg { font-size: .875rem; color: var(--ok); display: none; margin: 4px 0 0; }
.form-msg.show { display: block; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--sea); color: #fff; font-weight: 700; font-size: .875rem; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 7px; }
.step p { font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.partners { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.partners span {
  font-size: .8125rem; font-weight: 600; color: var(--muted); background: var(--panel);
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 10px 14px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
details.q { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 2px 18px; }
details.q summary {
  cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none;
  padding: 16px 0; min-height: 48px;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; color: var(--sea); font-weight: 700; font-size: 1.25rem; line-height: 1; flex: none; }
details.q[open] summary::after { content: "–"; }
details.q p { font-size: .9375rem; color: var(--muted); line-height: 1.6; padding: 0 0 16px; max-width: var(--measure); }

/* ---------- footer ---------- */
footer.site { background: #12232e; color: #b9c8d1; padding: 42px 0 26px; font-size: .9375rem; }
footer.site a { color: #cfe4f0; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .cols { display: grid; gap: 26px; grid-template-columns: 1fr; }
footer.site h4 { color: #fff; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 12px; }
footer.site ul { list-style: none; display: grid; gap: 9px; }
footer.site .logo { color: #fff; font-size: 1.3rem; }
footer.site .logo em { color: var(--sand-light); }  /* su fondo scuro la sabbia scura sarebbe illeggibile */
footer.site .legal {
  border-top: 1px solid rgba(255, 255, 255, .13); margin-top: 30px; padding-top: 16px;
  font-size: .8125rem; color: #8fa3af; display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 14px; bottom: 14px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px;
  background: #157f43; color: #fff; text-decoration: none; font-weight: 650; font-size: .9375rem;
  padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}
.wa-float .ic { width: 20px; height: 20px; color: #fff; }

/* ---------- comparse all'ingresso (le attiva il JS) ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }

/* ---------- hero: testo + card del brand ---------- */
.hero-top { display: grid; gap: 24px; }
.hero-brand {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: #f6f6f4;                     /* lo sfondo dell'immagine del brand */
  box-shadow: var(--shadow-lg);
  align-self: start;
}
.hero-brand img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .hero-top { grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: center; }
}

/* ---------- le tre aree del portale (card animate) ---------- */
.areas { display: grid; gap: 18px; grid-template-columns: 1fr; }
.area {
  position: relative; overflow: hidden; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease;
}
.area:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* fascia illustrata: si ingrandisce appena al passaggio del mouse */
.area-ph { position: relative; height: 128px; overflow: hidden; background: linear-gradient(150deg, #0d5c8c 0%, #003048 100%); }
.area:nth-of-type(2) .area-ph { background: linear-gradient(150deg, #c0a890 0%, #7a5c3e 100%); }
.area:nth-of-type(3) .area-ph { background: linear-gradient(150deg, #4a6b7a 0%, #1c2f38 100%); }
.area-ph svg { width: 100%; height: 100%; display: block; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.area:hover .area-ph svg { transform: scale(1.08); }
.area-ph .num {
  position: absolute; top: 6px; right: 14px;
  font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600;
  color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums;
}
/* riga d'accento che si completa al passaggio */
.area::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 2;
  background: var(--sea); transform: scaleX(.28); transform-origin: left;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.area:nth-of-type(2)::before { background: var(--sand); }
.area:nth-of-type(3)::before { background: var(--terra); }
.area:hover::before { transform: scaleX(1); }

.area-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.area .ic { width: 30px; height: 30px; color: var(--sea); }
.area h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }
.area p { font-size: .9375rem; color: var(--text-soft); }
.area ul { list-style: none; display: grid; gap: 7px; margin-top: 2px; }
.area ul li { font-size: .875rem; color: var(--muted); padding-left: 18px; position: relative; }
.area ul li::before { content: "—"; position: absolute; left: 0; color: var(--sand); }
.area .btn { margin-top: 16px; align-self: flex-start; }
.area .btn .arr { display: inline-block; transition: transform .3s ease; }
.area:hover .btn .arr { transform: translateX(4px); }

/* ---------- specchietto prenotazioni (sezione Tour operator) ---------- */
.booking {
  margin-top: 30px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  display: grid; gap: 22px;
}
.booking-info h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; margin-top: 8px; }
.booking .terms { list-style: none; display: grid; gap: 9px; margin-top: 14px; }
.booking .terms li { font-size: .9375rem; color: var(--text-soft); padding-left: 24px; position: relative; }
.booking .terms li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.booking .terms b { color: var(--text); }
/* dentro il riquadro il modulo resta piatto: niente card dentro la card */
.booking .quote { margin: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
.hero-cta { margin-top: 26px; }

/* ---------- shop ---------- */
.products { display: grid; gap: 16px; grid-template-columns: 1fr; }
.product {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.product .ic { width: 28px; height: 28px; }
.product h3 { font-size: 1.0625rem; }
.product .dett { font-size: .875rem; color: var(--text-soft); }
.product .formato {
  font-size: .75rem; color: var(--muted); background: var(--panel-2);
  border-radius: 6px; padding: 4px 9px; align-self: flex-start;
}
.product .cost {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.product .cost b { font-size: 1.2rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.product .cost a { font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.product .cost a:hover { text-decoration: underline; }

/* =================  da qui in su: schermi più grandi  ================= */

/* su schermi stretti il pulsante WhatsApp resta, ma più compatto: copre meno i campi */
@media (max-width: 559px) {
  .wa-float { min-height: 48px; padding: 11px 15px; font-size: .875rem; }
  .wa-float .ic { width: 18px; height: 18px; }
}

@media (min-width: 560px) {
  .wrap { padding: 0 22px; }
  .cards, .traffic, .steps, .products { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
  .listings { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .pack .top, .pack .body, .pack .foot { padding-left: 22px; padding-right: 22px; }
  .re-tab { flex: 0 1 auto; font-size: .875rem; padding: 10px 18px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .hero { padding: 62px 0 76px; }
}

@media (min-width: 760px) {
  :root { --header-h: 68px; }
  section { padding: 60px 0; }
  .head { margin-bottom: 30px; }
  .hero { padding: 72px 0 92px; }
  .hero .art { height: 62%; }
  .hero .art svg.art-tall { display: none; }
  .hero .art svg.art-wide { display: block; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .quote { grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; margin-top: 34px; }
  .quote .go, .quote .note { grid-column: 1 / -1; }
  .lead { font-size: 1.09rem; }
  h3 { font-size: 1.125rem; }
  form.lead { grid-template-columns: 1fr 1fr; }
  form.lead .btn { grid-column: 1 / -1; }
  .pack .ph { height: 110px; }
}

@media (min-width: 900px) {
  .packs { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .listings { grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); }
  .faq { max-width: 54rem; }
  footer.site .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  /* desktop: niente hamburger, menù in linea nella barra.
     Il pannello diventa una riga flex, altrimenti il pulsante va a capo. */
  .burger { display: none; }
  .nav-panel {
    position: static; max-height: none; visibility: visible; overflow: visible;
    background: transparent; border: 0; box-shadow: none; margin-left: auto;
    display: flex; align-items: center; gap: 20px;
  }
  .nav-panel ul { display: flex; align-items: center; gap: 20px; padding: 0; }
  .nav-panel li { border: 0; }
  .nav-panel a {
    min-height: 0; font-size: .9375rem; padding: 6px 1px;
    border-bottom: 1.5px solid transparent; white-space: nowrap;
  }
  .nav-panel a:hover { border-color: var(--sea); }
  .nav-panel .btn {
    margin: 0; width: auto; min-height: 42px; padding: 9px 16px; font-size: .875rem;
  }
  .nav { gap: 16px; }
  .booking { grid-template-columns: .92fr 1.08fr; align-items: center; gap: 34px; padding: 26px; }
}

@media (min-width: 1080px) {
  section { padding: 68px 0; }
  .head { margin-bottom: 34px; }
}

/* numeri di telefono, email e prezzi non vanno spezzati a metà */
a[href^="tel"], a[href^="mailto"], .num, .listing .cost b { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
