@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/**
 * ==============================================================================
 * VICTORIA SOCCER - PORTAL OFICIAL DE AFILIACIÓN DE JUGADORES (LANDING)
 * Dirección de Arte: Industrial Clean & High-Performance (SaaS / Pro League)
 * Paleta: Carbón profundo (#070b14), Negro espacial (#020617), Glassmorphism oscuro
 * Acentos: Victoria Red (#ef4444), Emerald (#10b981), Cyan (#38bdf8)
 * ==============================================================================
 */

:root {
  --vs-bg-deep: #070b14;
  --vs-bg-space: #020617;
  --vs-card-bg: rgba(15, 23, 42, 0.85);
  --vs-card-border: rgba(255, 255, 255, 0.10);
  --vs-card-border-hover: rgba(255, 255, 255, 0.18);
  --vs-red: #ef4444;
  --vs-red-hover: #dc2626;
  --vs-red-glow: rgba(239, 68, 68, 0.35);
  --vs-cyan: #38bdf8;
  --vs-cyan-glow: rgba(56, 189, 248, 0.25);
  --vs-green: #10b981;
  --vs-green-glow: rgba(16, 185, 129, 0.30);
  --vs-text-light: #ffffff;
  --vs-text-muted: #cbd5e1;
  --vs-text-subtle: #94a3b8;
  --vs-control-h: 44px;
  --vs-radius: 10px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--vs-bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, var(--vs-red-glow) 0%, transparent 55%),
    radial-gradient(circle at 10% 25%, rgba(30, 41, 59, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 90% 75%, rgba(15, 23, 42, 0.5) 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--vs-text-light);
  font-family: 'Plus Jakarta Sans', 'Montserrat', -apple-system, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ==============================================================================
   Barra Superior de Navegación Glassmorphic
   ============================================================================== */
.vs-navbar-glass {
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--vs-card-border);
  position: relative;
  top: 0;
  z-index: 100;
  padding: 0.65rem 0;
  flex-shrink: 0;
}

.vs-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vs-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #ffffff;
}

.vs-brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.vs-brand-text {
  display: flex;
  flex-direction: column;
}

.vs-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 1.4px;
  line-height: 1;
  color: #ffffff;
}

.vs-brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--vs-cyan);
}

.vs-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.vs-nav-link {
  color: var(--vs-text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.vs-nav-link:hover {
  color: #ffffff;
}

/* Botones Oficiales de la Barra de Navegación Glassmorphic */
.vs-nav-btn,
.vs-btn-deportivo {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  color: #f8fafc;
  padding: 0.45rem 1rem;
  border-radius: var(--vs-radius);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.vs-nav-btn:hover,
.vs-btn-deportivo:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35) 0%, rgba(56, 189, 248, 0.2) 100%);
  border-color: var(--vs-cyan);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35), 0 0 14px rgba(56, 189, 248, 0.2);
}

.vs-btn-deportivo i,
.vs-nav-btn i {
  color: var(--vs-cyan);
  font-size: 0.88rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.vs-btn-deportivo:hover i,
.vs-nav-btn:hover i {
  color: #ffffff;
  transform: rotate(20deg) scale(1.15);
}

.vs-btn-admin-pill {
  background: rgba(30, 41, 59, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: var(--vs-radius);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.vs-btn-admin-pill:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.35) 0%, rgba(239, 68, 68, 0.2) 100%);
  border-color: var(--vs-red);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35), 0 0 14px rgba(239, 68, 68, 0.2);
}

.vs-btn-admin-pill i {
  color: var(--vs-red);
  font-size: 0.88rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.vs-btn-admin-pill:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

/* ==============================================================================
   Envoltorio y Sección Hero Profesional (Desktop / Tablet / Móvil)
   ============================================================================== */
.vs-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  box-sizing: border-box;
}

.vs-hero-section {
  text-align: center;
  margin-bottom: 1.25rem;
  position: relative;
  width: 100%;
}

.vs-badge-official {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.35rem 1.15rem;
  border-radius: 50px;
  box-shadow: 0 0 15px var(--vs-red-glow);
  margin-bottom: 0.85rem;
}

.vs-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vs-red);
  box-shadow: 0 0 8px var(--vs-red);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.vs-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.35rem, 3.4vw, 3.2rem);
  letter-spacing: 2px;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.vs-hero-title span {
  background: linear-gradient(135deg, #ffffff 0%, var(--vs-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vs-hero-desc {
  max-width: 720px;
  margin: 0 auto 1.35rem auto;
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.55;
  color: var(--vs-text-muted);
  font-weight: 400;
}

/* Botón Principal de Registro ("¡AFÍLIATE!") */
.vs-cta-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

@keyframes vsCtaGlowPulse {
  0%, 100% {
    box-shadow: 0 0 18px rgba(220, 38, 38, 0.6), 
                0 0 35px rgba(56, 189, 248, 0.4), 
                0 4px 16px rgba(0, 0, 0, 0.5);
    border-color: rgba(56, 189, 248, 0.7);
  }
  50% {
    box-shadow: 0 0 32px rgba(220, 38, 38, 0.9), 
                0 0 52px rgba(16, 185, 129, 0.65), 
                0 0 65px rgba(56, 189, 248, 0.6),
                0 6px 22px rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.95);
  }
}

@keyframes vsStarTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.3) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 6px #facc15); }
}

.vs-btn-primary-glow {
  height: auto;
  min-height: 52px;
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 35%, #0284c7 70%, #10b981 100%);
  background-size: 250% 250%;
  border: 2px solid rgba(56, 189, 248, 0.65);
  color: #ffffff;
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 2px;
  line-height: 1;
  border-radius: 12px;
  padding: 0.85rem 3.2rem;
  cursor: pointer;
  animation: vsCtaGlowPulse 2.8s infinite ease-in-out;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.6), 0 0 35px rgba(56, 189, 248, 0.4);
}

.vs-btn-primary-glow span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 2px;
  line-height: 1;
}

.vs-btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #ffffff;
  background-position: 100% 50%;
  box-shadow: 0 0 38px rgba(220, 38, 38, 0.95), 
              0 0 58px rgba(56, 189, 248, 0.75), 
              0 0 75px rgba(16, 185, 129, 0.65);
  color: #ffffff;
}

.vs-btn-primary-glow:active {
  transform: translateY(-1px) scale(0.99);
}

.vs-cta-star-mini {
  color: #facc15;
  font-size: 0.95rem;
  animation: vsStarTwinkle 2s infinite ease-in-out;
  filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.8));
}

.vs-btn-secondary-glass {
  height: var(--vs-control-h);
  min-height: var(--vs-control-h);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--vs-card-border);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--vs-radius);
  padding: 0 1.5rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.vs-btn-secondary-glass:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==============================================================================
   Tarjetas de Características y Proceso (Glassmorphism)
   ============================================================================== */
.vs-grid-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.vs-card-glass {
  background: var(--vs-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--vs-card-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.vs-card-glass:hover {
  transform: translateY(-3px);
  border-color: var(--vs-card-border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.vs-card-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--vs-red) 50%, transparent 100%);
  opacity: 0.7;
}

.vs-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--vs-red);
  margin-bottom: 1.25rem;
}

.vs-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.65rem 0;
}

.vs-card-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--vs-text-muted);
  margin: 0;
}

/* ==============================================================================
   Tarjetas de Proceso y Pasos de Afiliación (Alta Presencia Visual)
   ============================================================================== */
.vs-steps-card {
  background: var(--vs-card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--vs-card-border);
  border-radius: 18px;
  padding: 1.35rem 1.75rem;
  margin-bottom: 0;
  width: 100%;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vs-steps-header {
  text-align: center;
  margin-bottom: 0.9rem;
}

.vs-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.vs-section-desc {
  font-size: 0.86rem;
  color: var(--vs-text-muted);
  margin: 0;
}

.vs-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vs-step-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all 0.22s ease;
}

.vs-step-item:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.vs-step-number {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.2);
  border: 1.5px solid var(--vs-red);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
  flex-shrink: 0;
}

.vs-step-info {
  display: flex;
  flex-direction: column;
}

.vs-step-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  letter-spacing: 0.3px;
}

.vs-step-caption {
  font-size: 0.78rem;
  color: var(--vs-text-subtle);
  line-height: 1.38;
}

/* Banner de Aviso de CURP */
.vs-notice-banner {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.95rem;
}

.vs-notice-icon {
  font-size: 1.35rem;
  color: var(--vs-cyan);
  flex-shrink: 0;
}

.vs-notice-text {
  font-size: 0.82rem;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.45;
}

.vs-notice-link {
  color: var(--vs-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vs-notice-link:hover {
  color: #ffffff;
}

/* ==============================================================================
   Footer Institucional
   ============================================================================== */
.vs-footer-glass {
  background: rgba(2, 6, 23, 0.95);
  border-top: 1px solid var(--vs-card-border);
  padding: 0.75rem 1.5rem;
  text-align: center;
  margin-top: auto;
  flex-shrink: 0;
}

.vs-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.vs-footer-text {
  font-size: 0.76rem;
  color: var(--vs-text-subtle);
  margin: 0;
}

.vs-footer-links {
  display: flex;
  gap: 1.5rem;
}

.vs-footer-link {
  color: var(--vs-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vs-footer-link:hover {
  color: #ffffff;
}

/* ==============================================================================
   Modal Glassmorphic Oficial (#emailModal)
   Centrado milimétrico en PC/Móvil con margen de seguridad perimetral simétrico
   ============================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-overlay.show-modal {
  display: flex !important;
  opacity: 1;
}

.modal-content {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--vs-card-border);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  max-width: 460px;
  width: 100%;
  margin: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px var(--vs-red-glow);
  position: relative;
  text-align: left;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.modal-overlay.show-modal .modal-content {
  transform: scale(1);
}

.modal-close-button {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--vs-text-subtle);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.modal-close-button:hover {
  color: #ffffff;
}

.vs-modal-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--vs-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.vs-modal-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.vs-modal-subheading {
  font-size: 0.88rem;
  color: var(--vs-text-muted);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.vs-form-group {
  margin-bottom: 1.25rem;
}

.vs-input-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

/* Controles Homologados Milimétricamente (44px altura, 10px radio) */
.modal-input,
.vs-modal-input {
  width: 100%;
  height: var(--vs-control-h);
  min-height: var(--vs-control-h);
  max-height: var(--vs-control-h);
  background-color: rgba(15, 23, 42, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--vs-radius) !important;
  color: #ffffff !important;
  padding: 0 0.95rem;
  font-size: 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.modal-input:focus,
.vs-modal-input:focus {
  border-color: var(--vs-red) !important;
  box-shadow: 0 0 0 3px var(--vs-red-glow) !important;
  outline: none !important;
}

.modal-input::placeholder,
.vs-modal-input::placeholder {
  color: var(--vs-text-subtle) !important;
  opacity: 0.9;
}

.modal-button,
.vs-modal-btn-submit {
  width: 100%;
  height: var(--vs-control-h);
  min-height: var(--vs-control-h);
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--vs-radius) !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 4px 16px var(--vs-red-glow);
  transition: all 0.2s ease;
}

.modal-button:hover,
.vs-modal-btn-submit:hover {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%) !important;
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.55);
}

/* ==============================================================================
   Reglas de Adaptabilidad y Despliegue Desktop / Tablet / Móvil
   ============================================================================== */

/* Pantallas de Escritorio / Laptops Estándar (Alto >= 680px y Ancho >= 992px): One-Page sin scroll */
@media (min-height: 680px) and (min-width: 992px) {
  html, body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  .vs-main-container {
    height: calc(100vh - 125px);
    overflow: hidden;
  }
}

/* Pantallas Compactas, Tablets o Altura Limitada: Desplazamiento Natural Seguro */
@media (max-height: 679px), (max-width: 991px) {
  html, body {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
  }
  .vs-navbar-glass {
    position: sticky;
    top: 0;
  }
  .vs-main-container {
    height: auto !important;
    padding: 1.75rem 1.25rem 2.5rem 1.25rem !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
  }
  .vs-hero-section {
    margin-bottom: 0 !important;
  }
  .vs-steps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .vs-steps-card {
    padding: 1.5rem !important;
  }
  .vs-footer-glass {
    padding: 1.25rem 1rem !important;
  }
}

/* Dispositivos Móviles (Smartphones) */
@media (max-width: 640px) {
  .vs-hero-title {
    font-size: 2.15rem !important;
  }
  .vs-hero-desc {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .vs-btn-primary-glow {
    width: 100%;
    padding: 0.85rem 1.5rem !important;
    font-size: 1.35rem !important;
  }
  .vs-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .vs-notice-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .vs-nav-actions {
    gap: 0.5rem;
  }
  .vs-nav-btn,
  .vs-btn-deportivo,
  .vs-btn-admin-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.76rem;
  }
  .modal-content {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }
}

@media (max-width: 440px) {
  .vs-btn-deportivo .vs-btn-text,
  .vs-btn-admin-pill .vs-btn-text {
    display: none;
  }
  .vs-btn-deportivo,
  .vs-btn-admin-pill {
    padding: 0.45rem 0.7rem;
  }
}
