/* guide.css — Peaks of the Balkans guide sales page (pages/pob-guide.php) */

.pg-page {
  --pg-ink: #0e231c;
  --pg-forest: #10261f;
  --pg-moss: #173429;
  --pg-line: #2a4a3e;
  --pg-gold: #e9b44c;
  --pg-cta: var(--clr-yellow, #FDB813);
  --pg-paper: #f7f3ea;
  --pg-text: #1c2723;
  --pg-muted: #5c6b64;
  --pg-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
.pg {
  color: var(--pg-text);
  background: #fff;
  overflow-x: clip;
}
.pg h1, .pg h2, .pg h3 { font-family: var(--pg-serif); letter-spacing: -.01em; }
.pg-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.pg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Buttons ─────────────────────────────────────────── */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 2px solid transparent;
  border-radius: 12px; padding: 14px 26px; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none; text-align: center; }
.pg-btn:hover { transform: translateY(-2px); }
.pg-btn:active { transform: translateY(0) scale(.98); }
.pg-btn--primary { background: var(--pg-cta); color: #14130f; box-shadow: 0 8px 24px rgba(253,184,19,.28); }
.pg-btn--primary:hover { background: #ffc531; box-shadow: 0 12px 30px rgba(253,184,19,.38); }
.pg-btn--dark { background: var(--pg-forest); color: #fff; }
.pg-btn--dark:hover { background: var(--pg-ink); }
.pg-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.pg-btn--ghost:hover { border-color: #fff; }
.pg-btn--block { width: 100%; }
.pg-btn.is-busy { opacity: .6; pointer-events: none; }
.pg-link { background: none; border: none; padding: 0; color: inherit; font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.pg-link:hover { text-decoration-color: currentColor; }

/* ── Hero ────────────────────────────────────────────── */
.pg-hero { position: relative; background: radial-gradient(120% 90% at 85% 40%, #1c3b30 0%, var(--pg-forest) 55%, var(--pg-ink) 100%);
  color: #eef2ee; padding: 48px 0 72px; overflow: hidden; }
.pg-topo { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(233,180,76,.09); pointer-events: none; }
.pg-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.pg-crumbs { font-size: .8rem; color: rgba(238,242,238,.6); margin-bottom: 22px; }
.pg-crumbs a { color: inherit; }
.pg-crumbs span { margin: 0 4px; }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pg-gold); margin: 0 0 18px; }
.pg-eyebrow span { width: 28px; height: 3px; border-radius: 2px; background: var(--pg-gold); }
.pg-title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.04; margin: 0 0 20px; color: #fff; font-weight: 700; }
.pg-title em { display: block; font-weight: 400; font-style: italic; color: #d9e2dc; font-size: .62em; margin-top: 10px; }
.pg-lead { font-size: 1.08rem; line-height: 1.65; color: #c9d4ce; max-width: 560px; margin: 0 0 26px; }

.pg-stats { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
  margin: 0 0 28px; padding: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; width: fit-content; max-width: 100%; }
.pg-stats li { padding: 12px 20px; border-left: 1px solid rgba(255,255,255,.1); }
.pg-stats li:first-child { border-left: none; }
.pg-stats strong { display: block; font-size: 1.25rem; color: #fff; line-height: 1.2; }
.pg-stats span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,242,238,.6); }

.pg-buy { max-width: 520px; }
.pg-formats { border: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-format { position: relative; cursor: pointer; }
.pg-format input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pg-format__body { display: block; height: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04); transition: border-color .15s, background .15s; }
.pg-format__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pg-format__top strong { font-size: 1rem; color: #fff; }
.pg-format__top b { font-size: 1.05rem; color: var(--pg-gold); }
.pg-format small { display: block; margin-top: 4px; font-size: .78rem; color: rgba(238,242,238,.65); line-height: 1.35; }
.pg-format input:checked + .pg-format__body { border-color: var(--pg-gold); background: rgba(233,180,76,.1); box-shadow: 0 0 0 4px rgba(233,180,76,.12); }
.pg-format input:focus-visible + .pg-format__body { outline: 3px solid #fff; outline-offset: 2px; }
.pg-buy-now { width: 100%; font-size: 1.08rem; padding: 17px 26px; }
.pg-buy__alt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: .9rem; color: #dfe7e2; }
.pg-buy__alt a { color: inherit; }
.pg-trust { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .8rem; color: rgba(238,242,238,.6); }
.pg-trust svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }

/* Book + phone mockup built from the real cover and pages */
.pg-hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; perspective: 1800px; }
.pg-book { position: relative; width: min(340px, 72%); transform: rotateY(-18deg) rotateX(5deg) rotateZ(1deg); transform-style: preserve-3d;
  animation: pg-float 7s ease-in-out infinite; }
.pg-book__cover { position: relative; display: block; width: 100%; height: auto; border-radius: 3px 10px 10px 3px;
  box-shadow: inset 6px 0 10px rgba(0,0,0,.35), 0 30px 60px rgba(0,0,0,.5), 0 8px 18px rgba(0,0,0,.35); }
.pg-book::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; z-index: 2; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(0,0,0,.25) 45%, rgba(255,255,255,.06)); pointer-events: none; }
.pg-book__pages { position: absolute; top: 6px; bottom: 6px; right: -12px; width: 20px; border-radius: 0 6px 6px 0;
  background: repeating-linear-gradient(90deg, #f3eee2 0 2px, #d9d2c2 2px 3px); transform: translateZ(-8px);
  box-shadow: 4px 10px 22px rgba(0,0,0,.35); }
.pg-phone { position: absolute; left: 2%; bottom: -6px; width: 168px; aspect-ratio: 9 / 18.5; border-radius: 30px; padding: 8px;
  background: linear-gradient(145deg, #2b2f2d, #0c0d0d); box-shadow: 0 30px 50px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.12);
  transform: rotate(-7deg); animation: pg-float 7s ease-in-out -3.5s infinite; }
.pg-phone__screen { width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: #fff; }
.pg-phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pg-badge { position: absolute; right: 2%; top: 8%; background: rgba(14,35,28,.85); backdrop-filter: blur(8px); border: 1px solid rgba(233,180,76,.4);
  border-radius: 14px; padding: 10px 14px; text-align: left; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.pg-badge strong { display: block; color: var(--pg-gold); font-size: .82rem; letter-spacing: .06em; }
.pg-badge span { font-size: .72rem; color: #c9d4ce; }
@keyframes pg-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .pg-book, .pg-phone { animation: none; } }

/* ── Proof strip ─────────────────────────────────────── */
.pg-strip { background: var(--pg-moss); color: #dfe7e2; border-top: 1px solid var(--pg-line); }
.pg-strip__row { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; font-size: .9rem; }
.pg-strip p { margin: 0; }
.pg-strip strong { color: var(--pg-gold); }
.pg-strip span { color: rgba(223,231,226,.6); }

/* ── Sections ────────────────────────────────────────── */
.pg-section { padding: 88px 0; }
.pg-paper { background: var(--pg-paper); }
.pg-dark { background: var(--pg-forest); color: #e7ede9; }
.pg-head { max-width: 680px; margin: 0 0 40px; }
.pg-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.pg-head h2, .pg-route h2, .pg-basecamp h2, .pg-final h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0 0 12px; }
.pg-head p:not(.pg-kicker) { color: var(--pg-muted); font-size: 1.05rem; margin: 0; }
.pg-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a8741a; margin: 0 0 10px; }
.pg-dark .pg-kicker, .pg-basecamp .pg-kicker { color: var(--pg-gold); }

/* Features */
.pg-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pg-feature { background: #fff; border: 1px solid #ece5d6; border-radius: 18px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.pg-feature:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,38,31,.08); }
.pg-feature h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.pg-feature p { margin: 0; color: var(--pg-muted); line-height: 1.6; font-size: .95rem; }
.pg-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--pg-forest); color: var(--pg-gold); }
.pg-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.pg-chips li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #e3dac6; font-size: .85rem; font-weight: 600; color: var(--pg-forest); }

/* Look inside rail */
.pg-inside { background: #fff; padding-bottom: 72px; }
.pg-inside .pg-head { margin-bottom: 26px; }
.pg-rail-nav { display: flex; gap: 8px; }
.pg-rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d8d2c4; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--pg-forest); }
.pg-rail-btn:hover { background: var(--pg-paper); }
.pg-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 74vw); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(20px, calc((100vw - 1180px) / 2 + 20px)) 24px; scroll-padding: 0 max(20px, calc((100vw - 1180px) / 2 + 20px)); scrollbar-width: thin; }
.pg-rail:focus-visible { outline: none; }
.pg-page-card { margin: 0; scroll-snap-align: start; }
.pg-page-card__img { display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 40px rgba(16,38,31,.16); transition: transform .2s; }
.pg-page-card__img:hover { transform: translateY(-4px); }
.pg-page-card__img img { display: block; width: 100%; height: auto; }
.pg-page-card figcaption { margin-top: 14px; font-size: .88rem; color: var(--pg-muted); line-height: 1.5; }
.pg-page-card figcaption strong { display: block; color: var(--pg-text); font-size: .95rem; }

/* Route */
.pg-route { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.pg-route__intro { position: sticky; top: 110px; }
.pg-route__intro h2 { color: #fff; }
.pg-route__intro p:not(.pg-kicker) { color: #b9c7c0; line-height: 1.65; margin: 0 0 24px; }
.pg-stages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pg-line); }
.pg-stages li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--pg-line); }
.pg-stages__n { font-family: var(--pg-serif); font-size: 1.15rem; color: var(--pg-gold); font-weight: 700; }
.pg-stages__name { font-weight: 600; color: #fff; }
.pg-stages__name i { font-style: normal; color: var(--pg-gold); margin: 0 4px; }
.pg-stages__meta { font-size: .88rem; color: #a9b9b1; white-space: nowrap; }

/* Plans */
.pg-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 860px; }
.pg-plan { position: relative; background: #fff; border: 1px solid #e6dece; border-radius: 22px; padding: 34px 30px 30px; display: flex; flex-direction: column; }
.pg-plan--featured { border: 2px solid var(--pg-forest); box-shadow: 0 24px 50px rgba(16,38,31,.12); }
.pg-plan__tag { position: absolute; top: -13px; left: 28px; background: var(--pg-forest); color: var(--pg-gold); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pg-plan__tag--muted { background: #efe8d8; color: var(--pg-forest); }
.pg-plan h3 { font-size: 1.4rem; margin: 0 0 4px; }
.pg-plan__price { font-family: var(--pg-serif); font-size: 2.6rem; font-weight: 700; margin: 0 0 18px; color: var(--pg-forest); }
.pg-plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.pg-plan li { position: relative; padding: 7px 0 7px 28px; color: #3b4843; }
.pg-plan li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2.5px solid #2f7a52; border-bottom: 2.5px solid #2f7a52; transform: rotate(-45deg); }
.pg-note { margin: 22px 0 0; color: var(--pg-muted); font-size: .92rem; }

/* Basecamp */
.pg-basecamp { position: relative; padding: 110px 0; background: linear-gradient(90deg, rgba(14,35,28,.92) 0%, rgba(14,35,28,.7) 45%, rgba(14,35,28,.2) 100%), var(--pg-photo) center / cover no-repeat; color: #fff; }
.pg-basecamp__card { max-width: 520px; }
.pg-basecamp p:not(.pg-kicker) { color: #d3ddd7; line-height: 1.6; }
.pg-links { list-style: none; margin: 22px 0 0; padding: 0; }
.pg-links a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; text-decoration: none; }
.pg-links a span { color: var(--pg-gold); transition: transform .2s; }
.pg-links a:hover span { transform: translateX(4px); }

/* FAQ */
.pg-faq-wrap { max-width: 820px; }
.pg-faq details { border-bottom: 1px solid #e6e1d6; padding: 6px 0; }
.pg-faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; position: absolute; right: 6px; top: 10px; font-size: 1.6rem; font-weight: 400; color: #a8741a; transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details p { margin: 0 0 16px; color: var(--pg-muted); line-height: 1.7; }

/* Final CTA */
.pg-final { background: radial-gradient(100% 140% at 0% 0%, #1d3b31, var(--pg-ink)); color: #fff; padding: 72px 0; }
.pg-final__row { display: flex; align-items: center; gap: 48px; }
.pg-final img { width: 170px; height: auto; border-radius: 3px 8px 8px 3px; box-shadow: 0 24px 50px rgba(0,0,0,.45); transform: rotate(-4deg); flex-shrink: 0; }
.pg-final p { color: #c9d4ce; margin: 0 0 22px; font-size: 1.05rem; }
.pg-final__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sticky buy bar (phones) */
.pg-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,35,28,.96); backdrop-filter: blur(10px); color: #fff;
  border-top: 1px solid var(--pg-line); transform: translateY(110%); transition: transform .25s ease; }
.pg-sticky div { display: flex; flex-direction: column; line-height: 1.25; }
.pg-sticky strong { font-size: .9rem; }
.pg-sticky span { color: var(--pg-gold); font-weight: 700; }
.pg-sticky .pg-btn { padding: 12px 22px; }
.pg-sticky-on .pg-sticky { transform: translateY(0); }
/* Lift the WhatsApp and HIKBOT buttons above the bar while it is showing */
.pg-sticky-on .floating-whatsapp { bottom: 86px !important; }
.pg-sticky-on #hikbot-widget-wrap { bottom: 86px !important; }

/* Zoomed page */
.pg-zoom { border: none; padding: 0; background: transparent; max-width: min(92vw, 760px); max-height: 92vh; overflow: visible; }
.pg-zoom::backdrop { background: rgba(8,16,13,.86); }
.pg-zoom img { display: block; max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.pg-zoom__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; background: #111; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .pg-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .pg-hero__visual { order: -1; min-height: 0; padding: 10px 0 18px; }
  .pg-book { width: min(220px, 54%); margin-left: 16%; }
  .pg-phone { width: 104px; left: 8%; bottom: 4px; border-radius: 20px; padding: 6px; }
  .pg-phone__screen { border-radius: 15px; }
  .pg-badge { display: none; }
  .pg-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-route { grid-template-columns: 1fr; gap: 32px; }
  .pg-route__intro { position: static; }
  .pg-sticky { display: flex; }
}
@media (max-width: 640px) {
  .pg-hero { padding: 24px 0 48px; }
  .pg-crumbs { display: none; }
  .pg-book { width: min(190px, 50%); }
  .pg-phone { width: 92px; left: 6%; }
  .pg-eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .pg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .pg-stats li:nth-child(3) { border-left: none; }
  .pg-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .pg-formats { grid-template-columns: 1fr; }
  .pg-section { padding: 64px 0; }
  .pg-features, .pg-plans { grid-template-columns: 1fr; }
  .pg-head--row { align-items: center; }
  .pg-stages li { grid-template-columns: 34px minmax(0, 1fr); }
  .pg-stages__meta { grid-column: 2; }
  .pg-basecamp { padding: 72px 0; background: linear-gradient(rgba(14,35,28,.86), rgba(14,35,28,.86)), var(--pg-photo) center / cover no-repeat; }
  .pg-final__row { flex-direction: column; text-align: center; gap: 28px; }
  .pg-final__btns { justify-content: center; }
}
