* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}
:root {
  --bg-color: #ffffff;
  --white-color: rgb(238, 231, 231);
  --text-color: #000;
  /*   --second-color: #a09dab;
  --main-color: #f75023; */
  --main-color: #0082b2;
  --second-color: #f2ab00;
  --primary-color: #0082b2;
  --secondary-color: #f2ab00;
  --third-color: #666666;
  --big-font: 5rem;
  --h2-font: 3rem;
  --p-font: 1.1rem;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 30px 18%;
  transition: 0.3s;
}
.logo img {
  max-width: 100%;
  width: 130px;
  height: auto;
}
.navlist {
  display: flex;
}
.navlist li {
  position: relative;
}
.navlist a {
  font-size: var(--p-font);
  color: var(--primary-color);
  font-weight: 600;
  padding: 10px 27px;
}
.navlist a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--second-color);
  bottom: -3px;
  left: 0;
  transition: ease 0.4s;
}
.navlist a:hover::after {
  width: 100%;
}
#menu-icon {
  font-size: 35px;
  color: var(--text-color);
  z-index: 10001;
  cursor: pointer;
  display: none;
}
.top-b {
  background: transparent !important;
  border: 2px solid var(--main-color) !important;
  color: var(--text-color) !important;
}
.top-btn {
  display: inline-block;
  padding: 9px 30px;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 30px;
  color: var(--text-color);
  letter-spacing: 1px;
  font-size: var(--p-font);
  font-weight: 500;
  transition: ease 0.5s;
}
.top-btnn {
  display: inline-block;
  padding: 9px 30px;
  background: var(--second-color);
  border: 2px solid var(--second-color);
  border-radius: 30px;
  color: var(--white-color);
  letter-spacing: 1px;
  font-size: var(--p-font);
  font-weight: 500;
  transition: ease 0.5s;
}
.top-b:hover {
  transform: scale(1.1) !important;
  background: var(--main-color) !important;
  border: 2px solid var(--main-color) !important;
  color: var(--bg-color) !important;
}
.top-btnn:hover {
  transform: scale(1.1);
  background: var(--second-color);
  border: 2px solid var(--main-color);
  color: var(--bg-color);
}
section {
  padding: 100px 18%;
}
.home {
  min-height: 100vh;
  height: 100%;
  width: 100%;
  background-size: cover;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
}
.home-text h1 {
  margin: 10px 0px 25px;
  font-size: 24px;
  color: var(--second-color);
  line-height: 1;
  font-weight: 500;
}
.home-text h5 {
  margin-bottom: 23px;
  font-size: 19px;
  font-weight: 500;
}
span {
  color: var(--main-color);
}
.home-text h3 {
  color: var(--second-color);
  font-size: 20px;
  font-weight: 500;
}
.home-text p {
  font-size: var(--p-font);
  color: var(--text-color);
  line-height: 28px;
  margin-bottom: 20px;
}
.social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--second-color);
  color: var(--bg-color);
  font-size: 17px;
  margin-right: 22px;
  margin-bottom: 30px;
}
.social a:hover {
  transform: scale(1.1);
  background: var(--main-color);
  transition: 0.5s;
}
.btn {
  display: inline-block;
  color: var(--bg-color);
  background: var(--main-color);
  font-size: var(--p-font);
  padding: 10px 40px;
  font-weight: 500;
  line-height: 24px;
  border-radius: 30px;
  transition: ease 0.4s;
}
.btn:hover {
  transform: scale(1.1);
}
.home-img img {
  max-width: 100%;
  width: 540px;
  height: auto;
}
header.sticky {
  background: var(--bg-color);
  padding: 13px 18%;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
}
.sub-service .heading h2 {
  color: var(--second-color);
}
.sub-service .heading h3 {
  color: var(--third-color);
  margin-bottom: 10px;
}
.items {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 2rem;
  align-items: center;
  text-align: center;
}
.sub-box {
  min-height: 400px;
  padding: 45px 45px 45px 45px;
  transition: ease 0.5s;
  cursor: pointer;
  background: #0083b2b4;
  border: 1px solid var(--second-color);
  border-radius: 20%;
  color: var(--white-color);
}

.sub-box img {
  max-width: 100%;
  width: 60px;
  height: auto;
  margin-bottom: 20px;
}
.sub-box h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 500;
}
.sub-box p {
  font-size: var(--p-font);
  /*  color: var(--third-color); */
  line-height: 29px;
}
.sub-box:hover {
  color: var(--text-color);
  background: #fff;
  box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
  border-radius: 12px;
  will-change: transform;
  transform: perspective(1000px) rotateX(4.8deg) rotateX(10.23deg)
    scale3d(1.05, 1.05, 1.05);
}
.about {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-items: center;
  gap: 2rem;
}
.about-img img {
  max-width: 100%;
  width: 540px;
  height: auto;
}
.about-text h2 {
  font-size: var(--h2-font);
  font-weight: 500;
  margin: 8px 0px 25px;
  line-height: 1.1;
}
.about-text h3 {
  color: var(--second-color);
  font-size: 25px;
  padding: 10px;
  font-weight: 500;
}
.about-text p {
  max-width: 550px;
  font-size: var(--p-font);
  color: var(--third-color);
  line-height: 28px;
  margin-bottom: 45px;
}

.heading {
  text-align: center;
}
.heading h3 {
  color: var(--main-color);
  font-size: 20px;
  font-weight: 500;
}
.heading h2 {
  font-size: var(--h2-font);
  font-weight: 500;
  margin: 7px 0px 20px;
  line-height: 1.1;
}
.heading p {
  font-size: var(--p-font);
  color: var(--third-color);
  line-height: 28px;
}
.portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, auto));
  gap: 2rem;
  align-items: center;
  margin-top: 5rem;
  text-align: center;
  cursor: pointer;
}
.col {
  position: relative;
}
.col img {
  max-width: 100%;
  width: 550px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}
.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 12px;
  transition: all 0.4s;
}
.layer:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, #191919);
}
.layer h3 {
  position: absolute;
  width: 100%;
  font-size: 25px;
  font-weight: 500;
  color: var(--bg-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.4s;
}
.layer:hover h3 {
  bottom: 52%;
  opacity: 1;
}
.layer h5 {
  position: absolute;
  width: 100%;
  font-size: 17px;
  font-weight: 500;
  color: var(--bg-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.4s;
}
.layer:hover h5 {
  bottom: 48%;
  opacity: 1;
}
/* .faq-content {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
} */
.faq-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, auto));
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}
.item-faq {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
  margin: 10px 20px;
  padding: 25px;
  box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
  transition: ease 0.2s;
}
.item-faq:hover {
  box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
  will-change: transform;
  transform: perspective(1000px) rotateX(4.8deg) rotateX(10.23deg)
    scale3d(1.05, 1.05, 1.05);
  cursor: pointer;
  border-radius: 12px;
  border: 0.5px solid var(--second-color);
}
.faq-content img {
  height: 40px;
  width: 40px;
}
.faq-content p {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service .heading h2 {
  color: var(--second-color);
}
.service .heading h3 {
  color: var(--third-color);
}
.service-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, auto));
  gap: 2rem;
  align-items: center;
  margin-top: 5rem;
}
.row {
  background: #fff;
  box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
  border-radius: 12px;
  padding: 45px;
  transition: ease 0.45s;
  cursor: pointer;
}
.s img {
  height: 65px;
  width: 65px;
  background: #f75124;
  padding: 15px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
}
/* .s.s-one img{
  background: #baebcd;
} */
.s.s-two img {
  background: #baebcd;
}
.s.s-three img {
  background: #d9d1fa;
}
.s.s-four img {
  background: #faedce;
}
.row h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 2px;
}
.row h5 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 19px;
}
.row p {
  font-size: var(--p-font);
  color: var(--third-color);
  line-height: 28px;
}
.row:hover {
  will-change: transform;
  transform: perspective(1000px) rotateX(4.8deg) rotateX(10.23deg)
    scale3d(1.05, 1.05, 1.05);
}
.cta-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 2rem;
  align-items: center;
  margin-top: 5rem;
  text-align: center;
}
.wrap {
  background: #fff;
  box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
  border-radius: 12px;
  padding: 50px;
  transition: ease 0.4s;
  cursor: pointer;
}
.one {
  background: #baebcd;
}
.two {
  background: #d9d1fa;
}

.three {
  background: #faedce;
}
.wrap h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 2px;
}
.wrap p {
  font-size: var(--p-font);
}
.contact {
  background: #8067f0eb;
  width: 64%;
  margin: 100px auto;
  padding: 70px 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-image: url(../img/intro.png);
  background-size: cover;
  text-align: center;
}
.center h3 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 3px;
  color: var(--bg-color);
}
.center p {
  font: var(--p-font);
  color: var(--bg-color);
  line-height: 26px;
  margin-bottom: 25px;
}
.contact .action form input[type="email"] {
  max-width: 100%;
  width: 470px;
  padding: 12px 15px;
  background: var(--bg-color);
  color: var(--text-color);
  border: none;
  outline: none;
  margin: 0 10px 20px 0;
  border-radius: 30px;
}
.contact .action form input[type="submit"] {
  padding: 12px 40px;
  background: var(--second-color);
  color: var(--bg-color);
  border: none;
  outline: none;
  margin: 0 10px 20px 0;
  border-radius: 30px;
  cursor: pointer;
}

.ends {
  text-align: center;
  padding: 40px;
}
.ends p {
  font-size: var(--p-font);
  letter-spacing: 1px;
}
/* ---- FOOTER ----- */
footer {
  width: 100%;
  padding: 50px 0px;
  *background-image: url(../img/background-footer.svg);
  *background-size: cover;
  background-color: #ebebeb;
  -webkit-mask-image: url(../img/background-footer.svg);
  -webkit-mask-size: cover;
  mask-image: url(../img/background-footer.svg);
  mask-size: cover;
}
.container__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  margin-top: 50px;
}
.box__footer {
  display: flex;
  flex-direction: column;
  padding: 40px;
}
.box__footer .logo img {
  width: 150px;
  height: auto;
}
.box__footer .terms {
  max-width: 350px;
  margin-top: 20px;
  font-weight: 500;
  color: var(--third-color);
  font-size: 18px;
  line-height: 18px;
  display: flex;
  flex-direction: column;
}
.box__footer h2 {
  margin-bottom: 30px;
  color: var(--main-color);
  font-weight: 700;
}
.box__footer a {
  margin-top: 10px;
  color: var(--third-color);
  font-weight: 500;
}
.box__footer a:hover {
  opacity: 0.8;
}
.box__footer i {
  font-size: 20px;
  color: var(--second-color);
}
.box__footer span {
  line-height: 1.5rem;
  margin: 10px 0px;
}
.box__copy {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 40px 0px;
}
.box__copy hr {
  border: none;
  height: 1px;
  background-color: #7a7a7a;
}
.box__copy p {
  margin-top: 20px;
  color: var(--third-color);
}
.box__copy b {
  color: var(--main-color);
}

/*------ FIN FOOTER -----*/
.aviso {
  width: 70%;
  height: 60vh;
  margin: 0 auto;
}
.wrapper-aviso {
  display: flex;
  gap: 20px;
  width: 70%;
  height: auto;
  margin: 0 auto;
  margin-top: 85px;
  padding: 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wrapper-aviso h2 {
  margin-top: 30px;
  font-size: 25px;
  font-weight: 600;
}
.wrapper-aviso p {
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
  margin-bottom: 30px;
}
.wrapper-aviso.error h2 {
  color: rgb(228, 119, 119);
}
.wrapper-aviso.error p {
  color: rgb(228, 119, 119);
}
.wrapper-aviso.error {
  border: 1px solid rgb(228, 119, 119);
}
.wrapper-aviso.success h2 {
  color: rgb(54, 218, 68);
}
.wrapper-aviso.success p {
  color: rgb(54, 218, 68);
}
.wrapper-aviso.success {
  background: rgba(150, 240, 157, 0.3);
  border: 1px solid rgb(150, 240, 158);
}
@media (max-width: 1425px) {
  header.sticky {
    padding: 10px 3%;
    transition: 0.3s;
  }

  section {
    padding: 50px 12%;
    transition: 0.3s;
  }
  .contact {
    width: 95%;
    transition: 0.3s;
  }
  :root {
    --big-font: 4rem;
    --h2-font: 2.3rem;
    --p-font: 1rem;
    transition: 0.3s;
  }
}
@media (max-width: 970px) {
  header {
    padding: 16px 3%;
    transition: 0.3s;
  }
  #menu-icon {
    display: block;
  }
  .home {
    min-height: 80vh;
    background: var(--bg-color);
  }
  .navlist {
    position: absolute;
    top: -600px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--main-color);
    text-align: right;
    transition: all 0.4s;
  }
  .navlist a {
    display: block;
    padding: 1.2rem;
    margin: 1.5rem;
    border-right: 2px solid var(--bg-color);
    color: var(--bg-color);
  }
  .navlist a:hover {
    background: var(--bg-color);
    color: var(--main-color);
  }
  .navlist a::after {
    display: none;
  }
  .navlist.active {
    top: 100%;
  }
}
@media (max-width: 800px) {
  .home {
    grid-template-columns: 1fr;
    min-height: 130vh;
    gap: 1rem;
  }
  .home-text {
    padding-top: 55px;
  }
  .home-img {
    text-align: center;
  }
  .home-img img {
    width: 440px;
    height: auto;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about-img {
    text-align: center;
    margin-bottom: 30px;
  }
  :root {
    --big-font: 3.4rem;
    --h2-font: 2rem;
  }
  section {
    padding: 65px 3%;
    transition: 0.3s;
  }
}
@media (max-width: 540px) {
  .contact .action form input[type="email"] {
    width: 310px;
  }
  .faq-content {
    display: flex;
    flex-direction: column;
  }
  .item-faq {
    margin: 15px 10px;
    padding: 10px;
  }
}
@media (max-width: 380px) {
  .aviso {
    width: 100%;
  }
  .wrapper-aviso {
    width: 90%;
    margin-top: 20px;
    padding: 10px;
  }
  .wrapper-aviso h2 {
    font-size: 20px;
  }
  .wrapper-aviso p {
    font-size: 17px;
  }
  .wrapper-aviso.error,
  .wrapper-aviso.success {
    border: none;
  }
  .logo img {
    max-width: 100%;
    width: 110px;
    height: auto;
  }
  .contact .action form input[type="email"] {
    width: 310px;
  }
  .faq-content {
    display: flex;
    flex-direction: column;
  }
  .item-faq {
    margin: 15px 10px;
    padding: 10px;
  }

  section {
    padding: 10px;
    transition: 0.3s;
  }
  .top-btnn {
    display: none;
  }
  header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: transparent;
    padding: 10px 3%;
    transition: 0.3s;
  }
  .navlist {
    width: 90%;
  }
  .home {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
  }
}
