/* =========================================
   beTobe – Dárkové vouchery (darkove-poukazy.html)
   Page-specific styles; shared components come from styles.css.
   ========================================= */

.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; }

#koupit, #jak, #faq { scroll-margin-top: 84px; }

/* --- Navbar: logo + one CTA, also on mobile --- */
@media (max-width: 768px) {
  .navbar--landing .navbar__cta { display: inline-flex; padding: 9px 18px; }
}

/* --- Hero (dark, like the video hero on the homepage) --- */
.vp-hero { position: relative; background: var(--dark); overflow: hidden; }
.vp-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; min-height: 620px; }
.vp-hero__text { padding-block: 156px 96px; display: grid; gap: 20px; align-content: center; position: relative; z-index: 1; }
.vp-hero__text .section__label { margin-bottom: 0; }
.vp-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -1.5px; color: var(--white); }
.vp-accent { color: var(--pink); }
.vp-hero__sub { font-size: 1.08rem; color: var(--text-on-dark); max-width: 46ch; }
.vp-hero__actions { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; }
.vp-hero__rating { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--white); }
.vp-hero__rating span:not(.vp-stars) { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1rem; }
.vp-stars { color: var(--pink); letter-spacing: 2px; }
.vp-hero__g { height: 20px; width: auto; position: relative; top: 2px; margin-left: 2px; }
/* the Christmas Eve photo fills the right side of the hero at full height; its left side dissolves into the dark background behind the text */
.vp-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: min(64vw, 1120px); }
.vp-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 82% 40%; }

@media (max-width: 860px) {
  .vp-hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .vp-hero__text { padding-block: 116px 12px; gap: 18px; }
  .vp-hero__sub { font-size: 1rem; }
  /* on phones the photo runs edge to edge under the text (the container has 24px side padding) */
  .vp-hero__media { position: relative; width: auto; height: 360px; margin-inline: -24px; }
  .vp-hero__media img { object-position: 80% 35%; }
}

/* the hands are cut at the wrist: let that edge dissolve into the section */
.vp-late__media img, .vp-cta__media img {
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}
/* hero photo: the side next to the text fades out (left on desktop, top on phones) */
.vp-hero__media img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%);
          mask-image: linear-gradient(to right, transparent 0, #000 40%);
}
@media (max-width: 860px) {
  .vp-hero__media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
  }
}

/* --- Benefits (same card look as the voucher cards below) --- */
.vp-benefits { background: var(--white); padding: 72px 0 0; }
.vp-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.vp-perk { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all var(--transition); }
.vp-perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; background: var(--white); }
.vp-perk__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--pink-light); color: var(--pink); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.vp-perk h3 { font-size: 1.05rem; margin-bottom: 8px; }
.vp-perk p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.vp-benefits + .vp-vouchers { padding-top: 88px; }

@media (max-width: 1024px) { .vp-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .vp-benefits { padding: 48px 0 0; }
  .vp-benefits + .vp-vouchers { padding-top: 64px; }
  .vp-perks { gap: 12px; }
  .vp-perk { padding: 22px 14px; }
  .vp-perk__icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .vp-perk h3 { font-size: 0.98rem; }
  .vp-perk p { font-size: 0.82rem; }
}

/* --- Voucher cards --- */
.btn--outline { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn--outline:hover { background: var(--pink-light); transform: translateY(-2px); }
.btn--block { width: 100%; }

.vp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.vp-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: 20px 20px 24px; border-radius: var(--radius-lg); background: var(--off-white); border: 1px solid var(--border); }
.vp-card--pick { background: var(--white); border: 2px solid var(--pink); box-shadow: var(--shadow-lg); }
.vp-card__badge { position: absolute; top: -13px; left: 24px; background: var(--pink); color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; }
.vp-card__voucher { border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); background: var(--white); width: 100%; height: auto; }
.vp-card__body { display: grid; gap: 10px; align-content: start; }
.vp-card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vp-card__title h3 { font-size: 1.35rem; }
.vp-card__price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--pink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-card__intro { color: var(--text-secondary); font-size: 0.92rem; }
.vp-fits { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 0.9rem; }
.vp-fits li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed rgba(0, 0, 0, 0.1); }
.vp-fits li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.vp-fits__sum { border-bottom: 0 !important; font-weight: 600; }
.vp-fits__sum span:last-child { color: var(--text) !important; }
.vp-fits__rest { border-bottom: 0 !important; margin-top: 4px; padding: 8px 12px !important; background: var(--pink-light); border-radius: 10px; color: var(--pink-dark); font-weight: 600; }
.vp-fits__rest span:last-child { color: var(--pink-dark) !important; }
.vp-balance { display: flex; gap: 18px; align-items: center; max-width: 760px; margin: 32px auto 0; padding: 22px 26px; background: var(--pink-light); border-radius: var(--radius-lg); }
.vp-balance__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--pink); display: grid; place-items: center; flex-shrink: 0; }
.vp-balance__title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--text); }
.vp-balance__text { font-size: 0.95rem; color: var(--text-secondary); margin-top: 2px; }
.vp-cards-foot { margin-top: 16px; font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
@media (max-width: 768px) { .vp-balance { padding: 18px; gap: 14px; align-items: flex-start; } .vp-balance__icon { width: 44px; height: 44px; } .vp-balance__title { font-size: 1.05rem; } }

@media (max-width: 900px) { .vp-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* --- How it works --- */
.vp-steps.section { padding: 64px 0; background: var(--pink-light); }
.vp-steps .section__header { margin-bottom: 32px; }
.vp-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.vp-steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding: 22px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.vp-steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: var(--white); font: 800 1.1rem 'Bricolage Grotesque', sans-serif; margin-bottom: 8px; }
.vp-steps h3 { font-size: 1.15rem; }
.vp-steps p { color: var(--text-secondary); font-size: 0.92rem; }

@media (max-width: 768px) {
  .vp-steps.section { padding: 52px 0; }
  .vp-steps ol { grid-template-columns: 1fr; gap: 12px; }
  .vp-steps li { grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .vp-steps li::before { grid-row: span 2; margin: 0; }
}

/* --- Reviews: same section as the homepage, just tighter --- */
.page-vouchery .testimonials.section { padding: 72px 0; }
.page-vouchery .testimonials .section__header { margin-bottom: 24px; }
.page-vouchery .testimonials .google-score { margin-bottom: 32px; }
@media (max-width: 768px) { .page-vouchery .testimonials.section { padding: 52px 0; } }

/* --- Last minute + countdown --- */
.vp-late { background: var(--pink-light); overflow: hidden; }
.vp-late__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
.vp-late__media { display: flex; align-items: flex-end; justify-content: center; padding-top: 48px; }
.vp-late__media img { width: min(100%, 400px); height: auto; }
.vp-late__text { display: grid; gap: 18px; padding-block: 96px; align-content: center; justify-items: start; }
.vp-late__text .section__label, .vp-late__text .section__title { margin-bottom: 0; }
.vp-late__text p { font-size: 1.05rem; color: var(--text-secondary); max-width: 50ch; }
.vp-countdown { display: grid; gap: 10px; }
.vp-countdown__title { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.vp-countdown__grid { display: grid; grid-template-columns: repeat(3, 96px); gap: 10px; }
.vp-countdown__grid div { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 8px; text-align: center; display: grid; }
.vp-countdown__grid b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--pink); font-variant-numeric: tabular-nums; }
.vp-countdown__grid span { font-size: 0.78rem; color: var(--text-secondary); }

@media (max-width: 768px) {
  .vp-late__inner { grid-template-columns: 1fr; gap: 0; }
  .vp-late__text { padding-block: 72px 8px; order: -1; }
  .vp-late__media img { width: 290px; }
  .vp-countdown__grid { grid-template-columns: repeat(3, minmax(0, 88px)); }
}

/* --- FAQ: contacts on a light background --- */
.vp-contacts { display: grid; gap: 18px; margin-top: 24px; }
.faq .contact-item h3 { color: var(--text); }
.faq .contact-item p { color: var(--text-secondary); }

/* --- CTA band (variant C) --- */
.cta-band.vp-cta { padding: 0; text-align: left; overflow: hidden; }
.vp-cta__inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px; }
.vp-cta__media { display: flex; align-items: flex-end; justify-content: center; padding-top: 40px; }
.vp-cta__media img { width: min(100%, 250px); height: auto; }
.vp-cta__text { padding-block: 80px; display: grid; gap: 16px; align-content: center; }
.vp-cta .cta-band__title { margin-bottom: 0; }
.vp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vp-checks li { display: flex; gap: 12px; align-items: center; color: var(--white); font-weight: 500; }
.vp-checks__i { width: 26px; height: 26px; border-radius: 50%; background: var(--dark); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.vp-buybox { background: var(--white); border-radius: var(--radius-lg); padding: 20px 22px 22px; box-shadow: 0 16px 40px rgba(94, 20, 45, .22); display: grid; gap: 12px; max-width: 460px; margin-top: 8px; }
.vp-buybox__title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.vp-buybox__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vp-buybox__btns .btn { padding: 12px 8px; }

@media (max-width: 768px) {
  .vp-cta__inner { grid-template-columns: 1fr; gap: 0; }
  .vp-cta__text { padding-block: 56px 0; order: -1; }
  .vp-cta__media img { width: 190px; }
}

/* --- Floating CTA (same component as on the pricing page) --- */
.pricing-sticky-cta { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%); color: var(--white); padding: 14px 28px; border-radius: 999px; font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 0.98rem; text-decoration: none; box-shadow: 0 8px 24px rgba(241, 96, 133, 0.4); display: inline-flex; align-items: center; gap: 10px; z-index: 950; opacity: 0; pointer-events: none; transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; white-space: nowrap; }
.pricing-sticky-cta.visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all; }
.pricing-sticky-cta:hover { transform: translateX(-50%) translateY(-4px); box-shadow: 0 12px 32px rgba(241, 96, 133, 0.5); }
@media (max-width: 640px) {
  .pricing-sticky-cta { left: 16px; right: 16px; bottom: 16px; transform: translateY(100px); justify-content: center; padding: 15px 22px; font-size: 0.95rem; }
  .pricing-sticky-cta.visible { transform: translateY(0); }
  .pricing-sticky-cta:hover { transform: translateY(-3px); }
}

/* --- Notice while the Altegio sales link is not set --- */
.vp-notice { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); opacity: 0; width: min(480px, calc(100% - 32px)); background: var(--dark); color: var(--white); border-radius: 14px; padding: 14px 18px; font-size: 0.92rem; text-align: center; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; z-index: 1001; pointer-events: none; }
.vp-notice.is-on { opacity: 1; transform: translate(-50%, 0); }
