* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, #0a1929, #0d2847);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: #00ccff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #00ccff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #0a1929, #0d2847);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* STATS */
.stats {
    background: linear-gradient(135deg, #0a1929, #0d2847);
    padding: 60px 0;
    color: white;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat h3 {
    font-size: 48px;
    color: #00ccff;
    margin-bottom: 10px;
}

.stat p {
    opacity: 0.9;
}

/* SERVICIOS */
.servicios {
    padding: 100px 0;
    background: #f8f9fa;
}

.servicios h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #0a1929;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-top: 4px solid #0066cc;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card .icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0a1929;
}

.card p {
    color: #666;
    font-size: 15px;
}

/* POR QUE */
.por-que {
    background: linear-gradient(135deg, #0a1929, #0d2847);
    padding: 100px 0;
    color: white;
}

.por-que h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ventaja {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,204,255,0.2);
    transition: all 0.3s;
}

.ventaja:hover {
    background: rgba(0,204,255,0.1);
    border-color: rgba(0,204,255,0.5);
}

.ventaja h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.ventaja p {
    opacity: 0.9;
}

/* MISION Y VISION */
.mision-vision {
    padding: 100px 0;
    background: #f8f9fa;
}

.mision-vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mision, .vision {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mision {
    border-left: 5px solid #0066cc;
}

.vision {
    border-left: 5px solid #00ccff;
}

.mision h3, .vision h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0a1929;
}

.mision p, .vision p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* PROYECTOS */
.proyectos {
    background: linear-gradient(135deg, #0a1929, #0d2847);
    padding: 100px 0;
    color: white;
}

.proyectos h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.proyecto {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,204,255,0.2);
}

.proyecto h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.proyecto p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background: rgba(0,204,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #00ccff);
}

.proyecto span {
    font-size: 12px;
    opacity: 0.8;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #0066cc, #003d99);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* CONTACTO */
.contacto {
    padding: 100px 0;
    background: #f8f9fa;
}

.contacto h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #0a1929;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacto-info {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contacto-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0a1929;
}

.info-item {
    margin-bottom: 25px;
    color: #666;
}

.info-item strong {
    display: block;
    color: #0a1929;
    margin-bottom: 5px;
}

.contacto-form {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-form input,
.contacto-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

/* FOOTER */
.footer {
    background: #0a1929;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 30px 0;
}

/* BOTONES */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #0066cc;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,102,204,0.3);
}

/* WHATSAPP */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #20ba58);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 999;
    text-decoration: none;
    animation: bounce 2.5s infinite;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(37,211,102,0.6);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* SCROLL TOP */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,102,204,0.4);
    display: none;
    z-index: 998;
    transition: all 0.3s;
}

.scroll-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,102,204,0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0a1929;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .ventajas-grid {
        grid-template-columns: 1fr;
    }

    .mision-vision .container {
        grid-template-columns: 1fr;
    }

    .proyectos-grid {
        grid-template-columns: 1fr;
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
}