.tickets {
  display: block;
  background: #f1e8dc;
}

.tickets__head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.tickets__head h2 {
  font-size: clamp(42px, 5vw, 68px);
}

.tickets__head > p:last-child {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 55px;
}

.ticket-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 28px 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ticket-card__label {
  color: var(--red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ticket-card h3 {
  margin: 20px 0 8px;
  font: 400 21px Prata, serif;
}

.ticket-card__price {
  margin: 0 0 25px;
  font: 400 26px Prata, serif;
}

.ticket-card ul {
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.ticket-card li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.ticket-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--red);
  font-weight: 800;
}

.ticket-card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.ticket-card > a:hover {
  background: var(--red);
  color: #fff;
}

.ticket-card > a[aria-disabled="true"] {
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.ticket-card--featured {
  border: 2px solid var(--red);
  transform: translateY(-12px);
}

.ticket-card__ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 6px 13px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticket-card--vip {
  border-color: #2b201b;
  background: #2b201b;
  color: #fff;
}

.ticket-card--vip .ticket-card__label,
.ticket-card--vip li::before {
  color: #ff8a7e;
}

.ticket-card--vip li {
  border-color: #ffffff20;
  color: #cbbcb3;
}

.ticket-card--vip > a {
  border-color: #ff8a7e;
  color: #ffb2aa;
}

.tickets__note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.order {
  background: var(--paper);
}

.order__head {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
  column-gap: 7vw;
  align-items: end;
}

.order__head .kicker {
  grid-column: 1;
}

.order__head h2 {
  grid-column: 1;
  font-size: clamp(42px, 5vw, 68px);
}

.order__head > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 55px 0 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  list-style: none;
}

.order-steps li {
  min-height: 165px;
  padding: 25px;
  background: #f8f1e8;
}

.order-steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.order-steps strong {
  font: 400 18px Prata, serif;
}

.order-steps p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact-card {
  min-height: 150px;
  padding: 25px;
  border-radius: 12px;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px #2f201828;
}

.contact-card span,
.contact-card small {
  display: block;
}

.contact-card span {
  margin-bottom: 18px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .78;
}

.contact-card strong {
  display: block;
  font: 400 clamp(18px, 2vw, 24px) Prata, serif;
}

.contact-card small {
  margin-top: 19px;
  font-size: 10px;
  font-weight: 700;
}

.contact-card--telegram { background: #168acb; }
.contact-card--whatsapp { background: #168f58; }
.contact-card--phone { background: #2b201b; }

.order__note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

@media (max-width: 1000px) {
  .ticket-grid { grid-template-columns: 1fr 1fr; }
  .ticket-card--featured { transform: none; }
}

@media (max-width: 760px) {
  .order__head { display: block; }
  .order__head > p:last-child { margin-top: 22px; }
  .order-steps,
  .contact-grid { grid-template-columns: 1fr; }
  .order-steps { margin-top: 40px; }
  .order-steps li { min-height: 0; }
  .contact-card { min-height: 135px; }
}

@media (max-width: 650px) {
  .ticket-grid { grid-template-columns: 1fr; }
  .ticket-card { min-height: 390px; }
}

/* Readability pass for ticket and purchase sections */
.tickets__head > p:last-child,
.order__head > p:last-child {
  font-size: 16px;
  line-height: 1.75;
}

.ticket-card { min-height: 460px; }
.ticket-card__label { font-size: 9px; }
.ticket-card h3 { font-size: 23px; line-height: 1.3; }
.ticket-card__price { font-size: 28px; line-height: 1.25; }
.ticket-card li { font-size: 13px; line-height: 1.55; }
.ticket-card > a { font-size: 12px; line-height: 1.35; }
.ticket-card__ribbon { font-size: 9px; }
.tickets__note { font-size: 12px; line-height: 1.6; }

.order-steps span { font-size: 10px; }
.order-steps strong { font-size: 20px; line-height: 1.35; }
.order-steps p { font-size: 14px; line-height: 1.65; }

.contact-card span { font-size: 10px; }
.contact-card small { font-size: 12px; line-height: 1.45; }
.order__note { font-size: 12px; line-height: 1.6; }

@media (max-width: 650px) {
  .ticket-card { min-height: 420px; }
  .tickets__head > p:last-child,
  .order__head > p:last-child { font-size: 15px; }
}

/* Automatic booking */
.hidden { display: none !important; }

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  gap: 22px;
  max-width: 1080px;
  margin: 54px auto 0;
  align-items: start;
}

.booking-form,
.booking-summary {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 20px 55px #54341f12;
}

.booking-form { padding: 30px; }
.booking-form__status {
  margin-bottom: 22px;
  padding: 13px 15px;
  border-radius: 10px;
  background: #f8f1e8;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.booking-form__status.is-ready { background: #e4f4ea; color: #116e43; }
.booking-form__status.is-closed { background: #f4e3e1; color: #981e1e; }

.booking-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.booking-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.booking-field--wide { grid-column: 1 / -1; }
.booking-field > span {
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.booking-field input,
.booking-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--dark);
  font: 500 15px Manrope, sans-serif;
}
.booking-field input:focus,
.booking-field select:focus {
  border-color: #e67b73;
  outline: 3px solid #ffb4ad55;
}
.booking-field input:disabled,
.booking-field select:disabled { background: #f3eee8; color: var(--muted); }
.booking-field small { color: var(--muted); font-size: 11px; line-height: 1.45; }

.booking-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.booking-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.booking-check a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

.booking-submit { width: 100%; margin-top: 4px; }
.booking-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: #f7e3e1;
  color: #941d1d;
  font-size: 13px;
  line-height: 1.5;
}

.booking-success { padding: 18px 4px 5px; text-align: center; }
.booking-success > span {
  display: block;
  color: #147047;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.booking-success > strong {
  display: block;
  margin: 15px 0 20px;
  font: 400 clamp(30px, 5vw, 46px) Prata, serif;
}
.booking-success p { max-width: 520px; margin: 12px auto; color: var(--muted); font-size: 14px; line-height: 1.65; }
.booking-success .button { margin-top: 16px; }

.booking-summary { position: sticky; top: 96px; padding: 28px; }
.booking-summary > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.booking-summary > strong {
  display: block;
  margin: 17px 0 24px;
  font: 400 26px/1.35 Prata, serif;
}
.booking-summary > div {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.booking-summary b { color: var(--dark); text-align: right; }
.booking-summary .booking-summary__total { margin-top: 4px; color: var(--dark); font-size: 13px; }
.booking-summary__total b { font: 400 22px Prata, serif; }
.booking-summary > small { display: block; margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.booking-support {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}
.booking-support a { color: var(--red); font-weight: 700; }

.demo-banner {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 50%;
  width: min(680px, calc(100% - 24px));
  padding: 10px 18px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #251d19;
  color: #fff;
  box-shadow: 0 8px 28px rgb(37 29 25 / 20%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

body.demo-mode .header { top: 38px; }
body.demo-mode { padding-top: 38px; }

@media (max-width: 820px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; grid-row: 1; }
}

@media (max-width: 650px) {
  .demo-banner { width: 100%; border-radius: 0; font-size: 11px; }
  body.demo-mode .header { top: 50px; }
  body.demo-mode { padding-top: 50px; }
  .booking-layout { margin-top: 36px; }
  .booking-form { padding: 20px; }
  .booking-form__fields { grid-template-columns: 1fr; gap: 17px; }
  .booking-field--wide { grid-column: auto; }
  .booking-field input, .booking-field select { min-height: 54px; font-size: 16px; }
  .booking-check { grid-template-columns: 24px 1fr; font-size: 12px; }
  .booking-summary { padding: 22px; }
  .booking-support { flex-wrap: wrap; gap: 10px 18px; }
  .booking-support > span { width: 100%; text-align: center; }
}
