@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Space+Grotesk:wght@300..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "DM Sans";
}
:root {
    --color-principal:#db2763;
    --color-secundario:#b0db43;
    --color-informacion-interaccion:#12eaea;
    --color-accion-boton:#D66A5D;
    --color-superficies-secundarias: #bce7fd;
    --color-acento-secundario:#c492b1; 
    --color-fondo:#F1EEE7;
    --color-texto-principal:#202124;
    --altura-linea-textos: 1.6;
    --altura-linea-titulos: 1.1;
    --ancho-contenedor: min(75rem, calc(100% - 2rem));
    --espaciado-base: 1rem;
    --sombra-caja: 0 4px 4px #00000040;
}
html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
  
  display: flex;
  height: 100%;
  width: 100%;

  /* background: blue; */
}
body {
    min-height: 100vh;
    max-width: 100vw;
    min-width: 100vw;
    
    padding: 0;
    margin: 0;
    background-color: var(--color-fondo);
}

h1,
h2,
h3,
h4,
a {
    font-family: "Space Grotesk";
    text-wrap: balance;
    line-height: var(--altura-linea-titulos);

}
header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-superficies-secundarias);

    width: 100%;
    padding: 0 1rem;
}
header #logo img {
    height: 100%;
    width: 7.5em;
}
header .paginas ul {
    list-style: none;

    display: flex;
    flex-direction: row;
    gap: 1rem;

    height: 100%;
    font-weight: 800;
} 
header.paginas li a {color: var(--color-accion-boton);}
header .paginas li a:hover { 
  font-style: none;
  color: var(--color-principal);
}

footer {
    justify-self: flex-end;
    background-color: var(--color-superficies-secundarias);
    color: var(--color-texto-principal);
}

.principal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--color-texto-principal);
}

/* Index */
.principal .contenedora {
  position: relative;
  min-height: 75vh;
  padding: 5rem 7vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;

  background-color: #f5f3ef;
  border-top: 2px solid #181818;
}

.principal .contenedora h1 {
  margin: 0 0 35px 0;
  
  font-size: 5em;
  line-height: 0.82;
  letter-spacing: -7px;
  
  font-weight: 900;
  text-transform: uppercase;
  
  color: #181818;

  transition:
        letter-spacing 0.25s ease,
        transform 0.25s ease;
}
.principal .contenedora:hover h1 {
    letter-spacing: -5px;
}

.principal .contenedora p {
  max-width: 650px;
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: #181818;
}

.principal .contenedora .botones {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;

  margin-top: 45px;
}

.principal .ayuda-opciones .contenedora {
  display: flex;
  flex-direction: column;
  justify-content: start;
  /* height: ; */
}
.principal .ayuda-opciones .contenedora h1 {
  margin-bottom: 1rem;
}

.principal #sentimiento {
  background-color: var(--color-fondo);
}
.principal #hago {
  background-color: var(--color-secundario);
  padding-top: 3rem;
}
.principal #hago h1{
  line-height: 80px;
}

.principal #hago p{
  margin-bottom: 0.5rem; 
}

.principal #ayuda {
  background-color: var(--color-superficies-secundarias) ;
}

.principal #preveni {
  background-color: var(--color-principal);
}

.principal #historias {
background-color: var(--color-informacion-interaccion);
}

.principal #nosotras {
  background-color: var(--color-acento-secundario);
}

  /* Botones */

.principal .contenedora .botones button,
.principal .contenedora a {
  appearance: none;
  width: 20%;
  text-align: center;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  border: 2px solid #181818;
  border-radius: 0;
  background-color: var(--color-texto-principal);
  color: var(--color-fondo);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
      background-color 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
}
.principal .contenedora .botones button[name="btn_pasando"] {
  background-color: transparent;
  color: #181818;
}

.principal .contenedora .botones button:hover {
  background-color: var(--color-accion-boton);
  color: var(--color-texto-principal);

  transform: translateY(-3px);
}

.principal .contenedora a:hover {
    background-color: var(--color-accion-boton);
    color: var(--color-fondo);

    transform: translateY(-3px);
}

.principal .ayuda-opciones .contenedora a {
  width: 70%;
  margin-top: auto;
}



/* Simulador / cuestionario */
#cuestionario {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;

    margin-bottom: 3em;
}

  /* aparicion y desaparecion de preguntas */
.oculto,
#cuestionario .pantalla,
#cuestionario .opciones input {display: none;}
#cuestionario .barra {
      width: 100%;
      height: 7px;
      background: var(--color-fondo);
      border-radius: 20px;
      overflow: hidden;
      margin-bottom: 45px;
    }
#cuestionario #inicio:checked ~ .pregunta1 {display: block;}
#cuestionario #paso2:checked ~ .pregunta2 {display: block;}
#cuestionario #paso3:checked ~ .pregunta3 {display: block;}
#cuestionario #paso4:checked ~ .pregunta4 {display: block;}
#cuestionario #paso5:checked ~ .pregunta5 {display: block;}
#cuestionario #resultado:checked ~ .resultado {display: block;}

  /* barra */
.barra {
      width: 100%; 
      height: 7px;
      background: var(--color-fondo);
      border-radius: 0 20px 20px 0;
      overflow: hidden;
      margin-bottom: 2em;
    }
.progreso {
      width: 20%;
      height: 100%;
      background: var(--color-accion-boton);
      border-radius: 0 20px 20px 0;
    }
#paso2:checked ~ .barra .progreso {width: 40%;}
#paso3:checked ~ .barra .progreso {width: 60%;}
#paso4:checked ~ .barra .progreso {width: 80%;}
#paso5:checked ~ .barra .progreso {width: 100%;}   
#resultado:checked ~ .barra .progreso {width: 100%;}

#cuestionario .numero {
      font-size: 0.8em;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--color-accion-boton);
      margin-bottom: 12px;
    }

#cuestionario .opciones {
        display: grid;
        gap: 12px;
        width: 100%;
    }
#cuestionario .opcion {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      width: 100%;
      padding: 20px;
      border: 1.5px solid var(--color-secundario);
      border-radius: 16px;
      cursor: pointer;
      transition: 0.2s ease;
    }
.opciones input:checked + label {
    background-color: var(--color-secundario);
}

  /* textos */
#cuestionario h1 {
      letter-spacing: -0.04em;
      margin-bottom: 0.2rem;
    }
#cuestionario .descripcion {
      color: var(--color-acento-secundario);
      font-size: 1em;
      line-height: 1.6;
      max-width: 600px;
      margin-bottom: 1rem;
    }

  /* botones */
.acciones {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 1rem;
    }

 .atras {
      color: var(--color-texto-principal);
      text-decoration: none;
      font-weight: bold;
      font-size: 14px;
    }
    .continuar {
      display: inline-block;
      padding: 14px 22px;
      background: var(--color-accion-boton);
      color: var(--color-fondo);
      border-radius: 12px;
      text-decoration: none;
      font-weight: bold;
      cursor: pointer;
    }

  /* resultado */
 .resultado-box {
      border: 1px solid #e3e3e6;
      border-radius: 20px;
      padding: 28px;
      background: #ffffff;
    }
    .resultado-box h2 {
      font-size: 28px;
      line-height: 1.1;
      margin-bottom: 15px;
    }
    .resultado-box p {
      color: #6b6b72;
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .resultado-box ul {
      margin-left: 20px;
      line-height: 1.7;
      margin-bottom: 25px;
    }
    .btn-final {
      display: inline-block;
      padding: 14px 20px;
      background: #e85d75;
      color: white;
      text-decoration: none;
      border-radius: 12px;
      font-weight: bold;
    }

/* Pagina ayuda.html */
.pagina-ayuda .ayuda {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px;
  font-family: Arial, Helvetica, sans-serif;
  color: #181818;
}

.pagina-ayuda .ayuda-intro {
  max-width: 900px;
  padding-bottom: 70px;
}

.pagina-ayuda .ayuda-numero {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 25px;
}

.pagina-ayuda .ayuda-intro h1 {
  font-size: clamp(55px, 9vw, 110px);
  line-height: .85;
  letter-spacing: -6px;
  margin: 0 0 35px;
}

.pagina-ayuda .ayuda-intro p {
  max-width: 600px;
  font-size: 20px;
  line-height: 1.4;
}

.ayuda-opciones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 100px;
}

.ayuda-card {
    min-height: 330px;
    border: 2px solid #181818;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ayuda-card span {
    font-size: 13px;
    font-weight: bold;
}

.ayuda-card h2 {
    font-size: 35px;
    line-height: .95;
    letter-spacing: -2px;
    margin: 30px 0 15px;
}

.ayuda-card p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 25px;
}

.ayuda-card a,
.recurso-card a,
.urgente a,
.ayuda-final a {
    display: inline-block;
    width: fit-content;
    padding: 12px 16px;
    border: 2px solid #181818;
    background: var(--color-accion-boton);
    color: #181818;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.ayuda-card a:hover,
.recurso-card a:hover,
.urgente a:hover,
.ayuda-final a:hover {
    background: #181818;
    color: white;
}

    /* colores */
.ayuda-card-rosa {background: var(--color-acento-secundario);}
.ayuda-card-amarilla {background: var(--color-superficies-secundarias);}
.ayuda-card-azul {background: var(--color-secundario);}
    /* ======= */

.ayuda-subseccion {
  border-top: 2px solid #181818;
  padding: 70px 0;
}

.ayuda-subtitulo {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 25px;
}

.ayuda-subtitulo span {
  font-size: 13px;
  font-weight: bold;
}

.ayuda-subtitulo h2 {
  font-size: clamp(45px, 6vw, 75px);
  line-height: .9;
  letter-spacing: -4px;
}

.ayuda-bajada {
  max-width: 650px;
  margin-left: calc(33.33% + 15px);
  margin-bottom: 45px;
  font-size: 18px;
  line-height: 1.4;
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.persona-card {
  min-height: 230px;
  border: 2px solid #181818;
  background: white;
  padding: 25px;
}

.persona-card h3 {
  font-size: 25px;
  line-height: 1;
  margin-bottom: 25px;
}

.persona-card p {
  font-size: 16px;
  line-height: 1.45;
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.recurso-card {
  min-height: 240px;
  border: 2px solid #181818;
  background: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recurso-card h3 {
  font-size: 30px;
  line-height: .95;
}

.recurso-card p {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.4;
  margin: 20px 0;
}

.urgente {
  background: #181818;
  color: white;
  padding: 55px;
  margin-top: 20px;
}

.urgente h3 {
  font-size: clamp(45px, 6vw, 75px);
  line-height: .9;
  letter-spacing: -4px;
  margin-bottom: 25px;
}

.urgente p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.urgente a {
  background: white;
  border-color: white;
}

.ayuda-final {
  background: #ff6f91;
  border: 2px solid #181818;
  padding: 60px;
  margin-top: 20px;
}

.ayuda-final > span {
  font-size: 13px;
  font-weight: bold;
}

.ayuda-final h2 {
  font-size: clamp(45px, 6vw, 75px);
  line-height: .9;
  letter-spacing: -4px;
  margin: 25px 0;
}

.ayuda-final p {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 30px;
}