*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

body {
    letter-spacing: 0;
    background-color: var(--color-fondo);
    background-image: var(--img-background);
    background-repeat: repeat-y;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    color: var(--color-texto);
    font-family: var(--font-family);
    font-weight: var(--font-weight);
}

a {
    text-decoration: none;
    color: var(--color-texto);
}

ul {
    list-style-type: none;
}

button {
    background-color: transparent;
    color: var(--color-texto);
    font-family: var(--font-family);
    font-weight: var(--font-weight);
    border: none;
}

button:hover {
    cursor: pointer;
}

/****************************************************************************************/

.div-test {
    background-color: var(--fondo-test);
    border: var(--border-test);
}


.body {
    /*display: grid;*/
    gap: var(--gap-grid-body);
}

.container {
    max-width: var(--max-width-global);
    margin: 5px auto;
    height: 100%;

}

.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/************************************************************************************************/
/* HEADER MENU */
.header-grid {
    display: flex;
    align-content: space-around;
    align-items: center;
    justify-items: stretch;
    flex-direction: row;
    justify-content: space-between;

    max-width: var(--max-width-global);
    margin: 0px auto;
    height: 100%;
}

.header-grid .header-subtitle {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 5px;
}

.header-grid .header-left {
    margin-top: 10px;
}

.header-grid .header-right {
    display: flex;
    align-items: center;
}

@media all and (max-width: 700px) {
    .header-grid {
        flex-direction: column-reverse;
    }
}

.postventa-fonda {
    background-image: url('purefitness.es/wp-content/uploads/2025/02/Ubuntu-69.jpg');
    height: 100px;
}

.averia {
    text-align: left;
    border: 1px solid;
    border-radius: 6px;
    padding: 30px;
    margin: 10px;
    background: #111111db;
}

/*************************************************************/
.config-grid-header {
    height: var(--height-header);
    background-color: var(--fondo-header);
    padding: var(--padding-box-horiz);

    border-bottom: 1px solid white;
}

.config-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    justify-content: center;
    align-items: center;
    justify-content: space-between;


}

.comercial {
    font-size: 30px;
    font-weight: 700;
}

.item-comerc a {
    color: var(--color-naranja-corp);
}

.config-header-item {
    justify-self: center;
}

.config-header-item p {
    text-align: center;
}

.config-header-item a {
    margin: 0 0px;
}

.logo-grande img {
    width: var(--header-tam-img-logo);
    margin-right: 125px;
}

.instagram img {
    width: calc(5px + var(--header-tam-img-rs));
}

.linkdn img {
    width: var(--header-tam-img-rs);
}

.facebook img {
    width: var(--header-tam-img-rs);
}

@media all and (max-width: 1250px) and (min-width: 0px) {
    .config-header {
        margin: 0 15px;
    }
}

@media all and (max-width: 700px) and (min-width: 0px) {

    .logo-grande img {
        margin-right: 0;
    }

    .config-header {
        display: flex;
        flex-direction: column;
        /*
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        */
        justify-content: center;
        align-items: center;
        justify-content: space-between;
    }

    .config-header .item-comerc {
        text-align: center;
        margin-top: 25px;
        order: 2;
    }

    .config-header .item-logo {
        order: 0;
        /*display: none;*/
    }

    .config-header .item-rs {
        order: 1;
    }
}

.hr-cont {
    display: grid;
    justify-content: center;
}

.hr-cont hr {
    width: 325px;
}

/************************************************************************************************/
/* TITULO */

.config-grid-titulo {
    height: var(--height-header);
    padding: var(--padding-box-horiz);
}

.titulo {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    justify-content: center;
    align-items: center;
    justify-content: space-between;

    text-align: center;
}

h2 {
    /*color: var(--color-naranja-corp);*/
}

.titulo h2 {
    font-size: 25px;
}

.titulo .cliente {
    font-size: 35px;
    font-weight: 700;
    color: var(--color-naranja-corp);
    /*color:white;*/
}


.titulo .referencia {
    font-size: 18px;
    color: var(--color-naranja-corp);
}

.referencia span {
    font-size: 20px;
    color: white;
}


.titulo p {
    font-size: 20px;
}


.footer-space {
    margin-top: 100px;
}

/****************************************************/

/* frases */

.config-grid-frases {
    height: var(--height-header);
    padding: var(--padding-box-horiz);
    text-align: center;
}

.frases {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    justify-content: center;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
}

.cont-frases {
    display: flex;
    align-items: baseline;
    text-align: center;
    padding: 0 60px;
}

.btnfrase {
    padding: 10px 10px !important;
}

.btnfrase img {
    position: relative;
    top: 0;
    left: 0;
}

.cont-frases button {

    background-color: rgba(0, 128, 255, 0.1);
    font-size: 20px;
    font-weight: 600;
    border: 1px rgb(0, 128, 255) solid;
    border-radius: 5px;
    padding: 10px 0px;
    margin: 10px;
    width: 50%;
}

.cont-frases button:hover {

    background-color: rgba(0, 128, 255, 0.5);
    transition: all 0.5s ease-out;
}

.frases-final {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
}

#btnFrase1 {
    background-image: url("../img/fondo-5.png");
    background-size: cover;
    background-position: top right;
}

#btnFrase2 {
    background-image: url("../img/fondo-6.png");
    background-size: cover;
    background-position: top right;
}


#frasesFinal1,
#frasesFinal2 {
    display: none;
}

@media all and (max-width: 700px) and (min-width: 0px) {
    .cont-frases {
        display: block;
        align-items: baseline;
        text-align: center;
        padding: 0 0px;
    }

    .cont-frases button {
        padding: 10px 5px;
        margin: 5px;
        width: 85%;
    }
}

/************************************************************************************************/


/****************************** */
/* VIDEO */

.video-principal {
    text-align: center;
}

/*==============================================================*/
/* ICONO WHATSAPP */

.sticky-whatsapp {
    width: 100%;
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 1000;
    border-top: 1px solid white;
}

.config-grid-whatsapp {
    background-color: var(--background-color-grid-whatsapp);
    padding: var(--padding-box-whatsapp);
}

.config-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;

}

.config-whatsapp-item {}

.config-whatsapp-item img {
    width: var(--tam-iconos-whatsapp);
    opacity: 0.9;
}

@media all and (max-width: 700px) and (min-width: 0px) {
    .config-whatsapp .garantia img {
        width: 270px;
    }
}

/****************************************************/

/* botones */

.config-grid-botones {
    height: var(--height-header);
    padding: var(--padding-box-horiz);
    text-align: center;
}

.botones {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    justify-content: center;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 60px;
}

.cont-botones {
    text-align: center;
}

.cont-producto {
    background-color: rgba(255, 215, 0, 0.1);
    font-size: 15px;
    font-weight: 400;
    border: 1px gold solid;
    border-radius: 5px;
    padding: 10px 15px;
    /*margin: 10px;*/
    width: 100%;
}


.cont-botones button {

    background-color: rgba(255, 215, 0, 0.1);
    font-size: 20px;
    font-weight: 600;
    border: 1px gold solid;
    border-radius: 5px;
    padding: 10px 0px;
    margin: 10px;
    width: 50%;
}

.cont-botones button:hover {

    background-color: rgba(255, 215, 0, 0.5);
    transition: all 0.5s ease-out;

}

.botones .firma {
    width: 250px;
}

.botones .firma img {
    width: 250px;
    margin-top: 10px;
}


#textoMant {
    display: none;
}

.btnMant {
    font-size: 18px;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 5px;
}

.linkMant {
    text-decoration: solid;
    color: #ffefd7;

}

.linkMant span {
    background-color: rgba(250, 215, 0, 0.3);
    border: 1px gold solid;
    border-radius: 5px;
    padding: 7px;
    margin-top: 5px;


}

.linkMant span:hover {
    color: rgb(49, 42, 0);
    background-color: rgba(250, 215, 0, 0.7);
    transition: all 0.5s ease-out;
}

#btnPresup {
    background-image: url("../img/fondo-7.png");
    background-size: cover;
    background-position: top right;

}

#btnProd {
    background-image: url("../img/fondo-8.png");
    background-size: cover;
    background-position: top right;
}


#btnMant {
    background-image: url("../img/fondo-9.png");
    background-size: cover;
    background-position: top right;
}

#btnPlanos {
    background-image: url("../img/fondo-10.png");
    background-size: cover;
    background-position: top right;
}

#btnGaleria {
    background-image: url("../img/fondo-11.png");
    background-size: cover;
    background-position: top right;
}

@media all and (max-width: 700px) and (min-width: 0px) {

    .cont-botones button {
        padding: 10px 0px;
        margin: 5px;
        width: 85%;
    }
}

/************************************************************************************************/
/*  PRODUCTOS */

#productos {
    display: none;
    transition: all 0.5s ease-out;
    ;
}

.productos .titulo {}

.prod-detalles {
    background-color: rgba(255, 215, 0, 0.1);
    font-size: 15px;
    font-weight: 300;
    border: 1px rgb(255, 237, 134) solid;
    border-radius: 5px;
    padding: 10px 10px;
    margin: 5px auto;
    margin-bottom: 30px;
    width: 75%;
}

.prod-detalles-item {
    margin: 10px 0;
}

.prod-titulo {
    font-size: 20px;
    margin-bottom: 15px;
}

.prod-ficha {
    /*display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr auto;
    */
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.prod-ficha-no-tecn {
    display: flex;
    flex-direction: column;
}

.prod-img img {
    width: 200px;
}

.descr-larga {
    display: none;
}



.det-div1 {
    grid-area: 1 / 1 / 2 / 2;
}

.det-div2 {
    grid-area: 1 / 2 / 2 / 3;
}

.det-div3 {
    grid-area: 1 / 3 / 2 / 4;
}

.det-div4 {
    grid-area: 2 / 1 / 3 / 4;
}

@media all and (max-width: 700px) and (min-width: 0px) {

    .prod-ficha {
        display: flex;
        flex-direction: column;

        /*      
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        justify-content: center;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        */
    }

}

/***********************************************/
/* GALERIA */

.galeria {
    display: none;
}

.gal-detalles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
    align-items: stretch;

    text-align: center;

    font-size: 15px;
    font-weight: 300;
    border: 1px rgb(255, 237, 134) solid;
    border-radius: 5px;
    padding: 10px 10px;
    margin: 5px auto;
    margin-bottom: 30px;
    width: 75%;

}

.gal-detalles-item {
    flex-grow: 1;
    align-self: auto;
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
}

.gal-detalles-item img {
    width: 100%;
    border-radius: 5px;
    margin: 0px;
}

/*************************************************************************/

.ocultar {
    /*display: none;
    transition: all 0.5s ease-out;
    */
}

.mostrar {
    display: block;
    transition: all 0.5s ease-out;
}

.video-iframe {
    position: relative;
    /*top:-55px;*/
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease-out;
}

iframe {
    width: 100%;
    height: calc(((100vw* 9) / 16));
}

.bottomleft {
    padding: 2em 1em;
    position: absolute;
    z-index: 10;
    color: #ffffff;
    bottom: 10%;
    left: 10%;
    right: 10%;
    width: 80%
}

.bottomleft button {
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 15px;
    font-weight: 600;
    border: 1px rgb(134, 134, 134) solid;
    border-radius: 5px;
    padding: 10px 0px;
    margin: 10px;
    width: 300px;
}

.titulo-intro {
    /*display: flex;*/
    width: 320px;
    text-align: center;
}

.titulo-intro .cliente {
    font-size: 25px;
    color: rgb(255, 174, 0);
}

.titulo-intro p {
    font-size: 15px;
}

.titulo-intro span {
    font-size: 20px;
    color: rgb(255, 174, 0);
}

@media(max-aspect-ratio: 16/9) {
    .video-iframe {
        width: 100%;
        overflow: hidden
    }

    iframe {
        width: calc((100vh*16)/9);
        height: 100vh
    }
}

@media all and (max-width: 1200px) and (min-width: 0px) {
    .video-iframe iframe {
        position: relative;
        left: -200px;
    }
}

@media all and (max-width: 700px) and (min-width: 0px) {

    .video-iframe iframe {
        position: relative;
        left: -600px;
    }

    .bottomleft {
        padding: 0 0;
        position: absolute;
        z-index: 10;
        color: #ffffff;
        bottom: 10%;
        left: 10%;
        right: 10%;
        width: 80%
    }

    .bottomleft button {
        background-color: rgba(0, 0, 0, 0.4);
        font-size: 15px;
        font-weight: 600;
        border: 1px rgb(134, 134, 134) solid;
        border-radius: 5px;
        padding: 10px 0px;
        margin: 10px 0;
        width: 300px;
    }
}