/* RESET BASICO */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: #000;
  color: #fff;
  overflow-x: hidden;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* BACKGROUND */

.background {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100vh;

  background-image: url('../assets/images/bg-interface.jpg');
  background-size: cover;
  background-position: center;

  filter: blur(5px) brightness(0.65);

  transform: scale(1.1);

  z-index: -1;
}

/* CAPA OSCURA SOBRE EL FONDO */

.background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

/* CONTENEDOR PRINCIPAL */

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 20px;
}

/* CAJA PRINCIPAL */

.container-content {
  max-width: 1200px;
  width: 100%;

  background: #111;
  border-radius: 18px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);

  padding: 60px;

  display: flex;
  align-items: center;
  gap: 40px;
}

/* SVG */

.container-svg {
  flex: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-svg img {
  max-height: 290px;
}

/* TEXTO */

.container-text {
  flex: 60%;

  display: flex;
  flex-direction: column;
  gap: 25px;

  align-items: center;
}

/* TEXTO PRINCIPAL */

.text-main {
  font-size: 20px;
  line-height: 1.6;
  color: #d1d1d1;
}

/* TEXTO DESTACADO */

.text-highlight {
  font-size: 24px;
  font-weight: bold;

  color: #ffffff;
}

/* BOTON */

.btn-ingresar {
  background: #fdda24;
  border: none;

  padding: 14px 28px;

  border-radius: 30px;

  font-size: 16px;
  font-weight: bold;

  cursor: pointer;

  width: 160px;

  color: #000;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.btn-ingresar:hover {
  background: #f7d94a;
  color: #ffffff;
}

.btn-ingresar:focus {
  outline: none;
  background: #f7d94a;
  color: #ffffff;
}

/* FOOTER */

.footer {
  background: #0f0f10;

  padding: 10px 20px;

  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;

  margin-bottom: 15px;

  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;

  text-decoration: none;

  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: #a1a1a1;

  font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .container {
    padding: 25px;
  }

  .btn-ingresar {
    background: #fdda24;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: 120px;
    color: #000;
    margin-bottom: 35px;
    transition:
      background 0.2s ease,
      color 0.2s ease;
    }

  .container-content {
    flex-direction: column;
    padding: 5px 20px;
    text-align: center;
    gap: 0px;
  }

  .container-svg img {
    max-height: 130px;
  }

  .text-main {
    font-size: 14px;
  }

  .text-highlight {
    font-size: 16px;
  }

  .btn-ingresar {
    margin: auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================= */
/* ALERTA MODAL ACTUALIZACION */
/* ========================= */

.modal-alerta {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.45);

  opacity: 0;
  pointer-events: none;

  transition: 0.35s;

  z-index: 9999;
}

.modal-alerta.mostrar {
  opacity: 1;
  pointer-events: auto;
}

/* CAJA BLANCA */

.modal-contenido {
  background: #ffffff;
  color: #333;

  width: 360px;
  max-width: 90%;

  border-radius: 14px;

  padding: 16px 20px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);

  transform: translateY(-40px);
  transition: 0.35s;

  text-align: center;

  position: relative;
}

.modal-alerta.mostrar .modal-contenido {
  transform: translateY(0);
}

/* ICONO */

.modal-icono {
  position: absolute;
  left: 12px;
  top: 10px;

  font-size: 20px;
}

/* TITULO */

.modal-texto strong {
  display: block;

  font-size: 18px;

  margin-bottom: 10px;

  text-align: center;
}

/* TEXTO */

.modal-texto p {
  font-size: 15px;

  line-height: 1.6;

  margin: 0 auto;

  max-width: 300px;

  text-align: center;
}

/* BOTON */

.modal-boton {
  background: #fdda24;
  border: none;

  padding: 9px 24px;

  border-radius: 8px;

  font-weight: bold;

  cursor: pointer;

  display: block;

  margin: 18px auto 0 auto;
}

.modal-boton:hover {
  background: #f2c700;
}

/* INPUTS CONTACTO */

.input-contacto {
  width: 100%;
  padding: 12px;

  margin-top: 0px;
  margin-bottom: 0px;

  border-radius: 8px;
  border: none;

  background: #1c1c1c;
  color: white;

  font-size: 14px;
}

.input-contacto::placeholder {
  color: #aaa;
}

textarea.input-contacto {
  min-height: 120px;
  resize: none;
}

/* ICONO EXITO */

.modal-icono.exito {
  color: white;
  background: #00c853;

  width: 26px;
  height: 26px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
}

/* BLOQUEAR SCROLL SOLO EN LANDING */

.landing-fija {
  overflow-x: hidden;
  min-height: 100dvh;
  overscroll-behavior: none;
}

/* BACKGROUND MOBILE */

@media (max-width: 768px) {
  .background {
    background-image: url('../assets/images/bg-phone-interface.jpg');
    background-size: auto;
    background-position: center;
    overflow: hidden;
  }

  /* ========================= */
  /* AJUSTES MODAL MOBILE */
  /* ========================= */
  .modal-contenido {
    width: 85%;
    max-width: 260px;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .modal-texto strong {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .modal-texto p {
    font-size: 13px;
    line-height: 1.4;
  }

  .modal-boton {
    width: 100%;
    padding: 8px 0;
    font-size: 14px;
    margin-top: 12px;
  }

  .modal-icono {
    font-size: 18px;
  }

  .footer {
    background: #0f0f10;
    padding: 75px 20px 20px 20px;
    text-align: center;
  }
}
