/* Variables imitando Tailwind Slate/Blue palette y personalización */
:root {
    --bs-primary: #2563eb;
    --bs-primary-dark: #1e3a8a;
    --bs-slate-50: #f8fafc;
    --bs-slate-100: #f1f5f9;
    --bs-slate-200: #e2e8f0;
    --bs-slate-400: #94a3b8;
    --bs-slate-600: #475569;
    --bs-slate-800: #1e293b;
    --bs-slate-900: #0f172a;
    
    --accent-color: #60a5fa;
    --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--bs-slate-800);
    background-color: var(--bs-slate-50);
}

/* Utilities Helpers */
.bg-slate-50 { background-color: var(--bs-slate-50); }
.bg-slate-900 { background-color: var(--bs-slate-900); }
.bg-primary-dark { background-color: var(--bs-primary-dark); }
.text-slate-900 { color: var(--bs-slate-900); }
.text-slate-600 { color: var(--bs-slate-600); }
.text-slate-400 { color: var(--bs-slate-400); }
.text-primary-custom { color: var(--bs-primary); }
.text-accent { color: var(--accent-color); }
.text-light-alpha { color: rgba(255, 255, 255, 0.7); }
.border-secondary { border-color: rgba(255,255,255,0.1) !important; }
.fs-sm { font-size: 0.875rem; }
.fw-black { font-weight: 900; }
.tracking-wider { letter-spacing: 0.05em; }
.w-20px { width: 20px; text-align: center; }

/* Top Bar */
.top-bar {
    background-color: var(--bs-slate-900);
    color: var(--bs-slate-400);
    font-size: 0.75rem;
    height: 40px;
    border-bottom: 1px solid var(--bs-slate-800);
    font-weight: 500;
}
.top-bar a {
    color: var(--bs-slate-400);
    text-decoration: none;
    transition: color 0.3s;
}
.top-bar a:hover { color: #fff; }

/* Header & Navbar */
.header {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bs-slate-200);
}
.brand-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--bs-primary-dark);
}
.brand-logo span { color: var(--bs-primary); }

.nav-links a {
    color: var(--bs-slate-600);
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--bs-primary); }

.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-wa { background: #ecfdf5; color: #059669; }
.btn-wa:hover { background: #d1fae5; }
.btn-fb { background: #eff6ff; color: #1d4ed8; }
.btn-fb:hover { background: #dbeafe; }

.btn-primary-custom {
    background-color: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    transition: background-color 0.3s;
}
.btn-primary-custom:hover { background-color: #1d4ed8; color: white; }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary-dark), #1e40af, var(--bs-slate-900));
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.badge-custom {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(219, 234, 254, 0.8);
    font-weight: 300;
}
.btn-light-custom {
    background: white;
    color: var(--bs-primary-dark);
    border-radius: 0.75rem;
    transition: all 0.3s;
}
.btn-light-custom:hover { background: var(--bs-slate-100); }

.btn-outline-custom {
    background: rgba(37, 99, 235, 0.5);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: white;
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    transition: all 0.3s;
}
.btn-outline-custom:hover { background: var(--bs-primary); color: white; }

/* Hero Form */
.hero-form-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.form-control-custom {
    background: var(--bs-slate-50);
    border: 1px solid var(--bs-slate-200);
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}
.form-control-custom:focus {
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

/* Sections General */
.py-section { padding: 5rem 0; }
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bs-slate-900);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--bs-slate-600);
    font-size: 1.125rem;
}

/* Program Cards */
.program-card {
    background: white;
    border: 1px solid var(--bs-slate-200);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.program-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.program-card h4 { font-weight: 700; margin-bottom: 1rem; font-size: 1.25rem; }
.program-list li { margin-bottom: 0.75rem; font-size: 0.875rem; color: var(--bs-slate-600); }
.program-list i { margin-right: 0.5rem; width: 16px; }
.badge-premium {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 0.5rem;
    text-transform: uppercase;
}
/* Icon Colors */
.bg-success-light { background: #dcfce7; }
.bg-primary-light { background: #dbeafe; }
.bg-warning-light { background: #fef3c7; }
.text-warning-custom { color: #d97706; }
.bg-danger-light { background: #fee2e2; }
.text-danger-custom { color: #dc2626; }
.bg-info-light { background: #e0f2fe; }
.text-info-custom { color: #0284c7; }

/* Benefits */
.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.benefit-item i {
    font-size: 1.5rem;
    color: var(--bs-primary);
    background: #dbeafe;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-item h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.875rem; color: var(--bs-slate-600); line-height: 1.5; }

/* Process */
.process-wrapper { position: relative; }
.process-step {
    position: relative;
    z-index: 1;
}
.step-num {
    width: 3rem;
    height: 3rem;
    background: var(--bs-primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 0 0 6px white, 0 0 0 8px var(--bs-slate-200);
}
.process-step h6 { font-weight: 700; }
@media(min-width: 768px){
    .process-wrapper::before {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--bs-slate-200);
        z-index: 0;
    }
}

/* Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid var(--bs-slate-200);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-info-custom { background-color: #0284c7; }

/* Contact Section */
.bg-contact { background-color: var(--bs-slate-100); }
.form-control-light {
    background: #fff;
    border: 1px solid var(--bs-slate-200);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}
.form-control-light:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.btn-social-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bs-slate-800);
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-social-footer:hover { background: var(--bs-primary); color: white; }
.hover-white:hover { color: white !important; }

/* Floating WS */
.float-ws {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    background-color: #25D366;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    box-shadow: 0 4px 14px 0 rgba(37,211,102,0.39);
    transition: transform 0.3s;
    text-decoration: none;
    animation: pulse-ws 2s infinite;
}
.float-ws:hover {
    transform: scale(1.1);
    color: white;
}
@keyframes pulse-ws {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
