/* ==================================================
   RENDER 3D - PORTAFOLIO
   ================================================== */


/* FUENTES
   -------------------------------------------------- */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* RESET
   -------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #ffffff;
    color: #111111;

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body.menu-abierto {
    overflow: hidden;
}


/* ==================================================
   HEADER
   ================================================== */

.header {
    width: 100%;
    height: 120px;

    padding: 0 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    position: relative;
    z-index: 100;
}


/* LOGO */

.logo {
    color: #111111;

    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;

    text-decoration: none;
}


/* MENÚ ESCRITORIO */

.menu {
    display: flex;
    align-items: center;

    gap: 35px;
}

.menu a {
    color: #111111;

    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;

    text-decoration: none;

    transition: opacity 0.3s ease;
}

.menu a:hover {
    opacity: 0.5;
}

.menu a.activo {
    font-weight: 600;
}


/* BOTÓN HAMBURGUESA */

.menu-toggle {
    display: none;

    width: 30px;
    height: 24px;

    padding: 0;

    background: none;
    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 30px;
    height: 2px;

    margin-bottom: 6px;

    background: #111111;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}


/* CONTACTO EXCLUSIVO DEL MENÚ MÓVIL */
.menu-contacto {
    display: none;
}


/* ==================================================
   FILTROS PORTAFOLIO
   ================================================== */

.filtros {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 32px;

    padding: 0 40px 38px;

    background: #ffffff;
}

.filtro {
    flex: 0 0 auto;

    padding: 4px 0;

    background: none;
    border: 0;

    color: #999999;

    font-family: "Montserrat", Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 400;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.filtro:hover {
    color: #111111;
}

.filtro.activo {
    color: #111111;

    font-weight: 600;
}


/* ==================================================
   PORTAFOLIO
   ================================================== */

.portfolio {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 0;
}


/* PROYECTO */

.proyecto {
    display: block;

    position: relative;

    overflow: hidden;

    background: #eeeeee;

    text-decoration: none;

    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}


/* IMAGEN */

.proyecto img {
    display: block;

    width: 100%;
    height: auto;

    transition: transform 0.6s ease;
}


/* INFORMACIÓN */

.proyecto-info {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	color: #ffffff;
	text-align: center;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.proyecto-info h2 {
    margin-bottom: 8px;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: 2px;
}

.proyecto-info p {
    font-size: 11px;
    font-weight: 400;

    letter-spacing: 3px;
}


/* ANIMACIÓN DE FILTRADO */

.proyecto.filtrando {
    opacity: 0;

    transform: translateY(8px);
}

.proyecto.apareciendo {
    opacity: 0;

    transform: translateY(8px);
}


/* HOVER */

.proyecto:hover .proyecto-info {
    opacity: 1;
}

.proyecto:hover img {
    transform: scale(1.02);
}


/* ==================================================
   PÁGINAS INTERIORES
   ================================================== */

.pagina-interior {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 90px 70px 120px;
}


/* ETIQUETA PEQUEÑA */

.seccion-label {
    margin-bottom: 25px;

    color: #777777;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 3px;
}


/* ==================================================
   NOSOTROS
   ================================================== */

.nosotros {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


/* TÍTULO FIJO DURANTE EL SCROLL */

.nosotros-titulo {
    position: sticky;
    top: 70px;
    align-self: start;
}


/* TÍTULO */

.nosotros-titulo h1 {
    max-width: 520px;

    font-size: 52px;
    line-height: 1.08;

    font-weight: 500;

    letter-spacing: -1.5px;
}


/* TEXTO */

.nosotros-texto {
    max-width: 590px;

    padding-top: 36px;
}

.nosotros-texto p {
    margin-bottom: 24px;

    color: #555555;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.8;
}

.nosotros-texto .destacado {
    margin-bottom: 35px;

    color: #111111;

    font-size: 21px;
    line-height: 1.55;

    font-weight: 400;
}

.nosotros-texto .cierre {
    margin-top: 40px;

    color: #111111;

    font-weight: 600;

    letter-spacing: 1px;
}


/* SERVICIOS */

.nosotros-servicios {
    margin-top: 120px;

    border-top: 1px solid #dddddd;
}

.nosotros-servicios div {
    min-height: 105px;

    display: grid;

    grid-template-columns: 100px 1fr;

    align-items: center;

    border-bottom: 1px solid #dddddd;
}

.nosotros-servicios span {
    color: #999999;

    font-size: 11px;

    letter-spacing: 2px;
}

.nosotros-servicios h2 {
    font-size: 18px;

    font-weight: 500;

    letter-spacing: 2px;
}


/* ==================================================
   CONTACTO
   ================================================== */

.contacto {
    min-height: 520px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


/* TÍTULO */

.contacto-titulo h1 {
    max-width: 520px;

    font-size: 58px;
    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -2px;
}


/* DATOS */

.contacto-datos {
    max-width: 590px;

    padding-top: 36px;
}


/* INTRO */

.contacto-intro {
    margin-bottom: 60px;

    color: #111111;

    font-size: 21px;

    line-height: 1.55;
}


/* BLOQUES */

.contacto-bloque {
    margin-bottom: 38px;
}

.contacto-bloque span {
    display: block;

    margin-bottom: 9px;

    color: #999999;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 3px;
}

.contacto-bloque a,
.contacto-bloque p {
    color: #111111;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.7;

    text-decoration: none;
}

.contacto-bloque a {
    display: inline-block;

    border-bottom: 1px solid transparent;

    transition:
        opacity 0.3s ease,
        border-color 0.3s ease;
}

.contacto-bloque a:hover {
    opacity: 0.6;


    border-bottom-color: #111111;
}


/* ==================================================
   POLÍTICA DE PRIVACIDAD
   ================================================== */

.privacidad {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


/* TÍTULO */

.privacidad-titulo {
    position: sticky;

    top: 70px;
}

.privacidad-titulo h1 {
    max-width: none;

    font-size: 52px;
    line-height: 1.08;

    font-weight: 500;

    letter-spacing: -1.5px;

    white-space: nowrap;
}


/* FECHA */

.privacidad-fecha {
    margin-top: 35px;

    color: #999999;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.7;

    letter-spacing: 1px;
}


/* CONTENIDO */

.privacidad-contenido {
    max-width: 620px;

    padding-top: 36px;
}


/* BLOQUES */

.privacidad-bloque {
    margin-bottom: 55px;
}

.privacidad-bloque:first-child {
    margin-bottom: 65px;
}


/* TÍTULOS */

.privacidad-bloque h2 {
    margin-bottom: 20px;

    color: #111111;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.5;

    letter-spacing: 0.2px;
}


/* PÁRRAFOS */

.privacidad-bloque p {
    margin-bottom: 20px;

    color: #555555;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.8;
}

.privacidad-bloque p:last-child {
    margin-bottom: 0;
}


/* LISTAS */

.privacidad-bloque ul {
    margin: 5px 0 25px 20px;

    padding: 0;
}

.privacidad-bloque li {
    margin-bottom: 10px;

    padding-left: 5px;

    color: #555555;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.8;
}


/* NEGRITAS */

.privacidad-bloque strong {
    color: #111111;

    font-weight: 600;
}


/* LINKS */

.privacidad-bloque a {
    color: #111111;

    text-decoration: none;

    border-bottom: 1px solid #cccccc;

    transition:
        opacity 0.3s ease,
        border-color 0.3s ease;
}

.privacidad-bloque a:hover {
    opacity: 0.6;

    border-bottom-color: #111111;
}


/* ==================================================
   FOOTER
   ================================================== */

.footer {
    width: 100%;

    padding: 45px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    background: #ffffff;

    text-align: center;
}

.footer p {
    color: #777777;

    font-size: 11px;
    font-weight: 400;

    letter-spacing: 3px;
}


/* POLÍTICA DE PRIVACIDAD FOOTER */

.footer-privacidad {
    color: #999999;

    font-size: 9px;
    font-weight: 400;

    letter-spacing: 1.5px;

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-privacidad:hover {
    color: #111111;
}


/* ==================================================
   BOTÓN VOLVER ARRIBA
   ================================================== */

.volver-arriba {
    position: fixed;

    right: 28px;
    bottom: 28px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: rgba(255, 255, 255, 0.70);
    color: #111111;

    border: 1px solid #dddddd;
    border-radius: 50%;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;

    z-index: 90;
	
}

.volver-arriba.visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.volver-arriba:hover {
    background: #111111;
    color: #ffffff;

    border-color: #111111;
}

.flecha-arriba {
    width: 11px;
    height: 11px;

    border-top: 2px solid #111111;
    border-left: 2px solid #111111;

    transform: rotate(45deg) translate(2px, 2px);

    transition: border-color 0.3s ease;
}

.volver-arriba:hover .flecha-arriba {
    border-color: #ffffff;
}

/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {


    /* HEADER */

    .header {
        height: 100px;

        padding: 0 30px;
    }


    /* FILTROS */

    .filtros {
        gap: 22px;

        padding-left: 30px;
        padding-right: 30px;
    }

    .filtro {
        font-size: 11px;
    }


    /* INTERIORES */

    .pagina-interior {
        padding: 70px 45px 100px;
    }

    .nosotros,
    .contacto,
    .privacidad {
        gap: 60px;
    }

    .nosotros-titulo h1 {
        font-size: 42px;
    }

    .contacto-titulo h1 {
        font-size: 46px;
    }

    .privacidad-titulo h1 {
        font-size: 42px;
    }

}


/* ==================================================
   CELULAR
   ================================================== */

@media (max-width: 700px) {


    /* HEADER */

    .header {
        height: 100px;

        padding: 0 22px;

        display: flex;
        align-items: center;
        justify-content: center;

        position: relative;
    }


    /* RENDER 3D CENTRADO */

    .logo {
        position: relative;

        z-index: 103;

        font-size: 18px;
        font-weight: 600;

        letter-spacing: 3px;

        text-align: center;
    }


    /* HAMBURGUESA */

    .menu-toggle {
        display: block;

        position: absolute;

        right: 22px;
        top: 50%;

        transform: translateY(-50%);

        z-index: 103;
    }


    /* HAMBURGUESA → X */

    .menu-toggle.activo span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.activo span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.activo span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    /* MENÚ PANTALLA COMPLETA */

    .menu {
        display: flex;

        position: fixed;

        top: 0;
        left: 0;

        width: 100%;

        height: 100vh;
        height: 100dvh;

        padding: 0;

        flex-direction: column;
        align-items: center;
        justify-content: center;
		padding-bottom: 110px;

        gap: 32px;

        background: #ffffff;

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;

        z-index: 102;
    }


    /* MENÚ ABIERTO */

    .menu.activo {
        opacity: 1;
        visibility: visible;
    }


/* LINKS MENÚ MÓVIL */

.menu > a {
    color: #999999;

    font-size: 17px;
    font-weight: 400;

    letter-spacing: 3px;
    text-align: center;
}

/* SECCIÓN ACTIVA */

.menu > a.activo {
    color: #111111;
    font-weight: 600;
}


    /* CONTACTO AL PIE DEL MENÚ MÓVIL */

    .menu-contacto {
        display: flex;
        position: absolute;
        bottom: max(105px, calc(env(safe-area-inset-bottom) + 70px));
        left: 0;
        width: 100%;
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        text-align: center;
    }

    .menu-contacto-bloque {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
    }

    .menu-contacto-bloque span {
        color: #999999;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 2.5px;
    }

    .menu .menu-contacto-bloque a {
        color: #111111;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0.5px;
        text-decoration: none;
    }

    @media (max-height: 550px) {
        .menu { justify-content: flex-start; padding-top: 115px; gap: 18px; overflow-y: auto; }
        .menu-contacto { position: static; margin-top: 25px; padding-bottom: 24px; }
    }


    /* ==================================================
       FILTROS MÓVIL - UNA FILA DESLIZABLE
       ================================================== */

    .filtros {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 25px;
        padding: 0 52px 25px 22px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23111111' stroke-width='1.5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 13px top 0;
        background-size: 18px 18px;
        animation: flecha-filtros 1.5s ease-in-out infinite;
    }

    .filtros::-webkit-scrollbar {
        display: none;
    }

    .filtro {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    /* Flecha animada: permanece visible a la derecha */
    @keyframes flecha-filtros {
        0%, 100% { background-position: right 17px top 0; }
        50% { background-position: right 11px top 0; }
    }

    /* ==================================================
       PORTAFOLIO MÓVIL
       ================================================== */

    .portfolio {
        grid-template-columns: 1fr;
    }

    .proyecto-info {
        display: none;
    }

    .proyecto:hover img {
        transform: none;
    }


    /* ==================================================
       INTERIORES MÓVIL
       ================================================== */

    .pagina-interior {
        width: 100%;

        padding: 55px 25px 80px;
    }


    /* ==================================================
       NOSOTROS MÓVIL
       ================================================== */

    .nosotros {
        display: block;
    }

    .seccion-label {
        margin-bottom: 18px;

        font-size: 9px;

        letter-spacing: 2.5px;
    }

    .nosotros-titulo {
        position: static;
    }

    .nosotros-titulo h1 {
        max-width: 100%;

        font-size: 38px;
        line-height: 1.1;

        letter-spacing: -1px;
    }

    .nosotros-texto {
        max-width: 100%;

        padding-top: 55px;
    }

    .nosotros-texto .destacado {
        margin-bottom: 30px;

        font-size: 19px;

        line-height: 1.55;
    }

    .nosotros-texto p {
        margin-bottom: 22px;

        font-size: 14px;

        line-height: 1.8;
    }

    .nosotros-texto .cierre {
        margin-top: 35px;
    }


    /* SERVICIOS */

    .nosotros-servicios {
        margin-top: 70px;
    }

    .nosotros-servicios div {
        min-height: 90px;

        grid-template-columns: 45px 1fr;
    }

    .nosotros-servicios span {
        font-size: 9px;
    }

    .nosotros-servicios h2 {
        font-size: 14px;

        line-height: 1.4;

        letter-spacing: 1.5px;
    }


    /* ==================================================
       CONTACTO MÓVIL
       ================================================== */

    .contacto {
        min-height: auto;

        display: block;
    }

    .contacto-titulo h1 {
        max-width: 100%;

        font-size: 42px;
        line-height: 1.05;

        letter-spacing: -1px;
    }

    .contacto-datos {
        max-width: 100%;

        padding-top: 60px;
    }

    .contacto-intro {
        margin-bottom: 50px;

        font-size: 19px;

        line-height: 1.55;
    }

    .contacto-bloque {
        margin-bottom: 34px;
    }

    .contacto-bloque span {
        margin-bottom: 8px;

        font-size: 9px;
    }

    .contacto-bloque a,
    .contacto-bloque p {
        font-size: 15px;

        line-height: 1.7;
    }


    /* ==================================================
       PRIVACIDAD MÓVIL
       ================================================== */

    .privacidad {
        display: block;
    }

    .privacidad-titulo {
        position: static;
    }

    .privacidad-titulo h1 {
        max-width: 100%;

        font-size: 38px;
        line-height: 1.1;

        letter-spacing: -1px;

        white-space: normal;
    }

    .privacidad-fecha {
        margin-top: 25px;

        font-size: 10px;

        line-height: 1.7;
    }

    .privacidad-contenido {
        max-width: 100%;

        padding-top: 65px;
    }

    .privacidad-bloque {
        margin-bottom: 45px;
    }

    .privacidad-bloque:first-child {
        margin-bottom: 55px;
    }

    .privacidad-bloque h2 {
        margin-bottom: 18px;

        font-size: 15px;

        line-height: 1.5;
    }

    .privacidad-bloque p {
        margin-bottom: 18px;

        font-size: 14px;

        line-height: 1.8;
    }

    .privacidad-bloque ul {
        margin: 5px 0 22px 18px;
    }

    .privacidad-bloque li {
        margin-bottom: 9px;

        font-size: 14px;

        line-height: 1.8;
    }


    /* ==================================================
       VOLVER ARRIBA MÓVIL
       ================================================== */

    .volver-arriba {
        right: 18px;
        bottom: 18px;

        width: 44px;
        height: 44px;

        font-size: 18px;
    }


    /* ==================================================
       FOOTER MÓVIL
       ================================================== */

    .footer {
        padding: 35px 20px;

        gap: 11px;
    }

    .footer p {
        font-size: 10px;

        line-height: 18px;
    }

    .footer-privacidad {
        font-size: 8px;

        letter-spacing: 1.3px;
    }

}
/* INSTAGRAM MENÚ MÓVIL */

.menu-instagram {
    display: none;
}

@media (max-width: 700px) {

    .menu-instagram {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-top: 25px;

        color: #111111;
        text-decoration: none;

        transition: opacity 0.3s ease;
    }

    .menu-instagram:hover {
        opacity: 0.5;
    }
}
/* VOLVER A VOXEL - ESCRITORIO Y TABLET */

.menu > a.menu-volver-voxel {
    display: inline-block;
    color: #461E7D;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
}

/* VOLVER A VOXEL - CELULAR */

@media (max-width: 700px) {
    .menu > a.menu-volver-voxel {
        display: block;
        margin-top: 12px;
        color: #461E7D;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 3px;
        text-decoration: none;
    }
}