/* ==========================================================================
   PORTAL DE INSCRIPCIONES - TOUR DEL CAFÉ
   Diseño de Alta Gama Visual, Responsive & Experiencia Inmersiva
   ========================================================================== */

:root {
  --bg-main: #0c0b0a;
  --bg-card: #151312;
  --bg-card-hover: #1c1917;
  --bg-input: #1a1816;
  --color-accent: #d35400;
  --color-accent-light: #e67e22;
  --color-gold: #f39c12;
  --color-olive: #3d4a3e;
  --color-success: #2ecc71;
  --color-error: #e74c3c;
  --color-info: #3498db;
  --text-main: #fafafa;
  --text-muted: rgba(250, 250, 250, 0.65);
  --text-subtle: rgba(250, 250, 250, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(211, 84, 0, 0.35);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Courier Prime', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

body.inscripciones-body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(211, 84, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(61, 74, 62, 0.12) 0%, transparent 40%);
  background-attachment: fixed;
}

/* ==========================================================================
   HEADER PORTAL
   ========================================================================== */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px;
}

.portal-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-badge-group img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.portal-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  background: rgba(211, 84, 0, 0.15);
  color: var(--color-accent-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.nav-back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.nav-back-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   HERO / BANNER TARIFAS DINÁMICAS
   ========================================================================== */
.portal-hero {
  max-width: 1200px;
  margin: 30px auto 20px;
  padding: 0 20px;
}

.portal-title-block {
  text-align: center;
  margin-bottom: 30px;
}

.portal-eyebrow {
  font-family: var(--font-heading);
  color: var(--color-accent-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  display: block;
}

.portal-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 40%, #d8cfcb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.portal-subtitle {
  color: var(--text-muted);
  font-size: clamp(14px, 1.8vw, 17px);
  max-width: 720px;
  margin: 0 auto;
}

/* Banner de Etapa Tarifaria */
.stage-pricing-banner {
  background: linear-gradient(135deg, rgba(28, 25, 23, 0.95) 0%, rgba(21, 19, 18, 0.98) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(211, 84, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.stage-pricing-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-gold));
}

.stage-info-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stage-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(211, 84, 0, 0.18);
  border: 1px solid rgba(211, 84, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.stage-badge-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-success);
  background: rgba(46, 204, 113, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.stage-badge-current::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.stage-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.stage-dates {
  font-size: 13px;
  color: var(--text-muted);
}

.stage-price-col {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stage-price-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

.stage-price-val {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: -0.5px;
}

.stage-price-currency {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   STEP PROGRESS BAR
   ========================================================================== */
.progress-stepper-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.stepper-line {
  position: absolute;
  top: 18px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.stepper-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transition: width 0.4s ease;
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: default;
  color: var(--text-subtle);
  transition: all 0.3s ease;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.step-node.active .step-circle {
  background: var(--color-accent);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 16px rgba(211, 84, 0, 0.6);
  transform: scale(1.1);
}

.step-node.active .step-label {
  color: #fff;
  font-weight: 700;
}

.step-node.completed .step-circle {
  background: rgba(46, 204, 113, 0.2);
  border-color: var(--color-success);
  color: var(--color-success);
}

.step-node.completed .step-label {
  color: var(--text-muted);
}

/* ==========================================================================
   PASO 0: SELECCIÓN DE EVENTOS
   ========================================================================== */
.view-step {
  display: none;
  animation: fadeInStep 0.35s ease;
}

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

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.events-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.event-card.enabled:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(211, 84, 0, 0.2);
}

.event-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #1a1816;
}

.event-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card.enabled:hover .event-card-img {
  transform: scale(1.05);
}

.event-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.badge-open {
  background: rgba(46, 204, 113, 0.9);
  color: #0c0b0a;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.badge-soon {
  background: rgba(28, 25, 23, 0.85);
  color: #f39c12;
  border: 1px solid rgba(243, 156, 18, 0.4);
}

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

.event-card-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent-light);
  font-weight: 700;
  margin-bottom: 6px;
}

.event-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.event-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-subtle);
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-card.disabled {
  opacity: 0.65;
  filter: grayscale(40%);
}

.event-card.disabled .btn-event-action {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-subtle);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

/* ==========================================================================
   PASO 1: SELECCIÓN DEL RECORRIDO (GRAN FONDO)
   ========================================================================== */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.route-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.route-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(211, 84, 0, 0.5);
  transform: translateY(-4px);
}

.route-card.selected {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(35, 30, 28, 0.95) 0%, rgba(21, 19, 18, 0.98) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(211, 84, 0, 0.25);
}

.route-badge-distance {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 14px;
  background: rgba(211, 84, 0, 0.15);
  color: var(--color-accent-light);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
}

.route-icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.route-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(211, 84, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-accent-light);
}

.route-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.route-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.route-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-item {
  text-align: center;
}

.metric-label {
  font-size: 11px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.route-highlights-list {
  list-style: none;
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--text-muted);
}

.route-highlights-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-highlights-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: bold;
}

/* ==========================================================================
   PASO 2: SELECCIÓN DE CATEGORÍA
   ========================================================================== */
.category-filter-nav {
  display: flex;
  gap: 10px;
  margin: 25px 0;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  overflow-x: auto;
}

.cat-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.cat-tab-btn.active {
  color: #fff;
  background: rgba(211, 84, 0, 0.15);
  border-color: var(--color-accent);
}

.categories-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.category-select-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-select-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(211, 84, 0, 0.4);
  transform: translateY(-2px);
}

.category-select-card.selected {
  border-color: var(--color-accent);
  background: rgba(211, 84, 0, 0.08);
  box-shadow: 0 4px 18px rgba(211, 84, 0, 0.25);
}

.cat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.cat-card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.cat-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.category-select-card.selected .cat-radio-indicator {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.cat-card-rule {
  font-size: 13px;
  color: var(--color-accent-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.cat-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   PASO 3: FORMULARIOS DINÁMICOS DE PARTICIPANTES
   ========================================================================== */
.form-step-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}

@media (max-width: 992px) {
  .form-step-layout {
    grid-template-columns: 1fr;
  }
}

.participants-list-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.participant-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  transition: border-color 0.2s ease;
}

.participant-form-card:focus-within {
  border-color: rgba(211, 84, 0, 0.5);
}

.participant-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.participant-num-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* Badges de Validación Matemática en Tiempo Real */
.age-calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.age-badge-valid {
  background: rgba(46, 204, 113, 0.15);
  color: var(--color-success);
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.age-badge-warning {
  background: rgba(231, 76, 60, 0.15);
  color: var(--color-error);
  border: 1px solid rgba(231, 76, 60, 0.35);
}

.age-badge-neutral {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.form-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-label span.req {
  color: var(--color-accent);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.2);
  background: #201d1b;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23fafafa' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select.form-control option {
  background-color: #1a1816;
  color: #fff;
}

.form-control:disabled,
select.form-control:disabled {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f3eee9;
  cursor: not-allowed;
  opacity: 0.95;
  box-shadow: none;
}

/* Indicador visual de género bloqueado */
.gender-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #e67e22;
  background: rgba(230, 126, 34, 0.15);
  border: 1px solid rgba(230, 126, 34, 0.35);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Tarjeta de Identificación de Nombre del Equipo / Pareja */
.team-identity-card {
  background: linear-gradient(135deg, rgba(38, 25, 20, 0.92) 0%, rgba(22, 18, 16, 0.96) 100%);
  border: 1px solid rgba(211, 84, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  animation: fadeInDown 0.3s ease;
}

.team-identity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-light));
}

.team-identity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}

.team-identity-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.team-identity-badge svg {
  color: var(--color-accent-light);
}

.team-type-chip {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(211, 84, 0, 0.2);
  color: var(--color-accent-light);
  border: 1px solid rgba(211, 84, 0, 0.45);
}

.team-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.team-input-wrapper .form-control {
  padding-right: 44px;
  font-size: 15px;
  font-weight: 600;
  border-color: rgba(211, 84, 0, 0.35);
  background: rgba(18, 16, 15, 0.85);
}

.team-input-wrapper .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.25);
  background: #1e1b19;
}

.team-input-icon {
  position: absolute;
  right: 14px;
  font-size: 18px;
  pointer-events: none;
  opacity: 0.85;
}

.field-hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.form-section-divider {
  margin: 22px 0 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terms-checkbox-group {
  margin-top: 18px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.terms-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.terms-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.terms-text a {
  color: var(--color-accent-light);
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
   RESUMEN FLOTANTE / LATERAL DE PAGO
   ========================================================================== */
.order-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: sticky;
  top: 90px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.summary-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}

.summary-label {
  color: var(--text-muted);
}

.summary-val {
  font-weight: 600;
  color: #fff;
  text-align: right;
}

.summary-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 16px 0;
}

.summary-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(211, 84, 0, 0.25);
}

.summary-total-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-total-val {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--color-gold);
  white-space: nowrap;
  letter-spacing: -0.3px;
  text-align: right;
}

.category-math-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.math-status-valid {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.math-status-error {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* ==========================================================================
   BOTONES DE ACCIÓN
   ========================================================================== */
.step-navigation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.btn-portal-primary {
  background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(211, 84, 0, 0.35);
  text-decoration: none;
}

.btn-portal-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(211, 84, 0, 0.5);
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.btn-portal-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-portal-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-portal-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-epayco-checkout {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  justify-content: center;
}

.epayco-security-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-subtle);
}

/* Toast Notificaciones */
.portal-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1c1817;
  color: #fff;
  border-left: 4px solid var(--color-accent);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 9999;
  font-size: 14px;
  max-width: 420px;
  animation: slideToast 0.3s ease;
  display: none;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================
   MÓDULO DE CUPONES Y DESCUENTOS
   ========================================== */
.coupon-box {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  box-sizing: border-box;
}

.coupon-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.coupon-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.coupon-input {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  background: #141312;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: #fff;
  font-family: 'Courier Prime', monospace, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  outline: none;
  transition: all 0.2s ease;
}

.coupon-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(211, 84, 0, 0.2);
}

.btn-apply-coupon {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-apply-coupon:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.coupon-feedback {
  margin-top: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  line-height: 1.4;
}

.coupon-feedback.success {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #2ecc71;
}

.coupon-feedback.error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.35);
  color: #ff7675;
}

.btn-courtesy-checkout {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  justify-content: center;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.35) !important;
  border: none !important;
  animation: pulseCourtesy 2s infinite ease-in-out;
}

.btn-courtesy-checkout:hover {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5) !important;
}

@keyframes pulseCourtesy {
  0%, 100% { box-shadow: 0 6px 20px rgba(46, 204, 113, 0.35); }
  50% { box-shadow: 0 6px 30px rgba(46, 204, 113, 0.6); }
}

.admin-discreet-link:hover {
  color: var(--color-accent) !important;
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE & MOBILE-FIRST (< 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* Contenedores y márgenes globales */
  .portal-header {
    padding: 12px 16px;
  }

  .portal-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .brand-badge-group {
    justify-content: space-between;
    width: 100%;
  }

  .brand-badge-group img {
    height: 36px;
  }

  .portal-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .nav-back-link {
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    min-height: 44px;
  }

  .portal-hero {
    margin: 20px auto 16px;
    padding: 0 16px;
  }

  .portal-main-heading {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .portal-subtitle {
    font-size: 14px;
  }

  /* Banner de Etapa Tarifaria */
  .stage-pricing-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
    gap: 16px;
  }

  .stage-info-col {
    gap: 12px;
    width: 100%;
  }

  .stage-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .stage-name {
    font-size: 18px;
  }

  .stage-price-col {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
  }

  .stage-price-label {
    text-align: left;
    font-size: 12px;
  }

  .stage-price-val {
    font-size: 24px;
  }

  /* Stepper Progress Bar */
  .progress-stepper-container {
    padding: 0 12px;
    margin: 20px auto;
  }

  .stepper-line {
    left: 20px;
    right: 20px;
    top: 15px;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .step-label {
    font-size: 10px;
    letter-spacing: 0;
  }

  /* Contenedores de Pasos y Grids a 1 Columna Fluida */
  .step-container {
    padding: 0 16px;
    margin-bottom: 40px;
  }

  .events-selection-grid,
  .routes-grid,
  .categories-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .event-card-body {
    padding: 20px 16px;
  }

  .route-card {
    padding: 20px 16px;
  }

  .route-badge-distance {
    top: 16px;
    right: 16px;
    font-size: 13px;
    padding: 4px 10px;
  }

  .route-name {
    font-size: 22px;
  }

  .route-metrics-grid {
    padding: 12px 8px;
    gap: 6px;
  }

  .metric-value {
    font-size: 15px;
  }

  /* Selector de Categorías */
  .category-filter-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    gap: 8px;
  }

  .cat-tab-btn {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 44px;
  }

  .category-select-card {
    padding: 18px 16px;
  }

  /* Paso 3: Formulario y Resumen */
  .form-step-layout {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .participant-form-card {
    padding: 20px 14px !important;
    border-radius: var(--radius-md);
  }

  .participant-card-header {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }

  .team-identity-card {
    padding: 18px 16px;
  }

  .form-grid-row {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* Prevención de Auto-Zoom en iOS: font-size >= 16px */
  .form-control,
  select.form-control,
  .coupon-input {
    font-size: 16px !important;
    min-height: 48px !important;
    padding: 12px 14px;
    border-radius: 8px;
  }

  /* Optimización Táctil en Botones Móviles */
  .btn-portal-primary,
  .btn-portal-secondary,
  .btn-checkout,
  .btn-courtesy-checkout {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 20px !important;
  }

  .step-navigation-bar {
    flex-direction: column-reverse;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  /* Cupones en Móvil */
  .coupon-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn-apply-coupon {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }

  /* Resumen de Pago Flotante/Final */
  .order-summary-card {
    position: static !important;
    width: 100% !important;
    padding: 20px 16px;
  }
}

/* ==========================================================================
   ESTILOS GENESIS COFFEE RIDE (STANDARD & EXPERIENCIA VIP)
   ========================================================================== */
.genesis-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.genesis-option-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.genesis-option-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(211, 84, 0, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.genesis-option-card.selected {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(32, 27, 24, 0.95) 0%, rgba(20, 18, 17, 0.98) 100%);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(211, 84, 0, 0.25);
}

/* Experiencia VIP Highlight */
.genesis-option-card.vip-highlight {
  border-color: rgba(243, 156, 18, 0.35);
  background: linear-gradient(145deg, rgba(30, 24, 18, 0.95) 0%, rgba(20, 18, 17, 0.98) 100%);
}

.genesis-option-card.vip-highlight:hover {
  border-color: rgba(243, 156, 18, 0.7);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(243, 156, 18, 0.2);
}

.genesis-option-card.vip-highlight.selected {
  border-color: #f39c12;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(243, 156, 18, 0.3);
  background: linear-gradient(145deg, rgba(40, 31, 22, 0.95) 0%, rgba(22, 19, 17, 0.98) 100%);
}

.vip-glow-pill {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, #d35400, #f39c12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(243, 156, 18, 0.4);
}

.genesis-option-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.genesis-option-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--color-accent-light);
  background: rgba(211, 84, 0, 0.12);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.genesis-option-badge.vip-badge {
  color: #f1c40f;
  background: rgba(241, 196, 15, 0.15);
  border-color: rgba(241, 196, 15, 0.35);
}

.genesis-option-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.genesis-option-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.genesis-option-card.selected .genesis-option-radio {
  border-color: var(--color-accent-light);
  background: var(--color-accent);
}

.genesis-option-card.vip-highlight.selected .genesis-option-radio {
  border-color: #f39c12;
  background: #f39c12;
}

.genesis-option-card.selected .genesis-option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.genesis-option-lead {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.genesis-option-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.genesis-price-label {
  font-size: 13px;
  color: var(--text-muted);
}

.genesis-price-val {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-gold);
}

.genesis-inclusions-block {
  flex: 1;
  margin-bottom: 18px;
}

.genesis-inclusions-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: 10px;
}

.genesis-inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.genesis-inclusions-list > li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.genesis-inclusions-list > li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-light);
  font-weight: 800;
  font-size: 13px;
}

.genesis-option-card.vip-highlight .genesis-inclusions-list > li::before {
  color: #f39c12;
}

.genesis-subinclusions-list {
  list-style: none;
  padding-left: 12px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  color: rgba(250, 250, 250, 0.7);
}

.genesis-subinclusions-list > li {
  position: relative;
  padding-left: 14px;
}

.genesis-subinclusions-list > li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #f39c12;
  font-size: 14px;
}

.genesis-jersey-note {
  font-size: 12.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.genesis-jersey-note.vip-note {
  background: rgba(243, 156, 18, 0.08);
  border-color: rgba(243, 156, 18, 0.3);
  color: #fad390;
}

/* ==========================================================================
   COMPONENTE: SELECTOR DE JERSEY OFICIAL EN EL FORMULARIO
   ========================================================================== */
.jersey-addon-card {
  background: rgba(26, 24, 22, 0.85);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.jersey-addon-card.active {
  border-color: var(--color-accent-light);
  background: rgba(35, 30, 26, 0.95);
  box-shadow: 0 4px 20px rgba(211, 84, 0, 0.15);
}

.jersey-addon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.jersey-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

/* Switch Toggle Slider */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.18);
  transition: .3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.switch-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.switch-toggle input:checked + .switch-slider {
  background-color: var(--color-accent);
  border-color: var(--color-accent-light);
}

.switch-toggle input:checked + .switch-slider::before {
  transform: translateX(24px);
}

.jersey-toggle-text {
  display: flex;
  flex-direction: column;
}

.jersey-toggle-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.jersey-toggle-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

.jersey-addon-price-chip {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-gold);
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid rgba(243, 156, 18, 0.35);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.jersey-size-picker-container {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  animation: fadeInStep 0.3s ease;
}

/* Card VIP Jersey Incluido */
.jersey-vip-included-card {
  background: linear-gradient(135deg, rgba(38, 30, 22, 0.8) 0%, rgba(24, 20, 18, 0.9) 100%);
  border: 1.5px solid rgba(243, 156, 18, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.jersey-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #f39c12;
  background: rgba(243, 156, 18, 0.15);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.jersey-vip-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Estados de error y validación interactiva */
.form-control.field-error,
select.form-control.field-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.4) !important;
  animation: shakeInput 0.35s ease;
}

.terms-checkbox-group.field-error {
  padding: 10px;
  background: rgba(231, 76, 60, 0.08);
  border: 1px dashed rgba(231, 76, 60, 0.5);
  border-radius: var(--radius-sm);
  animation: shakeInput 0.35s ease;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}


