@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root {
    --color-ppal: #df342c;
    --color-gris: #eee;
    --color-2: #f7962b;
    --color-3: #734200;
    --white: #fff;
    --text: #444;
    --color-verde: #9ACD32;
    --radius: 0.2rem;
}


body{
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4rem;
    color: #444;
    margin: 0;
    padding: 0;

    /* background-color: #fff; */

    background-image: url(img/bg_lineas.jpg);
    background-repeat: repeat;
    background-position: left top;
}

/* *********************************************************************** */

a{
    text-decoration: none;
    color: var(--text);
}

h2{
    font-size: 2rem;
    line-height: 2.2rem;
}

.link-bco{
    color: #fff;
}

.link-bco:hover{
    color: #fff;
    text-decoration: underline;
}

.p1{
    padding: 1rem;
}

.p12{
    padding: 1rem 2rem;
}

.p2{
    padding: 2rem;
}

.m1{
    margin: 1rem;
}

.m2{
    margin: 2rem;
}

.mt{
    margin-top: 1rem;
}

.mt2{
    margin-top: 2rem;
}

.mt4{
    margin-top: 4rem;
}

.mb{
    margin-bottom: 1rem;
}

.mb02{
    margin-bottom: 0.2rem;
}

.mb2{
    margin-bottom: 2rem;
}

.mb4{
    margin-bottom: 4rem;
}

.mb0{
    margin-bottom: 0;
}

.mr{
    margin-right: 1rem;
}

.ml{
    margin-left: 1rem;
}

.bg-bco{
    background-color: #fff;
}

.bg-gris{
    background-color: #ccc;
}

.bg-ppal{
    background-color: var(--color-ppal);
    color: #fff;
}

.bg-sec{
    background-color: var(--color-2);
    color: #fff;
}

.bg-caja{
    border: 1px solid #999;
    /* border-radius: 0.5rem; */
    padding: 1rem;
}

.img{
    aspect-ratio: 16/9 !important;
    width: 100%;
    object-fit: cover;
}

hr {
    height: 1px;
    border: 0;
    background-color: #ccc;
}

.marca{
    width: 100%;
    padding: 0.5rem;
    background-color: #eee;
}

.txt-bco, .txt-bco a{
    color: var(--white);
}

/* *********************************************************************** */

.aviso_ok{
    padding: 0.5rem 0.8rem;
    background-color: var(--color-verde);
}

.aviso_error{
    padding: 0.5rem 0.8rem;
    background-color: tomato;
}

.aviso_info{
    padding: 0.5rem 0.8rem;
    margin: 0.5rem 0;
    background-color: #eee;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

/* *********************************************************************** */

.wrapper{
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
}

.contenido{
    width: 1440px;
}

.div_grid{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    text-align: center;
}

.div_col{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    /* gap: 1rem; */
}

.w100{
    width: 100% !important;
}

.w25{
    width: 25%;
}

.w75{
    width: 75%;
}

.w50{
    width: 50%;
}

.w33{
    width: 33.3%;
}

.txt-ppal{
    color: var(--color-ppal);
}

.txt-mini{
    font-size: 0.9rem;
}

.txt-mini-cat{
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-ppal);
    font-weight: bold;
    /* width: fit-content;
    padding: 0.2rem 0.5rem; */
}

.text-right{
    text-align: right;
}

.text-center{
    text-align: center;
}

/* *********************************************************************** */

.div__hero{
    width: 100%;
    height: 300px !important;
    background-image: url(img/hero_sky.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

    /* display: flex;
    justify-content: center;
    align-items: center;     */
}

.div__hero_logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 30%;
    height: auto;
}

.div__hero2{
    width: 100%;
    height: 300px !important;
    background-image: url(img/hero_sky.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* .div__hero img{
    object-fit: cover;
    width: 100%;
    height: 100%;
} */

/* *********************************************************************** */

.div__menu{
    /* width: 100%; */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    gap: 1em;
}

.div__menu a{
    color: #fff;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
}

.div__menu img{
    height: 50px;
}

.menu_activo, .activo{
    background-color: #e55d56;
    padding: 0.3rem 0.5rem;
    border-radius: var(--radius);
    /* opacity: 0.2; */
}



.div__fotos_ppal{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    gap: 0;
}

.div__fotos_ppal img{
    object-fit: cover;
    width: 20%;
    /* aspect-ratio: 1 / 1; */
    aspect-ratio: 16/9;
}

.div__footer .text-mini{
    font-size: 0.8rem;
}

.div__footer a{
 color: inherit;   
}

/* *********************************************************************** */

.div__idiomas{
    /* text-align: right; */
    font-size: 0.7rem;
    padding: 1rem 0;
}

.div__idiomas a{
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
}


/* *********************************************************************** */

.div__siguenos{
    background-color: var(--color-ppal);
    color: #fff;
}

.div-rrss{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    gap: 1em;
}

.div-rrss a{
    color: #fff;
}


/* *********************************************************************** */

.oculto{
	display: none;
}

/* *********************************************************************** */

.div__actividad{

}

/* .div__actividad img{
    width: 100%;
    object-fit: cover;
} */

/* *********************************************************************** */


/* *********************************************************************** */

/* .div__cards {
    overflow: auto;
    margin-bottom: 2rem;
    padding: 0.5rem;

    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items:  flex-start;
    align-content: flex-start;
    gap: 0.5em;
} */

.div__cards{
    width: 100%;
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    gap: 1rem;
}

.div_cards3{
    grid-template-columns: 1fr 1fr 1fr;
}

.div_cards4{
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.card {
    display: inline-block;       
    color: #444;
    text-align: left;

    min-width: 18rem;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #eee;
    border-radius: 0.5rem;

    background-color: rgb(255, 255, 255);
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px;

    display: flex;
    flex-direction: column;
    /* width: 22rem;
    height: 29rem; */

    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.txt_fecha_big{
    font-size: 2rem;
}

.card:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 6px 16px;
}

.card__preview {
    height: 12rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card__preview img {
    width: 100%;
    object-fit: cover;
    transition: all 0.4s ease-out;
}

.card:hover .card__preview img {
    transform: scale(1.35);
}

.card__address {
    margin-top: 0.5rem;
}

.card__title{
    font-size: 1.6rem;
    line-height: 1.8rem;
    font-weight: bold;
    text-wrap: balance;
}

.card__title_big{
    font-size: 3rem;
    line-height: 3.2rem;
    text-wrap: balance;
    font-weight: bolder;
    width: 75%;
}

.card__cat {
    background-color: var(--white);
    color: var(--text);
    z-index: 1;
    position: absolute;
    bottom: 1.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    left: 1.25rem;
    font-weight: normal;
    font-size: 0.9rem;
}

/* esta se usa en la portada de la web */
.card__title_ppal {
    /* background-color: var(--white); */
    color: var(--white);
    z-index: 1;
    position: absolute;
    bottom: 1.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    left: 1.25rem;
    font-weight: 800;
    font-size: 1.9rem;
    text-shadow: 2px 2px 2px #444;
}

.txt_card__cat{
    background-color: var(--color-ppal);
    width: fit-content;
    color: #fff;
    padding: 0.25rem 0.5rem;
    /* border-radius: 0.5rem; */
    font-weight: normal;
    font-size: 0.9rem;
}

.txt_card__cat::before{
    content: " > ";
}

.card__content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    color: var(--text);
}

.card__bottom {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card__description {
    margin-top: 0.5rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.card__properties{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    gap: 0.2rem;
}

.card__properties div{
    width: auto;
    font-size: 0.9rem;
    /* background-color: var(--color-gris); */
    text-decoration: none;
    color: var(--text);
    padding: 0.3rem 0.8rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 0.5rem;

    border: 1px solid #999;
}

.card__properties div a{
    text-decoration: none;
    padding: 0 !important;
    color: var(--text);
}

.card__properties div:hover, .card__properties div a:hover{
    color: #fff;
    background-color: var(--text);
    fill: #fff;
}

.card__buttons {
    display: flex;
    gap: 0.5rem;
}

.card__btn {
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card__btn svg {
    height: 2rem;
    width: 2rem;
    /* stroke: var(--text); */
    /* stroke-width: 1.5px; */
}

.card__btn--like svg {
    stroke: var(--like);
    fill: var(--like);
}

/* *********************************************************************** */

.formu{
    width: 100%;
}

.formu .div_form{
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.2rem;
}

.formu .div_form label{
    color: #666;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/*.formu input[type='text'], /* input[type='text'],  */
.formu input:not([type='submit']), 
.formu textarea{
    /* background-color: #eee !important; */
    border-radius: 0.5rem;
    padding: 1rem 1rem 0.5rem 1rem;
    border: 1px solid #aaa;
}

.formu .btn-ppal,
.btn-ppal, 
.btn-ppal a{
    background-color: var(--color-ppal);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1rem;
}

.btn-sec, 
.btn-sec a{
    background-color: var(--color-2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1rem;
}

.btn-sec-activo, 
.btn-sec-activo a{
    background-color: var(--color-3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1rem;
}

.formu input[type='submit']{
    box-sizing: content-box;
} 

.formu .btn-ppal:hover, .btn-ppal:hover, .btn-ppal a:hover{
    background-color: var(--color-3);
}

.btn-sec:hover, .btn-sec a:hover{
    background-color: var(--color-3);
}

.formu input:focus{
    outline: none !important;
    border: 2px solid var(--color-ppal) !important;
}

.formu textarea:focus {
    outline: none !important;
    border: 2px solid var(--color-ppal) !important;
}

/* --------------- */

.formu .div_form {
    display: block;
    position: relative;
}
   
.formu .div_form input {
    display: block;
}
   
.formu .div_form label {
    font-size: 0.8rem;
    display: block;
    position: absolute;
    width: auto;
    top: -10px;
    left: 20px;
    background-color: #fff;
    padding: 0 0.2rem;
    color: #aaa;
}

.btn_mes{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 1em;
    width: 30px;
    height: 30px;

    background-color: var(--color-ppal);
    color: #fff;
    font-weight: 800;
    border: none;
    border-radius: 10px;
}

.btn_mes:hover{
    background-color: var(--color-2);
    color: #444;
    cursor: pointer;
}

/* *********************************************************************** */

.div__equipo{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 1rem;
}

.div__equipo_item{
    width: 100%;
    /* padding: 0.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0.2em; */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    gap: 0.5em;
}


.div__equipo_item img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.div__equipo_item h3{
    color: var(--color-ppal);
    text-transform: uppercase;
    text-wrap: balance;
}

.div__equipo_item .equipo_cargo{
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 1rem;
    text-wrap: balance;
    color: #666;
}

.div__equipo_item .equipo_desc{
    font-size: 0.8rem;
    line-height: 1rem;
    text-wrap: balance;
}

.equipo-rrss{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.3em;
    color: #666;
}

.equipo-rrss a{
    font-size: 0.9rem;
}

.icono{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    gap: 0.5em;
}


/* ------------------------------------------ */


/* --- Estilos base (Ordenador) --- */
.menu-toggle {
    display: none; /* Escondido en PC */
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 4px 0;
}

.menu-principal {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* --- Estilos para Móvil --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Aparece el botón */
    }

    .menu-principal {
        display: none; /* Escondemos los enlaces */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Ajusta según el alto de tu header */
        left: 0;
        background-color: var(--color-ppal);
        color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);

        z-index: 999;
    }

    /* Clase que añadiremos con JS para mostrar el menú */
    .menu-principal.active {
        display: flex;
    }
}



/* ------------------------------------------ */

    .oculto-pc{
        display: none !important;
    }

        .div__hero_tit{
        font-size: 1.2rem;
        background-color: var(--color-ppal);
        color: var(--white);
        text-align: center;
        padding: 0.3rem;
    }

@media (max-width: 768px) {

    .contenido{
        width: 100%;
    }

    .div_grid {
        grid-template-columns: 1fr; /* Fuerza una sola columna */
    }

    .oculto-tel{
        display: none !important;
    }

    .oculto-pc{
        display: block !important;
    }    

    .w25{
        width: 100% !important;
    }

    .w50{
        width: 100% !important;
    }    


    .w75{
        width: 100% !important;
    }    

    .div_col{
        width: 100%;
        flex-direction: column;
    }

    .div__menu, .div__idiomas{
        margin: 0 auto;
    }

    .div__equipo{
        grid-template-columns: 1fr;
    }

    .equipo-rrss a{
        font-size: 0.8rem;
    }

    .div__hero2{
        background-position: left;
    }    

    .col-uno{
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
        gap: 1em;
    }

    .div_cards3, .div_cards4{
        grid-template-columns: 1fr;
    }

    .card__title_big{
        font-size: 2rem;
        line-height: 2.2rem;
        width: 100%;
    }



    .div__hero_logo{        
        width: 60%;
    }    

}