/* ===== RESET ===== */
*,
*::before,
*::after{
 margin:0;
 padding:0;
 box-sizing:border-box;
}

html{
 scroll-behavior:smooth;
}

body{
 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
 background:#f8fafc;
 color:#0f172a;
 line-height:1.6;
}

/* ===== VARIABLES ===== */
:root{
 --primary:#2563eb;
 --primary-gradient:linear-gradient(135deg,#2563eb,#06b6d4);
 --dark:#020617;
 --gray:#64748b;
 --radius:14px;
}

/* ===== CONTAINER ===== */
.container{
 width:min(1200px,92%);
 margin:auto;
}

/* ===== HEADER ===== */


.logo{
 font-weight:700;
 font-size:1.3rem;
}

nav a{
 text-decoration:none;
 color:#0f172a;
 margin-left:1.5rem;
 font-weight:500;
 transition:.3s;
}

nav a:hover{
 color:var(--primary);
}

.cta{
 background:var(--primary-gradient);
 color:white;
 padding:.6rem 1.2rem;
 border-radius:999px;
}

/* ===== HERO ===== */
.hero{
 padding:6rem 0 4rem;
}

.hero-grid{
 display:grid;
 gap:3rem;
 align-items:center;
}

.hero h1{
 font-size:clamp(2rem,4vw,3rem);
 line-height:1.2;
 margin-bottom:1rem;
}

.hero p{
 color:var(--gray);
 margin-bottom:2rem;
}

.hero img{
 width:100%;
 border-radius:var(--radius);
 box-shadow:0 20px 60px rgba(0,0,0,.1);
}

/* BUTTON */
.btn-primary{
 background:var(--primary-gradient);
 color:white;
 padding:1rem 1.6rem;
 border-radius:999px;
 text-decoration:none;
 font-weight:600;
 display:inline-block;
 transition:.3s;
 font-size:1.2rem;
}

.btn-primary2{
 background:var(--primary-gradient);
 color:white;
 padding:1rem 1.6rem;
 border-radius:999px;
 text-decoration:none;
 font-weight:600;
 display:inline-block;
 transition:.3s;
 font-size:2rem;
}

.btn-budget{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:14px 26px;
    border-radius:14px;

    font-size:1.1rem;
    font-weight:600;
    text-decoration:none;

    color:#0b1220;
    background: white;

    cursor:pointer;
    transition: all .35s ease;

    /* efecto moderno */
    box-shadow:
        0 10px 25px rgba(0,0,0,0.15),
        inset 0 0 0 1px rgba(255,255,255,0.3);

    max-width:100%;
    text-align:center;
}

.btn-budget:hover{
    transform: translateY(-3px);
    box-shadow:
        0 18px 35px rgba(0,0,0,0.25);
}

.btn-budget:active{
    transform: translateY(0);
    box-shadow:
        0 6px 15px rgba(0,0,0,0.2);
}

@media (max-width:768px){

    .btn-budget{
        width:100%;        /* ocupa todo el card */
        font-size:1rem;
        padding:14px;
    }

}

.arrow{
    transition:.3s;
}

.btn-budget:hover .arrow{
    transform: translateX(6px);
}




.contact.container{
 font-size: 3rem;
}




.btn-primary:hover{
 transform:translateY(-3px);
 box-shadow:0 10px 25px rgba(37,99,235,.3);
}




/* ===== SERVICES ===== */
.services{
 padding:5rem 0;
 text-align:center;
}

.grid-3{
 display:grid;
 gap:2rem;
 margin-top:2rem;
}

.services article{
 background:white;
 padding:2.5rem;
 border-radius:var(--radius);
 box-shadow:0 10px 30px rgba(0,0,0,.05);
 transition:.35s;
}

.services article:hover{
 transform:translateY(-8px);
 box-shadow:0 20px 50px rgba(0,0,0,.08);
}

/* ===== PROCESS ===== */
.process{
 padding:5rem 0;
 text-align:center;
}

.steps{
 display:grid;
 gap:1.5rem;
 margin-top:2rem;
}

.steps div{
 background:white;
 padding:1.5rem;
 border-radius:12px;
 font-weight:600;
 box-shadow:0 8px 20px rgba(0,0,0,.05);
}

/* ===== PORTFOLIO ===== */
.portfolio{
 padding:5rem 0;
 text-align:center;
}

.portfolio img{
 width:100%;
 border-radius:12px;
 transition:.4s;
}

.portfolio img:hover{
 transform:scale(1.04);
}

/* ===== CONTACT ===== */
.contact{
 padding:5rem 0;
 text-align:center;
}

form{
 max-width:600px;
 margin:auto;
 display:flex;
 flex-direction:column;
 gap:1rem;
}

input,select,textarea{
 padding:1rem;
 border-radius:10px;
 border:1px solid #e2e8f0;
 font-size:1rem;
}

input:focus,
textarea:focus{
 outline:none;
 border-color:var(--primary);
}

/* ===== FOOTER ===== */
.footer{
 background:var(--dark);
 color:white;
 padding:2rem;
 text-align:center;
 margin-top:4rem;
}

/* ===== RESPONSIVE ===== */
@media(min-width:768px){

.hero-grid{
 grid-template-columns:1fr 1fr;
}

.grid-3{
 grid-template-columns:repeat(3,1fr);
}

.steps{
 grid-template-columns:repeat(4,1fr);
}

}


.service-card{
 position:relative;
}

.pricing{
 max-height:0;
 overflow:hidden;
 transition:.5s ease;
 margin-top:1rem;
 text-align:left;
}

.service-card.active .pricing{
 max-height:300px;
}

.toggle-btn{
 margin-top:1rem;
 background:#2563eb;
 color:white;
 border:none;
 padding:.6rem 1rem;
 border-radius:8px;
 cursor:pointer;
}


/* CONFIGURADOR */

.configurator{
 padding:5rem 0;
 text-align:center;
}

.config-box{
 margin-top:2rem;
 background:white;
 border-radius:16px;
 padding:2rem;
 display:grid;
 gap:2rem;
 box-shadow:0 20px 50px rgba(0,0,0,.06);
}

.options{
 display:flex;
 flex-direction:column;
 gap:1rem;
 text-align:left;
}

.options label{
 font-weight:500;
}

.price-display{
 background:linear-gradient(135deg,#2563eb,#06b6d4);
 color:white;
 padding:2rem;
 border-radius:14px;
 display:flex;
 flex-direction:column;
 justify-content:center;
 align-items:center;
}

.price{
 font-size:2.5rem;
 font-weight:700;
 margin:1rem 0;
}

@media(min-width:768px){
 .config-box{
   grid-template-columns:2fr 1fr;
 }
}


.slider{
 position:relative;
 height:380px;
 overflow:hidden;
 border-radius:14px;
}

.slide{
 position:absolute;
 width:100%;
 height:100%;
 object-fit:cover;
 opacity:0;
 transition:opacity 1s ease;
}

.slide.active{
 opacity:1;
}



/* ===== RESET ===== */



/* ===== CONTAINER ===== */



/* ===== HEADER GLASS ===== */

.header{
    position:sticky;
    top:0;
    backdrop-filter: blur(12px);
    background:rgba(210, 214, 224, 0.6);
    border-bottom:1px solid rgba(255,255,255,0.05);
    z-index:1000;
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:1.4rem;
    font-weight:bold;
    color:#2563eb;
}

nav a{
    color:#0f0f0f;
    margin-left:25px;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#06b6d4;
}

/* CTA BUTTON */

.cta{
    background:linear-gradient(45deg,#7c3aed,#3b82f6);
    padding:10px 18px;
    border-radius:8px;
}

.cta:hover{
    box-shadow:0 0 15px #a855f7;
}

/* ===== HERO ===== */

.hero2{
    height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
}

.hero2 h1{
    font-size:3rem;
    margin-bottom:20px;
}

.hero2 p{
    color:#9ca3af;
    margin-bottom:30px;
}

/* Glow background */

.hero2::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:radial-gradient(circle,#7c3aed55,transparent);
    filter:blur(120px);
    z-index:-1;
}


/* ===== PROCESS ===== */

.processs{
    padding:100px 0;
    background:#f8fafc;
}

.processs-line{
    position:relative;
    display:flex;
    justify-content:space-between;
    margin-top:70px;
}

/* line */

.processs-line::before{
    content:"";
    position:absolute;
    top:25px;
    left:0;
    width:0%;
    height:3px;
    background:linear-gradient(135deg,#06b6d4,#2563eb);
    transition:width 1.5s ease;
}

/* active animation */

.processs-line.active::before{
    width:100%;
}

/* step */

.step{
    text-align:center;
    width:22%;
    opacity:0;
    transform:translateY(40px);
    transition:.6s ease;
}

.processs-line.active .step{
    opacity:1;
    transform:translateY(0);
}

/* circle */

.circle{
    width:50px;
    height:50px;
    margin:auto;
    border-radius:50%;
    background:#111827;
    border:2px solid #06b6d4;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    margin-bottom:15px;
    transition:.4s;
}

.step:hover .circle{
    background:#06b6d4;
    box-shadow:0 0 20px #2563eb;
}

.container2{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ================= FINAL CTA ================= */

.final-cta{
    padding:120px 20px;
    text-align:center;
    background:linear-gradient(135deg,#020617,#0b1120);
}

.cta-content h2{
    font-size:2.5rem;
    margin-bottom:20px;
    background:linear-gradient(90deg,#2563eb,#06b6d4);
    -webkit-background-clip:text;
    color:transparent;
}

.cta-content p{
    max-width:700px;
    margin:auto;
    color:#cbd5e1;
    margin-bottom:40px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* secondary button */

.btn-secondary{
    padding:14px 28px;
    background:#25D366;
    border-radius:8px;
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-secondary:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(37,211,102,.4);
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float{
    position:fixed;
    bottom:25px;
    right:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
    z-index:999;
    transition:.3s;
    animation:pulse 2s infinite;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

/* pulse animation */

@keyframes pulse{
    0%{box-shadow:0 0 0 0 rgba(37,211,102,.6);}
    70%{box-shadow:0 0 0 20px rgba(37,211,102,0);}
    100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}


/* ================= LOADER ================= */

#loader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#020617;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    transition:opacity .8s ease, visibility .8s;
}

#loader.hide{
    opacity:0;
    visibility:hidden;
}

/* content */

.loader-content{
    text-align:center;
}

/* logo */

.loader-logo{
    font-size:2rem;
    font-weight:bold;
    margin-bottom:30px;
    background:linear-gradient(90deg,#2563eb,#06b6d4);
    -webkit-background-clip:text;
    color:transparent;
    letter-spacing:2px;
}

/* bar */

.loader-bar{
    width:220px;
    height:4px;
    background:#111827;
    border-radius:10px;
    overflow:hidden;
}

.loader-bar span{
    display:block;
    height:100%;
    width:0%;
    background:linear-gradient(90deg,#2563eb,#06b6d4);
    animation:loading 2s ease forwards;
}

@keyframes loading{
    from{width:0;}
    to{width:100%;}
}


/* ================= PORTFOLIO SHOWCASE ================= */

.portfolio-showcase{
    padding:120px 20px;
    background:#f8fafc;
}

.showcase-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.showcase-text h2{
    font-size:2.4rem;
    margin-bottom:20px;
    background:linear-gradient(90deg, #020617 );
    -webkit-background-clip:text;
    color:transparent;
}

.showcase-text p{
    color:#434956;
    margin-bottom:30px;
}

/* ===== Browser mockup ===== */

.browser-mockup{
    background:#0b1120;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 0 40px rgba(124,58,237,.25);
    animation:float 6s ease-in-out infinite;
}

/* top bar */

.browser-top{
    background:#111827;
    padding:12px;
    display:flex;
    align-items:center;
    gap:8px;
}

.browser-top span{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#ef4444;
}

.browser-top span:nth-child(2){
    background:#f59e0b;
}

.browser-top span:nth-child(3){
    background:#22c55e;
}

/* url */

.url-bar{
    margin-left:15px;
    background:#020617;
    padding:6px 12px;
    border-radius:6px;
    font-size:.9rem;
    color:#94a3b8;
}

/* content */

.browser-content{
    padding:25px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.fake-card{
    height:120px;
    border-radius:8px;
    background:linear-gradient(135deg,#7c3aed33,#6366f133);
}

/* floating animation */

@keyframes float{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
}

/* responsive */

@media(max-width:900px){
    .showcase-wrapper{
        grid-template-columns:1fr;
        text-align:center;
    }
}


/* hamburgesa */


/* --- NAVBAR CON EFECTO GLASSMORPHISM --- */
/* --- RESET Y BASE --- */
.header {
    width: 100%;
    background: rgba(245, 240, 240, 0.3);
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Esto evita que el navbar se mueva de lugar */
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

/* --- VISTA ESCRITORIO (Navbar Central) --- */


.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.mobile-only-info, #mobile-toggle, #mobile-close {
    display: none; /* Oculto en PC */
}

/* --- VISTA MÓVIL (Menú Lateral Glassmorphism) --- */
@media (max-width: 850px){

#mobile-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e7ebf1;
    width:45px;
    height:45px;
    border-radius:6px;
    cursor:pointer;
}

#mobile-toggle i{
    color:rgb(4, 169, 240);
    font-size:22px;
}

/* MENU */

.nav{
    position:fixed;
    top:0;
    left:-100%;
    width:280px;
    height:100vh;
    flex-direction:column;
    padding:80px 30px;
    gap:10px;

    background:rgba(97, 94, 94, 0.85);
    backdrop-filter:blur(18px);
    transition:.4s;
}

.nav.active{
    left:0;
}

.nav a{
    font-size:1.5rem;
    padding:15px 0;
    font-weight:600;
    color:rgb(241, 235, 235);
}

/* BOTON CERRAR */

#mobile-close{
    display:block;
    position:absolute;
    top:20px;
    right:20px;
    font-size:28px;
    color:white;
    cursor:pointer;
}
}

/* responsive fake card */



.fake-card{
    width:100%;
    aspect-ratio: 4 / 3;
    overflow:hidden;
    border-radius:10px;
}

.fake-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}



/*FOOTER*/

/* ================= HOSTING RECOMMEND ================= */

.hosting-recommend{
    padding:80px 20px;
    background:linear-gradient(180deg,#020617,#020617 60%,#0f172a);
}

.hosting-box{
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items:center;
    gap:60px;
    max-width:1200px;
    margin:auto;
}

.hosting-text h3{
    font-size:2rem;
    margin-bottom:20px;
    background:linear-gradient(90deg,#2563eb,#06b6d4);
    -webkit-background-clip:text;
    color:transparent;
}

.hosting-text p{
    color:#cbd5e1;
    margin-bottom:20px;
}

.hosting-text ul{
    list-style:none;
    padding:0;
    margin-bottom:25px;
}

.hosting-text li{
    color: black;
    margin-bottom:10px;
    color:#e2e8f0;
}

/* BOTÓN */

.btn-hosting{
    display:inline-block;
    padding:14px 28px;
    border-radius:40px;
    text-decoration:none;
    color:white;
    font-weight:600;
    background:linear-gradient(90deg,#2563eb,#06b6d4);
    transition:.3s;
}

.btn-hosting:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(37,99,235,.4);
}

/* imagen */

.hosting-visual{
    display:flex;
    justify-content:center;
    align-items:center;
}

/* CONTENEDOR VISUAL */



.hosting-visual img{
    width:100%;
    max-width:280px;
    height:auto;
    border-radius:18px;

    /* magia visual */
    mix-blend-mode: lighten;
    filter:
        drop-shadow(0 25px 50px rgba(0,0,0,.6))
        contrast(1.05);
}

.hosting-visual{
    position:relative;
}

.hosting-visual::before{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    background:radial-gradient(circle,#2563eb55,transparent 70%);
    filter:blur(60px);
    z-index:-1;
}



/* responsive */

@media(max-width:768px){

.hosting-box{
    grid-template-columns:1fr;
    text-align:center;
}

.hosting-section {
        flex-direction: row;   /* mantiene horizontal */
        gap: 20px;
    }

.hosting-text {
        order: 2; /* texto derecha */
    }

.hosting-visual {
        order: 1; /* imagen izquierda */
    }

.hosting-visual img {
        display: none;
    }

}

/* CARGA CONTACTO */

/* PAGINA DE EXITO */

.success-page{
height:100vh;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,#0f172a,#1e293b);
text-align:center;
color:white;
}

.success-box{
background:rgba(255,255,255,0.05);
backdrop-filter:blur(10px);
padding:50px;
border-radius:15px;
max-width:500px;
box-shadow:0 10px 40px rgba(0,0,0,0.4);
}

.checkmark{
font-size:60px;
color:#4ade80;
margin-bottom:20px;
animation:pop .5s ease;
}

@keyframes pop{
0%{transform:scale(0)}
100%{transform:scale(1)}
}

.success-box h1{
margin-bottom:10px;
}

.success-box p{
margin-bottom:30px;
color:#cbd5f5;
}



/* ================= TESTIMONIALS ================= */
/*
.testimonials{
    padding:100px 20px;
    background:#020617;
    text-align:center;
}

.section-title{
    font-size:2.5rem;
    margin-bottom:60px;
    background:linear-gradient(90deg,#a855f7,#6366f1);
    -webkit-background-clip:text;
    color:transparent;
}

.testimonial-slider{
    position:relative;
    max-width:800px;
    margin:auto;
    min-height:200px;
}

.testimonial{
    position:absolute;
    width:100%;
    opacity:0;
    transform:translateY(20px);
    transition:all .8s ease;
}

.testimonial.active{
    opacity:1;
    transform:translateY(0);
}

.testimonial p{
    font-size:1.3rem;
    color:#e5e7eb;
    margin-bottom:20px;
    line-height:1.6;
}

.testimonial h4{
    color:white;
    margin-bottom:5px;
}

.testimonial span{
    color:#a5b4fc;
    font-size:.9rem;
}

/* Glow card */
/*
.testimonial{
    background:#0b1120;
    padding:40px;
    border-radius:12px;
    box-shadow:0 0 25px rgba(124,58,237,.15);
}

*/