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

@charset "utf-8";

/*** HTML ***/

html {
    overflow-y: scroll;
}

/*** BODY ***/

body {
    font-family: 'Work Sans', sans-serif;
    background: #fff;
    color: #111;
    font-size: 12pt;
}

    * {
        cursor: url('../imgs/cursor.ico'), auto;
    }

/*** 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: 25px;
    line-height: 1.5em;
    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;
    }

        .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;
                }

                #instagram-social:hover img:first-child {
                    display: none;
                }

                #instagram-social:hover img:last-child {
                    display: block;
                    position: relative;
                    top: 2px;
                }

    /* Grilla de proyectos */

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

    #proyectos__lista img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    #proyectos__lista .proyecto {
        position: relative;
    }

        #proyectos__lista .proyecto .overlay {
            background: #fff;
            display: grid;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-family: 'Quicksand', sans-serif;
            visibility: hidden;
            opacity: 0;
            transition: .5s all;
        }

            #proyectos__lista .proyecto .overlay h1,
            #proyectos__lista .proyecto .overlay h3 {
                color: var(--color-dicha);
                font-family: inherit;
                font-size: 12pt;
                text-transform: uppercase;
            }

            #proyectos__lista .proyecto .overlay h1 {
                font-weight: 400;
            }

            #proyectos__lista .proyecto .overlay h3 {
                font-weight: 600;
            }

            #proyectos__lista .proyecto:hover .overlay {
                visibility: visible;
                opacity: 1;
            }

    /* 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;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
        font-family: 'Work Sans', sans-serif;
        color: #111;
    }

        input::placeholder, select::placeholder, textarea::placeholder {
            color: inherit;
            font-family: 'Work Sans', 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;
        }

    /* 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);
    }

/*** LAYOUT ***/

    /*** Main ***/

    main {
        margin: auto;
    }

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

        /** Header **/

        header {
            width: 100%;
            padding: 25px;
            background: #fff;
            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);
            }

            /* Logo */

            header .logo {
                margin-bottom: 25px;
            }

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

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

            /* Menú */

            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;
                    font-weight: 300;
                }

                header #menu ul li a:hover,
                header #menu ul li a.active {
                    text-shadow: 1px 0 1px rgba(155, 75, 60, 1);
                }

        /** Footer **/

        footer {
            padding: 25px;
            text-align: center;
        }

            footer > .grid {
                margin-bottom: 15px;
                grid-template-columns: repeat(3, 1fr);
                gap: 25px;
                align-items: center;
            }

                footer .logo {
                    visibility: hidden;
                }

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

                footer .column-left a {
                    display: block;
                }

            footer .copyright {
                font-size: 8pt;
            }

/*** SECCIONES ***/

    section {
        margin: 150px auto 35px;
        max-width: 1024px;
        padding: 25px;
    }

    /** Inicio **/
    /** Proyectos **/

    #proyectos__lista {
        position: relative;
    }

        .proyecto__imagenes-grid {
            margin-bottom: 25px;
            gap: 25px;
        }

            .proyecto__imagen {
                overflow: hidden;
                max-height: 80vh;
            }

                .proyecto__imagen img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

    /* Proyecto */

    #proyecto .proyecto__texto {
        margin-bottom: 35px;
        text-align: center;
    }

        #proyecto .proyecto__texto h1 {
            margin-bottom: 35px;
            font-size: 15pt;
            font-weight: 400;
            color: var(--color-dicha);
            text-transform: uppercase;
        }

        #proyecto .proyecto__texto h3 {
            font-size: 1.3em;
            font-weight: 300;
            font-style: italic;
        }

        #proyecto__video {
            margin-top: 25px;
            width: 100%;
        }

        #proyecto__mapa {
            margin-top: 25px;
            width: 100%;
        }

            #proyecto__mapa iframe {
                width: 100%;
            }

        #proyecto__notas {
            margin-top: 35px;
            font-size: 1.3em;
            font-style: italic;
        }

    /* Estudio */

    #estudio__texto {
        margin: auto;
        max-width: 800px;
    }

    #estudio img {
        width: 100%;
        display: block;
    }

        #estudio__texto p:has(img) {
            width: 30%;
            padding-right: 15px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            float: left;
        }

            #estudio__texto p:has(img) br {
                display: none;
            }

            #estudio__texto p:has(img) img {
                width: 100% !important;
                height: auto !important;
            }

        #estudio__texto p {
            width: 68%;
            float: right;
        }

            #estudio__texto p span {
                line-height: 1.55rem;
            }

    /* Prensa */

    #prensa > .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 35px;
    }

        #prensa .prensa__img {
            overflow: hidden;
        }

            #prensa .prensa__img img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        #prensa .prensa__texto {
            margin-top: 15px;
            text-align: center;
        }

            #prensa .prensa__texto h1 {
                margin-bottom: 35px;
                font-size: 12pt;
                font-weight: 400;
                color: var(--color-dicha);
                text-transform: uppercase;
            }

            #prensa .prensa__texto h2 {
                margin-top: 10px;
                font-size: 1.1em;
                font-weight: 200;
            }

        #prensa .prensa__individual .prensa__texto {
            margin-bottom: 25px;
        }

            #prensa .prensa__individual .prensa__texto h1 {
                font-size: 15pt;
            }

            #prensa .prensa__individual .prensa__texto h2 {
                font-size: 1.5em;
            }

            #prensa .prensa__individual .prensa__link {
                margin-top: -25px;
                margin-bottom: 25px;
                display: block;
                text-decoration: none;
                border-bottom: 2px solid transparent;
                font-weight: 300;
                text-transform: lowercase;
                font-style: italic;
            }

                #prensa .prensa__individual .prensa__link:hover,
                #prensa .prensa__individual .prensa__link.active {
                    text-shadow: 1px 0 1px rgba(155, 75, 60, 1);
                    transform: scale(1.05);
                }

        #prensa .prensa__individual .prensa__imagen {
            margin-bottom: 25px;
            width: 100%;
        }

            #prensa .prensa__individual .prensa__imagen img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

    /* Contacto */

    #contacto > .grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        align-items: center;
    }

        #contacto .email {
            font-weight: 500;
        }

        #contacto .column-left img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        #contacto iframe {
            display: block;
            filter: saturate(0);
            transform: .3s all;
        }

            #contacto iframe:hover {
                filter: saturate(1);
            }

        #contacto .column-right .logo img {
            max-width: 150px;
        }

            #contacto .column-right div:last-child a {
                display: block;
                text-decoration: none;
            }

        #contacto__form {
            margin-top: 55px;
        }

            #contacto__form h2,
            #contacto__form h3 {
                text-align: center;
                font-weight: 400;
            }

            #contacto__form h2 {
                font-weight: 500;
                font-size: 1.2rem;
            }

            #contacto__form h3 {
                font-weight: 400;
                font-size: 1.2rem;
            }

            #contacto__form form {
                margin-top: 45px;
            }

                #contacto__form form label {
                    margin-bottom: 25px;
                    display: block;
                }

                #contacto__form form input,
                #contacto__form form textarea {
                    margin-top: 10px;
                    width: 100%;
                    box-sizing: border-box;
                }

                #contacto__form form button {
                    width: 100%;
                }

/*** 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;
}

