

.logo img {
          max-height: 40px;
      }

      .logo_down img {
        width: 250px;   /* aquí ajusta el tamaño que quieras */
        height: auto;  /* mantiene la proporción */
      }

      
      /* ============================
          BOTÓN FLOTANTE WHATSAPP (Pro)
        ============================ */
        .whatsapp-float {
          position: fixed;
          bottom: 25px;
          right: 25px;
          width: 60px;
          height: 60px;
          background: linear-gradient(145deg, #25d366, #20b85d);
          color: #fff;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 28px;
          z-index: 999;
          box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
          transition: all 0.3s ease;
          animation: whatsappPulse 3s infinite ease-in-out;
        }

        .whatsapp-float:hover {
          transform: scale(1.15) rotate(5deg);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
          background: linear-gradient(145deg, #1ebe5d, #19a850);
        }

        /* Animación de latido */
        @keyframes whatsappPulse {
          0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
          }
          70% {
            transform: scale(1.08);
            box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
          }
          100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
          }
        }


      /* ============================
          MODAL ACCESO (MEJORADO)
        ============================ */
        .modal-overlay {
          display: none;
          position: fixed;
          inset: 0;
          z-index: 10000;
          background: rgba(0, 0, 0, 0.6);
          justify-content: center;
          align-items: center;
          animation: fadeInBg 0.3s ease;
        }

        .modal-container {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 100%;
          height: 100%;
        }

        .modal-content {
          background: #fff;
          width: 90%;
          max-width: 430px;
          padding: 30px 25px;
          border-radius: 18px;
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
          position: relative;
          animation: fadeInModal 0.4s ease;
        }

        .modal-content h2 {
          text-align: center;
          color: #111;
          margin-bottom: 20px;
          font-weight: 700;
        }

        /* Botón cerrar */
        .modal-close {
          position: absolute;
          top: 12px;
          right: 15px;
          font-size: 22px;
          color: #777;
          cursor: pointer;
          transition: 0.3s;
        }
        .modal-close:hover { color: #000; }

        /* Formulario */
        .modal-form .form-group {
          margin-bottom: 18px;
          display: flex;
          flex-direction: column;
        }

        .modal-form label {
          font-weight: 600;
          margin-bottom: 6px;
          color: #333;
        }

        .modal-form input[type="text"],
        .modal-form input[type="tel"],
        .modal-form input[type="email"] {
          padding: 9px 12px;
          border: 1.5px solid #ccc;
          border-radius: 8px;
          font-size: 15px;
          transition: 0.3s;
        }

        .modal-form input:focus {
          border-color: #25d366;
          outline: none;
          box-shadow: 0 0 5px rgba(37, 211, 102, 0.3);
        }

        /* Error */
        .error-text {
          color: #e53935;
          font-size: 13px;
          display: none;
          margin-top: 4px;
        }

        /* Radio en una sola línea */
        .radio-group {
          flex-direction: row;
          justify-content: space-around;
          align-items: center;
        }

        /* Botón igual que "Acceder" */
        .btn-enviar {
          width: 100%;
          padding: 10px;
          font-weight: 600;
          border: none;
          border-radius: 8px;
          transition: 0.3s;
          cursor: pointer;

          color: #fff !important;
          background: rgb(19,175,240);
          background: linear-gradient(105deg, rgba(91,104,235,1) 0%, rgba(40,225,253,1) 100%);
        }

        .btn-enviar:hover {
          background: linear-gradient(105deg, rgba(91,104,235,1) 0%, rgba(40,225,253,1) 100%);
          transform: scale(1.05);
        }

        /* Animaciones */
        @keyframes fadeInModal {
          from { opacity: 0; transform: translateY(-20px); }
          to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInBg {
          from { opacity: 0; }
          to { opacity: 1; }
        }



        .telefono-input {
          display: flex;
          align-items: center;
          gap: 8px;
        }

        .telefono-input select {
          padding: 8px;
          font-size: 14px;
          border: 1px solid #ccc;
          border-radius: 8px;
          background-color: #fff;
          cursor: pointer;
        }

        .telefono-input input {
          flex: 1;
          padding: 8px;
          font-size: 14px;
          border-radius: 8px;
          border: 1px solid #ccc;
        }


        #modalPlan .modal-container {
        border: 2px solid #4f86ef;
        box-shadow: 0 0 25px rgba(79, 134, 239, 0.5);
        }

        .whatsapp-float {
        cursor: pointer; /* 👈 Hace que aparezca la manito al pasar el mouse */
        }

        /* Enlaces de contacto del footer */
        .footer-widget a {
        color: #ffffff; /* color del texto */
        text-decoration: none;
        cursor: pointer; /* 👈 muestra la manito */
        transition: color 0.3s ease, transform 0.2s ease;
        }

        .footer-widget a:hover {
        color: #ffffff; /* cambia a un azul suave al pasar el mouse */
        transform: scale(1.05); /* pequeño zoom para efecto visual */
        }




        /* Overlay */
        #loading {
          position: fixed;
          top: 0; left: 0;
          width: 100vw; height: 100vh;
          z-index: 9999;
          display: flex;
          justify-content: center;
          align-items: center;
        }

        #loading.hidden { display: none; }

        /* Fondo oscuro semi-transparente */
        #loading .loading-bg {
          position: absolute;
          top: 0; left: 0;
          width: 100%; height: 100%;
          background: rgba(0,0,0,0.5);
        }

        /* Spinner y texto centrado */
        #loading .spinner-container {
          position: relative; /* sobre el fondo */
          display: flex;
          flex-direction: column;
          align-items: center;
          z-index: 10;
        }

        #loading .spinner {
          width: 50px; height: 50px;
          border: 6px solid #f3f3f3;
          border-top: 6px solid #4CAF50;
          border-radius: 50%;
          animation: spin 1s linear infinite;
          margin-bottom: 15px;
        }

        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        #loading span {
          color: white;
          font-size: 1.1rem;
          font-weight: 500;
        }


        /* Overlay exclusivo del modal de éxito */
.modal-overlay-exito {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6); /* fondo semi-transparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000; /* siempre encima */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Mostrar overlay */
.modal-overlay-exito.show {
  opacity: 1;
  visibility: visible;
}

/* Contenedor del modal de éxito */
.modal-exito {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: modalExitoScale 0.3s ease forwards;
}

/* Animación de aparición */
@keyframes modalExitoScale {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Logo */
.modal-exito .modal-logo {
  width: 80px;
  margin-bottom: 20px;
}

/* Títulos y texto */
.modal-exito h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
}

.modal-exito p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

/* Botón */
.modal-exito button {
  padding: 10px 25px;
  background-color: #4CAF50;
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-exito button:hover {
  background-color: #43a047;
}
