:root {
  --ink: #111418;
  --muted: #56606d;
  --line: #d9dee6;
  --paper: #f2efe9;
  --surface: #ffffff;
  --white: #ffffff;
  --gold: #e7b73f;
  --gold-dark: #b98208;
  --brown: #5a473f;
  --brown-dark: #3f302b;
  --blue: #06a6df;
  --green: #0f766e;
  --red-dark: #9f1239;
  --shadow: 0 18px 46px rgba(17, 20, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 66px);
  background: rgba(247, 245, 241, 0.96);
  border-bottom: 1px solid rgba(17, 20, 24, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--white);
  color: var(--gold-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 90px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36)),
    url("logoGYM.jpg") center / cover;
}

.hero-content {
  max-width: 820px;
  padding-bottom: clamp(28px, 8vh, 90px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.hero-actions,
.payment-row,
.ticket-actions,
.competition-cta,
.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, #f6c94b, #c8890a);
  color: #08090b;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.button.mercadopago,
.mercadopago {
  background: #62c3e9;
  color: var(--white);
}

.section {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 66px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.about-section,
.events-section {
  background: var(--white);
}

.feature-grid,
.plans-grid,
.events-grid,
.contact-grid,
.form-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.plans-grid,
.events-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.plan-card,
.event-card,
.contact-card,
.form-panel,
.validation-result {
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(17, 20, 24, 0.08);
}

.feature-grid article,
.plan-card,
.contact-card {
  padding: 24px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--brown-dark);
  color: var(--gold);
  font-weight: 900;
}

.plan-card {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.plan-card:hover {
  transform: translateY(-3px);
}

.plan-card.selected {
  border-color: var(--gold);
  outline: 3px solid rgba(231, 183, 63, 0.2);
}

.price {
  margin: 10px 0;
  font-size: 2rem;
  font-weight: 900;
}

.form-panel {
  margin-top: 18px;
  padding: clamp(18px, 4vw, 28px);
}

.action-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.action-panel h3,
.action-panel p {
  margin-top: 0;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

textarea {
  resize: vertical;
}

small {
  color: var(--muted);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.form-message.error {
  color: var(--red-dark);
}

.form-message.success {
  color: var(--green);
}

.registration-review {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #d9c89d;
  border-radius: 7px;
  background: #fffaf0;
  color: var(--ink);
}

.registration-review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5d9bd;
}

.registration-review-head span {
  color: #8a5f00;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-review-head h4 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.registration-review-head > strong {
  color: #8a5f00;
  font-size: 1.35rem;
  white-space: nowrap;
}

.registration-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 18px 0 0;
}

.registration-review-grid div {
  min-width: 0;
}

.registration-review-grid dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-review-grid dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.registration-review-grid .registration-review-wide {
  grid-column: 1 / -1;
}

.competition-section {
  background: var(--brown);
  color: var(--white);
}

.competition-section .section-heading p:not(.eyebrow) {
  color: #e6ddd6;
}

.competition-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
}

.competition-summary-layout {
  grid-template-columns: minmax(280px, 720px);
}

.competition-copy {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: rgba(34, 24, 21, 0.58);
}

.competition-copy p {
  color: #f2e9e1;
}

.competition-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.competition-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.date-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
}

.date-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.date-list dt {
  color: #d8cfc8;
}

.date-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.registration-page .section-heading h1 {
  font-size: clamp(3rem, 7vw, 7rem);
}

.competition-wizard {
  color: var(--ink);
}

.wizard-head {
  margin: calc(clamp(18px, 4vw, 28px) * -1) calc(clamp(18px, 4vw, 28px) * -1) 24px;
  padding: 28px;
  border-bottom: 1px solid rgba(17, 20, 24, 0.2);
  text-align: center;
  background: #efe6d2;
}

.wizard-progress,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff0b8;
  color: #6b4a00;
  font-weight: 900;
}

.wizard-step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.wizard-step.active {
  display: block;
}

.wizard-step legend {
  width: 100%;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(17, 20, 24, 0.32);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
}

.radio-stack,
.check-stack {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
}

.radio-stack label,
.check-stack label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.radio-stack input,
.check-stack input {
  width: auto;
  min-height: auto;
}

.important-box {
  margin-bottom: 24px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff8e2;
}

.category-restriction-error {
  display: block;
  min-height: 0;
  margin-top: 7px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.category-restriction-error:empty {
  display: none;
}

.category-selects select[aria-invalid="true"] {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(164, 26, 32, 0.12);
}

.ticket-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.qr-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.events-grid:empty::before {
  content: "Aun no hay eventos publicados.";
  color: var(--muted);
}

.event-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-card img {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: contain;
  display: block;
  background: #111418;
}

.admin-list-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #e7e1d8;
}

.event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.event-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.event-date-badge {
  display: grid;
  grid-template-columns: auto auto;
  width: fit-content;
  min-width: 82px;
  padding: 8px 10px;
  border-left: 4px solid var(--gold);
  background: #fff8e2;
  color: var(--ink);
  line-height: 1;
}

.event-date-badge strong {
  grid-row: 1 / 3;
  align-self: center;
  margin-right: 8px;
  font-size: 1.55rem;
}

.event-date-badge span,
.event-date-badge small {
  font-size: 0.72rem;
  font-weight: 900;
}

.event-date-badge small {
  margin-top: 3px;
  color: var(--muted);
}

.event-state {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.event-state.upcoming {
  background: #d8f5e7;
  color: #0b654b;
}

.event-state.past {
  background: #e9ecef;
  color: var(--muted);
}

.event-link {
  align-self: flex-start;
  margin-top: auto;
}

.events-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  color: var(--muted);
  text-align: center;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-section .section-heading p:not(.eyebrow) {
  color: #dce2e8;
}

.contact-card {
  display: grid;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.contact-card span {
  color: var(--muted);
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 66px);
  background: #08090b;
  color: #dce2e8;
}

.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.is-hidden {
  display: none !important;
}

.admin-login-section {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  padding-top: clamp(30px, 5vw, 56px);
  padding-bottom: clamp(30px, 5vw, 56px);
}

.admin-section {
  padding-top: clamp(32px, 4vw, 52px);
}

.admin-section > .section-heading {
  margin-bottom: 18px;
}

.admin-login-card {
  width: min(720px, 100%);
  margin: 0;
  padding: clamp(22px, 4vw, 36px);
}

.admin-login-card .section-heading {
  max-width: 660px;
  margin-bottom: 24px;
}

.admin-login-card .section-heading h1 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
}

.admin-login-card .section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 1rem;
}

.admin-section > .section-heading h1,
.admin-module .section-heading h2 {
  overflow-wrap: normal;
  word-break: normal;
}

.admin-section > .section-heading h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  white-space: nowrap;
}

.admin-module .section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.admin-logout {
  min-height: 40px;
  padding: 8px 14px;
}

.admin-tabs,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 18px 0;
}

.admin-tabs {
  padding: 8px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(17, 20, 24, 0.06);
}

.admin-tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-tab.active {
  border-color: rgba(231, 183, 63, 0.45);
  background: var(--gold);
  color: var(--ink);
}

.admin-module {
  margin-top: 18px;
}

.admin-module[hidden] {
  display: none;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 10px;
}

.admin-metrics article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 7px;
  background: var(--white);
}

.admin-metrics span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-metrics strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.admin-toolbar label {
  min-width: 220px;
}

.admin-toolbar {
  justify-content: space-between;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
}

.registration-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.registration-type {
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.registration-type.active {
  background: var(--ink);
  color: var(--white);
}

.admin-count {
  color: var(--muted);
  font-weight: 900;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-registration-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(200px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f5f1;
}

.admin-registration-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-registration-filters .button {
  min-height: 48px;
}

.admin-records-list .admin-list-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.admin-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f7f5f1;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr:hover {
  background: #fffaf0;
}

.admin-table td small,
.admin-table td span {
  display: block;
}

.admin-table td small {
  margin-top: 3px;
  color: var(--muted);
}

.admin-table .registration-detail-row > td {
  padding: 0;
  background: #fbfaf7;
}

.registration-detail-row:hover {
  background: transparent !important;
}

.registration-details summary {
  padding: 12px 16px;
  color: #8a5f00;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}

.registration-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.registration-detail-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  padding: 22px 24px 28px;
}

.registration-detail-section {
  min-width: 0;
}

.registration-detail-section h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.registration-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
}

.registration-detail-grid div {
  min-width: 0;
}

.registration-detail-grid dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-detail-grid dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.status-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: #fff0bd;
  color: #6d4d00;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-paid,
.status-used {
  background: #d8f5e7;
  color: #0b654b;
}

.table-action {
  color: var(--gold-dark);
  font-weight: 900;
  white-space: nowrap;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-list-item,
.admin-plan-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(17, 20, 24, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.admin-list-item img {
  border-radius: 6px;
}

.admin-result {
  white-space: pre-wrap;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.validation-page {
  max-width: 1100px;
  margin: 0 auto;
}

.validation-page > .ticket-actions {
  margin-top: 18px;
}

.validation-result:empty::before {
  content: "Ingresa un folio para consultar tu comprobante.";
  color: var(--muted);
}

.status-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.status-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.status-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--line);
}

.status-progress li.complete:not(:last-child)::after {
  background: var(--green);
}

.status-progress li span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-weight: 900;
  z-index: 1;
}

.status-progress li.complete,
.status-progress li.current {
  color: var(--ink);
}

.status-progress li.complete span {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.status-progress li.current span {
  border-color: var(--gold);
  background: #fff3c8;
  color: #6d4d00;
}

.status-progress-note {
  max-width: 760px;
  margin: -8px auto 24px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #f4f5f6;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.status-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  background: #fffaf0;
}

.status-callout > div,
.status-callout:not(.pending) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status-callout span {
  margin-top: 4px;
  color: var(--muted);
}

.status-callout.success {
  border-left-color: var(--green);
  background: #eefaf4;
}

.status-callout.error {
  border-left-color: var(--red-dark);
  background: #fff1f1;
}

.status-callout.neutral {
  border-left-color: var(--muted);
  background: #f4f5f6;
}

.status-pill-paid,
.status-pill-used {
  background: #d8f5e7;
  color: #0b654b;
}

.status-pill-cancelled {
  background: #ffe0e0;
  color: var(--red-dark);
}

.ticket-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
  margin: 18px 0;
}

.print-ticket-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 900px) {
  .feature-grid,
  .plans-grid,
  .events-grid,
  .contact-grid,
  .competition-layout,
  .form-grid,
  .ticket-info-grid {
    grid-template-columns: 1fr;
  }

  .action-panel,
  .ticket-card,
  .print-ticket-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-list-item,
  .admin-plan-row {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
  }

  .admin-toolbar-actions,
  .registration-switch {
    width: 100%;
  }

  .admin-toolbar-actions .button,
  .registration-type {
    flex: 1 1 auto;
  }

  .registration-review-grid {
    grid-template-columns: 1fr;
  }

  .registration-review-grid .registration-review-wide {
    grid-column: auto;
  }

  .registration-review-head {
    flex-direction: column;
  }

  .admin-registration-filters {
    grid-template-columns: 1fr;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-callout {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: 84vh;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    max-width: 160px;
  }

  .button {
    width: 100%;
  }

  .date-list div {
    flex-direction: column;
  }

  .admin-metrics {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .site-footer,
  .no-print,
  .ticket-actions {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .form-panel,
  .validation-result {
    box-shadow: none;
  }
}
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.production-readiness {
  margin-bottom: 20px;
}

.gym-benefits {
  margin: 28px 0;
  padding: 24px;
  border-left: 5px solid #e5a719;
  background: #fff;
}

.gym-benefits h2 {
  margin: 4px 0 14px;
  font-size: 24px;
}

.gym-benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding-left: 20px;
}

.shower-option {
  padding: 14px;
  border: 1px solid #d7dce3;
  background: #fff8e6;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.checkbox-line input {
  width: 20px;
  height: 20px;
  margin: 0;
}

@media (max-width: 700px) {
  .gym-benefits ul {
    grid-template-columns: 1fr;
  }
}

.production-readiness article {
  border-top: 4px solid #b77900;
}

.production-readiness article.readiness-ok {
  border-top-color: #07846f;
}

.production-webhook {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 32px;
  padding: 18px;
  border: 1px solid #d8dce3;
  background: #f8f8f6;
}

.production-webhook strong {
  grid-column: 1 / -1;
}

.production-webhook code {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .production-webhook {
    grid-template-columns: 1fr;
  }
}
