/*==================================================
    SILPHAC SpA
    style.css
    Versión 1.0
==================================================*/


/*==================================================
    01 - RESET
==================================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

a{
    text-decoration:none;
    color:inherit;
}

ul,
ol{
    list-style:none;
}

button,
input,
textarea,
select{
    font:inherit;
    outline:none;
    border:none;
}


/*==================================================
    02 - VARIABLES
==================================================*/

:root{

    /* Colores */

    --color-primary:#FFD100;

    --color-secondary:#111111;

    --color-dark:#090909;

    --color-bg:#141414;

    --color-card:#1d1d1d;

    --color-border:#2d2d2d;

    --color-white:#ffffff;

    --color-text:#d6d6d6;

    --color-muted:#a6a6a6;

    /* Tipografía */

    --font-title:'Montserrat',sans-serif;

    --font-text:'Open Sans',sans-serif;

    /* Tamaños */

    --container:1280px;

    --radius:16px;

    --transition:.35s ease;

    --shadow:0 12px 35px rgba(0,0,0,.25);

}



/*==================================================
    03 - BODY
==================================================*/

body{

    background:var(--color-dark);

    color:var(--color-white);

    font-family:var(--font-text);

    font-size:16px;

    line-height:1.7;

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;

}



/*==================================================
    04 - TIPOGRAFÍA
==================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    font-family:var(--font-title);

    font-weight:700;

    line-height:1.2;

    color:var(--color-white);

}

h1{

    font-size:64px;

}

h2{

    font-size:46px;

}

h3{

    font-size:28px;

}

p{

    color:var(--color-text);

    margin-bottom:20px;

}

.section-title{

    text-align:center;

    max-width:900px;

    margin:0 auto 70px;

}

.section-title span{

    display:inline-block;

    color:var(--color-primary);

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:15px;

    text-transform:uppercase;

    font-size:14px;

}

.section-title h2{

    margin-bottom:20px;

}

.section-title p{

    font-size:18px;

}



/*==================================================
    05 - CONTAINER
==================================================*/

.container{

    width:min(92%, var(--container));

    margin:auto;

}



/*==================================================
    06 - ESPACIADO GENERAL
==================================================*/

section{

    padding:220px 0 160px;

}

@media(max-width:768px){

    section{

        padding:80px 0;

    }

    h1{

        font-size:42px;

    }

    h2{

        font-size:34px;

    }

    h3{

        font-size:24px;

    }

}



/*==================================================
    07 - TOP BAR
==================================================*/

.topbar{

    background:#000;

    color:var(--color-text);

    font-size:14px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.topbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:25px;

    gap:20px;

    flex-wrap:wrap;

}

.topbar-left,
.topbar-right{

    display:flex;

    align-items:center;

    gap:18px;

}

.topbar i{

    color:var(--color-primary);

    margin-right:6px;

}



/*==================================================
    08 - HEADER
==================================================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

}



/*==================================================
    09 - NAVBAR
==================================================*/

.navbar{

    background:rgba(10,10,10,.88);

    backdrop-filter:blur(14px);

    

    transition:all .35s ease;

}

.navbar-scroll{

    background:#090909;

    box-shadow:0 12px 30px rgba(0,0,0,.35);

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:90px;

}



/*==================================================
    10 - LOGO
==================================================*/

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    height:68px;

    transition:var(--transition);

}

.navbar-scroll .logo img{

    height:56px;

}



/*==================================================
    11 - MENÚ
==================================================*/

.menu{

    display:flex;

    align-items:center;

    gap:34px;

}

.menu li{

    position:relative;

}

.menu a{

    color:var(--color-white);

    font-weight:600;

    transition:var(--transition);

    position:relative;

}

.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--color-primary);

    transition:var(--transition);

}

.menu a:hover{

    color:var(--color-primary);

}

.menu a:hover::after{

    width:100%;

}



/*==================================================
    12 - BOTÓN DEL MENÚ
==================================================*/

.btn-nav{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:14px 28px;

    background:var(--color-primary);

    color:#111;

    font-weight:700;

    border-radius:8px;

    transition:var(--transition);

}

.btn-nav:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(255,209,0,.25);

}



/*==================================================
    13 - MENÚ RESPONSIVE
==================================================*/

.menu-toggle{

    display:none;

    font-size:34px;

    cursor:pointer;

    color:#fff;

    transition:var(--transition);

}

.menu-toggle:hover{

    color:var(--color-primary);

}



/*==================================================
    14 - ESPACIADOR DEL HEADER
==================================================*/

body{

    padding-top:132px;

}



/*==================================================
    15 - HERO
==================================================*/

.hero{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:calc(100vh - 132px);

    overflow:hidden;

    isolation:isolate;

}

.hero-background{

    position:absolute;

    inset:0;

    z-index:-3;

}

.hero-background img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    transition:transform .25s linear;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.62) 45%,
        rgba(0,0,0,.35) 100%
    );

    z-index:-2;

}

.hero .container{

    position:relative;

    z-index:5;

}

.hero-content{

    max-width:760px;

}

.hero-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:rgba(255,209,0,.15);

    border:1px solid rgba(255,209,0,.35);

    color:var(--color-primary);

    padding:10px 22px;

    border-radius:50px;

    margin-bottom:25px;

    font-weight:700;

    font-size:14px;

    letter-spacing:.5px;

    text-transform:uppercase;

}

.hero h1{

    font-size:clamp(42px,6vw,68px);

    margin-bottom:25px;

    line-height:1.1;

}

.hero-description{

    max-width:650px;

    font-size:20px;

    color:#ececec;

    margin-bottom:45px;

}



/*==================================================
    16 - BOTONES HERO
==================================================*/

.hero-buttons{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:55px;

    flex-wrap:wrap;

}

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:220px;

    padding:16px 34px;

    background:var(--color-primary);

    color:#111;

    border-radius:8px;

    font-weight:700;

    transition:var(--transition);

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 28px rgba(255,209,0,.30);

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:220px;

    padding:16px 34px;

    border:2px solid var(--color-primary);

    color:var(--color-primary);

    border-radius:8px;

    font-weight:700;

    transition:var(--transition);

}

.btn-secondary:hover{

    background:var(--color-primary);

    color:#111;

}



/*==================================================
    17 - HERO FEATURES
==================================================*/

.hero-features{

    display:grid;

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

    gap:22px;

    max-width:650px;

}

.feature{

    display:flex;

    align-items:center;

    gap:16px;

}

.feature i{

    width:52px;

    height:52px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,209,0,.12);

    border-radius:50%;

    color:var(--color-primary);

    font-size:22px;

}

.feature span{

    font-weight:600;

    color:#fff;

}



/*==================================================
    18 - ANIMACIÓN HERO
==================================================*/

.hero-content>*{

    animation:fadeHero .8s ease forwards;

}

.hero-content>*:nth-child(2){

    animation-delay:.15s;

}

.hero-content>*:nth-child(3){

    animation-delay:.30s;

}

.hero-content>*:nth-child(4){

    animation-delay:.45s;

}

.hero-content>*:nth-child(5){

    animation-delay:.60s;

}

@keyframes fadeHero{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



/*==================================================
    19 - BANDA CORPORATIVA
==================================================*/

.corporate-strip{

    background:#FFD100;

    padding:35px 0;

    text-align:center;

}

.corporate-strip h2{

    color:#111;

    font-size:34px;

    font-weight:800;

    margin:0;

    letter-spacing:.5px;

}



/*==================================================
    20 - EXPERIENCIA
==================================================*/

.experience{

    background:#111;

    position:relative;

}

.experience::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:1px;

    background:rgba(255,255,255,.08);

}

.experience-grid{

    display:grid;

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

    gap:30px;

    margin-top:70px;

}

.experience-card{

    background:#1b1b1b;

    border:1px solid rgba(255,255,255,.06);

    border-radius:16px;

    padding:45px 30px;

    text-align:center;

    transition:.35s;

}

.experience-card:hover{

    transform:translateY(-10px);

    border-color:#FFD100;

    box-shadow:0 18px 35px rgba(0,0,0,.30);

}

.experience-card h3{

    font-size:52px;

    color:#FFD100;

    margin-bottom:15px;

    font-weight:800;

}

.experience-card p{

    margin:0;

    color:#DDD;

    font-size:17px;

}



/*==================================================
    21 - EMPRESA
==================================================*/

.empresa{

    background:#181818;

}

.empresa-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.empresa-image{

    overflow:hidden;

    border-radius:18px;

}

.empresa-image img{

    width:100%;

    transition:.5s;

}

.empresa-image:hover img{

    transform:scale(1.05);

}

.section-subtitle{

    display:inline-block;

    color:#FFD100;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:18px;

}

.empresa-content h2{

    margin-bottom:25px;

}

.empresa-content p{

    margin-bottom:22px;

}

.empresa-list{

    display:grid;

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

    gap:18px;

    margin:40px 0;

}

.empresa-list div{

    display:flex;

    align-items:center;

    gap:12px;

}

.empresa-list i{

    color:#FFD100;

    font-size:20px;

}



/*==================================================
    22 - SERVICIOS
==================================================*/

.services{

    background:#111;

}

.services-grid{

    display:grid;

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

    gap:30px;

    margin-top:70px;

}

.service-card{

    background:#1b1b1b;

    padding:45px 35px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.service-card:hover{

    transform:translateY(-10px);

    border-color:#FFD100;

}

.service-card i{

    font-size:52px;

    color:#FFD100;

    margin-bottom:30px;

}

.service-card h3{

    margin-bottom:20px;

}

.service-card p{

    margin:0;

}



/*==================================================
    23 - PROYECTOS
==================================================*/

.projects{

    background:#181818;

}

.projects-grid{

    display:grid;

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

    gap:30px;

    margin-top:70px;

}

.project-card{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    cursor:pointer;

}

.project-card img{

    width:100%;

    height:340px;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-info{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:30px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.88)
    );

}

.project-info h3{

    color:#FFF;

    margin-bottom:10px;

}

.project-info p{

    color:#DDD;

    margin:0;

}

.projects-button{

    margin-top:60px;

    text-align:center;

}



/*==================================================
    24 - CLIENTES 2.0
==================================================*/

.clients{

    background:#111;

    overflow:hidden;

}

.clients-slider{

    width:100%;

    overflow:hidden;

    margin-top:70px;

    position:relative;

}

.clients-track{

    display:flex;

    align-items:center;

    width:max-content;

    animation:scrollClients 35s linear infinite;

}

.clients-slider:hover .clients-track{

    animation-play-state:paused;

}

.clients-track img{

    width:180px;

    height:90px;

    object-fit:contain;

    background:#FFF;

    margin:0 25px;

    padding:20px;

    border-radius:12px;

    transition:.35s;

    filter:grayscale(100%);

}

.clients-track img:hover{

    filter:none;

    transform:scale(1.08);

}

@keyframes scrollClients{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}



/*==================================================
    25 - WHY US
==================================================*/

.why-us{

    background:#181818;

}

.why-grid{

    display:grid;

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

    gap:30px;

    margin-top:70px;

}

.why-card{

    background:#202020;

    border-radius:18px;

    padding:45px 30px;

    text-align:center;

    transition:.35s;

    border:1px solid rgba(255,255,255,.06);

}

.why-card:hover{

    transform:translateY(-10px);

    border-color:#FFD100;

}

.why-card i{

    font-size:52px;

    color:#FFD100;

    margin-bottom:25px;

}

.why-card h3{

    margin-bottom:18px;

}

.why-card p{

    margin:0;

}



/*==================================================
    26 - CTA
==================================================*/

.cta{

    position:relative;

    background:linear-gradient(rgba(0,0,0,.80),
                               rgba(0,0,0,.80)),
    url("../img/hero/hero-principal.jpg");

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    text-align:center;

}

.cta-content{

    max-width:850px;

    margin:auto;

}

.cta span{

    color:#FFD100;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.cta h2{

    margin:25px 0;

}

.cta p{

    margin-bottom:45px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}



/*==================================================
    27 - CONTACTO
==================================================*/

.contact{

    background:#111;

}

.contact-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:45px;

    margin-top:70px;

}

.contact-form{

    background:#1b1b1b;

    padding:45px;

    border-radius:18px;

}

.form-grid{

    display:grid;

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

    gap:20px;

    margin-bottom:20px;

}

.contact input,
.contact textarea,
.contact select{

    width:100%;

    background:#252525;

    border:1px solid #333;

    color:#FFF;

    padding:18px;

    border-radius:8px;

    font-size:16px;

    margin-bottom:20px;

}

.contact textarea{

    resize:vertical;

}

.contact button{

    border:none;

    cursor:pointer;

}

.contact-info{

    background:#1b1b1b;

    padding:45px;

    border-radius:18px;

}

.contact-info h3{

    margin-bottom:20px;

}

.contact-info ul{

    list-style:none;

    margin:30px 0;

    padding:0;

}

.contact-info li{

    display:flex;

    gap:15px;

    margin-bottom:20px;

    align-items:flex-start;

}

.contact-info i{

    color:#FFD100;

    margin-top:3px;

}



/*==================================================
    28 - MAPA
==================================================*/

.location{

    background:#181818;

    padding-bottom:0;

}

.map{

    margin-top:70px;

}

.map iframe{

    width:100%;

    height:500px;

    border:none;

    display:block;

}



/*==================================================
    29 - FOOTER
==================================================*/

.footer{

    background:#0d0d0d;

    padding:90px 0 25px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:45px;

}

.footer-logo{

    width:220px;

    margin-bottom:25px;

}

.footer h3{

    color:#FFD100;

    margin-bottom:20px;

}

.footer ul{

    list-style:none;

    padding:0;

}

.footer li{

    margin-bottom:12px;

    color:#DDD;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    margin-top:60px;

    padding-top:25px;

    text-align:center;

    color:#AAA;

}



/*==================================================
    LIGHTBOX
==================================================*/

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:99999;

}

.lightbox.active{

    opacity:1;

    visibility:visible;

}

.lightbox-image{

    max-width:90%;

    max-height:85vh;

    border-radius:15px;

    box-shadow:0 25px 60px rgba(0,0,0,.5);

}

.close-lightbox{

    position:absolute;

    top:30px;

    right:40px;

    font-size:55px;

    color:#FFF;

    cursor:pointer;

}

.prev-image,

.next-image{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:#FFD100;

    cursor:pointer;

    font-size:22px;

}

.prev-image{

    left:40px;

}

.next-image{

    right:40px;

}



/*==================================================
    PROYECTOS PREMIUM
==================================================*/

.project-card{

    position:relative;

    overflow:hidden;

}

.project-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.92),
        rgba(0,0,0,.15)
    );

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:35px;

    opacity:0;

    transition:.4s;

}

.project-card:hover .project-overlay{

    opacity:1;

}

.project-category{

    color:#FFD100;

    font-size:.8rem;

    letter-spacing:2px;

    margin-bottom:10px;

    font-weight:700;

}

.project-overlay h3{

    color:#FFF;

    margin-bottom:20px;

}

.project-button{

    width:max-content;

    background:#FFD100;

    color:#111;

    border:none;

    padding:12px 22px;

    border-radius:30px;

    cursor:pointer;

    font-weight:700;

    transition:.3s;

}

.project-button:hover{

    transform:translateY(-3px);

}

.project-card:hover img{

    transform:scale(1.08);

}


/*==================================================
    BARRA DE PROGRESO
==================================================*/

#progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:#FFD100;

    z-index:99999;

    transition:width .15s linear;

}


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

#backTop{

    position:fixed;

    right:30px;

    bottom:-80px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#FFD100;

    color:#111;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    transition:.35s;

    z-index:9999;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}

#backTop.show{

    bottom:30px;

}

#backTop:hover{

    transform:translateY(-5px);

}


/*==================================================
    REVEAL
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:
        opacity .8s ease,
        transform .8s ease;

    will-change:opacity,transform;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*==================================================
    REVEAL DELAY
==================================================*/

.reveal.delay-1{

    transition-delay:.15s;

}

.reveal.delay-2{

    transition-delay:.30s;

}

.reveal.delay-3{

    transition-delay:.45s;

}

.reveal.delay-4{

    transition-delay:.60s;

}


/*==================================================
    HERO PROYECTOS
==================================================*/

.page-hero{

    padding:180px 0 120px;

    background:linear-gradient(rgba(0,0,0,.70),rgba(0,0,0,.70)),
               url("../img/proyectos/hero-proyectos.jpg") center/cover no-repeat;

    text-align:center;

}

.page-hero span{

    color:#FFD100;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.page-hero h1{

    font-size:3rem;

    color:#fff;

    margin:20px 0;

}

.page-hero p{

    max-width:750px;

    margin:auto;

    color:#d8d8d8;

    line-height:1.8;

}


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

.project-filter{

    padding:60px 0;

    background:#111;

}

.project-filter .container{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

}

.project-filter button{

    border:none;

    padding:14px 28px;

    border-radius:40px;

    background:#1d1d1d;

    color:#fff;

    cursor:pointer;

    transition:.35s;

    font-weight:600;

}

.project-filter button:hover,

.project-filter button.active{

    background:#FFD100;

    color:#111;

}


/*==================================================
    GALERÍA
==================================================*/

.projects-gallery{

    background:#111;

    padding:40px 0 120px;

}

.gallery-grid{

    display:grid;

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

    gap:30px;

}

.gallery-card{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    min-height:340px;

    cursor:pointer;

    box-shadow:0 20px 45px rgba(0,0,0,.25);

}

.gallery-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.gallery-card:hover img{

    transform:scale(1.10);

}


/*==================================================
    OVERLAY
==================================================*/

.gallery-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.95),
        rgba(0,0,0,.20)
    );

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:30px;

    transition:.4s;

}

.gallery-overlay span{

    color:#FFD100;

    font-size:.85rem;

    font-weight:700;

    text-transform:uppercase;

    margin-bottom:10px;

}

.gallery-overlay h3{

    color:#fff;

    margin-bottom:10px;

    font-size:1.5rem;

}

.gallery-overlay p{

    color:#d6d6d6;

    margin-bottom:25px;

}

.gallery-overlay .btn{

    width:max-content;

}

.gallery-card:hover .gallery-overlay{

    background:linear-gradient(
        to top,
        rgba(0,0,0,.95),
        rgba(0,0,0,.05)
    );

}


/*==================================================
    EFECTO BORDE
==================================================*/

.gallery-card::after{

    content:"";

    position:absolute;

    inset:0;

    border:2px solid transparent;

    transition:.35s;

    border-radius:18px;

}

.gallery-card:hover::after{

    border-color:#FFD100;

}

/*==================================================
    PROJECT VIEWER
==================================================*/

.project-viewer{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:.35s;

    z-index:9999;

}

.project-viewer.show{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

}

.viewer-window{

    width:min(96vw,1500px);

    height:min(90vh,900px);

    display:grid;

    grid-template-columns:140px 1fr 340px;

    background:#181818;

    border-radius:24px;

    overflow:hidden;

}

.viewer-close{

    position:absolute;

    top:18px;

    right:18px;

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:#FFD100;

    color:#111;

    cursor:pointer;

    font-size:18px;

    z-index:5;

}

.viewer-sidebar{

    background:#1a1a1a;

    padding:20px;

    overflow-y:auto;

}

.viewer-content{

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    overflow:hidden;

    padding:40px;

}

.viewer-content img{

    width:100%;

    height:100%;

    object-fit:contain;

}

.viewer-info{

    padding:40px;

    overflow-y:auto;

}

.viewer-info h2{

    margin:15px 0;

}

.viewer-info ul{

    margin:25px 0;

    padding-left:20px;

}

.viewer-info li{

    margin-bottom:10px;

}


/*==================================================
    HERO PROYECTOS
==================================================*/

.projects-hero{

    min-height:420px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    background:
        linear-gradient(rgba(0,0,0,.65),
                        rgba(0,0,0,.65)),
        url("../img/hero/hero-principal.jpg")
        center center/cover no-repeat;

}

.projects-hero h1{

    font-size:64px;

    color:#fff;

    margin:20px 0;

}

.projects-hero p{

    max-width:700px;

    margin:auto;

    color:#ddd;

    font-size:20px;

    line-height:1.8;

}

.viewer-navigation{

    display:none;

}


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

.header{

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background: rgba(10,10,10,.96);

    backdrop-filter: blur(10px);

    z-index: 9999;

    border-bottom: 1px solid rgba(255,255,255,.08);

}

.header .container{

    max-width: 1400px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 30px;

}

.logo img{

    height: 52px;

}

.navbar ul{

    display: flex;

    align-items: center;

    gap: 42px;

    list-style: none;

    margin: 0;

    padding: 0;

}

.navbar ul li{

    list-style: none;

}

.navbar ul li a{

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}

.navbar ul li a:hover{

    color: #FFD100;

}

.navbar ul li a.active{

    color: #FFD100;

}

.header-actions{

    display:flex;

    align-items:center;

    gap:20px;

}

.menu-toggle{

    display:none;

}


/*==================================================
    GALERÍA DE PROYECTOS
==================================================*/

.projects-gallery{

    padding:100px 0;

    background:#0f0f0f;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:35px;

}

/*==================================================
    TARJETA
==================================================*/

.project-card{

    background:#1b1b1b;

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:#FFD100;

    box-shadow:0 25px 60px rgba(0,0,0,.45);

}

/*==================================================
    IMAGEN
==================================================*/

.project-image{

    height:260px;

    overflow:hidden;

    position:relative;

}

.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.project-card:hover img{

    transform:scale(1.08);

}

/*==================================================
    CONTENIDO
==================================================*/

.project-content{

    padding:30px;

}

.project-content span{

    display:inline-block;

    color:#FFD100;

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:15px;

}

.project-content h3{

    color:#fff;

    font-size:28px;

    margin-bottom:18px;

    line-height:1.3;

}

.project-content p{

    color:#bbb;

    margin-bottom:28px;

    display:flex;

    align-items:center;

    gap:10px;

}

.project-content i{

    color:#FFD100;

}

.project-content .btn{

    width:100%;

}


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

.project-filter{

    background:#111;

    padding:50px 0;

}

.filter-container{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.filter-btn{

    padding:14px 26px;

    border:none;

    background:#202020;

    color:#fff;

    border-radius:50px;

    cursor:pointer;

    transition:.3s;

    font-weight:600;

}

.filter-btn:hover{

    background:#FFD100;

    color:#111;

}

.filter-btn.active{

    background:#FFD100;

    color:#111;

}


.project-category{

    position:absolute;

    top:20px;

    left:20px;

    background:#FFD100;

    color:#111;

    padding:8px 18px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

}



/*==================================================
    VISOR PREMIUM
==================================================*/

.viewer-content{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#111;

    overflow:hidden;

    padding:30px;

}

#viewerImage{

    max-width:100%;

    max-height:100%;

    width:auto;

    height:auto;

    object-fit:contain;

    border-radius:14px;

    transition:

        transform .35s ease,

        opacity .25s ease;

}

/*==============================*/

.viewer-counter{

    position:absolute;

    top:25px;

    right:25px;

    padding:10px 20px;

    background:rgba(0,0,0,.65);

    color:#fff;

    border-radius:40px;

    font-weight:700;

    z-index:50;

    backdrop-filter:blur(10px);

}

/*==============================*/

.viewer-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.55);

    color:#fff;

    cursor:pointer;

    transition:.3s;

    z-index:100;

}

.viewer-arrow:hover{

    background:#FFD100;

    color:#111;

}

.viewer-arrow.left{

    left:20px;

}

.viewer-arrow.right{

    right:20px;

}

/*==============================*/

.viewer-thumb{

    width:96px;

    height:96px;

    border-radius:12px;

    overflow:hidden;

    cursor:pointer;

    position:relative;

    border:3px solid transparent;

    transition:.25s;

}

.viewer-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.viewer-thumb:hover{

    opacity:1;

}

.viewer-thumb.active{

    opacity:1;

    border-color:#FFD100;

    box-shadow:0 0 20px rgba(255,209,0,.35);

    transform:scale(1.05);

}


/*==================================================
    VISOR MULTIMEDIA
==================================================*/

#viewerMedia{

    width:100%;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

}


#viewerVideo{

    max-width:100%;

    max-height:100%;

    width:auto;

    height:auto;

    object-fit:contain;

    border-radius:14px;

    background:#000;

    display:none;

}


/*==================================================
    MULTIMEDIA
==================================================*/

#viewerImage,
#viewerVideo{

    transition:

        opacity .25s ease,

        transform .35s ease;

}


.thumb-play{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    color:white;

    font-size:26px;

    background:rgba(0,0,0,.35);

    pointer-events:none;

}


.projects-more{

    margin-top:60px;

    text-align:center;

}


.breadcrumb{

    width:min(1800px,90%);

    margin:0 auto;

    padding:30px 0;

    display:flex;

    align-items:center;

    gap:12px;

    font-size:15px;

}

.breadcrumb a{

    color:#f4b400;

    text-decoration:none;

}

.breadcrumb span{

    margin:0 8px;

}


.viewer-thumb.active{

    border:3px solid #f4b400;

    transform:scale(1.05);

}