/* Svatba360 · desktop layer for the booking, success and standard-video pages (on top of m.css + book.css).
   Only wide-screen layout lives here. Below 1024px the pages keep the phone layout. */
@media (min-width: 1024px) {
  :root { --side: max(56px, calc((100vw - 1400px) / 2)); }
  body { font-size: 17px; }

  /* bar: the same floating pill as the home page */
  .bar { top: 14px; left: 50%; right: auto; width: min(1400px, calc(100vw - 48px)); transform: translateX(-50%); height: 64px; padding: 0 8px 0 22px; border-radius: 18px; }
  .bar.hide { transform: translate(-50%, -130%); }
  .brand { font-size: 22px; }
  .bar .back { min-height: 48px; padding: 0 20px; font-size: 15px; border-radius: 999px; transition: background .25s, transform .25s; }
  .bar .back:hover { background: #5b3373; transform: translateY(-2px); }
  .btn { cursor: pointer; }
  .btn:hover { transform: translateY(-2px); }
  .btn-peach:hover { background: #ffb98c; }
  .btn-ghost-light:hover { background: var(--cream); color: var(--ink); }

  /* hero: the horizontal version of the same video, title bottom-left */
  .bhero { min-height: 86vh; background-image: var(--bg-desk) !important; }
  .bhero .hero-shade { background: linear-gradient(90deg, rgba(28,13,38,.72) 0%, rgba(28,13,38,.3) 45%, rgba(28,13,38,0) 72%), linear-gradient(180deg, rgba(28,13,38,.4) 0%, rgba(28,13,38,0) 22%, rgba(28,13,38,0) 55%, rgba(28,13,38,.8) 100%); }
  .bhero .hero-copy { max-width: none; margin: 0; padding: 0 var(--side) 80px; }
  .bhero .display { font-size: clamp(64px, 6.2vw, 112px); line-height: .92; max-width: 13ch; }

  /* ---------- /vr-demo/ ---------- */
  .bhero + .c-night .bhero-lead { max-width: none; margin: 0; padding: 56px var(--side) 72px; font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.2; color: var(--cream); }
  .bhero + .c-night .bhero-lead { max-width: calc(26em + 2 * var(--side)); }
  /* the two steps side by side: pick a time on the left, your details on the right */
  body:not(.sample) main { display: grid; grid-template-columns: 1fr 1fr; }
  body:not(.sample) main > section:not(.step) { grid-column: 1 / -1; }
  .step { padding: 88px clamp(40px, 4vw, 72px) 104px; }
  .step > * { max-width: 600px; }
  .step.c-lilac > * { margin-left: auto; margin-right: 0; }
  .step.c-cream > * { margin-left: 0; margin-right: auto; }
  .step-head { margin-bottom: 26px; }
  .step-head .h2 { font-size: clamp(34px, 2.8vw, 46px); }
  .step .card { padding: 28px; border-radius: 26px; }
  .cal-nav { cursor: pointer; transition: background .2s; }
  .cal-nav:not(:disabled):hover { background: var(--lilac); }
  .calendar-day { height: 54px; font-size: 17px; cursor: pointer; }
  .calendar-day:not(:disabled):not([aria-pressed="true"]):hover { background: var(--lilac-deep); }
  .hours { grid-template-columns: repeat(4, 1fr); }
  .hour { min-height: 52px; cursor: pointer; transition: border-color .2s, background .2s; }
  .hour:not([aria-pressed="true"]):hover { border-color: var(--plum); }
  /* form fields in two columns, long ones across */
  .step .fields { grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 0; align-items: end; }
  .step .fields label { grid-row: auto; }
  #demo-form .fields { grid-template-areas: "l1 l2" "i1 i2" "l3 l4" "i3 i4" "l5 l6" "i5 i6" "l7 l7" "i7 i7"; }
  #demo-form .fields > :nth-child(1) { grid-area: l1; } #demo-form .fields > :nth-child(2) { grid-area: i1; }
  #demo-form .fields > :nth-child(3) { grid-area: l2; } #demo-form .fields > :nth-child(4) { grid-area: i2; }
  #demo-form .fields > :nth-child(5) { grid-area: l3; } #demo-form .fields > :nth-child(6) { grid-area: i3; }
  #demo-form .fields > :nth-child(7) { grid-area: l4; } #demo-form .fields > :nth-child(8) { grid-area: i4; }
  #demo-form .fields > :nth-child(9) { grid-area: l5; } #demo-form .fields > :nth-child(10) { grid-area: i5; }
  #demo-form .fields > :nth-child(11) { grid-area: l6; } #demo-form .fields > :nth-child(12) { grid-area: i6; }
  #demo-form .fields > :nth-child(13) { grid-area: l7; } #demo-form .fields > :nth-child(14) { grid-area: i7; }
  .submit { min-height: 58px; font-size: 17px; }

  /* ---------- /360-svatben-film/ : the form card sits on the right of the full-screen film ---------- */
  .sample main { display: grid; grid-template-columns: minmax(0, 1fr) calc(460px + var(--side)); column-gap: 48px; }
  .sample .bhero { grid-column: 1 / -1; grid-row: 1; min-height: 100vh; padding-bottom: 0; }
  .sample .bhero .hero-copy { padding: 0 0 96px var(--side); max-width: calc(760px + var(--side)); }
  .sample .bhero-lead { font-size: 20px; max-width: 30ch; padding-top: 22px; margin: 0; }
  .sample .step { grid-column: 2; grid-row: 1; align-self: end; background: none; padding: 0 var(--side) 96px 0; position: relative; z-index: 2; }
  .sample .step > * { max-width: none; margin: 0; }
  .sample .lift { margin: 0; }
  .sample .step .card { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
  .sample .step-head .h2 { font-size: 32px; }
  .sample .step .fields { grid-template-columns: 1fr; }

  /* ---------- success pages: centred, larger, buttons in a row ---------- */
  .done { padding: 120px var(--side) 72px; align-items: center; text-align: center; }
  .done > *:not(.done-bg) { max-width: 760px; }
  .done-bg { opacity: .28; filter: blur(3px) saturate(.85); }
  .orbit { width: 188px; height: 188px; margin: 0 auto 40px; }
  .done .display { font-size: clamp(56px, 5vw, 88px); }
  .done-lead { font-size: 20px; max-width: 38ch; margin-left: auto; margin-right: auto; }
  .done .slot { align-self: center; justify-content: center; width: auto !important; }
  .done-ctas { display: flex; justify-content: center; gap: 14px; }
  .done-ctas .btn { width: auto; min-height: 58px; padding: 0 28px; }
  .follow { max-width: 560px !important; }
  .follow div { display: flex; justify-content: center; }
  .follow a { transition: border-color .2s, color .2s; }
  .follow a:hover { border-color: var(--peach); color: var(--peach); }

  /* ---------- /standartni-videa/ : the two formats side by side, same height ---------- */
  .std { padding: 140px var(--side) 120px; display: grid; grid-template-columns: minmax(0, 3.16fr) minmax(0, 1fr); column-gap: 32px; align-items: end; }
  .std > * { max-width: none; margin-left: 0; margin-right: 0; grid-column: 1 / -1; }
  .std .std-meta { justify-self: start; }
  .std .display { font-size: clamp(64px, 6vw, 108px); }
  .std-lead { font-size: 20px; max-width: 46ch; margin: 22px 0 56px; }
  .std-film.wide { grid-column: 1; }
  .std-film.tall { grid-column: 2; grid-row: 4; }
  .std-film.tall .std-frame { width: 100%; }
  .std-film.tall video { max-height: none; }
  .std-film.tall figcaption { text-align: left; }
  .std-film { margin: 0; }
  .std-frame { border-radius: 22px; }
  .std-film figcaption strong { font-size: 21px; }
  .std-ctas { display: flex; gap: 14px; margin-top: 56px; }
  .std-ctas .btn { min-height: 58px; padding: 0 28px; }

  /* short footer */
  .bfoot { padding: 56px var(--side); grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
  .bfoot .brand { font-size: 34px; }
  .bfoot a:not(.brand):hover { color: var(--peach); }
}

/* ---- web design language (same as the home page web.css): Unbounded headings, Onest text, wide spacing ---- */
@media (min-width: 1024px) {
  :root { --f-display: "Unbounded", "Arial Black", system-ui, sans-serif; --display-weight: 500; --f-body: "Onest", system-ui, sans-serif; --night: #1F0E2A; --cream: #FAF7FC; --gut: clamp(24px, 5vw, 72px); --side: max(var(--gut), calc((100vw - 1360px) / 2)); }
  body { font-size: 18px; line-height: 1.65; background: #FAF7FC; }
  .display, .h2, .h3, .brand, .cal-head h3 { font-weight: 500 !important; letter-spacing: -.035em; }
  .display { line-height: .98; }
  .bhero .display { font-size: clamp(56px, 6.4vw, 116px); max-width: 12ch; }
  .done .display { font-size: clamp(48px, 4.6vw, 80px); letter-spacing: -.035em; }
  .std .display { font-size: clamp(56px, 6vw, 108px); }
  .h2, .step-head .h2 { letter-spacing: -.03em; }
  .step-head .h2 { font-size: clamp(28px, 2.4vw, 40px); }
  .sample .step-head .h2 { font-size: 26px; }
  .h3 { letter-spacing: -.015em; }

  /* top bar: the full-width web navigation instead of the floating phone pill */
  .bar { top: 0; left: 0; right: 0; width: auto; transform: none; height: 84px; border-radius: 0; padding: 0 var(--side); background: rgba(250,247,252,.88); box-shadow: 0 1px 0 rgba(74,39,94,.12); }
  .bar.hide { transform: translateY(-100%); }
  .brand { font-size: 20px; gap: 10px; }
  .brand b { font-weight: 500; }
  .brand-ring { width: 22px; height: 22px; }
  .bar .back { height: 44px; min-height: 0; padding: 0 20px; font-size: 15px; border-radius: 999px; }

  .btn { font-weight: 600; letter-spacing: 0; }
  .num, .step-head .num { font-family: var(--f-display); font-weight: 400; }
  .bhero-lead, .done-lead, .std-lead { font-family: var(--f-body); }
  .bhero + .c-night .bhero-lead { font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
  .step { padding-top: clamp(88px, 8vw, 136px); padding-bottom: clamp(96px, 9vw, 152px); }
  .step .card, .sample .step .card { border-radius: 28px; }
  .fields input, .fields textarea { border-radius: 14px; font-family: var(--f-body); }
  .calendar-day, .hour { font-family: var(--f-body); }
  .std-film figcaption strong, .bfoot .brand { font-weight: 500; }
  .bfoot { padding: 64px var(--side); background: #1F0E2A; }
}
@media (min-width: 1024px) {
  .sample .bhero .display { max-width: none; font-size: clamp(52px, 5.2vw, 92px); }
}
/* vr-demo intro under the hero: regular text, aligned with the heading, a readable line length */
@media (min-width: 1024px) {
  .bhero + .c-night .bhero-lead { font-family: var(--f-body) !important; font-weight: 400; font-size: clamp(19px, 1.45vw, 21px); line-height: 1.6; letter-spacing: 0; color: var(--lilac); max-width: none; padding: 44px var(--side) 64px; }
  .bhero + .c-night .bhero-lead { width: calc(62ch + 2 * var(--side)); max-width: 100%; }
}
/* standard videos: both films start on the same line (captions may differ in height) */
@media (min-width: 1024px) { .std-film.wide, .std-film.tall { align-self: start; } }
/* film page: the headline and lead stay left of the form card at every width */
@media (min-width: 1024px) {
  .sample .bhero .hero-copy { max-width: calc(100vw - 460px - 2 * var(--side) - 56px); }
  .sample .bhero .display { font-size: clamp(44px, 4.6vw, 92px); }
}
