@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --pine: #2a2013;
  --pine-deep: #1b130a;
  --moss: #a97c1f;
  --moss-light: #e8c468;
  --parchment: #f5ead0;
  --paper: #fdfbf3;
  --rock: #e3a008;
  --rock-deep: #b87e06;
  --ink: #241f18;
  --ink-soft: #55503f;
  --line: #e6d9ae;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --measure: 62ch;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--pine);
}

p { margin: 0 0 1em; max-width: var(--measure); color: var(--ink-soft); }

a { color: var(--rock-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rock);
  outline-offset: 2px;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pine);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav .wrap {
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.site-nav .brand {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.site-nav .links {
  display: flex;
  gap: 22px;
}
.site-nav .links a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.site-nav .links a:hover,
.site-nav .links a[aria-current="page"] {
  border-bottom-color: var(--rock);
  color: #fff;
}
.lang-switch {
  display: flex;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  color: var(--parchment);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 11px;
  cursor: pointer;
}
.lang-switch button + button {
  border-left: 1px solid rgba(255,255,255,0.3);
}
.lang-switch button.is-active {
  background: var(--rock);
  color: #fff;
}
@media (max-width: 480px) {
  .site-nav .wrap { padding-top: 12px; padding-bottom: 12px; }
  .site-nav .brand { font-size: 0.95rem; }
  .nav-right { gap: 14px; }
  .site-nav .links { gap: 14px; }
  .site-nav .links a { font-size: 0.88rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--pine);
  color: var(--paper);
  overflow: hidden;
}
.hero.hero-photo {
  background: var(--pine);
}
.hero-photo-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
  pointer-events: none;
}
.hero-photo-half:nth-of-type(1) { left: 0; }
.hero-photo-half:nth-of-type(2) { right: 0; }
.hero.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 15, 8, 0.78) 0%, rgba(20, 15, 8, 0.6) 45%, rgba(20, 15, 8, 0.85) 100%);
}
.hero.hero-photo h1,
.hero.hero-photo .lede,
.hero.hero-photo .eyebrow-line {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.hero-badge { display: none; }

/* A partir d'aquí, només pantalles grans: bàner partit en dues fotos, text centrat a la meitat esquerra */
@media (min-width: 901px) {
  .hero.hero-photo {
    min-height: 560px;
  }
  .hero.hero-photo .wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: none;
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero.hero-photo h1,
  .hero.hero-photo .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero.hero-photo .cta-row {
    justify-content: center;
  }
  .hero-badge {
    display: block;
    position: absolute;
    top: 42%;
    right: 26%;
    transform: translate(50%, -50%);
    width: 230px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
    pointer-events: none;
  }
}
.hero .wrap {
  max-width: 1040px;
  position: relative;
  z-index: 2;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero .eyebrow-line {
  color: var(--moss-light);
  font-family: var(--font-body);
  font-size: 0.98rem;
  margin: 0 0 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 14ch;
}
.hero .lede {
  color: var(--parchment);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-top: 18px;
}
.hero .contours {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero .wrap > * { position: relative; z-index: 2; }

.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--rock);
  color: #fff;
}
.btn-primary:hover { background: var(--rock-deep); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark {
  background: transparent;
  color: var(--pine);
  border: 1px solid var(--line);
}
.btn-ghost-dark:hover { border-color: var(--rock); color: var(--rock-deep); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-whatsapp:hover { background: #1ebe5b; }

.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  z-index: 60;
  transition: transform 0.15s ease, background 0.15s ease;
}
.whatsapp-float:hover { background: #1ebe5b; transform: scale(1.07); }

@media (min-width: 769px) {
  .whatsapp-float { display: flex; }
  .cta-row .btn-whatsapp { display: none; }
}

/* ---------- Sections ---------- */
section.block {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
section.block:last-of-type { border-bottom: none; }

.block h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 20ch;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

.event-dates {
  font-weight: 600;
  color: var(--pine);
  margin: 8px 0 18px;
}

.legal-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 18px;
  margin-bottom: 14px;
}
.legal-block summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--pine);
  padding: 6px 0;
}
.legal-block[open] summary { margin-bottom: 10px; }
.legal-block p,
.legal-block li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: none;
}
.legal-block ul { padding-left: 1.2em; margin: 0 0 12px; }
.legal-block li { margin-bottom: 8px; }
.legal-block strong { color: var(--ink); }

.payment-extra {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Payment card ---------- */
.payment-card {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rock);
  border-radius: 2px;
  padding: 28px 30px;
}
.payment-card .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--rock-deep);
  margin: 0 0 4px;
}
.payment-card .account {
  font-family: 'Work Sans', monospace;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--paper);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 8px 14px;
  border-radius: 2px;
  margin: 10px 0 18px;
  color: var(--ink);
}
.payment-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
}
.payment-card li { margin-bottom: 6px; }

/* ---------- Role selector ---------- */
.role-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
@media (max-width: 600px) {
  .role-cards { grid-template-columns: 1fr; }
}
.role-card {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--moss);
  border-radius: 2px;
  padding: 24px 26px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.role-card:hover { border-left-color: var(--rock); }
.role-card.is-selected {
  border-left-color: var(--rock);
  background: var(--parchment);
}
.role-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--pine);
  margin-bottom: 6px;
}
.role-card-desc {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.step-extra {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 26px 30px;
}
.link-reset {
  background: none;
  border: none;
  color: var(--rock-deep);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 16px;
  cursor: pointer;
}

/* Interactive slider (número de participantes) */
.slider-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 6px;
}
.slider-row input[type="range"] {
  flex: 1;
  accent-color: var(--rock);
  height: 4px;
}
.slider-count {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--rock-deep);
  min-width: 2.2ch;
  text-align: center;
}
.slider-price {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.slider-price strong { color: var(--pine); }

.btn-generate {
  margin-top: 18px;
}

/* Bloques de participante repetidos */
.participant-block {
  border: 1px solid var(--line);
  border-left: 4px solid var(--moss);
  border-radius: 2px;
  padding: 22px 24px 6px;
  margin-bottom: 20px;
}
.participant-block legend {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--pine);
  padding: 0 6px;
}

.select-field {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid #b9b09a;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}

/* ---------- Form ---------- */
.reg-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 36px;
}
@media (max-width: 560px) {
  .reg-form { padding: 24px 18px; }
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--pine);
  margin-bottom: 6px;
}
.field .hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 5px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid #b9b09a;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}
.field input:focus {
  border-color: var(--rock);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.file-drop {
  border: 1.5px dashed #b9b09a;
  border-radius: 3px;
  padding: 22px;
  background: var(--parchment);
}
.file-drop input[type="file"] {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.honey { position: absolute; left: -9999px; opacity: 0; }

.reg-form button[type="submit"] {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 30px;
  background: var(--pine);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 6px;
}
.reg-form button[type="submit"]:hover { background: var(--pine-deep); }

.privacy-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: none;
}

/* ---------- Energy / pace gauge (deliberately different from the dot stepper) ---------- */
.energy-block {
  background: var(--parchment);
  text-align: center;
}
.energy-block h2 {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  max-width: 32ch;
}
.energy-gauge {
  display: flex;
  gap: 6px;
  max-width: 420px;
  margin: 36px auto 0;
  height: 44px;
  padding: 6px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  position: relative;
}
.energy-gauge::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 18px;
  background: var(--ink);
  border-radius: 0 4px 4px 0;
}
.energy-segment {
  flex: 1;
  border-radius: 4px;
  background: var(--line);
  transition: background 0.4s ease;
}
.energy-segment.is-on:nth-child(1) { background: #4caf50; }
.energy-segment.is-on:nth-child(2) { background: #9ccc44; }
.energy-segment.is-on:nth-child(3) { background: #ffc107; }
.energy-segment.is-on:nth-child(4) { background: #ff7a3d; }
.energy-segment.is-on:nth-child(5) { background: #e5484d; }
.energy-segment.is-current { animation: energyPulse 1.4s ease-in-out infinite; }
@keyframes energyPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.energy-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.energy-emoji { font-size: 1.9rem; line-height: 1; }
.energy-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--pine);
  font-size: 1.1rem;
}

/* ---------- Meeting points, arrival, material, tips (route page) ---------- */
.meeting-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 700px) {
  .meeting-cards { grid-template-columns: 1fr; }
}
.meeting-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rock);
  border-radius: 2px;
  padding: 26px 24px 22px;
}
.meeting-number {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rock);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.meeting-card h3 {
  font-family: var(--font-display);
  color: var(--pine);
  margin: 6px 0 14px;
  font-size: 1.15rem;
}
.meeting-detail {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
  max-width: none;
}
.meeting-detail strong { color: var(--ink); }

.arrival-block {
  background: var(--pine);
  color: var(--paper);
}
.arrival-block h2 { color: var(--paper); }
.arrival-block p { color: var(--parchment); max-width: 640px; }

.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.checklist li { margin: 0; }
.chip-label {
  display: inline-block;
  cursor: pointer;
}
.chip-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 13px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.chip-icon { font-size: 1.15rem; line-height: 1; }
.chip-label:hover .chip { border-color: var(--rock); transform: translateY(-1px); }
.chip-label input:checked + .chip {
  background: var(--rock);
  border-color: var(--rock);
  color: #fff;
}
.chip-label input:checked + .chip .chip-icon { filter: grayscale(0.2) brightness(1.4); }

.tips-block ul {
  margin: 20px 0 0;
  padding-left: 1.2em;
}
.tips-block li {
  color: var(--ink-soft);
  margin-bottom: 12px;
  max-width: 640px;
}

/* ---------- Contact / call button (route page) ---------- */
.contact-block {
  background: var(--parchment);
}
.contact-block .wrap { text-align: center; }
.contact-block h2,
.contact-block p { margin-left: auto; margin-right: auto; }
.btn-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  text-decoration: none;
  background: var(--rock);
  color: #fff;
  border-radius: 4px;
  padding: 22px 30px;
  margin: 22px auto 0;
  max-width: 340px;
  font-family: var(--font-body);
}
.btn-call:hover { background: var(--rock-deep); }
.btn-call-icon { font-size: 1.8rem; line-height: 1; }
.btn-call span:nth-child(2) {
  font-weight: 700;
  font-size: 1.15rem;
}
.btn-call-number {
  font-size: 0.95rem;
  opacity: 0.9;
  letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .btn-call { max-width: none; width: 100%; padding: 20px; }
}

/* ---------- Route page ---------- */
/* ---------- Video embed (16:9, scales cleanly) ---------- */
.video-block {
  background: var(--pine);
  color: var(--paper);
}
.video-block h2 { color: var(--paper); }
.video-block p { color: var(--parchment); }
.video-block .wrap { text-align: center; }
.video-block h2,
.video-block p { margin-left: auto; margin-right: auto; }
.video-embed {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
  margin: 20px auto 0;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Live route progress ---------- */
.progress-block { background: var(--paper); }
.progress-block .wrap { text-align: center; }
.progress-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 700px;
  margin: 36px auto 10px;
}
.progress-track::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--line);
  z-index: 0;
}
.progress-track .fill-line {
  position: absolute;
  top: 14px;
  left: 5%;
  height: 3px;
  background: var(--rock);
  z-index: 1;
  width: 0%;
  transition: width 0.5s ease;
}
.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 4px;
}
.progress-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--line);
  margin-bottom: 8px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.progress-step.is-complete .progress-dot,
.progress-step.is-current .progress-dot {
  border-color: var(--rock);
  background: var(--rock);
}
.progress-step.is-current .progress-dot {
  box-shadow: 0 0 0 5px rgba(227, 160, 8, 0.25);
}
.progress-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.25;
}
.progress-step.is-current .progress-label {
  color: var(--ink);
  font-weight: 700;
}
.progress-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 4px auto 0;
}
.route-photos {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 28px auto 0;
  max-width: 700px;
  padding-bottom: 4px;
}
.route-photo-card {
  flex: 0 0 140px;
}
.route-photo-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: block;
}
.route-photo-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 6px;
  text-align: center;
}
@media (max-width: 480px) {
  .progress-dot { width: 20px; height: 20px; border-width: 2px; }
  .progress-track::before,
  .progress-track .fill-line { top: 10px; }
  .progress-label { font-size: 0.66rem; }
}

.route-block .wrap { text-align: center; }
.route-embed {
  position: relative;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--parchment);
  margin: 0 auto;
}
.route-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 500px;
  border: 0;
  transform-origin: 0 0;
}
.route-attrib {
  color: #777;
  font-size: 11px;
  line-height: 16px;
  margin-top: 6px;
}
.route-attrib a { color: #4C8C2B; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--pine);
  color: var(--parchment);
  padding: 40px 0;
}
footer.site-footer .wrap {
  max-width: 1040px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}
footer.site-footer a { color: var(--parchment); }

/* ---------- Thanks page ---------- */
.thanks-block {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 640px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 60px; }
  .hero .lede { font-size: 1.02rem; }
  section.block { padding: 48px 0; }
  .wrap { padding: 0 18px; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { text-align: center; width: 100%; }

  .payment-card { padding: 22px 20px; }
  .payment-card .amount { font-size: 2rem; }

  .reg-form button[type="submit"] {
    width: 100%;
    padding: 15px 20px;
  }

  .role-card { padding: 20px 18px; }

  .slider-row { gap: 12px; }
  .slider-count { font-size: 1.5rem; }
  .btn-generate { width: 100%; text-align: center; }

  .participant-block { padding: 18px 16px 4px; }

  footer.site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.1rem; }
  .payment-card .account { font-size: 1rem; word-break: break-word; }
}

