:root {
    --gold: #d8b56a;
    --dark: #0f0f0f;
    --light: #ffffff;
    --gray: #777;
    --max-width: 1100px;
    --radius: 14px;
  }
  *{box-sizing:border-box}
  body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: #f8f8f8;
    color: #333;
  }
  img{
    max-width:100%;
    display:block;
    border-radius:12px
}
  /* hero_HiEms */
  .hero_HiEms {
    position: relative;
    overflow: hidden;
    height: 60vh; /* 100% del alto de la pantalla */
    display: flex;
    align-items: center;
}

/* Imagen como fondo */
.hero_HiEms-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;


    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.28); /* oscurece el fondo un poco para leer mejor el texto */
}

/* CONTENIDO */
.hero_HiEms-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero_HiEms-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #fff;
}

.hero_HiEms-content h1 span {
    color: #d4af37;
}

.hero_HiEms-content p {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Botón */
.btn-primaryHiEms {
    display: inline-block;
    padding: 15px 32px;
    background: #d4af37;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-primaryHiEms:hover {
    background: #b8962f;
}


.btn-primaryHiEms {
    display: inline-block;
    padding: 14px 26px;
    background: #d4af37;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primaryHiEms:hover {
    background: #b8962f;
}

  
  .btn-primaryHiEms {
    background: var(--gold);
    color: var(--dark);
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
  }
  
  /* BENEFICIOS */
  .beneficios {
    max-width: var(--max-width);
    margin: 70px auto;
    padding: 0 20px;
    text-align: center;
  }
  
  .beneficios .grid {
    margin-top: 40px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  
  .beneficios .item {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  /* COMO FUNCIONA */
  .funciona {
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 90px auto;
    padding: 20px;
  }
  
  .funciona img {
    width: 100%;
    border-radius: var(--radius);
  }
  
  /* ZONAS */
  .zonas {
    text-align: center;
    margin: 80px auto;
    padding: 0 20px;
  }
  
  .zonas ul {
    list-style: none;
    padding: 0;
  }
  
  .zonas li {
    margin: 8px 0;
    font-size: 1.1rem;
  }
  
  /* CTA */
  .ctaHiems {
    text-align: center;
    margin-bottom: 5%;
    padding: 80px 20px;
    background: var(--dark);
    color: white;
  }
  
  .ctaHiems a {
    background: var(--gold);
    padding: 14px 28px;
    border-radius: var(--radius);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
  }
  
  /* RESPONSIVE */
  @media (max-width: 950px) {
    .hero_HiEms {
        padding: 130px 20px;
        min-height: 90vh;
    }
    .hero_HiEms-content h1 {
        font-size: 2.4rem;
    }
    .hero_HiEms-content p {
        font-size: 1.2rem;
    } .hero_HiEms {
        padding: 130px 20px;
        min-height: 50vh;
    }
    .hero_HiEms-content h1 {
        font-size: 2.4rem;
    }
    .hero_HiEms-content p {
        font-size: 1.2rem;
    }
  
    .funciona {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }
  

  /* Celulares */
@media (max-width: 780px) {
    .hero_HiEms {
       
        height: 50vh; 
    }

    .hero_HiEms-img {
        filter: brightness(0.50); /* oscurece más para mejor legibilidad */
        object-position: center top; /* ajusta enfoque del banner */
    }

    .hero_HiEms-content h1 {
        font-size: 1.9rem;
    }

    .hero_HiEms-content p {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }

    .btn-primaryHiEms {
        padding: 14px 26px;
        font-size: 1rem;
    }
}