/*==================================================
            ZYVENIX - STYLE.CSS V2.0
==================================================*/

/*========================
        RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Segoe UI',sans-serif;

    background:#ffffff;

    color:#1e293b;

    overflow-x:hidden;

    line-height:1.7;

}

/*========================
      VARIABLES
=========================*/

:root{

    --primary:#0094FF;

    --primary-dark:#0069FF;

    --primary-light:#4FC3FF;

    --dark:#08111F;

    --gray:#64748b;

    --light:#F8FAFC;

    --white:#ffffff;

    --shadow:0 20px 45px rgba(0,0,0,.10);

    --radius:22px;

}

/*========================
      SCROLL
=========================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

/*========================
      TITULOS
=========================*/

section{

    padding:100px 8%;

}

h2{

    text-align:center;

    font-size:46px;

    color:var(--primary);

    margin-bottom:60px;

    font-weight:800;

}

h3{

    font-size:28px;

    margin-bottom:20px;

}

p{

    color:#475569;

    font-size:18px;

}

/*========================
      PRELOADER
=========================*/

#loader{

    position:fixed;

    width:100%;

    height:100vh;

    background:#08111F;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.6s;

}

#loader img{

    width:180px;

    animation:pulse 2s infinite;

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.08);

}

100%{

transform:scale(1);

}

}

/*========================
      HEADER
=========================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:85px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 8%;

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(14px);

    z-index:9999;

    transition:.35s;

}

header.scrolled{

    box-shadow:0 10px 35px rgba(0,0,0,.10);

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    font-size:28px;

    font-weight:800;

    color:var(--primary);

}

.logo img{

    width:55px;
    height:55px;

    object-fit:cover;

    border-radius:50%;

    border:3px solid #00C2FF;   /* Color del logo */

    box-shadow:0 8px 20px rgba(0,194,255,.35);

    transition:.4s;

}

/*========================
      MENU
=========================*/

nav{

    display:flex;

    align-items:center;

    gap:35px;

}

nav a{

    text-decoration:none;

    color:#1e293b;

    font-weight:600;

    transition:.35s;

}

nav a:hover{

    color:var(--primary);

}

/*========================
      DROPDOWN
=========================*/

.dropdown{

    position:relative;

}

.submenu{

    position:absolute;

    top:45px;

    left:0;

    width:250px;

    background:white;

    border-radius:18px;

    padding:18px;

    opacity:0;

    visibility:hidden;

    transform:translateY(15px);

    transition:.35s;

    box-shadow:var(--shadow);

}

.submenu a{

    display:block;

    padding:14px;

    border-radius:10px;

}

.submenu a:hover{

    background:#eef7ff;

}

.dropdown:hover .submenu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}
/*==================================================
                HERO
==================================================*/

.hero{

    position:relative;

    width:100%;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

    background:#08111F;

}

.hero-video{

    position:absolute;

    top:50%;

    left:50%;

    width:100%;

    height:100%;

    object-fit:cover;

    transform:translate(-50%,-50%);

    z-index:1;

}

/* Oscurece el video para mejorar la lectura */

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    rgba(8,17,31,.82),
    rgba(8,17,31,.68));

    z-index:2;

}

/* Pequeño brillo azul */

.hero::after{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    background:radial-gradient(circle,
    rgba(0,148,255,.28),
    transparent 70%);

    top:-220px;

    right:-180px;

    z-index:2;

}

/*============================
        CONTENIDO
=============================*/

.hero-content{

    position:relative;

    z-index:5;

    max-width:1000px;

    text-align:center;

    padding:20px;

}

.hero-content h1{

    font-size:74px;

    color:#fff;

    font-weight:800;

    line-height:1.1;

    margin-bottom:30px;

    animation:fadeTop 1s;

}

.hero-content p{

    font-size:22px;

    color:#dbeafe;

    line-height:1.8;

    max-width:850px;

    margin:auto;

    margin-bottom:45px;

    animation:fadeBottom 1.2s;

}

/*============================
        BOTONES
=============================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.btn-primary{

    padding:18px 40px;

    border-radius:60px;

    background:
    linear-gradient(
    135deg,
    #1FB6FF,
    #007BFF);

    color:#fff;

    font-size:17px;

    font-weight:700;

    text-decoration:none;

    transition:.35s;

    box-shadow:
    0 15px 35px rgba(0,123,255,.35);

}

.btn-primary:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 25px 45px rgba(0,123,255,.50);

}

/*============================*/

.btn-secondary{

    padding:18px 40px;

    border-radius:60px;

    border:2px solid #fff;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.btn-secondary:hover{

    background:#fff;

    color:#006CFF;

    transform:
    translateY(-6px);

}

/*============================
      SCROLL INDICATOR
=============================*/

.scroll-down{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    z-index:5;

    color:white;

    font-size:28px;

    animation:float 2s infinite;

}

/*============================
      ANIMACIONES
=============================*/

@keyframes fadeTop{

from{

opacity:0;

transform:translateY(-80px);

}

to{

opacity:1;

transform:translateY(0);

}

}

@keyframes fadeBottom{

from{

opacity:0;

transform:translateY(80px);

}

to{

opacity:1;

transform:translateY(0);

}

}

@keyframes float{

0%{

transform:translate(-50%,0);

}

50%{

transform:translate(-50%,12px);

}

100%{

transform:translate(-50%,0);

}

}

/*============================
      RESPONSIVE
=============================*/

@media(max-width:992px){

.hero-content h1{

font-size:48px;

}

.hero-content p{

font-size:18px;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

.btn-primary,
.btn-secondary{

width:260px;

text-align:center;

}

}

@media(max-width:576px){

.hero-content h1{

font-size:36px;

}

.hero-content p{

font-size:16px;

line-height:1.6;

}

}
/*==================================================
            NOSOTROS
==================================================*/

.about{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.info-box{

    background:#fff;

    padding:40px;

    border-radius:25px;

    text-align:center;

    transition:.45s;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    border:1px solid rgba(0,148,255,.08);

}

.info-box:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(0,148,255,.18);

}

.info-box i{

    font-size:60px;

    color:var(--primary);

    margin-bottom:25px;

}

.info-box h3{

    color:var(--primary);

    margin-bottom:20px;

    font-size:28px;

}

.info-box p{

    font-size:17px;

    line-height:1.9;

}

/*==================================================
            ESPECIALIDADES
==================================================*/

.service{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:80px;

    margin-bottom:100px;

}

.reverse{

    direction:rtl;

}

.reverse *{

    direction:ltr;

}

/*========================
        IMAGENES
=========================*/

.service-image{

    overflow:hidden;

    border-radius:30px;

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.service-image img{

    width:100%;

    height:480px;

    object-fit:cover;

    display:block;

    transition:.6s;

}

.service-image:hover img{

    transform:scale(1.08);

}

/*========================
        TEXTO
=========================*/

.service-info h2{

    text-align:left;

    font-size:44px;

    color:var(--primary);

    margin-bottom:25px;

}

.service-info p{

    font-size:18px;

    line-height:1.9;

    margin-bottom:30px;

}

.service-info ul{

    list-style:none;

    padding:0;

}

.service-info li{

    position:relative;

    padding-left:35px;

    margin-bottom:18px;

    font-size:18px;

}

.service-info li::before{

    content:"✔";

    position:absolute;

    left:0;

    color:var(--primary);

    font-weight:bold;

}

/*========================
        EFECTO
=========================*/

.service-info{

    animation:fadeUp .8s;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(60px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/*==================================================
            RESPONSIVE
==================================================*/

@media(max-width:992px){

.service{

grid-template-columns:1fr;

gap:40px;

}

.reverse{

direction:ltr;

}

.service-image img{

height:350px;

}

.service-info{

text-align:center;

}

.service-info h2{

text-align:center;

font-size:36px;

}

}
/*==================================================
                PROCESO
==================================================*/

.process{

    background:var(--light);

}

.steps{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    margin-top:50px;

}

.steps div{

    background:#fff;

    padding:40px 30px;

    border-radius:25px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.4s;

    border:1px solid rgba(0,148,255,.08);

}

.steps div:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 50px rgba(0,148,255,.20);

}

.steps i{

    font-size:55px;

    color:var(--primary);

    margin-bottom:20px;

}

.steps span{

    display:block;

    font-size:20px;

    font-weight:700;

    color:#1e293b;

}

/*==================================================
                ESTADÍSTICAS
==================================================*/

.why{

    background:#fff;

}

.stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:30px;

}

.stat{

    background:linear-gradient(135deg,#0094FF,#0069FF);

    color:white;

    border-radius:25px;

    text-align:center;

    padding:45px 30px;

    box-shadow:0 20px 45px rgba(0,105,255,.30);

    transition:.35s;

}

.stat:hover{

    transform:translateY(-10px);

}

.stat h3{

    font-size:60px;

    color:#fff;

    margin-bottom:15px;

}

.stat p{

    color:#fff;

    font-size:18px;

}

/*==================================================
                TESTIMONIOS
==================================================*/

.testimonial-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.testimonial{

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(12px);

    border-radius:25px;

    padding:35px;

    border:1px solid rgba(0,148,255,.10);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.testimonial:hover{

    transform:translateY(-10px);

}

.testimonial i{

    color:#FFD54A;

    font-size:20px;

    margin-right:4px;

}

.testimonial p{

    margin:25px 0;

    line-height:1.8;

    font-style:italic;

}

.testimonial strong{

    color:var(--primary);

}

/*==================================================
                GALERÍA
==================================================*/

.gallery{

    background:var(--light);

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

}

.gallery-grid img{

    width:100%;

    height:280px;

    object-fit:cover;

    border-radius:22px;

    transition:.5s;

    cursor:pointer;

    box-shadow:0 12px 30px rgba(0,0,0,.10);

}

.gallery-grid img:hover{

    transform:scale(1.05);

    box-shadow:0 20px 45px rgba(0,148,255,.20);

}
/*==================================================
                FAQ
==================================================*/

.faq{

    background:var(--light);

}

.accordion{

    max-width:900px;

    margin:auto;

}

.faq-item{

    background:#fff;

    margin-bottom:20px;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.faq-question{

    width:100%;

    background:#fff;

    border:none;

    padding:24px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    font-size:20px;

    font-weight:700;

    color:#1e293b;

    transition:.3s;

}

.faq-question:hover{

    background:#f8fbff;

}

.icon{

    color:var(--primary);

    font-size:32px;

    transition:.35s;

}

.faq-question.active .icon{

    transform:rotate(45deg);

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .45s ease;

    background:#fff;

}

.faq-answer p{

    padding:0 30px 30px;

}

/*==================================================
                FORMULARIO
==================================================*/

.form-section{

    background:#fff;

}

form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:20px;

}

form input,
form select,
form textarea{

    padding:18px;

    border:1px solid #dbe4f0;

    border-radius:15px;

    font-size:17px;

    outline:none;

    transition:.3s;

}

form input:focus,
form select:focus,
form textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(0,148,255,.15);

}

form textarea{

    resize:none;

    min-height:160px;

}

form button{

    background:linear-gradient(135deg,#0094FF,#0069FF);

    color:#fff;

    border:none;

    padding:18px;

    border-radius:50px;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

}

form button:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 35px rgba(0,148,255,.30);

}

/*==================================================
                FOOTER
==================================================*/

footer{

    background:#08111F;

    color:#fff;

    padding:70px 8% 30px;

}

.footer-content{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:50px;

    max-width:1300px;

    margin:auto;

}

.footer-content h3{

    color:var(--primary-light);

    margin-bottom:20px;

}

.footer-content p{

    color:#d5e3f5;

    margin:10px 0;

}

.social-icons{

    display:flex;

    gap:18px;

    margin-top:20px;

}

.social-icons a{

    width:58px;

    height:58px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:linear-gradient(135deg,#0094FF,#0069FF);

    color:#fff;

    text-decoration:none;

    font-size:24px;

    transition:.35s;

}

.social-icons a:hover{

    transform:translateY(-8px) scale(1.08);

}

.copyright{

    margin-top:60px;

    padding-top:25px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.12);

    color:#9fb6d3;

}

/*==================================================
            BOTÓN WHATSAPP
==================================================*/

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    font-size:34px;

    text-decoration:none;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    z-index:999;

    transition:.35s;

}

.whatsapp:hover{

    transform:scale(1.12);

}

/*==================================================
                ANIMACIONES
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:992px){

section{

padding:80px 6%;

}

h2{

font-size:36px;

}

.footer-content{

text-align:center;

}

.social-icons{

justify-content:center;

}

}

@media(max-width:768px){

header{

padding:0 5%;

}

.logo{

font-size:22px;

}

.logo img{

width:45px;

height:45px;

}

.hero{

height:90vh;

}

.hero-content h1{

font-size:34px;

}

.hero-content p{

font-size:16px;

}

.service{

grid-template-columns:1fr;

gap:35px;

}

.reverse{

direction:ltr;

}

.service-info h2{

text-align:center;

}

.service-info{

text-align:center;

}

.service-info ul{

text-align:left;

display:inline-block;

}

.steps{

grid-template-columns:1fr;

}

.stats{

grid-template-columns:1fr;

}

.testimonial-container{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr;

}

}
/*==========================================
        LIGHTBOX
==========================================*/

#lightbox{

position:fixed;

top:0;

left:0;

width:100%;

height:100vh;

background:rgba(0,0,0,.92);

display:flex;

justify-content:center;

align-items:center;

opacity:0;

visibility:hidden;

transition:.35s;

z-index:99999;

cursor:zoom-out;

}

#lightbox.active{

opacity:1;

visibility:visible;

}

#lightbox img{

max-width:90%;

max-height:90%;

border-radius:20px;

box-shadow:0 20px 60px rgba(0,0,0,.45);

animation:zoom .35s;

}

@keyframes zoom{

from{

transform:scale(.75);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

/*==========================================
        BOTÓN SUBIR
==========================================*/

#topButton{

position:fixed;

right:30px;

bottom:105px;

width:60px;

height:60px;

border-radius:50%;

background:linear-gradient(135deg,#0094FF,#0069FF);

display:flex;

justify-content:center;

align-items:center;

color:white;

font-size:24px;

cursor:pointer;

opacity:0;

visibility:hidden;

transition:.35s;

box-shadow:0 15px 35px rgba(0,148,255,.35);

z-index:998;

}

#topButton.show{

opacity:1;

visibility:visible;

}

#topButton:hover{

transform:translateY(-8px);

}
/*==========================================
        MENÚ MÓVIL
==========================================*/

#menuBtn{

display:none;

font-size:30px;

cursor:pointer;

color:var(--primary);

}

nav a.active{

color:var(--primary);

font-weight:700;

}

/*==========================================
        CURSOR GLOW
==========================================*/

#cursorGlow{

position:fixed;

width:280px;

height:280px;

background:radial-gradient(circle,
rgba(0,148,255,.18),
transparent 70%);

pointer-events:none;

transform:translate(-50%,-50%);

z-index:-1;

transition:left .08s linear,
top .08s linear;

}

/*==========================================
        BARRA PROGRESO
==========================================*/

#progressBar{

position:fixed;

top:0;

left:0;

height:4px;

background:linear-gradient(
90deg,
#00C2FF,
#0066FF);

width:0;

z-index:999999;

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:900px){

#menuBtn{

display:block;

}

nav{

position:fixed;

top:85px;

left:-100%;

width:100%;

background:white;

display:flex;

flex-direction:column;

padding:40px;

transition:.4s;

box-shadow:0 15px 35px rgba(0,0,0,.15);

}

nav.show{

left:0;

}

}

.form-section{

    background:#f8fbff;

}

.diagnostico-form{

    max-width:700px;

    margin:50px auto 0;

}

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#0f172a;

}

.input-group input,
.input-group select,
.input-group textarea{

    width:100%;

    padding:16px;

    border:1px solid #dbe4f0;

    border-radius:12px;

    font-size:16px;

}

.input-group textarea{

    min-height:160px;

    resize:vertical;

}

.section-description{

    max-width:700px;

    margin:auto;

    text-align:center;

    color:#475569;

    font-size:18px;

    line-height:1.8;

}

.diagnostico-form button{

    width:100%;

    margin-top:20px;

    font-size:18px;

}

.form-section{
    background:#f8fbff;
    padding:80px 8% 120px;
}

.diagnostico-form{
    max-width:700px;
    margin:50px auto 0;
}

.diagnostico-form button{
    width:100%;
    margin-top:30px;
    margin-bottom:40px; /* Espacio antes del footer */
    font-size:18px;
}