/* ============================================ */
/* RESET Y BASE */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #e8e8f0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: #7c3aed;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================ */
/* LOGO */
/* ============================================ */
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.logo span:first-child {
    color: #fff;
}

.logo span:last-child {
    color: #7c3aed;
}

/* ============================================ */
/* TIPOGRAFÍA */
/* ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 30%, #6d28d9 60%, #3b82f6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================ */
/* BOTONES */
/* ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-primary.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 10px;
}

.btn-primary.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-secondary.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ============================================ */
/* HERO */
/* ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.12);
    color: #a855f7;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero h1 .gradient-text {
    font-size: 62px;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.glow-1 {
    width: 300px;
    height: 300px;
    background: #7c3aed;
    top: 20%;
    left: 10%;
    animation: floatGlow 8s ease-in-out infinite;
}

.glow-2 {
    width: 200px;
    height: 200px;
    background: #3b82f6;
    bottom: 20%;
    right: 10%;
    animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.1); }
}

.hero-illustration {
    width: 400px;
    height: 400px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================ */
/* SECCIONES GENERALES */
/* ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: #a855f7;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    color: #94a3b8;
    font-size: 18px;
}

/* ============================================ */
/* SERVICIOS */
/* ============================================ */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.servicio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.servicio-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.servicio-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.servicio-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-link {
    color: #a855f7;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: #c084fc;
}

/* ============================================ */
/* BENEFICIOS */
/* ============================================ */
.beneficios {
    background: rgba(255, 255, 255, 0.02);
}

.beneficio-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.beneficio-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.beneficio-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.beneficio-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.beneficio-item p {
    color: #94a3b8;
    font-size: 14px;
}

/* ============================================ */
/* PROCESO */
/* ============================================ */
.proceso {
    background: rgba(255, 255, 255, 0.02);
}

.proceso-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    padding: 24px;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.step h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.step p {
    color: #94a3b8;
    font-size: 13px;
}

.step-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    opacity: 0.3;
}

/* ============================================ */
/* CTA FINAL */
/* ============================================ */
.cta-final {
    padding: 0 0 80px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-card p {
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 32px;
}

/* ============================================ */
/* FAQ */
/* ============================================ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #a855f7;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: #94a3b8;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 18px;
}

/* ============================================ */
/* CONTACTO */
/* ============================================ */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-item span:first-child {
    font-size: 24px;
}

.info-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-item p {
    font-size: 16px;
    color: #fff;
}

.info-item.social {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #7c3aed;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

/* ============================================ */
/* REDES SOCIALES */
/* ============================================ */
.social-link {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #a855f7;
    transform: translateY(-3px);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social .social-link {
    color: #64748b;
}

.footer-social .social-link:hover {
    color: #a855f7;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 20px;
    margin-bottom: 12px;
    display: inline-flex;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
}

.nav-links .admin-link {
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-links .admin-link:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero p {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        display: none;
    }
    .servicios-grid,
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .nav-links.open {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero h1 .gradient-text {
        font-size: 38px;
    }
    .section-header h2 {
        font-size: 30px;
    }
    .servicios-grid,
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    .proceso-steps {
        flex-direction: column;
    }
    .step-line {
        width: 2px;
        height: 30px;
    }
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero h1 .gradient-text {
        font-size: 30px;
    }
    .cta-card {
        padding: 32px 20px;
    }
    .cta-card h2 {
        font-size: 26px;
    }
}