﻿body{
    background: url(../images/fondo.webp) no-repeat center center fixed;
    background-size: cover;
    font-family: 'Google Sans';
}

.cabecera-ayuda{
    height: 130px;
}

header{
    position: fixed;
    top:0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 20%,
        rgba(255, 255, 255, 0.85) 40%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.65) 60%,
        rgba(255, 255, 255, 0.35) 80%,
        rgba(255, 255, 255, 0.25) 90%,
        rgba(255, 255, 255, 0) 100%
    );

    transition: all .9s ease;

    padding-top: 10px;
    padding-bottom: 120px;
}
.scrolled{
    background: rgba(255, 255, 255, 0.95);
    padding-bottom: 10px;
}

.logotipo img{
    width: 100%;
}

nav a{
    text-decoration: none;
}

nav ul{
    list-style: none;
    padding: 0;
}

nav ul li{
    width: 25%;
    float: left;
}

.menu{
    text-align: center;
    font-family: "Anton", sans-serif;
    font-size: 22px;
    padding: 0 10px;
}
.masPadding{
    padding: 0 30px !important;
}

.menu2{
    font-family: "Anton", sans-serif;

    color: black;
    text-align: center;
    font-size: 20px;
}


.btn-whatsapp {
    background: #25D366;
    width: 100%;
    color: #ffffff;
    border: none;
    text-align: center;
    padding: 0px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.btn-whatsapp:active {
    transform: translateY(0);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}




.banner-before-after {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

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

/* === ICONOS CENTRADOS === */
.estado-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px; /* ajusta el tamaño del icono */
    transform: translate(-50%, -50%);
    opacity: 1;
}

.estado-icon1{
    width: 90px !important;
}
.estado-icon2{
    width: 60px !important;
    height: auto !important;
}

/* === Animación === */
.antes {
    animation: bannerAntes 8s infinite ease-in-out;
}

.despues {
    animation: bannerDespues 8s infinite ease-in-out;
    opacity: 0;
}

@keyframes bannerAntes {
    0%, 35%   { opacity: 1; }
    45%, 85%  { opacity: 0; }
    100%      { opacity: 1; }
}

@keyframes bannerDespues {
    0%, 35%   { opacity: 0; }
    45%, 80%  { opacity: 1; }
    100%      { opacity: 0; }
}



.nosotros{
    padding-top: 40px;
    padding-bottom: 40px;

    scroll-margin-top: 150px;

}

.seccion{
    color: white;
    font-size: 20px;
}
.seccion strong, .seccion2 strong{
    font-size: 43px;
    line-height: 48px;
    font-family: 'Google Sans';
}

.otroAntes .banner-before-after{
    width: 100% !important;
    height: 400px;
}
.imagen1 img{
    border-radius: 120px 120px 30px 120px !important;
}


.seccion2{
    color: white;
    text-align: center;
    font-size: 24px;
    margin: 60px 0;
}


.imagen2 img{
    width: 100%;
    height: 200px;

    border-radius: 20px;
}
.imagen2 .banner-before-after{
    width: 100%;
    height: 220px;
}


.productos{
    background: black;
    padding-top: 40px;
    padding-bottom: 40px;
}

.titulo{
    text-align: center;
    font-family: "Anton", sans-serif;
    font-weight: bold;
    font-size: 33px;
    margin-bottom: 30px;
}
.blanco{
    color: white;
}


.pro{
    position: relative;
    bottom: 0;
    text-align: center;
    height: 300px;
}
.textoPro{
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    text-align: center;
}
.pro strong{
    background: black;
    color: white;
    font-size: 23px;
}
.pro span{
    background: black;
    font-size: 19px;
    color: white;
    display: inline-block;
}

.pro1{
    background: url(../images/smart-film-tecnologia-pdlc.webp) no-repeat center center;
    background-size: cover;
}
.pro2{
    background: url(../images/smart-film-mica-inteligente.webp) no-repeat center center;
    background-size: cover;
}
.pro3{
    background: url(../images/proyectos-realizados-con-smart-film.webp) no-repeat center center;
    background-size: cover;
}


.galeria{
    background-color: #f7f7f7;
    padding-top: 40px;
    padding-bottom: 40px;

    scroll-margin-top: 150px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center; /* Centrado horizontal */
}

.thumb-box {
    width: 200px;   /* puedes ajustar */
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

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

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close-btn,
.prev-btn,
.next-btn {
    position: absolute;
    background: rgba(0,0,0,.6);
    border: none;
    padding: 10px 15px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    border-radius: 8px;
}

.close-btn {
    top: 20px;
    right: 20px;
    font-size: 40px;
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}


.contratarnos{
    background-color: #ddd;
    padding-top: 40px;
    padding-bottom: 40px;
}

.por{
    text-align: center;
    font-size: 27px;
}
.por p{
    text-align: ;
    font-size: 17px;
}
.feature-icon i{
    font-size: 50px;
}




.que{
    background: url(../images/smart-film-tecnologia-pdlc.webp) no-repeat center center;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;

    scroll-margin-top: 150px;
}


.que1 strong{
    background: white;
    font-size: 33px;
    padding: 12px;
}

.que2{
    background: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 20px;
    margin-bottom: 12px;

    border-radius: 12px;
}


.como{
    background: white;
    padding-top: 40px;
    padding-bottom: 40px;

    scroll-margin-top: 150px;
}

.como .titulo strong{
    color: red;
}
.como .titulo b{
    color: #3a8fce;
}

.como .seccion{
    background: black;
    color: white;
    padding: 20px;

    border-radius: 12px;
}


.faqs{
    scroll-margin-top: 150px;
}





.proyecto-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proyecto-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.proyecto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Título sobre la imagen */
.proyecto-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 10px;
}

/* Hover: zoom suave + elevación */
.proyecto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.proyecto-card:hover img {
    transform: scale(1.06);
}


.imagen img{
    width: 100%;
}




.faq-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 2rem;
}

.accordion-button{
    font-weight: bold;
    line-height: 30px !important;
}
.accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: #ffffff;
}


.textoCentral{
    text-align: center;
    font-size: 22px;
}


@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){
    .cabecera-ayuda{
        display: none;
    }
    header{
        background: white;
        position: relative;
        padding-bottom: 10px;
    }
    .banner-before-after{
        height: 70vh;
    }
}

@media screen and (max-width:992px){

}

@media screen and (max-width:768px){
    nav ul li{
        width: 100%;
    }
    .menu{
        padding: 12px 0;
    }
}

@media screen and (max-width:576px){
    .que, .comom .galeria, .faqs{
        scroll-margin-top: 0px;
    }
}



.faqsi{
    position: fixed;
    bottom: 70px;
    right: 70px;
    z-index: 1000;
    width: 75px;
}
.faqsi img{
    width: 100%;
}


.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: normal;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}




.footer-smartfilm {
    background: rgba(0, 0, 0, 0.92);
    color: #ffffff;
    padding-top: 40px;
    padding-bottom: 25px;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-smartfilm .footer-logo img {
    max-width: 220px;
    height: auto;
}

.footer-smartfilm .footer-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-smartfilm .footer-title {
    font-family: "Anton", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-smartfilm .footer-links,
.footer-smartfilm .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-smartfilm .footer-links li,
.footer-smartfilm .footer-contact li {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-smartfilm a{
    color: white;
}

.footer-smartfilm .footer-links li a {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-smartfilm .footer-links li a:hover {
    color: #24d366;
}

.footer-smartfilm .footer-contact li i {
    margin-right: 6px;
}

.footer-smartfilm .footer-whatsapp-btn {
    display: inline-block;
    margin-top: 10px;
    background: #25D366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.footer-smartfilm .footer-whatsapp-btn b {
    margin-right: 6px;
}

.footer-smartfilm .footer-whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
}

.footer-smartfilm .footer-social a {
    display: inline-block;
    font-size: 22px;
    margin-right: 10px;
    color: #f1f1f1;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.3s ease;
}

.footer-smartfilm .footer-social a:hover {
    color: #24d366;
    transform: translateY(-2px);
}

.footer-smartfilm .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: #bbbbbb;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer-smartfilm {
        text-align: center;
    }

    .footer-smartfilm .footer-logo img {
        margin-bottom: 10px;
    }

    .footer-smartfilm .footer-social a {
        margin-right: 14px;
    }
}






/* ===== LISTADO ===== */
.proyectos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.proyecto-card {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #000;
}

.proyecto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.proyecto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.proyecto-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.92);
}

.proyecto-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 10px;
}

.proyecto-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* ===== DETALLE ===== */
.detalle-wrap {
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    padding: 22px;
    margin-top: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.detalle-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.detalle-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.detalle-back a {
    text-decoration: none;
    font-weight: 700;
}

.detalle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.detalle-item {
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: zoom-in;
}

.detalle-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.detalle-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.detalle-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .detalle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .detalle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detalle-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .detalle-grid {
        grid-template-columns: 1fr;
    }
    .detalle-item img {
        height: 260px;
    }
}

/* ===== LIGHTBOX ===== */
.sf-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    padding: 20px;
}

.sf-lightbox img {
    max-width: 92%;
    max-height: 86%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.sf-close,
.sf-prev,
.sf-next {
    position: absolute;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 32px;
    padding: 10px 16px;
    border-radius: 50%;
    transition: all 0.25s ease;
    user-select: none;
}

.sf-close:hover,
.sf-prev:hover,
.sf-next:hover {
    background: rgba(0,0,0,0.85);
}

.sf-close {
    top: 20px;
    right: 20px;
    font-size: 42px;
    line-height: 1;
}

.sf-prev {
    left: 30px;
}

.sf-next {
    right: 30px;
}

@media (max-width: 768px) {
    .sf-prev {
        left: 10px;
    }
    .sf-next {
        right: 10px;
    }
}