/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



/* Variables */

:root{
    --bg-body : #0c0c0c;
    --primary-color : #d00303;
    --fontSize-title : 80px;
    --fontSize-parrafos : 20px; 
}

.body {
    background-color: var(--bg-body);
}

/*Preloader*/
.preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 120px;
}


nav.bg-infinitia {
    background: var(--bg-body);
    padding-top: 2em;
    padding-bottom: 2em;
}

.logo {
    padding-right: 30px;
}

.nav-link{
    color: #FFF !important;
    position: relative !important;
    font-size: 15px;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 0;
    font-style: normal;
}

.nav-link::after{
    width: 0%;
    height: 2px;
    background: transparent;
    content: "";
    position: absolute;
    bottom: 2px;
    left: 10px;
    transition: .4s;
}

.nav-link:hover{
    color: var(--primary-color) !important;
}

.nav-link:hover::after{
    background: var(--primary-color);
    width: 40%;
}

nav.bg-infinitia ul li.login {
    margin-left: 200px;
}

/* SECCION 1 */
.fondo-rojo {
    background-image: url("../images/bg/bg_red.png");
    min-height: 700px;
}

#hero {
    padding-top: 50px;
    padding-bottom: 50px;
  }

.border {
    border: 5px solid white;
}

.gran-texto {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    text-shadow: 0.15vmin 0.15vmin rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin-bottom: 20px;
    word-break: break-word;
    font-size: clamp(32px, 6vw, 72px); /* 🎯 responsive magic */
  }

.espacio-header-up {
    margin-top: 150px;
    border: 0px solid black;
}

.espacio-header-up-2 {
    margin-top: 100px;
    border: 0px solid black;
}

.texto-normal {
    color: #FFF;
    font-size: clamp(16px, 2vw, 20px);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    max-width: 100%;
  }

/*------------------------------------------------------------*/
/*media querys para pagina principal*/
/* Pantallas pequeñas - móviles */
/* Móvil - centrado */
@media (max-width: 767px) {
    .efecto-cara-responsive {
      justify-content: center;
      max-width: 280px;
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  /* Tablet vertical */
  @media (min-width: 768px) and (max-width: 991px) {
    .efecto-cara-responsive {
      max-width: 360px;
      justify-content: flex-end;
    }
  }
  
  /* Tablet horizontal y desktop pequeño */
  @media (min-width: 992px) and (max-width: 1199px) {
    .efecto-cara-responsive {
      max-width: 420px;
    }
  }
  
  /* Desktop normal */
  @media (min-width: 1200px) and (max-width: 1435px) {
    .efecto-cara-responsive {
      max-width: 500px;
    }
  }
  
  /* Pantallas grandes (ultrawide) */
  @media (min-width: 1436px) {
    .efecto-cara-responsive {
      max-width: 560px;
    }
  }
  


/*-------------------------------------------------------------*/

/*seccion 2 servicios*/
.bg-servicios {
    background-image: url("../images/bg/bg_black-gray.png");
    min-height: 1084px;
}
.gran-texto-2 {
    color: white;
    font-size: 50px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding-top: 50px;
}

.texto-normal-2 {
    color: #FFF;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.texto-normal-3 {
    color: #FFF;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
    text-align: left;
}

.up {
    padding-top: 30px;
}

.subtitle {
    color: #FFF;
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-top: 30px;
}

/* Planes web */

.plan-starter {
    width: 333px;
    height: 611px;
    z-index: 0;
}

.texto-plan-primero {
    z-index: 1;
    color: #FFF;
    position: absolute;
    top: 100px;
    left: 50px;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.texto-plan-inverso {
    z-index: 1;
    color: black;
    position: absolute;
    top: 100px;
    left: 50px;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.promo {
    background: #0c0c0c;
    color: #FFF;
    width: 333px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
    border: 2px solid white;
    margin-bottom: 80px;
}

.deal {
    padding: 10px 0 0 0;
}

.deal span {
    display: block;
    text-align: center;
}

.deal span:first-of-type {
    font-size: 40px;
    font-weight: 600;
}

.deal span:last-of-type {
    font-size: 13px;
}

.promo .price {
    display: block;
    width: 100%;
    background: #292b2e;
    margin: 15px 0 10px 0;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    padding: 17px 0 17px 0;
}

ul {
    display: block;
    margin: 20px 0 10px 0;
    padding: 0;
    list-style-type: none;
    color: #999999;
}

li {
    display: block;
    text-align: center;
    margin: 2px 10px 2px 10px;
    padding: 5px 10px 5px 10px;
}

/* barra de clientes*/
.bg-clientes {
    background-color: black;
    min-height: 364px;
}

.cliente-logo {
    margin: 120px 0 0 0;
}

/* seccion nosotros*/
.bg-nosotros {
    background: url("../images/bg/bg-nosotros.png");
    min-height: 917px;
}

.barra {
    border: 1px dashed white;
}

a {
  text-decoration: none;  
  color: #FFF;
  font-weight: 600;
}

a:hover {
    text-decoration: none;  
    color: #7f0f0f;
    font-weight: 600;
}

/*Contacto*/
.obscuro {
    background-color: #000;
    color: #FFF;
    font-size: large;
    margin-top: 15px;
}

/*Footer*/
.bg-footer {
    background-color: var(--bg-body);
    min-height: 300px;
}

.espacio {
    margin-top: 40px;
    background-color: #000;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
  }
  
  footer ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  .subtitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  footer a.text-white:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }

/*Testimonios*/
#testimonialSlider {
    max-width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .carousel-inner blockquote {
    font-size: 1.2rem;
  }
  
  .carousel-indicators li {
    background-color: #fff;
  }
  

  /*estilos mejorados del contacto*/
#contacto input,
#contacto textarea,
#contacto select {
  background-color: #1c1c1c;
  color: white;
  border: 1px solid #555;
}

#contacto input::placeholder,
#contacto textarea::placeholder {
  color: #999;
}

#contacto .form-label {
  font-weight: 500;
}

/*animaciones*/

/*efecto loop flotar*/
/* Contenedor responsivo y centrado */
.efecto-cara-responsive {
    width: 100%;
    position: relative;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alineado a la derecha por defecto */
    aspect-ratio: 1 / 1;
    max-width: 100%;
  }
  
  .cara-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: contain;
  
    animation:
      escalaInicio 1.2s ease-out forwards,
      flotar 4s ease-in-out infinite 1.2s,
      glow 2s ease-in-out infinite 1.2s;
  }
  
  /* Animaciones */
  @keyframes flotar {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }
  
  @keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px #FFF); }
    50% { filter: drop-shadow(0 0 20px #fff); }
  }
  
  @keyframes escalaInicio {
    0% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }

  /**scrool to top*/
  
  #scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    width: 50px;
    height: 50px;
    display: none; /* oculto al inicio */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: opacity 0.3s ease-in-out;
  }

  /*glow blanco*/
  .glow-blanco {
    text-shadow:
      0 0 5px #ffffff,
      0 0 10px #ffffff,
      0 0 20px #ffffff,
      0 0 30px rgba(255, 255, 255, 0.5);
    animation: glowPulse 2s ease-in-out infinite alternate;
    
  }
  
  @keyframes glowPulse {
    from {
      text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 15px #ffffff,
        0 0 20px rgba(255, 255, 255, 0.3);
    }
    to {
      text-shadow:
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 0 30px #ffffff,
        0 0 40px rgba(255, 255, 255, 0.6);
    }
  }
  
  /*glow multicolor*/
  .glow-multicolor {
    animation: multicolorGlow 4s ease-in-out infinite alternate;
  }
  
  @keyframes multicolorGlow {
    0% {
      text-shadow:
        0 0 5px #ff00cc,
        0 0 10px #ff00cc,
        0 0 20px #ff00cc,
        0 0 30px rgba(255, 0, 204, 0.6);
      color: #fff;
    }
    25% {
      text-shadow:
        0 0 5px #00ccff,
        0 0 10px #00ccff,
        0 0 20px #00ccff,
        0 0 30px rgba(0, 204, 255, 0.6);
      color: #e0f7ff;
    }
    50% {
      text-shadow:
        0 0 5px #cc00ff,
        0 0 10px #cc00ff,
        0 0 20px #cc00ff,
        0 0 30px rgba(204, 0, 255, 0.6);
      color: #f5e0ff;
    }
    75% {
      text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 0 30px rgba(255, 255, 255, 0.6);
      color: #ffffff;
    }
    100% {
      text-shadow:
        0 0 5px #ff003c,
        0 0 10px #ff003c,
        0 0 20px #ff003c,
        0 0 30px rgba(255, 0, 60, 0.6);
      color: #fff0f3;
    }
  }
  