/*####################################################
##													##
## FDF STORE     									    ##
## 													##
## CUSTOM.CSS		        						##
## 													##
## 													##
## Estilo CSS										##
## Estilos específicos del sitio 					##
##													##
##													##
####################################################*/

@charset "utf-8";

/*** HTML ***/

html {
    overflow-y: scroll;
}

/*** BODY ***/

body {
    font-family: 'Lato', sans-serif;
    background: var(--blanco);
    color: #111;
    font-size: 12pt;
}

/*** HEADINGS ***/

h1, h2, h3, h4, h5, h6 {
    color: #111;
}

/*** A ***/

a {
    color: var(--color-dicha);
    transition: .3s all;
}

    a:hover {
        color: var(--color-dicha);
        font-weight: 600;
    }

/*** PÁRRAFOS ***/

p {
    margin-bottom: 10px;
    line-height: 1.5rem;
    font-size: 1.15rem;
    color: #333;
}

/*** LISTAS ***/

ul {
    color: #111;
}

/*** FUENTES ***/

@font-face {
	font-family: 'FontAwesome';
	src: url('../fonts/font-awesome/font/fontawesome-webfont.eot?v=3.2.1');
	src: url('../fonts/font-awesome/font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('../fonts/font-awesome/font/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('fonts/font-awesome/font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('../fonts/font-awesome/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*** ELEMENTOS COMUNES ***/

    /* Imágenes */

    .img {
        width: 100%;
        display: block;
    }

    /* Redes sociales */

    .social ul {
        list-style: none;
        line-height: 1;
    }

        .social ul li {
            display: inline-block;
        }

            .social ul li a {
                color: #666;
                line-height: 1em;
                vertical-align: middle;
            }

                .social ul li a img {
                    max-width: 32px;
                    transition: .3s all;
                }

    /* Botones */

    .btn {
        padding: 15px 25px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-weight: 600;
        font-size: 1em;
        line-height: 1em;
        display: inline-block;
        cursor: pointer;
        transition: .3s all;
    }

        .btn:hover {
            background: rgba(255, 255, 255, 0.4);
            text-decoration: none;
        }

        .btn.btn-form {
            background: rgba(140, 140, 140, 0.9);
            color: #111;
        }

            .btn.btn-form:hover {
                background: rgba(160, 160, 160, 0.9);
            }

    /* Inputs */

    input, select, textarea {
        padding: 15px;
        color: #111;
        border-radius: 10px;
        border: 1px solid var(--blanco);
        box-sizing: border-box;
        font-size: 1.1rem;
        font-family: 'Lato', sans-serif;
    }

        input::placeholder, select::placeholder, textarea::placeholder {
            color: inherit;
            font-family: 'Lato', sans-serif;
        }

    textarea {
        resize: vertical;
    }

    /* Labels */

    label {
        font-size: 1em;
        font-weight: 400;
    }

        label span {
            color: var(--color-fluor);
            font-weight: 800;
        }

        label input,
        label textarea {
            display: block;
        }

    /* Padding global */

    .padding {
        padding: 25px;
    }

    /* Breadcrumbs */

    .breadcrumb {
        margin-bottom: 25px;
    }

        .breadcrumb span {
            color: #999;
        }

        .breadcrumb a {
            display: inline-block;
            transition: .3s all;
        }

            .breadcrumb a:hover {
                transform: scale(1.5);
            }

    .color-dicha * {
        color: var(--color-dicha);
    }

    /* Banners de información del sitio */

    .site-info > .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

/*** LAYOUT ***/

    /*** Main ***/

    main {
        margin: auto;
    }

        main > .body-overlay {
            position: fixed;
        }

        /** Header **/

        header {
            width: 100%;
            background: var(--gris-v1);
            text-align: center;
            transition: .3s all;
            box-sizing: border-box;
            position: fixed;
            top: 0;
            z-index: 5;
        }

            /* Header scroll */

            header.header-scroll {
                box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
            }

                header.header-scroll > .social {
                    max-height: 0;
                    opacity: 0;
                    padding: 0 15px;
                }

                header.header-scroll .top {
                    padding: 10px;
                }

            /* Topbar de redes sociales */

            header .social {
                max-height: 100px;
                padding: 10px 15px;
                text-align: left;
                background-color: var(--naranja-v1);
                overflow: hidden;
                transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
                opacity: 1;
            }

                header .social ul li a {
                    padding-right: 10px;
                    color: var(--blanco);
                }

            /* Parte superior del header */

            header .top {
                padding: 20px;
                transition: padding 0.3s ease;
            }

                header .top .grid {
                    grid-template-columns: 150px 1fr 150px;
                    gap: 200px;
                    align-items: center;
                }

                    header .top a {
                        text-decoration: none;
                    }

                    /* Logo */

                    header .top .logo img {
                        max-width: var(--ancho-logo);
                        vertical-align: middle;
                        transition: .3s all;
                    }

                        header .top  .logo img:hover {
                            transform: scale(1.15);
                        }

                    /* Barra de búsqueda */

                    header .top .grid .search {
                        position: relative;
                    }

                        header .top .grid .search input {
                            width: 100%;
                            padding-right: 50px;
                            box-sizing: border-box;
                        }

                        header .top .grid .search button {
                            background: none;
                            border: none;
                            cursor: pointer;
                            font-size: 1.5rem;
                            position: absolute;
                            top: 13px;
                            right: 5px;
                        }

                    /* Barra de opciones */

                    header .top .options a {
                        width: 50px;
                        display: inline-block;
                        color: var(--blanco);
                    }

                        header .top .options a svg {
                            fill: var(--blanco);
                        }

                /* Parte inferior del header */

                    /* Menú */

                    header #menu {
                        padding: 15px;
                        border-top: 1px solid rgba(255, 255, 255, 0.2);
                        position: relative;
                    }

                        header #menu .toggle-menu {
                            display: none;
                        }

                        header #menu ul li {
                            margin: 0 15px;
                            display: inline-block;
                        }

                            header #menu ul li a {
                                text-decoration: none;
                                border-bottom: 2px solid transparent;
                                color: var(--blanco);
                                font-weight: 400;
                                font-size: 1.1rem;
                                letter-spacing: 1px;
                                transition: .3s all
                            }

                                header #menu ul li a.active,
                                header #menu ul li a:hover {
                                    color: var(--naranja-v1);
                                }

                            header #menu ul li .submenu {
                                width: 100%;
                                padding: 20px;
                                padding-top: 35px;
                                background-color: var(--gris-v1-rgba);
                                transform: translateY(-10px);
                                transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
                                opacity: 0;
                                visibility: hidden;
                                position: absolute;
                                top: 70%;
                                left: 0;
                            }

                            header #menu ul li:hover .submenu {
                                opacity: 1;
                                visibility: visible;
                                transform: translateY(0);
                            }

                            header #menu ul li.has-submenu:hover > a {
                                color: var(--naranja-v1);
                            }

        /** Footer **/

        footer {
            background-color: var(--gris-v2);
            font-family: 'Montserrat', sans-serif;
        }

            footer p,
            footer h1 {
                color: var(--gris-v1);
            }

            footer h1 {
                margin-bottom: 25px;
                font-size: 1.5rem;
            }

            footer ul {
                list-style: none;
            }

                footer ul li:not(:last-child) {
                    margin-bottom: 5px;
                }

            footer .grid.top {
                margin-bottom: 15px;
                padding: 50px 25px;
                grid-template-columns: repeat(3, 1fr);
                gap: 25px;
            }

                footer .logo {
                    visibility: hidden;
                }

                    footer .logo img {
                        max-width: var(--ancho-logo);
                    }

            footer .social {
                margin-top: 45px;
            }

                footer .social ul li a {
                    margin-right: 10px;
                    padding: 15px;
                    background-color: var(--gris-v1);
                    color: var(--blanco);
                    font-size: 1.5rem;
                    line-height: 1;
                    border-radius: 50%;
                }

            footer .grid.bottom {
                padding: 50px 25px;
                grid-template-columns: 300px 1fr;
                gap: 25px;
            }

            footer #medios-pago {
                border-top: 1px solid #ccc;
            }

                footer #medios-pago ul li {
                    display: inline-grid;
                }

                    footer #medios-pago li img {
                        width: 64px;
                    }

            footer .copyright {
                padding: 25px;
                background-color: var(--gris-v1);
                font-size: 1rem;
            }

                footer .copyright p {
                    margin-bottom: 0;
                    color: var(--blanco);
                }

/*** SECCIONES ***/

    section {
        margin: 232px auto 35px;
        font-family: 'Montserrat', sans-serif;
    }

        section > div > h1 {
            color: var(--naranja-v1);
        }

        section > div > h2 {
            font-weight: 700;
        }

    /** INICIO **/

    #inicio .second {
        margin-top: 75px;
    }

        #inicio .second h1 {
            font-size: 2.5rem;
            font-weight: 800;
        }

        #inicio .site-info {
            margin-bottom: 75px;
            padding: 50px;
            background-color: var(--gris-v2);
        }

            #inicio .site-info .grid > div {
                display: grid;
                grid-template-columns: 85px 1fr;
                gap: 25px;
            }

                #inicio .site-info > div h1 {
                    margin-bottom: 5px;
                    font-size: 1.25rem;
                    font-weight: 700;
                }

    /** SOBRE NOSOTROS **/

    #sobre-nosotros .top h2 {
        margin-bottom: 35px;
    }

    #sobre-nosotros .top img {
        margin-top: 45px;
    }

    #sobre-nosotros .bottom .grid {
        margin-bottom: 45px;
        grid-template-columns: 150px 1fr;
        gap: 25px;
    }

        #sobre-nosotros .bottom .grid h1 {
            margin-bottom: 15px;
        }

    /** SUCURSALES **/

    #sucursales .top .grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }

        #sucursales .sucursal {
            overflow: hidden;
            border-radius: 25px;
            transition: .3s all;
        }

            #sucursales .sucursal:hover {
                filter: brightness(1.25);
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            }

    /** SUCURSAL INDIVIDUAL **/

    #sucursal .block {
        margin-bottom: 35px;
        padding-bottom: 25px;
        font-size: 1.25rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }

        #sucursal .block div:first-child {
            margin-bottom: 15px;
            color: var(--naranja-v1);
        }

            #sucursal .block div:first-child span i {
                font-size: 2rem;
                vertical-align: middle;
            }

            #sucursal .block div:first-child span span {
                font-weight: 600;
                position: relative;
                top: 1px;
            }

        #sucursal .block div:last-child {
            padding-left: 5px;
            font-size: 1.5rem;
        }

        #sucursal .block iframe {
            width: 100%;
        }

    #sucursal .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /** ATENCIÓN A INDUSTRIAS **/

    #atencion-industrias .second .grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

        #atencion-industrias .second .grid h1 {
            margin-bottom: 25px;
            color: var(--naranja-v1);
        }

        #atencion-industrias .second .grid span {
            color: var(--naranja-v1);
            font-weight: 600;
        }

    #atencion-industrias .fourth .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    #atencion-industrias .fifth span {
        color: var(--naranja-v1);
    }

    #atencion-industrias .fifth h2 {
        font-size: 1.5rem;
    }

    #atencion-industrias .third,
    #atencion-industrias .fourth,
    #atencion-industrias .fifth {
        margin-top: 45px;
    }

    /** TU PROPIO H30 **/

    #tu-propio-h30 hr {
        margin: 35px auto;
        max-width: 600px;
        border: none;
        border-top: 1px solid var(--naranja-v1);
        display: block;
    }

    #tu-propio-h30 span {
        color: var(--naranja-v1);
    }

    /** AYUDA **/

    #ayuda__contacto ul {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }

        #ayuda__contacto ul li {
            list-style: none;
        }

            #ayuda__contacto ul li {
                font-size: 1.25rem;
            }

            #ayuda__contacto ul li a {
                text-decoration: none;
            }

                #ayuda__contacto ul li i {
                    margin: auto;
                    margin-bottom: 15px;
                    display: block;
                    font-size: 3rem;
                    color: var(--naranja-v1);
                }

/*** PRECARGA DE IMÁGENES ***/

.precarga {
    width: 100%;
    height: 100%;
    -webkit-filter: blur(30px);
    filter: blur(30px);
    position: absolute;
    left: 0;
    top: 0;
}

.completa {
    opacity: 0;
}

