:root {
  --bg: #090201;
  --panel: rgba(17, 8, 7, 0.9);
  --panel-strong: rgba(27, 11, 10, 0.96);
  --line: rgba(255, 80, 56, 0.18);
  --text: #f6eee7;
  --muted: #bba99e;
  --accent: #ff5438;
  --accent-soft: rgba(255, 84, 56, 0.16);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-text: #f6eee7;
  --ok: #74d99b;
  --err: #ff7d7d;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 91, 42, 0.24), transparent 25%),
    radial-gradient(circle at bottom right, rgba(129, 22, 9, 0.35), transparent 35%),
    linear-gradient(160deg, #120403 0%, #090201 56%, #130403 100%);
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
}

.backdrop {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.shell-header,
.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.shell-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 0;
}

.shell-header-floating {
  min-height: 104px;
}

.header-ribbon {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 2, 1, 0.14), rgba(8, 2, 1, 0.68)),
    url("/media/header.jpg") center center / cover no-repeat;
  opacity: 0.6;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 0;
  pointer-events: none;
}

.shell-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  min-height: 104px;
  padding: 18px 18px 14px;
}

.brand-copy {
  align-self: start;
}

.brand-mark-link {
  display: inline-flex;
  justify-self: center;
  align-self: start;
  text-decoration: none;
}

.brand-logo {
  width: 116px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
  align-self: start;
  padding-top: 4px;
}

.header-actions a {
  border: 1px solid rgba(255, 84, 56, 0.7);
  background: rgba(255, 84, 56, 0.08);
  color: var(--text);
  padding: 12px 16px;
  text-decoration: none;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
}

.header-actions a:hover {
  background: var(--accent);
}

.shell-header h1 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.shell {
  padding-top: 122px;
}

.hero {
  text-align: center;
  margin: 2.8rem 0 3.2rem;
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-family: "Cinzel", serif;
  font-size: clamp(2.2rem, 4.2vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
}

.reservation-form {
  max-width: 980px;
  margin: 0 auto 6rem;
}

.booking-step {
  margin: 0 auto;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 2rem;
}

.booking-step-intro {
  max-width: 540px;
  text-align: center;
}

.booking-step-details {
  margin-top: 2.6rem;
}

.is-hidden {
  display: none;
}

.intro-copy {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1.35;
}

.date-only-field {
  display: block;
}

.date-input-shell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  max-width: 320px;
  margin: 0 auto;
}

.date-input-shell:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.date-only-field input[type="date"] {
  max-width: none;
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.8rem 1.8rem;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

label span,
legend {
  display: block;
  color: var(--text);
  font-size: 2.05rem;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--input-bg);
  color: var(--input-text);
  padding: 0.85rem 0.95rem;
  font-size: 1.8rem;
  outline: 2px solid transparent;
  transition: outline-color 130ms ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input[type="date"] {
  border: 0;
  background: transparent;
  padding-right: 0.95rem;
}

input:focus,
textarea:focus {
  outline-color: var(--accent);
}

.date-input-shell input:focus {
  outline-color: transparent;
}

textarea {
  resize: vertical;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.details-note {
  display: flex;
  align-items: end;
}

.details-note p {
  margin: 0;
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1.3;
}

.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.4rem;
  min-height: 3rem;
}

.time-grid label,
.voucher-fieldset label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-size: 1.9rem;
}

.availability-msg {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.55rem;
}

.availability-msg.err {
  color: var(--err);
}

.slot-capacity {
  color: #ffab9f;
  font-size: 1.1rem;
}

input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.voucher-fieldset {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.8rem;
}

.thursday-promo {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.35rem 1.4rem;
  align-items: start;
}

.thursday-promo.is-hidden {
  display: none;
}

.thursday-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: #ffab9f;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.thursday-promo h3 {
  margin: 0 0 0.45rem;
  font-family: "Cinzel", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.thursday-promo p,
.thursday-promo li {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.35;
}

.thursday-promo ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.thursday-choice-fieldset {
  display: grid;
  gap: 0.8rem;
}

.thursday-choice-fieldset legend {
  font-size: 1.6rem;
}

.thursday-choice-fieldset label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-size: 1.45rem;
}

.full-width {
  display: block;
  margin-top: 1.8rem;
}

.grid > .full-width {
  grid-column: 1 / -1;
  margin-top: 0;
}

.captcha-placeholder {
  margin: 1.8rem 0 2.6rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  width: min(340px, 100%);
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 0.7rem;
  gap: 0.8rem;
}

.captcha-placeholder .check {
  width: 24px;
  height: 24px;
  border: 2px solid var(--muted);
}

.captcha-placeholder .copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.captcha-placeholder strong {
  font-size: 1.7rem;
}

.captcha-placeholder small {
  color: var(--muted);
  font-size: 1.15rem;
}

button[type="submit"] {
  display: block;
  margin: 0 auto;
  min-width: 290px;
  border: 1px solid rgba(255, 84, 56, 0.7);
  background: rgba(255, 84, 56, 0.08);
  color: var(--text);
  font-size: 2.1rem;
  padding: 0.95rem 1.4rem;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

button[type="submit"]:hover {
  background: var(--accent);
  color: #fff;
}

.status-msg {
  min-height: 1.5rem;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 1.5rem;
  color: var(--muted);
}

.status-msg.ok {
  color: var(--ok);
}

.status-msg.err {
  color: var(--err);
}

@media (max-width: 980px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .time-grid {
    grid-template-columns: 1fr;
  }

  .thursday-promo {
    grid-template-columns: 1fr;
  }

  .details-note {
    align-items: start;
  }

  .shell-header,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shell-header {
    width: calc(100vw - 24px);
  }

  .shell-header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: auto;
    padding-bottom: 18px;
  }

  .brand-mark-link,
  .header-actions {
    justify-self: start;
  }

  .brand-logo {
    width: 92px;
  }

  .shell {
    padding-top: 168px;
  }
}
