/* Trekking collection hero: full-bleed mountain photograph, breadcrumb pill, oversized title and two actions. No rules or frames. */
.collection-hero { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; min-height: clamp(600px, calc(100svh - var(--home-header-height, 88px)), 880px); overflow: hidden; background: #231F20; color: #FFFFFF; font-family: 'Poppins', sans-serif; }
.collection-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: collection-hero-settle 2.4s cubic-bezier(.2, .8, .2, 1) both, collection-hero-drift 30s ease-in-out 2.4s infinite alternate; }
.collection-hero::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35, 31, 32, .82) 0%, rgba(35, 31, 32, .5) 45%, rgba(35, 31, 32, .12) 85%), linear-gradient(0deg, rgba(35, 31, 32, .8) 0%, rgba(35, 31, 32, 0) 50%), linear-gradient(180deg, rgba(35, 31, 32, .35) 0%, rgba(35, 31, 32, 0) 25%); content: ''; }
.collection-hero__top, .collection-hero__inner { box-sizing: border-box; width: min(1440px, 100%); margin: 0 auto; padding-inline: clamp(20px, 5vw, 80px); }

.collection-hero__top { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.collection-hero__crumbs { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); font-size: .76rem; font-weight: 500; letter-spacing: .04em; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.collection-hero__crumbs a { color: #FFFFFF; text-decoration: none; transition: color .3s ease; }
.collection-hero__crumbs a:hover { color: #6B9A40; }
.collection-hero__crumbs svg { width: .8rem; height: .8rem; opacity: .7; }

/* Bottom padding keeps the actions clear of the floating WhatsApp button. */
.collection-hero__inner { display: flex; align-items: flex-end; padding-block: 2rem 6.5rem; }
.collection-hero__content { display: grid; justify-items: start; max-width: 820px; }
.document-page .collection-hero__title { margin: 0; color: #FFFFFF; font-family: 'Poppins', sans-serif !important; font-size: clamp(3.4rem, 9vw, 8rem) !important; font-weight: 700 !important; letter-spacing: -.045em; line-height: .95 !important; text-transform: none !important; text-shadow: 0 14px 40px rgba(0, 0, 0, .3); }
.document-page .collection-hero__intro { max-width: 520px; margin: 1.4rem 0 0; color: rgba(255, 255, 255, .86); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; }
.collection-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.collection-hero__button { display: inline-flex; align-items: center; gap: 1rem; padding: .45rem .45rem .45rem 1.7rem; border-radius: 999px; color: #FFFFFF !important; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: background .4s ease; }
.collection-hero__button--primary { background: #755431; box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .7); }
.collection-hero__button--glass { background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.collection-hero__button-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: #FFFFFF; transition: color .4s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.collection-hero__button--primary .collection-hero__button-icon { color: #755431; }
.collection-hero__button--glass .collection-hero__button-icon { color: #3E6423; }
.collection-hero__button-icon svg { width: 1.05rem; height: 1.05rem; }
.collection-hero__button--primary:hover, .collection-hero__button--primary:focus-visible { background: #3E6423; }
.collection-hero__button--primary:hover .collection-hero__button-icon, .collection-hero__button--primary:focus-visible .collection-hero__button-icon { color: #3E6423; transform: translateY(3px); }
.collection-hero__button--glass:hover, .collection-hero__button--glass:focus-visible { background: rgba(255, 255, 255, .26); }
.collection-hero__button--glass:hover .collection-hero__button-icon, .collection-hero__button--glass:focus-visible .collection-hero__button-icon { transform: rotate(-45deg); }
.collection-hero a:focus-visible { outline: 3px solid #6B9A40; outline-offset: 4px; }
#collection-routes { scroll-margin-top: calc(var(--home-header-height, 88px) + 1rem); }
.collection-intro { margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem); }

/* Entrance: breadcrumb, title, intro and actions rise in sequence once the page opens. */
.collection-hero__top, .collection-hero__content > * { animation: collection-hero-rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.collection-hero__top { animation-delay: .1s; }
.collection-hero__content > :nth-child(1) { animation-delay: .2s; }
.collection-hero__content > :nth-child(2) { animation-delay: .34s; }
.collection-hero__content > :nth-child(3) { animation-delay: .48s; }
@keyframes collection-hero-rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes collection-hero-settle { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes collection-hero-drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }

@media (max-width: 767px) {
    .collection-hero::before { background: linear-gradient(180deg, rgba(35, 31, 32, .45) 0%, rgba(35, 31, 32, .55) 40%, rgba(35, 31, 32, .9) 100%); }
    .collection-hero__inner { padding-bottom: 5.5rem; }
}
@media (max-width: 450px) {
    .collection-hero__button { padding-left: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .collection-hero__image, .collection-hero__top, .collection-hero__content > * { animation: none; }
    .collection-hero__button, .collection-hero__button-icon, .collection-hero__crumbs a { transition: none; }
}
