/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    color: white;
    position: relative; 
    width: 100%;
    background: url('https://caosgrowth.com/storage/img/caos-background.webp') no-repeat center center/cover;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* ← ajustá esto */
  pointer-events: none;
}

/* ===== HERO CONTENT ===== */
.hero-content {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding: 5% 10%;
    gap: 40px;
}

.hero-title-container {
    display: grid;
   
}

.hero-text {
    flex: 1;
    max-width: 65%;
    z-index: 2;
    text-align: center;

}

.hero-title {
    font-family: "Poppins", Sans-serif;
    font-size: clamp(2rem, 4vw, 4.3rem);
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
}

.hero-line-1 {
    font-family: "Poppins", Sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
}

.hero-line-2 {
    font-family: "Aminute", Sans-serif;
    font-size: clamp(2rem, 6vw, 4.7rem);
    font-weight: 500;
    line-height: 1.05;
    color: #E67E22;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    line-height: 1.6;
    color: #CFA77A;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}


.hero-image {
    position: absolute;
    bottom: 0;
    right: 15%; /* mismo padding horizontal que hero-content */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image img {
    width: auto;
    height:clamp(400px, 45vw, 500px);
    object-fit: cover;
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;  /* quita la altura mínima */
        height: auto;      /* se ajusta al contenido */
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;   /* vertical */
        align-items: center;       /* horizontal */
        text-align: center;
        padding: 20px 3rem 10%;
    }

    .hero-title {
        padding-top: 0px;
    }

    .hero-text {
        max-width: 600px;
        text-align: center;
        align-self: center;
    }

    .hero-image {
        display: none;
    }
}
