@font-face {
    font-family: "normal";
    src: url('../fuentes/AlteHaasGrotesk_Bold.woff') format('woff');
}
@font-face {
    font-family: "etheris";
    src: url('../fuentes/TARSICARegular.woff') format('woff');
} 
body{
    margin: 0;
    padding: 0;
    font-family: normal;
    background-color: white;
    font-size: 20px;
}

.nosotros{
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    background-color: #BFD8D2;
}
.nosotros img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.texto {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #f6eee6;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  max-width: 80%;
}

.texto h2 {
  font-size: 40px;
  margin-bottom: 0.3em;
  color: #F3B562;
  font-family: etheris;
  line-height: 1.2;
}

.texto p {
  font-size: 20px;
  margin-bottom: 1em;
  max-width: 500px;
  line-height: 1.4;
}

.texto a {
  font-size: 20px;
  background-color: #f8c98b;
  font-family: normal;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  padding: 7px 15px;
  text-shadow: none;
  color: #E27D60;
  text-decoration: none;
  display: inline-block;
}
.texto a:hover {
  background-color: #F3B562;
}
.info-doble {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  padding: 100px 5%;
  background-color: #A3C4BC;
  min-height: 200px;
  padding-bottom: 300px;
}

.cuadro {
  background-color: #f6eee6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  flex: 1 1 300px;
  max-width: 500px;
  transition: transform 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cuadro:hover {
  transform: translateY(-5px);
}

.cuadro h3 {
  color: #E27D60;
  font-size: 30px;
  margin-bottom: 15px;
  font-family: etheris;
}

.cuadro p {
  font-size: 20px;
  color: #333;
  line-height: 1.6;
}
body{
  background-color: #f8c98b;
}
.admins{
    position: relative;
  margin-top: 20px;
  text-align: center;
  font-size: 20px;
  color: #E27D60;
  padding-bottom: 200px;
}
.contenedor{
  margin-top: 20px;
  background-color: #f8c98b;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 20px;
  min-height: 400px;
  align-items: center;
}
.persona {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.persona img{
  margin-top: 30px;
  background-color: #F3B562;
  border-radius: 50%;
  height: 200px;
  width: 200px;
  transition: transform 0.3s ease;
  object-fit: cover;
}
.persona img:hover{
  transform: translateY(-5px);
}
.admins h1{
  font-size: 40px;
  color: #E27D60;
    font-family: etheris;
}
.ether{
  background-color: #f6eee6;
  padding: 40px 20px;
}
.flex{
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.ether img{
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 0;
  flex-shrink: 0;
}
.ether h1{
  font-size: 40px;
  font-family: etheris;
  color: #E27D60;
  margin-bottom: 20px;
}
.explain{
  margin-top: 0;
  flex: 1;
}
.explain p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}
@font-face {
    font-family: "normal";
    src: url(../Fuentes/AlteHaasGroteskBold.ttf);
}
@font-face {
    font-family: "etheris";
    src: url(../Fuentes/TARSICA.otf);
}

.admins svg,
.nosotros svg,
.info-doble svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}
/* ==== Responsive tablets grandes (max-width: 1200px) ==== */
@media (max-width: 1200px) {
  .container .menu a {
    font-size: 24px;
    padding: 8px;
  }
}

/* ==== Responsive tablets medianos (max-width: 1100px) ==== */
@media (max-width: 1100px) {
  .container .menu a {
    font-size: 20px;
    padding: 6px;
  }
}

/* ==== Responsive tablets pequeños (max-width: 1000px) ==== */
@media (max-width: 1000px) {
  .container .btn-menu {
    display: block;
  }

  .container .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .container .menu.active {
    display: flex;
  }

  .container .menu a {
    display: block;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(243, 181, 98, 0.3);
    font-size: 24px;
  }
}

/* ==== Responsive tablets (max-width: 992px) ==== */
@media (max-width: 992px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }

  /* Mostrar botón menú, ocultar menú horizontal */
  .container .btn-menu {
    display: block;
  }

  .container .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .container .menu.active {
    display: flex;
  }

  .container .menu a {
    display: block;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(243, 181, 98, 0.3);
    font-size: 24px;
  }

  .logo h1 {
    font-size: 32px;
  }

  .logo img {
    height: 40px;
  }

  /* Ajustes para sección hero */
  .nosotros {
    height: 70vh;
    min-height: 400px;
  }

  .texto h2 {
    font-size: 2.5em;
  }

  .texto p {
    font-size: 18px;
  }

  /* Ajustes para info-doble */
  .info-doble {
    padding: 40px 5%;
    gap: 30px;
  }

  .cuadro {
    flex: 1 1 45%;
    max-width: 100%;
  }

  /* Ajustes para equipo */
  .contenedor {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px 15px;
  }

  .persona img {
    height: 160px;
    width: 160px;
  }

  /* Ajustes para ether */
  .flex {
    flex-direction: column;
    text-align: center;
  }

  .ether img {
    max-width: 400px;
  }
}

/* ==== Responsive móviles (max-width: 768px) ==== */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }

  /* Mostrar botón menú, ocultar menú horizontal */
  .container .btn-menu {
    display: block;
    font-size: 28px;
  }

  .container .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .container .menu.active {
    display: flex;
  }

  .container .menu a {
    display: block;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(243, 181, 98, 0.3);
    font-size: 20px;
  }

  .logo h1 {
    font-size: 24px;
  }

  .logo img {
    height: 30px;
  }

  /* Ajustes para sección hero */
  .nosotros {
    height: 60vh;
    min-height: 350px;
  }

  .texto {
    left: 5%;
    right: 5%;
    bottom: 15%;
    max-width: 90%;
  }

  .texto h2 {
    font-size: 1.8em;
    text-align: center;
  }

  .texto p {
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }

  .texto a {
    font-size: 16px;
    padding: 8px 16px;
  }

  /* Ajustes para info-doble */
  .info-doble {
    padding: 30px 5%;
    gap: 20px;
  }

  .cuadro {
    flex: 1 1 100%;
    padding: 20px;
  }

  .cuadro h3 {
    font-size: 24px;
  }

  .cuadro p {
    font-size: 16px;
  }

  /* Ajustes para equipo */
  .contenedor {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 15px;
  }

  .persona img {
    height: 140px;
    width: 140px;
  }

  .admins h1 {
    font-size: 28px;
  }

  /* Ajustes para ether */
  .ether {
    padding: 30px 15px;
  }

  .flex {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .ether img {
    max-width: 300px;
  }

  .ether h1 {
    font-size: 28px;
  }

  .explain p {
    font-size: 16px;
  }

}

/* ==== Responsive móviles pequeños (max-width: 480px) ==== */
@media (max-width: 480px) {
  .logo h1 {
    font-size: 20px;
  }

  .logo img {
    height: 25px;
  }

  .texto h2 {
    font-size: 1.5em;
  }

  .texto p {
    font-size: 14px;
  }

  .cuadro h3 {
    font-size: 20px;
  }

  .cuadro p {
    font-size: 14px;
  }

  .persona img {
    height: 120px;
    width: 120px;
  }

  .ether h1 {
    font-size: 24px;
  }

  .explain p {
    font-size: 14px;
  }
}