body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
}

h3 {
  text-align: center;
  color: #065388;
  font-size: 2.8rem;
  background-image: url('/img/header-bar.png');
  background-position: center bottom;
  background-repeat: no-repeat;
  padding-bottom: 30px;
}

h4 {
  text-align: center;
  font-style: italic;
  color: #065388;
  font-size: 2rem;
}

a:link,
a:visited,
a:active {
  color: #000;
}

a:hover {
  color: #D9E2EC;
}

.recuadro {
  background-color: #D9E3EC;
  padding: 30px;
}

.recuadro h2 {
  color: #065388;
}

/* BUTTONS */
a.btn-primary {
  color: #FFF;
}

.btn-primary {
  background-color: #065388;
  border-radius: 0;
  border: 0;
  color: #FFF;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0974BB;
  color: #FFF;
}

/* MAIN NAV */
#mainNav {
  background-image: url('/img/navBg.png');
  background-position: center top;
  background-repeat: no-repeat;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

#mainNav .navbar-brand {
  padding: 0;
  margin: 0;
}

#mainNav .nav-item {
  padding: 1.5rem 1rem 0;
}

#mainNav .nav-link {
  color: #1D1D1B;
  padding: 3rem 0 1rem;
}

#mainNav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
  color: #065388;
  border: solid #065388;
  border-width: 0 0 7px;
}

#mainNav .navbar-toggler {
  margin-top: 45px;
  border: none;
}

#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%286, 83, 136, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#mainNav .navbar-collapse.collapse.show {
  margin-left: -12px;
  margin-right: -12px;
}

/* HOME HERO */
#mainHero {
  color: #FFF;
  padding: 110px 0;
  position: relative;
  min-height: min(38vw, 729px);
}
#mainHero h1 {
  font-weight: bold;
}
#mainHero h2 {
  font-size: 2.6rem;
  margin-top: 170px;
  margin-bottom: 20px;
  color: #065388;
}
#mainHero.internal {
  padding-top: 11rem;
  padding-bottom: 19rem;
}


#mainHeroHome {
  position: relative;
  width: 100%;
  min-height: min(38vw, 729px);
  background-image: url('/img/fondo-inicio-escritorio.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  color: #FFF;
  overflow: hidden;
}

#mainHeroHome .hero-promos {
  position: relative;
  min-height: min(38vw, 729px);
  max-width: 1380px;
}

.hero-promo {
  position: absolute;
  top: calc(13% + 120px);
  width: 42%;
  z-index: 2;
}

.hero-promo-nipt {
  left: 2.5%;
}

.hero-promo-adn {
  left: 55%;
}

.hero-promo h1,
.hero-promo h2 {
  margin: 0 0 .65rem;
  color: #FFF;
  font-size: clamp(1.65rem, 2.15vw, 2.8rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: .01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

.hero-promo p {
  margin-bottom: 1rem;
  font-size: clamp(.9rem, 1.1vw, 1.15rem);
  line-height: 1.2;
}

.hero-promo .btn {
  padding: .45rem 1rem;
  font-size: clamp(.72rem, .82vw, .9rem);
  font-weight: 700;
}

.hero-title-nipt span {
  display: block;
}

.hero-title-first {
  display: flex !important;
  align-items: center;
  gap: .3em;
}

.hero-heart {
  display: block;
  flex: 0 0 auto;
  width: clamp(30px, 3vw, 52px);
  height: auto;
  margin: 0;
  transform: translateY(-5px);
}

/* MODALS */
.modal-content {
  border-radius: .35rem;
}

.modal-title {
  color: #1D1D1B;
}

.modal-body a {
  color: #065388;
}

.modal-body ul {
  padding-left: 1.3rem;
}

.modal-highlight {
  color: #065388;
  font-weight: 700;
}

/* QUIÉNES SOMOS */
#secQuienesSomos {
  margin-top: 0;
  padding-top: 100px;
  background-image: url('/img/fachada950.webp');
  background-position: left 100px;
  background-repeat: no-repeat;
}

#secQuienesSomos .recuadro {
  margin-top: 210px;
  margin-bottom: 80px;
}

#secLab {
  background-image: url('/img/header-laboratorio.webp');
  background-position: right top;
  background-repeat: no-repeat;
}

#secIndicaciones {
  background-image: url('/img/header-indicaciones.webp');
  background-position: right top;
  background-repeat: no-repeat;
}

#secContacto {
  background-image: url('/img/header-contacto.webp');
  background-position: right top;
  background-repeat: no-repeat;
}

/* INTERNAL HERO */
#mainHero.internal {
  padding-top: 11rem;
  padding-bottom: 19rem;
}

/* INDICACIONES */
#accordionIndiciaciones .accordion-item {
  background: none;
  margin: 1.5rem 0;
  border-radius: 0;
  border: 1px solid #9D9D9C;
}

#accordionIndiciaciones .accordion-button {
  color: #FFF;
  background-color: #065388;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px auto;
  border-radius: 0;
}

#accordionIndiciaciones .accordion-button.collapsed {
  background-color: #FFF;
  color: #065388;
}

#accordionIndiciaciones .accordion-body {
  background-color: #D9E3EC;
}

#accordionIndiciaciones .accordion-button.collapsed::after {
  background-image: url('/img/plus.png');
}

#secContacto input,
#secContacto textarea,
#secContacto select {
  border: none;
  border-radius: 0;
}

#secContacto textarea {
  height: 210px;
}

/* FOOT */
#secFoot {
  background-color: #065388;
  color: #FFF;
  padding: 40px 0;
  font-size: .8rem;
  line-height: 160%;
}

#secFoot h5 {
  font-size: 1rem;
  color: #FFF;
}

#secFoot a:link,
#secFoot a:visited,
#secFoot a:active {
  color: #FFF;
}

#secFoot a:hover {
  color: #D9E2EC;
}

#firma {
  background-color: #052D4D;
  text-align: center;
  font-size: .8rem;
  padding: 1rem;
  font-weight: bold;
}

#firma a:link,
#firma a:visited,
#firma a:active {
  color: #065388;
  text-decoration: none;
  text-transform: uppercase;
}

#firma a:hover {
  color: #FFF;
}

@media (max-width: 990px) {
  #mainNav {
    background-image: url('/img/navBgXS.png');
  }

  #mainNav .navbar-nav {
    background-color: rgba(6, 83, 136, .9);
    padding-bottom: 40px;
  }

  #mainNav .nav-link {
    text-align: center;
    color: #FFF;
    padding: .5rem 0;
    margin: 1rem auto;
    max-width: 170px;
    font-size: 1.5rem;
  }

  #mainNav .navbar-nav .nav-link.active {
    color: #FFF;
    border-color: #FFF;
    border-width: 0 0 4px;
  }
}

@media (max-width: 767.98px) {
  #mainHeroHome {
    min-height: calc(100vw * 1.9673);
    background-image: url('/img/fondo-inicio-movil.png');
    background-size: 100% auto;
    background-position: center top;
  }

  #mainHeroHome .hero-promos {
    min-height: calc(100vw * 1.9673);
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero-promo {
    left: 7%;
    width: 86%;
  }

  .hero-promo-nipt {
    top: calc(5.2% + 90px);
  }

  .hero-promo-adn {
    top: calc(47.5% + 90px);
  }

  .hero-promo h1,
  .hero-promo h2 {
    font-size: clamp(1.55rem, 6.4vw, 2.35rem);
    line-height: .95;
  }

  .hero-promo p {
    font-size: clamp(.85rem, 3.4vw, 1.1rem);
    line-height: 1.15;
  }

  .hero-promo .btn {
    padding: .42rem .9rem;
    font-size: clamp(.72rem, 2.8vw, .9rem);
  }

  .hero-heart {
    width: clamp(28px, 8vw, 45px);
  }

  #secQuienesSomos {
    padding-top: 65px;
    background-position: center 160px;
    background-size: 100% auto;
  }

  #secQuienesSomos h3 {
    font-size: 2rem;
  }

  #secQuienesSomos .row {
    padding-top: 54vw;
  }

  #secQuienesSomos .recuadro {
    margin: 0 15px 60px;
  }
}

@media (max-width: 575px) {
  #mainNav {
    height: 100px;
    z-index: 100;
  }

  #secFoot {
    padding: 40px 20px;
  }
}
