/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(45, 89, 134, 0.95) 100%),
        url('../img/hero-bg.jpg') center/cover;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #b8d4f1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estadísticas */
.stats-section {
    background: #fff;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 100%);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #4a9eff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a9eff, #357abd);
    border-radius: 50%;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #2d5986;
    font-weight: 600;
}

/* Servicios destacados */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a9eff, #7cb8ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(74, 158, 255, 0.2);
    border-color: #4a9eff;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a9eff, #357abd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.3);
}

.service-card h3 {
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Sección de productos */
.products-preview {
    padding: 5rem 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8f4ff 0%, #d4e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #4a9eff;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5986 100%);
    color: #fff;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: #b8d4f1;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}