
/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --iteazul: #072D70;
  --itenaranja: #F29313;
  --dark: #000;
  --itefondo: #E1E1E1;
  --dark-cornflower-blue_a7: hsla(214, 88%, 27%, 0.07);
  --white: hsla(0, 0%, 100%, 1);
  --white_a3: hsla(0, 0%, 100%, 0.03);
  --white_a8: hsla(0, 0%, 100%, 0.08);
  --white_a12: hsla(0, 0%, 100%, 0.12);
  --white_a70: hsla(0, 0%, 100%, 0.7);
  --cultured: hsla(220, 20%, 97%, 1);
  --lavender-web: hsla(233, 52%, 94%, 1);
  --cadet-blue-crayola: hsla(220, 12%, 70%, 1);
  --cadet-blue-crayola_a20: hsla(222, 23%, 71%, 0.2);
  --charcoal: hsla(218, 22%, 26%, 1);
  --raisin-black: hsla(216, 14%, 14%, 1);
  --light-gray: hsla(0, 0%, 79%, 1);
  --blue-crayola: hsla(219, 72%, 56%, 1);
  --black-coral: hsla(220, 12%, 43%, 1);

  /**
   * typography
   */

  --ff-manrope: 'Manrope', sans-serif;

  --fs-1: calc(2.7rem + 1.38vw);
  --fs-2: calc(2.6rem + .66vw);
  --fs-3: 2.2rem;
  --fs-4: 1.9rem;
  --fs-5: 1.8rem;
  --fs-6: 1.7rem;
  --fs-7: 1.5rem;
  --fs-8: 1.4rem;
  
  --fw-700: 700;

  /** 
   * spacing
   */

  --section-padding: 90px;

  /**
   * box shadow
   */

  --shadow-1: 0 0 20px hsla(216, 14%, 14%, 0.05);
  --shadow-2: 0 0 0 0.05rem hsla(214, 88%, 27%, 0.08), 0 0 1.25rem hsla(216, 14%, 14%, 0.06);
  --shadow-3: 0 0 1.25rem hsla(216, 14%, 14%, 0.04);

  /**
   * border radius
   */

  --radius-circle: 50%;
  --radius-pill: 100px;
  --radius-10: 10px;
  --radius-8: 8px;
  --radius-6: 6px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 0.3s ease-in-out;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
input,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-manrope);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--black-coral);
  font-size: 1.6rem;
  line-height: 1.7;
}

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.social-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  font-size: 2rem;
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus-visible) { transform: translateY(-3px); }

.section { padding-block: var(--section-padding); }

.has-bg-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.h1,
.h2,
.h3,
.h4,
.h5 {
  color: var(--iteazul);
  font-weight: var(--fw-700);
  line-height: 1.3;
}

.h1 { font-size: var(--fs-1); }

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.h4 { font-size: var(--fs-4); }

.h5 { font-size: var(--fs-6); }

.btn {
  color: var(--dark);
  font-size: 20px;
  font-weight: var(--fw-700);
  border: 2px solid var(--white);
  max-width: max-content;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  transition: var(--transition-1);
  will-change: transform;
  align-items: center;
}


.btn:is(:hover, :focus-visible) { transform: translateY(-4px); }

/* Boton contacto */
.btn-outline{
  color: #fff;
  text-align: center;
  margin-top: 20px;
}

.btn-outline ion-icon{
  font-size: 36px;
  padding: 0 5px;
}

.btn-primary,
.btn-outline:is(:hover, :focus-visible) {
  background-color: var(--itenaranja);
  color: var(--white);
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.section-subtitle {
  font-size: 25px;
  /* text-transform: uppercase; */
  color: var(--iteazul);
  font-weight: var(--fw-700);
  margin-block-end: 16px;
}

.feature-content .nosotros{
  font-size: 25px;
  /* text-transform: uppercase; */
  color: var(--itenaranja);
  font-weight: var(--fw-700);
  margin-block-end: 16px;
}
/* FRASE DE ITEPREVENGO */
.feature-content strong{
  color: #000080;
  font-size: 20px;
  /* font-style: oblique; */
  font-style: italic;
}


.grid-list {
  display: grid;
  gap: 25px;
}

.w-100 { width: 100%; }




/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service { 
  text-align: center; 
  /* background-color: red; */
  padding: 30px 0px 20px 0px;
  /* height: 215px; */
}

.service .section-title { 
  margin-block-end: 10px; 
}
.service .section-title strong{
  color: #D28011;
}




/*-----------------------------------*\
  #CONTACTO-MODAL
\*-----------------------------------*/

.pop-up{
  background: rgba(48, 48, 48, 0.5);
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.pop-up-wrap{
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 950px;
  transform: scale(0.6);
  opacity: 0;
  transition: .3s ease all;
}

.pop-up-title{
  flex-basis: 0;
  flex-grow:1.5;
  height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background-image: url('../images/portada-video2.jpg');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.pop-up-title::after{
  content: '';
  position: absolute;
  background: rgba(8, 8, 8, 0.13);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.pop-up-title::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.datos-contacto::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.pop-up-title h2,
.pop-up-title p{
  z-index: 10;
  color: #fff;
}

.pop-up-title h2{
  font-family: 'Poppins';
  font-size: 25px;
  text-align: center;
}


.pop-up-title p{
  font-size: 20px;
  font-weight: 300;
  text-align: center;
}

.datos-contacto{
  background: #fff;
  flex-basis: 0;
  flex-grow: 2;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  text-align: center;
}

.sub-content{
  width: 75%;
}

.sub-content h2{
  font-weight: 500;
  font-size: 25px;
  color: var(--iteazul);
  margin-bottom: 15px;
  /* text-align: justify; */
  text-align: justify;
  font-family: 'Poppins';
  padding: 10px;
  
}

.fon-campo{
  width: 100%;
  padding: 15px;
  border: none;
  background: #ccc;
  margin-bottom: 15px;
}

.subs-send{
  width: 100%;
  padding: 15px;
  border: none;
  background: var(--itenaranja);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: .3s ease ;
}

.subs-send:hover{
  background: var(--iteazul);
}

.line{
  width: 100%;
  height: 20px;
  background: var(--iteazul);
}

#close{
  position: absolute;
  top: 40px;
  right: 25px;
  font-size: 25px;
  color: var(--itenaranja);
  cursor: pointer;
}

.pop-up.show{
  visibility: visible;
}

.pop-up-wrap.show{
  transform: scale(1);
  opacity: 1;
}

@media only screen and (max-width: 980px){
  .pop-up-title{
      display: none;
  }

}

@media only screen and (max-width: 415px){
  .sub-content h2{
      /* font-size: var(--fs-6); */
      font-size: 20px;
  }
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/
/* .about{
  background-color: red;
} */
.about .container {
  display: grid;
  gap: 50px;
}

.about .section-title { 
  margin-block-end: 20px; 

}

.about-banner img{
  border-radius: 20px;
  
}

.card-title { padding-block-end: 30px; }

.accordion-btn .span{
  color: var(--dark);
  text-align: start;
}

.accordion-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}



.accordion-btn ion-icon {
  font-size: 3rem;
  color: var(--dark);
  transition: var(--transition-1);
}


/*-----------------------------------*\
  #Boton - VIDEO
\*-----------------------------------*/
.hero-card{ position: relative; }

.hero-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 35%);
  background-color: var(--white);
  color: var(--charcoal);
  font-size: 2rem;
  padding: 25px;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
  animation: pulse 2s ease infinite;
}

.hero-card .play-btn:is(:hover, :focus-visible) { color: var(--itenaranja); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--white_a70); }
  75% { box-shadow: 0 0 0 20px transparent; }
}





/*-----------------------------------*\
  #FEATURES
\*-----------------------------------*/

.feature .container {
  display: grid;
  gap: 50px;
}

.feature .section-text { 
  margin-block: 25px 30px; 
  text-align: justify;
}

.feature-banner img{
  border-radius: 20px;
}


/*-----------------------------------*\
  #CLIENTES
\*-----------------------------------*/

.cliente-titulo{
  text-align: center;
}
.carrusel {
    height: 250px;
    display: flex;
    align-items: center;
    
  }
  
  .carrusel-items {
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 30px 0px;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.5);
  }
  
  .carrusel-item {
    /* min-width: 300px;
    max-width: 300px;
    height: 150px;
    outline: 2px solid black; */
    cursor: pointer;
  }
  
  .carrusel-item img {
    width: 250px;
    height: 100px;
    
  }

  .carrusel-item:hover {
    transform: scale(1.2);
    transition: 1s;
  }



/* CLIENTES FIN */



/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--itefondo);
  padding-block: 60px 100px;
  color: var(--charcoal);
}

.footer-brand .footer-text { margin-block: 20px; }

.footer .social-list { color: var(--itenaranja);}

.footer-list-title {
  color: var(--dark);
  margin-block-end: 16px;
}

.footer-link {
  padding-block: 4px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus-visible) { color: var(--itenaranja); }






/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

@media( max-width:360px){
  .service{
    /* background-color: yellow; */
    margin-block-end: 20px;

  }
}

@media (max-width:415px){
  .section .section-title{
    font-size: var(--fs-3);
    text-align: justify;
  }
  .section-subtitle { 
    font-size: 15px;
    text-align: justify;
  }

  /* Boton - PlayVideo */
  .hero-card .play-btn{
    transform: translate(-50%, 35%);
    font-size: 1.5rem;
    padding: 15px;
  }

  /* Foto del video */
  .service{
    height: 200px;
  }

  /* Cotenido Presentacion */
  .about .section-title { 
    font-size: 21px;
  }

  .about-item h3{
    font-size: 10px;
  }
  
}

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container{
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }
  

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .grid-list { grid-template-columns: 1fr 1fr; }






  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 1fr 0.7fr ;
    align-items: center;
  }
  /**
   * VIDEO
   */

  /* .video .container {
    grid-template-columns: 1fr 0.7fr ;
    align-items: center;
  } */



  /**
   * FEATURE
   */

  .feature .container {
    grid-template-columns: 1fr 0.7fr;
    align-items: center;
  }

  .feature-banner { order: 1; }
  .feature-banner img{
    border-radius: 20px;
  }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */
/* ORIGINAL */
  /* .container { max-width: 960px; } */

  /* CAMBIO */
  .container { max-width: 800px; }



  /**
   * STATS
   */

  .stats-card { grid-template-columns: repeat(4, 1fr);}






  /**
   * FOOTER
   */

  .footer .grid-list { grid-template-columns: repeat(4, 1fr); }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

   /* ORIGINAL */
  /* .container { max-width: 1140px; } */

  /* NUEVO */
  .container { max-width: 960px; }



  /**
   * FOOTER
   */

  address.footer-text {
    padding-inline-end: 100px;
    margin-block-end: 16px;
  }

}





/**
 * responsive for large than 1400px screen
 */

@media (min-width: 1400px) {

  /**
   * REUSED STYLE
   */

   /* ORIGINAL */
  /* .container { max-width: 1320px; } */

  /* NUEVO */
  .container { max-width: 1000px; }

}