html {
  font-family: "Lexend", sans-serif;
}
.page-section {
  padding: 2.5rem 0;
  position: relative !important;
}
.page-section .page-section-heading {
  font-size: 2.25rem;
  line-height: 2rem;
}
@media (min-width: 992px) {
  .page-section .page-section-heading {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}
h1 {
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  color: #003049;
}
h2 {
  font-size: 40px;
  font-weight: normal;
  color: #003049;
}
/* Este código se aplicará en móviles y tabletas (hasta 991px) */
header {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  height: calc(40vh - 90px); /* 100vh menos el alto del nav */
}
header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  width: 100%;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Este es el cambio clave para móviles */
}
.header-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 992px) {
  header {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    height: calc(100vh - 110px); /* 100vh menos el alto del nav */
  }
  header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Este es el cambio clave para escritorios */
  }
  .header-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
  }
}
#mainNav {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  background-color: #ffffff;
  border-bottom: 1px solid #212121;
  outline: 1px solid #21212120;
}
#mainNav .navbar-brand {
  color: #fff;
}
#mainNav .navbar-brand img {
  width: 125px;
  height: auto;
}
#mainNav .navbar-nav {
  margin-top: 0.25rem;
  border-color-bottom: 1px solid #212121;
}
#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #fff;
}
#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #1abc9c;
}
#mainNav .navbar-nav li.nav-item a.nav-link:active,
#mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #fff;
}
#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #1abc9c;
}
#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}
@media (min-width: 992px) {
  #mainNav {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .navbar-brand img {
    width: 240px;
    height: auto;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-nav {
    margin-top: 0;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #1abc9c;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active,
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus,
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
    background: #1abc9c;
  }
  #mainNav.navbar-shrink {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    opacity: 0.15;
    transition: 0.5s;
  }
  #mainNav.navbar-shrink:hover {
    opacity: 1;
    transition: 0.5s;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.5em;
  }
}
main {
    background-image: url(../assets/img/hermosas-olas.jpg);
    background-size: cover;
    background-position: top center;
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    position: relative;
}
.borde-multicolor-top {
    border-top: 5px solid;
    border-image: linear-gradient(to right, #ED713F 0%, #ED713F 33.33%, #66A7A2 33.33%, #66A7A2 66.66%, #A8D2B0 66.66%, #A8D2B0 100%) 1;
    margin-top: -2.5rem !important;
}
.borde-multicolor-bottom {
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #ED713F 0%, #ED713F 33.33%, #66A7A2 33.33%, #66A7A2 66.66%, #A8D2B0 66.66%, #A8D2B0 100%) 1;
    margin-bottom: -2.5rem !important;
}
/* Servicios */
#foco {
  background-color: #ffffffe8;
}
#foco .item-box {
  background: #01303940;
  border-radius: 25px;
  padding: .33rem 1rem;
  font-weight: 600;
  color: #013039;
  transition: background 0.3s;
  font-size: 16px;
}
#foco .item-box:hover {
  background: #01303960;
}
#foco .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #ffffff80;
  display: none;
}
#nosotros {
  background-color: #fffffff5;
}
#nosotros h3 {
  color: #013039;
  font-weight: normal;
  font-size: 21px;
  text-transform: none;
  line-height: 24px;
  margin-bottom: 1.5rem;
  margin-right: 1rem;
  margin-left: 1rem;
  text-align: center;
}
#nosotros .founder-name, #nosotros .founder-title {
  color: #013039;
  font-weight: normal;
  font-size: 15px;
  text-transform: uppercase;
  line-height: normal;
  margin: 0 0 .2rem 0;
  text-align: center;
}
#nosotros p {
    color: #013039;
    font-weight: normal;
    font-size: 18px;
    text-transform: none;
    line-height: 36px;
    margin: 2rem 1rem;
    text-align: justify;
}
#nosotros img {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

@media (min-width: 1024px) {
#nosotros .founder-name, #nosotros .founder-title {
  margin: 0;
}

}
@media (min-width: 992px) {
#nosotros h3 {
  font-size: 28px;
  color: #013039;
  font-weight: normal;
  text-transform: none;
  line-height: 38px;
  margin-bottom: 2rem;
  margin-right: 20%;
  text-align: left;
}
#nosotros p {
  color: #013039;
  font-weight: normal;
  font-size: 18px;
  text-transform: none;
  line-height: 36px;
  margin-bottom: 2rem;
  text-align: justify;
}
#nosotros .founder-name, #nosotros .founder-title {
  color: #013039;
  font-weight: normal;
  font-size: 16px;
  text-transform: uppercase;
  line-height: normal;
  margin: 0 0 1rem 0;
  text-align: center;
}

}
#nosotros .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #ffffff99;
  z-index: -1;
  display: none;
}
#experiencia {
  background-color: #ffffffd1;
}
#experiencia p {
    color: #013039;
    font-weight: normal;
    font-size: 16px;
    text-transform: none;
    line-height: 22px;
    margin: 0 2rem 2rem 2rem;
    text-align: center;
}
#experiencia h5 {
    color: #013039;
    font-weight: normal;
    font-weight: bold;
    font-size: 16px;
    text-transform: none;
    line-height: 22px;
    margin: 0 1rem;
    text-align: center;
}
#experiencia img {
    height: 110px;
    margin: 10px 0;
}
#experiencia .item {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 992px) {
#experiencia .item {
  padding: 0;
}
#experiencia img {
  height: 175px;
  margin: 20px 0;
}
#experiencia p {
    margin: 0 2rem 2rem;
}
#experiencia h5 {
    margin: 0 1rem;
}
}

#experiencia .row {
    padding: 1.5rem 0;
}
/* Contact Section con JS Parallax 
#contact {
  position: relative;
  overflow: hidden;
  padding: 0rem 0 0;
}
#contact .background-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; 
  background-image: url('../assets/img/olas.jpg');
  background-size: cover;
  background-position: center center;
  z-index: -2; 
}
#contact .overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff60;
  width: 100%;
  height: 100%;
  z-index: -1;
}
@media (max-width: 768px) {
  #contact .background-parallax {
    background-image: url('../assets/img/olas-mobile.jpg');
    background-position: center center;
    background-size: cover;
    height: 120%; 
  }
}
*/
#contact {
  padding-bottom: 0 !important;
  background-color: #ffffffe8;
}
#contact .form-content {
  position: relative;
  z-index: 1;
}
#contact form {
  border-radius: 25px 25px 0 0;
  background-color: white;
  padding: 2rem;
  box-shadow: 0px -5px 10px 0px #00000050;
  margin: 4rem 0rem 0 0rem;
  z-index: 1;
  position: relative;
}
#contact .overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff00;
  width: 100%;
  height: 100%;
  display: none;
}
#contact h2 {
  color: #686867;
  font-family: "Lexend", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  font-size: 30px;
}
#contact input::placeholder,
#contact textarea::placeholder {
  color: #686867;
  font-family: "Lexend", sans-serif;
  font-weight: 200;
  line-height: 1.2;
  font-size: 14px;
}
#contact button {
  background-color: #64a6a2;
  font-family: "Lexend", sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  color: white;
  border: 0px;
  border-radius: 25px;
  margin-top: 20px;
  min-width: 175px;
}
.form-floating input.form-control,
.form-floating textarea.form-control {
  font-size: 1.5rem;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  border-width: 1px;
}
.form-floating input.form-control:focus,
.form-floating textarea.form-control:focus {
  box-shadow: none;
}
.form-floating label {
  font-size: 1.5rem;
  color: #6c757d;
}
footer {
  padding-top: 2rem;
  padding-bottom: 1rem;
  background-color: #013039;
  color: #a7d0af !important;
}
footer a, footer p {
  color: #a7d0af !important;
  font-size: 12px;
  letter-spacing: normal;
  line-height: normal;
}
footer span {
  color: #5c7579;
  margin: 0 2px;
}
footer img {
  width: 20px;
  height: auto;
}
@media (min-width: 992px) {
  footer {
    color: #a7d0af !important;
  }
  footer a, footer p {
    font-size: 16px;
    color: #a7d0af !important;
    letter-spacing: normal;
    line-height: normal;
  }
  footer span {
    margin: 0 10px;
  }
  footer img {
    width: 24px;
    height: auto;
    margin: 0px 2px 0px 0px;
  }
}
.sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.sound-btn svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}
@media (min-width: 992px) {
.sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.sound-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
}

.desktop {display: none;}
.mobile {display: block}

@media (min-width: 992px) {
.desktop {display: block;}
.mobile {display: none}
}

