/* JCBike Rutas — bloque de portada */
.jcbr-home {
  --h-accent: var(--jc-accent, #b8864b);
  --h-ink: var(--jc-ink, #2a2c31);
  --h-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --h-sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: relative; isolation: isolate; overflow: hidden;
  width: 100vw; left: 50%; margin: 0 0 3rem -50vw;
  min-height: min(88vh, 860px); display: flex; align-items: center;
  font-family: var(--h-sans); color: #fff; background: #1d1f23;
}
.jcbr-home * { box-sizing: border-box; }
.jcbr-home__bg { position: absolute; inset: -4%; z-index: -3; background: #2a2c31 center / cover no-repeat; transform-origin: 60% 40%; animation: jcbr-kenburns 28s ease-in-out infinite alternate; }
.jcbr-home__shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse at 75% 30%, rgba(184,134,75,.25), transparent 55%),
  linear-gradient(90deg, rgba(18,19,22,.92) 0%, rgba(18,19,22,.72) 42%, rgba(18,19,22,.25) 75%, rgba(18,19,22,.45) 100%),
  linear-gradient(0deg, rgba(18,19,22,.85) 0%, transparent 40%); }
.jcbr-home__trace { position: absolute; z-index: -1; right: -2%; top: 50%; width: min(62vw, 980px); height: auto; transform: translateY(-55%); opacity: .95; pointer-events: none; }
.jcbr-home__trace path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: jcbr-draw-h 5.5s cubic-bezier(.65,0,.35,1) .4s forwards; }
.jcbr-home__trace .glow { stroke: rgba(184,134,75,.35); stroke-width: 7; filter: blur(3px); }
.jcbr-home__trace .line { stroke: #e2b780; stroke-width: 2.2; }
.jcbr-home__trace .dot { fill: #fff; filter: drop-shadow(0 0 4px #e2b780); opacity: 0; animation: jcbr-fade-in 1s ease 5.6s forwards; }
.jcbr-home__inner { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) 1.5rem; display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 2rem; align-items: end; }
.jcbr-home__eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; font-size: .78rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: #e2b780; }
.jcbr-home__eyebrow span { width: 46px; height: 2px; background: currentColor; }
.jcbr-home__title { margin: 0 0 1.1rem; font-family: var(--h-serif); font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.01em; color: #fff; text-transform: none; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.jcbr-home__sub { margin: 0 0 1.8rem; max-width: 560px; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: rgba(255,255,255,.82); }
.jcbr-home__search { display: flex; align-items: center; gap: .4rem; max-width: 620px; padding: .4rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.jcbr-home__search input { flex: 1; min-width: 0; height: 46px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: #fff; color: var(--h-ink); font: inherit; font-size: .95rem; outline: none; }
.jcbr-home__search select { height: 46px; padding: 0 .8rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--h-ink); font: inherit; font-size: .85rem; }
.jcbr-home__search button { height: 46px; padding: 0 1.3rem; border: 0; border-radius: 999px; background: var(--h-accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; transition: background .2s; }
.jcbr-home__search button:hover { background: #fff; color: var(--h-ink); }
.jcbr-home__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.jcbr-home__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 2rem; }
.jcbr-home__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; background: #fff; color: var(--h-ink) !important; font-weight: 800; font-size: .9rem; text-decoration: none !important; transition: transform .2s, background .2s; }
.jcbr-home__btn:hover { transform: translateY(-2px); background: #e2b780; }
.jcbr-home__btn.is-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.5); }
.jcbr-home__btn.is-ghost:hover { background: rgba(255,255,255,.12); }
.jcbr-home__btn i { font-style: normal; transition: transform .2s; }
.jcbr-home__btn:hover i { transform: translateX(4px); }
.jcbr-home__stats { display: flex; gap: 2.4rem; margin: 0; }
.jcbr-home__stats div { display: flex; flex-direction: column-reverse; }
.jcbr-home__stats dd { margin: 0; font-family: var(--h-serif); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.jcbr-home__stats dt { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: .35rem; }
.jcbr-home__cards { display: grid; gap: .7rem; justify-self: end; width: min(100%, 380px); }
.jcbr-home__card { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem .7rem .7rem; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff !important; text-decoration: none !important; transition: background .25s, transform .25s; }
.jcbr-home__card:hover { background: rgba(255,255,255,.2); transform: translateX(-4px); }
.jcbr-home__card svg { flex: 0 0 84px; height: 54px; border-radius: 12px; background: rgba(0,0,0,.25); }
.jcbr-home__card svg path { fill: none; stroke: #e2b780; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.jcbr-home__card-body { display: grid; gap: .1rem; min-width: 0; }
.jcbr-home__card-body small { font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #e2b780; }
.jcbr-home__card-body b { font-size: .95rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jcbr-home__card-body span { font-size: .76rem; color: rgba(255,255,255,.75); }
.jcbr-home__credit { position: absolute; right: 1rem; bottom: .6rem; margin: 0; font-size: .66rem; color: rgba(255,255,255,.55); }
.jcbr-home__credit a { color: inherit !important; }
.jcbr-home .is-hidden-anim { opacity: 0; transform: translateY(18px); }
.jcbr-home .is-in-anim { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
@keyframes jcbr-kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }
@keyframes jcbr-draw-h { to { stroke-dashoffset: 0; } }
@keyframes jcbr-fade-in { to { opacity: 1; } }
@media (max-width: 991px) {
  .jcbr-home { min-height: 0; }
  .jcbr-home__inner { grid-template-columns: 1fr; }
  .jcbr-home__cards { justify-self: stretch; width: 100%; }
  .jcbr-home__trace { width: 120vw; right: -30vw; top: 32%; opacity: .5; }
}
@media (max-width: 640px) {
  .jcbr-home__inner { padding: 3rem 1rem 2.4rem; }
  .jcbr-home__search { flex-wrap: wrap; border-radius: 20px; }
  .jcbr-home__search input { flex: 1 1 100%; }
  .jcbr-home__search select { flex: 1; }
  .jcbr-home__stats { gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .jcbr-home__bg, .jcbr-home__trace path, .jcbr-home__trace .dot { animation: none !important; stroke-dashoffset: 0; opacity: 1; }
}
