/* Макет страницы гостя: на широком экране слева «Когда», справа схема; контакты — ниже на всю ширину. */
.g-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(15, 10, 13, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--char-3) }
.g-head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding-block: 8px }
.g-brand { display: block; color: var(--cream); text-decoration: none }
.g-logo .logo { display: block; width: 104px; height: auto; fill: currentColor }
.g-logo .logo-flame { transform-box: fill-box; transform-origin: 30% 100%; animation: burn 1.9s ease-in-out infinite }
@keyframes burn { 0%, 100% { transform: rotate(0) scale(1, 1) } 30% { transform: rotate(-3deg) scale(.96, 1.05) } 60% { transform: rotate(2deg) scale(1.03, .95) } }
.g-nav { display: flex; align-items: center; gap: 18px; font-size: .9rem }
.g-nav > a { text-decoration: none; color: var(--cream-dim) }
.g-nav > a:hover { color: var(--flame) }
.lang button { padding: 6px 10px }

.g-intro { padding-block: clamp(26px, 5vw, 52px) clamp(18px, 3vw, 28px); display: grid; gap: 10px }
.g-intro h1 { font-size: clamp(2.6rem, 7vw, 4.4rem) }
.g-lead { max-width: 40em }

.g-grid { display: grid; gap: 16px; padding-bottom: 48px; grid-template-columns: minmax(0, 1fr) }
.g-ctrl { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) }

.g-dates { min-width: 0 }
.g-ctrl-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); min-width: 0 }
@media (min-width: 760px) { .g-ctrl-row { grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr); align-items: start } }
.g-dur .chip { min-width: 64px }
.g-plan-foot { display: grid; gap: 8px }

/* Шкала времени под схемой (как в Restoplace) */
.tl { display: grid; gap: 10px }
.tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.tl-big { font-size: clamp(1.25rem, 4.6vw, 2.1rem); font-weight: 600; letter-spacing: -.02em }
.tl-scroll { overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; scroll-behavior: smooth }
.tl-ruler { display: flex; align-items: flex-start; min-width: 100%; padding: 26px 10px 0; border-bottom: 1px solid var(--char-4) }
.tl-tick { flex: 1 0 34px; position: relative; height: 62px; border: 0; background: transparent; cursor: pointer; padding: 0; color: var(--cream-dim) }
.tl-tick .tl-mark { position: absolute; left: 50%; bottom: 0; width: 2px; height: 16px; transform: translateX(-50%); background: var(--cream-dim); border-radius: 1px; transition: height .15s, background .15s }
.tl-tick.hour .tl-mark { height: 28px; background: var(--cream) }
.tl-tick .tl-lbl { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); font-size: .78rem; font-weight: 600; white-space: nowrap }
.tl-tick:hover:not(:disabled) .tl-mark { background: var(--flame); height: 32px }
.tl-tick:disabled { cursor: not-allowed }
.tl-tick:disabled .tl-mark { background: var(--char-4) }
.tl-tick:disabled .tl-lbl { color: var(--mute) }
.tl-tick.on .tl-mark { width: 4px; height: 40px; background: var(--head); box-shadow: 0 0 12px var(--head) }
.tl-tick.on .tl-mark::before { content: ""; position: absolute; left: 50%; top: -8px; width: 14px; height: 14px; transform: translateX(-50%); border-radius: 50%; background: var(--head); box-shadow: 0 0 0 4px rgba(255, 46, 126, .25) }
.tl-tick.on .tl-lbl { color: var(--cream); background: var(--head); padding: 1px 7px; border-radius: 6px; top: -26px }
.tl-tick:focus-visible { outline-offset: -2px }

/* Согласие с политикой — отдельная карточка, как в Qastio */
.field > label.consent-card { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .95rem; color: var(--cream-dim) }
.consent-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--char-4); border-radius: 16px; background: var(--char-2); cursor: pointer; color: var(--cream-dim); font-size: .95rem; line-height: 1.5; transition: border-color .15s }
.consent-card:hover { border-color: var(--cream-dim) }
.consent-card.on { border-color: var(--head) }
.consent-card input { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 24px; height: 24px; margin: 1px 0 0; border: 2px solid var(--cream-dim); border-radius: 7px; background: #000; cursor: pointer; display: grid; place-items: center }
.consent-card input:checked { background: var(--head); border-color: var(--head) }
.consent-card input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg) }
.consent-card a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px }
.consent-card a:hover { color: var(--flame) }
.has-err .consent-card { border-color: var(--danger) }
.g-where-body { min-width: 0 }
.g-who-grid { display: grid; gap: 18px }
@media (min-width: 960px) { .g-who-grid { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); align-items: start } }
.g-form { display: grid; gap: 14px; min-width: 0 }
.g-form-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) }
@media (min-width: 620px) { .g-form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) } }
.g-submit { justify-self: start; min-width: 220px }
@media (max-width: 619px) { .g-submit { width: 100%; min-width: 0 } }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }

.g-status-wrap { padding-block: 32px 60px; max-width: 720px }
.g-status h1 { font-size: clamp(2rem, 6vw, 3rem) }

.g-foot { border-top: 1px solid var(--char-3); color: var(--cream-dim); font-size: .88rem }
.g-foot-in { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)) }
.g-foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px }
.g-foot a { text-decoration: none } .g-foot a:hover { color: var(--flame) }
.sel { user-select: all }
@media (max-width: 560px) { .hide-sm { display: none } .g-nav { gap: 12px } }
