* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

:root {
  --amarillo: #cfaa5d;
  --negro: #111111;
  --blanco: #ffff;
  --negroClaro: #171716;
}

#body {
  overflow-x: hidden;
  width: calc(100vw - var(--scrollbar-width));
}

/*------------------HEADER--------------------*/

.logo-img {
  width: 100px;
  height: auto;
  transition: width 0.3s ease, height 0.3s ease; /* Transición en ambas dimensiones */
}

.icon__language {
  width: 18px;
  height: 18px;
}

i {
  width: 15px;
  height: 15px;
  color: var(--amarillo);
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  background-color: var(--negro);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: height 0.3s ease, padding 0.3s ease;
  padding-left: 50px;
  padding-right: 50px;
  overflow-y: hidden; /* Para evitar que el logo sobresalga */
}

#header.header-small {
  height: 65px;
  padding-left: 35px;
  padding-right: 35px;
  opacity: 0.9;
}

#header.header-small .logo-img {
  width: 75px;
  height: auto;
}

/*-----------------NAVBAR---------------------*/

.navbar-top {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ul-navbar-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 50px;
}

.a-navbar-top {
  color: var(--amarillo);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.bars__menu {
  display: none;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translate(-50%, -50%) scale(1);
  cursor: pointer;
}

.bars__menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--amarillo);
  margin-top: 6px;
  transform-origin: 0px 100%;
  transition: all 600ms;
}

.activeline1__bars__menu {
  transform: rotate(45deg) translate(-2px, 1px);
}

.activeline2__bars__menu {
  opacity: 0;
  margin-left: -30px;
}

.activeline3__bars__menu {
  transform: rotate(-45deg) translate(-4px, 2px);
}

/*------------------MAIN----------------------------*/

#main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

/*---------------SECTION VIDEO-----------------------*/

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100vh;

  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 20%;
  left: -1.5%;
  width: 100%;
  height: 100%;
  display: flex;
  color: white;
}

.jm-blanco {
  position: relative;
  top: 13%;
}

.logo img {
  position: relative;
  top: 7%;
  left: 40%;
  max-width: 400px;
  height: auto;
  border-radius: 100px;
  animation: zoomIn 1.5s ease-out forwards;
}

.line-top,
.line-bottom {
  position: absolute;
  left: 8.5%;
  width: 83.2%;
  height: clamp(1px, 0.1vw, 4px);
  background-color: white;
  z-index: 10;
}

.line-top {
  top: 19.5%;
}

.line-bottom {
  bottom: 5%;
}

.hache-uno {
  position: relative;
  top: 10%;
  color: white;
  width: 70%;
  text-align: center;
  letter-spacing: 2px;
  font-size: 2rem;
  font-family: "Gfs Didot", sans-serif;
  font-weight: 400;
}

.hache-uno-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  top: 15%;
  left: 6%;
  height: 300px;
  gap: 50px;
  animation: zoomIn 1.5s ease-out forwards;
  opacity: 0;
}

.hache__uno__container__en {
  left: 10%;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.button-hero {
  position: relative;
  top: 20%;
  right: 3%;
  border-radius: 5px;
  padding: 10px;
  width: 200px;
  text-align: center;
  background-color: beige;
  color: rgb(69, 44, 44);
}

.button-hero:hover {
  background: var(--amarillo);
  color: white;
  transform: scale(1.05);
}

.button__es {
  right: 0%;
}

.container-welcome {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 10%;
  gap: 75px;
}

.p-welcome {
  position: relative;
  left: 30%;
  top: 40%;
  font-size: 1.5rem;
  font-family: "Gothic A1", sans-serif;
}

.jm {
  position: relative;
  top: 30%;
  font-size: 5.5rem;
  font-family: "Cinzel", sans-serif;
  font-weight: 400;
}

/*------------- SECTION NOSOTROS-----------------*/

#nosotros {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hache-dos-pag {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  background-color: var(--negro);
  color: var(--amarillo);
  font-family: "Playfair Display SC", sans-serif;
  font-size: 1.4rem;
}

/* SECTION NOSOTROS NUEVA */

.container__nosotros__dos {
  width: 100%;
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 50px;
}

.video__nosotros {
  height: 100%;
  width: 100%;
  object-fit: cover; /* rellena el box sin deformarse */
  border-radius: 8px; /* opcional */
}

.first__container__nosotros {
  width: 40%;
}

.second__container__nosotros {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.linea__dorada__ns {
  position: relative;
  bottom: 18px;
  width: 30%;
  height: 6px;
  border-radius: 2px;
  background-color: #b38c4d;
}

.oculta {
  display: none;
}

.video__nosotros__oculta {
  height: 100%;
  width: 100%;
  object-fit: cover; /* rellena el box sin deformarse */
  border-radius: 8px; /* opcional */
}

.ht__nosotros {
  font-size: 2.2rem;
}

.p__nosotros {
  font-size: 1.6rem;
  line-height: 2.1rem;
  text-align: justify;
  hyphens: auto;
}

.p__icon__nosotros {
  font-size: 1.3rem;
}

.icon-nosotros {
  width: 50px;
  height: auto;
  color: #b38c4d;
}

.confianza {
  width: 45px;
}

.two__icons__container {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
}

.container__icons__nosotros {
  display: flex;
}

.container__icon__p {
  display: flex;
  align-items: center;
  gap: 15px;
}

.container__btn__nosotros {
  padding: 2.3rem 0rem;
}

/*----------------SECTION SERVICIOS-----------------*/

#servicios {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--negro);
  padding: 3.5rem 0rem;
}

.servicio-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 3rem 0;
}

.container-servicios {
  display: flex;
  flex-direction: column;
}

.container-first-row {
  display: flex;
  width: 1300px;
  gap: 50px;
}

.container-content-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  width: 100%;
}

.column-left,
.column-right {
  width: 50%;
  display: flex;
}

.p-s,
.h-t-s,
.p-c-s,
.a-c-s {
  color: var(--amarillo);
  text-align: center;
}

.info-box {
  display: none;
  padding: 15px;
  background-color: var(--amarillo);
  border-radius: 8px;
  margin-top: 10px;
  width: 100%;
}

.container_info_box {
  display: flex;
  flex-direction: column;
  hyphens: auto;
  gap: 15px;
}

.info-button {
  width: 35%;
  display: flex;
  justify-content: center;
  text-decoration: none;
  background-color: white;
  color: var(--amarillo);
  margin-left: 10px;
  padding: 10px 10px;
  cursor: pointer;
  border-radius: 25px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn__nosotros {
  padding: 0.8rem;
  background-color: var(--amarillo);
  color: black;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
}

.info-button:hover {
  transform: scale(1.05);
  background-color: var(--amarillo);
  color: black;
  z-index: 3;
}

.btn__nosotros:hover {
  background: var(--negro);
  color: var(--amarillo);
  transform: scale(1.05);
}

.hache-tres-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  color: var(--amarillo);
}

.img-servicios {
  width: 175px;
  max-height: 200px;
  object-fit: cover;
}

.h-t-text {
  text-align: center;
}

.modal-text {
  text-indent: -0.5rem;
  line-height: 1.5rem;
  text-align: left; /* Cambia justify por left o center */
  letter-spacing: normal; /* Asegúrate de no tener un valor anómalo */
  word-spacing: normal; /* Asegúrate de no tener un valor anómalo */
}

.modal__text__en {
  position: relative;
  right: 1.5%;
}

.modal-overlay {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgb(255, 255, 255);
  padding: 20px;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.punto {
  font-size: 2rem;
}

.barrita {
  font-size: 1.2rem;
  font-family: sans-serif;
}

/*----------------------MISION Y VISION---------------------------------*/

#myv {
  width: 100%;
  margin-top: 20px;
}

.lineas-horizontales {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
}

.linea {
  width: 30%;
  height: 6px;
  border-radius: 2px;
}

.linea.negra {
  background-color: #000;
}

.linea.dorada {
  background-color: #b38c4d;
}

.linea.clara {
  background-color: #e6d3aa;
}

.principios {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 20px;
}

/* efecto hover */
.principio:hover .icon-mvv,
.principio:hover h3 {
  opacity: 0;
  transform: translateY(-100%);
}

.principio:hover .back {
  opacity: 1;
  transform: translateY(0%);
}

.icon-mvv {
  width: 90px;
  height: auto;
}

.principio {
  position: relative;
  width: 300px;
  height: 300px;
  min-width: 375px;
  max-width: 425px;
  margin-bottom: 5rem;
  border-radius: 20px;
  box-shadow: 0 0 20px var(--amarillo);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  cursor: pointer;
  overflow: hidden;
  color: white;
  font-size: 1.3rem;
  hyphens: auto;
  font-family: "Cinzel", sans-serif;
  border: 1px solid var(--amarillo);
}

.principio:hover {
  transform: translateY(-6px) scale(1.015);
}

.principio h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-weight: 600;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.front,
.back {
  background-color: #fffef6;
  color: var(--negro);
}

/* BACK SIDE */
.principio .back {
  position: absolute;
  inset: 0;
  padding: 1.2rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: justify;
  font-size: 1.1rem;
  border-radius: 20px;
  line-height: 1.6rem;
}

.principio:hover .back {
  transform: translateY(0%);
  opacity: 1;
}

.principio:hover h3,
.principio:hover .icon {
  opacity: 0;
  transform: translateY(-20px);
}

.backgroundmyv-container {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 60px;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.backgroundmyv-text {
  font-size: 1.7rem;
  color: var(--negro);
  font-family: "Cormorant Garamond", sans-serif;
  font-weight: 1000;
  text-align: justify;
  hyphens: auto;
  width: 100%;
}

.hache-tres-myv {
  font-size: 2rem;
  text-align: center;
}

.valores {
  font-size: 1.3rem;
  text-align: center;
  hyphens: auto; /* activa guiones automáticos */
  font-family: "Cormorant Garamond", sans-serif;
}

/* Estilos para la misión y visión */
.container-nosotros {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.content-nosotros {
  flex: 1 1 45%;
  background: rgba(255, 255, 255, 0.1); /* Fondo semitransparente */
  padding: 15px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.content-nosotros h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.content-nosotros p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/*----------------------------CONTACTO----------------------------------*/

#contacto {
  width: 100%;
}

.container-info {
  display: flex;
  width: 100%;
  background-color: var(--negroClaro);
}

.container-info-container {
  width: 48%;
  display: flex;
  flex-direction: column;
  padding: 4rem;
  font-size: 1.3rem;
  gap: 35px;
  color: var(--amarillo);
  background-color: var(--negroClaro);
}

.hache-tres-contact {
  text-align: center;
}

.form {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 1.5rem;
  background-color: var(--negroClaro);
}

.position {
  color: var(--amarillo);
  text-align: center;
}

.form-container {
  display: flex;
  gap: 35px;
  width: 100%;
}

.position-input {
  width: 100%;
}

.input-form,
textarea {
  width: 100%;
  border-top: none;
  border-left: none;
  border-right: none;
  color: var(--amarillo);
  border-bottom: 2px solid var(--amarillo);
  background-color: var(--negroClaro);
}

.input-form:focus,
textarea:focus {
  outline: none;
}

.input-form::placeholder,
textarea::placeholder {
  color: var(--amarillo);
  opacity: 1;
}

.container-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.textArea {
  min-height: 150px;
}

.btn {
  margin: 0 auto;
  width: 23%;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: var(--negro);
  color: var(--amarillo);
  border: 3px solid var(--amarillo);
  cursor: pointer;
  transition: transform 0.5s ease;
}

.btn:hover {
  background: var(--amarillo);
  color: white;
  transform: scale(1.05);
  border: 3px solid var(--negro);
}

/*-----------Icono de WSP--------------------------*/

#whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  z-index: 1000;
}

#whatsapp-icon img {
  width: 100%;
  height: 100%;
}

/*---------------------------------FOOTER---------------------------------------------*/

.footer {
  background-color: var(--negro);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-left: 35px;
  padding-bottom: 1.2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 165px;
}

.logo-footer {
  width: 75px;
}

.footer-a {
  color: var(--amarillo);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.icon-footer {
  width: 20px;
  height: auto;
}

.p-footer {
  width: 100%;
  text-align: center;
  color: var(--amarillo);
}

/*------------------------------FUENTES DE LA PÁGINA-----------------------------------*/

.cormorant {
  font-family: "Cormorant Garamond", sans-serif;
  font-weight: 800;
}

.a-navbar-top {
  font-family: "Playfair Display SC", sans-serif;
  font-weight: 800;
}

.playfair {
  font-family: "Playfair Display SC", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}

.playfair-in {
  font-family: "Playfair Display SC", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.servicios-cormorant {
  font-family: "Cormorant Garamond", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}

.servicios-cormorant-in {
  font-family: "Cormorant Garamond", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.justify {
  text-align: justify;
  font-weight: 800;
}

.footer-a:hover .icon-footer,
.footer-a:hover {
  filter: brightness(0) saturate(100%) invert(92%) sepia(100%) saturate(1%)
    hue-rotate(311deg) brightness(109%) contrast(101%);
  transform: scale(1.1);
}

/*------------------------MEDIA-QUERIES------------------------------*/

@media (max-width: 1450px) {
  .logo img {
    top: 6%;
    left: 37%;
  }

  .overlay {
    left: -5%;
  }
}

@media (max-width: 1400px) {
  .container__nosotros__dos {
    padding: 5rem 3rem;
  }
}

@media (max-width: 1350px) {
  .overlay {
    left: -7%;
  }
  .p-s {
    width: 75%;
  }
}

@media (max-width: 1300px) {
  .overlay {
    left: -10%;
  }

  .logo img {
    left: 45%;
  }

  .two__icons__container {
    gap: 20px;
  }
  .container__icon__p {
    gap: 5px;
  }

  .container__btn__nosotros {
    padding: 1rem 0rem;
  }
}

@media (max-width: 1250px) {
  .jm {
    font-size: 4.9rem;
  }

  .p-welcome {
    font-size: 1.3rem;
  }

  .hache-uno {
    font-size: 2rem;
  }

  .overlay {
    left: -8%;
  }

  .logo img {
    left: 38%;
  }
}

@media (max-width: 1280px) {
  .servicio-text-container {
    padding: 0.5rem 0 2rem 0;
  }

  .container-first-row {
    flex-wrap: wrap;
    margin: 1.5rem 0;
    max-width: 1024px;
  }

  .column-right {
    margin-left: 450px;
  }

  .container-content-text {
    gap: 30px;
  }

  .column-left,
  .column-right {
    width: 60%;
  }

  .backgroundmyv,
  .backgroundmyv__en {
    width: 900px;
    height: 650px;
  }
}

@media (max-width: 1225px) {
  .principio {
    position: relative;
    width: 300px;
    height: 300px;
    min-width: 350px;
    max-width: 400px;
  }
}

@media (max-width: 1200px) {
  .logo-container {
    gap: 95px;
  }

  .logo img {
    max-width: 380px;
  }

  .overlay {
    left: -10%;
  }

  .btn__eng {
    width: 250px;
  }
}

@media (max-width: 1150px) {
  .logo img {
    display: none;
  }

  .overlay {
    left: 21%;
  }

  .img-hero {
    height: 95vh;
    background: url("../img/fnd_med.webp") no-repeat center/cover;
  }

  .icon-nosotros {
    width: 40px;
  }

  .confianza {
    width: 35px;
  }

  .principio {
    min-width: 325px;
    max-width: 375px;
  }
}

@media (max-width: 1100px) {
  .container__nosotros__dos {
    padding: 4rem 3rem;
  }
}

@media (max-width: 1075px) {
  .principio {
    min-width: 300px;
    max-width: 350px;
  }

  .principio .back {
    padding: 0rem 1.5rem;
  }

  .valores {
    font-size: 1.2rem;
  }
}

@media (max-width: 1050px) {
  .container-first-row {
    justify-content: center;
    align-items: center;
    padding-right: 175px;
  }

  .column-right {
    margin-left: 0px;
  }

  .overlay {
    left: 18%;
  }

  .logo-container {
    gap: 50px;
  }

  .container-first-row,
  .container-servicios {
    width: 950px;
  }
}

@media (max-width: 1024px) {
  .column-left,
  .column-right {
    width: 75%;
  }

  .container__nosotros__dos {
    padding: 5.5rem 2rem;
  }
  .ht__nosotros {
    font-size: 2rem;
  }

  .p__nosotros {
    font-size: 1.4rem;
    line-height: 2.1rem;
    text-align: justify;
  }

  .p__icon__nosotros {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .bars__menu {
    display: block;
    cursor: pointer;
    z-index: 11;
  }

  #header {
    padding-left: 0px;
  }

  /* Ocultar el menú por defecto */
  .navbar-top {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--negro);
    flex-direction: column;
    align-items: center;
    z-index: 10;
    overflow-y: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  /* Mostrar el menú cuando se active */
  .navbar-top.visible {
    opacity: 1;
    visibility: visible;
  }

  .ul-navbar-top {
    display: flex;
    flex-direction: column;
  }

  .li-navbar-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .a-navbar-top {
    display: flex;
    gap: 15px;
    padding: 1rem 2rem;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  .no-scroll {
    position: absolute;
    overflow: hidden;
  }

  .icon-nosotros {
    width: 35px;
  }

  .confianza {
    width: 30px;
  }

  .principio {
    min-width: 275px;
    max-width: 325px;
    width: 275px;
    height: 350px;
  }
}

@media (max-width: 960px) {
  .backgroundmyv,
  .backgroundmyv__en {
    width: 768px;
  }

  .icon-nosotros {
    width: 40px;
  }

  .confianza {
    width: 35px;
  }

  .container__nosotros__dos {
    padding: 3.5rem 2rem;
  }

  .container-info {
    flex-direction: column;
  }

  .container-info-container {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
  }

  .form {
    width: 100%;
    padding: 1rem !important;
  }
}

@media (max-width: 950px) {
  .container-first-row,
  .container-servicios {
    width: 850px;
  }
}

@media (max-width: 925px) {
  .principios {
    flex-direction: column;
    gap: 0px;
    margin-bottom: 0px;
  }

  #myv {
    padding: 3rem 0rem;
  }

  .principio {
    min-width: 80%;
    max-width: 80%;
    width: 80%;
    height: 300px;
    margin-bottom: 2rem;
  }

  .backgroundmyv-text {
    font-size: 1.7rem;
  }

  .valores {
    font-size: 1.5rem;
  }

  .hache-tres-myv {
    font-size: 2rem;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .img-hero {
    height: 105vh;
    background: url("../img/fnd__nosotros__med.webp") no-repeat center/cover;
  }

  .column-left,
  .column-right {
    width: 95%;
  }

  .container__nosotros__dos {
    padding: 2rem 1rem;
  }
}

@media (max-width: 860px) {
  .overlay {
    left: 13%;
  }

  .logo-container {
    flex-direction: column;
  }

  .footer {
    gap: 35px;
    padding-left: 0px;
  }

  .form {
    padding: 0.5rem;
  }

  .img-hero {
    height: 115vh;
    background: url("../img/fnd__med__masChica.webp") no-repeat center/cover;
  }

  .btn__nosotros {
    padding: 1rem;
    background-color: var(--amarillo);
    color: black;
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .btn__eng {
    width: 200px;
  }
}

@media (max-width: 800px) {
  .img-hero {
    height: 115vh;
  }

  .img-servicios {
    display: none;
  }

  .container-first-row,
  .container-servicios {
    padding-right: 0px;
    width: 600px;
  }

  .ht__nosotros {
    font-size: 1.8rem;
  }

  .p__nosotros {
    font-size: 1.2rem;
  }

  .p__icon__nosotros {
    font-size: 0.9rem;
  }

  .confianza {
    width: 30px;
  }

  .icon-nosotros {
    width: 35px;
  }
}

@media (max-width: 768px) {
  .overlay {
    left: 9%;
  }

  .container-info {
    flex-direction: column;
    gap: 35px;
    padding-top: 1.5rem;
  }

  .form {
    width: 100%;
  }

  .backgroundmyv,
  .backgroundmyv__en {
    width: 680px;
  }

  .img-hero {
    height: 123vh;
  }

  .container__nosotros__dos {
    padding: 1rem;
  }

  .confianza {
    width: 23px;
  }

  .icon-nosotros {
    width: 28px;
  }

  .btn__nosotros {
    font-size: 0.8rem;
    width: 135px;
  }

  .btn__eng {
    width: 175px;
  }

  .first__container__nosotros {
    display: none;
  }

  .oculta {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video__nosotros__oculta {
    width: 50%;
    height: 50%;
  }

  .second__container__nosotros {
    width: 100%;
    padding: 1rem;
  }

  .ht__nosotros {
    font-size: 2rem;
  }

  .p__nosotros {
    font-size: 1.4rem;
  }

  .p__icon__nosotros {
    font-size: 1.1rem;
  }

  .container__icons__nosotros {
    justify-content: center;
    align-items: center;
  }

  .container__btn__nosotros {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .two__icons__container {
    gap: 45px;
  }
}

@media (max-width: 700px) {
  .overlay {
    left: 4%;
  }

  .img-hero {
    height: 100vh;
    background: url("../img/img_nosotros_chica_fondo.webp") no-repeat
      center/cover;
  }

  .container-icon {
    padding-right: 0px;
  }
}

@media (max-width: 680px) {
  .backgroundmyv,
  .backgroundmyv__en {
    width: 550px;
  }

  .overlay {
    left: 3%;
  }

  .p-s {
    width: 95%;
  }
}

@media (max-width: 650px) {
  .img-hero {
    height: 105vh;
  }

  .valores {
    line-height: 1.8rem;
  }
}

@media (max-width: 600px) {
  .overlay {
    left: -4%;
  }

  .img-hero {
    height: 85vh;
  }

  .info-box {
    background-color: white;
  }

  .modal-overlay {
    display: none;
  }

  .container-first-row,
  .container-servicios {
    width: 500px;
  }

  .ht__nosotros {
    font-size: 1.7rem;
  }

  .p__nosotros {
    font-size: 1.1rem;
  }

  .p__icon__nosotros {
    font-size: 0.8rem;
  }

  .confianza {
    width: 16px;
  }

  .icon-nosotros {
    width: 21px;
  }

  .container__btn__nosotros {
    flex-direction: column;
  }

  .container_info_box {
    padding: 1rem;
    box-shadow: 0px 0px 4px var(--amarillo);
  }

  .justify {
    font-size: 1.2rem;
  }

  .hache-tres-myv {
    font-size: 1.8rem;
  }

  .backgroundmyv-text {
    font-size: 1.6rem;
  }

  .backgroundmyv-container {
    gap: 50px;
  }
}

@media (max-width: 550px) {
  .backgroundmyv,
  .backgroundmyv__en {
    width: 450px;
  }

  .img-hero {
    height: 87vh;
  }

  .p-welcome {
    font-size: 1.1rem;
  }

  .jm {
    font-size: 3.5rem;
  }

  .hache-uno {
    font-size: 1.4rem;
  }

  .hache-uno-container {
    left: 14%;
  }

  .overlay {
    left: -4.5%;
    top: 15.5%;
  }

  .container__nosotros__dos {
    padding: 3.5rem 1rem;
    align-items: flex-start;
  }

  #servicios {
    padding: 3rem;
  }
}

@media (max-width: 500px) {
  .img-hero {
    height: 93vh;
  }

  .video-container {
    height: 95vh;
  }

  .line-bottom {
    bottom: 10%;
  }

  .container-first-row,
  .container-servicios {
    width: 400px;
  }

  .es {
    left: 12%;
  }
  .container-info-container {
    font-size: 1.1rem;
  }

  .hache-tres-myv {
    font-size: 1.6rem;
  }

  .overlay {
    left: -5.5%;
    top: 15.5%;
  }

  .backgroundmyv-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .img-hero {
    height: 100vh;
  }

  .p-welcome {
    left: 32%;
  }

  .hache__uno__container__en {
    left: 19%;
  }

  .es {
    left: 10.5%;
  }

  .two__icons__container {
    gap: 20px;
  }

  .justify {
    text-align: left;
  }
}

@media (max-width: 450px) {
  .backgroundmyv,
  .backgroundmyv__en {
    height: 60vh;
  }

  .es {
    left: 7%;
  }

  .backgroundmyv-text {
    text-align: center;
  }

  .valores {
    font-size: 1.3rem;
  }

  .hache-tres-myv {
    font-size: 1.4rem;
  }

  .backgroundmyv-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 434px) {
  .img-hero {
    height: 115vh;
  }
  .hache__uno__container__en {
    left: 18%;
  }
}

@media (max-width: 430px) {
  .h-t-s {
    width: 400px;
  }

  .es {
    left: 5%;
  }
}

@media (max-width: 420px) {
  .two__icons__container {
    gap: 5px;
  }

  .confianza {
    width: 17px;
  }

  .icon-nosotros {
    width: 22px;
  }

  .p__icon__nosotros {
    font-size: 0.7rem;
  }
}

@media (max-width: 400px) {
  .img-hero {
    height: 120vh;
  }

  .container-first-row,
  .container-servicios {
    width: 360px;
  }

  .hache__uno__container__en {
    left: 15%;
  }
  .es {
    left: 4%;
  }

  .valores {
    font-size: 1.1rem;
  }
}

@media (max-width: 378px) {
  .hache-tres-myv {
    font-size: 1.3rem;
  }

  .backgroundmyv-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 360px) {
  #header.header-small {
    height: 50px;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0.9;
  }

  #header.header-small .logo-img {
    width: 45px;
  }

  .backgroundmyv,
  .backgroundmyv__en {
    height: 65vh;
  }

  .img-hero {
    height: 130vh;
  }

  .hache__uno__container__en {
    left: 10%;
  }
}
