:root {
    --primary: #0052cc;
    --primary-hover: #003d99;
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-soft: 0 20px 40px -10px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-main); color: var(--text-main); font-family: 'Plus Jakarta Sans', sans-serif; overflow-x: hidden; scroll-behavior: smooth; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; color: var(--text-main); }
p { line-height: 1.7; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.pulse-green { animation: pulseGreen 2s infinite; }

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 30px 5%; background: rgba(255, 255, 255, 0.95); position: fixed; width: 100%; top: 0; z-index: 100; transition: all 0.3s ease; backdrop-filter: blur(10px); }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--text-main); letter-spacing: -1px; }
.nav-links { list-style: none; display: flex; gap: 40px; align-items: center; }
.nav-links a:not(.btn-login) { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.3s; }
.nav-links a:not(.btn-login):hover { color: var(--primary); }

/* Buttons */
.btn-primary { background: var(--primary); color: #fff; padding: 16px 32px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; box-shadow: 0 10px 20px -5px rgba(0, 82, 204, 0.3); font-family: 'Plus Jakarta Sans', sans-serif; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(0, 82, 204, 0.4); }
.btn-login { background: var(--bg-light); color: var(--text-main); padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; border: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.btn-login:hover { background: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }

/* Hero */
.hero { min-height: 100vh; padding: 120px 5% 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1400px; margin: 0 auto; }
.pill { display: inline-block; padding: 8px 16px; background: #e0e7ff; color: var(--primary); border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 30px; letter-spacing: 0.5px; }
.hero-content h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 30px; }
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 90%; }
.mt-4 { margin-top: 40px; }
.logos-row { display: flex; gap: 20px; margin-top: 10px; font-size: 2rem; color: #cbd5e1; }
.hero-image { position: relative; }
.hero-image img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-soft); }
.floating-card { position: absolute; bottom: -30px; left: -30px; background: #fff; padding: 25px; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border: 1px solid var(--border); }
.metric { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 5px; }
.metric-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* Sections */
.section { padding: 100px 5%; }
.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 20px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* Layouts */
.align-center { align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1300px; margin: 0 auto; }
.modern-card { background: #fff; padding: 50px 40px; border-radius: 20px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); border: 1px solid var(--border); transition: all 0.4s ease; display: flex; flex-direction: column; }
.modern-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); border-color: transparent; }
.card-icon { width: 60px; height: 60px; background: var(--bg-light); color: var(--primary); border-radius: 14px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; margin-bottom: 30px; }
.modern-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.modern-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; flex-grow: 1; }
.card-link { color: var(--primary); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; transition: gap 0.3s; }
.card-link:hover { gap: 12px; }

/* Testimonials Corporate */
.testimonials-corporate { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
.testimonial-corp { background: #fff; padding: 40px; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.quote-icon { color: #e2e8f0; font-size: 3rem; margin-bottom: 20px; }
.testimonial-corp p { font-size: 1.1rem; color: var(--text-main); font-style: italic; margin-bottom: 30px; }
.author-corp h4 { margin-bottom: 5px; color: var(--primary); }
.author-corp span { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ & Forms */
.faq-corp { background: #fff; border: 1px solid var(--border); padding: 25px; border-radius: 12px; margin-bottom: 15px; cursor: pointer; transition: 0.3s; }
.faq-corp:hover { border-color: var(--primary); box-shadow: var(--shadow-soft); }
.faq-question { display: flex; justify-content: space-between; font-weight: 600; color: var(--text-main); }
.contact-card { background: #fff; padding: 40px; border-radius: 20px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.corp-input { padding: 15px 20px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; background: var(--bg-light); color: var(--text-main); outline: none; cursor: pointer; }
.corp-input:focus { border-color: var(--primary); }

/* Footer Corporativo */
.footer { padding: 80px 5% 40px; border-top: 1px solid var(--border); max-width: 1400px; margin: 0 auto; background: var(--bg-light); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-info p { color: var(--text-muted); font-size: 0.95rem; margin-top: 15px; }
.footer-links h4, .footer-contact-info h4 { margin-bottom: 20px; font-size: 1.1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--primary); }
.footer-contact-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 15px; display: flex; gap: 10px; line-height: 1.6; }
.footer-contact-info p i { color: var(--primary); margin-top: 5px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 30px; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

/* WhatsApp Btn */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; text-decoration: none; z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* Corporate Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.8); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 1; transition: opacity 0.3s ease; backdrop-filter: blur(4px); }
.modal-overlay.hidden { opacity: 0; pointer-events: none; }
.corporate-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 500px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: translateY(0); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.modal-overlay.hidden .corporate-modal { transform: translateY(20px); }
.modal-top-bar { height: 6px; background: #ef4444; width: 100%; }
.modal-content { padding: 40px; text-align: center; }
.modal-icon i { font-size: 3rem; color: #ef4444; margin-bottom: 20px; }
.corporate-modal h2 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.corporate-modal p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.corporate-modal strong { color: #ef4444; }
.alert-box { background: #fef2f2; border: 1px solid #fee2e2; border-radius: 8px; padding: 20px; margin-bottom: 30px; text-align: left; }
.alert-box p { color: #991b1b; margin: 0; font-size: 0.9rem; line-height: 1.6; }
.modal-actions { display: flex; justify-content: center; }
.modal-actions button { width: 100%; }
