html {
scroll-behavior: smooth;
}

/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins', sans-serif;
}

body{
background:#f5f7fa;
color:#333;
line-height:1.6;
}


/* CONTAINER */

.container{
max-width:1200px;
margin:auto;
padding:0 40px;
}


.navbar {
    position: fixed; /* Esto la obliga a quedarse siempre visible */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Un número alto para que nada la tape */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all .4s ease;
}

/* IMPORTANTE: Como la navbar ahora flota, el Hero se subirá.
   Añade este margen al body para compensarlo: */
body {
    padding-top: 70px;
}

/* NAVBAR SCROLL EFFECT */
.navbar.scrolled{
background:white;
box-shadow:0 10px 30px rgba(0,0,0,.1);
}


.logo{
font-weight:600;
font-size:20px;
letter-spacing:1px;
}

.logo span{
color:#00c896;
}

.navbar ul{
display:flex;
list-style:none;
gap:35px;
}

.navbar a{
text-decoration:none;
color:#333;
font-weight:500;
transition:.3s;
}

.navbar a:hover{
color:#00c896;
}


/* HERO */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(6, 2, 2);
    overflow: hidden;
}

/* 1. La imagen va al fondo total */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}

/* 2. El filtro oscuro va justo ENCIMA de la imagen */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        rgba(0,0,0,0.92),
        rgba(0,120,255,0.35),
        rgba(0,255,170,0.25),
        rgba(0,0,0,0.92)
    );

    background-size: 300% 300%;
    animation: techGlow 8s ease infinite;

    z-index: 2;
}

@keyframes techGlow{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

/* 3. El texto va por ENCIMA de todo */
.hero-content {
    position: relative;
    z-index: 3; 
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 56px; 
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
}


/* BUTTON */

/* --- BOTONES CON EFECTO PUSH (ESTILO APPLE) --- */
.btn, .plan-btn, .btn-submit {
    display: inline-block;
    padding: 14px 35px;
    background: #00c896;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* Transición más fluida */
}

/* Efecto al pasar el mouse (Levantamiento) */
.btn:hover, .plan-btn:hover, .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 200, 150, 0.4);
    background: #00b386; /* Un tono ligeramente más oscuro */
}

/* EL EFECTO DE HUNDIRSE (Al hacer clic) */
.btn:active, .plan-btn:active, .btn-submit:active {
    transform: scale(0.95) translateY(-1px); /* Se encoge un 5% */
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra interna de presión */
}


/* PLANS */

.plans{
padding:120px 80px;
background:white;
}

.section-title{
text-align:center;
font-size:36px;
margin-bottom:20px;
font-weight:600;
}

.section-subtitle{
text-align:center;
color:#666;
margin-bottom:60px;
font-size:18px;
}

.plans-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:40px;
}

.plan-card{
background:white;
padding:40px;
border-radius:12px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition: transform .4s ease, box-shadow .4s ease;
text-align:center;
position:relative;
}

.plan-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.plan-card h3{
font-size:24px;
margin-bottom:15px;
}

.price{
font-size:42px;
font-weight:600;
color:#00c896;
margin-bottom:20px;
}

.plan-card ul{
list-style:none;
margin-bottom:30px;
}

.plan-card li{
margin:10px 0;
color:#555;
}

.plan-btn{
padding:12px 28px;
border:none;
border-radius:6px;
background:#00c896;
color:white;
font-size:16px;
cursor:pointer;
transition:.3s;
}

.plan-btn:hover{
background:#00a97f;
}

/* PLAN DESTACADO */

.featured{
border:3px solid #00c896;
transform:scale(1.05);
}

.featured:hover{
transform:scale(1.08) translateY(-10px);
}


/* STATS */

.stats{
padding:120px 80px;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
text-align:center;
background:#f5f7fa;
}

.stat-box{
background:white;
padding:50px;
border-radius:12px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.3s;
}

.stat-box:hover{
transform:translateY(-8px);
}

.stat-box h2{
font-size:48px;
color:#00c896;
margin-bottom:10px;
}


/* SECCIÓN SERVICIOS */
.services {
    padding: 100px 40px;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-item {
    padding: 30px;
    border-left: 3px solid #f2f2f2; /* Línea lateral minimalista */
    transition: all 0.3s ease;
}

.service-item:hover {
    border-left-color: #00c896;
    background: #fbfbfd;
}

.service-icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.service-item p {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

/* BLOQUE DE IDENTIDAD (Destacado) */
.identity-block {
    background: #111; /* Contraste negro para elegancia */
    color: white;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    overflow: hidden;
}

.identity-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.identity-text p {
    font-size: 18px;
    opacity: 0.8;
}

.mockup-display {
    background: #1d1d1f;
    padding: 20px 40px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    color: #00c896;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

/* Responsivo para el bloque de identidad */
@media (max-width: 900px) {
    .identity-block {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }
}


/* ABOUT - SECCIÓN NOSOTROS OPTIMIZADA CON TARJETAS FLOTANTES */
.about {
    padding: 120px 40px; 
    text-align: center;
    /* --- CAMBIO: De #ffffff a este gris sutil para que las tarjetas resalten --- */
    background: #fbfbfd; 
    position: relative; 
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    
    /* --- CAMBIO: Aumentamos un poco el margen para que respire el nuevo subtítulo --- */
    margin-top: -40px; 
    
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative; 
    z-index: 10; 
}

/* Las demás clases (.about-card, .about-icon, etc.) se mantienen igual 
   a como las tienes, ya que ya están perfectas con sus paddings y sombras. */

.about-card {
    background: white;
    padding: 50px 40px; /* Aumenté el padding superior/inferior para más "aire" */
    border-radius: 24px; /* Bordes ligeramente más redondeados */
    border: 1px solid rgba(0,0,0,0.03); /* Borde aún más sutil */
    
    /* SOMBRA SUAVE POR DEFECTO */
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Transición más lenta y suave */
    text-align: center;
}

.about-card:hover {
    transform: translateY(-15px); /* Se eleva un poco más al hacer hover */
    
    /* SOMBRA MÁS PROFUNDA Y COLOREADA AL HACER HOVER */
    box-shadow: 0 20px 60px rgba(0, 200, 150, 0.12); /* Sombra con el verde de Synergy */
    border-color: rgba(0, 200, 150, 0.2);
}

.about-icon {
    font-size: 44px; /* Iconos un poco más grandes */
    margin-bottom: 25px; /* Más espacio con el título */
    display: inline-block;
}

.about-card h3 {
    font-size: 24px; /* Títulos un poco más grandes */
    margin-bottom: 18px;
    color: #1d1d1f;
    letter-spacing: -0.5px; /* Toque de tipografía Apple */
}

.about-card p {
    font-size: 16px;
    color: rgba(0,0,0,0.65); /* Gris más suave y legible */
    line-height: 1.7; /* Más interlineado para lectura cómoda */
}

.section-subtitle {
    text-align: center;
    max-width: 650px; 
    margin: 0 auto 100px auto; /* Este margen de 100px es el que da la elegancia */
    font-size: 20px;
    color: #6e6e73;
    line-height: 1.6;
}

.highlight {
    color: #00c896;
    font-weight: 600;
}

/* SECCIÓN CONTACTO - PREMIUM DARK MODE BOX */
.contact {
    padding: 120px 40px;
    background: #fbfbfd; /* Mismo fondo que "Nosotros" para dar continuidad */
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #111111; /* Negro profundo */
    color: white;
    border-radius: 32px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.contact-info {
    padding: 80px 60px;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.contact-info p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details p {
    font-size: 15px;
    margin-bottom: 10px;
    color: #00c896; /* Verde Synergy */
    font-weight: 500;
}

/* FORMULARIO */
.contact-form {
    padding: 80px 60px;
    background: #1c1c1e; /* Gris muy oscuro, estilo interfaz Apple */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus, 
.form-group textarea:focus {
    background: rgba(255,255,255,0.08);
    border-color: #00c896;
    box-shadow: 0 0 0 4px rgba(0, 200, 150, 0.1);
}

.btn-submit {
    background: #00c896;
    color: white;
    border: none;
    padding: 20px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
}

.btn-submit:hover {
    background: #05e0a9;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 200, 150, 0.3);
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 50px 30px;
    }
    
    .contact-info h2 {
        font-size: 32px;
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    background: #111111; /* Negro profundo */
    color: rgba(255,255,255,0.6); /* Texto blanco grisáceo para suavidad */
    font-size: 13px;
    letter-spacing: 0.5px;
}

footer p {
    margin: 0;
}


/* SCROLL ANIMATION */

.fade-up{
opacity:0;
transform:translateY(40px);
transition:all .8s ease;
}

.fade-up.visible{
opacity:1;
transform:translateY(0);
}


/* --- SLIDER PROFESIONAL AJUSTADO (Sutil y Rápido) --- */

.slider-section {
    width: 100%;
    /* Cambio: Color Azul Mar (puedes ajustar el hex si prefieres más claro o oscuro) */
    background: #004b6b; 
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    /* Cambio: Línea divisoria acorde al fondo oscuro */
    border-top: 1px solid rgba(21, 178, 24, 0.1); 
}

.slider-container {
    display: flex;
    width: 100%;
    /* Mantenemos el degradado pero ajustado para fondos oscuros */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.slider-track {
    display: flex;
    width: max-content; 
    gap: 80px;
    animation: scroll-infinito 15s linear infinite;
}

/* --- CLAVE PARA DETENER EL SLIDER --- */
/* Cuando el mouse entra en el track o en un logo, la animación se pausa */
.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(2); /* Subí el brillo para que resalten en el azul */
    opacity: 0.6;
    transition: all .4s ease;
}

.slide img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
    cursor: pointer;
}

/* Animación optimizada */
@keyframes scroll-infinito {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Animación optimizada para no dejar huecos */
@keyframes scroll-infinito {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Usa el 50% para que el bucle sea perfecto */
    }
}


/* RESPONSIVE */

@media (max-width:900px){

.navbar{
padding:20px 30px;
}

.hero-content h2{
font-size:34px;
}

.services{
padding:80px 30px;
}

.stats{
padding:80px 30px;
}

.about{
padding:80px 30px;
}

}


/* ANIMACIONES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Empieza un poco más abajo */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Sube a su posición original */
    }
}

/* Aplicación de la animación (opcional, por si quieres usarla en otros elementos) */
.fade-in-element {
    animation: fadeIn 0.6s ease forwards;
}


/* ============================================================
   RESPONSIVE MÓVIL OPTIMIZADO (Synergy Colombia)
   ============================================================ */

@media (max-width: 768px) {

    /* BASE */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        padding-top: 110px; /* espacio para navbar */
    }

    /* NAVBAR */
    .navbar {
        flex-direction: column;
        padding: 12px 20px;
        gap: 10px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .navbar ul li a {
        font-size: 14px;
        padding: 6px;
    }

    /* HERO */
    .hero {
        height: auto;
        padding: 120px 20px 80px;
    }

    .hero-content{
max-width:100%;
}

    .hero-content h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* SECCIONES */
    .plans,
    .services,
    .about,
    .contact,
    .stats {
        padding: 70px 20px;
    }

    .container {
        padding: 0 20px;
    }

    /* GRID SYSTEM */
    .plans-container,
    .services-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

.stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

    /* TARJETAS */
    .plan-card,
    .service-item,
    .about-card,
    .stat-box {
        width: 100%;
    }

    .featured {
        transform: scale(1);
        margin: 20px 0;
    }

    /* BLOQUE IDENTIDAD */
    .identity-block {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        gap: 25px;
    }

    .mockup-display {
        width: 100%;
        white-space: pre-wrap;
        word-break: break-word;
        font-size: 12px;
    }

    /* CONTACTO */
.contact-box {
    display: grid;
    grid-template-columns: 1fr;
}

    .contact-info,
    .contact-form {
        padding: 40px 25px;
    }

    .contact-info h2 {
        font-size: 30px;
    }

}

img {
max-width:100%;
height:auto;
display:block;
}