/* Morocco & Tours — front-end styles */
:root {
    --primary: #e2a13b;
    --primary-dark: #c9862350;
    --primary-hover: #cf8d27;
    --dark: #071516;
    --text: #5b6466;
    --muted: #8a9294;
    --light: #f4f6f6;
    --cream: #fdf6ea;
    --border: #e8ecec;
    --white: #fff;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow: 0 10px 30px rgba(7, 21, 22, .07);
    --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --container: 1290px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); font-size: 16px; line-height: 1.7; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
h1, h2, h3, h4, h5 { color: var(--dark); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.bg-light { background: var(--light); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: all .25s; line-height: 1.2; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; padding: 8px 20px; font-size: 14px; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; }

/* ---------- section headings ---------- */
.section-head { margin-bottom: 50px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.subtitle { display: inline-block; color: var(--primary); background: var(--cream); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 5px 14px; border-radius: 6px; margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.01em; line-height: 1.3; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 45px; }
.section-head-row .section-title { margin: 0; }

/* ---------- top bar ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--dark); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 20px; }
.topbar-contact { display: flex; gap: 26px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: var(--primary); }
.topbar-contact a + a { padding-left: 26px; border-left: 1px solid var(--border); }
.topbar-tagline span { color: var(--primary); font-weight: 600; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a:hover { color: var(--primary); }
.topbar svg { width: 15px; height: 15px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(7, 21, 22, .08); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 24px; }
.logo img { height: 70px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > li { position: relative; }
.nav > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 30px 14px; font-weight: 500; color: var(--dark); font-size: 15.5px; }
.nav > li > a:hover, .nav > li.active > a { color: var(--primary); }
.nav .caret { width: 11px; height: 11px; transition: transform .2s; }
.nav .dropdown { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; border-top: 3px solid var(--primary); }
.nav li:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav li:hover .caret { transform: rotate(180deg); }
.nav .dropdown a { display: block; padding: 8px 24px; font-size: 15px; color: var(--dark); }
.nav .dropdown a:hover { color: var(--primary); padding-left: 30px; }
.header-search { position: relative; }
.header-search input { width: 230px; border: 1px solid var(--border); background: var(--light); border-radius: 50px; padding: 11px 44px 11px 20px; font-size: 14px; outline: none; }
.header-search input:focus { border-color: var(--primary); background: #fff; }
.header-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; color: var(--dark); }
.header-search svg { width: 16px; height: 16px; }
.menu-toggle { display: none; border: 0; background: var(--light); width: 46px; height: 46px; border-radius: 10px; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - 134px); min-height: 720px; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--dark); }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,22,.45), rgba(7,21,22,.55) 60%, rgba(7,21,22,.8)); }
.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 120px; padding-bottom: 170px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 64px); margin-bottom: 18px; }
.hero p { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 40px; }
.search-box { display: inline-flex; align-items: center; background: #fff; border-radius: 60px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.2); text-align: left; max-width: 100%; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 8px 22px; color: var(--dark); min-width: 220px; }
.search-field + .search-field { border-left: 1px solid var(--border); }
.search-field svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.search-field select { border: 0; outline: none; background: transparent; width: 100%; cursor: pointer; font-size: 15px; appearance: none; }
.search-submit { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s; }
.search-submit:hover { background: var(--dark); }
.search-submit svg { width: 20px; height: 20px; }
.hero-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); }
.hero-info .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-info-item { padding: 26px 20px; display: flex; align-items: center; gap: 14px; }
.hero-info-item + .hero-info-item { border-left: 1px solid rgba(255,255,255,.18); }
.hero-info-item small { display: block; color: rgba(255,255,255,.75); font-size: 13px; }
.hero-info-item strong { font-size: 18px; color: #fff; font-weight: 600; line-height: 1.3; }
.hero-info-item svg { width: 34px; height: 34px; color: var(--primary); flex: none; }
.stars { color: var(--primary); letter-spacing: 2px; font-size: 15px; }

/* ---------- page banner ---------- */
.page-banner { position: relative; padding: 130px 0 110px; background: var(--dark) center/cover no-repeat; color: #fff; text-align: center; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: rgba(7,21,22,.6); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(32px, 4.5vw, 56px); margin-bottom: 12px; }
.breadcrumb { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; font-size: 15px; color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span.sep { opacity: .6; }

/* ---------- destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/3.6; display: block; color: #fff; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dest-card:hover img { transform: scale(1.07); }
.dest-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,21,22,.85)); }
.dest-card-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.dest-card h3 { color: #fff; font-size: 24px; margin: 0 0 2px; }
.dest-card span { font-size: 14px; font-weight: 600; }

/* ---------- trip cards ---------- */
.trip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.trip-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.trip-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.trip-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(7,21,22,.12); }
.trip-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.trip-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.trip-card:hover .trip-card-img img { transform: scale(1.07); }
.trip-badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 30px; }
.trip-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.trip-card h3 { font-size: 19px; margin-bottom: 12px; font-weight: 500; }
.trip-card h3 a:hover { color: var(--primary); }
.trip-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--text); }
.trip-meta span { display: inline-flex; align-items: center; gap: 6px; }
.trip-meta svg { width: 15px; height: 15px; color: var(--primary); flex: none; }
.trip-loc { margin-bottom: 8px; }
.trip-card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 18px; display: flex; justify-content: flex-start; align-items: center; gap: 10px; }
.trip-price { font-size: 14px; color: var(--muted); }
.trip-price strong { color: var(--dark); font-size: 20px; }
.trip-price del { margin-right: 4px; }

/* ---------- promo banners ---------- */
.banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.promo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 330px; padding: 50px; display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--dark) center/cover no-repeat; }
.promo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,22,.92), rgba(7,21,22,.35) 75%, transparent); }
.promo > * { position: relative; z-index: 2; max-width: 440px; }
.promo h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.promo h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.promo-loc { display: flex; gap: 6px; align-items: center; font-size: 14px; margin-bottom: 22px; }
.promo-loc svg { width: 14px; height: 14px; }
.promo .btn { align-self: flex-start; }

/* ---------- about / intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro-images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.intro-images img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; }
.intro-images img:first-child { grid-row: span 2; aspect-ratio: 3/4.6; }
.intro-images img:not(:first-child) { aspect-ratio: 1; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.x-list li::before { background: #e05656 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- soul / CTA ---------- */
.soul { position: relative; padding: 170px 0; text-align: center; color: #fff; background: var(--dark) center/cover fixed no-repeat; }
.soul::before { content: ''; position: absolute; inset: 0; background: rgba(7,21,22,.6); }
.soul .container { position: relative; z-index: 2; max-width: 820px; }
.soul h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.soul .divider { width: 80px; height: 3px; background: var(--primary); margin: 0 auto 24px; border-radius: 3px; }
.soul p { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 34px; }

/* ---------- why choose ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.why-img { border-radius: var(--radius-lg); overflow: hidden; }
.why-img img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.rich p { margin-bottom: 1.1em; }
.rich h2 { font-size: 30px; margin-top: 1.4em; }
.rich h3 { font-size: 23px; margin-top: 1.3em; }
.rich ul, .rich ol { padding-left: 22px; margin-bottom: 1.1em; }
.rich ul { list-style: disc; }
.rich li { margin-bottom: 6px; }
.rich img { border-radius: var(--radius); margin: 24px 0; }
.rich a { color: var(--primary); text-decoration: underline; }
.rich > :first-child { margin-top: 0; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.faq-img img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1/1.05; object-fit: cover; }
.accordion-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; background: #fff; overflow: hidden; transition: border-color .2s; }
.accordion-item.open { border-color: var(--primary); }
.accordion-btn { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-size: 17px; font-weight: 600; color: var(--dark); display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; }
.accordion-btn .icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--light); display: grid; place-items: center; transition: all .25s; }
.accordion-btn .icon svg { width: 14px; height: 14px; transition: transform .25s; }
.accordion-item.open .icon { background: var(--primary); color: #fff; }
.accordion-item.open .icon svg { transform: rotate(45deg); }
.accordion-body { display: none; padding: 0 24px 20px; }
.accordion-item.open .accordion-body { display: block; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testi { background: #fff; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.testi p { font-size: 17px; color: var(--dark); }
.testi-author { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.testi-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; color: var(--dark); }
.testi-author small { color: var(--muted); }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.blog-card-img { aspect-ratio: 16/11; overflow: hidden; display: block; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 14px; font-size: 14px; margin-bottom: 10px; align-items: center; }
.blog-meta .cat { background: var(--cream); color: var(--primary); padding: 3px 12px; border-radius: 30px; font-weight: 600; font-size: 13px; }
.blog-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--primary); }
.read-more { margin-top: auto; font-weight: 600; color: var(--dark); display: inline-flex; gap: 8px; align-items: center; }
.read-more:hover { color: var(--primary); }
.read-more svg { width: 14px; height: 14px; }

/* ---------- trip detail ---------- */
.gallery-slider { position: relative; margin-top: 26px; }
.trip-gallery { --gap: 20px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.trip-gallery::-webkit-scrollbar { display: none; }
.trip-gallery a { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); height: 420px; border-radius: 30px; overflow: hidden; scroll-snap-align: start; }
.slider-btn { position: absolute; top: 210px; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--dark); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; transition: background .2s, color .2s; }
.slider-btn:hover { background: var(--primary); color: #fff; }
.slider-btn.prev { left: -20px; }
.slider-btn.next { right: -20px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 10px; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: all .25s; }
.slider-dots button.active { width: 26px; background: var(--primary); }
.trip-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.trip-gallery a:hover img { transform: scale(1.06); }
.trip-crumb { padding: 26px 0 0; font-size: 15px; color: var(--dark); display: flex; gap: 10px; flex-wrap: wrap; }
.trip-crumb a:hover { color: var(--primary); }
.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 50px; padding: 40px 0 100px; align-items: start; }
.trip-title { font-size: clamp(28px, 3.4vw, 40px); }
.trip-tags { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.pill { background: var(--primary); color: #fff; font-weight: 600; padding: 7px 18px; border-radius: 30px; font-size: 16px; }
.trip-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.fact { background: var(--light); border-radius: 12px; padding: 18px; display: flex; gap: 12px; align-items: center; }
.fact svg { width: 28px; height: 28px; color: var(--primary); flex: none; }
.fact small { display: block; font-size: 13px; color: var(--muted); }
.fact strong { color: var(--dark); font-size: 15px; font-weight: 600; }
.trip-block { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--border); }
.trip-block:last-child { border-bottom: 0; }
.trip-block > h2 { font-size: 28px; margin-bottom: 20px; }
.trip-block h3.sub { font-size: 20px; margin: 28px 0 14px; }
.itinerary { position: relative; }
.itinerary .day { position: relative; padding-left: 56px; padding-bottom: 8px; }
.itinerary .day::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; border-left: 2px dashed var(--border); }
.itinerary .day:last-child::before { display: none; }
.day-num { position: absolute; left: 0; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.day .accordion-btn { padding-left: 0; padding-right: 0; }
.day .accordion-body { padding-left: 0; padding-right: 0; }
.day-label { color: var(--primary); font-size: 14px; display: block; font-weight: 600; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.inc-box { background: var(--light); border-radius: var(--radius); padding: 28px; }
.inc-box h3 { font-size: 20px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }
.sidebar { position: static; }
.booking-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 15px 50px rgba(7,21,22,.1); padding: 30px; border: 1px solid var(--border); }
.booking-card h3 { font-size: 22px; margin-bottom: 4px; }
.booking-price { font-size: 15px; margin-bottom: 18px; color: var(--muted); }
.booking-price strong { color: var(--primary); font-size: 30px; }
.help-box { margin-top: 24px; background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.help-box h3 { color: #fff; font-size: 21px; }
.help-box a { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-weight: 600; }
.help-box a:hover { color: var(--primary); }
.help-box svg { width: 18px; height: 18px; color: var(--primary); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; color: var(--dark); font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border); background: var(--light); border-radius: 10px; padding: 12px 16px; font-size: 15px; outline: none; transition: border .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #e8f7ee; color: #17733f; border: 1px solid #bfe6cf; }
.alert-error { background: #fdecec; color: #a02b2b; border: 1px solid #f4c6c6; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 70px; }
.contact-card { background: var(--light); border-radius: var(--radius); padding: 34px; display: flex; gap: 18px; align-items: center; }
.contact-card .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--muted); }
.contact-card strong { color: var(--dark); font-size: 18px; word-break: break-word; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }

/* ---------- article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; }
.article-cover { border-radius: var(--radius-lg); margin-bottom: 30px; width: 100%; max-height: 520px; object-fit: cover; }
.widget { background: var(--light); border-radius: var(--radius); padding: 28px; margin-bottom: 30px; }
.widget h3 { font-size: 20px; }
.mini-post { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.mini-post img { width: 76px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-post a { font-weight: 500; color: var(--dark); line-height: 1.4; font-size: 15px; }
.mini-post a:hover { color: var(--primary); }
.mini-post small { color: var(--muted); font-size: 13px; }
.narrow { max-width: 900px; margin: 0 auto; }

/* ---------- pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); padding: 0 12px; }
.pagination .active span, .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding-top: 90px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer h4 { color: #fff; font-size: 20px; margin-bottom: 24px; }
.footer-logo img { height: 84px; width: auto; margin-bottom: 20px; background: #fff; border-radius: 12px; padding: 6px; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--primary); flex: none; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.newsletter { display: flex; background: rgba(255,255,255,.08); border-radius: 50px; padding: 5px; margin: 14px 0 22px; }
.newsletter input { flex: 1; background: transparent; border: 0; outline: none; padding: 10px 16px; color: #fff; min-width: 0; }
.newsletter button { border: 0; background: var(--primary); color: #fff; border-radius: 50px; padding: 0 20px; font-weight: 600; cursor: pointer; }
.payment img { max-width: 240px; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- floating ---------- */
.whatsapp-float { position: fixed; left: 24px; bottom: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.06); }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 16px; height: 16px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 26px; display: grid; place-items: center; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

.empty { text-align: center; padding: 60px 20px; background: var(--light); border-radius: var(--radius); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .header-search input { width: 170px; }
    .nav > li > a { padding: 30px 10px; }
    .trip-grid { grid-template-columns: repeat(3, 1fr); }
    .trip-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; }
    .trip-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .section { padding: 80px 0; }
    .topbar-tagline { display: none; }
    .menu-toggle { display: grid; }
    .header-search { display: none; }
    .nav-wrap { position: fixed; inset: 0 auto 0 0; width: 300px; max-width: 85vw; background: #fff; z-index: 80; transform: translateX(-100%); transition: transform .3s; overflow-y: auto; padding: 24px; box-shadow: var(--shadow); }
    .nav-wrap.open { transform: none; }
    .nav-wrap .header-search { display: block; margin-top: 20px; }
    .nav-wrap .header-search input { width: 100%; }
    .nav { flex-direction: column; align-items: stretch; gap: 0; }
    .nav > li > a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; justify-content: space-between; }
    .nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
    .nav li.open > .dropdown { display: block; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 70; display: none; }
    .nav-backdrop.open { display: block; }
    .dest-grid, .trip-grid, .trip-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .banner-grid, .intro-grid, .why-grid, .faq-grid, .contact-wrap, .article-layout { grid-template-columns: 1fr; gap: 40px; }
    .testi-grid, .blog-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
    .hero-info .container { grid-template-columns: repeat(2, 1fr); }
    .hero-info-item:nth-child(3) { border-left: 0; }
    .hero-content { padding-bottom: 230px; }
    .trip-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .soul { background-attachment: scroll; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .topbar-contact a + a { display: none; }
    .logo img { height: 56px; }
    .header .container { min-height: 74px; }
    .dest-grid, .trip-grid, .trip-grid.cols-3, .testi-grid, .blog-grid, .contact-cards, .inc-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .search-box { flex-direction: column; border-radius: 22px; width: 100%; padding: 12px; }
    .search-field { width: 100%; min-width: 0; padding: 12px 10px; }
    .search-field + .search-field { border-left: 0; border-top: 1px solid var(--border); }
    .search-submit { width: 100%; border-radius: 14px; height: 50px; margin-top: 6px; }
    .hero-info { position: relative; }
    .hero-info .container { grid-template-columns: 1fr 1fr; }
    .hero-info-item { padding: 16px 8px; }
    .hero-info-item strong { font-size: 14px; word-break: break-all; }
    .hero-info-item svg { display: none; }
    .hero-content { padding-top: 70px; padding-bottom: 50px; }
    .hero { min-height: 0; }
    .promo { padding: 34px 26px; min-height: 280px; }
    .trip-gallery { --gap: 12px; }
    .trip-gallery a { flex-basis: 85%; height: 280px; border-radius: 22px; }
    .slider-btn { top: 140px; width: 42px; height: 42px; }
    .slider-btn.prev { left: 6px; }
    .slider-btn.next { right: 6px; }
    .trip-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
    .fact { padding: 12px; }
    .contact-form, .booking-card { padding: 24px; }
    .intro-images { gap: 12px; }
}
.nav-wrap .header-search { display: none; }
@media (max-width: 991px) { .nav-wrap .header-search { display: block; } }
@media (max-width: 640px) {
    .hero-info .container { grid-template-columns: 1fr; }
    .hero-info-item:nth-child(-n+2) { display: none; }
    .hero-info-item + .hero-info-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
    .hero-info-item:nth-child(3) { border-top: 0; }
    .hero-info-item strong { word-break: normal; font-size: 16px; }
    .dest-card { aspect-ratio: 16/11; }
}
.form-grid > * { min-width: 0; }
@media (min-width: 641px) and (max-width: 991px) {
    .trip-gallery a { flex-basis: calc((100% - var(--gap)) / 2); height: 340px; }
    .slider-btn { top: 170px; }
    .slider-btn.prev { left: 6px; }
    .slider-btn.next { right: 6px; }
}

/* ---------- trip cards slider (home) ---------- */
.card-slider { position: relative; }
.card-track { --gap: 30px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 10px 4px 34px; margin: -10px -4px -24px; }
.card-track::-webkit-scrollbar { display: none; }
.card-slide { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); scroll-snap-align: start; display: flex; }
.card-slide .trip-card { width: 100%; }
.card-slide .trip-card:hover { transform: translateY(-4px); }
.card-slide .reveal { opacity: 1; transform: none; }
.card-slider .slider-btn { top: 38%; }
.card-slider .slider-btn.prev { left: -24px; }
.card-slider .slider-btn.next { right: -24px; }
@media (max-width: 1360px) {
    .card-slider .slider-btn.prev { left: 6px; }
    .card-slider .slider-btn.next { right: 6px; }
}
@media (max-width: 991px) { .card-slide { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 640px) { .card-track { --gap: 16px; } .card-slide { flex-basis: 88%; } }
.why-title { font-size: clamp(22px, 2.2vw, 28px); }
.blog-excerpt { font-size: 14.5px; line-height: 1.65; margin-bottom: 18px; text-align: justify; }

/* homepage: justified paragraphs (centered blocks keep their last line centered) */
.home-page .rich p, .home-page .accordion-body, .home-page .testi p { text-align: justify; hyphens: auto; }
.home-page .soul p, .home-page .hero p { text-align: justify; text-align-last: center; }

/* ---------- SEO text with image next to it (category & destination pages) ---------- */
.text-blocks { display: grid; gap: 70px; }
.text-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.text-block.reverse .text-block-body { order: 2; }
.text-block.no-image { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.text-block-body p { text-align: justify; }
.text-block-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.text-block-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.text-block-img img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; transition: transform .6s; }
.text-block-img:hover img { transform: scale(1.04); }
@media (max-width: 991px) {
    .text-blocks { gap: 50px; }
    .text-block { grid-template-columns: 1fr; gap: 26px; }
    .text-block.reverse .text-block-body { order: 0; }
}

/* ---------- destinations slider (home): 5 visible ---------- */
.dest-slider .card-track { --gap: 24px; }
.dest-slider .card-slide { flex-basis: calc((100% - 4 * var(--gap)) / 5); }
.dest-slider .dest-card { width: 100%; aspect-ratio: 3/3.6; }
.dest-slider .slider-btn { top: 45%; }
@media (max-width: 1199px) { .dest-slider .card-slide { flex-basis: calc((100% - 3 * var(--gap)) / 4); } }
@media (max-width: 991px) { .dest-slider .card-slide { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 640px) {
    .dest-slider .card-track { --gap: 14px; }
    .dest-slider .card-slide { flex-basis: 62%; }
    .dest-slider .dest-card { aspect-ratio: 3/3.6; }
}

/* ---------- booking: travellers counters ---------- */
.qty-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.qty-row strong { display: block; color: var(--dark); font-weight: 600; font-size: 15px; }
.qty-row small { color: var(--muted); font-size: 13px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: var(--dark); transition: all .2s; }
.qty button:hover { border-color: var(--primary); color: var(--primary); }
.qty input { width: 46px; text-align: center; border: 0; background: transparent; font-weight: 600; font-size: 16px; padding: 4px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.checkout-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 110px; }
.checkout-summary img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.checkout-summary .inner { padding: 24px; }
.checkout-summary h3 { font-size: 19px; margin-bottom: 14px; }
.summary-list { display: grid; gap: 10px; margin: 0 0 18px; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; font-size: 15px; }
.summary-list li span { color: var(--muted); }
.summary-list li strong { color: var(--dark); font-weight: 600; text-align: right; }
.pay-later { display: flex; gap: 10px; align-items: flex-start; background: var(--cream); border-radius: 12px; padding: 14px; font-size: 14px; color: var(--dark); }
.pay-later svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 2px; }
.checkout-steps { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.checkout-steps .on { color: var(--primary); font-weight: 600; }
.confirm-box { max-width: 720px; margin: 0 auto; text-align: center; }
.confirm-icon { width: 80px; height: 80px; border-radius: 50%; background: #e8f7ee; color: #17733f; display: grid; place-items: center; margin: 0 auto 22px; font-size: 40px; }
.confirm-box .summary-list { text-align: left; background: var(--light); border-radius: var(--radius); padding: 22px; margin: 26px 0; }
@media (max-width: 991px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; order: -1; }
}

/* ---------- booking: date picker & time picker ---------- */
.picker { position: relative; display: flex; align-items: center; width: 100%; }
.picker .picker-icon { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--primary); pointer-events: none; z-index: 1; }
.picker input, .field .picker input.picker-input { width: 100%; padding: 13px 16px 13px 44px; border: 1px solid var(--border); background: var(--light); border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--dark); cursor: pointer; outline: none; transition: border .2s, background .2s; }
.picker input:focus, .picker input.active { border-color: var(--primary); background: #fff; }
.picker input::placeholder { color: var(--muted); font-weight: 400; }
.time-toggle { border: 1px solid var(--border); background: var(--light); border-radius: 12px; padding: 13px 16px 13px 44px; font-size: 15px; font-weight: 500; color: var(--dark); cursor: pointer; text-align: left; transition: border .2s, background .2s; }
.time-toggle span { flex: 1; }
.time-toggle .picker-caret { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.time-picker { position: relative; }
.time-picker.open .time-toggle { border-color: var(--primary); background: #fff; }
.time-picker.open .picker-caret { transform: rotate(180deg); }
.time-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: #fff; border-radius: 16px; box-shadow: 0 18px 45px rgba(7,21,22,.16); border: 1px solid var(--border); padding: 16px; max-height: 330px; overflow-y: auto; display: none; }
.time-picker.open .time-pop { display: block; animation: popIn .18s ease; }
.time-group + .time-group { margin-top: 12px; }
.time-group small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.time-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.time-chips button { border: 1px solid var(--border); background: #fff; border-radius: 9px; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--dark); cursor: pointer; transition: all .15s; }
.time-chips button:hover { border-color: var(--primary); color: var(--primary); }
.time-chips button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Flatpickr calendar in the site colours */
.flatpickr-calendar.mt-calendar { font-family: var(--font); border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 18px 45px rgba(7,21,22,.16); padding: 6px 4px 8px; }
.mt-calendar.arrowTop::before, .mt-calendar.arrowTop::after { display: none; }
.mt-calendar .flatpickr-months { padding: 6px 4px; }
.mt-calendar .flatpickr-current-month { font-size: 16px; font-weight: 600; }
.mt-calendar .flatpickr-current-month input.cur-year { font-weight: 600; }
.mt-calendar .flatpickr-months .flatpickr-prev-month, .mt-calendar .flatpickr-months .flatpickr-next-month { top: 8px; border-radius: 50%; padding: 8px; }
.mt-calendar .flatpickr-months .flatpickr-prev-month:hover svg, .mt-calendar .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--primary); }
.mt-calendar span.flatpickr-weekday { color: var(--muted); font-weight: 600; font-size: 12px; }
.mt-calendar .flatpickr-day { border-radius: 10px; font-weight: 500; color: var(--dark); }
.mt-calendar .flatpickr-day:hover { background: var(--cream); border-color: var(--cream); }
.mt-calendar .flatpickr-day.today { border-color: var(--primary); }
.mt-calendar .flatpickr-day.today:hover { background: var(--cream); color: var(--dark); }
.mt-calendar .flatpickr-day.selected, .mt-calendar .flatpickr-day.selected:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.mt-calendar .flatpickr-day.flatpickr-disabled, .mt-calendar .flatpickr-day.prevMonthDay, .mt-calendar .flatpickr-day.nextMonthDay { color: #c4cacb; }

/* ---------- styled select (country) ---------- */
.select-wrap { position: relative; }
.select-wrap select { width: 100%; appearance: none; -webkit-appearance: none; border: 1px solid var(--border); background: var(--light); border-radius: 10px; padding: 12px 42px 12px 16px; font-size: 15px; color: var(--dark); cursor: pointer; outline: none; transition: border .2s, background .2s; }
.select-wrap select:focus { border-color: var(--primary); background: #fff; }
.select-wrap select:invalid { color: var(--muted); }
.select-wrap select option, .select-wrap select optgroup { color: var(--dark); }
.select-wrap .select-caret { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }

/* ---------- checkout: payment options ---------- */
.pay-options { display: grid; gap: 10px; }
.pay-option { position: relative; display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--border); border-radius: 14px; padding: 16px 18px; cursor: pointer; background: #fff; transition: border .2s, background .2s; }
.pay-option:hover { border-color: var(--primary); }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); margin-top: 2px; transition: all .2s; }
.pay-option input:checked ~ .pay-radio { border-color: var(--primary); box-shadow: inset 0 0 0 4px #fff; background: var(--primary); }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--cream); }
.pay-option input:focus-visible ~ .pay-radio { outline: 2px solid var(--primary); outline-offset: 2px; }
.pay-text strong { display: block; color: var(--dark); font-size: 15.5px; font-weight: 600; }
.pay-text small { display: block; color: var(--text); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.bank-box { text-align: left; border: 1.5px solid var(--primary); background: var(--cream); border-radius: var(--radius); padding: 24px; margin: 26px 0 0; }
.bank-box h3 { font-size: 20px; }
.bank-box .summary-list { background: #fff; margin: 16px 0; }
.field .pay-option { display: flex; margin: 0; font-weight: 400; }

/* ---------- language switcher (EN / ES) ---------- */
.topbar-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: inline-flex; background: var(--light); border-radius: 30px; padding: 3px; gap: 2px; }
.lang-switch a { font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 20px; color: var(--muted); line-height: 1.5; }
.lang-switch a:hover { color: var(--dark); }
.lang-switch a.on { background: var(--primary); color: #fff; }
.lang-switch-mobile { display: none; }
@media (max-width: 991px) {
    .lang-switch-mobile { display: flex; margin-top: 18px; }
    .lang-switch-mobile a { flex: 1; text-align: center; padding: 8px; font-size: 14px; }
}
