/* r4-ronda (27-nov-2026): ajustes generales de la ronda grande (titulos, fondos claros, pie, barra, caracteristicas). Carga al final. */

/* --- Ubicacion: panel de lugares con titulo y sin barra de desplazamiento ---- */
.akmapa-titulo{ flex: none; margin: 0; padding: 18px 18px 0; text-align: center;
  font-family: var(--display); font-size: clamp(1.05rem, .95rem + .3vw, 1.25rem); letter-spacing: .02em; color: var(--verde-profundo, #16250d); }
.akmapa-titulo + .akmapa-guia{ padding-top: 4px; }
@media (min-width: 861px){
  .akmapa-lista{ overflow: hidden !important; scrollbar-width: none; gap: 1px; padding: 6px 10px; align-content: space-evenly; }
  .akmapa-lista::-webkit-scrollbar{ display: none; }
  .akmapa-lugar{ grid-template-columns: 38px 1fr auto; padding: 3px 9px 3px 4px; gap: 10px; }
  .akmapa-lugar img{ width: 38px; height: 38px; }
  .akmapa-lugar-n{ font-size: 13px; line-height: 1.2; }
}

/* --- Titulos: un poco mas de aire abajo (en todas las secciones) ----------- */
.bloque .titular, .bloque .subtitular{ padding-bottom: clamp(.45rem, .3rem + .55vw, 1rem); }

/* --- Fondos claros: el patron de hojas establecido en TODAS las secciones claras
   (cada una conserva su tono; las hojas se desvanecen en las orillas) ------- */
#ubicacion, #artigas, #certeza, #preguntas{ --fc: 228,225,216; }
#tu-lote, #empezar{ --fc: 239,236,227; }
#mapa{ --fc: 228,229,214; }
html #ubicacion.bloque.claro, html #tu-lote.bloque.claro, html #mapa.bloque.claro, html #artigas.bloque.claro,
html #empezar.bloque.claro, html #certeza.bloque.claro, html #preguntas.bloque.claro{
  background-color: rgb(var(--fc));
  background-image:
    linear-gradient(rgb(var(--fc)) 0, rgba(var(--fc),0) 160px, rgba(var(--fc),0) calc(100% - 160px), rgb(var(--fc)) 100%),
    linear-gradient(rgba(var(--fc),.9), rgba(var(--fc),.9)),
    url("../assets/img/patron-hojas.svg");
  background-size: auto, auto, 1100px auto;
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: 0 0, 0 0, center top;
}

/* --- Caracteristicas del desarrollo: tarjetas de vidrio sobre el verde (sin plano) */
#experiencias .caract--tarjetas{
  margin-top: clamp(3.4rem, 7vw, 6rem); background: none; border: 0; box-shadow: none; padding: 0;
  color: var(--texto-claro, #f3efe4);
}
#experiencias .caract--tarjetas .caract__titulo{
  text-align: center; color: #f6f1e4; margin: 0 0 clamp(1.6rem, 3vw, 2.6rem);
  font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem); letter-spacing: .01em;
}
#experiencias .caract--tarjetas .caract__cuerpo{ display: block; }
#experiencias .caract--tarjetas .caract__lista{
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px);
  list-style: none; margin: 0; padding: 0;
}
#experiencias .caract--tarjetas .caract__i{
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 16px; padding: clamp(26px, 2.4vw, 36px) 14px clamp(24px, 2.2vw, 32px); text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  border: 1px solid rgba(195,160,98,.26); border-radius: 3px;
  box-shadow: 0 30px 50px -34px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .6s var(--curva), border-color .4s, background .4s; cursor: default;
}
#experiencias .caract--tarjetas .caract__i::before{
  content: ""; position: absolute; left: 22%; right: 22%; top: -1px; height: 2px;
  background: linear-gradient(90deg, rgba(195,160,98,0), var(--oro, #c3a062) 50%, rgba(195,160,98,0));
}
#experiencias .caract--tarjetas .caract__i.activo,
#experiencias .caract--tarjetas .caract__i:hover{ transform: translateY(-6px); border-color: rgba(195,160,98,.55); background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.04)); }
#experiencias .caract--tarjetas .caract__n{ font-size: 13px; letter-spacing: .22em; color: rgba(240,223,180,.7); }
#experiencias .caract--tarjetas .caract__disco{
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(195,160,98,.22), rgba(195,160,98,.05));
  border: 1px solid rgba(195,160,98,.4);
}
#experiencias .caract--tarjetas .caract__disco .ico{ color: var(--oro-3, #f0dfb4); }
#experiencias .caract--tarjetas .caract__t{
  margin: 0; max-width: 16ch; text-align: center !important; text-align-last: center !important;
  font-family: var(--display); font-size: clamp(1rem, .9rem + .35vw, 1.2rem); line-height: 1.25; color: #f6f1e4;
}
#experiencias .caract--tarjetas .caract__ast{ color: var(--oro-3, #f0dfb4); }
#experiencias.sec-amen .caract--tarjetas .caract__leyenda{ color: rgba(240,236,226,.6); text-align: right; margin-top: 1.4rem; }
@media (max-width: 1100px){ #experiencias .caract--tarjetas .caract__lista{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px){ #experiencias .caract--tarjetas .caract__lista{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Barra superior: nombre de la marca mas pequeno ------------------------- */
html .barra__marca, html .barra__marca span{ font-size: clamp(.8rem, .74rem + .18vw, .92rem) !important; letter-spacing: .02em; }
html .barra__marca img{ width: 22px; }

/* --- Iconos que faltaban por crecer (los ya ajustados no se mueven) --------- */
html .amen-t__txt .ico{ width: 58px !important; height: 58px !important; }
html .akmapa-pestana .ak-ico{ width: 34px; height: 34px; }

/* --- Botones y flechas con un mismo diseno (27-nov-2026, Tash: «algunas
   flechas y botones no estan bien disenados»): rectangulos de esquina 3 px,
   icono de linea fina centrado, estados claros. ----------------------------- */
html .boton{ border-radius: 3px !important; letter-spacing: .16em; }
html .boton .ico{ width: 1.15em; height: 1.15em; }
html .flotantes{ gap: 8px; }
html .flotante{
  width: 46px; height: 46px; border-radius: 3px !important; display: grid; place-items: center;
  background: rgba(22,37,13,.78); color: #f3ead2; border: 1px solid rgba(195,160,98,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px -14px rgba(0,0,0,.6);
  transition: transform .35s var(--curva, ease), background .3s, border-color .3s;
}
html .flotante .ico{ width: 20px; height: 20px; stroke-width: 1.6; }
html .flotante:hover{ background: rgba(22,37,13,.92); border-color: var(--oro, #c3a062); transform: translateY(-2px); }
html .flotante:focus-visible{ outline: 2px solid var(--oro, #c3a062); outline-offset: 2px; }
html .visor__cerrar, html .visor__nav{
  border-radius: 3px !important; width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(16,24,12,.72); color: #f6f1e4; border: 1px solid rgba(240,236,226,.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, border-color .3s;
}
html .visor__cerrar:hover, html .visor__nav:hover{ background: rgba(16,24,12,.9); border-color: var(--oro, #c3a062); }
html .objecion__flecha{ width: 26px !important; height: 26px !important; padding: 5px; border-radius: 3px; border: 1px solid rgba(166,135,104,.4); box-sizing: content-box; }

/* 27-nov (Tash): en las tarjetas angostas de los pilares el justificado abria huecos enormes;
   texto centrado (como la tarjeta), sin partir nombres propios. */
html .pilar-t__texto{text-align:center!important;text-align-last:center!important;hyphens:manual;word-spacing:normal}

/* 27-nov (Tash): «Ubícalo de un vistazo» del mismo ancho que el mapa de lugares */
html #ubicacion .vistamapa{max-width:none!important;width:100%!important}
@media (min-width:861px){ html #ubicacion .vistamapa{height:clamp(520px,calc(100svh - 190px),760px)!important} }

/* 30-nov (Tash): el nombre de la seccion activa no se queda fijo en el rail;
   solo aparece al pasar el cursor (o con teclado) */
html .rail__punto[aria-current="true"]:not(:hover):not(:focus-visible) .rail__etiqueta{opacity:0!important}

/* 30-nov (Tash): la ficha tecnica de «En numeros» queda alineada con el mapa:
   arriba y abajo al mismo filo. La leyenda sale debajo, fuera del alto. */
@media (min-width:861px){
  html #numeros .numeros__rejilla{align-items:stretch!important}
  html #numeros .numeros__datos{position:relative!important;display:flex!important;flex-direction:column!important}
  html #numeros .numeros__datos > .ficha--tecnica{flex:1 1 auto!important;align-content:stretch!important;margin-bottom:0!important}
  html #numeros .numeros__datos > .microleyenda{position:absolute!important;top:100%!important;right:0!important;margin:10px 0 0!important}
}

/* 30-nov-2026 · Masterplan compacto: pestañas + plano + ficha caben en una pantalla */
@media (min-width:961px){
  html #mapa .mp{ --alto: clamp(380px, min(42vw, calc(100svh - 176px)), 640px) !important; }
  html #mapa .mp__barra{ margin-bottom: 12px !important; }
  html #mapa .mp__pestana{ padding: 10px clamp(12px, 1.3vw, 18px) !important; gap: 12px !important; }
  html #mapa .mp__pestana .ico{ width: 34px !important; height: 34px !important; }
  html #mapa .mp__pestana-t{ gap: 3px !important; }
  html #mapa .mp__pestana-nombre{ font-size: .8rem !important; }
  html #mapa .mp__pestana-sub{ font-size: .74rem !important; }
  html #mapa .mp__cuerpo{ gap: 12px !important; }
  html #mapa .mp__general{ padding: clamp(16px, 1.8vw, 26px) !important; }
  html #mapa .mp__leyenda{ gap: 8px !important; }
  html #mapa .mp__ley{ padding: 9px 14px 9px 10px !important; }
  html #mapa .mp__ley .ico{ width: 38px !important; height: 38px !important; }
}

/* 30-nov-2026 · Pestañas y leyenda del masterplan: cambian de color y sobresalen al pasar el cursor */
html #mapa .mp__pestana, html #mapa .mp__ley{
  transition: background-color .35s ease, color .35s ease, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease !important;
}
html #mapa .mp__pestana .ico, html #mapa .mp__ley .ico{ transition: transform .35s cubic-bezier(.2,.8,.2,1), color .35s ease !important; }
@media (hover:hover){
  html #mapa .mp__pestana:not(.es-activa):not([aria-pressed="true"]):hover{
    z-index: 2; transform: translateY(-4px) !important;
    background: color-mix(in srgb, var(--t) 16%, #fbf9f3) !important; color: var(--t) !important;
    box-shadow: 0 14px 26px -14px rgba(22,37,13,.45), inset 0 0 0 1px color-mix(in srgb, var(--t) 45%, transparent) !important;
  }
  html #mapa .mp__pestana:not(.es-activa):not([aria-pressed="true"]):hover::after{ opacity: 1 !important; height: 4px; }
  html #mapa .mp__pestana:hover .ico{ transform: scale(1.1); }
  html #mapa .mp__pestana:not(.es-activa):hover .mp__pestana-n{ background: var(--t) !important; color: #fbf9f3 !important; }
  html #mapa .mp__ley:hover{
    transform: translateY(-3px) !important;
    background: color-mix(in srgb, var(--t) 12%, #fff) !important; border-color: var(--t) !important;
    box-shadow: 0 14px 24px -14px rgba(22,37,13,.4) !important;
  }
  html #mapa .mp__ley:hover .ico{ transform: scale(1.1); }
}
html #mapa .mp__pestana:active, html #mapa .mp__ley:active{ transform: translateY(-1px) scale(.985) !important; }
@media (prefers-reduced-motion: reduce){
  html #mapa .mp__pestana, html #mapa .mp__ley, html #mapa .mp__pestana .ico, html #mapa .mp__ley .ico{ transform: none !important; }
}

/* 30-nov-2026 · Fauna de las calles (v2, tono elegante): espera mas lenta; al seleccionar, un gesto
   sencillo y suave propio de cada especie (aves: dos aleteos leves). Solo transform. */
html .caminos__mitad.visible .caminos__calle:not(.activa) .caminos__animal use{ animation-duration: 9s !important; }
html .caminos__mitad.visible .caminos__calle:not(.activa) .caminos__animal--carpintero use{ animation-duration: 7s !important; }
html .caminos__mitad.visible .caminos__calle:not(.activa) .caminos__animal--felino use{ animation-duration: 11s !important; }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-tucan"] { animation: cfx-vuelo 4.2s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-tucan"] { animation: cfx-vuelo 4.2s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-paujil"] { animation: cfx-vuelo 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-paujil"] { animation: cfx-vuelo 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-tzutzuy"] { animation: cfx-vuelo 4s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-tzutzuy"] { animation: cfx-vuelo 4s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-guacamaya"] { animation: cfx-vuelo 4.2s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-guacamaya"] { animation: cfx-vuelo 4.2s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-cenzontle"] { animation: cfx-vuelo 4s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-cenzontle"] { animation: cfx-vuelo 4s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-trogon"] { animation: cfx-vuelo 4.2s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-trogon"] { animation: cfx-vuelo 4.2s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-flamenco"] { animation: cfx-flamenco 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-flamenco"] { animation: cfx-flamenco 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-buho"] { animation: cfx-buho 5s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-buho"] { animation: cfx-buho 5s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-pelicano"] { animation: cfx-pelicano 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-pelicano"] { animation: cfx-pelicano 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 90% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-jaguar"] { animation: cfx-felino 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-jaguar"] { animation: cfx-felino 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-ocelote"] { animation: cfx-felino 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-ocelote"] { animation: cfx-felino 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-tapir"] { animation: cfx-olfatea 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-tapir"] { animation: cfx-olfatea 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-tayra"] { animation: cfx-avanza 3.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-tayra"] { animation: cfx-avanza 3.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-tejon"] { animation: cfx-escarba 4s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-tejon"] { animation: cfx-escarba 4s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-pizote"] { animation: cfx-avanza 3.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-pizote"] { animation: cfx-avanza 3.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-agouti"] { animation: cfx-saltito 3.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-agouti"] { animation: cfx-saltito 3.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-venado"] { animation: cfx-venado 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-venado"] { animation: cfx-venado 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-armadillo"] { animation: cfx-armadillo 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-armadillo"] { animation: cfx-armadillo 4.6s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa use[href$="#cf-boa"] { animation: cfx-boa 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover use[href$="#cf-boa"] { animation: cfx-boa 4.8s cubic-bezier(.45,.05,.35,1) infinite both !important; animation-delay: 0s !important; transform-origin: 50% 100% !important; } }
html .caminos__mitad.visible .caminos__calle.activa .caminos__animal--carpintero use{ animation-duration: 3.2s !important; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle:hover .caminos__animal--carpintero use{ animation-duration: 3.2s !important; } }
@keyframes cfx-vuelo{ /* se eleva apenas con dos aleteos suaves y se posa */
  0%,100%{ transform: none; }
  12%{ transform: translateY(-3px) scale(1.07,.95); }
  22%{ transform: translateY(-5px) scale(.97,1.03); }
  32%{ transform: translateY(-6px) scale(1.07,.95); }
  44%{ transform: translateY(-5px) scale(1,1); }
  60%{ transform: translateY(-1px); }
  70%{ transform: none; }
}
@keyframes cfx-flamenco{ 0%,100%{ transform: none; } 25%,45%{ transform: rotate(6deg) translateY(1px); } 60%{ transform: none; } 70%{ transform: translateY(-2px) scale(1.06,.96); } 80%{ transform: none; } }
@keyframes cfx-buho{ 0%,100%{ transform: none; } 14%{ transform: scaleX(.35); } 20%,42%{ transform: scaleX(-1); } 50%{ transform: scaleX(.35); } 56%{ transform: none; } 70%{ transform: scale(1.04,1.03); } 80%{ transform: none; } }
@keyframes cfx-pelicano{ 0%,100%{ transform: none; } 30%,50%{ transform: rotate(10deg) translateY(1px); } 66%{ transform: rotate(-4deg); } 80%{ transform: none; } }
@keyframes cfx-felino{ 0%,100%{ transform: none; } 30%,44%{ transform: translateX(-2px) scale(1.03,.95); } 62%{ transform: translateX(4px) scale(1.02,.98); } 80%{ transform: translateX(1px); } }
@keyframes cfx-olfatea{ 0%,100%{ transform: none; } 22%{ transform: rotate(3deg) translateY(1px); } 34%{ transform: rotate(1.5deg); } 46%{ transform: rotate(3deg) translateY(1px); } 64%{ transform: none; } }
@keyframes cfx-avanza{ 0%,100%{ transform: none; } 18%{ transform: translate(2px,-1.5px); } 34%{ transform: translateX(4px); } 50%{ transform: translate(5px,-1.5px); } 66%{ transform: translateX(5px); } 85%{ transform: translateX(1px); } }
@keyframes cfx-escarba{ 0%,100%{ transform: none; } 16%{ transform: rotate(4deg) translateY(1px); } 26%{ transform: rotate(2deg); } 36%{ transform: rotate(4deg) translateY(1px); } 46%{ transform: rotate(2deg); } 60%{ transform: none; } }
@keyframes cfx-saltito{ 0%,100%{ transform: none; } 14%{ transform: translateY(-4px); } 26%{ transform: none; } 40%{ transform: translateY(-4px); } 52%{ transform: none; } }
@keyframes cfx-venado{ 0%,100%{ transform: none; } 18%,40%{ transform: rotate(-3deg) scale(.99,1.02); } 56%{ transform: translateY(-5px) rotate(-3deg); } 68%{ transform: none; } }
@keyframes cfx-armadillo{ 0%,100%{ transform: none; } 30%,50%{ transform: rotate(-14deg) scale(.92); } 70%{ transform: none; } }
@keyframes cfx-boa{ 0%,100%{ transform: none; } 25%{ transform: skewX(-4deg); } 50%{ transform: skewX(3deg) scale(.99,1.02); } 75%{ transform: skewX(-2deg); } }
@media (prefers-reduced-motion: reduce){ html .caminos__calle use{ animation: none !important; } }

/* 30-nov-2026 · Info dentro de fichas y etiquetas: alineada a la izquierda (ni centrada ni justificada) */
html .amen-t__txt, html .amen-t__txt *,
html .pilar-t, html .pilar-t *,
html .paso, html .paso *,
html .lotecifra, html .lotecifra *,
html .caract__t,
html .akmapa-ficha, html .akmapa-ficha *, html .akmapa-leyenda p,
html .lotev__nota, html .lotev__chapa,
html .zona__cifra,
html .mp-intro__bloque, html .mp-intro__bloque *{
  text-align: left !important; text-align-last: left !important; hyphens: manual !important; word-spacing: normal !important;
}
html .pilar-t, html .paso{ align-items: flex-start !important; }
html .amen-t__txt .ico, html .pilar-t .ico, html .paso .ico, html .paso__ico, html .pilar-t__ico{ margin-left: auto !important; margin-right: auto !important; align-self: center !important; }

/* 30-nov-2026 · Obras de Artigas: todas las tarjetas del mismo tamaño (foto 3:2 recortada, pie del ancho de la foto) */
html .artigas-obra{ width: min-content !important; }
html .artigas-obra img{ aspect-ratio: 3 / 2 !important; width: auto !important; object-fit: cover !important; object-position: 50% 45% !important; }
html .artigas-obra__pie{ text-align: left !important; text-align-last: left !important; }

/* 30-nov-2026 (ajuste) · Fichas: ícono centrado; textos de información justificados con la última línea a la izquierda */
html .amen-t__desc, html .pilar-t__texto, html .paso p:not([class*="__n"]):not([class*="titulo"]), html .lotecifra__d,
html .akmapa-ficha-desc, html .lotev__nota, html .mp-intro__bloque > p:not(.mp-intro__etiqueta){
  text-align: justify !important; text-align-last: left !important;
}

/* 30-nov-2026 · Sin saltos grandes en fichas justificadas: silabeo en español y, si aun asi queda un hueco grande,
   ronda3.js (huecos) marca el parrafo .p-suelto y se alinea a la izquierda sin justificar */
html .amen-t__desc, html .pilar-t__texto, html .paso p, html .lotecifra__d, html .akmapa-ficha-desc, html .lotev__nota,
html .mp-intro__bloque > p, html .mp__desc{ hyphens: auto !important; -webkit-hyphens: auto !important; hyphenate-limit-chars: 7 3 3; }
html p.p-suelto{ text-align: left !important; text-align-last: left !important; hyphens: manual !important; -webkit-hyphens: manual !important; }

/* 30-nov-2026 · Masterplan: con la lista de una categoria abierta tambien cabe en una pantalla
   (el alto ya reserva el renglon de la lista, asi el plano no brinca al abrirla) */
@media (min-width:961px){
  html #mapa .mp{ --alto: clamp(320px, min(42vw, calc(100svh - 236px)), 640px) !important; }
  html #mapa .mp__lista ul{ padding: 8px 14px 10px !important; gap: 6px !important; }
  html #mapa .mp__item{ padding-top: 6px !important; padding-bottom: 6px !important; }
}

/* 30-nov-2026 · Ficha de la calle (plano de fauna): con aire entre animal, textos y bordes */
html .caminos__ficha{ gap: clamp(20px, 2.4vw, 34px) !important; padding: clamp(14px, 1.6vw, 22px) 0 !important; }
html .caminos__ficha-ico{ width: 74px !important; height: 74px !important; overflow: visible; }
html .caminos__ficha-txt{ gap: 8px !important; }
html .caminos__ficha-nombre{ line-height: 1.15 !important; }
html .caminos__todo{ margin-top: clamp(14px, 1.6vw, 22px) !important; }
@media (max-width:640px){ html .caminos__ficha{ gap: 14px !important; } html .caminos__ficha-ico{ width: 52px !important; height: 52px !important; } }

/* 30-nov-2026 · Fichas: los parrafos de 2 lineas (p-dos) tampoco se centran dentro de fichas */
html .bloque :is(.amen-t__desc, .pilar-t__texto, .paso p, .lotecifra__d, .akmapa-ficha-desc, .lotev__nota, .mp-intro__bloque > p, .mp__desc).p-dos{
  text-align: left !important; text-align-last: left !important; text-wrap: pretty !important; margin-left: 0 !important; margin-right: auto !important;
}
html .amen-t__desc{ margin-left: 0 !important; margin-right: auto !important; }

/* 30-nov-2026 · Preguntas: fondo mas claro y hojas mas tenues para que el texto se lea bien;
   la respuesta alineada con su pregunta (a la izquierda) */
html #preguntas{ --fc: 246,244,238 !important; }
html #preguntas.bloque.claro{
  background-image:
    linear-gradient(rgb(var(--fc)) 0, rgba(var(--fc),0) 160px, rgba(var(--fc),0) calc(100% - 160px), rgb(var(--fc)) 100%),
    linear-gradient(rgba(var(--fc),.96), rgba(var(--fc),.96)),
    url("../assets/img/patron-hojas.svg") !important;
}
html #preguntas .objecion__cuerpo p{
  text-align: left !important; text-align-last: left !important; margin-left: 0 !important; margin-right: auto !important;
  max-width: 68ch !important; color: #2c3524 !important;
}

/* 30-nov-2026 · Pie: las notas y el aviso legal ocupan todo el ancho del pie (no una columna angosta);
   la ultima linea a la izquierda */
html .pie .pie__notas, html .pie .pie__aviso, html .pie .pie__fuentes{
  max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; justify-self: stretch !important;
}
html .pie .pie__aviso{ text-align: justify !important; text-align-last: left !important; }

/* 30-nov-2026 · Fauna por piezas (fuente/caminos/fauna-piezas): en espera el dibujo apenas respira;
   al seleccionar la calle (o pasar el cursor) cada animal mueve su cabeza, ala, cola o pata UNA vez.
   --d = hacia donde mira (-1 izquierda, 1 derecha). Giros pequenos desde la union: sin cortes. */
html .caminos__dib{ overflow: visible; }
html .caminos__dib-in{ transform-box: fill-box; transform-origin: 50% 100%; }
html .caminos__dib [class^="p-"]{ transform-box: view-box; }
html .caminos__mitad.visible .caminos__dib-in{ animation: cf-dib-espera 9s ease-in-out infinite both; animation-delay: calc(var(--k, 0) * -.7s); }
@keyframes cf-dib-espera{ 0%, 100%{ transform: none; } 50%{ transform: translateY(-1.5px); } }

/* disparo: clase activa (clic / flechas) o cursor encima */
html .caminos__calle.activa .caminos__dib .p-cabeza{ animation: cfp-cabeza 1.5s cubic-bezier(.4,0,.3,1) 1 both; }
html .caminos__calle.activa .caminos__dib .p-ala{ animation: cfp-ala 1.4s cubic-bezier(.4,0,.3,1) 1 both; }
html .caminos__calle.activa .caminos__dib .p-cola{ animation: cfp-cola 1.5s cubic-bezier(.4,0,.3,1) 1 both; }
html .caminos__calle.activa .caminos__dib .p-pata{ animation: cfp-pata 1.5s cubic-bezier(.4,0,.3,1) 1 both; }
html .caminos__calle.activa .caminos__dib .p-pata2{ animation: cfp-pata 1.5s cubic-bezier(.4,0,.3,1) .12s 1 both; }
@media (hover:hover){
  html .caminos__calle:hover .caminos__dib .p-cabeza{ animation: cfp-cabeza 1.5s cubic-bezier(.4,0,.3,1) 1 both; }
  html .caminos__calle:hover .caminos__dib .p-ala{ animation: cfp-ala 1.4s cubic-bezier(.4,0,.3,1) 1 both; }
  html .caminos__calle:hover .caminos__dib .p-cola{ animation: cfp-cola 1.5s cubic-bezier(.4,0,.3,1) 1 both; }
  html .caminos__calle:hover .caminos__dib .p-pata{ animation: cfp-pata 1.5s cubic-bezier(.4,0,.3,1) 1 both; }
  html .caminos__calle:hover .caminos__dib .p-pata2{ animation: cfp-pata 1.5s cubic-bezier(.4,0,.3,1) .12s 1 both; }
}
/* aves: alza la cabeza y asiente */
@keyframes cfp-cabeza{ 0%, 100%{ transform: none; } 18%, 36%{ transform: rotate(calc(var(--d) * 6deg)); } 56%{ transform: rotate(calc(var(--d) * -4deg)); } 74%{ transform: rotate(calc(var(--d) * 1.5deg)); } 90%{ transform: none; } }
@keyframes cfp-ala{ 0%, 100%{ transform: none; } 22%{ transform: rotate(calc(var(--d) * var(--a, 1) * 12deg)); } 40%{ transform: rotate(calc(var(--d) * var(--a, 1) * 2deg)); } 62%{ transform: rotate(calc(var(--d) * var(--a, 1) * 12deg)); } 84%{ transform: none; } }
/* alas largas: menos giro para que la punta no salga del cuerpo */
html .caminos__dib[data-animal="paujil"] .p-ala, html .caminos__dib[data-animal="pelicano"] .p-ala{ --a: .3; }
html .caminos__dib[data-animal="guacamaya"] .p-ala, html .caminos__dib[data-animal="flamenco"] .p-ala{ --a: .4; }
html .caminos__dib[data-animal="carpintero"] .p-ala, html .caminos__dib[data-animal="tzutzuy"] .p-ala{ --a: .55; }
@keyframes cfp-cola{ 0%, 100%{ transform: none; } 14%{ transform: rotate(calc(var(--d) * var(--t, 1) * 12deg)); } 26%{ transform: none; } 40%{ transform: rotate(calc(var(--d) * var(--t, 1) * 12deg)); } 54%{ transform: none; } }
@keyframes cfp-pata{ 0%, 40%, 100%{ transform: none; } 55%{ transform: rotate(calc(var(--d) * var(--l, 1) * -5deg)); } 72%{ transform: none; } }
/* mamiferos: alza la cabeza y baja a pastar / olfatear */
html .caminos__calle.activa .caminos__animal--cuadrupedo .caminos__dib .p-cabeza, html .caminos__calle:hover .caminos__animal--cuadrupedo .caminos__dib .p-cabeza, html .caminos__calle.activa .caminos__animal--felino .caminos__dib .p-cabeza, html .caminos__calle:hover .caminos__animal--felino .caminos__dib .p-cabeza{ animation-name: cfp-cabeza-tierra !important; animation-duration: 1.6s !important; }
@keyframes cfp-cabeza-tierra{ 0%, 100%{ transform: none; } 18%{ transform: rotate(calc(var(--d) * var(--h, 1) * 6deg)); } 42%{ transform: rotate(calc(var(--d) * var(--h, 1) * -11deg)); } 56%{ transform: rotate(calc(var(--d) * var(--h, 1) * -5deg)); } 70%{ transform: rotate(calc(var(--d) * var(--h, 1) * -11deg)); } 90%{ transform: none; } }
/* carpintero: tres picotazos */
html .caminos__calle.activa .caminos__animal--carpintero .caminos__dib .p-cabeza, html .caminos__calle:hover .caminos__animal--carpintero .caminos__dib .p-cabeza{ animation-name: cfp-picotea !important; animation-duration: 1.2s !important; }
@keyframes cfp-picotea{ 0%, 100%{ transform: none; } 12%, 40%, 68%{ transform: rotate(calc(var(--d) * -9deg)); } 26%, 54%, 82%{ transform: rotate(calc(var(--d) * 2deg)); } }
/* buho: ladea la cabeza a un lado y al otro; boa: la cabeza se mece */
html .caminos__calle.activa .caminos__dib[data-animal="buho"] .p-cabeza, html .caminos__calle:hover .caminos__dib[data-animal="buho"] .p-cabeza, html .caminos__calle.activa .caminos__dib[data-animal="boa"] .p-cabeza, html .caminos__calle:hover .caminos__dib[data-animal="boa"] .p-cabeza{ animation-name: cfp-ladea !important; animation-duration: 1.6s !important; }
@keyframes cfp-ladea{ 0%, 100%{ transform: none; } 22%{ transform: rotate(10deg); } 50%{ transform: rotate(-10deg); } 74%{ transform: rotate(4deg); } 90%{ transform: none; } }
/* la pieza ya se mueve: el dibujo completo deja el vaiven viejo */
html .caminos__mitad.visible .caminos__calle.activa .caminos__dib-in{ animation: none; }
@media (prefers-reduced-motion: reduce){ html .caminos__dib *, html .caminos__dib-in{ animation: none !important; } }

/* 30-nov-2026 · Zoom del animal al elegir su calle; barra compacta: informacion + icono chico y quieto.
   Lo importante es el mapa: la barra no le quita alto y el cambio entre calles es inmediato. */
html .caminos__mitad.visible .caminos__calle.activa .caminos__animal-in{ transform: scale(1.75) !important; transition: transform .35s cubic-bezier(.2,.8,.2,1) 0s, opacity .25s ease !important; }
html .caminos__mitad.visible .caminos__calle:not(.activa) .caminos__animal-in{ transition-duration: .25s !important; transition-delay: 0s !important; }
@media (hover:hover){
  html .caminos__mitad.visible .caminos__calle:hover .caminos__animal-in{ transform: translateY(-6px) scale(1.75) !important; transition: transform .3s cubic-bezier(.2,.8,.2,1) 0s, opacity .25s ease !important; }
  html .caminos__mitad.visible .caminos__calle--sur:hover .caminos__animal-in{ transform: translateY(6px) scale(1.75) !important; }
}
html .caminos__nav{ width: auto !important; padding: 6px 8px !important; gap: 10px !important; flex-wrap: nowrap !important; margin-bottom: 10px !important; }
html .caminos__ficha{ flex: none !important; padding: 0 6px !important; gap: 12px !important; }
html .caminos__ficha-ico{ width: 36px !important; height: 36px !important; animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
html .caminos__ficha-ico *{ animation: none !important; }
html .caminos__ficha-txt{ gap: 1px !important; }
html .caminos__ficha-nombre{ font-size: clamp(18px, 1.7vw, 21px) !important; }
html .caminos__flecha{ width: 42px !important; height: 42px !important; }
html .caminos__todo{ flex: none !important; margin: 0 !important; min-height: 42px; padding: 6px 8px !important; }
@media (max-width:640px){ html .caminos__ficha-ico{ width: 30px !important; height: 30px !important; } html .caminos__nav{ flex-wrap: wrap !important; justify-content: center !important; } html .caminos__todo{ letter-spacing: .08em !important; } }
/* 30-nov-2026 · Buho con mas vida: ladea la cabeza bien marcado, parpadea y abre las dos alas desde el hombro */
html .caminos__calle.activa .caminos__dib[data-animal="buho"] .p-cabeza{ animation: cfp-buho-cabeza 1.8s cubic-bezier(.4,0,.3,1) 1 both !important; }
html .caminos__calle.activa .caminos__dib[data-animal="buho"] .p-ala{ animation: cfp-buho-ala 1.4s cubic-bezier(.4,0,.3,1) .1s 1 both !important; }
html .caminos__calle.activa .caminos__dib[data-animal="buho"] .p-ala2{ animation: cfp-buho-ala2 1.4s cubic-bezier(.4,0,.3,1) .1s 1 both !important; }
html .caminos__calle.activa .caminos__dib[data-animal="buho"] .p-ojo{ animation: cfp-buho-ojo 1.8s ease-in-out 1 both !important; }
@media (hover:hover){
  html .caminos__calle:hover .caminos__dib[data-animal="buho"] .p-cabeza{ animation: cfp-buho-cabeza 1.8s cubic-bezier(.4,0,.3,1) 1 both !important; }
  html .caminos__calle:hover .caminos__dib[data-animal="buho"] .p-ala{ animation: cfp-buho-ala 1.4s cubic-bezier(.4,0,.3,1) .1s 1 both !important; }
  html .caminos__calle:hover .caminos__dib[data-animal="buho"] .p-ala2{ animation: cfp-buho-ala2 1.4s cubic-bezier(.4,0,.3,1) .1s 1 both !important; }
  html .caminos__calle:hover .caminos__dib[data-animal="buho"] .p-ojo{ animation: cfp-buho-ojo 1.8s ease-in-out 1 both !important; }
}
@keyframes cfp-buho-cabeza{ 0%, 100%{ transform: none; } 22%, 34%{ transform: rotate(-13deg); } 56%, 66%{ transform: rotate(11deg); } 82%{ transform: rotate(-4deg); } 92%{ transform: none; } }
@keyframes cfp-buho-ala{ 0%, 100%{ transform: none; } 18%{ transform: rotate(-9deg); } 32%{ transform: rotate(-2deg); } 48%{ transform: rotate(-9deg); } 68%{ transform: none; } }
@keyframes cfp-buho-ala2{ 0%, 100%{ transform: none; } 18%{ transform: rotate(9deg); } 32%{ transform: rotate(2deg); } 48%{ transform: rotate(9deg); } 68%{ transform: none; } }
@keyframes cfp-buho-ojo{ 0%, 40%, 52%, 100%{ transform: none; } 46%{ transform: scaleY(.12); } }
/* 30-nov-2026 · Flechas siempre en el mismo sitio: la barra tiene ancho fijo, las flechas van en los extremos
   y el texto (nombres largos, «Ver plano completo») se acomoda en medio sin empujarlas. */
html .caminos__nav{ width: min(100%, 560px) !important; justify-content: space-between !important; flex-wrap: nowrap !important; }
html .caminos__flecha--ant{ order: 0; }
html .caminos__ficha{ order: 1; flex: 1 1 0 !important; min-width: 0 !important; justify-content: flex-start !important; }
html .caminos__todo{ order: 2; }
html .caminos__flecha--sig{ order: 3; }
html .caminos__ficha-txt{ min-width: 0; }
html .caminos__ficha-nombre{ overflow: hidden; text-overflow: ellipsis; }
@media (max-width:640px){
  html .caminos__nav{ width: 100% !important; flex-wrap: wrap !important; }
  html .caminos__todo{ order: 4; flex: 0 0 100% !important; }
}
/* 30-nov-2026 · Boa saca la lengua (tres veces, rapido) y el armadillo olfatea moviendo la carita */
html .caminos__calle.activa .caminos__dib[data-animal="boa"] .p-lengua{ animation: cfp-lengua 1.5s ease-in-out .15s 1 both; }
html .caminos__calle.activa .caminos__dib[data-animal="armadillo"] .p-cabeza{ animation: cfp-olfatea 1.5s ease-in-out 1 both !important; }
@media (hover:hover){
  html .caminos__calle:hover .caminos__dib[data-animal="boa"] .p-lengua{ animation: cfp-lengua 1.5s ease-in-out .15s 1 both; }
  html .caminos__calle:hover .caminos__dib[data-animal="armadillo"] .p-cabeza{ animation: cfp-olfatea 1.5s ease-in-out 1 both !important; }
}
@keyframes cfp-lengua{ 0%, 100%{ transform: none; } 8%{ transform: scaleX(.35); } 18%{ transform: scaleX(1.25) rotate(4deg); } 28%{ transform: scaleX(.35); } 40%{ transform: scaleX(1.25) rotate(-4deg); } 50%{ transform: scaleX(.35); } 62%{ transform: scaleX(1.2); } 76%{ transform: none; } }
@keyframes cfp-olfatea{ 0%, 100%{ transform: none; } 12%{ transform: rotate(calc(var(--d) * -9deg)); } 22%{ transform: rotate(calc(var(--d) * 3deg)); } 34%{ transform: rotate(calc(var(--d) * -9deg)); } 44%{ transform: rotate(calc(var(--d) * 3deg)); } 56%{ transform: rotate(calc(var(--d) * -7deg)); } 72%{ transform: rotate(calc(var(--d) * 2deg)); } 86%{ transform: none; } }

/* 30-nov-2026 · Fauna del sur con mas movimiento: giros mas amplios por animal (--h cabeza, --t cola, --l patas),
   medidos para que ninguna union se abra, y un paso del cuerpo en los que caminan */
html .caminos__calle--sur .caminos__dib{ --h: 1.3; --t: 1.6; --l: 1.8; }
html .caminos__dib[data-animal="jaguar"]{ --t: 1.7; --l: 2.2; }
html .caminos__dib[data-animal="ocelote"]{ --t: 1; }
html .caminos__dib[data-animal="venado"]{ --l: 1.2; }
html .caminos__calle.activa .caminos__dib[data-animal="tejon"] .p-cabeza, html .caminos__calle:hover .caminos__dib[data-animal="tejon"] .p-cabeza{ animation-name: cfp-olfatea !important; animation-duration: 1.5s !important; }
html .caminos__mitad.visible .caminos__calle--sur.activa .caminos__dib:not([data-animal="jaguar"]):not([data-animal="boa"]) .caminos__dib-in{ animation: cf-paso 1.3s ease-in-out 1 both; }
@media (hover:hover){ html .caminos__mitad.visible .caminos__calle--sur:hover .caminos__dib:not([data-animal="jaguar"]):not([data-animal="boa"]) .caminos__dib-in{ animation: cf-paso 1.3s ease-in-out 1 both; } }
@keyframes cf-paso{ 0%, 100%{ transform: none; } 20%, 60%{ transform: translateY(-4px); } 40%, 80%{ transform: translateY(0); } }
