/* ===== HERO HOME ===== */
.hero-section {
    min-height: fit-content;
    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-text {
    flex: 1;
    max-width: 50%;
    z-index: 2;
    align-self: start;
}

.hero-title-container {
    display: grid;
   
}

.hero-title {
    font-family: "Poppins", Sans-serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero-line-1 {
    font-family: "Poppins", Sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-line-2 {
    font-family: "Aminute", Sans-serif;
    font-size: clamp(2.7rem, 9vw, 6.5rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #E67E22;
}

.hero-text p {
    font-family: "Aminute", Sans-serif;
    font-size: clamp(2.1rem, 2vw, 1.4rem);
    color: #CFA77A;
}


.hero-image {
    position: absolute;
    bottom: 0;
    right: 8%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 40%;
}

.hero-image img {
    height: auto;
    object-fit: cover;
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 992px) {
    .hero-section {
        min-height: fit-content;  /* quita la altura mínima */
        height: auto;      /* se ajusta al contenido */
    }

    .hero-content {
        justify-content: center;   /* vertical */
        align-items: center;       /* horizontal */
        text-align: center;
    }

    .hero-title {
        padding-top: 0px;
    }

    .hero-text {
        max-width: 600px;
        text-align: center;
        align-self: center;
    }

    .hero-image {
        display: none;
    }
}
