/* Aula Hechizo: una historia sobre pertenecer, escuchar y crecer. */
.pagina-hechizo { --hz-verde: #163f35; --hz-oro: #f0cb7b; --hz-crema: #fbf7ef; background: var(--hz-crema); }
.hz-eyebrow { font: 800 .73rem/1.7 var(--f-texto); letter-spacing: .16em; text-transform: uppercase; color: var(--verde); margin-bottom: 1.4rem; }
.hz-eyebrow--luz { color: #f0cb7b; }
.hz-hero { position: relative; isolation: isolate; min-height: 780px; min-height: min(870px, 100svh); display: flex; align-items: center; background: #16372b; color: #fff9e9; overflow: hidden; }
.hz-hero__arte, .hz-hero__velo { position: absolute; inset: 0; z-index: -1; }
.hz-hero__arte picture, .hz-hero__arte img { display: block; width: 100%; height: 100%; }
.hz-hero__arte img { object-fit: cover; object-position: center 56%; }
.hz-hero__velo { background: linear-gradient(90deg, rgba(12,37,29,.97) 0%, rgba(12,37,29,.91) 20%, rgba(12,37,29,.68) 39%, rgba(12,37,29,.08) 68%), linear-gradient(0deg, rgba(12,37,29,.36), transparent 35%); }
.hz-hero__contenido { width: 100%; padding-block: 3rem 4rem; }
.hz-volver { display: inline-block; font-size: .81rem; color: #e4e9dc; text-decoration: none; margin-bottom: 2.3rem; }
.hz-volver:hover, .hz-enlace-luz:hover { color: var(--hz-oro); }
.hz-hero .hz-eyebrow { max-width: 490px; }
.hz-hero h1 { color: #fff9e9; position: relative; width: fit-content; max-width: 590px; font-size: clamp(3.4rem, 7.2vw, 7.2rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; margin-bottom: 1.7rem; }
.hz-hero h1 em { display: block; color: var(--hz-oro); font-weight: 450; }
.hz-estrella { position: absolute; top: .2em; right: -.95em; color: var(--hz-oro); font-size: .42em; font-family: Georgia, serif; }
.hz-hero__promesa { font-family: var(--f-titular); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; margin-bottom: 1.2rem; }
.hz-hero__promesa em { font-weight: 450; }
.hz-hero__intro { max-width: 39ch; font-size: 1.03rem; line-height: 1.65; color: #f0f0e4; }
.hz-hero .botones { margin-top: 1.8rem; gap: 1.4rem; }
.hz-enlace-luz { color: #fff9e9; font-size: .92rem; font-weight: 750; }
.hz-hero__estado { display: flex; gap: .5rem; align-items: center; margin: 1.6rem 0 0; font-size: .77rem; color: #e2e5d8; }
.hz-hero__estado .icono { width: 16px; }
.hz-hero__credito { position: absolute; bottom: .6rem; right: 1.25rem; max-width: 360px; padding: .25rem .6rem; margin: 0; font-size: .64rem; color: #fff9e9; background: rgba(12,37,29,.68); border-radius: 4px; }
.hz-indice { border-bottom: 1px solid var(--linea); background: var(--papel); }
.hz-indice > div { display: flex; align-items: center; gap: 2.1rem; min-height: 76px; }
.hz-indice span { font-family: var(--f-titular); font-size: 1.3rem; margin-right: auto; color: var(--hz-verde); white-space: nowrap; }
.hz-indice a { font-size: .86rem; color: var(--tinta-suave); text-decoration: none; padding-block: 1rem; white-space: nowrap; }
.hz-indice a:hover { color: var(--verde); text-decoration: underline; }
.hz-sentido { display: grid; grid-template-columns: 1fr 2.3fr; gap: 4rem; padding-block: clamp(4rem, 8vw, 7.5rem); }
.hz-sentido__margen { padding-top: .5rem; }
.hz-simbolo { display: block; font-family: Georgia, serif; color: #bf7546; font-size: 5rem; line-height: 1; margin-top: 2.4rem; }
.hz-sentido h2, .hz-seccion-cabeza h2, .hz-documentos h2 { font-size: clamp(2.25rem, 4.3vw, 3.7rem); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.hz-sentido h2 em, .hz-seccion-cabeza h2 em, .hz-documentos h2 em, .hz-final h2 em { font-weight: 450; color: #9c5031; }
.hz-sentido__texto { max-width: 730px; }
.hz-sentido__texto > p { color: var(--tinta-suave); max-width: 65ch; }
.hz-sentido__texto .hz-entradilla { font-size: 1.2rem; color: var(--tinta); line-height: 1.65; margin-top: 1.5rem; }
.hz-palabras { background: #eee8dc; padding: 3.4rem 0 2.2rem; }
.hz-palabras .hz-eyebrow { text-align: center; color: #68523b; }
.hz-palabras__fila { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 2.3rem; }
.hz-palabras__fila p { text-align: center; font-family: var(--f-titular); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35; margin: 0; padding: .5rem 1rem; border-right: 1px solid #d5cbb9; color: var(--hz-verde); }
.hz-palabras__fila p:last-child { border: 0; }
.hz-palabras__fila em { color: #9c5031; }
.hz-palabras__nota { text-align: center; font-size: .75rem; color: #685e4e; margin: 2.4rem 0 0; }
.hz-rincones, .hz-materiales { padding-block: clamp(4rem, 8vw, 7.2rem); }
.hz-seccion-cabeza { display: grid; grid-template-columns: 1.45fr 1fr; gap: 4rem; align-items: end; margin-bottom: 2.4rem; }
.hz-seccion-cabeza h2 { margin-bottom: 0; }
.hz-seccion-cabeza > p { color: var(--tinta-suave); max-width: 43ch; margin: 0 0 .3rem; }
.hz-rincones__rejilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: start; }
.hz-rincon { border: 1px solid #d0ddcf; border-radius: 5px 28px 5px 5px; background: #edf1e7; overflow: clip; }
.hz-rincon--calma { background: #f3ead8; border-color: #e3d5b9; }
.hz-rincon--cooperacion { background: #f2e2d9; border-color: #e5cdbf; }
.hz-rincon--creatividad { background: #e7eceb; border-color: #cddbd8; }
.hz-rincon summary { display: block; cursor: pointer; padding: 1.7rem 2rem 1.3rem; list-style: none; }
.hz-rincon summary::-webkit-details-marker { display: none; }
.hz-rincon summary:focus-visible { outline-offset: -5px; }
.hz-rincon__arriba { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; color: #5e6a5a; font-size: .76rem; letter-spacing: .05em; }
.hz-rincon__icono { display: grid; place-items: center; border: 1px solid #899782; border-radius: 50%; width: 48px; height: 48px; color: var(--hz-verde); }
.hz-rincon__icono .icono { width: 24px; height: 24px; }
.hz-rincon__tipo { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 800; margin-bottom: .55rem; color: #52604e; }
.hz-rincon h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; margin: 0; }
.hz-rincon__abrir { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; margin-top: 1.5rem; font-weight: 750; color: var(--hz-verde); }
.hz-rincon__abrir > span { font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.hz-rincon[open] .hz-rincon__abrir > span { transform: rotate(45deg); }
.hz-rincon__detalle { padding: 0 2rem 1.5rem; font-size: .96rem; }
.hz-rincon__ejemplo { border-top: 1px solid rgba(22,63,53,.2); padding-top: 1rem; }
.hz-rincon__ejemplo > span { font-family: var(--f-titular); font-style: italic; font-size: 1.1rem; color: #7d482f; }
.hz-rincon__ejemplo p { margin: .4rem 0 1rem; }
.hz-rincon__aprendizaje { margin-bottom: 0; font-size: .73rem; color: #52604e; font-weight: 750; }
.hz-nota { color: var(--tinta-suave); font-size: .81rem; line-height: 1.65; margin: 1.3rem 0 0; max-width: 95ch; }
.hz-deseo { background: var(--hz-verde); color: #f7f0df; text-align: center; overflow: hidden; }
.hz-deseo__interior { position: relative; padding-block: clamp(4rem, 7vw, 6.5rem); }
.hz-deseo__circulo { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--hz-oro); border: 1px solid #709383; border-radius: 50%; }
.hz-deseo__circulo .icono { width: 30px; height: 30px; }
.hz-deseo h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); color: #fff8e9; font-weight: 450; line-height: 1.08; letter-spacing: -.03em; }
.hz-deseo h2 em { color: var(--hz-oro); }
.hz-deseo__interior > p:not(.hz-eyebrow) { max-width: 58ch; margin: 1.6rem auto; color: #e0e7da; }
.hz-deseo__valores { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem; }
.hz-deseo__valores span { font-size: .8rem; color: #e0e7da; border: 1px solid #668a78; padding: .45rem 1rem; border-radius: 99px; }
.hz-estado-materiales { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-left: 3px solid #a87b37; background: #f1eadc; font-size: .82rem; margin-bottom: 1.5rem; }
.hz-estado-materiales .icono { width: 20px; flex: 0 0 20px; color: #7a5a27; }
.hz-materiales__rejilla { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.hz-material { padding: 2rem 1.75rem; border-right: 1px solid var(--linea); }
.hz-material:first-child { padding-left: 0; }
.hz-material:last-child { padding-right: 0; border-right: 0; }
.hz-material__icono { display: grid; place-items: center; width: 42px; height: 42px; background: #dfe9db; color: var(--verde-hondo); border-radius: 50%; margin-bottom: 1.2rem; }
.hz-material--terra .hz-material__icono { background: #efded1; }
.hz-material--oro .hz-material__icono { background: #f3e5bf; }
.hz-material h3 { font-size: 1.45rem; }
.hz-material > p { font-size: .87rem; color: var(--tinta-suave); min-height: 4.6em; }
.hz-material ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.hz-material li { display: flex; align-items: baseline; gap: .9rem; padding-block: .85rem; border-top: 1px solid var(--linea); font-size: .92rem; line-height: 1.4; }
.hz-material__cantidad { font-family: var(--f-titular); font-size: 1.7rem; color: var(--verde); min-width: 1.2rem; font-weight: 500; }
.hz-material small { display: block; font-size: .75rem; color: var(--tinta-suave); margin-top: .35rem; }
.hz-documentos { background: #efe8dc; padding-block: 4.5rem; }
.hz-documentos__interior { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hz-documentos__interior > div > p:last-child { color: var(--tinta-suave); max-width: 47ch; margin-bottom: 0; }
.hz-documentos__lista { display: grid; gap: 1rem; }
.hz-documento { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; background: var(--papel); border: 1px solid #dfd4c2; border-radius: 5px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hz-documento:hover { border-color: var(--verde); box-shadow: var(--sombra-s); }
.hz-documento__icono { color: #8f6740; flex-shrink: 0; }
.hz-documento__icono .icono { width: 28px; height: 28px; }
.hz-documento > span:nth-child(2) { flex: 1; }
.hz-documento strong { font-size: .98rem; }
.hz-documento small { display: block; color: var(--tinta-suave); font-size: .76rem; margin-top: .25rem; }
.hz-documento > .icono { width: 18px; flex-shrink: 0; }
.hz-final { text-align: center; padding-block: clamp(4rem, 8vw, 7rem); }
.hz-final__flor { display: block; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: #b26c43; margin-bottom: 1.3rem; }
.hz-final h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 500; line-height: 1.18; }
.hz-final > p:not(.hz-eyebrow) { max-width: 64ch; color: var(--tinta-suave); margin: 1.5rem auto; }
.hz-final .botones { justify-content: center; margin-block: 2rem; }
.hz-final .hz-final__firma { font-size: .75rem; margin-bottom: 0; }
@media (min-width: 1700px) { .hz-hero__arte img { object-position: center 61%; } }
@media (max-width: 1000px) {
  .hz-hero { min-height: 760px; }
  .hz-hero__velo { background: linear-gradient(90deg, rgba(12,37,29,.95), rgba(12,37,29,.7) 40%, rgba(12,37,29,.12)); }
  .hz-sentido { gap: 2rem; grid-template-columns: 1fr 3fr; }
  .hz-seccion-cabeza { gap: 2rem; }
  .hz-indice > div { gap: 1.4rem; }
  .hz-documentos__interior { gap: 2rem; }
}
@media (max-width: 700px) {
  .hz-hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding: 0; background: #163c31; }
  .hz-hero__arte { position: relative; z-index: 0; height: auto; order: 2; }
  .hz-hero__arte img { height: auto; aspect-ratio: 3 / 2; object-position: center; }
  .hz-hero__velo { display: none; }
  .hz-hero__contenido { padding-block: 1.4rem 2.2rem; order: 1; }
  .hz-volver { margin-bottom: 1.5rem; }
  .hz-hero .hz-eyebrow { font-size: .63rem; margin-bottom: 1.1rem; }
  .hz-hero h1 { font-size: clamp(3.4rem, 16vw, 5.7rem); margin-bottom: 1.3rem; }
  .hz-hero h1 em { display: inline; margin-left: .12em; }
  .hz-estrella { display: none; }
  .hz-hero__promesa { font-size: 1.65rem; }
  .hz-hero__intro { max-width: 46ch; font-size: .94rem; }
  .hz-hero .botones { gap: 1rem; margin-top: 1.4rem; }
  .hz-hero .boton { font-size: .87rem; padding: .85rem 1.05rem; }
  .hz-enlace-luz { font-size: .83rem; }
  .hz-hero__estado { font-size: .69rem; }
  .hz-hero__credito { z-index: 1; bottom: .5rem; right: .5rem; left: .5rem; max-width: none; width: fit-content; font-size: .6rem; }
  .hz-indice > div { overflow-x: auto; gap: 1.35rem; min-height: 60px; }
  .hz-indice span { display: none; }
  .hz-indice a { font-size: .77rem; }
  .hz-sentido { display: block; }
  .hz-sentido__margen .hz-eyebrow br { display: none; }
  .hz-simbolo { display: none; }
  .hz-sentido__texto .hz-entradilla { font-size: 1.1rem; }
  .hz-palabras { padding-block: 2.8rem 1.8rem; }
  .hz-palabras__fila { grid-template-columns: 1fr; margin-top: 1.3rem; }
  .hz-palabras__fila p { padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid #d5cbb9; font-size: 1.7rem; }
  .hz-palabras__fila br { display: none; }
  .hz-palabras__nota { margin-top: 1.2rem; }
  .hz-seccion-cabeza { display: block; }
  .hz-seccion-cabeza > p { margin-top: 1.5rem; }
  .hz-rincones__rejilla { grid-template-columns: 1fr; }
  .hz-rincon summary { padding: 1.4rem 1.5rem 1.2rem; }
  .hz-rincon__detalle { padding-inline: 1.5rem; }
  .hz-rincon__arriba { margin-bottom: 1.1rem; }
  .hz-rincon h3 { font-size: 1.8rem; }
  .hz-deseo h2 { font-size: clamp(2.4rem, 9vw, 3.8rem); }
  .hz-deseo__valores { gap: .5rem; }
  .hz-deseo__valores span { font-size: .72rem; padding: .35rem .7rem; }
  .hz-estado-materiales { align-items: flex-start; }
  .hz-materiales__rejilla { grid-template-columns: 1fr; }
  .hz-material { border: 0; border-bottom: 1px solid var(--linea); padding: 2rem 0; }
  .hz-material:last-child { border-bottom: 0; }
  .hz-material > p { min-height: 0; }
  .hz-documentos { padding-block: 3rem; }
  .hz-documentos__interior { grid-template-columns: 1fr; gap: 2rem; }
  .hz-documento { padding: 1.1rem; gap: .75rem; }
  .hz-documento strong { font-size: .9rem; }
  .hz-final .botones { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pagina-hechizo *, .pagina-hechizo *::before, .pagina-hechizo *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .hz-hero { min-height: auto; background: #fff; color: #000; display: block; }
  .hz-hero__arte, .hz-hero__velo, .hz-hero__credito, .hz-indice, .hz-volver, .hz-hero .botones, .hz-final .botones { display: none; }
  .hz-hero h1, .hz-hero h1 em, .hz-hero__intro, .hz-hero__estado, .hz-hero .hz-eyebrow { color: #000; }
  .hz-hero__contenido { padding-block: 1rem; }
  .hz-hero h1 { font-size: 3rem; }
  .hz-rincon::details-content { content-visibility: visible; }
  .hz-rincon__detalle { display: block; }
  .hz-rincon__abrir { display: none; }
  .hz-sentido, .hz-rincones, .hz-materiales, .hz-final, .hz-deseo__interior { padding-block: 1.5rem; }
  .hz-deseo { background: #fff; color: #000; }
  .hz-deseo h2, .hz-deseo h2 em, .hz-deseo .hz-eyebrow, .hz-deseo__interior > p:not(.hz-eyebrow), .hz-deseo__valores span { color: #000; }
  .hz-material, .hz-documento { break-inside: avoid; }
}
