/* Catalogue page styles (destinations, country, city, tours, tour). Loaded after fx.css. */

/* ---------- Rails (generic) ---------- */
.rail-section { position: relative; overflow: hidden; }
.rail-section .container { position: relative; z-index: 1; }
.rail-section .rail-controls { align-items: center; gap: var(--s-3); }
.rail-section .rail-controls .text-link { margin-right: var(--s-2); }
.rail > .rail-card { flex: 0 0 min(82vw, 340px); display: flex; }
.rail > .rail-card > * { width: 100%; }
.rail > .rail-card.is-place { flex-basis: min(60vw, 240px); }
.related-rail { background: var(--stone-100); }
@media (max-width: 639px) { .rail-section .rail-btn { display: none; } }

/* ---------- Country tiles in a grid ---------- */
.tile-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); perspective: 1200px; }
@media (min-width: 768px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile-grid .dest-tile h3 { font-size: clamp(1.15rem, .95rem + 1vw, 1.6rem); }
@media (max-width: 479px) { .tile-grid .dest-tile-label { padding: var(--s-3); } .tile-grid .dest-tile-label p { font-size: .65rem; } }

/* ---------- Region pill nav (destinations) ---------- */
.region-pills { background: rgba(251, 248, 242, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); padding-block: var(--s-3); }
.region-pills ul { list-style: none; margin: 0; padding: 2px 0; }
.region-pills a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1.05rem; border-radius: var(--r-full); border: 1px solid var(--line-strong); background: var(--white); color: var(--slate-700); font-size: var(--fs-small); font-weight: 650; text-decoration: none; white-space: nowrap; transition: background var(--t), color var(--t), border-color var(--t), transform 300ms var(--ease-out); }
.region-pills a:hover { border-color: var(--navy-800); color: var(--navy-800); transform: translateY(-2px); }
.region-pills a.is-current { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.region-pills .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: var(--r-full); background: var(--stone-100); color: var(--navy-800); font-size: .72rem; font-weight: 700; }
.region-pills a.is-current .count { background: var(--gold-500); color: var(--navy-950); }

.regions-wrap { position: relative; }
.regions-wrap > .container { position: relative; z-index: 1; }
.region-block { padding-block: var(--s-8) var(--s-7); }
.region-block-head { align-items: flex-end; }
.region-index { margin: 0 0 .25rem; font-family: var(--font-display); font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--gold-500); }
.region-block-head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); letter-spacing: -.02em; }
.region-stats { display: flex; gap: var(--s-2); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.region-stats li { padding: .4rem .9rem; border-radius: var(--r-full); background: var(--white); border: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.region-stats strong { color: var(--navy-800); font-family: var(--font-display); font-size: 1.1rem; font-weight: 550; }

/* ---------- Country / city ---------- */
.country-intro { position: relative; overflow: hidden; }
.country-intro > .container { position: relative; z-index: 1; }
.country-intro .bg-contours { opacity: .7; }
.glance-facts li > span { display: block; color: var(--white); line-height: 1.45; }
.glance-facts li small { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); margin-bottom: .1rem; }
.glance .btn-row { margin-top: var(--s-2); }
.style-chips .chip { transition: background var(--t), color var(--t), border-color var(--t), transform 300ms var(--ease-out); }
.style-chips .chip:hover { transform: translateY(-2px); background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.style-chips .chip:hover .count { color: var(--gold-400); }
.content-split .feature-grid { margin-top: var(--s-6); }
.content-split .feature-grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .content-split .feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.place-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1100px) { .place-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.place-tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); isolation: isolate; box-shadow: var(--sh-1); transition: transform 500ms var(--ease-out), box-shadow var(--t); }
.place-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(11, 20, 48, .55); }
.place-tile .media { position: absolute; inset: 0; z-index: -1; }
.place-tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.place-tile:hover .media img { transform: scale(1.1); }
.place-tile .media-placeholder { position: absolute; inset: 0; }
.place-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(11, 20, 48, .88)); }
.place-tile-label { position: absolute; inset: auto 0 0 0; padding: var(--s-4); color: var(--white); }
.place-tile h3 { margin: 0; font-size: 1.2rem; line-height: 1.15; }
.place-tile h3 a { color: var(--white); text-decoration: none; }
.place-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.place-tile-label span { display: block; margin-top: .2rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .8); font-weight: 600; }
.place-tile-arrow { position: absolute; top: var(--s-3); right: var(--s-3); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid var(--glass-line); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform 400ms var(--ease-out), background var(--t), color var(--t); }
.place-tile:hover .place-tile-arrow { transform: rotate(45deg); background: var(--gold-500); color: var(--navy-950); }

.tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 .35rem; margin-left: .15rem; border-radius: var(--r-full); background: rgba(27, 42, 90, .08); font-size: .7rem; font-weight: 700; }
.tab-list [role="tab"][aria-selected="true"] .tab-count { background: rgba(255, 255, 255, .18); }

/* ---------- Tours listing ---------- */
.style-nav { position: relative; z-index: 3; padding-block: var(--s-5) 0; }
.style-pills { list-style: none; margin: 0; padding: 4px 0 6px; }
.style-pills a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem; border-radius: var(--r-full); border: 1px solid var(--line-strong); background: var(--white); color: var(--slate-700); font-size: var(--fs-small); font-weight: 650; text-decoration: none; white-space: nowrap; transition: background var(--t), color var(--t), border-color var(--t), transform 300ms var(--ease-out), box-shadow var(--t); }
.style-pills a .icon { color: var(--gold-700); }
.style-pills a:hover { transform: translateY(-2px); border-color: var(--navy-800); color: var(--navy-800); box-shadow: var(--sh-2); }
.style-pills a[aria-current="page"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.style-pills a[aria-current="page"] .icon { color: var(--gold-400); }
.style-pills .count { color: var(--muted); font-weight: 500; font-size: var(--fs-xs); }
.style-pills a[aria-current="page"] .count { color: var(--navy-200); }
.type-intro .prose { max-width: 78ch; }

.listing-section { padding-top: var(--s-6); }
.filters { border-radius: var(--r-xl); border-color: var(--line); box-shadow: 0 20px 40px -32px rgba(18, 30, 69, .4); overflow: hidden; }
@media (min-width: 1024px) { .filters { top: calc(var(--header-h) + 16px); scrollbar-width: thin; } }
.filters-head { background: var(--navy-900); color: var(--white); border-bottom: 0; position: relative; overflow: hidden; }
.filters-head::after { content: ""; position: absolute; inset: 0; background: url("../img/fx/contours.svg") center / cover; opacity: .18; pointer-events: none; }
.filters-head h2 { color: var(--white); position: relative; z-index: 1; }
.filters-head h2 .icon { color: var(--gold-400); }
.filters-head .filters-close { position: relative; z-index: 1; color: var(--white); }
.filter-group legend, .filter-group > .field-label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.filter-option { padding: .15rem .55rem; margin-inline: -.55rem; border-radius: var(--r-sm); transition: background var(--t); }
.filter-option:hover { background: var(--ivory); }
.filter-option:has(input:checked) { background: var(--navy-50); color: var(--navy-800); font-weight: 650; }
.filter-option .count { padding: .05rem .45rem; border-radius: var(--r-full); background: var(--stone-100); }
.filters .input { border-radius: var(--r-md); }
.filters-actions .btn { border-radius: var(--r-full); }
.listing-toolbar { padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-full); box-shadow: var(--sh-1); }
@media (max-width: 479px) { .listing-toolbar { border-radius: var(--r-lg); padding: var(--s-3); } }
.listing-toolbar .result-count { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.listing-toolbar .sort .input { border-radius: var(--r-full); }
.active-filters .chip-remove { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); transition: background var(--t); }
.active-filters .chip-remove:hover { background: var(--red-600); border-color: var(--red-600); color: var(--white); }
.pagination a, .pagination span { border-radius: var(--r-full); transition: background var(--t), color var(--t), border-color var(--t), transform 300ms var(--ease-out); }
.pagination a:hover { transform: translateY(-2px); background: var(--navy-800); color: var(--white); }

/* ---------- Tour detail ---------- */
.tour-hero { position: relative; padding: 0 8px; }
@media (min-width: 768px) { .tour-hero { padding: 0 14px; } }
.tour-hero-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--navy-950); color: var(--navy-200); min-height: clamp(380px, 58vh, 620px); display: flex; align-items: flex-end; padding-block: var(--s-8) calc(var(--s-8) + 40px); }
@media (min-width: 768px) { .tour-hero-frame { border-radius: var(--r-xl); margin-top: 6px; padding-bottom: calc(var(--s-9) + 40px); } }
.tour-hero-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url("../img/fx/noise.svg"); opacity: .08; mix-blend-mode: overlay; }
.tour-hero-media { position: absolute; inset: -12% 0; z-index: -2; }
.tour-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s var(--ease-out) forwards; }
.tour-hero .bg-contours { z-index: 0; inset: -30px; transition: translate 600ms var(--ease-out); }
.tour-hero-inner { position: relative; z-index: 2; }
.tour-hero .breadcrumb { color: rgba(255, 255, 255, .7); margin-bottom: var(--s-5); }
.tour-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.tour-hero .breadcrumb [aria-current] { color: var(--white); }
.tour-hero h1 { color: var(--white); font-size: clamp(2rem, 1.3rem + 3.2vw, 4rem); font-weight: 430; line-height: 1.04; letter-spacing: -.025em; max-width: 24ch; margin-bottom: var(--s-4); text-wrap: balance; }
.tour-hero .lead { color: rgba(255, 255, 255, .88); max-width: 64ch; animation: rise-in 800ms 450ms var(--ease-out) backwards; }
.tour-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0 0 var(--s-4); padding: 0; animation: rise-in 800ms var(--ease-out) backwards; }
.tour-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: var(--r-full); background: rgba(255, 255, 255, .12); border: 1px solid var(--glass-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.tour-chips .icon { color: var(--gold-400); }
.tour-chips li.is-gold { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.tour-chips li.is-gold .icon { color: var(--navy-950); }
.tour-hero-route { margin-top: var(--s-4); animation: rise-in 800ms 600ms var(--ease-out) backwards; }
.tour-hero-route .route { color: rgba(255, 255, 255, .9); font-weight: 600; }
.tour-hero-route .route li + li::before { border-top-color: var(--gold-400); }

.tour-gallery-wrap { position: relative; z-index: 4; margin-top: -64px; }
@media (min-width: 768px) { .tour-gallery-wrap { margin-top: -96px; } }
.tour-gallery-wrap .gallery { border-radius: var(--r-xl); box-shadow: 0 30px 60px -30px rgba(11, 20, 48, .55); border: 6px solid var(--bg); background: var(--bg); gap: 6px; }
.gallery a { border-radius: var(--r-md); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 20, 48, .45)); opacity: 0; transition: opacity var(--t); }
.gallery a:hover::after { opacity: 1; }
.gallery a:hover img { transform: scale(1.08); }
.gallery img { transition: transform 900ms var(--ease-out); }
.g-zoom { position: absolute; z-index: 2; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy-800); opacity: 0; transform: scale(.7); transition: opacity var(--t), transform 400ms var(--ease-spring); }
.gallery a:hover .g-zoom, .gallery a:focus-visible .g-zoom { opacity: 1; transform: none; }
.gallery-count .btn { border-radius: var(--r-full); }

.tour-layout { padding-top: var(--s-7); }
.tour-tabs { background: rgba(251, 248, 242, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 0; padding-block: var(--s-2); }
.tour-tabs ul { gap: var(--s-2); padding: 4px; border-radius: var(--r-full); background: var(--white); border: 1px solid var(--line); width: max-content; max-width: 100%; }
.tour-tabs a { min-height: 40px; padding: 0 1rem; border-radius: var(--r-full); border-bottom: 0; transition: background var(--t), color var(--t); }
.tour-tabs a:hover { color: var(--navy-800); background: var(--ivory); }
.tour-tabs a.is-current { color: var(--white); background: var(--navy-800); border-bottom: 0; }
.tour-section > h2, .tour-section .section-head-row h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); letter-spacing: -.02em; }
.tour-section { border-bottom: 0; position: relative; }
.tour-section + .tour-section::before { content: ""; position: absolute; top: calc(var(--s-7) * -1); left: 0; width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold-500), var(--red-600)); }
.fact-grid li { border-radius: var(--r-lg); padding: var(--s-4); transition: transform 400ms var(--ease-out), border-color var(--t), box-shadow var(--t); }
.fact-grid li:hover { transform: translateY(-3px); border-color: rgba(212, 160, 23, .5); box-shadow: var(--sh-2); }
.fact-grid .icon { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--navy-800); color: var(--gold-400); margin-top: 0; flex-shrink: 0; }
.info-list > div { border-radius: var(--r-lg); }
.highlights li { border-radius: var(--r-md); border-left: 0; background: var(--white); border: 1px solid var(--line); transition: transform 400ms var(--ease-out), border-color var(--t); }
.highlights li:hover { transform: translateX(4px); border-color: var(--gold-500); }

/* Itinerary timeline */
.timeline { --p: 0; position: relative; padding-left: 0; }
.timeline .accordion-item { position: relative; border-bottom: 0; padding-left: 84px; margin-bottom: var(--s-3); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 31px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.timeline::before { background: repeating-linear-gradient(180deg, var(--line-strong) 0 4px, transparent 4px 10px); }
.timeline::after { background: linear-gradient(180deg, var(--gold-500), var(--red-600)); transform-origin: top; transform: scaleY(var(--p)); }
.timeline .accordion-item > summary { padding: var(--s-4) var(--s-5); min-height: 64px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color var(--t), box-shadow var(--t), background var(--t); }
.timeline .accordion-item > summary:hover { border-color: rgba(212, 160, 23, .6); }
.timeline .accordion-item[open] > summary { border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom-color: transparent; box-shadow: none; }
.timeline .accordion-item[open] { box-shadow: var(--sh-2); border-radius: var(--r-lg); }
.timeline .accordion-panel { padding: 0 var(--s-5) var(--s-5); background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.timeline .day-chip { position: absolute; z-index: 1; left: 0; top: 0; width: 64px; min-width: 0; height: 64px; padding: 0; border-radius: 50%; flex-direction: column; line-height: 1.05; background: var(--white); color: var(--navy-800); border: 2px solid var(--line-strong); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--sh-1); transition: background 400ms, color 400ms, border-color 400ms, transform 500ms var(--ease-spring); }
.timeline .accordion-item[open] .day-chip, .timeline .accordion-item:hover .day-chip { background: var(--navy-800); color: var(--gold-400); border-color: var(--navy-800); transform: scale(1.06); }
.timeline .day-title { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
@media (max-width: 479px) {
  .timeline .accordion-item { padding-left: 58px; }
  .timeline::before, .timeline::after { left: 21px; }
  .timeline .day-chip { width: 44px; height: 44px; font-size: .58rem; top: 10px; }
  .timeline .accordion-item > summary { padding: var(--s-3) var(--s-4); }
  .timeline .accordion-panel { padding: 0 var(--s-4) var(--s-4); }
}

/* Inclusions */
.incl-card { padding: var(--s-5); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.incl-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; }
.incl-card.is-yes::before { background: linear-gradient(90deg, var(--success), var(--gold-500)); }
.incl-card.is-no::before { background: linear-gradient(90deg, var(--red-600), var(--gold-500)); }
.incl-card h3 { display: flex; align-items: center; gap: .5rem; }
.incl-card.is-yes h3 .icon { color: var(--success); }
.incl-card.is-no h3 .icon { color: var(--red-600); }

/* Booking card */
.booking-card.is-glass { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); border-color: rgba(212, 160, 23, .35); background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(251, 248, 242, .96)); box-shadow: 0 30px 60px -36px rgba(18, 30, 69, .5); padding: var(--s-6); }
.booking-card.is-glass::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; z-index: -1; background: url("../img/fx/contours-light.svg") center / cover; opacity: .9; }
.booking-card.is-glass::after { content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 160, 23, .25), transparent 70%); }
.booking-eyebrow { margin: 0; display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.booking-card .price strong { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); letter-spacing: -.02em; }
.booking-card li .icon { width: 1.1em; height: 1.1em; }
.bottom-bar { border-radius: var(--r-lg) var(--r-lg) 0 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bottom-bar .btn { border-radius: var(--r-full); }

@media (prefers-reduced-motion: reduce) {
  .tour-hero-media img { animation: none; }
  .tour-chips, .tour-hero .lead, .tour-hero-route { animation: none !important; }
  .place-tile:hover, .region-pills a:hover, .style-pills a:hover, .fact-grid li:hover, .highlights li:hover { transform: none; }
}
.tile-grid .dest-tile-label p { display: none; }
@media (max-width: 1023px) { .filters { border-radius: 0; box-shadow: none; } }

/* ==========================================================================
   Section rhythm: one consistent system for every page.
   - The page background is ivory.
   - Tinted sections (white, stone, tint, navy) are inset rounded panels, like
     the hero, photo bands and footer, with the same side margin and a fixed
     gap between neighbouring panels.
   - Two plain (ivory) sections next to each other share one gap instead of
     stacking two paddings; every other pair keeps full padding, so headings
     never sit on a background edge.
   ========================================================================== */
:root { --panel-x: 8px; --panel-gap: 12px; }
@media (min-width: 768px) { :root { --panel-x: 14px; --panel-gap: 14px; } }

.section-white, .section-stone, .section-navy {
  position: relative; isolation: isolate; overflow: clip;
  margin: var(--panel-gap) var(--panel-x); border-radius: var(--r-xl);
}
.section-white { box-shadow: 0 0 0 1px rgba(27, 42, 90, .05); }
.para-band { margin-block: var(--panel-gap); margin-inline: var(--panel-x); }
.hx + *, .page-hero + * { margin-top: var(--panel-gap); }

/* Undo the old "collapse any following plain section" rule… */
.section + .section:not([class*="section-"]) { padding-top: var(--section-y); }
/* …and collapse only between two plain ivory sections. */
.pt-0 { padding-top: 0 !important; }

/* Decorative full-bleed layers must stay inside their own section */
.dest-rail-section, .intro-split, .how, .faq-preview, .services-bento { position: relative; overflow: clip; }
.ghost-word { top: var(--s-4); }
.why, .band-navy, .cta-band, .umrah-band { overflow: clip; }

/* ==========================================================================
   Round 2 fixes
   ========================================================================== */

/* Tighter section rhythm: smaller vertical padding and heading gaps */
:root { --section-y: clamp(3rem, 1.9rem + 3.6vw, 5.25rem); }
.section-sm { padding-block: calc(var(--section-y) * .55); }
.section-heading { margin-bottom: var(--s-6); }
.section-head-row { margin-bottom: var(--s-5); }
.section-heading .lead { margin-bottom: 0; }
.section-heading h2, .section-head-row h2 { margin-bottom: var(--s-2); }
.eyebrow { margin-bottom: var(--s-2); }

/* Accordions: every item is a padded card, text never touches the edge */
.accordion { border-top: 0; display: grid; gap: 10px; }
.accordion-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color var(--t), box-shadow var(--t); }
.accordion-item:hover { border-color: var(--line-strong); }
.accordion-item[open] { border-color: rgba(212, 160, 23, .45); box-shadow: 0 16px 32px -24px rgba(18, 30, 69, .35); }
.accordion-item > summary { padding: var(--s-4) var(--s-5); min-height: 64px; border-radius: inherit; }
.accordion-item > summary:focus-visible { box-shadow: var(--focus); outline: none; }
.accordion-panel { padding: 0 var(--s-5) var(--s-5); color: var(--slate-700); }
.accordion-panel .prose { max-width: none; }
.theme-umrah .accordion-item { background: #fffdf8; border-color: #e7dabf; }
.theme-umrah .accordion-item[open] { border-color: var(--emerald-gold); }
@media (max-width: 479px) { .accordion-item > summary { padding: var(--s-4); font-size: 1rem; } .accordion-panel { padding: 0 var(--s-4) var(--s-4); } }

/* Styled dropdown (fx.js) */
.xsel { position: relative; min-width: 0; }
.xsel-native { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.xsel-button {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; min-height: 32px;
  padding: .15rem 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer;
}
.xsel-button:focus { outline: none; }
.xsel-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xsel-chev { flex-shrink: 0; width: 9px; height: 9px; border-right: 2px solid var(--navy-800); border-bottom: 2px solid var(--navy-800); transform: translateY(-3px) rotate(45deg); transition: transform 300ms var(--ease-out); }
.xsel.is-open .xsel-chev { transform: translateY(2px) rotate(225deg); }
.xsel.is-input .xsel-button { min-height: 48px; padding: .6rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); font-weight: 500; }
.xsel.is-input .xsel-button:focus-visible, .xsel.is-input.is-open .xsel-button { border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(212, 160, 23, .3); }
.xsel-list {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 10px); min-width: 240px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(11, 20, 48, .35); scrollbar-width: thin; outline: none;
  animation: xsel-in 260ms var(--ease-out);
}
.finder .xsel-list { left: -1rem; right: -1rem; }
@media (min-width: 768px) { .finder .xsel-list { left: -1.25rem; right: auto; width: max(100% + 2.5rem, 280px); } }
.xsel.opens-up .xsel-list { top: auto; bottom: calc(100% + 10px); }
@keyframes xsel-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.xsel-group { padding: .7rem .75rem .3rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.xsel-option { position: relative; padding: .55rem .75rem; border-radius: var(--r-sm); font-size: var(--fs-small); font-weight: 500; color: var(--ink); cursor: pointer; }
.xsel-option.is-grouped { padding-left: 1.25rem; }
.xsel-option.is-active { background: var(--ivory); }
.xsel-option[aria-selected="true"] { background: var(--navy-800); color: var(--white); font-weight: 650; }
.xsel-option[aria-selected="true"]::after { content: ""; position: absolute; right: .9rem; top: 50%; width: 5px; height: 10px; border-right: 2px solid var(--gold-400); border-bottom: 2px solid var(--gold-400); transform: translateY(-65%) rotate(45deg); }
.finder-field:focus-within { box-shadow: none; }
.finder-field.is-open, .finder-field:has(.xsel.is-open) { background: var(--ivory); }
.finder-field:has(.xsel-button:focus-visible) { box-shadow: inset 0 0 0 2px var(--gold-500); }
.finder .xsel-button { padding-right: .25rem; }

/* Tour filters: the panel scrolls (desktop sticky and mobile drawer); no sideways scroll */
.filters { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 1024px) { .filters { max-height: calc(100vh - var(--header-h) - 32px); } }
.filter-options { overflow-x: hidden; padding-inline: .55rem; margin-inline: -.55rem; }
.filter-option { margin-inline: 0; }
.filters .xsel-list { min-width: 0; }

/* Footer wordmark: brighter, gradient-filled */
.footer-wordmark {
  -webkit-text-stroke: 1.5px rgba(226, 185, 59, .55);
  background: linear-gradient(180deg, rgba(226, 185, 59, .55) 0%, rgba(226, 185, 59, .22) 55%, rgba(226, 185, 59, .04) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(212, 160, 23, .12);
}
.site-footer { color: var(--navy-100); }
.site-footer .footer-col li a, .site-footer .footer-contact a { color: rgba(255, 255, 255, .86); }
.site-footer .footer-col li a:hover, .site-footer .footer-contact a:hover { color: var(--gold-400); }
.site-footer .footer-heading { color: var(--gold-400); letter-spacing: .14em; }
.site-footer .footer-about, .site-footer .footer-news p { color: rgba(255, 255, 255, .78); }
.site-footer .footer-news h2 { color: var(--white); }
.footer-bottom, .footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: var(--gold-400); }
.filters .filter-options { max-height: none; overflow: visible; }
@media (max-width: 1023px) { .filters-head { position: sticky; top: 0; z-index: 3; } }

/* Transparent PNG logo: no white pill behind it in the footer */
.footer-logo { background: none; padding: 0; border-radius: 0; }
.footer-logo img { height: 64px; width: auto; }

/* Hero label: dot stays centred, text never wraps under it */
.hx-kicker { flex-wrap: nowrap; max-width: 100%; }
.hx-kicker .pulse { align-self: center; }
.kick-text { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kick-short { display: none; }
@media (max-width: 479px) { .kick-long { display: none; } .kick-short { display: inline; } .hx-kicker .kick-extra { display: inline-flex; gap: .5rem; } .hx-kicker { font-size: .7rem; letter-spacing: .07em; } }
@media (max-width: 339px) { .hx-kicker .kick-extra { display: none; } }

/* Destinations menu: all regions in one row, no promo card */
.mega-inner.is-regions { grid-template-columns: 1fr; gap: var(--s-5); }
.mega-inner.is-regions .mega-regions { grid-column: auto; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-5) var(--s-6); }
@media (min-width: 1100px) { .mega-inner.is-regions .mega-regions { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Floating dock: back-to-top + WhatsApp in one control ---------- */
.float-dock {
  position: fixed; right: 16px; bottom: 16px; z-index: 58;
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(27, 42, 90, .08); border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(11, 20, 48, .35);
  transition: bottom var(--t) var(--ease), box-shadow var(--t);
}
@media (min-width: 1024px) { .float-dock { right: 24px; bottom: 24px; } }
body.has-bottom-bar .float-dock { bottom: 84px; }
@media (min-width: 1024px) { body.has-bottom-bar .float-dock { bottom: 24px; } }
/* Nothing to show (no WhatsApp and still at the top): hide the empty pill */
.float-dock:not(.has-wa):not(:has(.dock-top.is-visible)) { opacity: 0; pointer-events: none; }

.dock-top {
  --p: 0; position: relative; display: grid; place-items: center; flex-shrink: 0;
  width: 0; height: 40px; margin-right: -4px; border-radius: 50%; overflow: hidden; opacity: 0; pointer-events: none;
  color: var(--navy-800); transition: width 350ms var(--ease-out), margin 350ms var(--ease-out), opacity 250ms, background var(--t);
}
.dock-top.is-visible { width: 40px; margin-right: 0; opacity: 1; pointer-events: auto; }
.dock-top:hover { background: var(--navy-50); }
.dock-top svg { position: absolute; inset: 0; width: 40px; height: 40px; transform: rotate(-90deg); }
.dock-top circle { fill: none; stroke-width: 2.5; }
.dock-top .to-top-track { stroke: var(--line); }
.dock-top .to-top-ring { stroke: var(--gold-500); stroke-linecap: round; stroke-dasharray: 107; stroke-dashoffset: calc(107 - 107 * var(--p)); }
.dock-top .to-top-icon { position: relative; width: 16px; height: 16px; transform: rotate(-90deg); }

.dock-wa {
  display: inline-flex; align-items: center; height: 44px; min-width: 44px; padding: 0 10px; gap: 0;
  border-radius: 999px; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 650; font-size: .875rem;
  transition: background var(--t), gap 350ms var(--ease-out), padding 350ms var(--ease-out);
}
.dock-wa .icon { width: 24px; height: 24px; flex-shrink: 0; }
.dock-wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 400ms var(--ease-out); }
.dock-wa:hover, .dock-wa:focus-visible { background: #178a49; color: #fff; }
@media (hover: hover) and (min-width: 768px) {
  .dock-wa:hover, .dock-wa:focus-visible { gap: 8px; padding: 0 16px 0 12px; }
  .dock-wa:hover .dock-wa-label, .dock-wa:focus-visible .dock-wa-label { max-width: 120px; }
}
.dock-top:focus-visible, .dock-wa:focus-visible { outline: none; box-shadow: var(--focus); }
@media (prefers-reduced-motion: reduce) { .dock-top, .dock-wa, .dock-wa-label { transition: none; } }
@media print { .float-dock { display: none !important; } }

/* Umrah hero: full-width photo banner (same shape as the other inner pages, emerald tint) */
.um-photo-hero .page-hero-frame { min-height: clamp(460px, 72vh, 680px); }
.theme-umrah .um-photo-hero .page-hero-shade { background: radial-gradient(ellipse 80% 75% at 15% 100%, rgba(6, 40, 31, .92), transparent 72%), linear-gradient(180deg, rgba(6, 40, 31, .45), rgba(6, 40, 31, .78)); }
.um-photo-hero .umrah-tiles { z-index: 0; opacity: .22; mask-image: linear-gradient(100deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%); }
.um-photo-hero .arabic { font-family: var(--font-arabic); font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); color: #e3c56b; margin: 0 0 var(--s-2); line-height: 1.5; text-align: left; }
.um-photo-hero h1 em { color: #e3c56b; font-style: italic; }
.um-photo-hero .hero-facts .icon { color: #e3c56b; }
.hero-credit { position: absolute; right: 1.25rem; bottom: .9rem; z-index: 2; margin: 0; font-size: .72rem; color: rgba(247, 242, 230, .7); }
.hero-credit a { color: inherit; }
.hero-credit a:hover { color: #e3c56b; }
