/* ================================================================
   NATIVO E-BIKE — pagine.css
   Pagine territorio (Corigliano-Rossano · Sila), pagina Come Funziona
   e card mappa in home. Vedi enqueue in functions.php
   ================================================================ */

/* ── Hero con foto ──────────────────────────────────────────── */
.tour-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-900);
}
.tour-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tour-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,26,12,.62) 0%, rgba(10,26,12,.18) 22%, rgba(10,26,12,.58) 52%, rgba(10,26,12,.92) 80%, #0a1a0c 100%),
    linear-gradient(to right, rgba(8,20,10,.93) 0%, rgba(8,20,10,.78) 30%, rgba(8,20,10,.30) 62%, rgba(8,20,10,0) 92%);
}
.tour-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 11rem 0 4.5rem;
}
.tour-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.tour-hero h1 em {
  display: block;
  font-style: italic;
  color: var(--gold);
}
.tour-hero-claim {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-style: italic;
  color: rgba(255,255,255,.95);
  max-width: 34ch;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
.tour-hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.tour-hero .btn-outline-gold {
  background: rgba(10,26,12,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ── Intro ──────────────────────────────────────────────────── */
.tour-intro { background: var(--off-white); padding: 4.5rem 0 3.5rem; }
.tour-intro-inner { max-width: 780px; margin: 0 auto; }
.tour-intro p {
  font-size: 1.06rem;
  line-height: 1.95;
  color: #3c3a35;
  margin-bottom: 1.35rem;
}
.tour-intro p:last-child { margin-bottom: 0; }
.tour-intro strong { color: var(--green-800); font-weight: 600; }

/* ── Manifesto ──────────────────────────────────────────────── */
.tour-manifesto {
  background: var(--green-900);
  padding: 3.25rem 0;
  text-align: center;
}
.tour-manifesto p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.35;
  max-width: 24ch;
  margin: 0 auto;
}

/* ── Zone alternate ─────────────────────────────────────────── */
.tour-zone { padding: 5rem 0; color: var(--white); }
.tour-zone-a { background: linear-gradient(160deg, #0a1a0c 0%, #0f2d14 100%); }
.tour-zone-b { background: linear-gradient(160deg, #0f2d14 0%, #0a1a0c 100%); }

.tour-zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.tour-zone-grid.reverse .tour-zone-media { order: 2; }

.tour-zone-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200,169,110,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  aspect-ratio: 4 / 3;
}
.tour-zone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.16,.8,.3,1);
}
.tour-zone-media:hover img { transform: scale(1.04); }

.tour-zone-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem;
  letter-spacing: .22em;
  color: var(--gold);
  display: block;
  margin-bottom: .9rem;
}
.tour-zone h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: .85rem;
}
.tour-zone-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(200,169,110,.22);
}
.tour-zone p {
  color: rgba(255,255,255,.74);
  line-height: 1.9;
  font-size: .97rem;
  margin-bottom: 1.1rem;
}
.tour-zone p:last-of-type { margin-bottom: 0; }

/* ── Liste ──────────────────────────────────────────────────── */
.tour-list { margin-top: 1.7rem; }
.tour-list-label {
  font-size: .69rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: .85rem;
}
.tour-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tour-tags span {
  font-size: .82rem;
  color: var(--gold-light);
  background: rgba(200,169,110,.09);
  border: 1px solid rgba(200,169,110,.26);
  border-radius: 50px;
  padding: .34rem 1rem;
  line-height: 1.5;
}
.tour-bullets { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.tour-bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: .55rem;
}
.tour-bullets li .dash {
  position: absolute;
  left: 0;
  top: .82em;
  width: .75rem;
  height: 1px;
  background: var(--gold);
  opacity: .85;
}

/* ── Blocchi logistica ──────────────────────────────────────── */
.tour-info-section { background: var(--off-white); padding: 5rem 0; }
.tour-info-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.tour-info-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--green-900);
  margin-bottom: .75rem;
}
.tour-info-head .tour-info-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--stone);
  font-size: 1.15rem;
}

.tour-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.tour-card {
  background: var(--white);
  border: 1px solid rgba(12,26,14,.08);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.tour-card h3 {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 1.1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(200,169,110,.4);
}
.tour-card ul { margin: 0; padding: 0; list-style: none; }
.tour-card li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .93rem;
  line-height: 1.7;
  color: #4a4740;
  margin-bottom: .45rem;
}
.tour-card li:last-child { margin-bottom: 0; }
.tour-card li .dash {
  position: absolute;
  left: 0;
  top: .78em;
  width: .6rem;
  height: 1px;
  background: var(--gold);
}

/* ── Integrazione tra aree ──────────────────────────────────── */
.tour-mix { background: var(--green-800); padding: 5rem 0; color: var(--white); }
.tour-mix-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.tour-mix h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 1rem;
}
.tour-mix-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.tour-mix p { color: rgba(255,255,255,.75); line-height: 1.95; font-size: 1rem; margin-bottom: 1.1rem; }
.tour-mix .tour-bullets { text-align: left; max-width: 620px; margin: 1.75rem auto 0; }
.tour-mix-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2.5rem auto 0;
  opacity: .55;
}

/* ── CTA finale ─────────────────────────────────────────────── */
.tour-cta {
  background: linear-gradient(160deg, #0a1a0c 0%, #14361a 100%);
  padding: 5.5rem 0;
  text-align: center;
  color: var(--white);
}
.tour-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: .85rem;
}
.tour-cta-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 2rem;
}
.tour-cta p { color: rgba(255,255,255,.72); line-height: 1.95; max-width: 680px; margin: 0 auto 1.15rem; }
.tour-cta-actions {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* ── Nota prezzo ────────────────────────────────────────────── */
.tour-price-note {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: 1.75rem;
  padding: .6rem 1.4rem;
  border: 1px solid rgba(200,169,110,.35);
  border-radius: 50px;
  background: rgba(200,169,110,.07);
}
.tour-price-note .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
}
.tour-price-note .lab {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

/* ── Crediti foto ───────────────────────────────────────────── */
.tour-credits {
  background: var(--green-900);
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.tour-credits p {
  font-size: .71rem;
  line-height: 1.75;
  color: rgba(255,255,255,.3);
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.tour-credits a { color: rgba(255,255,255,.45); text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tour-hero { min-height: 66vh; }
  /* Su schermi stretti il testo occupa tutta la larghezza: serve un velo
     verticale più deciso al posto di quello laterale. */
  .tour-hero-veil {
    background: linear-gradient(to bottom,
      rgba(10,26,12,.62) 0%,
      rgba(10,26,12,.28) 18%,
      rgba(10,26,12,.70) 48%,
      rgba(10,26,12,.94) 82%,
      #0a1a0c 100%);
  }
  .tour-hero-inner { padding: 9.5rem 0 3.5rem; }
  .tour-hero h1 { max-width: none; }
  .tour-zone { padding: 3.5rem 0; }
  .tour-zone-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tour-zone-grid.reverse .tour-zone-media { order: 0; }
  .tour-zone-media { aspect-ratio: 16 / 10; }
  .tour-info-section,
  .tour-mix,
  .tour-cta { padding: 3.5rem 0; }
  .tour-intro { padding: 3.25rem 0 2.5rem; }
}
@media (max-width: 480px) {
  .tour-hero-inner { padding: 10.5rem 0 3rem; }
  .tour-hero-actions .btn,
  .tour-cta-actions .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   CARD "TOUR GUIDATI" IN HOME — mappa del territorio
   ════════════════════════════════════════════════════════════════ */
.nativo-service-map {
  position: relative;
  width: 340px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200,169,110,.28);
  box-shadow: 0 18px 45px rgba(0,0,0,.4);
  line-height: 0;
}
.nativo-service-map img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(.82) contrast(1.03) brightness(.96);
}
/* Velo verde per legare la mappa alla palette del brand */
.nativo-service-map .veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(12,30,14,.34) 0%, rgba(12,30,14,.10) 45%, rgba(12,30,14,.42) 100%);
  pointer-events: none;
}
.nativo-service-map .badge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem .9rem .7rem;
  background: linear-gradient(to top, rgba(8,20,10,.92) 10%, rgba(8,20,10,0) 100%);
  font-family: 'Outfit', sans-serif;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .nativo-service-hero { grid-template-columns: 1fr !important; }
  .nativo-service-map { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   PAGINA COME FUNZIONA / NOLEGGIO — listino, regolamento, contratto
   ════════════════════════════════════════════════════════════════ */

/* Passi */
.nol-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.nol-step {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(200,169,110,.18);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}
.nol-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.nol-step h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: .6rem;
}
.nol-step p { color: rgba(255,255,255,.7); font-size: .93rem; line-height: 1.8; }

/* Sezioni della pagina */
.nol-section { padding: 5rem 0; }
.nol-dark  { background: linear-gradient(160deg, #0a1a0c 0%, #0f2d14 100%); color: var(--white); }
.nol-dark2 { background: linear-gradient(160deg, #0f2d14 0%, #0a1a0c 100%); color: var(--white); }
.nol-light { background: var(--off-white); }

.nol-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.nol-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: .75rem;
}
.nol-dark .nol-head h2, .nol-dark2 .nol-head h2 { color: var(--white); }
.nol-light .nol-head h2 { color: var(--green-900); }
.nol-head p {
  font-size: 1rem;
  line-height: 1.8;
}
.nol-dark .nol-head p, .nol-dark2 .nol-head p { color: rgba(255,255,255,.7); }
.nol-light .nol-head p { color: var(--text-muted); }

/* Tabella listino */
.nol-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,169,110,.22);
  background: rgba(255,255,255,.02);
  -webkit-overflow-scrolling: touch;
}
.nol-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: .9rem;
}
.nol-table thead th {
  font-family: 'Outfit', sans-serif;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  padding: 1rem .75rem;
  text-align: center;
  border-bottom: 1px solid rgba(200,169,110,.3);
  white-space: nowrap;
  line-height: 1.4;
}
.nol-table thead th:first-child { text-align: left; padding-left: 1.4rem; }
.nol-table tbody td {
  padding: .85rem .75rem;
  text-align: center;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-family: 'JetBrains Mono', monospace;
  font-size: .85rem;
  white-space: nowrap;
}
.nol-table tbody td:first-child {
  text-align: left;
  padding-left: 1.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 500;
  color: var(--white);
}
.nol-table tbody tr:last-child td { border-bottom: none; }
.nol-table tbody tr:hover td { background: rgba(200,169,110,.05); }
.nol-table .muted { color: rgba(255,255,255,.35); }

/* Tabella danni su fondo chiaro */
.nol-light .nol-table-wrap {
  background: var(--white);
  border-color: rgba(12,26,14,.1);
}
.nol-light .nol-table { min-width: 420px; }
.nol-light .nol-table thead th { color: var(--green-700); border-bottom-color: rgba(200,169,110,.45); }
.nol-light .nol-table tbody td { color: #4a4740; border-bottom-color: rgba(12,26,14,.07); }
.nol-light .nol-table tbody td:first-child { color: var(--green-900); }
.nol-light .nol-table tbody tr:hover td { background: rgba(200,169,110,.07); }

.nol-damage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Nota / disclaimer */
.nol-note {
  margin-top: 1.5rem;
  font-size: .87rem;
  line-height: 1.85;
  color: rgba(255,255,255,.5);
  max-width: 820px;
}
.nol-light .nol-note { color: var(--text-muted); }

/* Riquadro di avviso importante */
.nol-alert {
  border: 1px solid rgba(200,169,110,.45);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(200,169,110,.07);
  padding: 1.75rem 1.9rem;
  margin: 0 auto;
  max-width: 860px;
}
.nol-alert h3 {
  font-family: 'Outfit', sans-serif;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.nol-alert p { color: rgba(255,255,255,.82); line-height: 1.85; font-size: .95rem; margin-bottom: .8rem; }
.nol-alert p:last-child { margin-bottom: 0; }
.nol-alert ul { margin: .8rem 0 0; padding: 0; list-style: none; }
.nol-alert li {
  position: relative;
  padding-left: 1.3rem;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  font-size: .93rem;
  margin-bottom: .35rem;
}
.nol-alert li .dash {
  position: absolute; left: 0; top: .85em;
  width: .7rem; height: 1px; background: var(--gold);
}

/* Regolamento — articoli */
.nol-rules { max-width: 900px; margin: 0 auto; }
.nol-rule {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  align-items: start;
}
.nol-rule:last-child { border-bottom: none; }
.nol-rule-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--gold);
  padding-top: .18rem;
  opacity: .85;
}
.nol-rule h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .5rem;
  letter-spacing: .01em;
}
.nol-rule p { color: rgba(255,255,255,.68); font-size: .93rem; line-height: 1.85; margin-bottom: .6rem; }
.nol-rule p:last-child { margin-bottom: 0; }
.nol-rule strong { color: rgba(255,255,255,.92); font-weight: 600; }

/* Contratto — elenco campi */
.nol-contract {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.nol-card {
  background: var(--white);
  border: 1px solid rgba(12,26,14,.08);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.nol-card h3 {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 1.1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(200,169,110,.4);
}
.nol-card ul { margin: 0; padding: 0; list-style: none; }
.nol-card li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .93rem;
  line-height: 1.7;
  color: #4a4740;
  margin-bottom: .45rem;
}
.nol-card li:last-child { margin-bottom: 0; }
.nol-card li .dash {
  position: absolute; left: 0; top: .78em;
  width: .6rem; height: 1px; background: var(--gold);
}

/* Dati legali in chiusura */
.nol-legal { background: var(--green-900); padding: 2.5rem 0 3rem; }
.nol-legal p {
  text-align: center;
  font-size: .78rem;
  line-height: 1.9;
  color: rgba(255,255,255,.4);
  max-width: 760px;
  margin: 0 auto;
}
.nol-legal strong { color: rgba(255,255,255,.62); font-weight: 500; }

@media (max-width: 900px) {
  .nol-section { padding: 3.5rem 0; }
  .nol-damage-grid { grid-template-columns: 1fr; }
  .nol-rule { grid-template-columns: 2.6rem 1fr; gap: .6rem; }
  .nol-alert { padding: 1.4rem 1.3rem; }
}
