/* ==========================================================================
   RESET Y PREVENCIÓN DE SCROLL HORIZONTAL
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   DASHBOARD - LAYOUT PRINCIPAL
   ========================================================================== */
.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding: 20px 20px;
}


/* ==========================================================================
   BADGE-WRAPPER (BOTÓN PRINCIPAL) - VERSIÓN PREMIUM ESTILO PROFESIONAL ELEGANTE
   ========================================================================== */
.badge-wrapper {
  position: relative;
  display: block;
  width: 100%;
  /* Animación más suave y profesional */
  animation: floating-shadow 3s infinite ease-in-out;
  perspective: 1000px;
}

.badge-wrapper .dash-btn {
  /* Usamos tus variables de color para mayor coherencia */
  background: linear-gradient(145deg, var(--accent) 0%, var(--deep-black) 100%);
  /* border: 1px solid rgba(0, 212, 255, 0.2); */
  /* Sutil toque de electric-blue */
  border-radius: 20px;
  padding: 0px 0px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.badge-wrapper .dash-btn:hover {
  transform: translateY(-5px) scale(1.01);
  /* border-color: var(--electric-blue); */
  background: linear-gradient(145deg, #003366 0%, var(--primary) 100%);
  box-shadow: 0 15px 35px -10px rgba(0, 212, 255, 0.25);
}

/* =========================================
   Ícono Cohete: Estado Normal (Colores Reales)
========================================= */
.badge-wrapper .dash-btn i {
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease; /* Transiciones añadidas */

  /* Degradado de "cohete real" (metálico y naranja/rojo base) */
  background: linear-gradient(135deg, #a0a0a0 0%, #ffffff 40%, #ff6b35 70%, #ee0e0e 100%);
  -webkit-background-clip: text; /* Clave: el fondo se recorta al texto (ícono) */
  -webkit-text-fill-color: transparent; /* Clave: el color de texto se vuelve transparente */
  color: transparent; /* Compatibilidad */

  /* Sombra de energía inicial (suave) */
  filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.4));
  margin-left: 7%;
  margin-top: 5%;
}

/* =========================================
   Ícono Cohete: Estado Hover (Llama Arrancando)
========================================= */
.badge-wrapper .dash-btn:hover i {
  /* Tu transformación original */
  transform: rotate(-10deg) scale(1.1);

  /* Degradado de "llama arrancando" (fuego intenso) */
  background: linear-gradient(to bottom, #f9c11c 0%, #ff6b35 50%, #ee0e0e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Sombra de despegue (brillo intenso y cálido) */
  filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.8))
          drop-shadow(0 0 25px rgba(238, 14, 14, 0.6));
}

/* Texto principal */
.badge-wrapper .dash-btn span {
  /* font-size: 0.75rem; */
  font-weight: 700;
  color: var(--white);
  /* letter-spacing: 0.5px; */
  text-transform: capitalize;
  /* margin-bottom: 0px; */
  width: 100%;
}

.badge-wrapper .dash-btn:hover span {
  color: #fff;
}

/* Badge "DISPONIBLE" - Ahora armoniza con el diseño */
.badge-new {
  position: absolute;
  top: -12px;
  right: 15px;
  /* Evitamos que se corte */
  background: linear-gradient(135deg, #FFD700, #C99C2E);
  /* Un dorado más vivo */
  color: var(--deep-black);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 50px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: 2px solid var(--primary);
  /* Crea separación visual del fondo */
}

/* Nueva animación de flotación que incluye la sombra */
@keyframes floating-shadow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Ajuste para móviles */
/* @media (max-width: 480px) {
  .badge-wrapper .dash-btn {
    padding: 16px 14px;
  }
  .badge-new {
    right: 10px;
    top: -10px;
    font-size: 0.65rem;
  }
} */
/* ==========================================================================
   BOTONES SECUNDARIOS (Sobre mí + Hablemos) - MISMO ANCHO
   ========================================================================== */
.dual-buttons-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.dual-buttons-row .dash-btn {
  flex: 1;
  margin-top: 0;
  min-height: 50px;
  justify-content: center;
  display: flex;
  /* flex-direction: column; */
}

/* ==========================================================================
   ESTILOS BASE DE LOS BOTONES (compartido)
   ========================================================================== */
.dash-btn {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  padding: 15px;
  background: var(--white, #ffffff);
  border: 1px solid #a3a3a3cc;
  border-radius: 16px;
  text-decoration: none;
  color: var(--primary-blue, #0047ab);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 90px;
  justify-content: right;
}

.dash-btn i {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2980b9;
  transition: transform 0.3s ease;
  padding-right: 2%;
}

.dash-btn span {
  font-size: 0.8rem;
  font-weight: 600;
}

.dash-btn:hover span {
  color: #2980b9;
}


.dash-btn:hover {
  border: 1px solid var(--accent, #00d4ff);
  transform: translateY(-2px);
  color: #00d4ff; 
}

.dash-btn:hover i {
  transform: scale(1.15);
}

/* Botón principal "Hablemos" */
.primary-dash {
  background: linear-gradient(135deg, #0047ab, #002244);
  color: white;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  height: auto;
  min-height: 80px;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 34, 68, 0.15);
}

.primary-dash i {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.primary-dash span {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.primary-dash:hover {
  /* background: var(--deep-black, #001122); */
  background: #fff;
  border-color: var(--electric-blue, #00d4ff);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 34, 68, 0.25);
  
}

/* ==========================================================================
   RESTO DE ESTILOS DEL PERFIL (hero, stats, etc.) - SIN CAMBIOS
   ========================================================================== */
.hero-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--primary, #0047ab);
  margin-top: 0;
}

.subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent, #00d4ff);
  margin-bottom: 15px;
  margin-top: 10px;
}

.value-proposition {
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  border: 1px solid #dbeafe;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 15px;
}

.stat {
  background: white;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 10px;
}

.stat .num {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary-blue, #0047ab);
}

.stat .label {
  font-size: 0.65rem;
  color: var(--text-light, #6c757d);
}

.profile-hero {
  text-align: center;
  margin-top: 0;
}

.profile-img-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 10px;
}

/* .profile-img se define en otro lugar o está comentado */
.status-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  background: #00ff88;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  70% {
    transform: scale(1.3);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.profile-badge {
  font-weight: 700;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.trust-line {
  font-size: 0.7rem;
  color: var(--text-muted, #999);
  margin-top: 10px;
  text-align: center;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
  font-size: 0.7rem;
  color: #888;
}

.flag {
  width: 24px;
  height: auto;
  border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE: TABLET (≥768px) Y PC (≥1024px)
   ========================================================================== */
@media (min-width: 768px) {
  .badge-wrapper .dash-btn {
    padding: 20px 20px;
  }

  .badge-wrapper .dash-btn span {
    font-size: 0.8rem;
  }

  .badge-new {
    font-size: 0.85rem;
    padding: 6px 18px;
    top: -16px;
    right: 12px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stat .label {
    font-size: 0.7rem;
  }
}

@media (min-width: 1024px) {
  .badge-wrapper .dash-btn {
    padding: 0px 0px;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .badge-new {
    font-size: 0.7rem;
    padding: 4px 10px;
    top: -12px;
    right: 8px;
  }

  .badge-new::before {
    font-size: 0.7rem;
  }

  .dual-buttons-row {
    gap: 10px;
  }

  .dash-btn {
    min-height: 70px;
    padding: 10px;
  }

  .dash-btn span {
    font-size: 0.7rem;
  }

  .primary-dash span {
    font-size: 0.8rem;
  }
}