@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: #f6eee6;
    color: #3E5C76;
    font-size: 20px;
}
.salud{
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
}
.salud 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);
  z-index: 5;
}

.texto h2 {
  font-size: 40px;
  margin-bottom: 0.3em;
  color: #E27D60;
    font-family: etheris;
}

.texto p {
  font-size: 20px;
  margin-bottom: 50px;
  max-width: 500px;
}

.texto a {
  padding: 7px 15px;
  font-size: 20px;
  background-color: #f8c98b;
  font-family: normal;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  text-shadow: none;
}
.texto a{
  color: #E27D60;
  text-decoration: none;
}
.texto a:hover {
  background-color: #F3B562;
}


#salud, .recom, .errores, .contac {
    position: relative;
    padding: 80px 20px 150px;
    text-align: center;
    padding-bottom: 300px;
}

#salud {
    background-color: #f8c98b;
    display: block;
}

#salud h1 {
    font-size: 40px;
    font-family: etheris;
    color: #E27D60;
}

#salud p {
    font-size: 20px;
    margin: 20px auto;
    max-width: 800px;
}

.recom {
    background-color: #A3C4BC;
}

.recom h1 {
    font-size: 40px;
    text-align: center;
    color: #E27D60;
    font-family: etheris;
    margin-bottom: 40px;
}

.reco {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 0;
    padding-bottom: 300px;
}

.rec article {
    position: relative;
    cursor: pointer;
    width: 350px;
    height: 350px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.rec .cont-imagenes {
    width: 100%;
    height: 100%;
}

.rec .cont-imagenes img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rec article:hover .cont-imagenes img {
    transform: scale(1.1);
}

.rec .cont-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
    font-family: "normal", sans-serif;
}

.rec article:hover .cont-text {
    opacity: 1;
}

.cont-text h2 {
    font-family: "etheris", sans-serif;
    font-size: 30px;
    margin: 0 0 10px;
    color: #F3B562;
}

.cont-text p {
    font-size: 18px;
    margin: 0;
}

.errores {
    background-color: #f6eee6;
}

.errores h1 {
    font-size: 40px;
    text-align: center;
    color: #E27D60;
    font-family: etheris;
    margin-bottom: 40px;
}

.mal {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.error {
    padding: 20px;
    background-color: #F3B562;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.error:hover {
    transform: translateY(-5px);
}

.error h2 {
    color: #E27D60;
    font-size: 28px;
    font-family: etheris;
}

.dos {
    background-color: #A3C4BC;
}

.error img {
    padding: 15px;
    width: 80px;
}

.mal:has(.error:hover) > .error:not(:hover) {
    opacity: 0.6;
}

.contac {
    background-color: #A3C4BC;
}

.contac h1 {
    color: #E27D60;
    font-size: 40px;
    text-align: center;
    font-family: etheris;
    margin-bottom: 40px;
}

.contactos {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.columna {
    background-color: #F3B562;
    padding: 25px;
    width: 450px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

.columna h2 {
    font-family: etheris;
    font-size: 30px;
    color: #E27D60;
    text-align: center;
    margin-bottom: 20px;
}

.persona img {
    width: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.persona {
    background-color: #E27D60;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f6eee6;
    display: flex;
    align-items: center;
}

.persona:hover {
    transform: scale(1.03);
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

/* Psico Sugerencias */
.psico-sugerencias {
  padding: 50px 20px;
  background-color: #A3C4BC;
  text-align: center;
}

.psico-sugerencias h2 {
  font-family: "etheris", sans-serif;
  font-size: 40px;
  color: #E27D60;
  margin-bottom: 40px;
}

.psico-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.psico-card {
  background: #f6eee6;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 30px;
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.psico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.psico-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
}

.psico-card h3 {
  font-family: "etheris", sans-serif;
  font-size: 24px;
  color: #3E5C76;
  margin-bottom: 10px;
}

.psico-card p {
  font-size: 16px;
  color: #3E5C76;
  margin-bottom: 20px;
}

.psico-card a {
  display: inline-block;
  padding: 10px 20px;
  background: #E27D60;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.psico-card a:hover {
  background: #c46a52;
}

.salud svg,
#salud svg,
.recom svg,
.errores 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 */
  .salud {
    height: 80vh;
    min-height: 500px;
  }

  .texto h2 {
    font-size: 2.5em;
  }

  .texto p {
    font-size: 18px;
  }

  #salud, .recom, .errores, .contac {
    padding: 60px 20px 120px;
  }

  .rec article {
    width: 300px;
  }
  .columna {
    width: 90%;
  }
  /* Ajustes para tarjetas */
  .contenedor {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 20px;
  }

  .persona {
    padding: 20px;
  }

  .persona h3 {
    font-size: 1.5em;
  }

  .persona p {
    font-size: 16px;
  }
}

  .contactos {
    padding: 10px;
  }

  .columna {
    width: 100%;
  }
/* ==== 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 */
  .salud {
    height: 70vh;
    min-height: 400px;
  }

  .texto {
    left: 5%;
    right: 5%;
    bottom: 15%;
    max-width: 90%;
  }

  .texto h2 {
    font-size: 2em;
    text-align: center;
  }

  .texto p {
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }
 

  .contactos {
    padding: 10px;
  }

  .columna {
    width: 100%;
  }

  /* Ajustes para tarjetas */
  .contenedor {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px 15px;
  }

  .persona {
    padding: 15px;
  }

  .persona h3 {
    font-size: 1.3em;
  }

  .persona p {
    font-size: 14px;
    margin: 5px 0;
    color: #333;
  }

.persona p {
    margin: 5px 0;
    color: #333;
    }}