/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-size: 68px;
    font-weight: 700;
    color: #00b4d8;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 24px;
    color: #4a5568;
    font-weight: 300;
    line-height: 1.6;
    max-width: 500px;
    word-wrap: break-word;
}

.hero-image {
    flex: 0.55;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 260px; /* antes 320px */
    height: auto;
    display: block;
}

/* ===== EFECTO SOLO EN DESKTOP ===== */
@media (min-width: 769px) {
    .hero-image img {
        transform: translateY(-90px);
    }
}

/* ===== VERSIÓN MÓVIL ===== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .hero-text {
        text-align: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
        white-space: normal;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
        white-space: normal;
        padding: 0 10px;
    }
    
    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 220px; /* más pequeña en móvil */
        transform: translateY(0);
    }
}

/* ===== MÓVIL PEQUEÑO ===== */
@media (max-width: 480px) {
    .hero {
        padding: 50px 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}