@font-face {
  font-family: 'Sofia Sans Extra Condensed';
  src: url('sofia/sofiasansextracondensed-variablefont_wght-webfont.woff2') format('woff2'),
    url('sofia/sofiasansextracondensed-variablefont_wght-webfont.woff') format('woff');
}

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

html,
body {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  font-weight: 300;
  color: #575757;
  background-color: #f2f2f2;
  text-align: center;
  flex-grow: 1;
  font-size: 16px;
}

header {
  position: relative;
  margin: 0 auto;
  flex: auto;
}

main {
  position: relative;
  margin: 0 auto;
  padding: 0 10px;
  width: 100%;
  flex: 1 100%;
  align-items: center;
}

footer {
  position: relative;
  margin: 80px auto 0 auto;
  flex: 1 300px;
  display: flex;
  width: 100%;
  background-color: #ebebeb;
  color: #fff;
  flex-direction: row;
  flex-wrap: wrap;
  border-top: 2px solid #fbfbfb;
  justify-content: space-between;
  align-items: center;
}

/* Contenedor del menú superior */
#topMenuCont {
  display: flex;
  flex: 0 80px;
  justify-content: space-between;
  align-items: center;
  height: 89px;
  max-width: 1566px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  border-bottom: 15px solid #50777f;
}

#logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 10px;
}

#logo img {
  width: 70px;

}

#topMenuCont nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

nav ul {
  position: relative;
  display: flex;
  list-style: none;
  height: 100%;
  gap: 21px;
  margin-right: 10px;
}

nav ul li:last-child {
  border-right: none;
}

nav ul li a {
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  height: 100%;
}


#menu_servicios {
  position: relative;
  margin: 6px auto;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px;
}


.footer_cont {
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  max-width: 1440px;
  min-width: 320px;
  width: 100%;
  padding: 10px;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.footerNav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  flex: 1 20%;
  height: 100%;
  flex-wrap: wrap;
}

.footerNav ul {
  width: 100%;
  padding: 10px;
  background-color: #f2f2f2;
  border-radius: 5px;
}

footer li {
  list-style: none;
  margin: 0 10px;
  text-align: left;
}

footer a {
  text-decoration: none;
  color: #575757;
  display: block;
  padding: 2px 0;
  font-size: .8rem;
}

#footerLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: fit-content;
  height: fit-content;
  flex: 0 33%;
}

@media (min-width: 1382px) and (max-width: 4000px) {

  #menu_servicios,
  .seo_box_text,
  .promo_box,
  #searchBox {
    max-width: 1400px;
  }

  .seo_box_text .info_box {
    flex: 1 1 300px;
  }

  .promo-cards-card {
    flex: 1 1 320px;
  }
}

.promo-cards-card h2 {
  font-size: 1.9rem;
  line-height: 2.3rem;
  letter-spacing: -.88px;
}

@media (min-width: 951px) and (max-width: 1381px) {

  #menu_servicios,
  .seo_box_text,
  .promo_box,
  #searchBox {
    max-width: 1210px;
  }

  .seo_box_text .info_box {
    flex: 1 1 290px;
  }

  .promo-cards-card {
    flex: 1 1 230px;
  }

}

@media (min-width:520px) and (max-width: 950px) {

  #menu_servicios,
  .seo_box_text,
  .promo_box,
  #searchBox {
    max-width: 850px;
    min-width: 340px;
  }

  .seo_box_text .info_box,
  .promo-cards-card {
    flex: 1 300px;
  }
}

@media (min-width:300px) and (max-width: 519px) {

  #menu_servicios,
  .seo_box_text,
  .promo_box,
  #searchBox {
    max-width: 410px;
  }

  .seo_box_text .info_box,
  .multy_box,
  .promo-cards-card {
    flex: 0 1 auto;
  }
}

#nav_servs {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  transition: all 0.3s;
}

#nav_servs li {
  flex: 1 0 32%;
  height: 100px;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: -5px 10px 30px -19px #acacac;
}

#nav_servs li a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-decoration: none;
  color: #50777f;
  text-shadow: -1px 1px #fff;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: #ebebeb;
  box-shadow: -1px 1px 3px 1px #fff inset, 2px -2px 1px 0px #ccc inset;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

#nav_servs li a img {
  display: inline-block;
  width: 30px;
  height: 30px;
}

#nav_servs li a:hover {
  background-color: #f4f4f4;
}

/** Comienza el cajón de texto SEO  */

.seo_box_text {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  flex: 0 auto;
}

.seo_box_text h1 {
  font-family: 'Sofia Sans Extra Condensed', sans-serif;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.seo_box_text h2 {
  font-family: 'Sofia Sans Extra Condensed',
    sans-serif;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.seo_box_text .intro_txt {
  padding: 0 25px;
  font-size: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}

.seo_box_text .multy_box {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex: 1 auto;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
}

.seo_box_text .info_box {
  padding: 9px 13px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 0.5rem;
  box-sizing: border-box;
  text-align: left;
  min-height: 147px;
  max-height: 252px;
  height: 252px;
  text-align: center;
}

.info_box p {
  text-align: left;
  font-size: .9rem;
}

/* * Promocionales generales contenedor de paquetes */

.promo_box {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 2px;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
  margin: 0 auto;
  width: 100%;
  background-color: #ffffff;
}

.promo-cards-card {
  position: relative;
  height: 320px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.promo-cards-card img {
  max-height: 120%;
}

.promo-card-txt {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.promo-card-txt :is(h2, h3, h4) {
  font-family: "Sofia Sans Extra Condensed", sans-serif;
  color: #fff;
  font-weight: 400;
  padding: 20px;
  text-shadow: -1px 1px 0px #000000;
  position: relative;
  margin: 0 auto;
}

.promo-card-txt h3 {
  font-size: 2rem;
}

.promo-card-txt a {
  text-decoration: none;
}

/** Inicia Buscador */

#searchBox {
  position: relative;
  margin: 31px auto 5px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 1 60px;
  width: 100%;
  background-color: #51767f;
  padding: 27px 0px;
  border-radius: 5px;
  color: #fff;
}

#searchForm {
  position: relative;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;

}

#searchForm label {
  font-size: .8rem;
}

input {
  font-size: .8rem;
  padding: 12px;
  border: 1px solid #17d0ff;
  border-radius: 0.5rem;
  color: #575757;
  width: 252px;
}

input[type="submit"] {
  /* display: none; */
  background-color: transparent;
}

#searchIcon {
  cursor: pointer;
  position: absolute;
  top: 3px;
  right: 3px;
  width: 36px;
  height: 36px;
  background-image: url(../imagenes/assets/buscar_btn.webp);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  border: none;
  background-color: transparent;
  padding: 0;
}

/** Finaliza buscador */