/* Experiencias: un día en el lodge y bitácora de senderos y actividades */

/* Portada: sombra a la izquierda para el título sobre el cielo claro */
.p-experiencias .pport::after { background: linear-gradient(180deg, rgba(8, 22, 16, .4) 0%, rgba(8, 22, 16, 0) 30%, rgba(8, 22, 16, .2) 55%, rgba(8, 22, 16, .82) 100%), linear-gradient(90deg, rgba(8, 22, 16, .5) 0%, rgba(8, 22, 16, .15) 50%, transparent 75%); }

/* 01 · Un día: los sentidos */
.sentidos { overflow: hidden; }
.sentidos__in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.sentidos__cab { position: sticky; top: 130px; }
.sentidos__cab .entrada { margin: 0; color: var(--tinta-2); font-style: normal; }
.sentidos__dia { --p: 0; position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: clamp(18px, 3vw, 40px); }
.sentidos__reloj { position: relative; }
.sentidos__pista { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--linea); overflow: hidden; }
.sentidos__pista i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--liquen) 0%, var(--musgo) 38%, var(--bosque) 62%, var(--verde) 80%, var(--noche) 100%); transform-origin: top; transform: scaleY(1); }
.con-dia .sentidos__pista i { transform: scaleY(var(--p)); }
.sentidos__astro { position: absolute; left: 50%; top: 0; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--papel); border: 1px solid var(--linea); color: var(--musgo-t); box-shadow: 0 8px 24px -12px rgba(9, 67, 58, .45); transition: background .6s, color .6s, border-color .6s; display: none; }
.con-dia .sentidos__astro { display: grid; top: calc(var(--p) * (100% - 44px)); }
.sentidos__astro .ico { width: 20px; height: 20px; }
.sentidos__sol, .sentidos__luna { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .5s, transform .6s var(--ease); }
.sentidos__luna { opacity: 0; transform: rotate(-40deg) scale(.6); }
.sentidos__dia.es-noche .sentidos__astro { background: var(--noche); color: var(--liquen); border-color: var(--noche); }
.sentidos__dia.es-noche .sentidos__sol { opacity: 0; transform: rotate(40deg) scale(.6); }
.sentidos__dia.es-noche .sentidos__luna { opacity: 1; transform: none; }
.sentidos__lista { list-style: none; padding: 0; margin: 0; }
.momento { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--linea); transition: opacity .6s var(--ease); }
.momento:last-child { border-bottom: 1px solid var(--linea); }
.momento__n { color: var(--musgo-t); padding-top: .9em; }
.momento__h { grid-column: 2; color: var(--musgo-t); margin-bottom: 6px; }
.momento__t { grid-column: 2; margin: 0; font-family: var(--f-display); font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.22; font-weight: 400; letter-spacing: -.015em; color: var(--tinta); }
.con-dia .momento { opacity: .45; }
.con-dia .momento.es-pasado { opacity: .6; }
.con-dia .momento.es-actual { opacity: 1; }
.con-dia .momento.es-actual .momento__t { font-style: normal; }
.con-dia .momento.es-actual .momento__n { color: var(--verde); }

/* 02 · Bitácora */
.bitacora { position: relative; }
.bita__cab { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(28px, 5vw, 80px); align-items: end; padding-bottom: 28px; margin-bottom: clamp(50px, 6vw, 90px); border-bottom: 1px solid var(--tinta); }
.bita__lema { margin: 0; font-family: var(--f-display); font-size: clamp(2.1rem, 4.2vw, 3.8rem); line-height: 1.02; font-weight: 400; letter-spacing: -.03em; text-wrap: balance; }
.bita__lema em { font-style: normal; color: var(--musgo); }
.bita__barra { display: grid; gap: 14px; justify-items: end; scroll-margin-top: 110px; }
.bita__filtros { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filtro { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 1px solid var(--linea); border-radius: 99px; background: rgba(255, 255, 255, .7); color: var(--tinta); font: 500 .9rem var(--f-texto); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filtro .ico { width: 16px; height: 16px; }
.filtro__n { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; opacity: .7; }
.filtro:hover { border-color: var(--verde); }
.filtro[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: #fff; }
.bita__mostrando { margin: 0; color: var(--tinta-2); }
.bita__mostrando b { color: var(--verde); font-weight: 500; }

.bita__grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.bita__ind { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.bita__ind-parte { margin: 0 0 8px; color: var(--musgo-t); font-size: .62rem; }
.bita__ind-parte:not(:first-child) { margin-top: 22px; }
.bita__ind ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linea); }
.bita__ind a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 6px 0; font-size: .9rem; line-height: 1.3; color: var(--tinta-2); text-decoration: none; transition: color .3s, transform .4s var(--ease); }
.bita__ind a .mono { font-size: .62rem; color: var(--musgo-t); letter-spacing: .06em; }
.bita__ind a:hover { color: var(--tinta); }
.bita__ind a[aria-current] { color: var(--verde); font-family: var(--f-display); font-style: normal; font-size: 1rem; transform: translateX(6px); }
.bita__ind a[aria-current] .mono { color: var(--verde); }

.bita__parte + .bita__parte { margin-top: clamp(70px, 9vw, 130px); }
.bita__pcab { margin-bottom: clamp(40px, 5vw, 70px); }
.bita__pcab h2 { margin: 0; }
.bita__pintro { margin: 18px 0 0; font-family: var(--f-display); font-style: normal; font-size: 1.2rem; color: var(--tinta-2); max-width: 46ch; }

.bita__e { position: relative; margin-bottom: clamp(64px, 8vw, 120px); scroll-margin-top: 100px; }
.bita__e:last-of-type { margin-bottom: 0; }
.bita__ecab { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.bita__n { font-family: var(--f-display); font-style: normal; font-weight: 300; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.04em; color: var(--musgo); }
.bita__regla { flex: 1; height: 1px; background: var(--linea); min-width: 30px; }
.bita__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.etq { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--linea); border-radius: 99px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-2); white-space: nowrap; }
.etq .ico { width: 13px; height: 13px; }
.etq--ninos { background: rgba(66, 108, 38, .12); border-color: transparent; color: var(--verde); }
.etq--noche { background: var(--noche); border-color: var(--noche); color: var(--liquen); }
.etq--extra { border-style: dashed; }

.bita__ecuerpo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(26px, 4vw, 64px); align-items: center; }
.bita__e--v .bita__ecuerpo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.bita__e:nth-of-type(even) .bita__foto, .bita__e:nth-of-type(even) .bita__brote { order: 2; }
.bita__foto { position: relative; margin: 0; overflow: hidden; border-radius: 3px; aspect-ratio: 3 / 2; background: var(--niebla); }
.bita__e--v .bita__foto { aspect-ratio: 4 / 5; }
.bita__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bita__e:hover .bita__foto img { transform: scale(1.04); }
.bita__t { font-size: clamp(1.9rem, 3vw, 2.8rem); margin: 0 0 14px; }
.bita__txt > p { color: var(--tinta-2); margin-bottom: 0; }
.bita__datos { margin: 22px 0 0; }
.bita__datos > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 9px 0; border-top: 1px dotted rgba(9, 67, 58, .32); }
.bita__datos > div:last-child { border-bottom: 1px dotted rgba(9, 67, 58, .32); }
.bita__datos dt { color: var(--musgo-t); font-size: .64rem; }
.bita__datos dd { margin: 0; font-weight: 500; font-size: .95rem; line-height: 1.4; }
.bita__enlace { margin: 22px 0 0 !important; }
.bita__enlace .enlace { color: var(--verde); }
.bita__enlace .ico { width: 18px; height: 18px; }

.bita__e--sin-foto .bita__ecuerpo { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); }
.bita__brote { display: grid; place-items: center; padding: 10px; }
.bita__brote svg { width: min(160px, 100%); height: auto; overflow: visible; }
.bita__brote path { fill: none; stroke: var(--bosque); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .bita__brote path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.js .bita__brote.visto path { stroke-dashoffset: 0; }
.bita__brote path:nth-child(2) { transition-delay: .5s; } .bita__brote path:nth-child(3) { transition-delay: .8s; } .bita__brote path:nth-child(4) { transition-delay: 1.1s; }

/* Entrada destacada: niños */
.bita__e--destacado { padding: clamp(26px, 4vw, 56px); margin-left: calc(clamp(26px, 4vw, 56px) * -1); margin-right: 0; background: var(--papel); border-radius: 8px; overflow: hidden; }
.bita__e--destacado::before { content: ""; position: absolute; inset: 0; color: var(--verde); opacity: .07; background: currentColor; -webkit-mask: url(../img/topo.svg) center / cover no-repeat; mask: url(../img/topo.svg) center / cover no-repeat; pointer-events: none; }
.ninos-x { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.ninos-x__fotos { position: relative; padding-bottom: 22%; }
.ninos-x__f1 { margin: 0; width: 78%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; }
.ninos-x__f2 { position: absolute; right: 0; bottom: 0; margin: 0; width: 58%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; border: 6px solid var(--papel); transform: translateY(var(--py, 0)); }
.ninos-x__f1 img, .ninos-x__f2 img { width: 100%; height: 100%; object-fit: cover; }
.bita__t--grande { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.ninos-x__entrada { font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.38; font-weight: 400; margin-bottom: 22px; }
.ninos-x__lead { color: var(--musgo-t); margin: 0 0 6px; }
.favoritos { list-style: none; padding: 0; margin: 0; }
.favoritos li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--linea); font-family: var(--f-display); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3; font-weight: 400; }
.favoritos__tic { width: 22px; height: 22px; align-self: center; }
.favoritos__tic path { fill: none; stroke: var(--bosque); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .favoritos__tic path { stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease); transition-delay: calc(.5s + var(--f, 0) * .18s); }
.js .favoritos.visto .favoritos__tic path { stroke-dashoffset: 0; }
.ninos-x__mas { margin: 14px 0 0; font-family: var(--f-display); font-style: normal; color: var(--tinta-2); }
.ninos-x__ruta { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--linea); }
.ninos-x__ruta .mono { color: var(--musgo-t); margin: 0 0 10px; }
.ninos-x__ruta ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.ninos-x__ruta a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; border: 1px solid var(--linea); border-radius: 99px; font-size: .88rem; text-decoration: none; background: rgba(255, 255, 255, .6); transition: background .3s, color .3s, border-color .3s; }
.ninos-x__ruta a .mono { font-size: .6rem; margin: 0; color: var(--musgo-t); }
.ninos-x__ruta a:hover { background: var(--bosque); border-color: var(--bosque); color: #fff; }
.ninos-x__ruta a:hover .mono { color: #fff; }
.ninos-x__ruta .btn { color: var(--tinta); }

.bita__nota { margin: clamp(50px, 6vw, 80px) 0 0; padding-top: 18px; border-top: 1px solid var(--linea); font-size: .9rem; color: var(--tinta-2); }
.bita__vacio { padding: 40px 0; font-family: var(--f-display); font-style: normal; font-size: 1.3rem; color: var(--tinta-2); }

/* Pantallas medianas */
@media (max-width: 1180px) {
  .bita__grid { grid-template-columns: 1fr; }
  .bita__ind { display: none; }
  .bita__e--destacado { margin-left: 0; }
}
@media (max-width: 1000px) {
  .sentidos__in { grid-template-columns: 1fr; }
  .sentidos__cab { position: relative; top: 0; }
  .bita__cab { grid-template-columns: 1fr; }
  .bita__barra { justify-items: start; }
  .bita__filtros { justify-content: flex-start; }
  .ninos-x { grid-template-columns: 1fr; }
  .ninos-x__fotos { max-width: 620px; }
}
@media (max-width: 760px) {
  .bita__ecuerpo, .bita__e--v .bita__ecuerpo, .bita__e--sin-foto .bita__ecuerpo { grid-template-columns: 1fr; gap: 22px; }
  .bita__e:nth-of-type(even) .bita__foto { order: 0; }
  .bita__e--v .bita__foto { aspect-ratio: 4 / 5; max-width: 480px; }
  .bita__brote { display: none; }
}
@media (max-width: 640px) {
  .sentidos__dia { grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; }
  .sentidos__astro { width: 32px; height: 32px; margin-left: -16px; }
  .con-dia .sentidos__astro { top: calc(var(--p) * (100% - 32px)); }
  .sentidos__astro .ico { width: 15px; height: 15px; }
  .momento { grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; }
  .momento__t { font-size: 1.35rem; }
  .bita__ecab { gap: 10px; flex-wrap: wrap; }
  .bita__regla { min-width: 20px; }
  .bita__tags { justify-content: flex-start; }
  .filtro { min-height: 40px; padding: 0 13px; font-size: .86rem; }
  .bita__datos > div { grid-template-columns: 82px minmax(0, 1fr); }
  .bita__e--destacado { margin-left: -10px; margin-right: -10px; padding: 24px 18px 28px; }
  .ninos-x__fotos { padding-bottom: 30%; }
  .ninos-x__f1 { width: 74%; }
  .ninos-x__f2 { width: 60%; border-width: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .favoritos__tic path, .bita__brote path { stroke-dashoffset: 0 !important; }
}

/* Ajustes de la revisión final (16-11-2026): sin números decorativos, sin atenuados ilegibles, sin arcos repetidos */
.momento__n, .bita__n { display: none; }
.momento { grid-template-columns: minmax(0, 1fr); }
.con-dia .momento { opacity: .88; }
@media (max-width: 640px) { .momento { grid-template-columns: minmax(0, 1fr); } }
/* Revisión 16-11: sin palomitas tipo glifo; una raya corta del color de la marca */
.favoritos__tic { display: none; }
.favoritos li::before { content: ""; display: inline-block; width: 14px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--musgo); }

/* Revisión 16-11: ritmo variado entre las 20 actividades (no la misma fila 20 veces) */
.bita__e { margin-bottom: clamp(52px, 6.5vw, 96px); }
@media (min-width: 1001px) {
  .bita__e--h:nth-of-type(4n+3) .bita__ecuerpo { grid-template-columns: 1fr; gap: 26px; }
  .bita__e--h:nth-of-type(4n+3) .bita__foto { order: 0 !important; aspect-ratio: 21 / 9; }
  .bita__e--h:nth-of-type(4n+3) .bita__txt { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 48px; align-items: start; }
  .bita__e--h:nth-of-type(4n+3) .bita__txt > :not(.bita__t) { grid-column: 2; }
  .bita__e--h:nth-of-type(4n+3) .bita__txt .bita__t { grid-row: span 3; font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
  .bita__e--h:nth-of-type(4n) .bita__ecuerpo { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
  .bita__e--h:nth-of-type(4n) .bita__foto { aspect-ratio: 1; }
}
