*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#0f0f0f;
    height:100vh;
}

html{
    scroll-behavior:smooth;
}

/* ========================= */
/* ANIMACIONES SCROLL */
/* ========================= */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all 0.8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* ========================= */
/* LIGHTBOX */
/* ========================= */

#lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    pointer-events:none;

    transition:0.3s;
    z-index:2000;
}

#lightbox.active{
    opacity:1;
    pointer-events:auto;
}

#lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:20px;
}

/* ========================= */
/* HEADER */
/* ========================= */

header{
    width:100%;
    padding:20px 40px;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:linear-gradient(
        to bottom,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.75),
        rgba(0,0,0,0)
    );

    backdrop-filter: blur(4px);
}

/* LOGO */
.logo img{
    width:100px;
    object-fit:contain;
    transition:0.4s ease;
}

.logo:hover img{
    transform:scale(1.08);
}

/* NAV */
nav{
    display:flex;
    gap:40px;
}

nav a{
    position:relative;
    text-decoration:none;
    color:#f5e6b3;
    font-size:17px;
    font-weight:500;
    transition:0.3s ease;
    letter-spacing:0.5px;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0%;
    height:2px;
    background:#d4af37;
    transition:0.3s ease;
}

nav a:hover{
    color:#d4af37;
    text-shadow:0 0 10px rgba(212,175,55,0.7);
}

nav a:hover::after{
    width:100%;
}

/* ========================= */
/* HAMBURGUESA */
/* ========================= */

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    padding:8px;
    border:none;
    background:transparent;
    z-index:1100;
}

.hamburger span{
    display:block;
    width:26px;
    height:2px;
    background:#f5e6b3;
    border-radius:2px;
    transition:0.4s ease;
}

/* ANIMACIÓN HAMBURGUESA → X */
.hamburger.open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2){
    opacity:0;
    transform:scaleX(0);
}

.hamburger.open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/* MENÚ MÓVIL */
.mobile-nav{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:0;

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;

    background:rgba(10,10,10,0.97);
    backdrop-filter:blur(10px);

    z-index:1050;

    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.mobile-nav a{
    text-decoration:none;
    color:#f5e6b3;
    font-size:26px;
    font-weight:500;
    letter-spacing:1px;
    padding:18px 0;

    border-bottom:1px solid rgba(212,175,55,0.15);
    width:70%;
    text-align:center;

    transition:color 0.3s ease, letter-spacing 0.3s ease;
}

.mobile-nav a:last-child{
    border-bottom:none;
}

.mobile-nav a:hover{
    color:#d4af37;
    letter-spacing:2px;
}

/* ========================= */
/* HERO SOLO VISUAL */
/* ========================= */

.hero{
    height:8vh;
    background:linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75));
}

/* ========================= */
/* HERO VIDEO */
/* ========================= */

.hero-video{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;
}

.background-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to right,
        rgba(0,0,0,0.88),
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.45)
    );

    z-index:2;
}

.hero-content{
    position:relative;
    z-index:3;
    width:85%;
    max-width:1200px;
}

.hero-content h1{
    color:white;
    font-size:75px;
    line-height:1.1;
    max-width:700px;
    margin-bottom:25px;
}

.hero-content h1 span{
    color:#d4af37;
}

.hero-content p{
    color:#dddddd;
    font-size:19px;
    line-height:1.8;
    max-width:650px;
    margin-bottom:35px;
}

.hero-btn{
    display:inline-block;
    padding:16px 38px;
    background:#d4af37;
    color:#111;
    text-decoration:none;
    border-radius:50px;
    font-weight:bold;
    transition:0.4s ease;
}

.hero-btn:hover{
    transform:translateY(-5px);
    background:#f0c550;
    box-shadow:0 10px 30px rgba(212,175,55,0.35);
}

/* ========================= */
/* SOBRE NOSOTROS */
/* ========================= */

.about-section{
    width:100%;
    padding:120px 8%;
    background:#0f0f0f;
}

.about-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-subtitle{
    color:#d4af37;
    font-size:2em;
    letter-spacing:4px;
    font-weight:bold;
}

.about-text h2{
    color:white;
    font-size:52px;
    line-height:1.2;
    margin:20px 0 25px;
}

.about-text p{
    color:#cfcfcf;
    line-height:1.9;
    margin-bottom:20px;
    font-size:16px;
}

.about-stats{
    display:flex;
    gap:25px;
    margin-top:40px;
}

.stat-box{
    background:#1b1b1b;
    padding:25px 35px;
    border-radius:18px;
    border:1px solid rgba(212,175,55,0.15);
    transition:0.4s ease;
}

.stat-box:hover{
    transform:translateY(-8px);
    border-color:#d4af37;
}

.stat-box h3{
    color:#d4af37;
    font-size:35px;
    margin-bottom:8px;
}

.stat-box span{
    color:#d0d0d0;
}

.about-video{
    position:relative;
    width:100%;
    height:650px;
    overflow:hidden;
    border-radius:30px;
    box-shadow:0 20px 50px rgba(0,0,0,0.45);
}

.about-video video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ========================= */
/* SERVICIOS */
/* ========================= */

.services-section{
    width:100%;
    padding:120px 8%;
    background:#111111;
}

.services-title{
    text-align:center;
    margin-bottom:70px;
}

.services-title h2{
    color:#d4af37;
    font-size:45px;
    margin-bottom:15px;
    letter-spacing:1px;
}

.services-title p{
    color:#d0d0d0;
    font-size:17px;
    max-width:700px;
    margin:auto;
    line-height:1.7;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    position:relative;
    overflow:hidden;
    min-height:350px;
    border-radius:22px;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:30px;
    cursor:pointer;
    transition:0.5s ease;
    box-shadow:0 15px 35px rgba(0,0,0,0.45);
}

.service-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
    transition:0.7s ease;
}

.service-card::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.15)
    );

    z-index:2;
}

.service-icon,
.service-card h3,
.service-card p{
    position:relative;
    z-index:3;
}

.service-icon{
    font-size:42px;
    margin-bottom:15px;
}

.service-card h3{
    color:#f5e6b3;
    font-size:27px;
    margin-bottom:12px;
}

.service-card p{
    color:#f1f1f1;
    line-height:1.7;
    font-size:15px;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(212,175,55,0.2);
}

.service-card:hover img{
    transform:scale(1.08);
}

/* ========================= */
/* PROYECTOS */
/* ========================= */

.projects-section{
    width:100%;
    padding:120px 8%;
    background:#0f0f0f;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:45px;
    color:#d4af37;
    margin-bottom:15px;
    letter-spacing:1px;
}

.section-title p{
    color:#cfcfcf;
    font-size:17px;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-bottom:40px;
}

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    cursor:pointer;
    height:320px;
    box-shadow:0 10px 30px rgba(0,0,0,0.5);
    transition:0.4s ease;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.6s ease;
}

.project-card:hover img{
    transform:scale(1.1);
}

.overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.92),
        rgba(0,0,0,0.2)
    );

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:25px;

    opacity:0;
    transition:0.5s ease;
}

.project-card:hover .overlay{
    opacity:1;
}

.overlay h3{
    color:#d4af37;
    font-size:24px;
    margin-bottom:10px;

    transform:translateY(20px);
    transition:0.4s ease;
}

.overlay p{
    color:#f1f1f1;
    font-size:15px;
    line-height:1.5;

    transform:translateY(20px);
    transition:0.5s ease;
}

.project-card:hover .overlay h3,
.project-card:hover .overlay p{
    transform:translateY(0);
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.gallery-grid img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
    transition:0.5s ease;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.gallery-grid img:hover{
    transform:scale(1.03);
    filter:brightness(1.1);
}

/* ========================= */
/* CONTACTO */
/* ========================= */

.contact-section{
    width:100%;
    padding:120px 8%;
    background:#111111;
}

.contact-title{
    text-align:center;
    margin-bottom:70px;
}

.contact-title h2{
    color:#d4af37;
    font-size:45px;
    margin-bottom:15px;
}

.contact-title p{
    color:#cfcfcf;
    font-size:17px;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.contact-card{
    background:#1a1a1a;
    padding:40px;
    border-radius:25px;
    border:1px solid rgba(212,175,55,0.15);
    transition:0.4s ease;
    box-shadow:0 15px 35px rgba(0,0,0,0.35);
}

.contact-card:hover{
    transform:translateY(-10px);
    border-color:#d4af37;
    box-shadow:0 20px 40px rgba(212,175,55,0.15);
}

.contact-header{
    margin-bottom:35px;
}

.contact-header h3{
    color:white;
    font-size:32px;
    margin-bottom:10px;
}

.contact-header span{
    color:#d4af37;
    font-size:15px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:25px;
    background:#222222;
    padding:18px;
    border-radius:16px;
    transition:0.3s ease;
}

.contact-item:hover{
    background:#2a2a2a;
}

.contact-item img{
    width:55px;
    height:55px;
    object-fit:contain;
    background:#111;
    padding:12px;
    border-radius:14px;
}

.contact-item h4{
    color:#f5e6b3;
    margin-bottom:5px;
    font-size:18px;
}

.contact-item p{
    color:#d0d0d0;
    font-size:15px;
}

.ig-btn{
    display:inline-block;
    color:#9c9c9c;
    text-decoration:none;
    border:none;
    padding:6px 12px;
    border-radius:8px;
    background:transparent;
    font-size:14px;
    transition:0.3s ease;
}

.ig-btn:hover{
    color:#d4af37;
    border-color:#d4af37;
    background:rgba(212,175,55,0.08);
    transform:translateY(-2px);
}

/* ========================= */
/* FOOTER */
/* ========================= */

.simple-footer{
    width:100%;
    padding:30px 8%;
    background:#0b0b0b;
    border-top:1px solid rgba(212,175,55,0.12);
    text-align:center;
}

.simple-footer p{
    color:#9e9e9e;
    font-size:14px;
    letter-spacing:1px;
}

.simple-footer span{
    display:block;
    margin-top:10px;
    color:#fffcf3;
    font-size:10px;
    letter-spacing:1px;
}

/* ========================= */
/* WHATSAPP FLOTANTE */
/* ========================= */

.whatsapp-float{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 10px 25px rgba(0,0,0,0.4);
    z-index:999;
    transition:0.3s ease;
}

.whatsapp-float img{
    width:35px;
    height:35px;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    box-shadow:0 15px 35px rgba(37,211,102,0.5);
}

/* ========================= */
/* RESPONSIVE — TABLET (≤1100px) */
/* ========================= */

@media(max-width:1100px){

    /* Hero */
    .hero-content h1{
        font-size:55px;
    }

    /* About */
    .about-container{
        grid-template-columns:1fr;
    }

    .about-video{
        height:500px;
    }

    /* Servicios */
    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* Proyectos */
    .projects-grid,
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* ========================= */
/* RESPONSIVE — MÓVIL (≤700px) */
/* ========================= */

@media(max-width:700px){

    /* Header — ocultar nav desktop, mostrar hamburguesa */
    header{
        padding:18px 22px;
    }

    nav{
        display:none;
    }

    .hamburger{
        display:flex;
    }

    /* Hero */
    .hero-content h1{
        font-size:36px;
    }

    .hero-content p{
        font-size:15px;
    }

    .hero-btn{
        padding:13px 28px;
        font-size:15px;
    }

    /* About */
    .about-text h2{
        font-size:34px;
    }

    .about-stats{
        flex-direction:column;
    }

    .about-video{
        height:360px;
    }

    /* Servicios */
    .services-grid{
        grid-template-columns:1fr;
    }

    .services-title h2{
        font-size:33px;
    }

    .service-card{
        min-height:300px;
    }

    /* Proyectos */
    .section-title h2{
        font-size:33px;
    }

    .projects-grid,
    .gallery-grid{
        grid-template-columns:1fr;
    }

    .project-card{
        height:260px;
    }

    .gallery-grid img{
        height:220px;
    }

    /* Contacto */
    .contact-grid{
        grid-template-columns:1fr;
    }

    .contact-title h2{
        font-size:33px;
    }

    .contact-header h3{
        font-size:25px;
    }

    .contact-card{
        padding:28px 20px;
    }

    .contact-item{
        flex-direction:column;
        text-align:center;
    }
}

/* ========================= */
/* TICKER */
/* ========================= */

.ticker-wrap{
    width:100%;
    overflow:hidden;
    background:#111111;
    padding:22px 0;
    border-top:1px solid rgba(212,175,55,0.15);
    border-bottom:1px solid rgba(212,175,55,0.15);
}

.ticker-track{
    display:flex;
    width:max-content;
    animation: ticker 18s linear infinite;
}

.ticker-track span{
    white-space:nowrap;
    padding:0 80px;
    color:#d4af37;
    font-size:20px;
    font-weight:500;
    letter-spacing:1px;
}

/* separador dorado entre repeticiones */
.ticker-track span::after{
    content:" ✦ ";
    color:rgba(212,175,55,0.45);
    margin-left:80px;
}

@keyframes ticker{
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* Pausa al hacer hover */
.ticker-wrap:hover .ticker-track{
    animation-play-state: paused;
}

/* ========================= */
/* CTA WHATSAPP */
/* ========================= */

.cta-whatsapp{
    text-align:center;
    margin-top:70px;
    padding:50px 20px;

    border:1px solid rgba(212,175,55,0.15);
    border-radius:28px;

    background:linear-gradient(
        135deg,
        rgba(212,175,55,0.06),
        rgba(0,0,0,0)
    );
}

.cta-whatsapp p{
    color:#cfcfcf;
    font-size:20px;
    margin-bottom:25px;
    letter-spacing:0.5px;
}

.cta-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:16px 40px;

    background:#25D366;
    color:#fff;
    font-size:18px;
    font-weight:bold;

    text-decoration:none;
    border-radius:50px;

    box-shadow:0 10px 30px rgba(37,211,102,0.3);

    transition:0.35s ease;
}

.cta-btn img{
    width:26px;
    height:26px;
}

.cta-btn:hover{
    transform:translateY(-5px) scale(1.03);
    background:#1ebe5d;
    box-shadow:0 18px 40px rgba(37,211,102,0.45);
}

/* ========================= */
/* WHATSAPP BURBUJA */
/* ========================= */

.whatsapp-bubble-wrap{
    position:fixed;
    bottom:25px;
    right:25px;
    z-index:999;

    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:12px;
}

/* BURBUJA */
.whatsapp-bubble{
    background:#1e1e1e;
    border:1px solid rgba(37,211,102,0.25);
    border-radius:20px 20px 4px 20px;

    padding:20px 22px;
    width:260px;

    box-shadow:0 12px 35px rgba(0,0,0,0.5);

    /* oculta por defecto */
    opacity:0;
    visibility:hidden;
    transform:translateY(10px) scale(0.95);
    transform-origin:bottom right;
    transition:opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.whatsapp-bubble.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0) scale(1);
}

/* CERRAR */
.bubble-close{
    position:absolute;
    top:10px;
    right:14px;

    background:transparent;
    border:none;
    color:#888;
    font-size:13px;
    cursor:pointer;
    transition:color 0.2s;
}

.bubble-close:hover{
    color:#fff;
}

/* TEXTOS */
.bubble-greeting{
    color:#25D366;
    font-size:15px;
    font-weight:bold;
    margin-bottom:6px;
}

.bubble-text{
    color:#d0d0d0;
    font-size:14px;
    line-height:1.6;
    margin-bottom:16px;
}

.bubble-text strong{
    color:#fff;
}

/* BOTÓN DENTRO DE LA BURBUJA */
.bubble-btn{
    display:block;
    text-align:center;

    background:#25D366;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    text-decoration:none;

    padding:10px 0;
    border-radius:50px;

    transition:0.3s ease;
}

.bubble-btn:hover{
    background:#1ebe5d;
    transform:translateY(-2px);
}

/* PUNTO VERDE PULSANTE EN EL BOTÓN */
.whatsapp-float{
    position:relative;
}

.whatsapp-float::after{
    content:"";
    position:absolute;
    top:4px;
    right:4px;

    width:12px;
    height:12px;

    background:#25D366;
    border:2px solid #0f0f0f;
    border-radius:50%;

    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot{
    0%, 100% { transform: scale(1); opacity:1; }
    50%       { transform: scale(1.4); opacity:0.7; }
}