@charset "utf-8";
/* CSS Document */

/* Reset básico */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--background-color);
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.0;
	display: flex;
      min-height: 100vh;
    flex-direction: column; 
}

/* Variables globales */
:root {
  --primary-color: #fff;
  --secondary-color: #000;
  --highlight-color: #262e91;
  --background-color: #fff;
  --font-family:  "Poppins", sans-serif;
  --font-size-base: 16px;
  --font-size-large: calc(1.5em + 1vw);
  --header-height: 20px;
  --container-padding: 0px;
  --logo-menu-spacing: 20px; /* Espaciado entre logo y menú */
}
html, body {
  margin: 0;
  padding: 0;
}
/* Contenedor principal */

.container {
	flex: 1; 
	display: grid;
	grid-template-rows: auto 1fr; /* Asegura que el footer esté abajo */
	gap: var(--container-padding);
	width: 100%;
	min-height: 100vh; /* Evita que el footer se sobreponga si hay poco contenido */
	flex-shrink: 0; /* Evita que el footer se superponga */
}

/* Header */
.item.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--background-color);
  color: var(--primary-color);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Logo */
.item.logo {
  flex: 1; /* Toma espacio suficiente para ajustar los elementos */
}

.item.logo img {
  height: 40px;
  width: auto;
  margin-right: var(--logo-menu-spacing); /* Espacio entre logo y menú */
}

.cuerpo {
  	display: grid;
	grid-template-rows: auto auto; /* Dos filas automáticas */
  	gap: 0px; /* Espaciado entre los bloques */
 	min-height: 0; /* Evita que el contenido crezca más de lo necesario */
}

.bloque_contenido_1 {
    display: grid;
    grid-row-start: 1;
    grid-row-end: 1;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    grid-gap: 1px;
    text-align: center;
    color: #FFFFFF;
    min-height: 0;
}

.bloque_bk2 {
    padding: 37px 56px 0;
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
    .bloque_bk2 {
        padding: 34px 36px 36px;
    }
}
@media screen and (min-width: 480px) and (max-width: 1023px) {
    .bloque_bk2 {
        padding: 34px 24px 24px;
    }
}
@media screen and (max-width: 479px) {
    .bloque_bk2 {
        padding: 16px;
    }
}
.bloque_bk {
    display: flex;
    max-width: 100vw;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
}
@media screen and (max-width: 1023px) {
    .bloque_bk {
        flex-wrap: wrap;
    }
}


._imgGradient::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 56.25vw;
}

.poster {
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    object-fit: contain;
    background-image: url('../img/servicios.jpg');
}
.imagen_poster {
    object-fit: cover;
}


@media only screen and (min-width: 320px) and (max-width: 479px) {
    ._imgGradient::after {
        min-height: 680px;
    }
    .poster {
        width: 100vw;
        min-height: 475px;
    }
    ._descripcion {
        line-height: 1.2em;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    ._imgGradient::after {
        min-height: 680px;
        -webkit-mask-image: linear-gradient(rgba(0, 0, 0, .7) 2%, rgba(0, 0, 0, .1) 10%, rgba(0, 0, 0, .2) 17%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .8) 78%, rgba(0, 0, 0, .9) 91%, rgb(0, 0, 0) 100%);
        mask-image: linear-gradient(rgba(0, 0, 0, .7) 2%, rgba(0, 0, 0, .1) 10%, rgba(0, 0, 0, .2) 17%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .8) 78%, rgba(0, 0, 0, .9) 91%, rgb(0, 0, 0) 100%);
    }
    .poster {
        min-height: 650px;
        object-fit: cover;
        object-position: center top;
    }
    ._descripcion {
        line-height: 1.3em;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    ._imgGradient::after {
        min-height: 730px;
    }
    .poster {
        min-height: 600px;
        object-fit: cover;
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
    ._imgGradient::after {
        min-height: 640px;
    }
    .poster {
        min-height: 640px;
    }
    ._descripcion {
        font-size: 21px;
    }
}
@media only screen and (min-width: 1201px) and (max-width: 1920px) {
    ._imgGradient::after {
        min-height: 640px;
    }
    .poster {
        width: 100vw;
        min-height: 640px;
    }
    ._descripcion {
        font-size: 21px;
    }
}
@media screen and (min-width: 1920px) {
    ._imgGradient::after {
        height: 53.25vw;
        min-height: 640px;
    }
    .poster {
        width: 85vw;
        min-height: 640px;
        border-left: 1px solid rgb(0, 0, 0);
    }
    ._descripcion {
        font-size: 24px;
    }
}


.contenidoBloque_0 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0px;
    height: 600px;
    margin-bottom: 0px;
    width: 50%;
    max-width: 400px;
    z-index: 9;
}



._metaContainer {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60%;
    right: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
}

.titulo_prog {
    margin-bottom: 8px;
    font-size: calc(2.0em + 2.0vw);
    line-height: 1.0em;
    color: #FFFFFF;
    font-family: "Montserrat", Helvetica, Arial;
    text-shadow: 0.10em 0.10em 0.10em #726e6e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15px;
}

.subtitulo_prog {
    margin-top: 10px;
    font-size: calc(0.8em + 0.8vw);
    line-height: 1.5em;
    font-family: 'Lora', Georgia, serif;
    color: #eea16d;
    font-style: italic;
    text-shadow: 0.04em 0.04em 0.04em #000000;
    font-weight: 500;
    text-align: center;
}

.parrafo_prog {
    margin-top: 20px;
    font-size: calc(0.70em + 0.70vw);
    line-height: 1.5em;
    font-family: 'Lato', Helvetica, Arial, Montserrat;
    color: #F5BC96;
    text-shadow: 0.04em 0.04em 0.04em #000000;
    font-weight: 400;
    text-align: left;
}

._metaContainer {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60%;
    right: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
}

.titulo_prog {
    margin-bottom: 8px;
    font-size: calc(2.0em + 2.0vw);
    line-height: 1.0em;
    color: #FFFFFF;
    font-family: "Montserrat", Helvetica, Arial;
    text-shadow: 0.10em 0.10em 0.10em #726e6e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15px;
}

.subtitulo_prog {
    margin-top: 10px;
    font-size: calc(0.8em + 0.8vw);
    line-height: 1.5em;
    font-family: 'Lora', Georgia, serif;
    color: #eea16d;
    font-style: italic;
    text-shadow: 0.04em 0.04em 0.04em #000000;
    font-weight: 500;
    text-align: center;
}

.parrafo_prog {
    margin-top: 20px;
    font-size: calc(0.70em + 0.70vw);
    line-height: 1.5em;
    font-family: 'Lato', Helvetica, Arial, Montserrat;
    color: #F5BC96;
    text-shadow: 0.04em 0.04em 0.04em #000000;
    font-weight: 400;
    text-align: left;
}

/* MEDIAS PARA _metaContainer */
@media only screen and (min-width: 817px) and (max-width: 1200px) {
    ._metaContainer {
        top: 60%;
        right: 50%;
        padding: 24px;
        width: 50%;
    }
}
@media screen and (max-width: 800px) {
    .contenidoBloque_0 {
        grid-template-columns: 1fr;
        grid-gap: 10px;
        height: 600px;
        width: 100%;
        z-index: 9;
    }

    ._metaContainer {
        top: 55%;
        right: 1%;
        padding: 24px;
        width: auto;
    }

    .subtitulo_prog {
        order: 1;
        font-size: calc(0.9em + 0.9vw);
        line-height: 1.5em;
    }
}

.bloque_contenido_2 {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    text-align: center;
    color: #000;
    background-color: #FFFFFF;
    padding: 0px;
    flex-shrink: 0;
    bottom: 0px;
    z-index: 9;
    gap: 0px;
    min-height: 0;
}
.sub_bloque_1_1{
	display: grid;
	grid-template-rows: auto auto auto; 
  	gap: 0px; 
 	min-height: 0; 
	margin-left: 50px;
}

#mapa {
  padding: 40px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

#mapa h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.mapa-container {
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

/*Footer */
footer {
  background-color: #1e1e1e;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: Arial, sans-serif;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.item {
  box-sizing: border-box;
}

._foot1, ._foot2 {
  flex: 1 1 300px;
  margin-bottom: 30px;
}

._pie_bloque {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p_b ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p_b li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.p_b li img {
  margin-right: 10px;
}

.centrado {
  display: flex;
  align-items: center;
}

._p_b2 {
  text-align: center;
}

.tit_pie1 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
}

.icoredes {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icoredes img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.icoredes img:hover {
  transform: scale(1.1);
}

/* Responsive (opcional si lo deseas más compacto en móvil) */
@media (max-width: 600px) {
  ._pie_bloque {
    flex-direction: column;
  }

  .p_b li {
    font-size: 14px;
  }

  .icoredes {
    flex-wrap: wrap;
    gap: 10px;
  }
}

