/* ============================================================
   02. HERO / INICIO
   Fondo: Gradiente azul (#028090 → #00a896)
   ============================================================ */

.hero-section {
    background: linear-gradient(135deg, #028090 0%, #00a896 100%);
    color: #ffffff;
    padding: 60px 0 80px;
    margin-top: -1px;
    overflow: visible;  /* ← Permite que la imagen sobresalga */
}

.hero-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: visible;  /* ← Permite que la imagen sobresalga */
    position: relative;
}

.hero-text {
    flex: 1 1 380px;
}

.hero-tag {
    color: #02c39a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-text h1 .text-highlight {
    color: #02c39a;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 28px;
    line-height: 1.6;
    color: #ffffff;
}

/* ===== BOTÓN PRIMARIO ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #00a896;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #02c39a;
    transform: scale(1.05);
}

.btn-primary i {
    font-size: 0.9rem;
}

/* ============================================================
   IMAGEN DEL HERO (PC: más grande y sobresaliente)
   ============================================================ */
.hero-img {
    flex: 0 0 320px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
    display: block;
}

/* ===== SOLO PC: Imagen más grande y sobresaliente ===== */
@media (min-width: 769px) {
    .hero-img {
        flex: 0 0 450px;  /* ← Contenedor más grande */
        margin-top: -40px;   /* ← Saca la imagen hacia arriba */
        margin-bottom: -40px; /* ← Saca la imagen hacia abajo */
        z-index: 2;
    }

    .hero-image {
        max-width: 550px;  /* ← Imagen más grande */
        width: 550px;
        height: auto;
        filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.3));
    }
}

/* ============================================================
   RESPONSIVE (tablets)
   ============================================================ */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-img {
        flex: 0 0 380px;
        margin-top: -20px;
        margin-bottom: -20px;
    }
    .hero-image {
        max-width: 420px;
        width: 420px;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

/* ============================================================
   RESPONSIVE (móviles y tablets pequeñas)
   ============================================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }

    /* En móvil la imagen vuelve a su tamaño normal */
    .hero-img {
        flex: 0 0 100%;
        order: -1;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }
    .hero-image {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
    }
}

/* ============================================================
   RESPONSIVE (móviles pequeños)
   ============================================================ */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .hero-image {
        max-width: 300px;
        margin: 0 auto;
    }
}