/* Тайган · Rules Page */

/* ── Page hero ── */
.page-hero--rules .page-hero__bg {
  /* Replace with: background-image: url('../img/rules-hero.jpg'); */
  background: linear-gradient(155deg, #060E08 0%, #0F2018 35%, #1A3D28 60%, #2A6041 100%);
}

/* ── Tickets ── */
.tickets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.ticket-card {
  border-radius: var(--r-lg); padding: 2rem 1.75rem;
  background: var(--white); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: 1rem;
  border: 2px solid transparent;
  transition: all var(--dur-m) var(--ease-out);
}
.ticket-card:hover { border-color: var(--brand); transform: translateY(-5px); box-shadow: var(--sh-md); }
.ticket-card--featured {
  background: var(--brand); color: var(--white);
  border-color: var(--brand); transform: scale(1.04);
}
.ticket-card--featured:hover { transform: scale(1.04) translateY(-5px); }
.ticket-type { font-family: var(--ff-h); font-weight: var(--fw-7); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.ticket-card--featured .ticket-type { color: rgba(255,255,255,.6); }
.ticket-desc { font-size: .9rem; color: rgba(255,255,255,.65); }
.ticket-price {
  display: flex; align-items: baseline; gap: .25rem;
  font-family: var(--ff-h); font-weight: var(--fw-9);
  font-size: 3rem; letter-spacing: -.04em; line-height: 1;
}
.ticket-price small { font-size: .9rem; font-weight: var(--fw-5); color: var(--ink-3); margin-left: .25rem; }
.ticket-card--featured .ticket-price small { color: rgba(255,255,255,.6); }
.ticket-includes { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 0; border-top: 1px solid var(--border); }
.ticket-card--featured .ticket-includes { border-color: rgba(255,255,255,.18); }
.ticket-item { display: flex; align-items: center; gap: .625rem; font-size: .875rem; color: var(--ink-2); }
.ticket-card--featured .ticket-item { color: rgba(255,255,255,.85); }
.ticket-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand); }
.ticket-card--featured .ticket-item svg { color: var(--gold); }

/* ── Schedule table ── */
.schedule-section { margin-top: 3rem; }
.schedule-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.schedule-table th,
.schedule-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.schedule-table th { font-family: var(--ff-h); font-size: .72rem; font-weight: var(--fw-7); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); background: var(--surf); }
.schedule-table td:last-child { color: var(--brand); font-weight: var(--fw-6); text-align: right; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--surf); }

/* ── Rules blocks ── */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.rule-block {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.75rem; background: var(--white);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  transition: all var(--dur-m) var(--ease-out);
}
.rule-block:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.rule-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-l); color: var(--brand);
  transition: all var(--dur-m) var(--ease);
}
.rule-block:hover .rule-icon { background: var(--brand); color: var(--white); }
.rule-icon svg { width: 24px; height: 24px; }
.rule-block__title { font-family: var(--ff-h); font-weight: var(--fw-7); margin-bottom: .5rem; }
.rule-block__text  { font-size: .875rem; color: var(--ink-3); line-height: 1.72; }

/* ── FAQ accordion ── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.5rem; }
.faq-item {
  border-radius: var(--r-md); background: var(--white);
  box-shadow: var(--sh-sm); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease);
}
.faq-item:hover { box-shadow: var(--sh-md); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.375rem 1.75rem; gap: 1rem;
  font-family: var(--ff-h); font-weight: var(--fw-7); font-size: 1rem;
  text-align: left; background: none;
  transition: color var(--dur) var(--ease);
}
.faq-question:hover { color: var(--brand); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--surf); display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.faq-icon svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.faq-item.open .faq-icon { background: var(--brand); color: var(--white); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-m) var(--ease-out), padding var(--dur-m) ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 1.75rem 1.5rem; font-size: .9375rem; color: var(--ink-2); line-height: 1.78; }

/* ── How to get here ── */
.transport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.transport-item {
  padding: 1.5rem; border-radius: var(--r-lg); background: var(--white);
  box-shadow: var(--sh-sm); text-align: center;
}
.transport-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-l); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem;
}
.transport-item .h3 { margin-bottom: .5rem; }
.transport-item p { font-size: .875rem; color: var(--ink-3); line-height: 1.68; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .tickets-grid { grid-template-columns: 1fr; }
  .ticket-card--featured { transform: none; }
  .rules-grid { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .schedule-table th, .schedule-table td { padding: .875rem 1rem; font-size: .875rem; }
}
