/* RESET */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

*{
    box-sizing: border-box;  
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.titulo-montserrat{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 25px;
}
.parrafo-montserrat{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  
}

/*cabecera-logo*/
.contenedor{
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
}
@media(min-width: 1440px){
.contenedor{
    max-width: 1170px;
}
}
.cabecera{
    background: url(../imagenes/img_cabecera_mobile.jpg) no-repeat;
    min-height:364px;
    padding:0 0 30px;
    background-size: cover;
}
.cabecera .contenedor{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media(min-width: 768px){
    .cabecera{background:url(../imagenes/img_cabecera_desktop.jpg) no-repeat;background-size: cover;}
}
@media(min-width: 1024px){
    .cabecera{background-size: cover; min-height:500px; background-position: center; min-height: 439px; }
    .cabecera .contenedor{align-items: flex-start;}
}

.logo{
    display: block;
    width: 100%;
    text-align: center;
    padding: 24px 0 2px;     
}
@media(min-width: 1440px){
    .logo img{width: 141px; height: 99px;}
}

.texto-cabecera{
    color: #ffffff;
    padding-top: 103px;
    max-width: 243px;
    line-height: normal;
}
@media(min-width: 768px){
  .texto-cabecera{
    text-align: center;
    max-width: none;
  }
}
@media(min-width: 1024px){
    .texto-cabecera{
    padding: 165px 0 0 0;
    text-align: left;
}
}
@media(min-width: 1900px){
    .texto-cabecera{
    padding: 187px 0 0 0;
    text-align: left;
}
}

.texto-cabecera-1{
    margin-top: 10px;
    line-height: 18px;
    font-size: 18px;
}

@media(min-width: 1024px){
    
    .logo{
        text-align: left;
        padding-top:38px;
        
    }
    
}
@media(min-width: 1440px){
    
.texto-cabecera-1{
    font-size: 20px;
    line-height: 130%;
  }
.titulo-cabecera{
    font-size: 37px;
  }
}


/*SECCION CAJAS*/
.cajas .contenedor{

    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.cajas .contenedor a{
    text-decoration: none;
    display: contents;
}
.cajas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;         
  padding: 20px;
}

.caja {
  flex: 1 1 100%; 
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-size: cover;
}

.caja-1 {
  background-image: url("../imagenes/caja-1.jpg");
}
.caja-2 {
  background-image: url("../imagenes/caja-2.jpg");
}
.caja-3 {
  background-image: url("../imagenes/caja-3.jpg");
}

.contenido {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  padding: 20px;
}

.contenido p {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.4;   
  
}
.hide-show-contact-2{
  display: none;
}

.btn-blue{
  background-color: #1876B7;
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 8px;
    transition: background 0.3s;
    display: inline-block;
}

.contenido a:hover {
  background-color: #005fa3;
}
.correo, .telefono{
  word-break: break-word;
  color:#ffffff;
}
@media (min-width: 1024px) {
  .caja {
    flex: 1 1 31%; 
    height: 350px;
  }
}
@media (min-width: 1440px) {
  .cajas{
    padding: 30px 0;
  }
  .contenido p {
    font-size: 18px;
    line-height: 1.1;

  }
  .hide-show-contact-2{
    display:block;
  }
  .hide-show-contact{
    display:none;
  }
}


/*Seccion redes*/
.contenedor-redes{
    background-color: #FFF9F2;
    text-align: center;
    padding: 27px 0;
}
.contenedor-redes p{
    font-size: 30px;
    color: #0D1846;
    font-family: "Montserrat", sans-serif;
    max-width: 226px;
    margin: 0 auto;
    line-height: 1.2;
}
.redes-sociales{
     display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background-color: #FFF9F2;
    margin-top: 20px;
    
}
@media(min-width: 1200px){
  .contenedor-redes{
    padding:35px 0;
  }
  .contenedor-redes p{
    max-width: none;
  }
  .redes-sociales{
    margin-top:31px;
  }
}

/*FOOTER*/

footer{
    background-color: #1876B7;
    padding: 20px;
}


.logo-2{
    display: block;
    width: 100%;
    text-align: center;
    padding: 7px 0 14px;
}
@media(min-width: 1440px){
    footer .contenedor{
        flex-direction: row;
    }
    .logo-2{
        text-align: left;
    }
  
}
.cookie-bar{
    background-color: #ffffff;
    padding: 10px 39px;
    text-align: center;
}

.cookie-bar a{
    text-decoration: none;
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}
.cookie-bar .contenedor{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.legal{
    
    gap: 10px; 
    display:block;
    line-height: 22px; 
}








