/* Ca La Fustereta – cyclists' page (/allotjament-bici-figueres and translations).
   Loaded after site.css, only on that page; everything else comes from the shared design system. */

/* hero: shorter than the home one, with the breadcrumb and two buttons */
.hero--bike { min-height: min(80svh, 760px); }
.hero--bike .hero__media img { object-position: 75% 55%; }
.hero--bike .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.crumbs--light { margin: 0; align-items: center; color: rgba(255,255,255,.75); }
.crumbs--light a { color: rgba(255,255,255,.92); }
@media (max-width: 600px) {
  .hero--bike { min-height: 0; }
  .hero--bike .hero__content { padding-top: 96px; padding-bottom: 32px; }
  .hero--bike .btn-row .btn { flex: 1 1 auto; }
}

/* equipment: extra services under the photo cards */
.checks--2 { grid-template-columns: 1fr 1fr; gap: 10px 32px; margin: 28px 0 0; }
@media (max-width: 700px) { .checks--2 { grid-template-columns: 1fr; } }

/* cyclist option + the two homes it applies to */
.bike-opt-sec { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bike-opt-sec h2 { margin: 14px 0 16px; }
@media (max-width: 920px) { .bike-opt-sec { grid-template-columns: minmax(0, 1fr); } }
.others--stack { grid-template-columns: minmax(0, 1fr); }
.bike-note { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: var(--r-pill); background: #edf0e5; color: var(--olive); font-weight: 600; font-size: var(--fs-sm); }

/* routes from the door */
.routes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.route { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--linen); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.route--big { grid-column: span 3; }
.route:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.route__img { display: block; overflow: hidden; }
.route__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.route:hover .route__img img { transform: scale(1.04); }
.route__body { display: grid; gap: 10px; padding: 18px 20px 22px; align-content: start; flex: 1; }
.route h3 { font-size: 1.3rem; }
.route h3 a { text-decoration: none; }
.route h3 a:hover { color: var(--terra); }
.route p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.route__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.route__stats li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--cream); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.route__stats svg { color: var(--wood-dk); }
.route__lvl--ok { background: #edf0e5 !important; color: var(--olive) !important; }
.route__lvl--mid { background: #f7ead6 !important; color: #8a5a17 !important; }
.route__lvl--hard { background: #f6e1d8 !important; color: var(--terra-dk) !important; }
.route__more { margin-top: auto; font-weight: 600; font-size: var(--fs-sm); color: var(--terra); text-decoration: none; }
.route__more:hover { text-decoration: underline; }
.routes__note { margin: 22px 0 0; font-size: var(--fs-sm); color: var(--ink-3); max-width: 80ch; }
@media (max-width: 960px) {
  .routes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(82%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .route, .route--big { grid-column: auto; scroll-snap-align: start; }
}

/* plan your trip */
.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .plan { grid-template-columns: minmax(0, 1fr); } }
.plan__item { background: var(--white); border: 1px solid var(--linen); border-radius: var(--r-lg); padding: 24px; }
.plan__item h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.plan__item p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.plan__ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--cream); color: var(--wood-dk); display: grid; place-items: center; }

/* booking finder in a light section */
.finder--page { max-width: 980px; margin: 0 auto; border: 1px solid var(--linen); }

/* blog guides */
.guides { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .guides { grid-template-columns: minmax(0, 1fr); } }
.guide { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px 16px 16px; background: var(--white); border: 1px solid var(--linen); border-radius: var(--r-md); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.guide:hover { box-shadow: var(--shadow-1); border-color: var(--wood); }
.guide small { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.guide b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: 1.1rem; line-height: 1.3; }
.guide__go { color: var(--terra); font-size: 1.2rem; }

.route__more { display: inline-flex; align-items: center; min-height: 32px; }
