@keyframes jump-shaking {
  0% {
    transform: translateX(0) rotate(0);
  }
  35% {
    transform: translateY(0) rotate(0);
  }
  85% {
    transform: translateY(0) rotate(0);
  }
  89% {
    transform: translateY(-2px) rotate(-17deg);
  }
  93% {
    transform: translateY(-3px) rotate(17deg);
  }
  98% {
    transform: translateY(-4px) rotate(-17deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes play-blink {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.5);
    opacity: 0.1;
  }
}
.floating-contact-wrapper {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 20px;
}
.floating-contact-wrapper:after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  transition: all 0.5s ease-in-out;
  clip-path: circle(0px at 100% 100%);
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.47);
  z-index: -2;
}
.floating-contact-wrapper.active-floating-contact:after {
  width: 100%;
  height: 100%;
  clip-path: circle(148% at 100% 100%) !important;
}
.floating-contact-wrapper.active-floating-contact .floating-contact-inner {
  display: block;
}
.floating-contact-wrapper.active-floating-contact .floating-contact-button {
  position: absolute;
  bottom: -100px;
  z-index: -1;
}

.floating-contact-inner {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 4px;
  display: none;
  position: relative;
  width: 360px;
}
.floating-contact-inner .floating-contact-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  align-items: center;
}
.floating-contact-inner .floating-contact-header h3 {
  margin: 0;
  font-size: 22px;
}
.floating-contact-inner .input-field-wrapper {
  margin-bottom: 10px;
}
.floating-contact-inner .input-field-wrapper .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.floating-contact-inner .input-field-wrapper .form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.floating-contact-inner .input-field-wrapper .form-control::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}
.floating-contact-inner .input-field-wrapper .form-control::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}
.floating-contact-inner .input-field-wrapper .form-control:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}
.floating-contact-inner .input-field-wrapper .form-control::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}
.floating-contact-inner .input-field-wrapper .form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}
.floating-contact-inner .input-field-wrapper .form-control:disabled, .floating-contact-inner .input-field-wrapper .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}
.floating-contact-inner .input-field-wrapper .btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.floating-contact-inner .input-field-wrapper .btn:hover {
  color: #212529;
  text-decoration: none;
}
.floating-contact-inner .input-field-wrapper .btn:focus, .floating-contact-inner .input-field-wrapper .btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.floating-contact-inner .input-field-wrapper .btn:disabled, .floating-contact-inner .input-field-wrapper .btn.disabled {
  pointer-events: none;
  opacity: 0.65;
}
.floating-contact-inner .input-field-wrapper .btn-brand {
  padding: 10px 34px;
  transition: 0.2s;
  background-color: #1e348c;
  color: #ffffff;
  width: 100%;
}
.floating-contact-inner .input-field-wrapper .btn-brand:hover {
  background-color: #142777;
  color: #ffffff;
}
.floating-contact-inner .input-field-wrapper .btn-whatsapp-chat {
  background-color: #25d366;
  border-color: #25d366;
  color: #111b21;
  padding: 10px 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: color 0.33s linear 0.5s, border-color ease-out 0.5s, background-color 0.33s linear 0s;
  white-space: pre;
  z-index: 1;
  width: 100%;
}
.floating-contact-inner .input-field-wrapper .btn-whatsapp-chat:after {
  background-color: #1c1e21;
  border-radius: 50%;
  content: "";
  height: 167px;
  min-width: 167px;
  position: absolute;
  left: 0;
  top: 0;
  transform: scale(1) translateY(67px);
  transition: transform 1s cubic-bezier(0.66, 0, 0.34, 1);
  width: 100%;
  z-index: -1;
}
.floating-contact-inner .input-field-wrapper .btn-whatsapp-chat:hover {
  background-color: #25d366;
  border-color: #1c1e21;
  color: #ffffff;
  transition-delay: 0.5s;
}
.floating-contact-inner .input-field-wrapper .btn-whatsapp-chat:hover:after {
  transform: scale(1.47) translateY(0);
}

.floating-contact-button {
  width: 60px;
  height: 60px;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out 0s;
  background-color: #ffc107;
  border: 3px solid #ffffff;
  border-radius: 60px;
  color: #ffffff;
  position: absolute;
  bottom: 0;
}
.floating-contact-button svg {
  font-size: 20px;
  animation: jump-shaking 1.83s infinite;
}
.floating-contact-button svg path {
  fill: #02220c;
}
.floating-contact-button:before, .floating-contact-button:after {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  background: #0ea57f;
  position: absolute;
  animation: play-blink infinite 2s;
  border-radius: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.floating-contact-button:before {
  animation-delay: 1s;
}
.floating-contact-button:hover {
  background: #8cdf6c;
}

.close-floating-contact {
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: none;
  padding: 0;
}
.close-floating-contact span {
  width: 100%;
  display: block;
  height: 3px;
  background-color: #5D5D5D;
  border-radius: 3px;
  position: relative;
}
.close-floating-contact span:before, .close-floating-contact span:after {
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  background: #5D5D5D;
  position: absolute;
  border-radius: 3px;
  transition: 0.2s linear;
}
.close-floating-contact:hover span {
  background-color: transparent;
}
.close-floating-contact:hover span:before {
  top: 0;
  transition-delay: 0.2s;
  transform: rotate(40deg);
  background-color: #5D5D5D;
}
.close-floating-contact:hover span:after {
  top: 0;
  transition-delay: 0.2s;
  transform: rotate(-40deg);
  background-color: #5D5D5D;
}

body {
  background: linear-gradient(135deg, #1a3541, #31545f, #5eabcc);
      color: #1a1919;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 20px;
       background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

* {
  box-sizing: border-box;
}

.separator {
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  font-size: 14px;
  line-height: 15px;
}
.separator:before {
  content: "";
  background: #D6D6D6;
  height: 1px;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
}
.separator span {
  background: #fff;
  z-index: 2;
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
}



    h1 {
      font-size: 3rem;
      margin-bottom: 20px;
      animation: fadeInDown 1.2s ease-out;
    }

    p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      animation: fadeInUp 1.4s ease-out;
    }

    .loader {
      border: 6px solid #f3f3f3;
      border-top: 6px solid #00d8ff;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      margin: 0 auto;
      animation: spin 1.2s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .footer {
      margin-top: 40px;
      font-size: 0.9rem;
      opacity: 0.7;
    }

    .color {
  color: rgb(22, 21, 21);
   }

   .respuesta {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* sombra más fuerte */
    max-width: 100%;
    text-align: center;
}


.respuesta.success {
    background-color: #28a745 !important;   /* verde fuerte */
    color: #fff !important;                 /* texto blanco */
    border: 1px solid #1e7e34;
}

.respuesta.error {
    background-color: #dc3545 !important;   /* rojo fuerte */
    color: #a70a0a !important;                 /* texto blanco */
    border: 1px solid #b21f2d;
}

 p.ingresar-link {
    text-align: center; /* Centrar el texto */
    margin: 20px 0;
  }

  p.ingresar-link a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007BFF; /* Azul bootstrap */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  p.ingresar-link a:hover {
    background-color: #0056b3; /* Azul más oscuro al pasar mouse */
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  }

  .ingresar-link {
  position: fixed;      /* Lo fija en la ventana */
  top: 20px;            /* Distancia desde arriba */
  right: 20px;          /* Distancia desde la derecha */
  margin: 0;            /* Elimina margen por defecto */
  z-index: 1000;        /* Que esté sobre otros elementos */
}

.ingresar-link a {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.ingresar-link a:hover,
.ingresar-link a:focus {
  background-color: #0056b3;
  box-shadow: 0 6px 15px rgba(0, 86, 179, 0.5);
  outline: none;
}

.hero {
  background: #007acc;
  color: white;
  text-align: center;
  padding: 50px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.btn-primary {
  background-color: #ffc107;
  color: #333;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #e0a800;
  color: #000;
}

.features, .how-it-works {
  max-width: 800px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
  color: #222;
}
.features h3, .how-it-works h3 {
  color: #005a9c;
  margin-bottom: 20px;
}
.features ul {
  list-style: none;
  padding-left: 0;
}
.features ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}
.features ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #007acc;
  font-weight: bold;
}
.how-it-works ol {
  padding-left: 20px;
}
.how-it-works ol li {
  margin-bottom: 12px;
  font-weight: 500;
}

.ingresar-link {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  margin: 0; /* quitar margen para evitar desplazamiento */
}

.ingresar-link a {
  font-weight: 700;
  font-size: 1.1rem;
  color: #007acc;
  border: 2px solid #007acc;
  padding: 8px 16px;
  border-radius: 6px;
  background: white;
  box-shadow: 0 2px 8px rgb(0 122 204 / 0.3);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ingresar-link a:hover {
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
}

.container {
      background-color: #ffffff; /* fondo blanco */
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1); /* sombra ligera */
      width: 90%;
      max-width: 900px;
      margin: 40px auto;
      font-family: Arial, sans-serif;
}

/* Features Section */
    .features, .how-it-works {
      max-width: 800px;
      margin: 0 auto 60px auto;
      padding: 0 20px;
      color: #222;
      text-align: left;
    }
    .features h3, .how-it-works h3 {
      color: #005a9c;
      margin-bottom: 20px;
      font-weight: 700;
      font-size: 1.8rem;
    }
    .features ul {
      list-style: none;
      padding-left: 0;
    }
    .features ul li {
      margin-bottom: 12px;
      position: relative;
      padding-left: 25px;
      font-size: 1.1rem;
    }
    .features ul li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: #007acc;
      font-weight: bold;
    }
    /* Features Section */
    .features, .how-it-works {
      max-width: 800px;
      margin: 0 auto 60px auto;
      padding: 0 20px;
      color: #222;
      text-align: left;
    }
    .features h3, .how-it-works h3 {
      color: #005a9c;
      margin-bottom: 20px;
      font-weight: 700;
      font-size: 1.8rem;
    }
    .how-it-works ol {
      padding-left: 20px;
      font-size: 1.1rem;
    }
    .how-it-works ol li {
      margin-bottom: 12px;
      font-weight: 500;
    }

    #respuesta {
      margin-bottom: 10px;
      font-weight: 700;
      font-size: 0.95rem;
      padding: 6px 10px;
      border-radius: 5px;
      display: none;
    }
    #respuesta.show.success {
      display: block;
      background-color: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
    }
    #respuesta.show.error {
      display: block;
      background-color: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
    }
