/* Pagina turului ghidat — Versiunea 2 (template-parts/archive/tururi-personalizate/single-tur-ghidat-v2.php)
   Foloseste tokenii paginilor de tur din single-tur.css (--tt-green, --tt-ink, --tt-line, --tt-top …). */

body.single-tururi .tgv2 {
  --g: var(--tt-green, #69b706);
  --gd: var(--tt-green-d, #4f8f0a);
  --ink: var(--tt-ink, #1f2933);
  --mute: var(--tt-muted, #6b7280);
  --line: var(--tt-line, #e6ebf1);
  --soft: #f3f7ee;
  --r-card: 22px;
  padding-top: 6px;
  padding-bottom: 40px;
  color: var(--ink);
}
/* galeria pe toata latimea pe telefon: taiem surplusul la nivelul paginii (clip, nu hidden — nu strica elementele lipicioase) */
body.tgv2-page { overflow-x: clip; }
body.single-tururi .tgv2 *,
body.single-tururi .tgv2 *::before,
body.single-tururi .tgv2 *::after { box-sizing: border-box; }
.tgv2-ic { flex: 0 0 auto; }

/* ================= Antet ================= */
.tgv2-eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tgv2-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: #374151; line-height: 1.3;
}
.tgv2-chip .tgv2-ic { width: 15px; height: 15px; color: var(--g); }
.tgv2-chip--green { background: var(--g); border-color: var(--g); color: #fff; letter-spacing: .02em; text-transform: uppercase; font-size: 11.5px; }
.tgv2-title {
  margin: 0; padding: 0;
  font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: 0;
  color: var(--ink);
}
.tgv2-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--ink); text-decoration: none !important; font-size: 14px; }
.tgv2-rating strong { font-weight: 800; }
.tgv2-rating span:last-child { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.tgv2-rating__stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; }
.tgv2-rating__stars::before { content: "★★★★★"; color: #dfe3e8; }
.tgv2-rating__stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--r, 0%); overflow: hidden; white-space: nowrap; color: #f5a524; }

/* ---------- galerie: mozaic pe desktop, carusel pe mobil ---------- */
.tgv2-gallery { position: relative; }
.tgv2-gallery__item { display: block; padding: 0; border: 0; background: #e9edf2; cursor: zoom-in; overflow: hidden; }
.tgv2-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tgv2-gallery__item:hover img { transform: scale(1.03); }
.tgv2-gallery__all {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.95); color: var(--ink);
  font-size: 13.5px; font-weight: 700; box-shadow: 0 6px 18px rgba(15,23,42,.18); cursor: pointer;
}
.tgv2-gallery__all:hover { background: #fff; }
.tgv2-gallery__count { display: none; }
.tgv2-gallery__nav { display: none; }
.tgv2-gallery__badges { display: none; }

@media (min-width: 768px) {
  .tgv2-gallery__track {
    display: grid; gap: 8px;
    grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
    height: clamp(340px, 42vw, 500px);
    border-radius: var(--r-card); overflow: hidden;
  }
  .tgv2-gallery__item:first-child { grid-row: 1 / span 2; }
  .tgv2-gallery__item.is-extra { display: none; }
  .tgv2-gallery[data-count="1"] .tgv2-gallery__track { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .tgv2-gallery[data-count="2"] .tgv2-gallery__track { grid-template-columns: 2fr 1fr; }
  .tgv2-gallery[data-count="2"] .tgv2-gallery__item:nth-child(2) { grid-row: 1 / span 2; }
  .tgv2-gallery[data-count="3"] .tgv2-gallery__track,
  .tgv2-gallery[data-count="4"] .tgv2-gallery__track { grid-template-columns: 2fr 1fr; }
}
@media (min-width: 1200px) {
  .tgv2-gallery__track { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 767px) {
  .tgv2-gallery { margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2); margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2); } /* pe toata latimea vizibila (fara bara de derulare) */
  .tgv2-gallery__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tgv2-gallery__track::-webkit-scrollbar { display: none; }
  .tgv2-gallery__item { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center; cursor: pointer; }
  .tgv2-gallery__count {
    display: block; position: absolute; right: 12px; bottom: 12px;
    padding: 4px 10px; border-radius: 999px; background: rgba(15,23,42,.62); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .02em;
  }
  .tgv2-gallery__all { display: none; }
  .tgv2-gallery__nav {
    position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; margin-top: -14px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%;
    background: rgba(15, 23, 42, .38); color: #fff; box-shadow: none; cursor: pointer;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: opacity .2s;
  }
  .tgv2-gallery__nav svg { display: block; width: 14px; height: 14px; }
  .tgv2-gallery__nav:active { background: rgba(15, 23, 42, .55); }
  .tgv2-gallery__nav.is-prev { left: 10px; }
  .tgv2-gallery__nav.is-next { right: 10px; }
  .tgv2-gallery__nav:disabled { opacity: 0; pointer-events: none; }
}

/* ---------- ce primesti (beneficiile) ---------- */
.tgv2-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 768px) { .tgv2-facts[data-n="3"], .tgv2-facts[data-n="5"], .tgv2-facts[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .tgv2-facts { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.tgv2-facts li {
  display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink);
}
.tgv2-facts i {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--gd); font-size: 16px;
}
@media (max-width: 767px) {
  .tgv2-facts, .tgv2-facts[data-n] { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tgv2-facts li { padding: 10px 11px; gap: 10px; font-size: 13px; }
  .tgv2-facts i { flex-basis: 32px; width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
}

/* ================= Grila paginii ================= */
.tgv2-layout {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
  grid-template-areas: "gallery" "head" "aside" "facts" "proof" "main";
}
.tgv2-proof { grid-area: proof; min-width: 0; scroll-margin-top: calc(var(--tt-top, 0px) + 72px); }
.tgv2-head { grid-area: head; }
.tgv2-gallery { grid-area: gallery; }
.tgv2-facts { grid-area: facts; }
.tgv2-aside { grid-area: aside; }
.tgv2-main { grid-area: main; margin-top: 8px; }
@media (min-width: 992px) {
  .tgv2-layout {
    grid-template-columns: minmax(0, 1fr) 380px; column-gap: 32px; row-gap: 16px; align-items: start;
    grid-template-areas: "head head" "gallery aside" "facts aside" "proof aside" "main aside";
  }
  .tgv2-main { grid-area: main; }
  /* coloana se intinde pe toata inaltimea continutului, ca cardul sa poata ramane lipit;
     cand cardul e mai inalt decat ecranul, JS muta punctul de lipire jos (butonul ramane vizibil) */
  .tgv2-aside { grid-area: aside; align-self: stretch; }
  .tgv2-aside__sticky { position: sticky; top: calc(var(--tt-top, 0px) + 16px); }
}
@media (min-width: 1200px) { .tgv2-layout { grid-template-columns: minmax(0, 1fr) 400px; } }
@media (min-width: 992px) { .tgv2-gallery__track { height: clamp(320px, 33vw, 460px); } }

/* ---------- rezervare ---------- */
body.single-tururi .tgv2 .tgv2-book { box-shadow: 0 18px 44px rgba(15, 23, 42, .12); }
.tgv2-book__lead { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--mute); }

/* ================= Continut ================= */
.tgv2-nav {
  position: sticky; top: var(--tt-top, 0px); z-index: 20;
  margin: 0 0 16px; padding: 8px 0;
  background: rgba(246, 248, 251, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tgv2-nav__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tgv2-nav__inner::-webkit-scrollbar { display: none; }
.tgv2-nav a {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: #374151 !important;
  font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.tgv2-nav a:hover { border-color: #c9dfae; }
.tgv2-nav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff !important; }

.tgv2-card {
  margin: 0 0 16px; padding: 26px 28px;
  border-radius: var(--r-card); background: #fff; border: 1px solid var(--line);
  scroll-margin-top: calc(var(--tt-top, 0px) + 72px);
}
.tgv2-h2 {
  margin: 0 0 14px; padding: 0;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--ink);
}
.tgv2-sub { margin-top: 22px; padding-top: 22px; border-top: 1px solid #eef1f5; }
.tgv2-h2--sub { font-size: 19px; }

.tgv2-prose { font-size: 15.5px; line-height: 1.72; color: #374151; }
.tgv2-prose > *:first-child { margin-top: 0; }
.tgv2-prose > *:last-child { margin-bottom: 0; }
.tgv2-prose p { margin: 0 0 12px; font-size: inherit; line-height: inherit; color: inherit; }
.tgv2-prose h2, .tgv2-prose h3, .tgv2-prose h4 { margin: 18px 0 8px; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); }
.tgv2-prose a { color: var(--gd); font-weight: 600; }
.tgv2-prose ul, .tgv2-prose ol { margin: 0 0 12px; padding-left: 20px; }
.tgv2-prose li { margin: 0 0 6px; }
.tgv2-prose strong, .tgv2-prose b { color: var(--ink); }
.tgv2-prose img { max-width: 100%; height: auto; border-radius: 14px; }
/* liste cu bife (informatii importante) */
.tgv2-prose--list ul { padding-left: 0; list-style: none; }
.tgv2-prose--list ul li { position: relative; padding-left: 28px; }
.tgv2-prose--list ul li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f8f0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* „Citește tot” (JS: .is-clamped doar cand textul e mai lung) */
.tgv2-more.is-clamped { position: relative; max-height: 300px; overflow: hidden; }
.tgv2-more.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%);
}
.tgv2-more-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0;
  border: 0; background: none; color: var(--gd); font-size: 14.5px; font-weight: 700; cursor: pointer;
}
.tgv2-more-btn::after { content: "›"; font-size: 18px; line-height: 1; transform: rotate(90deg); }
.tgv2-more-btn[aria-expanded="true"]::after { transform: rotate(-90deg); }

/* ---------- „Despre tur”: ideea principala mare + colaj foto ---------- */
.tgv2-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gd);
}
.tgv2-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--g); }
.tgv2-about__grid.has-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); gap: 30px; align-items: start; }
.tgv2-lead {
  position: relative; margin: 0 0 16px; padding: 2px 0 2px 16px;
  font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--ink);
}
.tgv2-lead::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--g), #b6dc6f); }
.tgv2-about__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; padding-bottom: 22px; }
.tgv2-about__ph {
  display: block; padding: 0; border: 0; margin: 0; background: #e9eef3; cursor: zoom-in; overflow: hidden;
  border-radius: 18px; box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}
.tgv2-about__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tgv2-about__ph:hover img { transform: scale(1.05); }
.tgv2-about__ph.is-1 { grid-column: 1 / 3; aspect-ratio: 4 / 3; }
.tgv2-about__ph.is-2 { grid-column: 2 / 3; aspect-ratio: 1; margin-top: -54px; border: 4px solid #fff; transform: rotate(3deg); }
.tgv2-about__ph.is-1:only-of-type { grid-column: 1 / 3; }
.tgv2-about__badge {
  position: absolute; left: -8px; bottom: 40px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; max-width: 70%; padding: 9px 13px;
  border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
  font-size: 12.5px; line-height: 1.25; color: var(--mute);
}
.tgv2-about__badge strong { font-size: 15px; color: var(--ink); }
.tgv2-about__star, .tgv2-about__badge i { color: #f5a524; font-size: 16px; }
.tgv2-about__badge i { color: var(--g); font-size: 14px; }

/* ---------- „De ce să alegi acest tur”: motive in carduri + citat dintr-o recenzie reala ---------- */
.tgv2-card.tgv2-why {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, #eaf5dc 0%, rgba(234, 245, 220, 0) 55%), linear-gradient(180deg, #fbfdf8, #f4f9ed);
  border-color: #dcebc8;
}
/* pe fundalul in degrade, textul se estompeaza prin masca (nu printr-un strat colorat) */
.tgv2-why .tgv2-more.is-clamped { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.tgv2-why .tgv2-more.is-clamped::after { display: none; }
.tgv2-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.tgv2-reasons li {
  display: flex; align-items: flex-start; gap: 13px; margin: 0; padding: 16px;
  border-radius: 18px; background: #fff; border: 1px solid #e3eed5; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tgv2-reasons li:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(79, 143, 10, .13); border-color: #c9e0a8; }
.tgv2-reasons__ic {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--g), var(--gd)); color: #fff; font-size: 17px;
  box-shadow: 0 6px 14px rgba(105, 183, 6, .3);
}
.tgv2-reasons__ic i { line-height: 1; }
.tgv2-reasons li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 2px; }
.tgv2-reasons strong { font-size: 15px; line-height: 1.35; color: var(--ink); }
.tgv2-reasons span:not(.tgv2-reasons__ic) { font-size: 13.5px; line-height: 1.5; color: var(--mute); }
/* motive doar cu titlu (ex. beneficiile, cat timp nu sunt completate motivele): carduri mai mici, centrate */
/* coloane dupa numarul de motive, ca sa nu ramana un card singur pe ultimul rand */
.tgv2-reasons[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.tgv2-reasons[data-n="3"], .tgv2-reasons[data-n="5"], .tgv2-reasons[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tgv2-reasons--compact[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tgv2-reasons--compact li { align-items: center; padding: 13px 14px; }
.tgv2-reasons--compact li > div { padding-top: 0; }
.tgv2-why .tgv2-more.is-clamped { max-height: 210px; }
.tgv2-quote {
  position: relative; margin: 18px 0 0; padding: 20px 22px 18px 58px;
  border-radius: 18px; background: #fff; border: 1px solid #e3eed5;
}
.tgv2-quote::before {
  content: "“"; position: absolute; left: 16px; top: 6px;
  font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--g); opacity: .5;
}
.tgv2-quote__stars { display: block; margin-bottom: 6px; color: #f5a524; font-size: 14px; letter-spacing: 2px; }
.tgv2-quote blockquote { margin: 0 0 10px; padding: 0; border: 0; font-size: 16px; line-height: 1.6; font-style: italic; color: var(--ink); }
.tgv2-quote figcaption { font-size: 13px; color: var(--mute); }
.tgv2-quote figcaption strong { color: var(--ink); }
.tgv2-quote figcaption a { color: var(--gd); font-weight: 700; }

/* aparitie la derulare (JS adauga .tgv2-anim doar daca IntersectionObserver exista si miscarea nu e redusa) */
.tgv2-anim [data-tgv2-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.tgv2-anim [data-tgv2-reveal].is-in { opacity: 1; transform: none; }
.tgv2-anim .tgv2-reasons li.is-in:hover { transform: translateY(-3px); transition-delay: 0s; }
.tgv2-anim .tgv2-about__media[data-tgv2-reveal] .tgv2-about__ph.is-2 { transform: rotate(0deg) translateY(16px); transition: transform .8s cubic-bezier(.2, .7, .2, 1) .15s; }
.tgv2-anim .tgv2-about__media.is-in .tgv2-about__ph.is-2 { transform: rotate(3deg); }
@media (prefers-reduced-motion: reduce) {
  .tgv2-anim [data-tgv2-reveal] { opacity: 1; transform: none; transition: none; }
  .tgv2-about__ph img, .tgv2-reasons li { transition: none; }
}
@media (max-width: 991px) {
  .tgv2-about__grid.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 210px); gap: 22px; }
}
@media (max-width: 767px) {
  .tgv2-about__grid.has-media { display: flex; flex-direction: column; gap: 6px; }
  .tgv2-about__text { display: contents; } /* pe telefon: titlu, ideea principala, colaj, apoi restul textului */
  .tgv2-about__text > .tgv2-kicker { align-self: flex-start; }
  .tgv2-about__text > .tgv2-more, .tgv2-about__text > .tgv2-more-btn { order: 2; }
  .tgv2-about__text > .tgv2-more-btn { align-self: flex-start; }
  .tgv2-about__media { order: 1; margin-bottom: 14px; width: 100%; grid-template-columns: 1.5fr 1fr; padding-bottom: 0; margin-top: 4px; }
  .tgv2-about__ph.is-1 { grid-column: 1 / 2; aspect-ratio: auto; align-self: stretch; min-height: 150px; }
  .tgv2-about__ph.is-1:only-of-type { grid-column: 1 / 3; aspect-ratio: 16 / 10; }
  .tgv2-about__ph.is-2 { grid-column: 2 / 3; margin-top: 18px; aspect-ratio: 3 / 4; }
  .tgv2-about__badge { left: 10px; bottom: 10px; }
  .tgv2-lead { font-size: 16.5px; }
  .tgv2-reasons, .tgv2-reasons[data-n] { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tgv2-reasons li { padding: 13px; }
  .tgv2-reasons--compact, .tgv2-reasons--compact[data-n] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgv2-reasons--compact li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 13px 12px; }
  .tgv2-reasons--compact strong { font-size: 14px; }
  .tgv2-reasons__ic { flex-basis: 38px; width: 38px; height: 38px; font-size: 15px; border-radius: 12px; }
  .tgv2-quote { padding: 18px 16px 16px 48px; }
  .tgv2-quote::before { left: 10px; font-size: 54px; }
  .tgv2-quote blockquote { font-size: 15px; }
}

/* ---------- itinerariu: harta + cronologia opririlor ---------- */
.tgv2-h2row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tgv2-h2row .tgv2-h2 { margin: 0; }
.tgv2-itin__map {
  position: relative; margin: 0 0 18px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: #eef2f6; aspect-ratio: 16 / 8;
}
.tgv2-itin__map-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--mute); font-size: 14px; }
.tgv2-itin { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tgv2-itin::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(180deg, #cfe5b3 0 6px, transparent 6px 11px); }
.tgv2-stop { position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 0 0 18px; }
.tgv2-stop:last-child { padding-bottom: 4px; }
.tgv2-stop__num {
  position: relative; z-index: 1; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--g); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 0 0 4px #fff;
}
.tgv2-stop__body { flex: 1; min-width: 0; padding-top: 6px; }
.tgv2-stop__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tgv2-stop__head h3 { margin: 0; padding: 0; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); }
.tgv2-stop__dur { padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--gd); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tgv2-stop__body p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: #4b5563; }
.tgv2-stop__show { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--gd); font-size: 13px; font-weight: 700; cursor: pointer; }
.tgv2-stop__show .tgv2-ic { width: 15px; height: 15px; }
.tgv2-stop__img { flex: 0 0 96px; width: 96px; height: 72px; object-fit: cover; border-radius: 12px; margin-top: 4px; }
.tgv2-stop.is-active .tgv2-stop__num { background: var(--ink); }
@media (max-width: 767px) {
  .tgv2-itin__map { aspect-ratio: 4 / 3.4; margin-left: -18px; margin-right: -18px; border-radius: 0; border-left: 0; border-right: 0; }
  .tgv2-stop__img { flex-basis: 72px; width: 72px; height: 56px; }
}

/* ce include: ✓ include / ✕ nu include, apoi textul */
.tgv2-h3 { margin: 0 0 12px; padding: 0; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.tgv2-inex--two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 767px) { .tgv2-inex--two { grid-template-columns: 1fr; } }
.tgv2-checks.tgv2-checks--x .tgv2-checks__ic { background: #fde8e8; color: #c53030; }
.tgv2-checks--x strong { font-weight: 600; }
.tgv2-include { display: flex; flex-direction: column; gap: 20px; }
.tgv2-checks { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tgv2-checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.tgv2-checks li > div { padding-top: 3px; min-width: 0; } /* primul rand de text pe mijlocul cercului */
.tgv2-checks .tgv2-checks__ic { flex: 0 0 28px; width: 28px; height: 28px; margin: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--g); color: #fff; }
.tgv2-checks__ic .tgv2-ic { display: block; width: 16px; height: 16px; }
.tgv2-checks strong { display: block; font-size: 15.5px; line-height: 1.4; color: var(--ink); margin: 0; }
.tgv2-checks li > div > span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--mute); }

/* locul de intalnire */
.tgv2-meet { display: flex; flex-direction: column; gap: 18px; }
.tgv2-meet__map { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #eef2f6; aspect-ratio: 16 / 7; }
.tgv2-meet__map iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
.tgv2-meet__info { display: flex; flex-direction: column; gap: 14px; }
.tgv2-meet__place { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.tgv2-meet__place .tgv2-ic { color: var(--gd); margin-top: 1px; }
.tgv2-meet__place strong { font-size: 15px; line-height: 1.45; color: var(--ink); }
.tgv2-meet .tgv2-prose { font-size: 15px; }
.tgv2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
  padding: 11px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 700; text-decoration: none !important;
}
.tgv2-btn .tgv2-ic { width: 17px; height: 17px; }
.tgv2-btn--ghost { border: 1.5px solid var(--g); color: var(--gd) !important; background: #fff; }
.tgv2-btn--ghost:hover { background: var(--soft); }
.tgv2-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.tgv2-note .tgv2-ic { width: 18px; height: 18px; color: #d69e2e; }

/* informatii importante */
.tgv2-info--img { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tgv2-info__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }

/* politica de anulare */
.tgv2-card--policy { display: flex; gap: 18px; background: linear-gradient(180deg, #fbfdf8, #f3f8ec); border-color: #d9eac3; }
.tgv2-policy__ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--gd); box-shadow: 0 4px 14px rgba(79, 143, 10, .15); }
.tgv2-policy__ic .tgv2-ic { width: 26px; height: 26px; }
.tgv2-card--policy .tgv2-prose { font-size: 15px; }

/* ---------- sumarul recenziilor (sus, sub beneficii) — markup-ul temei, rearanjat pentru coloana si mobil ---------- */
.tgv2-proof .review-section { margin: 0 !important; }
.tgv2-proof .review-section > .container { max-width: none; padding: 0; }
.tgv2-proof .review-card { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: none; overflow: hidden; }
.tgv2-proof .review-card > .card-body { padding: 22px 24px !important; }
.tgv2-proof .review-tit { font-family: "Oswald", sans-serif; font-weight: 600 !important; font-size: 22px; color: var(--ink); }
.tgv2-proof .review-link { color: #fff !important; font-size: 13px; }
/* nota + bare pe stele, alaturate */
.tgv2-proof .row.align-items-center { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; margin: 0; }
.tgv2-proof .row.align-items-center > [class*="col-"] { max-width: none; padding: 0; flex: none; width: auto; margin: 0 !important; }
.tgv2-proof .rating-box { border-radius: 16px; background: var(--soft); padding: 14px 10px !important; }
.tgv2-proof .rating-box .display-4 { font-family: "Oswald", sans-serif; font-size: 44px; line-height: 1; font-weight: 600; color: var(--ink); }
.tgv2-proof .review-row { font-size: 13px; }
.tgv2-proof .review-progress { height: 8px; border-radius: 999px; background: #eef2f6; }
.tgv2-proof .review-progress .progress-bar { background: #f5a524 !important; border-radius: 999px; }
/* ultimele recenzii: carusel orizontal (glisare pe telefon) */
.tgv2-proof .row.mt-15 {
  display: flex; flex-wrap: nowrap; gap: 12px; margin: 18px -24px 0 !important; padding: 0 24px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: thin;
}
.tgv2-proof .row.mt-15 > [class*="col-"] { flex: 0 0 270px; max-width: 270px; padding: 0 !important; margin: 0 !important; scroll-snap-align: start; }
.tgv2-proof .review-item { border: 1px solid var(--line); border-radius: 16px; background: #fbfcfd; box-shadow: none; }
.tgv2-proof .review-item .card-body { padding: 14px !important; }
@media (max-width: 767px) {
  .tgv2-proof .review-card > .card-body { padding: 18px 16px !important; }
  .tgv2-proof .row.align-items-center { grid-template-columns: 1fr; gap: 12px; }
  .tgv2-proof .row.mt-15 { margin: 14px -16px 0 !important; padding: 0 16px 6px; scroll-padding: 0 16px; }
  .tgv2-proof .row.mt-15 > [class*="col-"] { flex-basis: 78%; max-width: 78%; }
}

/* recenzii: lista completa si formularul temei (au cardurile lor) — fara card in plus */
.tgv2-card.tgv2-reviews { padding: 0; background: none; border: 0; }
/* single-tur.css (V1) pune padding lateral pe #review — pe V2 sectiunea se aliniaza cu celelalte carduri */
body.single-tururi .tgv2 #review.tgv2-reviews { max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.tgv2-reviews .review-section { margin: 0 0 16px !important; }
.tgv2-reviews .review-section > .container { max-width: none; padding: 0; }

/* ---------- mobil: aspect de aplicatie ---------- */

@media (max-width: 767px) {
  body.single-tururi .tgv2 { padding-bottom: 90px; } /* loc pentru bara de rezervare de jos */
  .tgv2-eyebrow { margin-bottom: 8px; }
  .tgv2-nav { margin: 0 -15px 12px; padding: 8px 15px; }
  .tgv2-card { padding: 20px 18px; border-radius: 18px; margin-bottom: 12px; }
  .tgv2-h2 { font-size: 20px; }
  .tgv2-prose { font-size: 15px; line-height: 1.68; }
  .tgv2-info--img { grid-template-columns: 1fr; gap: 16px; }
  .tgv2-meet__map { aspect-ratio: 16 / 11; }
  .tgv2-card--policy { flex-direction: column; gap: 12px; }
  .tgv2-btn { align-self: stretch; }
}

/* ================= Telefon: antet ca intr-o aplicatie =================
   poza mai joasa, cu umbra jos si etichetele peste ea; titlul intr-o „foaie” cu colturi rotunjite care urca peste poza;
   beneficiile pe un singur rand glisabil; fara breadcrumb; spatieri mai stranse */
@media (max-width: 767px) {
  body.tgv2-page .Breadcrumbs { display: none; }
  /* o singura margine laterala (15px, a paginii) — cardurile folosesc mai bine latimea ecranului */
  .tgv2-layout.container { padding-left: 0; padding-right: 0; }
  body.single-tururi .tgv2 { padding-top: 0; }
  .tgv2-layout { row-gap: 14px; }

  .tgv2-gallery__item { aspect-ratio: 16 / 11; }
  .tgv2-gallery::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0) 0%, rgba(8, 12, 20, .25) 45%, rgba(8, 12, 20, .72) 100%);
  }
  .tgv2-gallery::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22%; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 12, 20, .28), rgba(8, 12, 20, 0));
  }
  .tgv2-gallery__badges { display: flex; flex-wrap: wrap; gap: 6px; position: absolute; left: 14px; bottom: 32px; right: 70px; z-index: 2; pointer-events: none; }
  .tgv2-glass {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
    font-size: 12px; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .tgv2-glass .tgv2-ic { width: 13px; height: 13px; }
  .tgv2-glass--green { background: var(--g); border-color: var(--g); text-transform: uppercase; letter-spacing: .03em; font-size: 11px; text-shadow: none; }
  .tgv2-gallery__count { bottom: 32px; z-index: 2; background: rgba(15, 23, 42, .45); border: 1px solid rgba(255, 255, 255, .22); }
  .tgv2-gallery__nav { top: calc(50% - 10px); z-index: 2; }

  /* foaia cu titlul, peste marginea de jos a pozei */
  .tgv2-head { position: relative; z-index: 3; margin-top: -34px; padding-top: 16px; }
  .tgv2-head::before {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: -1;
    left: calc(50% - 50vw + var(--sbw, 0px) / 2); right: calc(50% - 50vw + var(--sbw, 0px) / 2);
    background: var(--tt-bg, #f6f8fb); border-radius: 22px 22px 0 0; box-shadow: 0 -8px 20px rgba(8, 12, 20, .12);
    clip-path: inset(-40px 0 0 0); /* umbra doar in sus, peste poza */
  }
  .tgv2-layout { grid-template-areas: "gallery" "head" "facts" "aside" "proof" "main"; }
  .tgv2-hide-m { display: none !important; }
  .tgv2-eyebrow { order: 2; margin: 6px 0 0; }
  .tgv2-head { display: flex; flex-direction: column; }
  .tgv2-title { order: 1; font-size: 23px; line-height: 1.2; }
  .tgv2-rating { order: 3; margin-top: 8px; }
  .tgv2-eyebrow .tgv2-chip { padding: 0; border: 0; background: none; font-size: 13px; color: var(--mute); }

  /* beneficiile: un rand glisabil de etichete */
  .tgv2-facts, .tgv2-facts[data-n] {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    /* pe toata latimea ecranului, dar cu primul element aliniat cu textul de deasupra */
    --bleed: calc(50vw - 50% - var(--sbw, 0px) / 2);
    margin: 0 calc(-1 * var(--bleed)); padding: 0 var(--bleed) 2px;
  }
  .tgv2-facts::-webkit-scrollbar { display: none; }
  .tgv2-facts li { flex: 0 0 auto; padding: 7px 12px 7px 7px; border-radius: 999px; gap: 8px; font-size: 13px; white-space: nowrap; }
  .tgv2-facts i { flex-basis: 26px; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; }

  /* cardul de rezervare si cardurile de continut: mai compacte */
  body.single-tururi .tgv2 .tgv2-book { padding: 18px 16px 16px; box-shadow: 0 10px 28px rgba(15, 23, 42, .1); }
  .tgv2-proof .review-card > .card-body { padding: 16px 14px !important; }
  .tgv2-card { padding: 18px 16px; }
}

/* ================= Galeria pe tot ecranul ================= */
.tgv2-lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000; display: flex; align-items: center; background: #0b0f17; }
.tgv2-lightbox[hidden] { display: none; }
.tgv2-lightbox__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tgv2-lightbox__track::-webkit-scrollbar { display: none; }
.tgv2-lightbox__slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 60px 70px; scroll-snap-align: center; }
.tgv2-lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.tgv2-lightbox__close, .tgv2-lightbox__nav {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; line-height: 1;
}
.tgv2-lightbox__close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 30px; }
.tgv2-lightbox__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 38px; }
.tgv2-lightbox__nav.is-prev { left: 16px; }
.tgv2-lightbox__nav.is-next { right: 16px; }
.tgv2-lightbox__close:hover, .tgv2-lightbox__nav:hover { background: rgba(255,255,255,.22); }
.tgv2-lightbox__close svg, .tgv2-lightbox__nav svg { display: block; }
.tgv2-lightbox__count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 14px; font-weight: 700; }
.tgv2-lightbox__nav:disabled { opacity: .25; cursor: default; }
@media (max-width: 767px) {
  .tgv2-lightbox__slide { padding: 56px 0; }
  .tgv2-lightbox__slide img { border-radius: 0; }
  /* pe telefon: sageti mai mici, jos, ca sa nu acopere poza */
  .tgv2-lightbox__nav { top: auto; bottom: 22px; margin-top: 0; width: 34px; height: 34px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
  .tgv2-lightbox__nav svg { width: 15px; height: 15px; }
  .tgv2-lightbox__nav.is-prev { left: calc(50% - 44px); }
  .tgv2-lightbox__nav.is-next { right: calc(50% - 44px); }
  .tgv2-lightbox__nav.is-prev { left: calc(50% - 48px); }
  .tgv2-lightbox__nav.is-next { right: calc(50% - 48px); }
}
body.tgv2-lock { overflow: hidden; }
