/* Variables CSS */
:root {
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-300: #cccccc;
    --gray-700: #333333;
    --gray-800: #222222;
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --container-width: 1200px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    max-width: 700px;
    color: var(--gray-700);
}

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

a:hover {
    color: var(--primary-light);
    opacity: 0.9;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.9rem 2.25rem;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--black);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
    position: relative;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    color: var(--black);
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--black);
}

.dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 12rem 0 7rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e6f0ff 0%, #d0e1ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

/* Services */
.services {
    background-color: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary);
}

.soon-badge {
    display: inline-block;
    background-color: var(--gray-200);
    color: var(--gray-700);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-left: 0.5rem;
    vertical-align: super;
    font-weight: 600;
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.testimonial-quote {
    font-size: 3rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.1;
    color: var(--primary);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    background-color: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--black) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta h2::after {
    background-color: var(--white);
}

.cta .btn {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    margin-top: 1.5rem;
}

.cta .btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
    color: var(--white);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--gray-300);
}

.footer-link:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .about-content, .contact-content, .service-content {
        flex-direction: column;
    }
    
    .hero-text, .about-text {
        order: 1;
        text-align: center;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 3rem;
    }
    
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-item {
        margin: 0 0 1.5rem;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .feature-card, .service-card, .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}