* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1a1a1a;
  color: #ffffff;
  overflow-x: hidden;
}

/* =========================================
   BARRA DE NAVEGACION
   ========================================= */

.navbar {
  display: flex;
  align-items: center;
  background-color: #333;
  padding: 1rem 2rem;
  position: relative;
  z-index: 100;
}

/* LOGO */

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  width: 60px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* LINKS */

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: 30px;
}

.nav-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* SUBRAYADO */

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background-color: #9b9b9b;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #9b9b9b;
}

.nav-links a:hover::after {
  width: 100%;
}

/* SECCION ACTIVA */

.nav-links a.active {
  color: #9b9b9b;
}

.nav-links a.active::after {
  width: 100%;
}

/* DROPDOWN NAVBAR */

.dropdown {
  position: relative;
}

.dropdown:hover > a {
  color: #9b9b9b;
}

.dropdown:hover > a::after {
  width: 100%;
}

/* MENU DESPLEGABLE CON ANIMACION PREMIUM Y PUENTE DE HOVER */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  background: rgba(38, 38, 38, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 100;
}

/* PUENTE INVISIBLE QUE EVITA QUE SE CIERRE AL MOVER EL CURSOR */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 28px;
  background: transparent;
  pointer-events: auto;
}

/* CONTENIDO DROPDOWN */

.dropdown-content {
  display: flex;
  gap: 40px;
  padding: 10px 28px;
}

/* COLUMNAS */

.col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.col h4 {
  font-size: 12px;
  color: #9b9b9b;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s, background-color 0.2s;
}

/* SUBRAYADO DROPDOWN */

.col a::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #9b9b9b;
  transition: 0.3s;
}

.col a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.col a:hover::after {
  width: calc(100% - 12px);
}

/* MOSTRAR DROPDOWN NAVBAR Y ACTIVAR APARICION DE OPCIONES */

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown:hover .col h4,
.dropdown:focus-within .col h4 {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMACION ESCALONADA DE CADA OPCION DE LA SECCION */
.dropdown:hover .col a,
.dropdown:focus-within .col a {
  opacity: 1;
  transform: translateX(0);
}

.dropdown:hover .col a:nth-child(1),
.dropdown:focus-within .col a:nth-child(1) { transition-delay: 0.04s; }
.dropdown:hover .col a:nth-child(2),
.dropdown:focus-within .col a:nth-child(2) { transition-delay: 0.09s; }
.dropdown:hover .col a:nth-child(3),
.dropdown:focus-within .col a:nth-child(3) { transition-delay: 0.14s; }
.dropdown:hover .col a:nth-child(4),
.dropdown:focus-within .col a:nth-child(4) { transition-delay: 0.19s; }
.dropdown:hover .col a:nth-child(5),
.dropdown:focus-within .col a:nth-child(5) { transition-delay: 0.24s; }


/* =========================================
   SELECTOR DE IDIOMAS Y USUARIO (DERECHA DE NAVBAR)
   ========================================= */

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* CONTENEDOR BOTON DE USUARIO / REGISTRO */
.user-nav-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.user-nav-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

.user-nav-btn.logged-in {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.user-nav-btn.logged-in:hover {
  background: rgba(34, 197, 94, 0.25);
  border-color: #4ade80;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
}

.user-nav-btn .user-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.user-nav-btn:hover .user-icon {
  transform: scale(1.1);
}

/* DROPDOWN DE USUARIO (CUANDO ESTÁ LOGUEADO) */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 230px;
  background: rgba(30, 30, 30, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
  pointer-events: none;
}

/* Puente hover */
.user-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
}

.user-nav-container.is-logged-in:hover .user-dropdown-menu,
.user-nav-container.is-logged-in:focus-within .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 10px 8px;
}

.user-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.user-info-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-info-text strong {
  font-size: 13px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-info-text small {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.user-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.user-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.user-dropdown-item.logout-item {
  color: #fca5a5;
}

.user-dropdown-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* =========================================
   SELECTOR DE IDIOMAS
   ========================================= */

.lang-nav {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  cursor: pointer;
}

.lang-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #9b9b9b;
  color: #9b9b9b;
}

.lang-dropdown-menu {
  right: 0 !important;
  left: auto !important;
  min-width: 140px;
}

.lang-dropdown-menu .dropdown-content {
  padding: 12px 20px;
  gap: 0;
}

.lang-dropdown-menu .col a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-dropdown-menu .col a.active-lang {
  color: #9b9b9b;
  font-weight: 700;
}

/* =========================================
   VENTANA MODAL DE AUTENTICACIÓN Y REGISTRO
   ========================================= */

.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  padding: 1.5rem;
}

.auth-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 530px;
  background: linear-gradient(180deg, #242424 0%, #171717 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(59, 130, 246, 0.18);
  transform: scale(0.94) translateY(18px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.auth-modal-overlay.active .auth-modal-card {
  transform: scale(1) translateY(0);
}

.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.auth-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: rotate(90deg);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo-badge {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.auth-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.auth-modal-subtitle {
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* PESTAÑAS DE NAVEGACIÓN DENTRO DEL MODAL */
.auth-tabs {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.auth-tab-btn:hover {
  color: #ffffff;
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, #374151, #1f2937);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* MENSAJE DE FEEDBACK */
.auth-feedback {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 14px;
  text-align: center;
}

.auth-feedback.success {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.auth-feedback.error {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.auth-feedback.info {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

/* FORMULARIO Y CAMPOS */
.auth-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.auth-input-grid.single-col {
  grid-template-columns: 1fr;
}

.auth-field.full-width {
  grid-column: span 2;
}

.auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap .field-icon {
  position: absolute;
  left: 12px;
  color: #6b7280;
  pointer-events: none;
}

.auth-input-wrap input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  font-family: inherit;
}

.auth-input-wrap input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  background: rgba(0, 0, 0, 0.5);
}

.auth-input-wrap input::placeholder {
  color: #6b7280;
}

.auth-checkbox-group {
  margin: 12px 0 18px;
}

.auth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1.4;
}

.auth-checkbox-label input {
  accent-color: #3b82f6;
  margin-top: 3px;
  cursor: pointer;
}

.auth-checkbox-label a {
  color: #60a5fa;
  text-decoration: underline;
}

.auth-btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  font-family: inherit;
}

.auth-btn-submit:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.auth-switch-prompt {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.auth-switch-prompt a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.auth-switch-prompt a:hover {
  text-decoration: underline;
}

/* VISTA DE PERFIL DE USUARIO */
.profile-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar-large {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
  flex-shrink: 0;
}

.profile-main-meta h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.profile-badge {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.profile-info-row .info-label {
  color: #9ca3af;
  font-weight: 500;
}

.profile-info-row .info-value {
  color: #ffffff;
  font-weight: 600;
}

.profile-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: inherit;
}

.profile-action-btn.primary {
  background: #2563eb;
  color: #ffffff;
}

.profile-action-btn.primary:hover {
  background: #3b82f6;
  transform: translateY(-2px);
}

.profile-action-btn.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.profile-action-btn.danger:hover {
  background: rgba(239, 68, 68, 0.25);
  transform: translateY(-2px);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .auth-input-grid {
    grid-template-columns: 1fr;
  }
  .auth-field.full-width {
    grid-column: span 1;
  }
  .auth-modal-card {
    padding: 1.6rem 1.4rem;
  }
  .profile-actions-grid {
    grid-template-columns: 1fr;
  }
  .user-nav-btn {
    padding: 6px 10px;
  }
  .user-nav-btn .user-nav-label {
    display: none;
  }
}

/* =========================================
   SECCION HERO / INICIO CON FONDO PROFESIONAL
   ========================================= */

.hero {
  position: relative;
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0c0d11;
  overflow: visible;
  padding: 4rem 1.5rem;
}

/* LOGO DE FONDO NÍTIDO Y VISIBLE */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('viltrumite-limpio.png');
  background-size: min(520px, 75vw);
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.32;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 0;
}

/* CAPA OSCURA Y DEGRADADO SUAVE */
.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 18, 24, 0.45) 0%, rgba(12, 13, 17, 0.8) 70%, rgba(8, 9, 12, 0.95) 100%);
  z-index: 1;
  pointer-events: none;
}

/* CONTENIDO DEL HERO */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  animation: fadeInHero 0.8s ease forwards;
}

/* BADGE SUPERIOR */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(51, 51, 51, 0.85);
  border: 1px solid #666666;
  color: #e0e0e0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #9b9b9b;
  border-radius: 50%;
  box-shadow: 0 0 8px #9b9b9b;
  animation: pulseDot 2s infinite ease-in-out;
}

/* TITULO */
.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.brand-text {
  color: #9b9b9b;
  display: inline-block;
  text-shadow: 0 0 15px rgba(155, 155, 155, 0.4);
}

/* SUBTITULO */
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #d1d5db;
  max-width: 680px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* BOTONES CTA */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  position: relative;
  z-index: 20;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* BOTONES GRANDES DESTACADOS PARA EL HERO */
.hero-btn-lg {
  padding: 18px 40px !important;
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  letter-spacing: 0.4px;
}

/* BOTON PRINCIPAL */
.btn-primary {
  background-color: #ffffff;
  color: #0c0d11;
  border: 1px solid #ffffff;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background-color: #e2e8f0;
  border-color: #e2e8f0;
  color: #000000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}

/* BOTON SECUNDARIO */
.btn-secondary {
  background-color: rgba(30, 32, 40, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  background-color: rgba(45, 48, 60, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* =========================================
   BOTON SOCIOS CON MINI MENU INTERACTIVO
   ========================================= */

.socios-dropdown {
  position: relative;
  display: inline-block;
}

.socios-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.arrow-indicator {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.socios-dropdown:hover .arrow-indicator {
  transform: rotate(180deg);
}

/* MINI MENU FLOTANTE DE EQUIPOS CON ANIMACION Y PUENTE DE HOVER */
.socios-mini-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  background: rgba(40, 40, 40, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 50;
  text-align: left;
  pointer-events: none;
}

/* PUENTE INVISIBLE QUE EVITA QUE SE CIERRE AL BAJAR EL MOUSE */
.socios-mini-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  pointer-events: auto;
}

.socios-dropdown:hover .socios-mini-menu,
.socios-dropdown:focus-within .socios-mini-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.mini-menu-title {
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9b9b9b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.socios-dropdown:hover .mini-menu-title,
.socios-dropdown:focus-within .mini-menu-title {
  opacity: 1;
  transform: translateY(0);
}

.mini-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, color 0.2s, padding-left 0.2s;
}

/* ANIMACION ESCALONADA DE CADA EQUIPO / OPCION */
.socios-dropdown:hover .mini-menu-item,
.socios-dropdown:focus-within .mini-menu-item {
  opacity: 1;
  transform: translateX(0);
}

.socios-dropdown:hover .mini-menu-item:nth-child(2),
.socios-dropdown:focus-within .mini-menu-item:nth-child(2) { transition-delay: 0.04s; }
.socios-dropdown:hover .mini-menu-item:nth-child(3),
.socios-dropdown:focus-within .mini-menu-item:nth-child(3) { transition-delay: 0.09s; }
.socios-dropdown:hover .mini-menu-item:nth-child(4),
.socios-dropdown:focus-within .mini-menu-item:nth-child(4) { transition-delay: 0.14s; }
.socios-dropdown:hover .mini-menu-item:nth-child(5),
.socios-dropdown:focus-within .mini-menu-item:nth-child(5) { transition-delay: 0.19s; }

.team-mini-crest {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.mini-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #9b9b9b;
  padding-left: 22px;
}

.mini-menu-item:hover .team-mini-crest {
  transform: scale(1.3) rotate(5deg);
}

/* =========================================
   TARJETAS DE CARACTERISTICAS (TEMA GRIS)
   ========================================= */

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 900px;
  margin-top: 1.5rem;
}

.feature-item {
  background: rgba(45, 45, 45, 0.8);
  border: 1px solid #555555;
  padding: 16px 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: #9b9b9b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  background: rgba(55, 55, 55, 0.9);
}

.feature-icon {
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #666666;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 3px;
}

.feature-text span {
  font-size: 0.8rem;
  color: #b0b0b0;
  line-height: 1.35;
  display: block;
}

/* ANIMACIONES */

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.5;
  }
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.2rem;
    margin-left: 15px;
  }

}


/* BOTON MENU MOVIL */

.mobile-menu-btn {
  display: none !important;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}


/* CELULAR */

@media (max-width: 768px) {

  .navbar {
    padding: 0.8rem 1rem;
    justify-content: space-between;
  }

  .logo img {
    width: 52px;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0 !important;
    padding: 15px !important;
    flex-direction: column;
    gap: 0 !important;
    background-color: #333;
    border-top: 1px solid #444;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 8px;
  }

  .nav-right {
    margin-left: auto;
  }

  .dropdown-menu {
    display: none !important;
  }

}

/* BOTON VOLVER AL INICIO */
.back-btn {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(30, 30, 30, 0.85);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid #555;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #444444;
  border-color: #9b9b9b;
  color: #9b9b9b;
  transform: translateX(-3px);
}

.socios-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

.team-card {
  text-decoration: none;
  color: inherit;
}

.team-crest-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #555555;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.team-crest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.team-card:hover .team-crest-box {
  background: rgba(255, 255, 255, 0.15);
  border-color: #9b9b9b;
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.team-card:hover .team-crest-img {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn, .socios-dropdown, .socios-btn {
    width: 100%;
  }

  .socios-mini-menu {
    width: 100%;
  }

  .socios-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   SECCION DE CONTACTO PROFESIONAL
   ========================================= */

.contact-hero {
  position: relative;
  min-height: calc(100vh - 75px);
  background-color: #0c0d11;
  padding: 3.5rem 1.5rem 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('viltrumite-limpio.png');
  background-size: min(550px, 80vw);
  background-position: center top 100px;
  background-repeat: no-repeat;
  opacity: 0.18;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.05));
  pointer-events: none;
  z-index: 0;
}

.contact-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.contact-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

/* TARJETAS DE CONTACTO RÁPIDO */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.contact-channel-card {
  background: rgba(38, 38, 38, 0.85);
  border: 1px solid #4a4a4a;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.contact-channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #9b9b9b, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-channel-card:hover {
  transform: translateY(-6px);
  border-color: #9b9b9b;
  background: rgba(50, 50, 50, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.contact-channel-card:hover::before {
  opacity: 1;
}

.channel-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #5a5a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-channel-card:hover .channel-icon-wrap {
  background: rgba(155, 155, 155, 0.2);
  border-color: #9b9b9b;
  transform: scale(1.1);
}

.channel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.channel-value {
  font-size: 0.92rem;
  color: #9b9b9b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.channel-desc {
  font-size: 0.78rem;
  color: #a0a0a0;
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.channel-action-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #555555;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.contact-channel-card:hover .channel-action-btn {
  background: #9b9b9b;
  color: #111111;
  border-color: #9b9b9b;
}

/* SECCION PRINCIPAL: FORMULARIO + PANEL INFORMATIVO */
.contact-main-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

/* FORMULARIO */
.contact-form-container {
  background: rgba(32, 32, 32, 0.9);
  border: 1px solid #444444;
  border-radius: 14px;
  padding: 2.2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.form-header {
  margin-bottom: 1.6rem;
  border-bottom: 1px solid #444444;
  padding-bottom: 1rem;
}

.form-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.form-header p {
  font-size: 0.88rem;
  color: #b0b0b0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid #555555;
  border-radius: 6px;
  padding: 11px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #777777;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #9b9b9b;
  background: rgba(28, 28, 28, 0.95);
  box-shadow: 0 0 0 3px rgba(155, 155, 155, 0.2);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background-color: #222222;
  color: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 1rem;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #9b9b9b;
  color: #111111;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  padding: 13px 26px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #b8b8b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.privacy-note {
  font-size: 0.75rem;
  color: #888888;
  line-height: 1.3;
}

/* MENSAJE DE CONFIRMACIÓN / ALERT */
.form-alert {
  display: none;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  align-items: center;
  gap: 10px;
  animation: fadeInHero 0.3s ease;
}

.form-alert.show {
  display: flex;
}

/* PANEL INFORMATIVO DERECHO */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-box {
  background: rgba(34, 34, 34, 0.85);
  border: 1px solid #444444;
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.info-box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  border-bottom: 1px solid #444444;
  padding-bottom: 0.6rem;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.info-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.info-content span,
.info-content a {
  font-size: 0.82rem;
  color: #b0b0b0;
  text-decoration: none;
  line-height: 1.35;
}

.info-content a:hover {
  color: #9b9b9b;
  text-decoration: underline;
}

/* BANNER DE RESPUESTA RAPIDA */
.quick-response-banner {
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.9), rgba(30, 30, 30, 0.9));
  border: 1px solid #666666;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.response-badge {
  background: #9b9b9b;
  color: #111111;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.1;
  flex-shrink: 0;
}

.response-text {
  font-size: 0.82rem;
  color: #d1d5db;
  line-height: 1.35;
  text-align: left;
}

.response-text strong {
  color: #ffffff;
}

/* FOOTER */
.site-footer {
  background-color: #141414;
  border-top: 1px solid #333333;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  color: #a0a0a0;
  font-size: 0.85rem;
}

.footer-container {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 42px;
  height: auto;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #888888;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #9b9b9b;
}

.footer-bottom {
  max-width: 1150px;
  margin: 1.5rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: #666666;
}

/* RESPONSIVE CONTACTO */
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 1.4rem;
  }
}

/* =========================================
   SECCION QUIÉNES SOMOS / ACERCA DE
   ========================================= */

.about-hero {
  position: relative;
  min-height: calc(100vh - 75px);
  background-color: #0c0d11;
  padding: 3.5rem 1.5rem 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('viltrumite-limpio.png');
  background-size: min(550px, 80vw);
  background-position: center 80px;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.05));
  pointer-events: none;
  z-index: 0;
}

.about-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* STATS BAR */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.stat-item {
  background: rgba(38, 38, 38, 0.85);
  border: 1px solid #4a4a4a;
  border-radius: 12px;
  padding: 1.6rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: #9b9b9b;
  background: rgba(50, 50, 50, 0.95);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #9b9b9b;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.82rem;
  color: #d1d5db;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* HISTORIA / MANIFIESTO */
.about-story-card {
  background: rgba(32, 32, 32, 0.88);
  border: 1px solid #444444;
  border-radius: 14px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.about-section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #444444;
  padding-bottom: 0.8rem;
}

.about-story-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #d1d5db;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* MISION VISION VALORES */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.mv-card {
  background: rgba(38, 38, 38, 0.85);
  border: 1px solid #4a4a4a;
  border-radius: 12px;
  padding: 1.8rem;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  border-color: #9b9b9b;
  background: rgba(48, 48, 48, 0.95);
}

.mv-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #555555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.mv-desc {
  font-size: 0.88rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* PILARES */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.pillar-card {
  background: rgba(34, 34, 34, 0.85);
  border: 1px solid #444444;
  border-radius: 12px;
  padding: 1.6rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  text-align: left;
  transition: all 0.3s ease;
}

.pillar-card:hover {
  border-color: #9b9b9b;
  transform: translateY(-3px);
  background: rgba(44, 44, 44, 0.9);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.pillar-body p {
  font-size: 0.85rem;
  color: #a8a8a8;
  line-height: 1.5;
}

/* FUNDADORES / DIRECCION */
.founders-box {
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid #444444;
  border-radius: 14px;
  padding: 2.2rem;
  text-align: left;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.founder-card {
  background: rgba(40, 40, 40, 0.85);
  border: 1px solid #555555;
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all 0.25s ease;
}

.founder-card:hover {
  border-color: #9b9b9b;
  transform: translateY(-3px);
  background: rgba(48, 48, 48, 0.95);
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2b2b2b;
  border: 2px solid #9b9b9b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.founder-info strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
}

.founder-info span {
  display: block;
  font-size: 0.82rem;
  color: #9b9b9b;
  font-weight: 600;
  margin-top: 2px;
}

.founder-info p {
  font-size: 0.78rem;
  color: #a0a0a0;
  margin-top: 5px;
  line-height: 1.35;
}

/* CTA BOX */
.about-cta-card {
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(25, 25, 25, 0.95));
  border: 1px solid #666666;
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-cta-card h2 {
  font-size: 1.6rem;
  color: #ffffff;
}

.about-cta-card p {
  font-size: 0.95rem;
  color: #c0c0c0;
  max-width: 600px;
  line-height: 1.6;
}

/* =========================================
   SECCION NOTICIAS / ACTUALIDAD
   ========================================= */

.news-hero {
  position: relative;
  min-height: calc(100vh - 75px);
  background-color: #0c0d11;
  padding: 3.5rem 1.5rem 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('viltrumite-limpio.png');
  background-size: min(550px, 80vw);
  background-position: center 80px;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.05));
  pointer-events: none;
  z-index: 0;
}

.news-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* FILTROS NOTICIAS CON ANIMACION */
.news-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-filter-btn {
  background: rgba(40, 40, 40, 0.85);
  color: #d1d5db;
  border: 1px solid #555555;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.news-filter-btn:hover {
  transform: translateY(-2px);
  border-color: #9b9b9b;
  color: #ffffff;
  background: rgba(60, 60, 60, 0.95);
}

.news-filter-btn.active {
  background: #9b9b9b;
  color: #111111;
  border-color: #9b9b9b;
  box-shadow: 0 4px 14px rgba(155, 155, 155, 0.35);
  transform: translateY(-2px);
}

/* ARTICULO DESTACADO */
.news-featured-card {
  background: rgba(34, 34, 34, 0.9);
  border: 1px solid #555555;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  text-align: left;
  transition: all 0.3s ease;
}

.news-featured-card:hover {
  border-color: #9b9b9b;
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

.featured-img-box {
  background: #222222;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.featured-img-box img {
  width: 70%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.news-featured-card:hover .featured-img-box img {
  transform: scale(1.05);
}

.featured-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.news-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(155, 155, 155, 0.2);
  color: #e0e0e0;
  border: 1px solid #9b9b9b;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-meta {
  font-size: 0.78rem;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.featured-content p {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* GRID DE NOTICIAS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.news-card {
  background: rgba(36, 36, 36, 0.85);
  border: 1px solid #444444;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: #9b9b9b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  background: rgba(45, 45, 45, 0.95);
}

.news-card-thumb {
  background: #252525;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border-bottom: 1px solid #404040;
}

.news-card-thumb img {
  max-height: 90px;
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.08);
}

.news-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.news-card-desc {
  font-size: 0.85rem;
  color: #a0a0a0;
  line-height: 1.5;
  flex-grow: 1;
}

.news-read-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9b9b9b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.4rem;
  transition: color 0.2s ease;
}

.news-card:hover .news-read-btn {
  color: #ffffff;
}

/* =========================================
   SECCION DE SERVICIOS
   ========================================= */

.services-section {
  position: relative;
  background-color: #121317;
  padding: 5rem 1.5rem 6rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid #2a2a2a;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(155, 155, 155, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.services-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.services-category-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-header-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #333333;
  padding-bottom: 0.8rem;
  text-align: left;
}

.category-tag {
  background: rgba(155, 155, 155, 0.15);
  color: #ffffff;
  border: 1px solid #666666;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.service-card-item {
  background: rgba(36, 36, 36, 0.85);
  border: 1px solid #444444;
  border-radius: 14px;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.service-card-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #9b9b9b, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-item:hover {
  transform: translateY(-6px);
  border-color: #9b9b9b;
  background: rgba(46, 46, 46, 0.95);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.service-card-item:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #5a5a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.service-card-item:hover .service-icon-box {
  background: rgba(155, 155, 155, 0.2);
  border-color: #9b9b9b;
  transform: scale(1.08);
}

.service-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.service-item-desc {
  font-size: 0.88rem;
  color: #b0b0b0;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  border-top: 1px solid #3d3d3d;
  padding-top: 1rem;
}

.service-features-list li {
  font-size: 0.82rem;
  color: #cccccc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  flex-shrink: 0;
}

.service-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9b9b9b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.service-card-item:hover .service-card-action {
  color: #ffffff;
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .founders-grid {
    grid-template-columns: 1fr;
  }

  .news-featured-card {
    grid-template-columns: 1fr;
  }

  .featured-img-box {
    min-height: 200px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .category-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .about-story-card,
  .founders-box,
  .about-cta-card,
  .featured-content {
    padding: 1.5rem;
  }
}

/* =========================================
   CARRUSEL DE MARCAS Y PARTNERS ASOCIADOS
   ========================================= */

.brands-carousel-section {
  position: relative;
  background: linear-gradient(180deg, #0c0d11 0%, #121319 50%, #0e0f14 100%);
  padding: 4.5rem 1.5rem 5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.brands-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 1px;
  background: radial-gradient(circle, rgba(155, 155, 155, 0.5) 0%, transparent 80%);
}

.brands-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.8rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.brands-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.brands-subtitle {
  font-size: 1.05rem;
  color: #b0b0b0;
  line-height: 1.6;
  max-width: 650px;
}

/* CONTENEDOR EXTERNO CON FLECHAS */
.carousel-outer-wrapper {
  position: relative;
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* CONTROLES DE NAVEGACION */
.carousel-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 32, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.carousel-control-btn.prev-btn {
  left: -15px;
}

.carousel-control-btn.next-btn {
  right: -15px;
}

.carousel-control-btn:hover {
  background: #9b9b9b;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(155, 155, 155, 0.4);
}

/* VIEWPORT Y TRACK */
.carousel-viewport {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 15px 5px 25px 5px;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  scroll-behavior: smooth;
}

.carousel-viewport::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 1.4rem;
}

.carousel-group {
  display: flex;
  gap: 1.4rem;
  animation: scrollInfinite 32s linear infinite;
  will-change: transform;
}

.carousel-viewport:hover .carousel-group {
  animation-play-state: paused;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 1.4rem));
  }
}

/* TARJETAS DE MARCAS */
.brand-card {
  flex: 0 0 280px;
  width: 280px;
  background: rgba(32, 34, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.6rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #9b9b9b, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-8px);
  border-color: #9b9b9b;
  background: rgba(42, 45, 56, 0.95);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(155, 155, 155, 0.15);
}

.brand-card:hover::before {
  opacity: 1;
}

/* PILLS Y BADGES */
.brand-badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(155, 155, 155, 0.15);
  color: #d1d5db;
  border: 1px solid rgba(155, 155, 155, 0.3);
  margin-bottom: 1rem;
}

.brand-badge-pill.tech-pill {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}

/* CONTENEDOR DEL LOGO */
.brand-logo-container {
  width: 90px;
  height: 90px;
  background: rgba(18, 19, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 1.2rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.brand-card:hover .brand-logo-container {
  border-color: #9b9b9b;
  background: rgba(26, 28, 36, 1);
  transform: scale(1.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.brand-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.brand-card:hover .brand-img {
  transform: scale(1.08);
}

/* LOGOS VECTORIALES DE MARCAS */
.brand-vector-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hikvision-logo .logo-bold {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.hikvision-logo .logo-red {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #e53e3e;
}

.dahua-logo .dahua-d {
  font-size: 1.1rem;
  font-weight: 800;
  color: #3b82f6;
  letter-spacing: -0.5px;
}

.dahua-logo .dahua-sub {
  font-size: 0.5rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 1px;
}

.bosch-logo .bosch-emblem {
  font-size: 1.3rem;
  color: #ef4444;
  line-height: 1;
  margin-bottom: 2px;
}

.bosch-logo .bosch-text {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
}

.axis-logo .axis-mark {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #f59e0b;
}

.axis-logo .axis-sub {
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d1d5db;
}

.intelbras-logo .intelbras-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: -0.5px;
}

.ajax-logo .ajax-text {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
}

.ajax-logo .ajax-sub {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #9b9b9b;
}

.honeywell-logo .honeywell-text {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ee3124;
}

.pelco-logo .pelco-text {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
}

.pelco-logo .pelco-sub {
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #9ca3af;
}

.cisco-logo {
  gap: 3px;
}

.cisco-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 20px;
}

.cisco-bars span {
  display: inline-block;
  width: 3px;
  background: #049fd9;
  border-radius: 2px;
}

.cisco-bars span:nth-child(1) { height: 9px; }
.cisco-bars span:nth-child(2) { height: 15px; }
.cisco-bars span:nth-child(3) { height: 20px; }
.cisco-bars span:nth-child(4) { height: 15px; }
.cisco-bars span:nth-child(5) { height: 9px; }

.cisco-logo .cisco-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #049fd9;
}

/* TEXTOS DE LAS TARJETAS */
.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.brand-desc {
  font-size: 0.83rem;
  color: #a8a8a8;
  line-height: 1.45;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.brand-link-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9b9b9b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.brand-card:hover .brand-link-text {
  color: #ffffff;
  transform: translateX(3px);
}

.brand-spec-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}

/* FOOTER BAR DEL CARRUSEL */
.carousel-footer-bar {
  max-width: 900px;
  margin: 1.8rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  font-size: 0.82rem;
  color: #888888;
}

.carousel-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

/* RESPONSIVE CARRUSEL */
@media (max-width: 768px) {
  .brands-title {
    font-size: 1.9rem;
  }

  .brands-subtitle {
    font-size: 0.92rem;
  }

  .brand-card {
    flex: 0 0 250px;
    width: 250px;
    padding: 1.3rem 1rem;
  }

  .brand-logo-container {
    width: 75px;
    height: 75px;
  }

  .carousel-control-btn {
    display: none;
  }

  .carousel-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .carousel-footer-bar {
    justify-content: center;
    text-align: center;
  }
}

/* =========================================
   SISTEMA DE ANIMACIONES DE APARICIÓN (SCROLL REVEAL & ENTRANCE)
   ========================================= */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.85s ease;
  will-change: opacity;
}

.reveal-fade.is-visible {
  opacity: 1;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(25px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* RETARDOS ESCALONADOS (STAGGER DELAYS) */
.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
.delay-5 { transition-delay: 0.40s !important; }
.delay-6 { transition-delay: 0.48s !important; }

/* ANIMACIONES DE ENTRADA HERO */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-title {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.hero-subtitle {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.hero-buttons {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards;
}

.hero-features {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s backwards;
}

/* SOPORTE DE REDUCCION DE MOVIMIENTO */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-buttons,
  .hero-features {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* =========================================
   SISTEMA DE RESERVA DE CONTRATOS & CALENDARIO
   ========================================= */

.reservation-hero {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #2a2a2a 0%, #151515 70%, #0d0d0d 100%);
  padding: 65px 20px 45px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reservation-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.reservation-hero-content .hero-subtitle {
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
  color: #d1d5db;
  line-height: 1.65;
  font-size: 1.12rem;
}

.reservation-container {
  max-width: 1300px;
  margin: 40px auto 70px;
  padding: 0 20px;
}

.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .reservation-layout {
    grid-template-columns: 1fr;
  }
}

.reservation-main-flow {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* STEP CARD */
.booking-step-card {
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: border-color 0.3s ease;
}

.booking-step-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.step-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #444, #2a2a2a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.step-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.92rem;
  color: #9ca3af;
  line-height: 1.45;
}

/* PLANS SELECTION GRID */
.plans-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 850px) {
  .plans-selection-grid {
    grid-template-columns: 1fr;
  }
}

.plan-option-card {
  background: #181818;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
  position: relative;
}

.plan-option-card:hover {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.plan-option-card.active {
  background: #252525;
  border-color: #60a5fa;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-sports {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.tag-corporate {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.tag-residential {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.tag-audit {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.plan-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.plan-option-card.active .plan-check {
  background: #60a5fa;
  color: #000;
}

.plan-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.plan-details {
  font-size: 0.86rem;
  color: #a1a1aa;
  line-height: 1.45;
}

.plan-perks {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: #71717a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

.plan-perks span {
  color: #d4d4d8;
}

/* MODALITY GRID */
.modality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 850px) {
  .modality-grid {
    grid-template-columns: 1fr;
  }
}

.modality-card {
  background: #181818;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.modality-card:hover {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.modality-card.active {
  background: #242730;
  border-color: #60a5fa;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.2);
}

.modality-icon {
  font-size: 1.8rem;
}

.modality-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.modality-info p {
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* CALENDAR STYLES */
.calendar-wrapper-box {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
}

.calendar-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cal-current-month {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.cal-nav-btn {
  background: #292929;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cal-nav-btn:hover {
  background: #383838;
  border-color: #60a5fa;
  color: #60a5fa;
}

.calendar-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-day-cell {
  aspect-ratio: 1;
  background: #222222;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.cal-day-cell:hover:not(.cal-day-disabled):not(.cal-day-inactive) {
  background: #333333;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  z-index: 2;
}

.cal-day-selected {
  background: #60a5fa !important;
  color: #0b1120 !important;
  border-color: #93c5fd !important;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.5);
  transform: scale(1.04);
  font-weight: 800;
}

.cal-day-selected .day-dot-status {
  background: #000 !important;
}

.cal-day-inactive {
  background: transparent;
  border-color: transparent;
  color: #4b5563;
  cursor: default;
}

.cal-day-disabled {
  background: #141414;
  color: #4b5563;
  opacity: 0.5;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.02);
}

.day-dot-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot-available {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.dot-few {
  background: #eab308;
  box-shadow: 0 0 6px #eab308;
}

.dot-disabled {
  background: #6b7280;
}

.dot-selected {
  background: #60a5fa;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #9ca3af;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* TIME SLOTS */
.time-slots-container {
  margin-top: 24px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.time-slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.time-slots-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #e5e7eb;
}

.highlight-date-text {
  color: #60a5fa;
  font-weight: 700;
}

.slots-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.time-slot-btn {
  background: #252525;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  background: #333333;
  border-color: #60a5fa;
  transform: translateY(-2px);
}

.time-slot-btn.active {
  background: #1e3a8a;
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.35);
}

.slot-time {
  font-weight: 700;
  font-size: 0.95rem;
}

.slot-state {
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
}

.time-slot-btn.active .slot-state {
  color: #93c5fd;
  font-weight: 700;
}

/* RESERVATION FORM */
.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 650px) {
  .form-row-double {
    grid-template-columns: 1fr;
  }
}

.reservation-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reservation-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e5e7eb;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.25);
}

.terms-checkbox-wrap {
  margin-top: 6px;
}

.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #a1a1aa;
  cursor: pointer;
  line-height: 1.4;
}

.custom-checkbox-label input {
  margin-top: 3px;
  accent-color: #60a5fa;
}

.submit-reservation-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
}

.submit-reservation-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
  transform: translateY(-2px);
}

/* SIDEBAR LIVE SUMMARY */
.reservation-sidebar {
  position: sticky;
  top: 100px;
}

.booking-summary-card {
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.summary-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.summary-card-header h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
}

.summary-details-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
}

.summary-label {
  color: #9ca3af;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.summary-value {
  color: #ffffff;
  font-weight: 600;
}

.highlight-summary-item {
  background: rgba(96, 165, 250, 0.08);
  border-left: 3px solid #60a5fa;
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
}

.text-green {
  color: #4ade80 !important;
}

.status-pill {
  font-size: 0.82rem;
  font-weight: 700;
}

.status-ready {
  color: #4ade80;
}

.summary-security-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.sec-banner-icon {
  font-size: 1.5rem;
}

.sec-banner-text strong {
  font-size: 0.86rem;
  color: #fff;
  display: block;
}

.sec-banner-text p {
  font-size: 0.76rem;
  color: #9ca3af;
}

.summary-help-box {
  text-align: center;
  font-size: 0.84rem;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-whatsapp-link {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.2s ease;
}

.summary-whatsapp-link:hover {
  color: #4ade80;
  text-decoration: underline;
}

/* SUCCESS MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-open .modal-content-card {
  transform: translateY(0) scale(1);
}

.modal-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid #22c55e;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-pill-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: #a1a1aa;
  margin-bottom: 22px;
}

.modal-ticket-box {
  background: #141414;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.ticket-row span {
  color: #9ca3af;
}

.ticket-row strong {
  color: #ffffff;
  text-align: right;
}

.ticket-code {
  color: #60a5fa !important;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.modal-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-wa-btn {
  background: #22c55e !important;
  color: #000 !important;
  font-weight: 700;
  border: none;
}

.modal-wa-btn:hover {
  background: #16a34a !important;
}

.modal-calendar-btn {
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.modal-calendar-btn:hover {
  background: #3f3f46;
}

.modal-text-close-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px;
  margin-top: 4px;
}

.modal-text-close-btn:hover {
  color: #fff;
  text-decoration: underline;
}

/* FAQ SECTION ON RESERVATION */
.reservation-faq-section {
  padding: 60px 20px 80px;
  background: #161616;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.25s ease;
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.faq-card p {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===================================================
   PESTAÑAS DE NAVEGACIÓN: NUEVA RESERVA / MIS RESERVAS
   =================================================== */

.booking-view-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2.2rem;
  width: 100%;
}

.booking-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(26, 28, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #a1a1aa;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.booking-tab-btn:hover {
  background: rgba(40, 43, 54, 0.95);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.booking-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.booking-tab-btn.active .tab-badge {
  background: #ffffff;
  color: #1e3a8a;
}

/* ===================================================
   PANEL Y TARJETAS DE "MIS RESERVAS"
   =================================================== */

.my-reservations-view {
  display: none;
  width: 100%;
}

.my-reservations-view.is-visible {
  display: block;
  animation: fadeInRes 0.3s ease;
}

@keyframes fadeInRes {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reservations-filter-bar {
  background: #191b22;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.search-res-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-res-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: #101116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: #ffffff;
  font-size: 0.9rem;
}

.search-res-box input:focus {
  outline: none;
  border-color: #3b82f6;
}

.search-res-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #71717a;
  pointer-events: none;
}

.filter-chips {
  display: flex;
  gap: 8px;
}

.filter-chip {
  padding: 8px 14px;
  background: #111217;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #a1a1aa;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: #22252e;
  color: #ffffff;
}

.filter-chip.active {
  background: #27272a;
  color: #60a5fa;
  border-color: #3b82f6;
}

/* LISTADO DE TARJETAS DE RESERVA */
.reservations-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.res-card-item {
  background: #181a22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.res-card-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.res-card-item.is-cancelled {
  border-color: rgba(239, 68, 68, 0.3);
  background: #14151b;
  opacity: 0.85;
}

.res-card-item.is-cancelled::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #ef4444;
}

.res-card-item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #22c55e;
}

.res-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.res-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.res-ticket-code {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.5px;
}

.res-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.res-status-pill.status-confirmed {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.res-status-pill.status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.res-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.res-info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.res-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #71717a;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.res-info-value {
  font-size: 0.95rem;
  color: #e4e4e7;
  font-weight: 600;
  line-height: 1.4;
}

.res-info-value.highlight-org {
  color: #ffffff;
  font-size: 1.05rem;
}

.res-info-value.highlight-time {
  color: #93c5fd;
}

.res-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.res-created-date {
  font-size: 0.8rem;
  color: #71717a;
}

.res-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-res-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-res-cancel {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-res-cancel:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-res-ics {
  background: #27272a;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-res-ics:hover {
  background: #3f3f46;
  color: #ffffff;
}

.btn-res-wa {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-res-wa:hover {
  background: #22c55e;
  color: #000000;
}

.btn-res-delete {
  background: transparent;
  color: #71717a;
  border: 1px solid transparent;
}

.btn-res-delete:hover {
  color: #ef4444;
  text-decoration: underline;
}

/* ESTADO VACÍO DE RESERVAS */
.no-reservations-box {
  background: #161820;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  max-width: 600px;
  margin: 20px auto;
}

.no-res-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.no-reservations-box h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.no-reservations-box p {
  color: #a1a1aa;
  font-size: 0.92rem;
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   MODAL DE CONFIRMACIÓN DE CANCELACIÓN
   =================================================== */

.cancel-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cancel-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cancel-modal-card {
  background: #1c1e27;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 18px;
  padding: 30px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.cancel-modal-overlay.is-open .cancel-modal-card {
  transform: scale(1);
}

.cancel-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cancel-modal-card h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.cancel-modal-card p {
  font-size: 0.92rem;
  color: #a1a1aa;
  line-height: 1.5;
  margin-bottom: 22px;
}

.cancel-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-confirm-cancel {
  background: #ef4444;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-confirm-cancel:hover {
  background: #dc2626;
}

.btn-dismiss-cancel {
  background: #27272a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-dismiss-cancel:hover {
  background: #3f3f46;
}

/* ===================================================
   ESTILOS: PÁGINA DE TÉRMINOS Y CONDICIONES
   =================================================== */

.terms-hero {
  position: relative;
  background: #0f1015;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 130px 20px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.terms-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 20px 100px;
}

.terms-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }
}

.terms-sidebar {
  position: sticky;
  top: 90px;
}

.terms-toc-card {
  background: #181920;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.toc-title {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-link {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.4;
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.toc-link:hover,
.toc-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  color: #60a5fa;
  padding-left: 14px;
}

.terms-support-box {
  background: #111218;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
}

.terms-support-box h4 {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.terms-support-box p {
  font-size: 0.8rem;
  color: #71717a;
  line-height: 1.4;
  margin-bottom: 12px;
}

.terms-contact-btn {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  padding: 8px 10px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  word-break: break-all;
}

.terms-contact-btn:hover {
  background: #1d4ed8;
}

/* CUERPO DE CLÁUSULAS */
.terms-content-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.terms-meta-card {
  background: #161820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.85rem;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.terms-meta-card strong {
  color: #ffffff;
}

.meta-separator {
  color: #52525b;
}

.terms-section-card {
  background: #181920;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  scroll-margin-top: 100px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.partner-tag {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.partner-terms-highlight {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(180deg, #191b22 0%, #15161c 100%);
}

.section-heading {
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
}

.subheading {
  font-size: 1.1rem;
  color: #e4e4e7;
  font-weight: 700;
  margin: 20px 0 10px;
}

.terms-section-card p {
  color: #b4b4bb;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.terms-highlight-box {
  background: rgba(37, 99, 235, 0.08);
  border-left: 4px solid #3b82f6;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  color: #dbeafe;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 16px 0;
}

.inline-link {
  color: #60a5fa;
  text-decoration: underline;
}

.terms-list {
  padding-left: 20px;
  margin-bottom: 16px;
  color: #b4b4bb;
}

.terms-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 0.93rem;
}

.terms-list li strong {
  color: #ffffff;
}

/* GRILLA DE CLUBES SOCIOS EN TÉRMINOS */
.partner-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.partner-term-item {
  background: #111319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  transition: all 0.2s ease;
}

.partner-term-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.partner-term-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.partner-mini-crest {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.partner-term-header h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.partner-term-header span {
  font-size: 0.75rem;
  color: #9ca3af;
}

.partner-term-item p {
  font-size: 0.85rem;
  color: #a1a1aa;
  line-height: 1.5;
  margin-bottom: 0;
}

/* BANNER FINAL EN TÉRMINOS */
.terms-bottom-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.terms-bottom-banner h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.terms-bottom-banner p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.terms-bottom-actions {
  display: flex;
  gap: 12px;
}

/* BANNER DE TÉRMINOS EN SOCIOS.HTML */
.partner-terms-banner {
  background: #181a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 900px;
  margin: 30px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.partner-terms-banner-text h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-terms-banner-text p {
  color: #a1a1aa;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.partner-terms-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.partner-terms-banner-btn:hover {
  background: #3b82f6;
  border-color: #3b82f6;
}

/* =========================================
   MÉTODOS DE PAGO Y DESGLOSE TOTAL DE PRODUCTO
   ========================================= */

.plan-price-badge {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 6px 0;
}

.plan-price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: #60a5fa;
}

.plan-price-period {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* GRILLA DE MÉTODOS DE PAGO */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
}

.payment-method-card {
  background: #181818;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
}

.payment-method-card:hover {
  background: #222222;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.payment-method-card.active {
  background: #1c2333;
  border-color: #3b82f6;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

.payment-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #60a5fa;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-method-card.active .payment-icon-box {
  background: #2563eb;
  color: #ffffff;
}

.payment-method-info {
  flex: 1;
}

.payment-method-info h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-tag-discount {
  font-size: 0.72rem;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 700;
}

.payment-method-info p {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.35;
  margin: 0;
}

/* DETALLES DINÁMICOS DE PAGO */
.payment-details-panel {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-top: 14px;
}

.payment-tab-content {
  display: none;
}

.payment-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-inputs-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .card-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.bank-transfer-info-box {
  background: #1f242d;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d1d5db;
}

.bank-row strong {
  color: #ffffff;
  font-family: monospace;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.copy-btn {
  background: #2d3748;
  border: 1px solid #4a5568;
  color: #93c5fd;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  cursor: pointer;
  margin-left: 6px;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: #3b82f6;
  color: #ffffff;
}

.mp-qr-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #18202c;
  border: 1px solid rgba(0, 158, 227, 0.3);
  border-radius: 10px;
  padding: 16px;
}

.mp-qr-code {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TABLA DE LIQUIDACIÓN Y DESGLOSE TOTAL */
.price-breakdown-table {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #9ca3af;
}

.breakdown-row.discount-row {
  color: #4ade80;
}

.breakdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.breakdown-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #ffffff;
}

.breakdown-total-row span {
  font-size: 0.95rem;
  font-weight: 700;
}

.breakdown-total-row strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #60a5fa;
}

/* CARTEL DE GARANTÍA DE PAGO */
.payment-guarantee-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.tx-hash-badge {
  background: #111827;
  border: 1px solid #374151;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.78rem;
  color: #93c5fd;
  word-break: break-all;
}

.paid-badge-pill {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ESTILOS DE IMPRESIÓN DEL COMPROBANTE */
@media print {
  body * {
    visibility: hidden;
  }
  #reservationSuccessModal, #reservationSuccessModal * {
    visibility: visible;
  }
  #reservationSuccessModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0;
  }
  .modal-content-card {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .modal-title, .ticket-row strong, .ticket-row span, .modal-subtitle {
    color: #000000 !important;
  }
  .modal-actions-wrap {
    display: none !important;
  }
}
/* CORRECCIÓN FINAL MENÚ MÓVIL */
@media (max-width: 768px) {

  /* MENU MOVIL */
.mobile-menu-btn {
  display: none !important;
}

/* SOLO CELULAR */
@media (max-width: 768px) {

  /* MENU MOVIL */
.mobile-menu-btn {
  display: none !important;
}

/* SOLO CELULAR */
@media (max-width: 768px) {

     

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    margin: 0 !important;
    padding: 15px !important;
    background-color: #333;
    gap: 0 !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

}
  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    margin: 0 !important;
    padding: 15px !important;
    background-color: #333;
    gap: 0 !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

}

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    margin: 0 !important;
    padding: 15px !important;
    background-color: #333;
    gap: 0 !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

}