/* ========================================
   HERO SECTION - Estilos
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--gray-50);
    overflow: hidden;
}

.hero-dark {
    background: var(--gradient-hero);
}

.hero-dark .hero-title,
.hero-dark .hero-description {
    color: var(--white);
}

.hero-dark .hero-description {
    color: rgba(255, 255, 255, 0.85);
}

.hero-dark .benefit-inline {
    color: rgba(255, 255, 255, 0.9);
}

.hero-dark .benefit-inline i {
    color: var(--accent);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230052CC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-grid-reversed {
    direction: ltr;
}

.hero-text {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.hero-title .text-primary {
    color: var(--primary);
}

.hero-title .text-accent {
    color: var(--accent);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--secondary);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trust-text {
    font-size: var(--text-sm);
    color: var(--secondary);
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: var(--text-2xl);
    transition: color var(--transition-fast);
}

.trust-logo:hover {
    color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    display: none;
}

.hero-visual.hero-visual-tablet {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-tablet-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

/* Hero Benefits Mobile */
.hero-benefits-mobile {
    display: block;
    margin-bottom: 1.5rem;
}

.benefits-list-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    justify-items: start;
}

.benefit-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--gray-700);
    text-align: left;
    justify-content: flex-start;
}

.benefit-inline i {
    color: var(--success);
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 480px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .benefits-list-inline {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .benefits-list-inline {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-tablet-image {
        max-height: 450px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-grid-reversed {
        direction: rtl;
    }
    
    .hero-grid-reversed > * {
        direction: ltr;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-description {
        margin: 0 0 2rem 0;
    }
    
    .hero-cta {
        justify-content: flex-start;
    }
    
    .hero-trust {
        align-items: flex-start;
    }
    
    .hero-visual {
        display: block;
    }
    
    .hero-tablet-image {
        max-height: 500px;
    }
    
    .benefits-list-inline {
        grid-template-columns: repeat(2, 1fr);
        justify-items: start;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
    
    .hero-tablet-image {
        max-height: 550px;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 340px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: var(--text-2xl);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: var(--text-base);
        margin-bottom: 1.5rem;
    }
    
    .hero-tablet-image {
        max-width: 100%;
        height: auto;
    }
    
    .benefits-list-inline {
        gap: 0.375rem;
    }
    
    .benefit-inline {
        font-size: var(--text-xs);
    }
    
    .benefit-inline span {
        line-height: 1.4;
    }
    
    .benefit-inline i {
        font-size: 0.75rem;
    }
}
