/* ===================================================
   MEDIA QUERIES RESPONSIVE GRUEROS.HTML
==================================================== */

/* =============================
   Celulares - GENERAL (max-width: 575px)
============================= */
@media (max-width: 575px) {

  /* ===== HERO ===== */
  .Seccion_principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 60px auto;
    box-sizing: border-box;
    padding: 70px 4vw 24px 4vw; /* Bajar la sección y agregar espacio abajo */
    gap: 0;
  }

  .Titulo_Principal {
    width: 100%;
    text-align: center;
    white-space: normal;
    padding: 4px 0 0 0;
    margin: 0 0 0 0;   /* Espacio abajo del título */
    max-width: 100%;
  }
  
  .Titulo_Principal h1 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
   margin-bottom: 10px;;
  }
  .Subtitulo_Principal {
    font-size: 1.2rem;
    margin: 0 0 0.3em 0;
    font-weight: 600;
    line-height: 1.25;
  }
  .subtexto_principal {
    font-size: 2rem;
    margin: 0 0 0.2em 0;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
    max-width: 100vw;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .boton-grueros-a {
    text-decoration: none;
  }
  .btn-grueros.btn-general {
    width: 100%;
    font-size: 1.09rem;
    margin: 14px 0 8px 0;
    text-decoration: none;
    padding: 0.9em 0;
    display: block;
  }
  
  .subtexto_boton {
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    text-align: center;
  }

  /* ===== FONDO NARANJA HERO ===== */
  .Contenedor_fondo_naranja {
    background-color: rgb(248, 240, 230);
    width: 100%;
    min-height: 288px;
    height: 520px;
    clip-path: ellipse(80% 90% at 50% 0%);
    position: relative;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
  }

  /* ===== BOXES BENEFICIOS ===== */
  .grid_beneficios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 4vw;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .caja_beneficios, .caja_beneficios_naranja {
    width: 100%;
    max-width: 100%;
    padding: 20px 10px;
    font-size: 1rem;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .caja_beneficios h3,
  .titulo_caja_beneficios_SUUAM {
    font-size: 1.12rem;
    margin-bottom: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
    font-weight: 700;
  }
  .caja_beneficios p,
  .caja_beneficios_SUUAM p {
    font-size: 1rem;
    line-height: 1.35;
    white-space: normal;
    margin: 0 0 6px 0;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* ===== INSTRUCCIONES ===== */
  .Seccion_Instrucciones {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 6vw 4px 6vw;
  }
  .instrucciones {
    padding: 0 2vw 0 2vw;
    margin: 0;
    text-align: left;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .titulo_instrucciones {
    font-size: 1.3rem;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    font-weight: 600;
  }
  .lista_instrucciones {
    margin-top: 18px;
    margin-bottom: 10px;
    padding-left: 8px;
    text-align: left;
    font-size: 1rem;
    width: 100%;
  }
  .items_instrucciones {
    margin-bottom: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .botones_redireccion_instrucciones {
    display: flex;
    gap: 10px;
    margin-top: 34px;
    justify-content: flex-start;
    align-items: center;
  }
  .icono_google_play {
    width: 120px;
    max-width: 120px;
    height: 38px;
    object-fit: contain;
    display: block;
  }
  .icono_app_store {
    width: 110px;
    max-width: 110px;
    height: 38px;
    object-fit: contain;
    display: block;
  }
  .contenedor_imagen_instrucciones {
    width: 100vw;
    max-width: 98vw;
    min-height: unset;
    margin: 0 auto 16px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
  }
  .imagen_instrucciones {
    width: 90vw;
    max-width: 100vw;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* ===== SECCION "SUMATE" ===== */
  .Seccion_sumate{
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -8rem;
    margin-bottom: -1rem;
  }

  .Contenedor_imagen_curva {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Contenedor_imagen_curva img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .Contenido_sumate_suuam{
    position: absolute;
    z-index: 2;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 280px;
    padding: 1rem 1.5rem;
  }

  .Contenido_sumate_suuam h2 {
    font-size: 0.85rem;
    margin: 0 0 0.8rem 0;
    font-weight: 700;
  }

  .Contenido_sumate_suuam img{
    margin-top: 5px;
    width: 80%;
    height: auto;
  }


  /* ===== SERVICIOS Y BENEFICIOS ===== */
  .Seccion_servicios_beneficios {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 6px 4vw 18px 4vw;
    margin-bottom: 24px;
    width: 100vw;
    max-width: 100vw;
  }
  .Contenedor_imagen_servicios_beneficios {
    order: -1;
    width: 100vw;
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .Imagen_servicios_beneficios {
    width: 92vw;
    max-width: 355px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .Contenedor_servicios_beneficios {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin-top: 12px;
  }
  .titulo_servicios_beneficios {
    text-align: center;
    font-size: 1.18rem;
    margin-bottom: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .lista_servicios {
    padding-left: 16px;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 1rem;
    width: 100%;
    text-align: left;
  }

  /* ===== RECOMPENSAS ===== */
  .Seccion_recompensas {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 20px 0;
    background-color: #e7e5e5;
    position: relative;
    min-height: 420px;
  }
  .Contenedor_imagen_recompensa {
    width: 100vw;
    min-height: 184px;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
    background: transparent;
  }
  .imagen_recompensa {
    width: 100vw;
    max-width: 100vw;
    min-height: 184px;
    height: 192px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
  }
  .Contenedor_informacion_recompensas {
    padding: 210px 10px 18px 10px;
    max-width: 97vw;
    width: 100%;
    margin: 0 auto;
    background: none;
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .Contenedor_informacion_recompensas h2 {
    font-size: 1.21rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: left;
  }
  .Contenedor_informacion_recompensas p,
  .Contenedor_informacion_recompensas ul {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 11px;
    padding-left: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .Lista_recompensas {
    list-style: disc inside;
    text-align: left;
    margin-bottom: 13px;
    padding-left: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* ===== FORMULARIO ===== */
  .Seccion_formulario {
    margin-top: 28px;
    padding: 28px 4vw;
    min-height: unset;
  }
  .Contenedor_formulario {
    padding: 0;
    max-width: 100vw;
  }
  .grupo-campos {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
    width: 100%;
  }
  .grupo-campos input,
  .grupo-campos select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .Titulo_formulario {
    padding-top: 20px;
    padding-bottom: 5px;
    font-size: 1.13rem;
    text-align: center;
  }
  .Subtitulo_formulario {
    padding-bottom: 14px;
    font-size: 1.01rem;
    text-align: center;
  }
  .Contenedor_boton_siguiente {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 18px;
  }

  /* ===== FAQ ===== */
  .Seccion_Preguntas {
    padding: 14px 6vw;
    max-width: 100vw;
    margin: 30px auto 0 auto;
    text-align: center;
  }
}

/* =============================
   Tablets Pequeñas y Medianas (576px - 991px)
============================= */
@media (min-width: 576px) and (max-width: 991px) {
  
   .Titulo_Principal h1 {
    font-size: 1.75rem;
    margin-top: 60px;
    margin-bottom: 10px;
    line-height: 1.22;
    font-weight: 700;
  }

  .Subtitulo_Principal {
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 700;
  }

  .subtexto_principal{
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 600;
  }

.subtexto_boton{
    padding-top: 10px;
}
  

  .Contenedor_fondo_naranja {
    min-height: 400px;
    height: 500px;
  }
  .grid_beneficios {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 24px;
  }
  .caja_beneficios, .caja_beneficios_naranja {
    padding: 20px 12px;
    font-size: 1em;
    min-width: 0;
    word-break: break-word;
  }

  /* Instrucciones: imagen arriba */
  .Seccion_Instrucciones {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 4vw 10px 4vw;
    gap: 0;
  }
  .contenedor_imagen_instrucciones {
    width: 92vw;
    max-width: 540px;
    min-height: unset;
    margin: 0 auto 15px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
  }
  .imagen_instrucciones {
    width: 86vw;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .instrucciones {
    text-align: left;
    align-items: flex-start;
    padding: 0 4vw;
    width: 100%;
  }
  .botones_redireccion_instrucciones {
    gap: 16px;
    margin-top: 32px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .icono_google_play {
    max-width: 130px;
    width: 130px;
    height: 40px;
    object-fit: contain;
    display: block;
  }
  .icono_app_store {
    max-width: 120px;
    width: 120px;
    height: 40px;
    object-fit: contain;
    display: block;
  }
/* ===== SECCION "SUMATE" ===== */
  .Seccion_sumate{
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -3rem;
  }

  .Contenedor_imagen_curva {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Contenedor_imagen_curva img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .Contenido_sumate_suuam{
    position: absolute;
    z-index: 2;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 380px;
    padding: 1.5rem 2rem;
  }

  .Contenido_sumate_suuam h2 {
    font-size: 1rem;
    margin: 0.5rem 0 0.8rem 0;
    font-weight: 700;
  }

  .Contenido_sumate_suuam img{
    margin-top: 5px;
    width: 90%;
    height: auto;
  }

  /* Servicios y beneficios: imagen arriba */
  .Seccion_servicios_beneficios {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 12px 4vw 18px 4vw;
    width: 100vw;
    max-width: 100vw;
  }
  .Contenedor_imagen_servicios_beneficios {
    order: -1;
    width: 100vw;
    margin: 0 auto 12px auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .Imagen_servicios_beneficios {
    width: 86vw;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .Contenedor_servicios_beneficios {
    width: 100%;
    padding: 0;
    margin-top: 0;
    box-sizing: border-box;
  }

  /* Recompensa: imagen arriba y fondo cubre */
  .Seccion_recompensas {
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    min-height: 420px;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 20px 0;
    position: relative;
  }
  .Contenedor_imagen_recompensa {
    width: 100vw;
    min-height: 248px;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
    background: transparent;
  }
  .imagen_recompensa {
    width: 100vw;
    max-width: 100vw;
    min-height: 220px;
    height: 248px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
  }
  .Contenedor_informacion_recompensas {
    padding: 250px 18px 22px 18px;
    max-width: 97vw;
    width: 100%;
    margin: 0 auto;
    background: none;
    position: relative;
    z-index: 2;
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  /* Formulario */
  .Seccion_formulario {
    margin-top: 36px;
    padding: 30px 4vw;
  }

  /* FAQ */
  .Seccion_Preguntas {
    padding: 20px 4vw;
    max-width: 100vw;
    margin: 22px auto 0 auto;
  }
}

/* =============================
   Laptop/Notebook (992px)
============================= */
@media (min-width: 992px) {
  .grid_beneficios {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    padding: 0 30px;
    max-width: 1100px;
  }
  .Seccion_principal {
    padding: 40px 32px 70px 32px; /* Más abajo para dar espacio en desktop */
 
  }

  .Titulo_Principal h1 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 700;
  }
  .Subtitulo_Principal {
    font-size: 1.5rem;
  margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.25;
  }
  .subtexto_principal {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .btn-grueros{
    margin: 20px 0 10px 0;
  }

  .Seccion_Instrucciones {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }
  .titulo_instrucciones {
    text-align: left;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-size: 2rem;
  }

  .caja_beneficios {
    min-height: fit-content;
    height: auto;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  /* ===== SECCION "SUMATE" ===== */
  .Seccion_sumate{
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -8rem;
    margin-bottom: -1rem;
  }

  .Contenedor_imagen_curva {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Contenedor_imagen_curva img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .Contenido_sumate_suuam{
    position: absolute;
    z-index: 2;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 550px;
    padding: 2rem 2.5rem;
  }

  .Contenido_sumate_suuam h2 {
    font-size: 1.5rem;
    margin: 0 1rem 0.8rem 1rem;
    font-weight: 700;
  }

  .Contenido_sumate_suuam img{
    margin-top: 5px;
    width: 100%;
    height: auto;
  }


  
}

/* =============================
   Desktop/Laptop Grande (1024px en adelante)
============================= */
@media (min-width: 1024px) {
  .grid_beneficios {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

.Titulo_Principal h1 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 700;
  }

.Subtitulo_Principal{
    font-size: 1.75rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.25;
}

.subtexto_principal {
    font-size: 2.25rem;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
}

.subtexto_boton{
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}
}

@media (min-width:1200px){
  .Titulo_Principal{
    margin: 0;
  }
  .subtexto_principal{
    font-size: 2.5rem;
  }

}
