*{
  padding: 0;
  margin: 0;
}
body {
  margin: 0;
font-family: 'Montserrat', sans-serif;
  font-weight: 400; /* Peso regular por defecto */
   background-color: #f0e6e0;
}


/* Ejemplo: Encabezados con un peso más fuerte */
h1, h2, h3 {
  font-weight: 300; /* Negrita */
}
ol, ul {
    list-style: none;
    padding: 0px;
}

/* Ejemplo: Subtítulos o destacados */
.subtitle {
  font-weight: 500; /* Semi-bold */
}
.contenedor{
  /*background-color: red;*/
  width: 90%;
  max-width: 1400px;
  margin:auto;
}
/* Encabezado con logo y subtítulo */

.header {
  display: flex;
  justify-content: center; /* Centrado para móvil */
  align-items: center;
 /* background: red;*/
  padding: 8px 12px;
  flex-wrap: wrap; /* Permite que logo y banderas bajen si no hay espacio */
}
.encabezado {
  text-align: center;
   display: flex;
  padding: 10px;
}
.logo{
  /*background-color: #fff;*/
  width: 70%;
  text-align: center;
}
.logo_img {
  height: 55px; /* Más pequeño para móvil */
  margin-bottom: 5px;
}
.idiomas{

  width: 30%;
  padding: 15px 0;
  text-align: right;
}
.idiomas img {
  width: 32px;
  height: auto;
  margin: 0 3px;
  cursor: pointer;
  border-radius: 3px;
  border: 2px solid #25d366;
}
.center{
  text-align: center;
 /* padding: 15px;*/
}
/*
.logo {
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto 5px auto;
}

.encabezado p {
  font-size: 0.9em;
  color: #2e5476;
  margin: 0;
}*/

/* Imagen de portada */
.portada {
  width: 100%;
  height: 70vh; /* Altura en móvil */
  overflow: hidden;
}

.departamentos_cabecera {
  width: 100%;
  height: 25vh; /* Altura en móvil */
  overflow: hidden;
}

.departamentos_cabecera img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta si es necesario en móvil */
  display: block;
}

.title{}
 .title_h1{
  /*bottom: 65%;
    left: 10%;
    position: absolute;*/
    color: #39668b;
   /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
  }
.imagen-portada {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta si es necesario en móvil */
  display: block;
}

/* Bloque inferior */
.contenido {


  /*padding: 15px;*/
  border-radius: 10px;
  text-align: center;
 /* margin: 15px;*/
}

.contenido_h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2em;
  margin: 15px 0;
  color: #39668b;
}

.contenido p {
  font-family: 'Montserrat', sans-serif;
  
  margin-bottom: 15px;
  color: #39668b;
} 

.boton {
  display: inline-block;
  padding: 10px 15px; /* Reducir el padding para agregar 3 botones */
  border: 2px solid #25d366;
  border-radius: 8px;
  background-color: transparent;
  color: #5f4b3c;
  text-decoration: none;
  font-weight: bold;
}

.boton:hover {
  background-color:  #5f4b3c;
  color: white;
}


.whatsapp {
    width: 60px;
    height: 60px;
    bottom: 50px;
    right:19px;
    background-color: #25d366;
    color: #fff;
    text-align: center;
}
 .whatsapp {
    position: fixed;
    border-radius: 50px;
    font-size: 30px;
    z-index: 100;
}
.whatsapp-icon {
    margin-top: 13px;
}

.servicios {
  display: grid;
  grid-template-columns: 1fr; /* Por defecto, una columna (móvil) */
  gap: 20px;
  padding: 20px;
}

.card {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card_cont{
  width: 95%;
  margin: auto;
 padding-bottom: 13px;
}
.card h3 {
  margin: 10px 0;
  color: #2e5476;
}

.card p {
  padding: 0 0px 15px;
  font-size: 0.9em;
  color: #555;
}
footer{
  background-color:#c7b2a2;
  padding: 15px 0;
  margin-top:15px;
   text-align: center;
}

footer img{
  width: 60%;

}
.footer_cont{
  display: block;
}

.footer_datos{

  line-height: 1.5;
  text-align: center;


}
.footer_datos ul li {
  text-decoration: none;
    font-size: 17px;
    color: #39668b;
}

.footer_datos ul li a{
  text-decoration: none;
    font-size: 17px;
    color: #39668b;
}

.footer_datos ul li .boton_whats {
  display: inline-block;
  padding: 5px 5px;
  border: 2px solid #25d366;
  border-radius: 8px;
  background-color: #f0e6e0;
  color: #5f4b3c;
  text-decoration: none;
    margin-left:8px;
  
}

.footer_datos ul li .boton_whats:hover {
  background-color:  #5f4b3c;
  color: white;
}
.footer_logo{
 /*width: 40%;*/
 
      vertical-align: middle;
    padding: 15px 0;
}

  

    .footer_redes{
      display: none;
      padding: 15px 0;
    }

    .footer_redes ul li a i {
        color:#39668b;
        font-size: 30px;
        padding: 8px 0;
    }

.footer_redes ul li {
    display: inline-block;
    padding: 5px 8px;
    text-align: center;
    border: 1px solid #39668b;

}
/* Cuando la pantalla es ancha (tablet) */
@media (min-width: 700px) {


  .logo {
text-align: left;
}


}
/* Cuando la pantalla es ancha (PC) */
@media (min-width: 1024px) {
  .logo {

  height: auto;
  display: block;
  margin: 0 auto 5px auto;
}
.logo_img {
  height: 70px; /* Más pequeño para móvil */
  margin-bottom: 5px;
}
  .portada {
    height:auto;/* Altura automática en escritorio */

  }
  .departamentos_cabecera {
    width: 100%;
    height: 50vh;
}
.departamentos_cabecera img {
    width: 100%;
    height: 500px;
   /* object-fit: cover;*/
    display: block;
}
  .imagen-portada {
     width: 100%;
    height: 820px;
    object-fit: cover;
    vertical-align: top;
  }

    .servicios {
    grid-template-columns: repeat(2, 1fr);
  }
  .card img {
  width: 100%;
 height: auto;
}
  .title_h1{
  bottom: 59%;
    left: 45%;
    position: absolute;
  }
  .footer_cont{
  display: flex;
}

  .footer_datos{
  width: 35%;
      color: #fff;
    line-height: 1.5;
    text-align: left;
  }
  .footer_logo{
  width: 35%;
 
}
  .footer_redes{
  width: 30%;
  
  text-align:right;
}


}