/* Vouchery V1 Salon - komponenta VoucherCard (společná pro landing a nákup) a landing /vouchery/.
   Rozměry 1:1 z Figmy: Vouchery - landing - desktop 39:5865, VoucherCard (Náhled 600, Kompakt 350, Digitální 1200). */

/* ---------- VoucherCard ----------
   Jedna komponenta, tři velikosti podle šířky svého rodiče (container query):
   do 449 px Kompakt (350 × 184), do 999 px Náhled (600 × 315), od 1000 px Digitální (1200 × 630, s kódem a QR). */
.vcard { container: vc / inline-size; width: 100%; max-width: 600px; margin-inline: auto; color: var(--text-primary); }
.vcard--lg { max-width: 1200px; }
.vcard__face {
  --tile: 307px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  min-height: 315px; padding-top: 20px; overflow: hidden; border-radius: var(--radius-s);
  background:
    radial-gradient(ellipse closest-side at 50% 50%, rgba(15, 15, 17, 0) 0, rgba(15, 15, 17, .08) 55%, rgba(15, 15, 17, .6) 100%),
    linear-gradient(rgba(15, 15, 17, .2), rgba(15, 15, 17, .2)),
    url("/assets/img/damask-1024.webp") 0 0 / var(--tile) auto repeat,
    var(--bg-slate);
  box-shadow: 0 18px 40px rgba(51, 33, 13, .45);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.vcard__arch {
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  width: min(340px, calc(100% - 20px)); min-height: 295px; padding: 24px 24px 16px;
  border-radius: 9999px 9999px 0 0; background: var(--bg-page); text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, .6);
}
.vcard__top { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.vcard__logo { width: 56px; height: auto; }
.vcard__value { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vcard__label { font: 500 13px/18px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.vcard__service { font: 400 36px/44px var(--serif); text-wrap: balance; }
.vcard__service[data-long] { font-size: 28px; line-height: 36px; }
.vcard__barber { font: 400 15px/22px var(--sans); color: var(--text-secondary); }
.vcard__who { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.vcard__pro { display: flex; align-items: baseline; justify-content: center; gap: 8px; max-width: 100%; }
.vcard__k { font: 500 13px/18px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); white-space: nowrap; }
.vcard__name { font: 500 20px/28px var(--sans); overflow-wrap: anywhere; }
.vcard__msg { font: 400 13px/18px var(--sans); color: var(--text-secondary); overflow-wrap: anywhere; }
.vcard__msg[hidden] { display: none; }
.vcard__od-lg, .vcard__lgbot { display: none; }
.vcard__bot { display: flex; align-items: flex-start; gap: 32px; }
.vcard__bot > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vcard__bot span:last-child { font: 400 13px/18px var(--sans); color: var(--text-secondary); overflow-wrap: anywhere; }

/* Kompakt */
@container vc (max-width: 449px) {
  .vcard__face { --tile: 205px; min-height: 184px; padding-top: 12px; }
  .vcard__arch { width: min(240px, calc(100% - 20px)); min-height: 172px; padding: 16px 16px 12px; }
  .vcard__top { gap: 4px; }
  .vcard__logo { width: 40px; }
  .vcard__value { gap: 0; }
  .vcard__service { font-size: 28px; line-height: 36px; }
  .vcard__barber { font-size: 13px; line-height: 18px; }
  .vcard__name { font-size: 14px; line-height: 20px; }
  .vcard__msg, .vcard__bot > .vcard__from { display: none; }
  .vcard__bot > div { flex-direction: row; align-items: baseline; gap: 8px; }
}

/* Digitální 1200 × 630 */
@container vc (min-width: 1000px) {
  .vcard__face { --tile: 614px; min-height: 630px; padding-top: 40px; }
  .vcard__arch { width: 680px; min-height: 590px; padding: 48px 64px 32px; }
  .vcard__top { gap: 32px; }
  .vcard__logo { width: 128px; }
  .vcard__value { gap: 8px; }
  .vcard__label { font-size: 14px; line-height: 20px; letter-spacing: .08em; }
  .vcard__service { font: 400 64px/72px var(--serif); letter-spacing: -.005em; }
  .vcard__service[data-long] { font-size: 48px; line-height: 56px; }
  .vcard__barber { font-size: 15px; line-height: 22px; }
  .vcard__who { gap: 8px; }
  .vcard__pro { gap: 12px; }
  .vcard__name { font: 400 28px/36px var(--serif); }
  .vcard__msg { font: 400 16px/26px var(--sans); max-width: 480px; }
  .vcard__od-lg { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
  .vcard__od-lg span:last-child { font: 400 15px/22px var(--sans); color: var(--text-secondary); }
  .vcard__bot { display: none; }
  .vcard__lgbot { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .vcard__codeqr { display: flex; align-items: center; gap: 40px; }
  .vcard__codeqr > div { display: flex; flex-direction: column; gap: 2px; text-align: left; }
  .vcard__codeqr > div:first-child { align-items: flex-end; text-align: right; }
  .vcard__codeqr strong { font: 500 16px/24px var(--sans); }
  .vcard__qr { width: 72px; height: 72px; padding: 4px; background: var(--text-primary); }
  .vcard__qr img { width: 64px; height: 64px; }
  .vcard__addr { display: flex; gap: 24px; font: 400 13px/18px var(--sans); color: var(--text-tertiary); }
}

/* ---------- landing ---------- */
.vhero { display: grid; grid-template-columns: minmax(0, 1fr) 700px; max-width: var(--max); margin: 0 auto; min-height: max(794px, calc(100svh - 88px)); }
.vhero__content { display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 64px 64px 64px var(--pad-x); }
.vhero__intro { display: flex; flex-direction: column; gap: 24px; }
.vhero__perex { max-width: 560px; }
.vhero__actions { display: flex; align-items: center; gap: 32px; }
.vhero__media { display: flex; align-items: center; justify-content: center; padding: 40px 80px 64px 0; }
.vhero__stage { position: relative; width: 500px; }
.vhero__arch { position: relative; display: block; width: 500px; height: 690px; }
.vhero__arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 40px rgba(0, 0, 0, .5); pointer-events: none; }
.vhero__card { position: absolute; left: -20px; bottom: -25px; width: 350px; }

.vtrust { background: var(--bg-raised); }
.vtrust__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 24px; padding-bottom: 24px; }
.vtrust li { display: flex; align-items: flex-start; gap: 12px; white-space: nowrap; }
.vtrust li > div { display: flex; flex-direction: column; gap: 2px; }
.vtrust .icon { color: var(--gold); }

.vsteps { padding-top: var(--section-y); padding-bottom: 96px; }
.vsteps__head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.vsteps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; margin-top: 64px; }
.vsteps__list li { display: flex; flex-direction: column; gap: 16px; }
.vsteps__list .icon { width: 32px; height: 32px; color: var(--gold); }

.vsample { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 96px var(--pad-x); color: var(--text-on-light);
  background: linear-gradient(180deg, rgba(15, 15, 17, .2) 0%, rgba(15, 15, 17, 0) 15%, rgba(15, 15, 17, .15) 100%), var(--stuk); }
.vsample__cap { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 616px; text-align: center; }
.vsample__cap p:last-child { color: var(--text-on-light-muted); }

.vprices { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.vprices__head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.vprices__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.vsvc { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: var(--bg-raised); border-radius: var(--radius-s); }
.vsvc__desc { display: flex; flex-direction: column; gap: 8px; padding-bottom: 32px; }
.vsvc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vsvc__price { display: flex; align-items: baseline; gap: 12px; }
.vsvc__dur { display: inline-flex; align-items: center; gap: 4px; }
.vsvc__go { color: var(--gold); }
.vsvc__go::after { content: ""; position: absolute; inset: 0; }
.vsvc:hover .vsvc__go .icon { transform: translateX(3px); }
.vsvc:hover .vsvc__go > span { text-decoration: underline; text-underline-offset: 4px; }
.vsvc .link:focus-visible { outline: 0; }
.vsvc:has(.link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

.vfaq { background: var(--bg-raised); padding: var(--section-y) 0; }
.vfaq__in { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 96px; align-items: start; }
.vfaq__head { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 24px; }
.vfaq__contacts { display: flex; flex-direction: column; gap: 24px; }
.vfaq__contacts a { display: inline-flex; align-items: center; gap: 12px; }
.vfaq__contacts .icon { color: var(--gold); }
.vfaq__list { display: flex; flex-direction: column; gap: 8px; }
.vfaq__list details { background: var(--bg-page); border-radius: var(--radius-s); }
.vfaq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px; cursor: pointer; list-style: none; font: 500 20px/28px var(--sans); }
.vfaq__list summary::-webkit-details-marker { display: none; }
.vfaq__list summary .icon { width: 24px; height: 24px; color: var(--gold); }
.vfaq__list summary .i-minus, .vfaq__list details[open] summary .i-plus { display: none; }
.vfaq__list details[open] summary .i-minus { display: block; }
.vfaq__list details[open] summary { padding-bottom: 12px; }
.vfaq__list details p { padding: 0 32px 24px; max-width: 784px; }
.vfaq__list details a { text-decoration: underline; text-underline-offset: 4px; }

.vcta { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: var(--section-y) var(--pad-x); text-align: center; color: var(--text-on-light);
  background: linear-gradient(180deg, rgba(15, 15, 17, .15) 0%, rgba(15, 15, 17, 0) 20%, rgba(15, 15, 17, .15) 100%), var(--stuk); }
.vcta p { color: var(--text-on-light-muted); max-width: 651px; }
.vcta__act { padding-top: 16px; }
.vcta :focus-visible, .vsample :focus-visible { outline-color: var(--text-on-light); }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .vhero { grid-template-columns: minmax(0, 1fr) 520px; }
  .vhero__content { padding: 48px 32px 48px var(--pad-x); }
  .vhero h1 { font-size: 64px; line-height: 72px; }
  .vhero__media { padding: 40px 48px 56px 0; }
  .vhero__stage, .vhero__arch { width: 420px; }
  .vhero__arch { height: 580px; }
  .vhero__card { left: -48px; }
  .vsteps__list { gap: 40px; }
  .vprices__list { grid-template-columns: 1fr; }
  .vsvc__desc { padding-bottom: 0; }
  .vfaq__in { grid-template-columns: 1fr; gap: 48px; }
  .vfaq__head { position: static; }
}
@media (max-width: 1079px) {
  .vtrust__in { display: grid; grid-template-columns: repeat(2, max-content); justify-content: space-around; gap: 20px 48px; }
}
@media (max-width: 1023px) {
  .vhero { grid-template-columns: 1fr; min-height: 0; }
  .vhero__content { padding: 56px var(--pad-x) 40px; }
  .vhero__media { padding: 8px var(--pad-x) 56px; }
  .vhero__stage { width: min(500px, 100%); }
  .vhero__arch { width: 100%; height: auto; aspect-ratio: 500 / 560; }
  .vhero__card { left: 50%; transform: translateX(-50%); bottom: -32px; }
}

/* ---------- mobil ---------- */
@media (max-width: 767px) {
  .vhero__content { gap: 32px; padding: 32px 20px 24px; }
  .vhero__intro { gap: 16px; }
  .vhero__actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .vhero__actions .btn { width: 100%; }
  .vhero__actions .link { justify-content: center; }
  .vhero__media { padding: 8px 20px 56px; }
  .vhero__arch { aspect-ratio: 350 / 400; }
  .vhero__card { width: calc(100% - 20px); max-width: 350px; bottom: -40px; }

  .vtrust__in { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 20px; }
  .vtrust .ui-s { font-size: 13px; line-height: 18px; }
  .vtrust .body-xs { font-size: 12px; line-height: 16px; }
  .vtrust li { gap: 8px; white-space: normal; }

  .vsteps { padding-bottom: 64px; }
  .vsteps__head { gap: 12px; }
  .vsteps__list { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .vsteps__list li { gap: 8px; }

  .vsample { gap: 24px; padding: 64px 20px; }
  .vsample__cap p:first-child { font: 400 28px/36px var(--serif); }

  .vprices__list { margin-top: 32px; gap: 16px; }
  .vprices__head { gap: 12px; }
  .vsvc { padding: 24px 20px; gap: 16px; }
  .vsvc__row { flex-wrap: wrap; row-gap: 12px; }
  .vsvc__price .numeral-l { font-size: 28px; line-height: 32px; }

  .vfaq__in { gap: 24px; }
  .vfaq__head { gap: 16px; }
  .vfaq__contacts { gap: 12px; }
  .vfaq__list summary { padding: 16px 20px; font: 500 16px/24px var(--sans); }
  .vfaq__list details[open] summary { padding-bottom: 8px; }
  .vfaq__list details p { padding: 0 20px 16px; }

  .vcta { gap: 16px; padding: 64px 20px; }
  .vcta__act { width: 100%; padding-top: 8px; }
  .vcta__act .btn { width: 100%; }
}

/* ---------- vouchery brzy (VOUCHERS_OPEN = false) ---------- */
.vsoon { position: relative; display: flex; align-items: flex-start; gap: 20px; max-width: 560px; padding: 24px 28px; border: 1px solid rgba(219, 165, 49, .45); border-radius: var(--radius-s);
  background: linear-gradient(135deg, rgba(219, 165, 49, .10), rgba(219, 165, 49, 0) 60%), var(--bg-raised); }
.vsoon__mark { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); }
.vsoon__mark::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: vsoon-pulse 2.4s ease-out infinite; }
.vsoon__text { display: flex; flex-direction: column; gap: 6px; }
.vsvc__soon { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--text-secondary); }
@keyframes vsoon-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vsoon__mark::after { animation: none; opacity: 0; } }
@media (max-width: 767px) { .vsoon { gap: 16px; padding: 20px; } .vsoon__mark { width: 44px; height: 44px; } }
