:root {
    --primary: #0F172B; /* Dark navy */
    --primary-light: #1E293B;
    --accent: #25D366; /* WhatsApp green */
    --accent-hover: #1EBE57;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --bg-main: #0B1120;
    --bg-surface: #172136;
    
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.text-center {
    text-align: center;
}

/* Utilities */
.divider {
    height: 4px;
    width: 60px;
    background: var(--accent);
    margin: 20px auto;
    border-radius: 2px;
}
.divider-left {
    height: 4px;
    width: 60px;
    background: var(--accent);
    margin: 20px 0;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 43, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 55px;
    object-fit: contain;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #E2E8F0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background-color: var(--accent);
    color: white !important;
    border: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-conversemos {
    animation: crecerDecrecer 1.5s linear infinite alternate;
}

@keyframes crecerDecrecer {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 240px 0 150px;
    background: linear-gradient(rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.98)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.03"><rect width="100" height="100" fill="%23ffffff"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: #CBD5E1;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #FFFFFF;
    color: var(--primary);
}

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

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text h2 span {
    color: var(--accent-hover);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #334155;
}

.experience-counter {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #F8FAFC;
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    display: inline-flex;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
}

.counter-text {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--primary);
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 80%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.floating-shield {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Risks Section */
.risks {
    padding: 100px 0;
    background: var(--bg-main);
}

.risks .section-header h3 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}
.risks .section-header h3 span {
    color: var(--accent);
}

.risks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.risk-card {
    background: var(--bg-surface);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.risk-card:hover {
    transform: translateY(-10px);
    background: #1E293B;
    border-color: rgba(255,255,255,0.1);
}

.risk-icon {
    margin-bottom: 20px;
    color: var(--accent);
}

.risk-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.risk-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-surface);
}

.services .section-header h2 {
    font-size: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: 16px;
    border-top: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-top-color: var(--accent);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Trust Badges */
.trust-badges {
    background: #0B1120;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-badges p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.2);
    transition: var(--transition);
    cursor: default;
}

.trust-logo:hover {
    color: rgba(255,255,255,0.6);
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: #172136;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.why-card {
    background: #0F172B;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.02);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(37, 211, 102, 0.3);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-hover);
}

.why-card p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #0B1120;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: #172136;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    border-left: 4px solid var(--accent);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
}

.client-info strong {
    display: block;
    color: #FFF;
    font-family: var(--font-heading);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA */
.cta-section {
    padding: 120px 0;
    background: var(--primary);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(37, 211, 102, 0.05) 0%, transparent 60%);
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #050810;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-logo-col img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-logo-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    background: #03050a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-wa:hover {
    transform: scale(1.1);
}

.float-wa svg {
    width: 35px;
    height: 35px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
/* Lead Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5,8,16,0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #0F172B;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #FFF;
}

.modal-content h2 {
    margin-bottom: 10px;
    color: #FFF;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #FFF;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.form-msg {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
}
.msg-success { color: var(--accent); }
.msg-error { color: #ff6b6b; }

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .divider-left {
        margin: 20px auto;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .risks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .risks-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
