/* Trip catalogue: /tour and the homepage block share these cards. Logical
   properties only, so the same file serves right-to-left pages. */
.cap-catalog{background:#f7f8f6;color:#153f42}
.cap-tours-hero{position:relative;display:flex;align-items:flex-end;min-height:min(68svh,620px);overflow:hidden;background:#063c43;color:#fff}
.cap-tours-hero picture,.cap-tours-hero img{position:absolute;inset:0;width:100%;height:100%}
.cap-tours-hero img{object-fit:cover;object-position:50% 58%}
.cap-tours-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,24,44,.5) 0,rgba(0,24,44,.08) 34%,rgba(1,24,32,.72) 100%)}
.cap-tours-hero__inner{position:relative;z-index:1;box-sizing:border-box;width:100%;max-width:1304px;margin-inline:auto;padding:150px 32px 56px}
.cap-tours-hero h1{margin:0;font:800 clamp(42px,5.6vw,76px)/1.04 Archivo,sans-serif;color:#fff}
.cap-tours-hero h1 em{display:block;font:400 .78em/1.15 Satisfy,cursive;color:#f5b62b}
.cap-tours-hero p{margin:14px 0 0;font:500 clamp(16px,1.35vw,19px)/1.5 Poppins,sans-serif;color:#fff}
.cap-catalog__wrap{box-sizing:border-box;max-width:1304px;margin-inline:auto;padding:64px 32px 72px}
.cap-trips-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
.cap-trips-head::before{content:none}
.cap-trips-head p{margin:0 0 6px;font:600 13px/1.4 Poppins,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#008f8a}
.cap-trips-head h2{margin:0;font:800 clamp(30px,3vw,42px)/1.12 Archivo,sans-serif;color:#10363b}
.cap-trips-head h2 em{font-style:normal;color:#008f8a}
.cap-trips-all{flex:none;font:600 15px/1.4 Poppins,sans-serif;color:#0b6f6d!important;text-decoration:underline;text-underline-offset:3px}
.cap-trips{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;min-height:320px}
.cap-trip,.cap-trip:hover,.cap-trip:focus{grid-column:span 2;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dfe7e6;border-radius:8px;background:#fff;color:#153f42;text-decoration:none;transition:box-shadow .2s ease,transform .2s ease}
.cap-trip[hidden]{display:none}
.cap-trip.is-wide{grid-column:span 3}
.cap-trip:hover{box-shadow:0 12px 28px rgba(6,60,67,.16);transform:translateY(-3px)}
.cap-trip:focus-visible{outline:3px solid #008f8a;outline-offset:2px}
.cap-trip__img{aspect-ratio:16/10;overflow:hidden;background:#d8e3e2}
.cap-trip.is-wide .cap-trip__img{aspect-ratio:2/1}
.cap-trip__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.cap-trip:hover .cap-trip__img img{transform:scale(1.04)}
.cap-trip__body{display:flex;flex:1;flex-direction:column;padding:20px 22px 22px}
.cap-trip__kicker{margin:0 0 8px;font:600 13px/1.45 Poppins,sans-serif;color:#0b7a78}
.cap-trip h3{margin:0;font:800 23px/1.2 Archivo,sans-serif;color:#10363b;white-space:normal}
.cap-trip__meta{margin:8px 0 0;font:500 15px/1.5 Poppins,sans-serif;color:#284f54}
.cap-trip__dates{min-height:1.5em;margin:6px 0 0;font:400 14px/1.5 Poppins,sans-serif;color:#536c71}
.cap-trip__foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 16px;margin-top:auto;padding-top:18px}
.cap-trip__price{margin:0;font:400 13px/1.35 Poppins,sans-serif;color:#536c71}
.cap-trip__price span{display:block}
.cap-trip__price b{display:block;margin-top:2px;font:800 27px/1.15 Archivo,sans-serif;color:#10363b;white-space:nowrap}
.cap-trip__go{flex:none;padding:11px 16px;border-radius:6px;background:#e95850;font:600 14px/1.2 Poppins,sans-serif;color:#fff;transition:background .2s ease}
.cap-trip:hover .cap-trip__go{background:#d3453d}
.cap-trip .cap-dir-arrow{display:inline-block}
[dir="rtl"] .cap-trip .cap-dir-arrow{transform:scaleX(-1)}
.cap-trips-note{margin:24px 0 0;font:400 14px/1.6 Poppins,sans-serif;color:#536c71}
.cap-trips-empty{font:500 17px/1.6 Poppins,sans-serif}
.cap-trips-empty[hidden]{display:none}
.cap-trips-empty a{color:#c93f37;text-decoration:underline}
.cap-tours-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px;margin-top:48px;padding:30px 34px;border-radius:8px;background:#063c43;color:#fff}
.cap-tours-contact h2{margin:0;font:800 clamp(24px,2.3vw,32px)/1.2 Archivo,sans-serif;color:#fff}
.cap-tours-contact div{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.cap-tours-contact a{font:600 16px/1.3 Poppins,sans-serif;color:#fff}
.cap-tours-contact a[href="/contact"],.cap-tours-contact a[href$="/contact"]{padding:14px 24px;border-radius:6px;background:#e95850}
.cap-tours-contact a[href^="tel:"]{direction:ltr;unicode-bidi:isolate}
@media(max-width:1000px){.cap-trips{grid-template-columns:repeat(2,minmax(0,1fr))}.cap-trip,.cap-trip:hover,.cap-trip:focus,.cap-trip.is-wide{grid-column:span 1}.cap-trip.is-wide .cap-trip__img{aspect-ratio:16/10}}
@media(max-width:640px){.cap-tours-hero{min-height:min(58svh,460px)}.cap-tours-hero__inner{padding:120px 20px 36px}.cap-catalog__wrap{padding:40px 20px 56px}.cap-trips{grid-template-columns:minmax(0,1fr);gap:18px}.cap-trips-head{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:22px}.cap-tours-contact{margin-top:32px;padding:24px 20px}.cap-trip__body{padding:18px}}
.cap-catalog .site-header:not(.is-scrolled){background:transparent;box-shadow:none}
/* Quiet motion on /tour only: the hero photo settles, the title lifts in,
   and cards rise in a short stagger as departures.js reveals them. Opacity
   and transform only, so nothing shifts; none of it runs for reduced motion. */
@keyframes capSettle{from{transform:scale(1.06)}to{transform:none}}
@keyframes capRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
.cap-catalog .cap-tours-hero img{animation:capSettle 2.4s cubic-bezier(.2,.7,.2,1) both}
.cap-catalog .cap-tours-hero h1,.cap-catalog .cap-tours-hero p{animation:capRise .7s cubic-bezier(.2,.7,.2,1) .15s both}
.cap-catalog .cap-tours-hero p{animation-delay:.3s}
.cap-catalog .cap-trip{animation:capRise .55s cubic-bezier(.2,.7,.2,1) both}
.cap-catalog .cap-trip:nth-child(2){animation-delay:.06s}
.cap-catalog .cap-trip:nth-child(3){animation-delay:.12s}
.cap-catalog .cap-trip:nth-child(4){animation-delay:.18s}
.cap-catalog .cap-trip:nth-child(5){animation-delay:.24s}
.cap-catalog .cap-trip:nth-child(6){animation-delay:.3s}
.cap-catalog .cap-trip:nth-child(n+7){animation-delay:.36s}
.cap-catalog .cap-trip__go .cap-dir-arrow{transition:translate .2s ease}
.cap-catalog .cap-trip:hover .cap-trip__go .cap-dir-arrow{translate:3px 0}
[dir="rtl"] .cap-catalog .cap-trip:hover .cap-trip__go .cap-dir-arrow{translate:-3px 0}
}
