html {
  scroll-padding-top: 140px;
  color-scheme: light !important;
}

:root {
  color-scheme: light !important;
  --bg-color: #fcf3ea;
  --card-bg: #ffffff;
  --border-color: rgba(58, 55, 44, 0.12);
  --primary-color: #0176c3;
  /* Blue */
  --primary-glow: rgba(1, 118, 195, 0.15);
  --accent-green: #30ac66;
  /* Green */
  --accent-gold: #fcab02;
  /* Gold */
  --text-color: #3a372c;
  /* Dark charcoal */
  --text-secondary: #65614d;
  --font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 25px rgba(58, 55, 44, 0.08);
  --shadow-button: 0 8px 16px rgba(1, 118, 195, 0.25);
  --shadow-button-hover: 0 12px 24px rgba(1, 118, 195, 0.35);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: rgba(58, 55, 44, 0.2);
  border-radius: 5px;
  border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(58, 55, 44, 0.4);
}

/* Smooth Focus Indicators globally */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

body {
  color-scheme: light !important;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  font-family: var(--font-family);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Decorative Brand Shapes */
.brand-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.7;
  filter: drop-shadow(0 8px 16px rgba(58, 55, 44, 0.06));
  animation: float 12s ease-in-out infinite alternate;
  will-change: transform;
}

.shape-sparkle {
  width: 70px;
  height: 70px;
  top: 10%;
  left: 8%;
  animation-delay: 0s;
}

.shape-bolt {
  width: 60px;
  height: 60px;
  top: 15%;
  right: 10%;
  animation-delay: 2s;
}

.shape-crescent {
  width: 90px;
  height: 90px;
  bottom: 12%;
  left: 5%;
  animation-delay: 1s;
}

.shape-burst {
  width: 75px;
  height: 75px;
  bottom: 10%;
  right: 8%;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(8px, -12px, 0) rotate(4deg);
  }

  100% {
    transform: translate3d(-8px, -24px, 0) rotate(8deg);
  }
}

/* Main Container */
.container {
  width: 100%;
  max-width: 580px;
  /* Incrementado para acomodar 2 columnas cómodamente */
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  text-align: center;
}

.logo-wrapper {
  margin-bottom: 16px;
}

.brand-logo {
  height: 220px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(58, 55, 44, 0.12));
  animation: logoPulse 6s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.brand-logo:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: drop-shadow(0 15px 25px rgba(1, 118, 195, 0.15));
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 4px 10px rgba(58, 55, 44, 0.12));
  }

  50% {
    transform: scale(1.025) translateY(-5px);
    filter: drop-shadow(0 15px 25px rgba(58, 55, 44, 0.18));
  }
}

.badge {
  display: inline-block;
  background: rgba(48, 172, 102, 0.06);
  color: var(--accent-green);
  border: 1px solid rgba(48, 172, 102, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.header h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 400;
}

/* Card Container */
.glass-card {
  background: var(--card-bg);
  border: 1px solid rgba(58, 55, 44, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 30px -10px rgba(58, 55, 44, 0.06),
    0 1px 3px rgba(58, 55, 44, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  position: relative;
}

.glass-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 20px 40px -15px rgba(58, 55, 44, 0.12),
    0 2px 8px rgba(58, 55, 44, 0.04);
  transform: translateY(-3px);
  border-color: rgba(1, 118, 195, 0.2);
}

.card-header {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(58, 55, 44, 0.06);
  padding-bottom: 16px;
}

.card-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-header p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Stepper Progress Indicator */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 0 10px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.step.active .step-circle {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(1, 118, 195, 0.2);
  animation: stepPulse 2s infinite;
}

@keyframes stepPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(1, 118, 195, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(1, 118, 195, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(1, 118, 195, 0);
  }
}

.step.completed .step-circle {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.step.active .step-label {
  color: var(--text-color);
  transform: scale(1.05);
  font-weight: 700;
}

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

.step-line {
  flex-grow: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 10px;
  position: relative;
  top: -12px;
  overflow: hidden;
}

.step-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--accent-green);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-line.active::after {
  width: 100%;
}

/* Form Steps */
@keyframes shakeHighlight {
  0%, 100% { transform: translateX(0); border-color: #ff4757; }
  20%, 60% { transform: translateX(-6px); border-color: #ff4757; }
  40%, 80% { transform: translateX(6px); border-color: #ff4757; }
}

.highlight-error {
  animation: shakeHighlight 0.5s ease-in-out;
  border-color: #ff4757 !important;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.25) !important;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Step Actions */
.step-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.step-actions.split {
  justify-content: space-between;
}

.btn-back {
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 24px;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-back:hover {
  background: rgba(58, 55, 44, 0.05);
  color: var(--text-color);
}

.btn-back:active {
  transform: scale(0.96);
}


/* Form Grid Layout (UX/UI refinement) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.form-group.span-2 {
  grid-column: span 2;
}

label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Input Fields with Icons inside (UX Improvement) */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px 14px 46px;
  /* Padding izquierdo extra para acomodar icono */
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.input-wrapper input:hover,
.input-wrapper select:hover {
  border-color: rgba(58, 55, 44, 0.25);
}

.input-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2365614d%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
  /* Espacio extra a la derecha para la flecha */
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-glow), 0 2px 8px rgba(1, 118, 195, 0.08);
  background-color: #fff;
}

.input-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  will-change: transform;
}

.input-wrapper:focus-within .input-icon {
  color: var(--primary-color);
  transform: scale(1.15) rotate(3deg);
}

/* Suggested Package Chips (Sencillez de Compra) */
.ticket-selection-area {
  border-top: 1px solid rgba(58, 55, 44, 0.06);
  border-bottom: 1px solid rgba(58, 55, 44, 0.06);
  padding: 24px 0;
  margin: 24px 0;
}

.package-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.chip {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--primary-color);
  transform: translateY(-1.5px);
}

.chip.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(1, 118, 195, 0.25);
}

.chip-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.chip-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.chip.active .chip-price {
  color: rgba(255, 255, 255, 0.85);
}

.chip-badge {
  position: absolute;
  top: -10px;
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(252, 171, 2, 0.3);
}

.custom-qty-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.custom-qty-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Ticket Quantity Selector Stepper */
.ticket-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 4px;
}

.btn-qty {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: rgba(58, 55, 44, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}

.btn-qty:hover {
  background: var(--primary-color);
  color: #fff;
}

.btn-qty:active {
  transform: scale(0.95);
}

#ticket_count {
  width: 44px;
  border: none;
  background: transparent;
  color: var(--text-color);
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  outline: none;
}

.price-hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 8px;
  display: block;
}

#unit-price {
  color: var(--primary-color);
  font-weight: 700;
}

/* Checkboxes Group */
.checkboxes-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(58, 55, 44, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  user-select: none;
  line-height: 1.4;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 18px;
  width: 18px;
  background-color: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
  margin-top: 2px;
}

.checkbox-container:hover input~.checkmark {
  border-color: var(--primary-color);
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 3px 8px rgba(1, 118, 195, 0.25);
}

.checkmark:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.checkbox-container input:checked~.checkmark:after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

.legal-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 700;
  transition: opacity 0.2s;
}

.legal-link:hover {
  opacity: 0.8;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0162a3 100%);
  border: none;
  border-radius: 12px;
  padding: 18px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-button);
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  transition: all 0.75s ease;
  pointer-events: none;
}

.btn-submit:hover:not(:disabled)::after {
  left: 140%;
  transition: all 0.75s ease;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover), 0 4px 12px rgba(1, 118, 195, 0.15);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-button);
}

.btn-submit:disabled {
  background: #a9a9a9;
  color: #f1f1f1;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Loading Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

.hidden {
  display: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error Box */
.error-box {
  background: rgba(255, 0, 127, 0.06);
  border: 1px solid rgba(255, 0, 127, 0.25);
  color: #ff007f;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  margin-top: 16px;
  line-height: 1.4;
  text-align: left;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s;
}

.admin-link:hover {
  opacity: 0.8;
}

/* Overlay Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(58, 55, 44, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
  background-color: #ffffff;
  border: 1px solid rgba(58, 55, 44, 0.08);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 30px 60px -15px rgba(58, 55, 44, 0.2),
    0 0 0 1px rgba(58, 55, 44, 0.02);
  animation: modal-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-content.modal-lg {
  max-width: 760px;
}

.legal-document {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-color);
}

.legal-document p {
  margin-bottom: 12px;
}

.legal-document ul {
  margin-bottom: 12px;
}

@keyframes modal-enter {
  from {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(58, 55, 44, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.close-modal {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.close-modal:hover {
  color: #ff007f;
  transform: scale(1.1);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(58, 55, 44, 0.15);
  border-radius: 4px;
}

.modal-body h4 {
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 2px;
}

.modal-body ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(58, 55, 44, 0.08);
  display: flex;
  justify-content: flex-end;
}

.btn-modal-close {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-modal-close:hover {
  background: #0162a3;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(1, 118, 195, 0.2);
}

.btn-modal-close:active {
  transform: scale(0.97);
}

/* Step 3 Option Cards (Moved from inline styles) */
.payment-option-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  background-color: #fff;
  position: relative;
}

.payment-option-card:hover {
  border-color: rgba(1, 118, 195, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(58, 55, 44, 0.04);
}

.payment-option-card.active {
  border-color: var(--primary-color);
  background-color: rgba(1, 118, 195, 0.03);
  box-shadow: 0 8px 24px rgba(1, 118, 195, 0.08), inset 0 0 0 1px rgba(1, 118, 195, 0.1);
  transform: translateY(-2px) scale(1.01);
}

.payment-option-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.payment-option-card:active {
  transform: translateY(0) scale(0.99);
}



/* Responsive adjustments */
button, input, select, .payment-option-card, .btn-submit, .btn-back, .btn-next {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 580px) {
  .brand-logo {
    height: 140px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-group.span-2 {
    grid-column: span 1;
  }

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

  .header h1 {
    font-size: 1.6rem;
  }

  .shape {
    opacity: 0.04;
  }

  .stepper {
    padding: 0 4px;
    margin-bottom: 20px;
  }

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

  .step-label {
    font-size: 0.65rem;
    letter-spacing: 0;
  }

  .step-line {
    margin: 0 4px;
    top: -10px;
  }

  .step-actions.split {
    gap: 10px;
  }

  .btn-back {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .btn-next, .btn-submit {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* ==========================================================================
   Navbar Styles
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(252, 243, 234, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(58, 55, 44, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.navbar-logo img {
  height: 100px;
  display: block;
  transition: transform 0.3s ease;
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-link:hover {
  color: var(--primary-color);
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-link-tickets {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar-link-tickets:hover {
  color: var(--primary-color);
}

.navbar-cta {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(1, 118, 195, 0.2);
  transition: all 0.3s ease;
}

.navbar-cta:hover {
  background: #015f9d;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(1, 118, 195, 0.3);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar-cta-mobile,
.navbar-tickets-mobile {
  display: none;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(252, 243, 234, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 40px;
    box-sizing: border-box;
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-link {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
  }

  .navbar-link::after {
    display: none;
  }

  .navbar-cta-mobile {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(1, 118, 195, 0.2);
    box-sizing: border-box;
  }

  .navbar-actions .navbar-cta {
    display: none;
  }

  .navbar-actions .navbar-link-tickets {
    display: inline-flex;
    padding: 8px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    background: transparent;
    transition: all 0.3s ease;
  }

  .navbar-actions .navbar-link-tickets:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }

  .navbar-tickets-mobile {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    text-decoration: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }

  .navbar-tickets-mobile:hover {
    background: rgba(1, 118, 195, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
  }

  .navbar-toggle {
    display: block;
  }

  /* Hamburger animation */
  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   Botón Flotante de Ayuda WhatsApp (Scroll >= 50%)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  padding: 10px 18px 10px 12px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp-btn.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.8);
  pointer-events: none;
}

.floating-whatsapp-btn:hover {
  background: #20ba5a;
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 16px;
    padding: 10px 14px 10px 10px;
    font-size: 0.85rem;
  }
}