:root {
  --navy-dark: #0c2c3a;
  --navy: #123f52;
  --teal: #17495d;
  --teal-light: #1c5b73;
  --gold: #e3b04b;
  --gold-light: #f0cd7d;
  --gold-dark: #b9862a;
  --cream: #fefaf3;
  --white: #ffffff;
  --text-dark: #1b2e38;
  --text-muted: #6b7c85;
  --radius: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: "Montserrat", "Inter", Arial, sans-serif;
  font-weight: 800;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 20px rgba(201, 148, 51, 0.35);
}

.section-label {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 14px;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--navy-dark);
}

.logo img {
  height: 40px;
}

.nav-desktop {
  display: none;
}

.lang-switch {
  display: none;
}

.lang-switch-mobile {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger-btn {
  background: none;
  border: none;
  color: var(--white);
  padding: 4px;
  display: flex;
}

/* Mobile nav overlay */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-dark), var(--teal));
  z-index: 100;
  padding: 20px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

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

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.mobile-nav-top img {
  height: 36px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
}

.mobile-nav-title {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 4px;
}

.mobile-nav-subtitle {
  font-family: "Caveat", cursive;
  color: var(--gold-light);
  font-size: 20px;
  margin-bottom: 20px;
}

.mobile-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px;
  color: var(--white);
  font-weight: 600;
}

.mobile-nav-link.active {
  border-color: var(--gold);
  color: var(--gold-light);
}

.mobile-nav .gold-btn {
  margin: 20px 0;
  width: 100%;
}

.mobile-nav-contacts {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--white);
}

.mobile-nav-contacts .row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 100% at 30% 0%, var(--teal-light), var(--navy-dark) 70%);
  color: var(--white);
  overflow: hidden;
  padding-bottom: 40px;
}

.hero-inner {
  position: relative;
  padding: 0 20px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.hero-eyebrow {
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 56px;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-tagline {
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
}

.hero-badge svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.hero-photo-wrap {
  position: relative;
  margin: 24px -20px 0;
}

.hero-photo-wrap img {
  width: 100%;
  display: block;
}

.hero-photo-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  display: block;
}

.hero-partner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px 0;
}

.hero-partner img {
  height: 56px;
}

/* Slots counter */

.slots-card {
  margin: 24px 20px 0;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: var(--radius);
  padding: 22px;
  color: var(--white);
}

.slots-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.slots-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.slots-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.slots-count .num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--gold);
}

.slots-count .total {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.75);
}

.slots-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.slots-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 999px;
}

.slots-remaining {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.slots-remaining b {
  color: var(--gold);
}

.slots-percent {
  display: none;
  font-weight: 700;
  color: var(--white);
}

/* ---------- Charity ---------- */

.charity {
  padding: 40px 20px;
}

.charity-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.charity-header img {
  width: 64px;
  height: 64px;
}

.charity-header h2 {
  font-size: 24px;
  line-height: 1.15;
}

.charity-header h2 span {
  display: block;
  color: var(--gold-dark);
}

.charity-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  padding-left: 80px;
  margin-bottom: 28px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.stat-card img {
  width: 44px;
  height: 40px;
  margin: 0 auto 12px;
}

.stat-card .value {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 4px;
}

.stat-card .desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ---------- Distances + Prizes shared bg ---------- */

.distances-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--teal), var(--navy-dark));
  color: var(--white);
  padding: 60px 20px 60px;
  overflow: hidden;
}

.distances-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/vector_background.svg");
  background-repeat: repeat;
  background-size: 390px 624px;
  opacity: 0.5;
  pointer-events: none;
}

.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-top svg {
  width: 100%;
  height: auto;
  display: block;
}

.distances-inner {
  position: relative;
  z-index: 2;
}

.distances-title {
  font-size: 34px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.distances-title .accent {
  color: var(--gold);
  display: block;
}

.distance-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.distance-card {
  background: var(--cream);
  color: var(--text-dark);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(227, 176, 75, 0.4);
}

.distance-card-head {
  display: flex;
  align-items: stretch;
  cursor: pointer;
}

.distance-card-thumb {
  position: relative;
  width: 130px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  color: var(--white);
}

.distance-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 44, 58, 0.65), rgba(12, 44, 58, 0.1));
}

.distance-card-thumb .thumb-value {
  position: relative;
  z-index: 1;
}

.distance-card-thumb .thumb-value .num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.distance-card-thumb .thumb-value .unit {
  font-weight: 800;
  font-size: 15px;
}

.distance-card-thumb.kids .thumb-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--gold-light);
  line-height: 1.15;
}

.distance-card-body {
  flex: 1;
  padding: 14px 14px 14px 16px;
  position: relative;
}

.distance-card-body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.distance-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

.distance-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 10px;
}

.distance-chevron {
  position: absolute;
  bottom: 12px;
  right: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.distance-card.open .distance-chevron {
  transform: rotate(180deg);
}

.distance-card-details {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 16px;
}

.distance-card.open .distance-card-details {
  display: block;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.detail-row .label {
  font-weight: 700;
  font-size: 14px;
}

.detail-row .sub {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Prizes */

.prizes {
  margin-top: 48px;
}

.prizes-title {
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.prize-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 4px;
}

.prize-tab {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.prize-tab.active {
  background: var(--white);
  color: var(--navy-dark);
  border-color: var(--white);
}

.prize-table {
  background: rgba(10, 30, 40, 0.55);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 8px 20px;
}

.prize-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.prize-row:last-of-type {
  border-bottom: none;
}

.prize-row img {
  width: 30px;
  height: 36px;
}

.prize-row .place {
  flex: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
}

.prize-row .amount {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--gold);
}

.prize-footnote {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  padding: 14px 0 6px;
}

/* ---------- Starter pack ---------- */

.starter {
  padding: 60px 20px 20px;
}

.starter-title {
  font-size: 30px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
  text-align: center;
}

.starter-photo {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.starter-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.starter-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  list-style: none;
}

.starter-checklist li .check {
  color: var(--gold-dark);
  flex-shrink: 0;
}

.starter-note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
}

.pickup {
  padding: 20px;
}

.pickup-title {
  font-size: 22px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.pickup-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.pickup-row svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--teal);
  margin-top: 2px;
}

.pickup-row .title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.pickup-row .sub {
  font-size: 14px;
  color: var(--text-muted);
}

.pickup-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff6e0;
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.pickup-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---------- Program timeline ---------- */

.program {
  position: relative;
  background: linear-gradient(160deg, var(--teal), var(--navy-dark));
  color: var(--white);
  padding: 60px 20px;
  overflow: hidden;
}

.program::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/vector_background.svg");
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
}

.program-inner {
  position: relative;
  z-index: 2;
}

.program-title {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.program-title .accent {
  color: var(--gold);
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 20px;
}

.timeline-time {
  width: 90px;
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 16px;
  flex-shrink: 0;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(227, 176, 75, 0.7);
  margin-top: 4px;
}

.timeline-line {
  width: 1px;
  flex: 1;
  background: rgba(227, 176, 75, 0.5);
  margin-top: 6px;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-label {
  padding-bottom: 32px;
  font-style: italic;
  font-size: 17px;
}

.program-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.program-note svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--gold);
}

/* ---------- How it works ---------- */

.how {
  position: relative;
  padding: 60px 20px 130px;
  overflow: hidden;
}

.how-title {
  font-size: 28px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
}

.how-steps {
  display: flex;
  flex-direction: column;
}

.how-step {
  display: flex;
  gap: 20px;
}

.how-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  flex-shrink: 0;
}

.how-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
}

.how-line {
  width: 1px;
  flex: 1;
  background: rgba(0, 0, 0, 0.15);
  margin: 4px 0;
}

.how-step:last-child .how-line {
  display: none;
}

.how-text {
  padding-bottom: 40px;
  padding-top: 10px;
  font-size: 17px;
  font-weight: 500;
}

.how-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  object-fit: cover;
  object-position: bottom;
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- Registration picker ---------- */

.reg-picker {
  padding: 60px 20px 40px;
  text-align: center;
}

.reg-picker-title {
  font-size: 28px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.reg-picker-sub {
  font-size: 17px;
  margin-bottom: 28px;
}

.reg-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.reg-card {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: 14px;
  overflow: hidden;
  min-height: 120px;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.reg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 44, 58, 0.92) 40%, rgba(12, 44, 58, 0.05));
}

.reg-card-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.reg-card-content h3 {
  font-size: 19px;
}

.reg-card-content .age {
  color: var(--gold);
  font-weight: 800;
  font-size: 17px;
}

.reg-card-content .sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.reg-card-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--white);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 40px 20px 30px;
  text-align: center;
  overflow: hidden;
}

.footer-title {
  font-size: 24px;
  color: var(--teal);
  margin-bottom: 24px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.footer-contacts .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.footer-social {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer-social .row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* ---------- Registration form page ---------- */

.reg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--navy-dark);
  color: var(--white);
}

.reg-header-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}

.reg-header-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 14px;
}

.reg-form-page {
  padding: 24px 20px 60px;
}

.reg-form-title {
  font-size: 26px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.reg-form-subtitle {
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.reg-form-notice {
  background: #fdf6e6;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.reg-form-notice p + p {
  margin-top: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(12, 44, 58, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b7c85' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-date-wrap {
  position: relative;
}

.form-date-wrap .calendar-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 20px;
  height: 20px;
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.radio-group {
  display: flex;
  gap: 28px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--gold-dark);
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.4;
}

.form-checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold-dark);
}

.form-checkbox-row a {
  color: var(--teal);
  text-decoration: underline;
}

.reg-submit-btn {
  width: 100%;
  margin-top: 12px;
  border: none;
}

@media (min-width: 1024px) {
  .reg-header {
    padding: 20px 40px;
  }

  .reg-form-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 20px 80px;
  }
}

/* ---------- Payment status page ---------- */

.status-page {
  min-height: 100vh;
  background: #0a0f14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.status-card {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 20px;
  padding: 32px 24px 28px;
  text-align: center;
}

.status-card[hidden] {
  display: none;
}

.status-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon svg {
  width: 40px;
  height: 40px;
}

.status-icon.success {
  background: linear-gradient(180deg, #6fcf9a, #2fae6b);
  color: var(--white);
}

.status-icon.error {
  background: linear-gradient(180deg, #f0847a, #d9534f);
  color: var(--white);
}

.status-icon.pending {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--white);
}

.status-title {
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
}

.status-title.success {
  color: #219155;
}

.status-title.error {
  color: #c8372f;
}

.status-title.pending {
  color: var(--gold-dark);
}

.status-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.status-hint {
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 24px;
}

.status-info {
  background: #fdf6e6;
  border-radius: 14px;
  padding: 18px 18px 6px;
  text-align: left;
  margin-bottom: 24px;
}

.status-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  font-size: 14px;
}

.status-info-row .label {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.status-info-row .value {
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
}

.status-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eef1f5;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 20px;
}

.status-warning svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.status-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: 12px;
  margin-top: 12px;
}

.status-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--teal);
  text-decoration: underline;
}

.status-card .gold-btn {
  width: 100%;
}

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .site-header {
    padding: 24px 40px;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 36px;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
  }

  .lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
  }

  .lang-switch span.active {
    text-decoration: underline;
    color: var(--gold-light);
  }

  .lang-switch-mobile,
  .burger-btn {
    display: none;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 40px 0;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    position: relative;
  }

  .hero-title {
    font-size: 76px;
  }

  .hero-photo-wrap {
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-text-col {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    max-width: 620px;
  }

  .hero-photo-wrap {
    height: 640px;
  }

  .hero-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0 0 0 120px;
  }

  .hero-partner {
    position: absolute;
    right: 40px;
    bottom: 90px;
    z-index: 3;
    padding: 0;
  }

  .slots-card {
    margin: 0;
    max-width: var(--container);
    margin: 32px auto 0;
    padding: 28px 32px;
  }

  .slots-card-top {
    margin-bottom: 0;
  }

  .slots-card-inner {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .slots-count {
    margin-bottom: 0;
  }

  .slots-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .slots-percent {
    display: block;
  }

  .slots-remaining {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 999px;
  }

  .charity {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .charity-text {
    margin-bottom: 0;
  }

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

  .distances-wrap {
    padding: 70px 40px 90px;
  }

  .distances-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .distances-title {
    font-size: 40px;
  }

  .prizes {
    margin-top: 0;
  }

  .starter {
    max-width: var(--container);
    margin: 0 auto;
    padding: 90px 40px 20px;
  }

  .starter-title {
    text-align: left;
    font-size: 38px;
  }

  .starter-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
  }

  .starter-photo {
    margin-bottom: 0;
  }

  .pickup {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 40px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
  }

  .pickup-photo img {
    width: 100%;
  }

  .program {
    padding: 90px 40px;
  }

  .program-inner {
    max-width: var(--container);
    margin: 0 auto;
  }

  .program-title {
    font-size: 34px;
  }

  .timeline {
    flex-direction: row;
    gap: 60px;
  }

  .timeline-col {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .how {
    padding: 90px 40px 190px;
  }

  .how-mountains {
    height: 140px;
  }

  .how-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
  }

  .how-title {
    flex-shrink: 0;
    width: 260px;
    font-size: 32px;
  }

  .how-steps {
    flex-direction: row;
    flex: 1;
  }

  .how-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .how-marker {
    flex-direction: row;
    width: 100%;
    align-items: center;
  }

  .how-line {
    width: auto;
    flex: 1;
    height: 1px;
    margin: 0 8px;
  }

  .how-text {
    padding-top: 16px;
    padding-bottom: 0;
    font-size: 15px;
  }

  .reg-picker {
    max-width: var(--container);
    margin: 0 auto;
    padding: 90px 40px 60px;
  }

  .reg-picker-title {
    font-size: 34px;
  }

  .reg-cards {
    flex-direction: row;
  }

  .reg-card {
    flex: 1;
    min-height: 160px;
  }

  .site-footer {
    padding: 20px 40px 60px;
  }

  .footer-inner {
    max-width: var(--container);
    margin: 0 auto;
  }

  .footer-contacts {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }

  .footer-mountains {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
    opacity: 0.5;
  }
}

.form-error {
  color: #c8372f;
  font-size: 14px;
  margin-bottom: 16px;
}
