/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #475569;
}

.subhead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #475569;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-wa {
    background-color: #25D366;
    color: white;
}

.btn-wa:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #0f172a;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    text-decoration: none;
}

.logo span {
    color: #2563eb;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #334155;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2563eb;
}

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

/* ===== HERO ===== */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #334155;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
}

.badge {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}

/* ===== SECCIONES ===== */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: #f8fafc;
}

/* ===== TARJETAS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.card {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

/* ===== CATEGORÍAS DE SERVICIOS TI ===== */
.service-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #2563eb;
}

.category-header i {
    font-size: 2rem;
    color: #2563eb;
}

.category-header h3 {
    margin-bottom: 0;
    font-size: 1.75rem;
}

/* ===== COMPARACIÓN AUTOS ===== */
.comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 40px 0;
}

.comp-card {
    background: white;
    border-radius: 28px;
    padding: 28px;
    flex: 1;
    min-width: 240px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-top: 4px solid #2563eb;
}

.comp-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.comp-card h4 span {
    font-size: 1rem;
    font-weight: normal;
    color: #64748b;
}

.comp-card ul {
    list-style: none;
    margin-top: 1rem;
}

.comp-card li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-card i.fa-check-circle {
    color: #16a34a;
}

/* ===== BENEFICIOS ===== */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 2.2rem;
    color: #2563eb;
    margin-bottom: 16px;
}

/* ===== SIMULADOR ===== */
.simulator-card {
    background: #f8fafc;
    border-radius: 32px;
    padding: 32px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.simulator-card h3 {
    margin-bottom: 1rem;
}

.simulator-card p {
    max-width: 600px;
    margin: 0 auto 20px;
}

/* ===== CONTACTO ===== */
.contact-section {
    background: #0f172a;
    color: white;
    text-align: center;
}

.contact-section h2 {
    color: white;
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 20px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.contact-phone {
    margin-top: 40px;
    opacity: 0.8;
}

/* ===== FOOTER ===== */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .section {
        padding: 50px 0;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 16px;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    
    .comparison {
        flex-direction: column;
    }
    
    .comp-card {
        width: 100%;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .category-header h3 {
        font-size: 1.4rem;
    }
}