@font-face {
  font-family: 'Monserrat';
  src: url('../fonts/Montserrat-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Monserrat';
  src: url('../fonts/Montserrat-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

:root {

    /**
     * colors
     */
  
    --itenaranja: #F58600;
    --itehead:#2F4DAA;
    --itecuadros: #f1f1f3;
    --itenewletra: #f0f6f7;
    --itetitles:#3dc2ec;

    --itefondo: #E1E1E1;
    --dark: #000;
    --violet-blue-crayola: hsla(234, 50%, 64%, 1);
    --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);
    --black-coral: hsla(220, 12%, 43%, 1);
  
    /**
     * typography
     */
  
    --ff-manrope: 'Futura', 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;
  
  }
  
  /*-----------------------------------*\
    #ETIQUETAS
  \*-----------------------------------*/
  
  *,
  *::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: 'Monserrat', sans-serif;
    font-size: 10px;
    scroll-behavior: smooth;
  }
  
  main{
    margin-top: 7em;
  }
  
  body {
    background-color: white;
    color: var(--black-coral);
    font-size: 1.6rem;
    line-height: 1.7;
    font-family: 'Monserrat', sans-serif;
  }
  

/*-----------------------------------*\
  # WSP WhatsApp
\*-----------------------------------*/


.btn-wsp{
  position: fixed;
  background:#25d366;
  padding: 10px;
  box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
  border-radius: 50%;
  z-index: 9;
  bottom: 0;
  right: 0;
  margin: 0 20px 20px 0;
  display: flex;
  color: #fff;
}
.btn-wsp:hover{
  background: #20ba5a;
}
.whats
{
  height: 32px;
  width: 32px;
}


/*-----------------------------------*\
  # HEADER
\*-----------------------------------*/

/*
  +++++++
  # HEADER WEB
  ++++++++
*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-block: 20px;
    box-shadow: var(--shadow-1);
    z-index: 4;
    background-color: #2F4DAA;
    color: var(--itenewletra);
  }
  
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 75% ; width: 100%;
  }
  
  .logo-iteprevengo img {
    width: 265px;
    height: auto;
  }
  
  @media (max-width: 570px) {
    .logo-iteprevengo img {
      width:180px;
      height: auto;
    }
  }

  .navbar {
    display: flex;
    align-items: center;
  }
  
  .navbar-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .navbar-link {
    display: block;
    padding: 10px 15px;
    color: var(--itenewletra);
    text-decoration: none;
    font-weight: var(--fw-700);
  }
  
  /* Estado hover y focus */
  .navbar-link:hover, .navbar-link:focus {
    transform: scale(1.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}


  .dropbtn:focus, .dropbtn.show {
    background-color: var(--itetitles); 
    color: #ffffff; 
    border-radius: 5px; 
    padding: 1px 10px;
  }
  
  /* Dropdown container */

.dropdown-content {
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  background-color: #ECECEC;
  padding: 10px;
  box-shadow: var(--shadow-1);
  z-index: 5;
  display: flex;
  gap: 0px; 
  transition: opacity 0.3s ease, max-height 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.dropdown-content h2 {
  background-color: var(--itetitles);
  color: white;
  font-size: 24px;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0;
}

.dropdown-content .dropdown-column {
  flex: 1;
}

.dropdown-content .dropdown-column h3 {
  font-size: 18px; 
  font-weight: bold;
  color: var(--itehead);
  margin: 10px 0;
}

/* Estilo de los enlaces del menú */
.dropdown-content a {
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  background-color: #ECECEC;
  font-weight: bold;
  color: var(--itehead);
  font-size: 16px; 
  border-bottom: 1px solid #D3D3D3;
}

.dropdown-content a:hover {
  background-color: #F0F0F0;
  color: var(--itetitles);
}

.dropdown-content.show {
  opacity: 1;
  max-height: 500px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

/* Reducir el espaciado en las columnas */
.dropdown-content .dropdown-column {
  flex-direction: column;
  padding: 5px;
}


  .sub-select {
    cursor: pointer;
    text-align: center;
    margin-left: 15px;
    color: var(--itehead);
    font-weight: bold;
  }
  
  .dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--itenewletra);
    font-weight: var(--fw-700);
    padding: 0; 
  }
  
  .sele-style {
    font-weight: bold; 
    color: var(--itehead);
  }
  
  .sele-etiquet {
    color: #000;
  }
  
  /* Asegurar que los submenús se desplieguen a la derecha */
  .dropdown .dropdown-content .dropdown-content {
    top: 0;
    left: 100%;
    margin-left: 1px;
  }
  
  /* Overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--raisin-black);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-1);
  }
  
  .overlay.active {
    pointer-events: all;
    opacity: 0.8;
  }
  
  @media (min-width: 768px) {
    .navbar-top, .nav-open-btn {
      display: none;
    }
    .navbar-link {
      font-size: 25px;
    }
  }
  
  @media (min-width: 1190px) {
    .navbar-top, .nav-open-btn {
      display: none;
    }
  
  }
  
  @media (min-width: 1194px) {
    .custom-select, .social-list, .wrapper {
      display: none; 
    }
  }
  
  .img-contactanos {
    width: 250px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .img-contactanos:hover {
    transform: scale(1.1);
  }
  
  
  
  /*
    +++++++
    # HEADER MOBILE
    ++++++++
  */
  
  @media (max-width: 1194px) {
    .nav-open-btn {
      display: block; 
      font-size: 3.5rem;
      color: var(--charcoal);
    }
  
    .navbar-link, .social-list, .wrapper, .custom-select {
      display: none;
    }
  
    /* Estilos para el menú móvil */
    .navbar {
      position: fixed;
      top: 0;
      left: -300px;
      background-color: var(--itefondo);
      color: var(--dark);
      max-width: 300px;
      width: 100%;
      height: 100vh;
      padding: 30px;
      padding-block-end: 40px;
      display: flex;
      flex-direction: column;
      gap: 30px;
      z-index: 2;
      visibility: hidden;
      transition: var(--transition-3);
    }
    
    .navbar.active {
      visibility: visible;
      transform: translateX(300px);
    }
    
    .navbar-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .nav-close-btn {
      background-color: var(--charcoal);
      color: var(--white);
      font-size: 2rem;
      padding: 6px;
      border-radius: var(--radius-circle);
      transition: var(--transition-1);
    }
    
    .nav-close-btn:is(:hover, :focus-visible) {
      background-color: var(--itenaranja);
    }
    
    .navbar-link-mobile {
      font-weight: var(--fw-700);
      font-size: 20px;
      padding-block: 6px;
      color: var(--itehead);
      transition: var(--transition-1);
    }

    .navbar-link-mobile img{
      width: 230px;
    }
    
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: var(--raisin-black);
      pointer-events: none;
      opacity: 0;
      transition: var(--transition-1);
    }
    
    .overlay.active {
      pointer-events: all;
      opacity: 0.8;
    }
    
    /* Aseguramos que .custom-select se muestre dentro del navbar cuando esté activo */
    .navbar.active .custom-select {
      display: block;
    }
  
    .navbar.active .social-list{
      display: flex;
      flex-direction: row; 
      font-size: 1.7em;
      gap: 15px;
  
    }
  
    .navbar.active .wrapper{
      display: block;
    }
  
    
    .custom-select {
      margin-right: 40px;
      width: 260px;
      margin-top: -30px;
    }
  
  .logo{
    margin-right: 40px;
  }
  
  .logo img{
    width: 150px;
  }
  
  }
  .options li{
    color: var(--itehead);
    font-weight: bold;
  }

  .nus{
    margin-top: 10px;
  }

  