:root {
  --primary: #3b82f6;
   /* --primary: #3b82f6; */
  --primary-dark: #2563eb;
  --primary-light: #93c5fd;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --accent: #10b981;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f8fafc;
  --lighter: #ffffff;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );

  
  --gradient-accent: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--accent) 100%
  );
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 10px 30px rgba(59, 130, 246, 0.3);
  --shadow-secondary: 0 10px 30px rgba(245, 158, 11, 0.3);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}




/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  background: linear-gradient(to right, #fcb045, #00cdac);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
  white-space: nowrap; /* 🔒 evita salto de línea */
  max-width: 100%; /* o auto si lo prefieres */
  /* display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 36px;
            border-radius: var(--border-radius);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            cursor: pointer;
            text-align: center;
            border: none;
            position: relative;
            overflow: hidden;
            z-index: 1; */
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: -1;
  transition: var(--transition);
  opacity: 0.8;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--darker);
  box-shadow: var(--shadow-secondary);
  font-size: 1.1rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  /* box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4); */
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-left: 15px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.2rem;
}
.btn-icon {
  margin-left: 10px;
  transition: var(--transition);
  margin-right: 8px; /* en vez de left para separar el ícono del texto */
  transition: var(--transition);
  font-size: 1em;
  vertical-align: middle;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.btn-icon-2 {
  margin-left: 10px;
  transition: var(--transition);
  margin-right: 8px; /* en vez de left para separar el ícono del texto */
  transition: var(--transition);
  font-size: 1em;
  vertical-align: middle;
}

.btn:hover .btn-icon-2 {
  transform: translateX(3px);
}

.btn-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  background: linear-gradient(to right, #fcb045, #00cdac);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
  white-space: nowrap; /* 🔒 evita salto de línea */
  max-width: 100%; /* o auto si lo prefieres */
}

.btn-text {
  white-space: nowrap; /* 🔒 asegura que el texto no se divida */
}

.btn-icon-2 {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon-2 {
  transform: translateX(3px);
}




/* Animación al cargar */
@keyframes iconFadeIn {
  from {
    transform: translateY(-15px) scale(0.85);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Pulso continuo sutil */
@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
  }
}


/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


.whatsapp-float {
    position: fixed;
    bottom: -100px; /* Inicialmente oculto */
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.5s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.whatsapp-float.visible {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
    animation: animate 2s infinite; /* Aplicamos la animación */
}

.whatsapp-float:hover {
    animation: none; /* Detenemos la animación al hacer hover */
    transform: scale(1.1) translateY(0); /* Reset para el hover */
    background: #128C7E;
}

.scroll-top-btn {
  position: fixed;
  bottom: -140px;
  right: 30px;
  background-color: #2b7c94;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.show {
      bottom: 20px;

  opacity: 1;
  visibility: visible;
}


.btn-outline {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}



/* Animación proporcionada */
@keyframes animate {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

