/* ===== HOME SECTION - HERO ===== */

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 8% 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ===== CONTENIDO DEL HOME ===== */
.home-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
}

.home-content h1 {
    font-family: var(--font-secondary);
    font-size: 5rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, #23282d 0%, #1c2630 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out;
}

.home-content h3 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: #303030;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    animation: slideInLeft 1s ease-out 0.2s both;
}

/* ===== BOTÓN PRINCIPAL ===== */
.btn {
    display: inline-block;
    margin-top: var(--spacing-xl);
    padding: 12px 35px;
    background: linear-gradient(135deg, #b40522 0%, #99071f 100%);
    border: 2px solid #c82333;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
    color: var(--text-white);
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: transparent;
    color: #dc3545;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

/* ===== IMAGEN DEL HOME ===== */
.home-img {
    position: relative;
    right: -7%;
    width: 450px;
    height: 450px;
    z-index: 5;
}

/* ===== CÍRCULOS DECORATIVOS ===== */
.home-img .circle {
    position: absolute;
    border-radius: 100%;
    top: 35%;
    right: -70%;
    width: 1000px;
    height: 1000px;
    background: #d46464;
    z-index: -3;
    animation: float 6s ease-in-out infinite;
}

.home .circle2 {
    position: absolute;
    border-radius: 100%;
    top: -10%;
    right: -27%;
    width: 1000px;
    height: 1000px;
    background: #b2c5e5;
    z-index: -4;
    animation: float 8s ease-in-out infinite reverse;
}

.home .circle3 {
    position: absolute;
    border-radius: 100%;
    top: 40%;
    right: 0%;
    width: 1000px;
    height: 1000px;
    background: #91c87a;
    z-index: -2;
    animation: float 10s ease-in-out infinite;
}

.home .circle4 {
    position: absolute;
    border-radius: 100%;
    top: 20%;
    right: -35%;
    width: 1000px;
    height: 1000px;
    background: #fde47f;
    z-index: -1;
    animation: float 12s ease-in-out infinite reverse;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .home {
        padding: 50px 6% 0;
    }
    
    .home-content h1 {
        font-size: 4rem;
    }
    
    .home-content h3 {
        font-size: 2rem;
    }
    
    .home-img {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 1024px) {
    .home {
        flex-direction: column;
        text-align: center;
        padding: 100px 5% 50px;
        justify-content: center;
    }
    
    .home-content {
        max-width: 100%;
        margin-bottom: var(--spacing-xl);
    }
    
    .home-content h1 {
        font-size: 3.5rem;
    }
    
    .home-content h3 {
        font-size: 1.8rem;
    }
    
    .home-img {
        position: static;
        width: 350px;
        height: 350px;
    }
    
    /* Ajustar círculos para tablet */
    .home-img .circle,
    .home .circle2,
    .home .circle3,
    .home .circle4 {
        width: 800px;
        height: 800px;
    }
}

@media (max-width: 768px) {
    .home {
        padding: 120px 4% 30px;
        min-height: 100vh;
    }
    
    .home-content h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .home-content h3 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 1rem;
        margin-top: var(--spacing-lg);
    }
    
    .home-img {
        width: 280px;
        height: 280px;
    }
    
    /* Ajustar círculos para móvil */
    .home-img .circle,
    .home .circle2,
    .home .circle3,
    .home .circle4 {
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 480px) {
    .home {
        padding: 100px 3% 20px;
    }
    
    .home-content h1 {
        font-size: 2.2rem;
    }
    
    .home-content h3 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .home-img {
        width: 220px;
        height: 220px;
    }
    
    /* Círculos más pequeños para móviles pequeños */
    .home-img .circle,
    .home .circle2,
    .home .circle3,
    .home .circle4 {
        width: 400px;
        height: 400px;
    }
}