/* Variables de Colores y Diseño - Premium Dark Tech Theme */
:root {
    /* Palette - Deep Space & Vibrant Energy */
        --primary-color: #FF6B4A;
        /* Vibrant Coral/Orange */
        --primary-glow: rgba(255, 107, 74, 0.5);
        --secondary-color: #3B82F6;
        /* Electric Blue */
        --secondary-glow: rgba(59, 130, 246, 0.5);
    
    /* Backgrounds */
        --bg-dark: #0B0F19;
        /* Almost black navy */
        --bg-card: rgba(255, 255, 255, 0.03);
        --bg-glass: rgba(11, 15, 25, 0.7);
    
    /* Text */
        --text-main: #F1F5F9;
        --text-muted: #94A3B8;
        --text-highlight: #FFFFFF;
    /* Gradients */
        --gradient-primary: linear-gradient(135deg, #FF6B4A 0%, #FF8E53 100%);
        --gradient-dark: linear-gradient(180deg, #0B0F19 0%, #111827 100%);
        --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
        /* Effects */
        --shadow-glow: 0 0 20px var(--primary-glow);
        --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
        --backdrop-blur: blur(12px);
    
        /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
        color: var(--text-main);
        line-height: 1.6;
    overflow-x: hidden;
    background-image:
            radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 25%),
            radial-gradient(circle at 85% 30%, rgba(255, 107, 74, 0.08) 0%, transparent 25%);
        background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-highlight);
    font-weight: 700;
    line-height: 1.2;
        margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #FFFFFF, #E2E8F0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

p {
    color: var(--text-muted);
        margin-bottom: 1.5rem;
        font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
        transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Components */
.btn {
    display: inline-flex;
        align-items: center;
        justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
        position: relative;
        overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
        box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 107, 74, 0.5);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
        backdrop-filter: var(--backdrop-blur);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 1.25rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
        gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
        color: var(--text-main);
    position: relative;
}

.nav-link:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
        font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

/* Background Glow Effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
        right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
        filter: blur(60px);
        z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections Common */
section {
    padding: 6rem 0;
}

/* Pilares (Features) */
.pilares {
    position: relative;
}

.pilares h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pilar-item {
    background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
        overflow: hidden;
}

.pilar-item:hover {
    transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 107, 74, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pilar-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
        display: inline-block;
}

.pilar-item h3 {
    font-size: 1.25rem;
        margin-bottom: 1rem;
}

/* Valor Section */
.valor {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), transparent);
}

.valor .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.valor-content {
    flex: 1;
}

.valor-image {
    flex: 1;
}

.valor-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Publico Section */
.publico {
    text-align: center;
}

.publico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-top: 3rem;
}

.publico-item {
    background: var(--bg-card);
        padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.publico-item:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    border-color: transparent;
}

.publico-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.publico-item span {
    font-weight: 600;
        color: var(--text-main);
    }
    
    .publico-item:hover i,
    .publico-item:hover span {
        color: white;
}

/* Proceso Section */
.proceso {
    background: rgba(255, 255, 255, 0.02);
    }
    
    .proceso h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.proceso-step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.2);
    position: relative;
    z-index: 2;
}

/* Connector Line */
@media (min-width: 992px) {
    .proceso-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
            opacity: 0.3;
            z-index: 1;
    
}

/* Contacto Section */
.contacto {
    padding-bottom: 8rem;
}

.contacto h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contacto > .container > p {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.contact-image-wrapper {
    flex: 1;
}

.contact-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
        margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
        padding: 12px 16px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
        font-family: inherit;
        transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    border: none;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-info p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.contact-info i {
    color: var(--primary-color);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}
.social-links a {
    width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #05080f;
        padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    }
    
    .footer-logo img {
        height: 30px;
        opacity: 0.8;
        margin-bottom: 1.5rem;
    }
    
    .footer-links {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero .container,
    .valor .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-image-wrapper {
        order: -1;
    }

    .contact-info {
        align-items: center;
        text-align: center;
    }

    .contact-info h3 {
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
            display: block;
        }
        .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
            flex-direction: column;
            padding: 2rem;
            gap: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: none;
    }

        .nav-menu.active {
            display: flex;
        }
        .hero {
            padding: 6rem 0 4rem;
        }

        .contact-grid {
            padding: 2rem;
        }
        }
}