html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff; 
  overflow-x: hidden;
}
/* =====================
   Encabezado.
===================== */
.header {
  position: relative;
  width: 100%;
  height: 150px;
  background-color: #161c29; 
}

/* ===============================
   LOGO.
=============================== */
.logo-container {
  position: fixed;
  top: 10px;
  left: 20px;
  background-color: #0c2253;
  padding: 0px 3px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  z-index: 500;
  overflow: visible;
}

.logo-container img {
  width: 240px;
  height: auto;
  transition: transform 0.3s;
  transform: scale(1.4) translateY(-30px) translateX(-20px);
  transform-origin: left top;
}

@media (max-width: 220px) {
  .logo-container {
    top: 5px;
    left: 5px;
    padding: 0px 4px;
  }

  .logo-container img {
    width: 120px;
    transform: scale(1.1) translateY(-15px) translateX(-10px);
  }
}

@media (max-width: 400px) and (min-width: 221px) {
  .logo-container {
    top: 5px;
    left: 5px;
    padding: 0px 6px;
  }

  .logo-container img {
    width: 150px;
    transform: scale(1.2) translateY(-18px) translateX(-12px);
  }
}

@media (max-width: 1024px) and (min-width: 401px) {

  .logo-container {
    top: 10px;
    left: 10px;
    padding: 0px 5px;
  }

  .logo-container img {
    width: 160px;
    transform: scale(1.25) translateY(-15px) translateX(-5px);
  }
}

/* =====================
   Banner.
===================== */
.imagen-superior {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-top: 0px;

  opacity: 0;
  transform: translateY(-20px);
  animation: aparecerBanner 1.5s ease-out forwards;
}


@keyframes aparecerBanner {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-container {
  position: relative;
}

/* =====================
   Links de la barra de navegacion.
===================== */
.top-links {
  position: absolute;
  top: 50px;
  right: 100px;
  display: flex;
  gap: 50px ;
  font-size: 29px !important;
  font-weight: bold;
  z-index: 1001;
}

.top-links a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;

  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.top-links a:hover {
  transform: scale(1.20);
  color: rgb(44, 45, 45);
}

/* =====================
   Primer titulo.
===================== */
.titulo-principal {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #000000;
  margin-top: 60px;
  line-height: 1.2;
  opacity: 0;
  transform: translateX(-100px);
  animation: aparecerIzquierda 1s ease-out forwards;
}

.titulo-principal .azul {
  color: #0851fa;
}

.navbar-container {
  width: 23%;
  height: 8px;
  background-color: #0851fa !important;
  margin: -15px auto 0 auto;
  border-radius: 12px;
  opacity: 0;
  transform: translateX(-100px);
  animation: aparecerIzquierda 1s ease-out 1s forwards;
}
.navbar-container {
  width: 30%;
  height: 8px;
  background-color: #1E90FF;
  margin: 4px auto 0 auto;
  border-radius: 12px;
}

/* =====================
   Barra de navegación.
===================== */
.top-links {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  gap: 80px;
  font-size: 23px;
  font-weight: bold;
  background-color: #0851fa;
  padding: 30px 50px;
  border-radius: 8px;
  z-index: 1001;
}

/* =======================================
   Barra en el modo celular o tablet.
======================================= */
.btn-menu {
  display: none;
  font-size: 28px;
  padding: 10px 14px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  background: #0851fa;
  color: white;
  border: none;
  border-radius: 8px;
  z-index: 2000;
}

@media (max-width: 1024px) {

  .btn-menu {
    display: block;
  }

  .top-links {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 45px !important;
    right: 15px;
    background: #0851fa;
    padding: 0 18px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    transition: all 0.35s ease;
  }

  .top-links.active {
    max-height: 300px;
    opacity: 1;
    padding: 15px 18px;
  }
}


/* =====================
   Mas información.
===================== */
.texto-secundario {
  text-align: center;
  font-size: 20px;
  color: #010101;
  margin-top: 30px;
  opacity: 0;
  transform: translateX(-100px);
  animation: aparecerIzquierda 1s ease-out 1.8s forwards;
  line-height: 1.4;
   font-weight: bold;
}

@keyframes aparecerIzquierda {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

body, h1, a {
  font-family: 'Montserrat', 'Arial', sans-serif;
}

/* =====================
Boton contactar.
===================== */
.contenedor-contactar-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 25px;

  opacity: 0;
  transform: translateY(-40px);
  animation: animarContactar 0.8s ease-out forwards;
}

.boton-contactar-principal {
  padding: 15px 55px;
  background-color: #0851fa;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
}

.boton-contactar-principal:hover {
  background-color: #2993e4;
}

@keyframes animarContactar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.popup-contacto {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);
}

.popup-contacto.open-popup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-contacto-contenido {
  background: #ffffff;
  width: 330px;
  padding: 28px 28px 5px 28px;
  border-radius: 18px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  opacity: 0;
  transform: scale(0.7);
  animation: aparecerPopup 0.35s ease-out forwards;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

@keyframes aparecerPopup {
  to { opacity: 1; transform: scale(1); }
}

.popup-title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-bottom: 12px;
}

.popup-contacto p {
  font-size: 20px !important;
  font-weight: bold !important;
  color: #000 !important;
  line-height: 1.6;
}

.label-telefono {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: bold;
  color: #000;
}

#telefono {
  width: 100%;
  padding: 10px;
  border: 2px solid #0851fa;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.btn-enviar {
  background-color: #0851fa;
  color: #fff;
  border: none;
  padding: 12px 35px;
  font-size: 16px;
  border-radius: 26px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-enviar:hover {
  background-color: #149be3;
}

.cerrar {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 42px!important;
  font-weight: bold!important;
  cursor: pointer;
  color: #000!important;
  transition: 0.2s;
}

.cerrar:hover {
  color: #0851fa !important;
}

.linea-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.icono-tel {
  width: 25px;
  height: auto;
}

@media (max-width: 480px) {
  
  .popup-contacto-contenido {
    width: 85%;
    padding: 22px 20px 5px 20px;
    border-radius: 14px;
  }

  .popup-title {
    font-size: 18px;
  }

  .popup-contacto p {
    font-size: 18px !important;
  }

  .icono-tel {
    width: 20px;
  }

  .cerrar {
    font-size: 36px !important;
    top: 5px;
    right: 10px;
  }

  .btn-enviar {
    padding: 10px 28px;
    font-size: 15px;
  }
}

@media (max-width: 1024px) and (min-width: 481px) {

  .popup-contacto-contenido {
    width: 60%;
    padding: 30px;
  }

  .popup-title {
    font-size: 22px;
  }

  .popup-contacto p {
    font-size: 19px !important;
  }

  .icono-tel {
    width: 22px;
  }

  .cerrar {
    font-size: 40px !important;
  }

  .btn-enviar {
    padding: 12px 32px;
    font-size: 17px;
  }
}


/* =====================
   Cuadros de información.
===================== */
.rectangulos-container {
  display: flex;
  flex-wrap: wrap;         
  justify-content: center; 
  gap: 50px;               
  margin-top: 60px;        
  max-width: 1200px;       
  margin-left: auto;
  margin-right: auto;
}

.rectangulo {
  width: 350px;             
  height: 200px;            
  background-color: #292728; 
  display: flex;             
  justify-content: space-between; 
  align-items: center;       
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 16px;          
  color: #fff;
  text-align: left;          
  padding: 10px;            
  box-sizing: border-box;
  border-radius: 12px;       
  opacity: 0;
  transform: translateX(-100px);
  animation: aparecerIzquierdaRect 0.8s ease-out forwards;
}

.rectangulo:nth-child(1) { animation-delay: 0.3s; }
.rectangulo:nth-child(2) { animation-delay: 0.5s; }
.rectangulo:nth-child(3) { animation-delay: 0.7s; }
.rectangulo:nth-child(4) { animation-delay: 0.9s; }
.rectangulo:nth-child(5) { animation-delay: 1.1s; }
.rectangulo:nth-child(6) { animation-delay: 1.3s; }

@keyframes aparecerIzquierdaRect {
  0% { transform: translateX(-100px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.rectangulo .texto-contenedor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 60%;           
}

.rectangulo .titulo-rectangulo {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
}

.rectangulo .texto-rectangulo {
  font-weight: normal;
  font-size: 16px;
  line-height: 1.3;
}

.rectangulo img {
  width: auto;
  border-radius: 8px;
}

.rectangulo:nth-child(1) img { height: 70%; }
.rectangulo:nth-child(2) img { height: 40%; }
.rectangulo:nth-child(3) img { height: 55%; }
.rectangulo:nth-child(4) img { height: 50%; }
.rectangulo:nth-child(5) img { height: 60%; }
.rectangulo:nth-child(6) img { height: 55%; }

@media (max-width: 480px) {
  .rectangulos-container {
    gap: 25px;
    margin-top: 30px;
  }

  .rectangulo {
    width: 90%;
    height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
  }

  .rectangulo img {
    width: 60%;
    height: auto;
    margin-bottom: 10px;
  }

  .rectangulo .texto-contenedor {
    max-width: 100%;
  }

  .rectangulo .titulo-rectangulo {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .rectangulo .texto-rectangulo {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* =====================
  Segundo titulo.
===================== */
.titulo-paquetes {
  text-align: center;
  margin-top: 50px;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 32px;
  font-weight: bold;

  opacity: 0;
  transform: translateX(-100px);
  animation: aparecerIzquierda 1s ease-out forwards;
  animation-delay: 0.5s;
}

.titulo-paquetes a {
  text-decoration: none;
  color: #000000;
  transition: color 0.2s;
}

.titulo-paquetes .azul {
  color: #0851fa;
}

@keyframes aparecerIzquierda {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/* =====================
   Cuadros de precios.
===================== */

.recuadros-paquetes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.fila-recuadros {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.recuadro-paquete {
  width: 250px;
  height: 150px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
}

.contenedor-recuadros {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.recuadro-paquete {
  width: 250px;
  height: 250px;
  background-color: #c1bcbc;
  border-radius: 14px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  opacity: 0;
  transform: translateX(-100px);
  animation: aparecerDesdeIzquierda 0.8s ease-out forwards;
}

.recuadro-paquete:nth-child(1) { animation-delay: 0.3s; }
.recuadro-paquete:nth-child(2) { animation-delay: 0.5s; }
.recuadro-paquete:nth-child(3) { animation-delay: 0.7s; }
.recuadro-paquete:nth-child(4) { animation-delay: 0.9s; }
.recuadro-paquete:nth-child(5) { animation-delay: 1.1s; }
.recuadro-paquete:nth-child(6) { animation-delay: 1.3s; }

@keyframes aparecerDesdeIzquierda {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 1024px) {  
  .recuadro-paquete {
    width: 45% !important;  
    height: 220px !important;
  }

  .titulo-plan {
    font-size: 20px !important; 
  }

  .precio .cifra {
    font-size: 28px !important;
  }

  .precio .periodo {
    font-size: 16px !important;
  }

  .btn-plan {
    font-size: 16px !important;
    padding: 8px 20px !important;
  }
}

@media (max-width: 400px) {  
  .recuadro-paquete {
    width: 75% !important;  
    height: 200px !important;
  }

  .titulo-plan {
    font-size: 18px !important; 
  }

  .precio .cifra {
    font-size: 24px !important;
  }

  .precio .periodo {
    font-size: 18px !important;
  }

  .btn-plan {
    font-size: 16px !important;
    padding: 6px 16px !important;
  }
}

.titulo-plan {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.precio {
  width: 100%;
  background-color: #0851fa;
  text-align: center;
  padding: 5px 0;
  border-radius: 10px;
  margin-bottom: 20px;
}

.precio .cifra {
  display: block;
  font-size: 35px;
  font-weight: bold;
  color: #fff;
}

.precio .periodo {
  display: block;
  font-size: 18px;
  color: #000000;
}

.btn-plan {
  background: transparent;
  border: 2px solid #0851fa;
  color: #0851fa;
  font-size: 18px;
  padding: 10px 24px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-plan:hover {
  background: #0851fa;
  color: #fff;
}

.popup {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.popup.open-popup {
  display: block;
}

.popup-contenido {
  background: #fff;
  margin: 12% auto;
  padding: 25px 25px 35px 25px;
  border-radius: 14px;
  width: 320px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  font-family: 'Montserrat', sans-serif;
}

.label-telefono {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

#telefono {
  width: 100%;
  padding: 8px;
  border: 2px solid #0851fa;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.btn-enviar {
  background-color: #0851fa;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  border-radius: 24px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-enviar:hover {
  background-color: #149be3;
}

.cerrar {
  position: absolute;
  top: 5px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: 0.2s;
}

.cerrar:hover {
  color: #0851fa;
}

/* =====================
Ultimos cuadoros.
===================== */
.bottom-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 20px;
  flex-wrap: wrap;
    
}

.bottom-section {
  flex: 1;
  min-width: 250px;
 background-color: #0851fa;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  color: #fff;
}

.bottom-section p, .bottom-section ul, .bottom-section li {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
 
.bottom-section ul {
  padding-left: 20px;
  margin-top: 10px;
}

.imagen-row {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.imagen-row img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}

.inline-icon {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 18px;
}

.direccion {
  display: block;
  margin-left: 43px;
  text-indent: -43px;
  line-height: 1.9;
  margin-bottom: 18px;
}


.direccion img.inline-icon {
  width: 30px;
  height: 30px;
  position: relative;
  top: 8px;
  margin-right: 18px;
}

.bottom-section.center ul {
  list-style: none;
  padding-left: 10px;
  margin-top: 35px;
  font-size: 20px;
  font-weight: bold;
}

.bottom-section.center ul li {
  margin-bottom: 10px;     
  position: relative;      
  padding-left: 20px;      
}

.bottom-section.center ul li::before {
  content: ">";            
  position: absolute;
  left: 0;                 
  color: #fff;             
  font-weight: bold;
}

.bottom-section.center ul li a {
  color: #fff;             
  text-decoration: none;   
  font-size: 19px;
  transition: color 0.3s;
}

.bottom-section.center ul li a:hover {
  color: #000000;          
}

@media (max-width: 1024px) {
  .bottom-container {
    flex-direction: column;
    align-items: center;
  }
  .bottom-section {
    width: 90%;
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .bottom-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 350px;
  }
  .bottom-section {
    width: 90%;
    margin: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 449px) {
  .bottom-container {
    padding-top: 600px;
  }

  .bottom-section.left {
    position: relative;
    padding-bottom: 120px;
  }

  .imagen-row {
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
  }

  .imagen-row img {
    width: 50px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
  }
}

@media (max-width: 1024px) {
  #bottomBar {
    height: 200px;
  }

  .bottom-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
  }

  .bottom-section {
    width: 90%;
    margin: 0;
  }
}

@media (max-width: 449px) {
  #bottomBar {
    height: 150px;
  }

  .bottom-container {
    padding-top: 5px;
  }

  .bottom-section.left {
    padding-bottom: 80px;
  }

  .imagen-row {
    bottom: 5px;
    gap: 6px;
  }

  .imagen-row img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1024px) {
  .bottom-container {
    margin-top: 50px;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 449px) {
  .bottom-container {
    margin-top: 50px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
}

@media (max-width: 439px) {
  .bottom-container {
    margin-top: 50px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (min-width: 1025px) {
  .bottom-container {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 20px;
  }
}

@keyframes aparecerDesdeIzquierda {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animacion-cuadros .bottom-section {
  opacity: 0;
  animation: aparecerDesdeIzquierda 1s ease-out forwards;
}

.animacion-cuadros .bottom-section:nth-child(1) {
  animation-delay: 0.5s;
}
.animacion-cuadros .bottom-section:nth-child(2) {
  animation-delay: 0.8s;
}
.animacion-cuadros .bottom-section:nth-child(3) {
  animation-delay: 1.1s;
}

@media (max-width: 238px) {
  .bottom-section {
    min-width: 180px;
    padding: 10px;
    border-radius: 8px;
  }

  .bottom-section p,
  .bottom-section ul,
  .bottom-section li,
  .bottom-section.center ul li a {
    font-size: 12px;
    line-height: 1.2;
  }

  .bottom-section h3,
  .bottom-section h4 {
    font-size: 14px;
  }

  .imagen-row img {
    width: 25px;
    height: 25px;
    border-radius: 3px;
  }

  .inline-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }

  .bottom-section.center ul {
    margin-top: 15px;
    font-size: 14px;
  }

  .bottom-container {
    gap: 8px;
    padding-top: 10px;
  }
}

@media (max-width: 1024px) {
  .top-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: auto;
    padding: 8px 12px;
    top: 15px;
    right: 15px;
  }

  .top-links a {
    text-align: left;
    font-size: 18px;
  }
}

@media (max-width: 329px) {
  .top-links {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 6px 10px;
    gap: 6px;
    flex-direction: column;
    width: auto;
  }

  .top-links a {
    text-align: left;
    font-size: 16px;
  }
}

.contenedor-boton {
  text-align: center;
  margin-top: 30px;
}

@keyframes aparecerDesdeIzquierdaBoton {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =====================
Boton ver mas.
===================== */
.btn-ver-mas {
  background-color: #0851fa;  
  color: #fff;
  font-size: 18px;
  padding: 12px 30px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s;

  opacity: 0;
  animation: aparecerDesdeIzquierdaBoton 1s ease-out forwards;
  animation-delay: 1.4s;
}

.btn-ver-mas:hover {
  background-color: #149be3;  
}


.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.popup.open-popup {
  display: block;
}

.popup-contenido {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.popup-imagen {
  width: 90%;
  height: auto;
  border-radius: 8px;
}

.cerrar {
  position: absolute;
  top: -2px;
  right: 10px;
  font-size: 45px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

@media (max-width: 1024px) and (min-width: 601px) {
  .popup-contenido {
    top: 15%;
  }
}

@media (max-width: 600px) {
  .popup-contenido {
    top: 30%;
  }
}

/* =====================
Barra con derechos.
===================== */
.footer-text {
  text-align: center;
  color: #fff;
  background-color: #161c29;
  padding: 15px 0;
  font-size: 18px;
  font-family: 'Montserrat', 'Arial', sans-serif;
  margin-top: 0;
  opacity: 0;
  transform: translateY(30px);
}

.footer-special {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 24px;
  display: inline-block;
  margin-right: 5px;
}

@keyframes aparecerFooter {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animacion-footer {
  animation: aparecerFooter 1.2s ease-out forwards;
  animation-delay: 0.8s;
}

@media (max-width: 768px) {
  .footer-text {
    font-size: 14px;
    padding: 10px 0;
  }
}

@media (max-width: 400px) {
  .footer-text {
    font-size: 12px;
    padding: 8px 0;
  }
}

@media (max-width: 230px) {
  body {
    overflow-x: auto;
  }

  .footer-text {
    min-width: 230px;
    font-size: 16px;
  }
}