:root {
    --bg-color: #0b1121; /* Azul marino profundo */
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #d4af37; /* Dorado metálico */
    --primary-hover: #b5952f;
    --secondary: #2563eb; /* Azul corporativo */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(0, 0, 0, 0.4);
    --font-main: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--font-main); overflow-x: hidden; line-height: 1.6; }

.text-primary { color: var(--primary) !important; }
.text-white { color: white !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-small { font-size: 0.85rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.w-full { width: 100%; }

/* Background Blobs */
.blob { position: absolute; filter: blur(90px); z-index: -1; opacity: 0.4; border-radius: 50%; }
.blob-1 { top: -5%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, var(--secondary), transparent 70%); }
.blob-2 { bottom: 20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, var(--primary), transparent 70%); }

/* Navbar */
.glass-nav { position: fixed; top: 0; width: 100%; padding: 1.2rem 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(11, 17, 33, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 2px solid var(--primary); z-index: 1000; transition: all 0.3s ease; }
.logo { font-size: 1.8rem; font-weight: 800; color: white; }
.logo span { color: var(--primary); font-weight: 300; margin-left: 5px; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--text-color); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn-primary { padding: 0.9rem 1.8rem; border-radius: 8px; border: none; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, var(--primary), #eab308); color: #111; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); transition: all 0.3s; text-decoration: none; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); }
.large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* Mobile Menu Toggle */
.mobile-toggle { display: none; color: white; font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 10% 0; gap: 4rem; }
.hero-content { flex: 1.2; }
.subtitle { color: var(--primary); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 1rem; }
h1 { font-size: 4rem; line-height: 1.1; font-weight: 800; margin-bottom: 1.5rem; }
.gradient-text { background: linear-gradient(to right, var(--primary) 0%, #fef08a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 550px; color: var(--text-muted);}

@media (max-width: 992px) {
    .hero { flex-direction: column; justify-content: center; text-align: center; padding-top: 130px; gap: 2rem; padding-bottom: 4rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { margin: 0 auto 2.5rem; }
}

/* Visual Card Hero */
.hero-visual { flex: 1; display: flex; justify-content: center; perspective: 1000px; }
.glass-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 2.5rem; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8); }
.main-card { width: 100%; max-width: 420px; transition: transform 0.4s ease; transform-style: preserve-3d; }
.card-header { display: flex; justify-content: space-between; margin-bottom: 1.5rem; align-items: center;}
.dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); margin-right: 5px; }
.badge { background: rgba(37, 99, 235, 0.2); color: #93c5fd; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; border: 1px solid rgba(37, 99, 235, 0.4); }
.price-big { font-size: 3rem; font-weight: 800; color: white; }
.price-sub { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.graph { display: flex; align-items: flex-end; gap: 12px; height: 90px; border-bottom: 1px solid var(--glass-border); padding-bottom: 5px; }
.bar { flex: 1; background: var(--glass-border); border-radius: 4px 4px 0 0; }
.gradient-bar { background: linear-gradient(to top, var(--secondary), #60a5fa); box-shadow: 0 0 15px rgba(37,99,235,0.4); }
.h-40 { height: 40%; } .h-50 { height: 50%; } .h-60 { height: 60%; } .h-70 { height: 70%; } .h-90 { height: 90%; }

/* Advanced Calculator DIME */
.advanced-calc-section { padding: 6rem 10%; background: rgba(0,0,0,0.3); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.8rem; font-weight: 800; color: white; }
.divider { width: 80px; height: 4px; background: var(--primary); margin: 15px auto 25px; border-radius: 5px; }

.calc-container { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; max-width: 1400px; margin: 0 auto; }
@media (max-width: 1100px) { .calc-container { grid-template-columns: 1fr; } }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .calc-grid { grid-template-columns: 1fr; } }

.input-group label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.95rem; color: #cbd5e1; }
.input-group label i { margin-right: 5px; width: 16px; text-align: center; }

.dim-input { 
    width: 100%; padding: 12px 15px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; font-family: inherit; font-size: 1rem; transition: 0.3s; background: var(--input-bg); color: white;
}
.dim-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2); }
select.dim-input option { background: #0f172a; color: white; }

/* Charts */
.charts-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .charts-wrapper { grid-template-columns: 1fr; } }
.chart-glass-box { background: rgba(0,0,0,0.2); padding: 20px; border-radius: 12px; border: 1px solid var(--glass-border); height: 300px; }

/* Results Sidebar */
.sticky-sidebar { position: sticky; top: 100px; height: fit-content; background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, rgba(0,0,0,0.4) 100%); border-top: 3px solid var(--primary); }
.result-box { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.result-label { font-size: 0.9rem; color: var(--text-muted); display: block; margin-bottom: 5px;}
.result-value { font-size: 2.2rem; font-weight: 800; }

/* Recruitment Section */
.recruit-glass-section { padding: 6rem 10%; position: relative; }
.recruit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 992px) { .recruit-grid { grid-template-columns: 1fr; } }
.benefits-list { list-style: none; margin-bottom: 2rem; }
.benefits-list li { margin-bottom: 1rem; font-size: 1.1rem; color: #e2e8f0; display: flex; align-items: center;}
.benefits-list i { margin-right: 15px; font-size: 1.2rem; }
.glass-img { width: 100%; border-radius: 16px; border: 1px solid var(--glass-border); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }

/* Grid Cards (Testimonials & Blog) */
.services, .blog-section { padding: 6rem 10%; }
.grid-cards, .blog-grid { display: grid; gap: 2.5rem; }
.grid-cards { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.blog-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.testimonial .stars { color: var(--primary); font-size: 1.5rem; margin-bottom: 1rem; }
.testimonial p { font-style: italic; margin-bottom: 1.5rem; color: #cbd5e1; }
.client-info strong { display: block; color: white; }

.blog-tag { display: inline-block; padding: 4px 10px; background: rgba(212, 175, 55, 0.15); color: var(--primary); border-radius: 4px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.blog-post h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.blog-post { transition: transform 0.3s, border-color 0.3s; }
.blog-post:hover { border-color: var(--primary); transform: translateY(-5px); }

/* Footer */
.glass-footer { background: rgba(0,0,0,0.7); border-top: 1px solid var(--glass-border); padding: 4rem 10% 1.5rem; }
.footer-content { display: grid; grid-template-columns: 2.5fr 1.5fr 1.5fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 992px) { .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 768px) { .footer-content { grid-template-columns: 1fr; text-align: center; } .footer-brand > div { justify-content: center; } }
.footer-links ul { list-style: none; }
.footer-links li, .footer-contact p { margin-bottom: 0.8rem; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; color: #64748b; font-size: 0.9rem; }

/* Custom Cursor Trailing */
.cursor-outline { width: 40px; height: 40px; border: 2px solid var(--primary); position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; transition: width 0.2s, height 0.2s, background-color 0.2s; }
.cursor-dot { width: 8px; height: 8px; background-color: var(--primary); position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 10000; pointer-events: none; }
@media(max-width: 1024px) { .cursor-outline, .cursor-dot { display: none !important; } }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.mobile-hidden { display: inline-block; }
@media(max-width: 768px) { 
    .mobile-hidden { display: none !important; } 
    .mobile-toggle { display: block; }
    .logo { font-size: 1.4rem; }
    .nav-links {
        position: fixed; top: 75px; right: -100%; width: 250px; height: calc(100vh - 75px); 
        background: rgba(11,17,33,0.98); flex-direction: column; padding: 2rem; 
        transition: 0.3s ease; border-left: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
    .nav-links a { font-size: 1.2rem; }
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.floating-wa:hover {
    transform: scale(1.1);
}
