html {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
.header-titulo {
  align-items: center;
  background-color: var(--colorPrimario);
  display: flex;
  min-height: 10em;
  text-align: center;
  width: 100%;
}

.header-titulo h2 {
  color: #fff;
  font-size: 2rem;
  margin-left: 1em;
}

.logos-seguros-contenedor {
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: center;
  padding: 1em;
  gap: 1em;
  margin: auto;
}
.logos-seguros-contenedor ul {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.logos-seguros-contenedor li {
  padding: 0;
  gap: 0;
  display: inline;
}
.logos-seguros-contenedor li img {
  width: 100%;
  object-fit: contain;
  padding: 0.7em;
}
.seguros-descripcion {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.seguros-descripcion h2 {
  font-size: 4rem;
  margin: 0;
  padding: 1em 1em 0.5em 1em;
  text-transform: uppercase;
}

.seguros-descripcion h3 {
  font-size: 1.5rem;
  padding-bottom: 1em;
  margin-bottom: 0;
  border-bottom: 1px solid #000;
}
.seguros-descripcion h4 {
  color: #1f3957;
  margin-top: 1em;
}
.seguros-descripcion p {
  color: #274c77;
  font-size: 1.2rem;
  text-align: start;
  width: 85vw;
  margin: auto;
  padding: 1em;
}

.seguros-servicios {
  width: 100%;
}

.seguros-servicios h2 {
  font-size: 2rem;
}

.seguros-servicios ul {
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 1em;
  flex-wrap: wrap;
}

.seguros-servicios ul li {
  border: 1px solid #eee;
  padding: 1em;
  background-color: #fafafa;
  transition: 0.34s all;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.seguros-servicios ul li img {
  width: 100px;
}
.seguros-servicios ul li a {
  color: rgb(156, 35, 35);
  border: 1px solid transparent;
  padding: 0.6em 1.5em;
  margin-top: 1em;
  transition: 0.5s ease-in;
}

.seguros-servicios ul li:hover {
  background-color: #d8e5f1bf;
  color: #222;
}
.seguros-servicios ul li:hover a {
  border: 1px solid #6f6767;
  color: rgb(113, 85, 32);
}

.seguros-servicios ul li h2 {
  font-size: 1rem;
}

.seguro-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 80%;
  padding: 1em;
  gap: 5px;
  margin: auto;
}

.seguro-icons img {
  width: 100px;
  object-fit: scale-down;
}
.seguro-icons li {
  display: flex;
  flex-direction: column;
  margin: 0;
  align-items: center;
  border: 1px solid rgb(237, 229, 229);
  max-width: 19em;

  height: 15em;
  padding: 1em;
  justify-content: flex-start;
}

.forms-asesor {
  display: flex;
  width: 100%;
  margin: auto;
  flex-direction: column;
  opacity: 0;
  position: absolute;
  left: -500em;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(18, 36, 65, 0.77);
  z-index: 1;
  opacity: 0;
  justify-content: center;
  align-items: center;
  transition: 0.2s all ease-in;
}

.forms-asesor:target {
  opacity: 1;
  position: fixed;
  margin: auto;
  display: flex;
  left: 0;
  opacity: 1;
}
.forms-asesor p {
  font-size: 1.5rem;
  color: #000;
  margin: 0;
  padding: 10px;
}

.forms a {
  background-color: red;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  padding: 1em;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
}

.forms {
  display: flex;
  flex-direction: column;
  width: 40%;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin: auto;
  padding: 10px;
  text-align: start;
  background-color: rgb(119, 171, 195);
  position: absolute;
}
.forms h2 {
  margin: 0;
  margin-top: 1em;
  color: #222;
}
.forms-elements {
  width: 100%;
  display: flex;
}
.forms span {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  align-content: center;
  margin: auto;
  margin: 0%;
  padding: 10px;
}
.forms input {
  padding: 0.6em;
  width: 100%;
  border: none;
  outline: none;
}

.forms label {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 5px;
  color: #222;
}
.forms textarea {
  width: 100%;
  resize: vertical;
  padding: 0.6em;
  border: none;
}

.forms-elements .validForms {
  border: 1px solid rgb(97, 255, 97);
  outline: 1px solid rgb(42, 226, 42);
}

.forms-elements .errorForms {
  border: 1px solid rgb(255, 47, 0);
  outline: 1px solid rgb(255, 47, 0);
}

#email {
  width: 50%;
}
.seguros-info {
  width: 90%;
  display: flex;
  justify-content: center;
  align-content: center;
  margin: auto;
  gap: 1em;
  padding: 1em;
  padding-bottom: 2em;
}
.contacto-info,
.siniestro-info {
  width: 30%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid rgb(179, 150, 150);
  border-radius: 20px;
  background-color: aliceblue;
}

.cta-info h2 {
  font-size: 1.1rem;
}

.seguros-info img {
  width: 70px;

}
.seguros-info .button {
  width: 40%;
  margin-bottom: 1em;
  height: 3em;
  font-size: .9rem;
}
.siniestro #email {
  width: 100%;
}

.seguros-wsp {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  color: var(--WhatsAap);
}

.seguros-wsp img {
  padding: 0;
  width: 2rem;
  transition: 0.4s;
}

.seguros-wsp img:hover {
  transform: scale(1.2);
}
picture {
  width: 100%;
}
.seguros-vida,
.seguros-via-publica {
  width: 100%;
  align-items: center;
  opacity: 1;
  flex-direction: column;
  background-color: #595959f5;
  padding: 1em;
  gap: 1em;
  transform: translateX(-100%);
  position: absolute;
}

.seguros-vida:target {
  display: flex;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: 0.55s ease-out;
  z-index: 1;
  width: 100%;
  position: fixed;
  height: 100%;
  overflow-y: scroll;
  transform: translate(0);
}

.seguros-via-publica:target {
  display: flex;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: 0.55s ease-out;
  z-index: 1;
  width: 100%;
  position: fixed;
  height: 100%;
  overflow-y: scroll;
  transform: translate(0);
}

.btn-modal-close {
  display: flex;
  align-items: flex-end;
  width: 100%;
  flex-direction: column;
}

.btn-modal-close a {
  width: min-content;
  background-color: #eee;
  padding: 1em;
}

.seguros-modal-content {
  width: 70%;
  border: 1px solid #222;
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fafafa;
}
.scrollBody {
  overflow: hidden;
}
.seguros-modal-img {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  height: auto;
  background-color: #eee;
}

.seguros-modal-img img {
  object-fit: contain;
  width: 100%;
  padding: 1em;
}

.seguros-modal-content h2 {
  position: absolute;
  bottom: 10%;
  background-color: #2b71c1;
  padding: 1%;
  width: 50%;
  text-align: center;
  font-size: 2rem;
  color: #eee;
}

.seguros-modal-content #title-via-publica {
  background-color: green;
}

.seguros-modal-content h3 {
  padding: 1em;
  border: 1px solid #c2b9b9;
  box-shadow: 1px 2px #837878;
  margin-top: 2em;
}
.seguros-vida-info {
  width: 80%;
  padding: 1em;
}

.seguros-vida-info ul {
  display: flex;
  gap: 1em;
  width: 99%;
  justify-content: center;
  flex-wrap: wrap;
}
.seguros-vida-info ul li {
  width: 30%;
  padding: 1em;
  border: 1px solid #dddd;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.seguros-vida-info ul li img {
  width: 50px;
}

.seguros-vida-info ul li h4 {
  color: #222;
  font-size: 1.5rem;
  margin: 10px;
  text-align: center;
}
.seguros-vida-info ul li p {
  color: #222;
  font-size: 1rem;
  text-align: start;
  word-wrap: break-word;
}
.btn-wp-seguros {
  border-radius: 2em;
  width: auto;
  cursor: pointer;
  text-align: center;
  height: auto;
  color: #eee;
  background-color: var(--WhatsAap);
  padding: 1em;
  display: flex;
  gap: 1em;
  margin-top: 1em;
}
.btn-wp-seguros img {
  width: 20px;
}

.seguros-vida-info .seguros-integral-option ul li h3 {
  background-color: none;
  padding: 1em;
  border: none;
}
span {
  display: inline;
}
.icon-integral {
  display: flex;
  gap: 1em;
  flex-direction: column;
  justify-content: space-between;
}

.icon-integral span {
  display: flex;
  gap: 1em;
  justify-content: space-around;
  align-items: center;
  padding: 0.8em;
}
.icon-integral span h2 {
  font-size: 0.8rem;
  position: static;
  background-color: transparent;
  color: #222;
  padding: 0;
  width: 100%;
}

@media only screen and (max-width: 750px) {
  .header-titulo {
    justify-content: center;
    min-height: 5em;
  }
  .header-titulo h2 {
    margin: 0;
    text-align: center;
    font-size: 1rem;
  }
  .seguros-descripcion h2 {
    font-size: 1rem;
    margin: 0;
    padding: 10px;
    word-wrap: break-word;
  }
  .seguros-descripcion li {
    height: auto;
  }
  .seguros-descripcion h3 {
    font-size: 1rem;
  }
  .logos-seguros-contenedor {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
  }
  .logos-seguros-contenedor img {
    width: 20%;
    object-fit: scale-down;
    padding: 1em;
  }
  .seguros-descripcion p {
    font-size: 1rem;
  }
  .forms a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    padding: 0.8em;
    position: absolute;
    top: 10px;
    font-size: 15px;
    right: 10px;
    color: #fff;
  }
  .forms-asesor {
    width: 100%;
    margin-top: 2em;
    overflow-y: scroll;
    justify-content: flex-start;
  }
  .forms-asesor p {
    margin: 0;
    font-size: 1rem;
  }
  .forms {
    width: 90%;
    flex-direction: column;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .forms span {
    padding: 5px;
  }
  .forms label {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .forms-elements {
    flex-direction: column;
  }
  .forms-elements input {
    width: 90%;
    margin: auto;
    padding: 10px;
  }
  h5 {
    font-size: 1em;
  }
  #email {
    width: 90%;
  }
  #consultar {
    width: 90%;
  }
  .seguros-info {
    flex-direction: column;
    width: 100%;
  }
  .contacto-info,
  .siniestro-info {
    width: 100%;
    border-radius: 1px;
  }
  .seguros-descripcion p {
    width: 100%;
  }
  .logos-seguros-contenedor {
    width: 96%;
    padding: 0;
  }
  .logos-seguros-contenedor ul {
    width: 100%;
    padding: 0;
    flex-wrap: wrap;
  }
  .logos-seguros-contenedor li {
    width: 20%;
    display: flex;
  }
  .logos-seguros-contenedor li img {
    width: 100%;
    padding: 5px;
  }
  .seguros-vida {
    padding: 1em;
  }
  .seguros-vida h2 {
    font-size: 0.8rem;
  }
  .seguros-vida h3 {
    text-align: center;
  }
  .seguros-vida-info {
    width: 100%;
  }
  .seguros-vida-info ul {
    flex-direction: column;
    padding: 0;
  }
  .seguros-vida-info ul li {
    width: 100%;
  }
  .seguros-modal-content {
    width: 100%;
  }
  .seguros-modal-content #title-via-publica {
    font-size: 0.9rem;
    width: 90%;
  }
  .seguros-modal-content h3 {
    font-size: 0.9rem;
  }

  .seguros-info .button{
    width: 100%;
  }
}
