
/*Imagen superior PARA TODO, HEADER GENERAL */

/*Imagen en ruta posicion y tamaño*/
.hero-section-other {
    margin-top: 12%;
    background-image: url('img/recreacion.jpg'); /* Cambia esta ruta */
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    
    background-position: center 20%; /* 20% hacia abajo desde el top */
    background-attachment: fixed; /* <- Esto es lo importante */
    box-sizing: border-box;
    width: 100%;
    height: calc(100vh - 100px);     /* resta el alto real del header */
    margin-top: 200px;               /* baja toda la sección con sombra*/
    
}

/*Overlay para oscurecer la imagen y centrar el contenido de bienvenida*/
.hero-overlay-other {
    
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece la imagen */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    
}

/*Contenedor tamaño y estilo de bienvenida y boton*/
.hero-content-other h2 {
  
    font-size: 500%;
    color: white;
    text-align: center;
}




/*********************************************TARJETAS DE CONTACTO*****************************************/


#contact{
  scroll-margin-top: 200px;
}
.contact-greet {

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f9f9f9; /* opcional: fondo claro */
    text-align: center;
}

.contact-greet-text h2 {
    font-family: "DM Sans", sans-serif;
	  font-weight: 600; /* regular */
    color: #2e7d32; /* verde */
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-greet-text p {
    font-family: "Libertinus Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	  font-weight: 400;
    color: #000000;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}
.contact-cards {
  
  font-family: "Libertinus Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    background: #ffffff;
}

.card {
    background-color: white;
    box-shadow: #333;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.2); /* sombra visible */
    width: 230px;
    transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 40px;
  color: #2e7d32; /* Verde */
  margin-bottom: 15px;
}

.card h3 {
  
  font-size: 1.2rem;
  color: #2e7d32;
  margin-bottom: 10px;
}

.card p {
  
  font-size: 0.92rem;
  color: #333;
  margin: 5px 0;
}

.card a {
  
  text-decoration: none;
  color: #333;
}

.card a:hover {
  text-decoration: underline;
}



/******************---------------------MAPA---------------------------***********/
.map-section {
  
    scroll-margin-top: 200px; /* Ajusta según el alto de tu navbar o lo que necesites */
    padding: 40px 20px;
    background-color: #f2f2f2;
    text-align: center;
    margin-bottom: 10%;
    
}

.map-section h2 {
  font-family: "DM Sans", sans-serif;
	font-weight: 600; /* regular */
  color: #2e7d32;
  margin-bottom: 30px;
}





/*------------------------------SERVICIOS---------------------------------------*/

/*INTRODUCCION SERVICIOS*/




.introduccion-servicios{
  
  margin: 5%;
}

.contenedor-servicios h1{
  
  line-height: 1.8; /* Puedes usar 1.5, 2, 2.5, etc. */
  text-align: center;
  justify-content: center;
  padding: 0% 10%;

  font-family: "Libertinus Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
  font-size: 1.2rem;
}



/*TARJETAS DE SERVICIOS */

#acompañamiento {
  scroll-margin-top: 200px;
}
#alimentacion {
  scroll-margin-top: 200px;
}
#medicacion {
  scroll-margin-top: 200px;
}
#salud {
  scroll-margin-top: 200px;
}
#terapia_f {
  scroll-margin-top: 200px;
}
#terapia_o {
  scroll-margin-top: 200px;
}
#apoyo {
  scroll-margin-top: 200px;
}

.service-flex-container {
  
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* Para que se adapte en móvil */
  padding: 30px;
}

.service-image img {
  
  width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.service-content {
  
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: left;
  max-width: 500px;
  transition: transform 0.2s ease;
}

.service-content:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.2);
}

.service-content h1 {
  font-family: "DM Sans", sans-serif;
	font-weight: bold; /* regular */
  font-size: 2rem;
  color: #169227;
  margin-bottom: 15px;
}

.service-content p {
  font-family: "Libertinus Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
}

/*--------------------------------MISION VISION EQUPO--------------------------------*/

#mision{
  scroll-margin-top: 280px;
}
#vision{
  scroll-margin-top: 280px;
}
#equipo{
  scroll-margin-top: 280px;
}
.cards-nosotros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 60px auto 40px auto;
  max-width: 1200px;
  padding: 0 16px;
  background: transparent;
}

.card-nosotros {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.13);
  padding: 36px 28px 32px 28px;
  max-width: 340px;
  min-width: 260px;
  flex: 1 1 300px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card-nosotros:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.2);
}

.card-nosotros h2 {
  color: #2e7d32;;
  font-family: 'Montserrat', 'Alma Serif', serif;
  font-size: 1.5rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-nosotros p {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.6;
  font-family: 'Libertinus Sans', system-ui, sans-serif;
}



/* ====== SECCIÓN INSTALACIONES ====== */


#instalaciones {
    scroll-margin-top: 280px;

}


.instalacion {
    display: flex;
    align-items: center;
    gap: 20px; /* Espacio entre imagen y texto */
    background-color: #d6dddd;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 1000px;
    margin: 40px auto;
}

.instalacion img {
    flex: 1;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.instalacion-content {
    flex: 2;
}

.instalacion-content h2 {
  font-family: 'Montserrat', 'Alma Serif', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.instalacion-content p {
    font-family: 'Libertinus Sans', system-ui, sans-serif;
    line-height: 1.6;
    font-size: 1.2rem;
    color: #333;
}



/********************************BLOG*****************************************/
.card-cuidados {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    max-width: 800px;
    background: white;
    margin: 20px auto; /* <-- esto la centra y separa */
}

.card-imagen {
    width: 250px;
    height: auto;
    object-fit: cover;
}

.card-contenido {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.card-titulo {
    font-family: 'Montserrat', 'Alma Serif', serif;
    color: green;
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.card-meta {
    font-family: 'Libertinus Sans', system-ui, sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0 0 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-etiquetas {
    margin: 10px 0;
}

.card-etiquetas span {
  
    background: #d4edda;
    color: #155724;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin: 2px;
    display: inline-block;
}

.card-descripcion {
    font-family: 'Libertinus Sans', system-ui, sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0 0 15px;
    flex-grow: 1;
}

.card-boton {
    font-family: 'Libertinus Sans', system-ui, sans-serif;
    width: fit-content;
    display: inline-block;
    padding: 8px 15px;
    border: 2px solid green;
    color: green;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.card-boton:hover {
    background: green;
    color: white;
}
