/*Aquí van las fonts*/
@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Funnel+Display:wght@300..800&family=Gantari:ital,wght@0,100..900;1,100..900&family=Gayathri:wght@100;400;700&family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&family=Gugi&family=Hammersmith+One&family=Heebo:wght@100..900&family=Londrina+Solid:wght@100;300;400;900&display=swap');

/**/



*{box-sizing: border-box;}
html,body{
    display: flex;
    flex-direction: column;
    margin: 0;
    line-height: 1.5;
    background-color: #ffffff;
    color: black;
    scrollbar-width: thin;
    scrollbar-color: #0E2340 #ffffff;
    z-index: 0;
}
b
{
  color: #1a92c1;
}
button
{
  border: none;
}


/* Etiquetas */
h1{
  /* font-family: "Londrina Solid", sans-serif; */
  font-size: 4rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.3;
    
}
h2{
  text-align: center;
  Font-size: 3rem;
  font-family: "Hammersmith One", sans-serif; 
  font-weight: normal;
  color: #4A0004;
  margin: 0;
  text-transform: uppercase;
}
h3
{
  font-family: "Afacad Flux", sans-serif;
  /* text-align: center; */
}
a
{
  font-family: sansation, sans-serif;
}
/*  */



/* Navegación */
nav{
  /* background-color: white; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 10vh;
    padding: 0px 10%;
    box-sizing: border-box;
    letter-spacing: 2px;
    /* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); */
    position: fixed;
    z-index: 4;
    transition: 500ms;

   }


   nav.scrolled
   {
    transition: 500ms;
    background-color: #ffffff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);

   }
    nav.scrolled ul li a
    {
      color: #4A0004;
    }
     nav.scrolled .active
     {
      color: white;
     }



#logo{
  display: flex;
  flex-direction: row;
  padding: 0px 0;
}
#logo img{
  margin-top: 3px;
}
#logo a{
  text-decoration: none;
  margin-top: 20px;
  margin-left: 20px;
}
ul {
  list-style-type: none;
  padding: 0;
  margin-top: 13px;
  display: flex;
}
ul li a {
  /* font-family:"Gugi", sans-serif; */
  transition: 900ms;
  display: block;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 18px;
  text-decoration: none;
}
ul li a:hover {
  transition: 900ms;
  border-bottom: solid 2px #ffffff;
}

.active{
  background-color:#4A0004;
  color: white;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.658);
  border-radius: 30px;
  font-weight:300;
}
.active:hover{
  background-color: #290001;
}



/*iconos del nav cuando es pequeño*/
.btn-nav-phone{
  border-radius: 10px;
  padding: 1px 12px;
  font-size: 3rem;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  transition: 500ms;
}
nav.scrolled ul .btn-nav-phone
{
  color: #02102A;
  transition: 500ms;
}
.btn-nav-phone:hover{
 
  cursor: pointer;
}
/**/





/*barra lateral de celular*/
.sidenav{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 15px;
    text-align: center;
    background-color: #02102A;
}
.sidenav a{
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 22px;
    color: #ffffff;
    display: block;
    transition: 500ms;

}
.sidenav a:hover{
  transition: 500ms;
    background-color: #ffffff;
    color: #02102A;
}
.sidenav .closebtn{
    text-align: right;
    font-size: 50px;
    margin-right: 30px;
    color: #ffffff;
}
/*  */


/**/


/* header */
.hero {

  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  color: white;
  /* background-color: #00b4d8; */
  /* background: linear-gradient(135deg, #0d3b66 50%, transparent 50%);
*/
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 120%;
  background-image: url('/img/portada.jpg'); /* Use your existing background image */
  background-size: cover;
  background-position: center;
  will-change: transform;
  /* overflow: hidden; */
  z-index: 1;
}


.hero::after
{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #C11A22 50%, #00000000 50%);
  z-index: 2;


}
.hero-content
{
  z-index: 3;
}
.hero-content {
  position: relative;
  top: 20vh;
  height: 86vh;
  flex: 1 1 50%;
  max-width: 600px;
  /* background-color: #050E1B; */
}

.hero-content .badge {
  background-color: #1d5fa2;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #3B0306;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #FFD3D5;
}

.hero-trust {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust .trust-item img {
  width: 30px;
  height: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.hero-buttons a {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-buttons .btn-primary {
  background-color: #4A0004;
  color: #ffffff;
  transition: transform 0.3s, background-color 0.3s;
  
}

.hero-buttons .btn-primary:hover {
  background-color: #290001;
   transform: scale(1.1);
}

.hero-buttons .btn-secondary {
  background-color: transparent;
  color: #4A0004;
  border: 2px solid #4A0004;
  transition: transform 0.3s, background-color 0.3s;
}

.hero-buttons .btn-secondary:hover {
  background-color: #4A0004;
  color: #ffffff;
  transform: scale(1.1);
}


/* Hero Image */
.hero-image {
  flex: 1 1 50%;
  width: 50%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
}

/* Floating Services Box */

.hero-floating-services .service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-floating-services .service-item img {
  width: 40px;
  height: 40px;
}
.service-item i
{
  font-size: 2.5rem;
}

.btn-view
{
  color: #050E1B;
}
.btn-contact {
  display: none;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background-color: #5B0C10;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
.btn-contact:hover {
    background-color: #3B0306;
    transform: scale(1.05);
}

.fa-arrow-right
{
  font-size: 1.8rem;
  color: #C11A22;
  transition: 500ms;
}
.fa-arrow-right:hover
{
  color: #050E1B;
  transition: 500ms;
}

/*  */



/* cards */ 
.services-intro
{
  /* margin: auto 5%; */
  text-align: center;
  color:#02102A;
}
#services
{
  margin-top: 8%;
 z-index: 0;
  /* background-color: #5B0C10; */
}
.cont-card{
    display: flex;  
    position: relative;
    /* overflow: hidden; */
    flex-wrap: wrap;
    margin: 5 auto;
    padding: 30px;
    justify-content: center;
    z-index: 0;
    /* background-color: #637ff0; */
}
.card{
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-style: none;
    margin: 30px 10px;
    flex: 0 0 20%;
    transition: transform 0.3s, box-shadow 0.3s;  
    overflow: hidden;
    animation: appear  linear;
    animation-timeline:view();
    animation-range: entry 0% cover 40%;
    z-index: 1;
}

@keyframes appear
{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}  


.card:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 40px 0 rgba(0, 0, 0, 0.19);
}



.card a
{
width: 95%;
margin: 10px;
}
.imageCard{
height: 300px;
width: 100%;
border-radius: 20px;
background-repeat: no-repeat;
background-size: cover;
}
.descriptionCard{
    /* height: 50px; */
    width: 90%;
    border-radius: 20px;
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: start;
}
.descriptionCard h3{
    font-size: 1.5em;
    color: #C11A22;
    font-weight:500;
    text-align: center;
   
    text-transform: uppercase;
}
.descriptionCard p
{
  color: #4A0004;
}
.cont-btn
{
   width: 95%;
   margin: 0 15px 15px 15px;
   /* background-color: #014402; */
   display: flex ;
}
.cont-btn a{
  color: #050E1B;
  width: 100%;
  border-radius: 40px;
  font-size: 1.3em;
  cursor: pointer;
  text-align: center;
  text-decoration: underline #050E1B;
}
.cont-btn a:hover{
  color: rgb(173, 173, 173);
  cursor: pointer;
  text-decoration: underline rgb(173, 173, 173);
}
.ima
{
  background-color: rgba(0, 0, 0, 0);
}
/*  */


/* services */
.im1
{
  background-image: url("");
  background-size: cover;
  /* height: 100%; */
}
.im2
{
  background-image: url("");
  background-size: cover;
}
.im3
{
  background-image: url("");
}

/*  */


.column
{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  flex: 50%;
  margin: 20px;
}



.cont-taget img
{
  height: auto;
}
.cont-taget
{
  /* width: 128px; */
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}
.cont-taget p
{
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}
/*  */


/* review */
#review
{
  overflow: hidden;
  background-color: #ffffff;
  width: 100%;
  /* padding: 200px; */
}
.cont-review
{
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.cont-review p
{
  font-family: "Gentium Plus", serif;
  font-size: 1.5rem;
  text-align: center;
  color: #0E2340;
  overflow: hidden;
  width: 100%;
}
/* .cont-review b
{
  color: #C11A22;
} */
/*  */


/* location */
#location{
  padding: 3%;
}
.location-container
{
  max-width: 1200px;
  background-color: #ca8d3a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.conth2-location
{
  /* width: 100%; */
  height: 40%;
}
.location-text h2
{
  text-align: left;
}


.map-container
{
  width: 100%;
  padding: 0 1%;
  display: flex;
  /* background-color: #637ff0; */
  overflow: hidden;
}
/*  */


/* footer */
footer{
  display: flex;
  flex-direction: column;
  background-color: #C11A22;
  justify-content: center;
}
.footer-content
{
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
}

.contact,.schedule p{
  font-size: 1.1rem;
  color: #D2E1F6;
}

.contact p{
  text-align: justify;
  font-family: shanti, sans-serif;
}
footer a{
  /* color: rgb(202, 202, 202); */
  text-decoration: none;
}

footer h3
{
  color: #ffffff;
}
.contact{
  display: flex;
  flex-direction: column;
  /* width: 30%; */
  padding: 20px;
}
footer p
{
  text-align: center;
  color: #ffffff;
}
.dwm
{
  color: #b9dfff;
}
.schedule p
{
  text-align: left;
}
footer hr
{
  color: #ffffff;
}


.fa-brands
{
    transition: 500ms;
  color: #D4D9FD;
  font-size: 2rem;
  margin: 10px;
}
.fa-brands:hover
{
  transition: 500ms;
  color: #4883BA;
}



 .container-fluid{
    margin: 120px 0 100px 0;
  }
.form-detail{
  font-size: 0.9em;
  font-style: italic;
  color: rgb(170, 170, 170);
}
#floatingTextarea{
  height: 15vh;
  background-color: white;
  }
.form-check{
  color: #000000;
}
/* Animacion para las tarjetas de servicios. */


 
/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
  .hero-floating-services
  {
    display: none;
  }
  .service-item i
{
  font-size: 2rem;
}

.location-container
{
  flex-direction: column;
  margin: auto 5%;
}
  .location-text
  {
    font-size: 1.5rem;
  }
  h2
  {
    font-size: 2rem;
  }
 /* p{
    font-size: 1.1rem;
  }  */
 nav{
    padding: 0 2%;
    justify-content: space-around;

  }
  .hidden{
    display: none;
  }
  
  
  .footer-content{
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
  }
  #location{
    padding: 15% 0;
  }

  .map-container
{
  width: 100%;
  margin: 5% auto;
  /* margin: 0 5%; */
}
.descriptionCard h3{
    font-size: 1.5rem;
  }
  .imageCard{
height: 350px;
}


footer>div
{
  flex-direction: column;
}
.card
{
flex: 0 0 100%;  
}
header
{
  flex-direction: column;
}
h1
{
  font-size: 2.5rem;
}
/* .header-texto
{
  margin: 14vh 5%;
} */
.header-texto p
{
  font-size: 1.2rem;
  text-align: justify;
}

.header-btns a
{
  margin: 20px 10px;
  font-size: 1.2rem;
}
/* .header-texto
{
  margin-top: 10vh;
} */


}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hidden{
    display: none;
  }
  .card
  {
    flex: 0 0 47%;  
  }
  header
  {
    flex-direction: column;
  }
  
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* .form-hidden {
        display: none; 
    } */
  header
{
  flex-direction: row;
}
  nav{
    padding: 0 5%;
  }
  .hidden{
    display: none;
  }
  header{
  width: 100%;
  }
  .linksHeader{
    text-align: center;
  }
#services{
    padding: 0 2%;
  } 


   #location{
    padding: 3%;
  }
    .text-conteiner {
    /* width: 100%; */
    padding-right: 3%;
    font-size: 1.1rem;
    text-align: justify;
  }
  .contact{
    width: 80%;
    margin-top: 5%;
  }
  footer{
    padding: 10% 5%;
  }
   .container-fluid{
    margin: 150px 0 150px 0;
  }
  /* header
{
  flex-direction: column;
} */
  /* .map-container
  {
    width: 100%;
  } */
}
@media (max-width:768px)
{

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 20px;
  }

  .hero-floating-services {
    padding-bottom:15%;
    width: 90%;
  }
  .iconos
{
  display: flex;
  justify-content: center;
}
.contact p,h3
{
  text-align: center;
}
 .map-container
  {
    width: 100%;
  }
  footer>div
{
  flex-direction: column;
}
  /* .form-hidden {
        display: none; 
    
  } */


}
@media(max-width:992px)
{
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .btn-contact 
  {
    display: flex;
    margin: 10px auto;
  }
 .contact-form-container
{
  display: none;
}
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* .form-hidden
  {
    display: none;
  } */
  /* .card
  {
    flex: 0 0 20%;  
  } */
nav{
    padding: 0 3%;
  }
.hidden{
    display: flex;
  }
.btn-nav-phone{
    display: none;
  }
  header{  
  width: 100%;
  }
.a-getQuote{
  font-size: 1.1rem;
 }
.btn-service{
  display: inline-block; 
  width: 45%;
  font-size: 1rem;
 }
  #services{
    padding: 0 3%;
  }
  


.descriptionCard p{
    font-size: 1rem;
  }
.descriptionCard h2{
    font-size: 1.1rem;
  }
  #location{
    padding: 3%;
  }
  .text-conteiner {
    font-size: 1rem;
  }  
  .contact{
    width: 39%;
    margin-top: 0%;
  }
    footer{
    padding: 5% 3%;
  }
.container-fluid{
    margin: 120px 0 150px 0;
  }
  header
{
  flex-direction:row;
}
  
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .card
  {
    flex: 0 0 20%;  
  }
  nav{
    padding: 0 10%;
  }
.btn-service{
  font-size: 1.2rem;
 }
#flecha{
  font-size:40px;
 }
#services{
    padding: 0 5%;
  }


.descriptionCard p{
    font-size: 1rem;
  }
.descriptionCard h2{
    font-size: 1.1rem;
  }
  #location{
    padding: 3%;
  }
  .text-conteiner {
    font-size: 1.2rem;
  }
  footer{
    padding: 5% 10%;
  }    
}
 /* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {

.text1Header{
    width: 60%;
  }
.img-title{
    width: 38%;
  }
/* section p{
    font-size: 1.3rem;
  } */
#services{
    padding: 0 5%;
  }
  
  .descriptionCard p{
    font-size: 1.1rem;
  }
  .descriptionCard h2{
    font-size: 1.4rem;
  }
  section h1{
    font-size: 3rem;
  }
    #location{
    padding: 3%;
  }
  .text-conteiner {
    font-size: 1.2rem;
  }
  .contact{
    width: 30%;
  } 
}




