/* The prices section #tickets (2026-11-23): Figma 1867:117547, the old Heidelberg design, ported from aicon26.com's
   templates/sections/tickets.html and partials/tickets/ticket_card.html, ticket_banner.html. Their Tailwind classes
   as plain CSS; the comments name the aicon26 class where a value came from. Kept from aicon26's deliberate deviations:
   - the pass cards stay one per row until 1200px (each holds two price boxes that need ~150px each);
   - a price box is a size container: from 232px wide it gets the Figma 32px name and 24px padding (aicon26's 220px
     was tuned for three boxes per card; with two, 1276-1306px screens landed on it and broke the names in two);
   - the badge's text shrinks with its box below its Figma 18px, so "Exclusive Experience" keeps one line;
   - the notes under the cards keep four lines of height (the VIP card's at 1200-1240px), so both cards' price rows
     line up (final review, 2026-11-23). */

.tickets { background: var(--bg-2); }   /* #1A1A1A */

/* ── Heading ───────────────────────────────────────────────────────────── */
.tickets__head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.tickets__eyebrow { font-size: 18px; line-height: 26px; font-weight: 300; color: #e6ff59; }
.tickets__titles { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.tickets__title {
  font-size: clamp(2.25rem, 6.25vw, 5.625rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
}
.tickets__subtitle {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fbfbfb;
}
@media (max-width: 767px) {
  /* "Secure your ticket now!" on one line down to 320px (aicon26: max-[767px]:text-[min((100vw-40px)/10.2,48px)]). */
  .tickets__title { font-size: min(calc((100vw - 40px) / 10.2), 48px); }
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.tickets__list { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.tickets__cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1200px) {
  .tickets__list { margin-top: 56px; }
  .tickets__cards { grid-template-columns: 1fr 1fr; }
}

/* ── Pass card ─────────────────────────────────────────────────────────── */
.pass {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid #fbfbfb;
  border-radius: 12px;
  background: rgba(219, 219, 219, 0.1);
}
.pass--vip { border-color: #e6ff59; background: rgba(230, 255, 89, 0.1); }
@media (min-width: 768px) { .pass { padding: 40px; } }

/* flex: 1 on both levels pushes the prices to the card bottom, so the two cards' price rows line up. */
.pass__main { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.pass__body { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.pass__intro { display: flex; flex-direction: column; gap: 8px; }
.pass__name {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-lighter);   /* #F9FFD9 */
}
.pass__subtitle { font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: 0.36px; color: #fbfbfb; }

/* ── Perks ─────────────────────────────────────────────────────────────── */
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-block: 6px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0.32px;
  color: #fbfbfb;
}
.perks li + li { border-top: 1px solid #babcc3; }
.perks li:first-child { padding-top: 0; }
.perks li:last-child { padding-bottom: 0; }
.perks img { flex-shrink: 0; }
.perks span { min-width: 0; flex: 1; }

/* ── Price boxes ───────────────────────────────────────────────────────── */
.pass__prices { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
@media (min-width: 768px) { .pass__prices { gap: 24px; } }

.price-box { container-type: inline-size; display: flex; flex-direction: column; flex: 1 1 150px; min-width: 0; }
.price-box__badge {
  padding: 5.5px 12px;
  border-radius: 12px 12px 0 0;
  /* "Exclusive Experience" is about 10.4em wide with its tracking: the box less its padding over 10.6 keeps one line. */
  font-size: min(18px, calc((100cqi - 24px) / 10.6));
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0.36px;
  color: #111111;
}
.price-box__badge--purple { background: #ab6eff; }   /* aicon26 BadgeColor.PURPLE */
.price-box__badge--lime { background: #e6ff59; }     /* aicon26 BadgeColor.YELLOW */
.price-box__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px;
  border-radius: 12px;
  background: rgba(219, 219, 219, 0.2);
}
.price-box__badge + .price-box__body { border-radius: 0 0 12px 12px; padding-top: 16px; }
/* "1 Day Ticket:" is about 5.6em wide: below 24px it shrinks with its box (two boxes side by side on ~400-440px phones). */
.price-box__name { font-size: min(24px, calc((100cqi - 32px) / 5.6)); line-height: normal; font-weight: 700; letter-spacing: -0.48px; color: #fbfbfb; }
.price-box__offer { display: flex; flex-direction: column; gap: 4px; }
.price-box__label {
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: #fbfbfb;
}
.price-box__price {
  font-size: 32px;
  line-height: normal;
  font-weight: 700;
  letter-spacing: -0.48px;
  white-space: nowrap;
  color: #fbfbfb;
}
@container (min-width: 232px) {
  .price-box__badge { padding-inline: 24px; }
  .price-box__body { padding-inline: 24px; }
  .price-box__name { font-size: 32px; }
}

/* ── Button and notes ──────────────────────────────────────────────────── */
.pass__foot { display: flex; flex-direction: column; gap: 32px; }
.pass__cta { width: 100%; justify-content: center; }
.pass__foot .pass__cta { margin-top: 16px; }
/* Four 18px lines (the VIP card's at its narrowest), so the Business card's prices sit level with the VIP card's. */
.pass__notes { min-height: 72px; display: flex; flex-direction: column; justify-content: flex-end; }
.pass__note {
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: #fbfbfb;
}

/* ── Student row (aicon26's ticket_banner.html) ────────────────────────── */
.student {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid #fbfbfb;
  border-radius: 12px;
  background: rgba(219, 219, 219, 0.2);
}
.student__info { display: flex; flex-direction: column; gap: 24px; }
.student__intro { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.student__subtitle { font-size: 24px; line-height: normal; font-weight: 700; color: #fbfbfb; }
.student__note {
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: #fbfbfb;
}
.perks--student { flex-shrink: 0; }
.perks--student li { padding-block: 8px; }
.student__buy { display: flex; flex-shrink: 0; flex-direction: column; gap: 8px; }
.price-box--student { flex: 0 0 auto; }
.price-box--student .price-box__body {
  align-items: center;
  gap: 4px;
  min-width: 150px;
  padding: 8px 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .student { padding-inline: 40px; }
  .student__info { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .perks--student li { white-space: nowrap; }
}
@media (min-width: 1200px) {
  .student { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding-block: 16px; }
  .student__info { flex: 1; max-width: 905px; }
  .student__buy { min-width: 214px; }
}
