/* ============================================================
   Conero Sea — Gite Page
   pages/gite.css
   ============================================================ */

/* --- QUICK NAV PILLS --- */
.qnav {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding: 2rem clamp(1.2rem,5vw,4rem) .5rem;
  max-width: 800px;
  margin: 0 auto;
}

.qnav-pill {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s;
  -webkit-tap-highlight-color: transparent;
}

.qnav-pill:hover {
  border-color: rgba(229,179,64,.4);
  color: var(--gold2);
  background: rgba(229,179,64,.06);
}

/* --- TOUR BLOCK --- */
.tour-block {
  padding: clamp(3rem,6vw,6rem) clamp(1.2rem,5vw,4rem);
  border-bottom: 1px solid var(--gbr);
  overflow: clip;
}

.tour-block:nth-child(odd) { background: var(--ink); }

.tour-block:nth-child(even) {
  background: radial-gradient(ellipse at 50% 50%, rgba(14,14,72,.2) 0%, var(--ink) 65%);
}

.tour-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,5rem);
  align-items: start;
}

.tour-block.reverse .tour-inner { direction: rtl; }
.tour-block.reverse .tour-inner > * { direction: ltr; }

@media (max-width: 860px) {
  .tour-inner,
  .tour-block.reverse .tour-inner { grid-template-columns: 1fr; direction: ltr; }
  .tour-block.reverse .tour-inner > * { direction: ltr; }
}

/* Visual card */
.tour-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--gbr);
  aspect-ratio: 4/5;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1), border-color .4s;
}

.tour-visual-bg {
  position: absolute;
  inset: 0;
  transition: transform 1s cubic-bezier(.25,.46,.45,.94), filter .6s ease;
}

.tour-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px -18px rgba(2,2,15,.72);
  border-color: rgba(229,179,64,.45);
}
.tour-visual:hover .tour-visual-bg { transform: scale(1.06); filter: brightness(1.05); }

.tour-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2,2,15,.8) 0%, transparent 50%);
}

.tour-visual-num {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: rgba(255,255,255,.05);
}

.tour-visual-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
}

.tour-visual-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
}

.tour-visual-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  color: var(--gold2);
  line-height: 1;
  font-weight: 300;
}

/* Variante "Su preventivo": testo invece di numero, leggermente più piccolo e in italico */
.tour-visual-price-quote {
  font-size: 2.1rem;
  font-style: italic;
  letter-spacing: .01em;
}

.tour-visual-price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: .4rem;
  color: var(--gold);
}

.tour-visual-price sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  color: rgba(255,255,255,.38);
}

.tour-visual-dur {
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-top: .3rem;
}

/* Content */
.tour-content .sec-lbl { margin-bottom: .5rem; }
.tour-content .sec-ttl { font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: 1rem; }

.tour-desc {
  font-size: .88rem;
  line-height: 2;
  color: rgba(255,255,255,.6);
  font-weight: 300;
  margin-bottom: 1.8rem;
}

.tour-desc strong { color: var(--mist); font-weight: 500; }

/* Itinerary timeline */
.tour-timeline { margin-bottom: 2rem; }

.tour-tl-title {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 1rem;
  opacity: 1;
  font-weight: 600;
}

.tour-tl {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 1.6rem;
}

.tour-tl::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(229,179,64,.1));
}

.tour-tl-step { position: relative; padding: .5rem 0 .5rem .8rem; }

.tour-tl-step::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: .72rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--ink);
}

.tour-tl-step:first-child::before { background: var(--gold); }
.tour-tl-step:last-child::before  { background: var(--gold); }

.tour-tl-time {
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .15rem;
}

.tour-tl-what {
  font-size: .78rem;
  color: rgba(255,255,255,.68);
  font-weight: 300;
  line-height: 1.6;
}

/* Includes grid */
.tour-inc { margin-bottom: 2rem; }

.tour-inc-title {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--per);
  margin-bottom: .8rem;
  opacity: 1;
  font-weight: 600;
}

.tour-inc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}

@media (max-width: 500px) {
  .tour-inc-grid { grid-template-columns: 1fr; }
}

.tour-inc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r);
  background: rgba(255,255,255,.05);
  font-size: .64rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.82);
  transition: border-color .3s, color .3s, background .3s;
  cursor: default;
}

.tour-inc-item:hover { border-color: rgba(136,136,224,.6); color: #fff; background: rgba(82,82,204,.12); }

.tour-inc-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--per);
  flex-shrink: 0;
}

/* Highlighted (key) inclusions — gold tint so they stand out */
.tour-inc-item.gold {
  border-color: rgba(235,190,66,.45);
  background: rgba(229,179,64,.1);
  color: var(--gold3);
}
.tour-inc-item.gold:hover { border-color: var(--gold2); background: rgba(229,179,64,.16); }
.tour-inc-item.gold::before { background: var(--gold2); }

/* Info pills */
.tour-info {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.tour-info-pill {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(235,190,66,.35);
  background: rgba(229,179,64,.07);
  font-size: .56rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold2);
  cursor: default;
}

/* CTAs */
.tour-ctas { display: flex; gap: .6rem; flex-wrap: wrap; }
.tour-ctas .btn-p { padding: 13px 28px; font-size: .64rem; }
.tour-ctas .btn-g { padding: 13px 24px; font-size: .64rem; }

/* --- COMPARISON TABLE --- */
.comp-sec {
  padding: clamp(3rem,6vw,6rem) clamp(1.2rem,5vw,4rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(31,31,128,.12) 0%, transparent 55%),
    var(--deep);
  overflow: clip;
}

.comp-table-wrap {
  max-width: 1000px;
  margin: 2rem auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .72rem;
  text-align: left;
}

.comp-table th {
  font-size: .5rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 500;
  padding: 1rem .8rem;
  border-bottom: 1px solid var(--gbr);
  white-space: nowrap;
}

.comp-table td {
  padding: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: rgba(255,255,255,.6);
  font-weight: 300;
  vertical-align: top;
}

.comp-name {
  font-weight: 500;
  color: var(--txt-h);
  white-space: nowrap;
}

.comp-price {
  color: var(--gold2);
  font-weight: 500;
}

.comp-check { color: var(--per); text-align: center; }

.comp-table tbody tr { transition: background .3s; }
.comp-table tbody tr:hover { background: rgba(255,255,255,.03); }

.comp-note {
  text-align: center;
  font-size: .62rem;
  color: rgba(255,255,255,.32);
  margin-top: 1.2rem;
  letter-spacing: .06em;
}

/* --- FAQ --- */
.faq-sec {
  padding: clamp(3rem,6vw,6rem) clamp(1.2rem,5vw,4rem);
  background: var(--deep);
  overflow: clip;
}

.faq-grid {
  max-width: 720px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--gbr);
  position: relative;
  padding-left: 0;
  transition: background .35s, padding-left .4s cubic-bezier(.16,1,.3,1);
}
/* barretta dorata che compare a lato all'hover o quando aperta */
.faq-item::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  height: 42%; width: 2px;
  transform: translateY(-50%) scaleY(0); transform-origin: center;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.faq-item:hover, .faq-item.open { background: rgba(255,255,255,.025); padding-left: 1rem; }
.faq-item:hover::before, .faq-item.open::before { transform: translateY(-50%) scaleY(1); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: rgba(255,255,255,.72);
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  padding: 1.3rem 2.5rem 1.3rem 0;
  cursor: pointer;
  position: relative;
  transition: color .3s;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: .02em;
}

.faq-q:hover { color: var(--gold2); }

.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform .3s, color .3s;
  font-weight: 300;
}

.faq-q:hover::after { color: var(--gold2); transform: translateY(-50%) scale(1.18); }

.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .3s;
}

.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.3rem; }

.faq-a p {
  font-size: .78rem;
  line-height: 1.9;
  color: rgba(255,255,255,.52);
  font-weight: 300;
}

/* --- MOBILE OVERRIDES --- */
@media (max-width: 860px) {
  .tour-inc-item,
  .qnav-pill { min-height: unset; }
  .faq-q { min-height: 48px; }
  .tour-block { touch-action: pan-y; max-width: 100%; }
  .tour-visual { aspect-ratio: 3/4; }
  .tour-visual-num { font-size: 3.5rem; }
  .tour-visual-price { font-size: 2.5rem; }
}
@media (max-width: 540px) {
  .tour-visual { aspect-ratio: 1/1; min-height: 320px; }
  .tour-visual-num { font-size: 2.5rem; top: .8rem; left: .8rem; }
  .tour-visual-bottom { padding: 1rem; }
  .tour-visual-price { font-size: 2.2rem; }
  .tour-visual-badge { font-size: .44rem; padding: 4px 10px; }
  .tour-content .sec-ttl { font-size: clamp(1.5rem,6vw,2rem); }
  .tour-desc { font-size: .82rem; line-height: 1.9; }
  .tour-tl-what { font-size: .74rem; }
  .tour-info-pill { font-size: .56rem; padding: 6px 12px; }
  .tour-cta-wrap .btn-p,
  .tour-cta-wrap .btn-g { width: 100%; justify-content: center; padding: 14px; font-size: .64rem; }
}
