@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container.content {
  margin-bottom: 250px;
}

.container.content:nth-last-child(1) {
  margin-bottom: 100px;
}

.nav {
  position: fixed;
  background-color: #000b4c;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.2s ease-in-out;
  z-index: 999;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  transition: all 0.3s ease-in-out;
}

.about-ddh,
.services,
.contact,
.seminarios {
  scroll-margin-top: 120px;
}

.logo {
  width: 50%;
  transition: all 0.3s ease;
}

.subtitles-header {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

i.fa-xmark,
i.fa-bars {
  cursor: pointer;
}

.subtitles-header a,
i.fa-xmark,
i.fa-bars {
  display: inline-block;
  position: relative;
  width: 100%;
  color: #fff;
  text-decoration: none;
  padding: 7px 20px;
}

.subtitles-header a:hover,
i.fa-xmark:hover,
i.fa-bars:hover {
  color: #000b4c;
  transition: all 0.3s ease;
}

.subtitles-header a:after,
i.fa-xmark:after,
i.fa-bars:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  transition: all 0.3s ease;
  z-index: -1;
}

.subtitles-header a:hover:after,
i.fa-xmark:hover:after,
i.fa-bars:hover:after {
  height: 100%;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.subtitles-header.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: #000b4c;
  transition: all 0.2s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
}

.subtitles-header.sidebar.show {
  transform: translateX(0);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  visibility: visible;
}

.subtitles-header.sidebar li {
  display: block;
  text-align: center;
  padding: 20px 0;
}

.menu-button {
  display: none;
}

.nav.active {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav.active a,
.nav.active i.fa-xmark,
.nav.active i.fa-bars {
  color: #000;
}

.nav.active .subtitles-header.sidebar {
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

.nav.active .container {
  padding: 8px 0;
}

.nav.active .logo.lwhite {
  width: 45%;
  transition: all 0.3s ease;
}

.nav.active a:hover,
.nav.active i.fa-xmark:hover,
.nav.active i.fa-bars:hover {
  color: #fff;
}

.nav.active a:after,
.nav.active i.fa-xmark:after,
.nav.active i.fa-bars:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  transition: all 0.3s ease;
  z-index: -1;
}

.nav.active .subtitles-header a:hover:after,
.nav.active i.fa-xmark:hover:after,
.nav.active i.fa-bars:hover:after {
  height: 100%;
  background-color: #000b4c;
  transition: all 0.3s ease;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.overlay.active {
  display: block;
}

.hero {
  background-image: url("../img/financial-advisor-hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin-bottom: 50px;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.title-hero {
  font-size: 3.4vw;
  font-weight: bold;
  display: inline-block;
  justify-content: center;
  margin-bottom: 20px;
}

#cursor {
  display: inline-block;
  vertical-align: bottom;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.title-hero span {
  display: inline;
}

.title-underscore {
  display: inline-block;
  position: relative;
  color: white;
}

.hero p {
  letter-spacing: 1px;
  font-size: 20px;
}

.content h2 {
  font-size: 300%;
  margin: 10px 0;
}

.content h3 {
  font-size: 210%;
  margin: 5px 0;
}

.content p {
  line-height: 30px;
  letter-spacing: 1px;
}

.about-me {
  margin-bottom: 50px;
}

.about-me p {
  padding: 0 30px 30px 30px;
  line-height: 33px;
}

.content-title {
  text-align: center;
  padding-bottom: 40px;
}

.about-me-carousel .item-title {
  margin-bottom: 0;
}

.slider-container {
  position: relative;
  height: 450px;
  max-width: 1400px;
  padding: 20px;
  overflow: hidden;
}

.slide {
  position: relative;
  overflow: hidden;
}

.slider-controls button {
  position: absolute;
  top: calc(50% + 60px);
  height: 30px;
  width: 30px;
  cursor: pointer;
  background-color: #000b4c;
  color: #fff;
  border: none;
  border-radius: 100%;
  transition: all 0.3s ease;
}

.slider-controls button:hover {
  transform: scale(1.2);
  transition: all 0.5s ease;
}

.slider-controls button:active {
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.slider-container button.disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transition: all 0.5s ease;
}

.slider-controls button:first-of-type {
  left: 10px;
}

.slider-controls button:last-of-type {
  right: 10px;
}

.slider-container .slider {
  display: flex;
  width: 350%;
  height: 100%;
  transition: all 1s ease;
}

.slider-container .slider .slide {
  height: 54%;
  margin: auto 10px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.slider-container .slider .slide:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.slide:hover .slide-text {
  opacity: 1;
  transition: all 0.3s ease;
}

.slider-container .slider .slide img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.slide-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 11, 76, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.hint-slider {
  font-size: 12px;
  text-align: center;
  color: gray;
}

.subrayado {
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  height: 10px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(218, 0, 1, 1) 0%,
    rgba(223, 221, 220, 1) 35%,
    rgba(223, 221, 220, 1) 65%,
    rgba(10, 30, 201, 1) 100%
  );
}

.content-item {
  display: flex;
  margin-bottom: 60px;
}

.content-item.about-ddh {
  text-align: center;
  margin-bottom: 30px;
}

.highlight-link a {
  text-decoration: underline;
  color: #000b4c;
}

.people-item {
  display: flex;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.people-desc {
  padding: 12px;
}

.people-item .content-text h3 {
  margin: 20px 0 20px 0;
}

.people-desc img {
  width: 250px;
}

.people-img {
  border-radius: 10px;
}

.grid-vision-mision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding: 3em 3.5em 3em 3.5em;
  width: 100%;
}

.grid-vision-mision p {
  margin-top: 20px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  padding: 20px 0 60px 0;
}

.valores-grid .valores-item {
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0 20px 0;
}

.valores-grid img {
  width: 50%;
  margin-bottom: 20px;
}

.content-item.valor {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 20px;
}

.service-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.service-grid img {
  width: 40%;
  margin-bottom: 25px;
}

.service-item {
  padding: 15px 8px 15px 8px;
  box-shadow: 0 5px 10px rgba(0.1, 0, 0, 0.1);
  border-radius: 10px;
}

.service-desc h4 {
  margin-bottom: 10px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.item-title {
  text-align: center;
  margin-bottom: 40px;
}

.services-list-item {
  padding: 10px 40px 20px 0;
  margin-left: 50px;
}

.services-list-item .item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.item-image {
  flex-shrink: 0;
}

.item-image img {
  width: 80px;
}

.seminario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  width: 100%;
}

.seminario-grid .seminario-item {
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.seminario-item a {
  text-decoration: none;
  color: #000;
}

.more-items a:hover {
  color: #fff;
}

.more-items a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.more-items a:hover:after {
  width: 100%;
  border-radius: 3px;
  background-color: #000b4c;
  transition: all 0.3s ease;
}

.seminario-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.seminario-image {
  transition: all 0.3s ease-in-out;
}

.seminario-image:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.more-items {
  text-align: center;
}

.more-items a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  color: #000b4c;
  padding: 0 10px 0 10px;
}

.choose-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.choose-grid .choose-item {
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 30px 20px 30px 20px;
}

.choose-us .content-text p {
  margin-bottom: 40px;
}

.choose-desc h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

.work-grid {
  display: grid;
  align-items: center;
  gap: 60px;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.work-grid .work-item {
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 30px 20px 30px 20px;
}

.work-desc h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

.work .content-text p {
  margin-bottom: 40px;
}

.contact * {
  font-family: "Poppins", sans-serif;
}

.contact-form {
  position: relative;
  width: 100%;
  padding: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-box {
  width: 100%;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-image {
  background-color: #fff;
}

.contact-info {
  background-color: #000b4c;
  color: #fff;
}

.contact-info h2 {
  padding: 10px 0 0 30px;
}

.contact-info form {
  padding: 0 2.3rem 2.5rem 2.2rem;
  overflow: hidden;
  position: relative;
}

.input-container {
  position: relative;
  margin: 1rem 0 1rem 0;
}

.input-container.success input,
.input-container.success textarea {
  border-color: #00ff00;
  transition: all 0.3s ease;
}

.input-container.success small {
  color: #00ff00;
  display: none;
}

.input-container.error input,
.input-container.error textarea {
  border-color: #ff0000;
  transition: all 0.3s ease;
}

.input-container.error small {
  color: #ff0000;
  display: block;
  margin: 5px;
}

.input-container small {
  color: #ff0000;
  visibility: visible;
}

.input-container.error .iti__selected-country-primary {
  border-right: 2px solid #ff0000 !important;
}

.input-container.success .iti__selected-country-primary {
  border-right: 2px solid #00ff00 !important;
}

.input-container.textarea {
  margin-bottom: 2rem;
}

.input-container label {
  padding: 0 0 10px 15px;
}

.field {
  width: 100%;
  outline: none;
  border: 2px solid #c5c5c5;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.field:focus {
  border: 2px solid #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.field::placeholder {
  font-family: "Poppins", sans-serif;
}

.iti__selected-country-primary {
  margin-left: 8px;
  border: 2px solid #fff;
  border-radius: 0px;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}

.input-container:nth-child(4) {
  z-index: 2;
}

.iti__country-list {
  color: #000;
}

textarea.field {
  padding: 0.8rem 0 1rem 1.2rem;
  min-height: 150px;
  border-radius: 20px;
  overflow-y: auto;
  resize: none;
}

.button-form {
  display: flex;
  justify-content: center;
}

.contact-form .button {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fff;
  font-size: 1.1rem;
  color: #000b4c;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: transparent;
  color: #fff;
  transition: all 0.3s ease;
}

.libutton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px;
  text-align: center;
  outline: none;
  text-decoration: none !important;
  color: #ffffff !important;
  width: 250px;
  height: 35px;
  font-size: 20px;
  border: 1px solid #fff;
  border-radius: 20px;
  background-color: #08529c;
  font-family: "SF Pro Text", Helvetica, sans-serif;
  transition: all 0.2s ease-in-out;
}

.libutton:hover {
  background-color: #0a5096;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.container.content.linkedin {
  margin-bottom: 150px;
  margin-top: -50px;
}

.linkedin-box {
  padding: 30px 40px 40px 40px;
  border-radius: 20px;
  background-color: #08529c;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.linkedin-title {
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  padding: 5px;
}

.linkedin-title h2 {
  margin-bottom: 25px;
}

.linkedin-title i {
  margin-left: 4px;
  font-size: 55px;
}

.linkedin-botton {
  display: flex;
  justify-content: center;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.alert {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: #000b4c;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  /*     transition: all .3s ease; */
}

.alert.active {
  top: 50%;
  transform: translate(-50%, -50%);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  /*     transition: all .3s ease; */
}

.alert h2 {
  margin-bottom: 40px;
  color: #fff;
}

.alert p {
  margin-bottom: 20px;
  color: #fff;
}

.alert i:nth-child(2) {
  font-size: 100px;
  color: #fff;
  margin-bottom: 40px;
}

.alert .button {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fff;
  font-size: 1rem;
  color: #000b4c;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alert .button:hover {
  background-color: transparent;
  color: #fff;
  transition: all 0.3s ease;
}

/* TODO EVERYTHING BEFORE FOOTER */

footer {
  box-shadow: 0 -5px 10px rgba(0.1, 0, 0, 0.1);
}

.container.footer {
  display: flex;
  justify-content: space-around;
  padding: 40px 0 40px 0;
}

.container.footer h2 {
  margin-bottom: 20px;
}

.container.footer .icon-list-items {
  margin-right: 10px;
}

.container.footer li {
  list-style-type: none;
  padding: 0 0 10px 0;
}

.container.footer a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.container.footer a:hover {
  color: #fff;
}

.container.footer a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.container.footer a:hover:after {
  width: 100%;
  background-color: #000b4c;
  transition: all 0.3s ease;
}

.copyright {
  text-align: center;
  padding-bottom: 20px;
}

/* TODO REVEAL EFFECT */

.reveal {
  position: relative;
  transform: translateY(20px);
  opacity: 0;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease;
}

/* TODO "media" SECTION */

@media screen and (max-width: 1020px) {
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .valores-grid img {
    width: 35%;
  }

  .about-me p {
    padding: 0 30px 40px 30px;
  }

  .content p {
    font-size: 14px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-list-item {
    margin-left: 0;
  }

  .services-list-item .item {
    gap: 20px;
  }

  .item-image img {
    width: 65px;
  }

  .seminario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choose-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contact-form {
    padding: 1em;
  }

  .contact-info h2 {
    padding: 10px 0 0 0;
    text-align: center;
  }

  .contact-info form {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .input-container label {
    padding: 0 0 10px 10px;
  }

  .field {
    padding: 0.6rem 1.2rem;
  }

  .textarea.field {
    padding: 0.8rem 0 1rem 1rem;
  }

  .contact-form .button {
    padding: 0.6rem 1.3rem;
    text-align: center;
  }

  .contact-photo img {
    width: 100%;
  }

  .img-footer {
    margin-bottom: 20px;
  }

  .container.footer {
    align-items: center;
    font-size: 15px;
  }

  .contact,
  .menu {
    margin-bottom: 25px;
  }

  .menu {
    text-align: left;
    margin-right: 60px;
  }
}

@media screen and (max-width: 992px) {
  .content p {
    font-size: 12px;
  }

  .content h2 {
    font-size: 250%;
  }

  .content h3 {
    font-size: 180%;
  }

  .slider-container .slider {
    width: 500%;
  }

  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .valores-grid img {
    width: 31%;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid img {
    width: 30%;
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-list-item {
    margin-left: 0;
  }

  .services-list-item .item {
    gap: 20px;
  }

  .item-image img {
    width: 55px;
  }

  .seminario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choose-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    padding: 1em;
  }

  .contact-info h2 {
    padding: 10px 0 0 0;
    text-align: center;
  }

  .contact-info form {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .input-container label {
    padding: 0 0 10px 10px;
  }

  .field {
    padding: 0.6rem 1.2rem;
  }

  .textarea.field {
    padding: 0.8rem 0 1rem 1rem;
  }

  .contact-form .button {
    padding: 0.6rem 1.3rem;
    text-align: center;
  }

  .contact-photo img {
    width: 100%;
  }

  .img-footer {
    margin-bottom: 20px;
  }

  .container.footer {
    align-items: center;
    font-size: 15px;
  }

  .contact,
  .menu {
    margin-bottom: 25px;
  }

  .menu {
    text-align: left;
    margin-right: 60px;
  }
}

@media screen and (max-width: 820px) {
  .mobileHideBar {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .logo {
    width: 40%;
  }

  .nav.active .logo.lwhite {
    width: 35%;
    transition: all 0.3s ease;
  }

  .nav.active .container {
    padding: 8px 0;
  }

  .hero {
    background-position: center;
  }

  .title-hero {
    font-size: 8vw;
    display: inline-block;
  }

  #cursor {
    font-size: 8vw;
    vertical-align: baseline;
  }

  .hero p {
    font-size: 14px;
  }

  .content h2 {
    font-size: 200%;
  }

  .content h3 {
    font-size: 170%;
  }

  .content-item {
    flex-direction: column;
  }

  .slider-container .slider {
    width: 400%;
  }

  .slider-controls button {
    top: calc(50% + 40px);
  }

  .people-item {
    flex-direction: column;
  }

  .people-desc img {
    width: 50%;
  }

  .grid-vision-mision {
    grid-template-columns: 1fr;
    padding: 3em 0em 3em 0em;
  }

  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .valores-grid img {
    width: 25%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid img {
    width: 15%;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .services-list-item {
    padding: 10px 20px 20px 20px;
  }

  .services-list-item .item {
    gap: 30px;
  }

  .asesoramiento .services-list-item:last-child {
    margin-bottom: 20px;
  }

  .item-image img {
    width: 65px;
  }

  .seminario-grid {
    grid-template-columns: 1fr;
  }

  .seminario-item img {
    width: 100%;
  }

  .choose-grid {
    grid-template-columns: 1fr;
  }

  .choose-grid .choose-item {
    padding: 20px;
  }

  .about-me p {
    padding: 0 30px 40px 30px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid .work-item {
    padding: 20px;
  }

  .contact-form {
    padding: 1em;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    padding: 10px 0 0 0;
    text-align: center;
  }

  .contact-info form {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .input-container label {
    padding: 0 0 10px 10px;
  }

  .field {
    padding: 0.6rem 1.2rem;
  }

  .textarea.field {
    padding: 0.8rem 0 1rem 1rem;
  }

  .contact-form .button {
    padding: 0.6rem 1.3rem;
    text-align: center;
  }

  .contact-photo {
    height: 200px;
  }

  .contact-photo img {
    width: 100%;
    height: 120%;
  }

  .iti {
    width: 100%;
  }

  .img-footer {
    margin-bottom: 20px;
  }

  .container.footer {
    flex-direction: column;
    align-items: center;
    font-size: 15px;
  }

  .contact,
  .menu {
    margin-bottom: 25px;
  }

  .menu {
    text-align: left;
    margin-right: 55px;
  }

  .copyright p {
    font-size: 12px;
  }
}

@media screen and (max-width: 690px) {
  .slider-container .slider .slide {
    width: calc(10% - 20px);
  }

  .valores-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .valores-grid img {
    width: 25%;
  }

  .service-grid img {
    width: 20%;
  }

  .services-list-item {
    padding: 10px 20px 20px 20px;
  }

  .services-list-item .item {
    gap: 20px;
  }

  .item-image img {
    width: 50px;
  }

  .seminario-item img {
    width: 100%;
  }

  .choose-grid .choose-item {
    padding: 20px;
  }

  .work-grid .work-item {
    padding: 20px;
  }

  .contact-form {
    padding: 1em;
  }

  .contact-info h2 {
    padding: 10px 0 0 0;
    text-align: center;
  }

  .contact-info form {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .input-container label {
    padding: 0 0 10px 10px;
  }

  .field {
    padding: 0.6rem 1.2rem;
  }

  .textarea.field {
    padding: 0.8rem 0 1rem 1rem;
  }

  .contact-form .button {
    padding: 0.6rem 1.3rem;
    text-align: center;
  }

  .contact-photo img {
    width: 100%;
  }

  .img-footer {
    margin-bottom: 20px;
  }

  .container.footer {
    flex-direction: column;
    align-items: center;
    font-size: 15px;
  }

  .contact,
  .menu {
    margin-bottom: 25px;
  }

  .menu {
    text-align: left;
  }
}

@media screen and (max-width: 450px) {
  .subtitles-header.sidebar {
    width: 100%;
  }

  .title-hero {
    font-size: 8vw;
  }

  .hero p {
    font-size: 12px;
  }

  .container.content:nth-last-child(1) {
    margin-bottom: 50px;
  }

  .content h2 {
    font-size: 180%;
  }

  .content h3 {
    font-size: 150%;
  }

  .content p {
    font-size: 12px;
  }

  .people-desc img {
    width: 50%;
  }

  .slider-container .slider {
    width: 700%;
  }

  .grid-vision-mision {
    padding: 3em 0em 3em 0em;
  }

  .valores-grid img {
    width: 20%;
  }

  .service-grid img {
    width: 18%;
  }

  .services-list-item {
    padding: 10px 20px 20px 20px;
  }

  .asesoramiento .services-list-item:last-child {
    margin-bottom: 20px;
  }

  .services-list-item .item {
    gap: 20px;
  }

  .item-image img {
    width: 50px;
  }

  .seminario-item img {
    width: 100%;
  }

  .choose-grid .choose-item {
    padding: 20px;
  }

  .work-grid .work-item {
    padding: 20px;
  }

  .contact-form {
    padding: 1em;
  }

  .contact-info h2 {
    padding: 10px 0 0 0;
    text-align: center;
  }

  .contact-info form {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .input-container label {
    padding: 0 0 10px 10px;
  }

  .field {
    padding: 0.6rem 1.2rem;
  }

  .textarea.field {
    padding: 0.8rem 0 1rem 1rem;
  }

  .contact-form .button {
    padding: 0.6rem 1.3rem;
    text-align: center;
  }

  .contact-photo {
    height: 150px;
  }

  .contact-photo img {
    width: 100%;
    height: 105%;
  }

  .img-footer {
    margin-bottom: 20px;
  }

  .container.footer {
    flex-direction: column;
    align-items: center;
    font-size: 15px;
  }

  .contact,
  .menu {
    margin-bottom: 25px;
  }

  .menu {
    text-align: left;
    margin-right: 55px;
  }
}
