/* ==========================================================
   JJ Tours — Main Stylesheet
   ========================================================== */

:root {
  --primary: #0e7c66;
  --primary-dark: #0a5c4c;
  --primary-soft: rgba(14, 124, 102, .09);
  --accent: #f7921e;
  --accent-dark: #dc7a07;
  --dark: #0d2b29;
  --heading: #0d2b29;
  --text: #5b6b69;
  --light: #f6f2eb;
  --border: #e7e1d6;
  --white: #fff;
  --star: #ffb400;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(13, 43, 41, .08);
  --shadow-lg: 0 24px 60px rgba(13, 43, 41, .16);
  --font-body: 'Jost', system-ui, sans-serif;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; background: #dfe8e5; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 110px 0; }
.section--light { background: var(--light); }
.section--tight { padding-top: 0; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; text-align: left; flex-wrap: wrap; }
.section-head--split > div { max-width: 600px; }
.subtitle {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  background: transparent;
  font-weight: 500; font-size: 1rem; letter-spacing: .3px;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn i { transition: transform .3s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--dark); }
.btn--outline-dark { border-color: var(--primary); color: var(--primary); }
.btn--outline-dark:hover { background: var(--primary); color: #fff; }
.btn--sm { padding: 10px 22px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ==========================================================
   Header
   ========================================================== */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; }

.topbar { color: rgba(255,255,255,.85); font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 0; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 28px; }
.topbar__info i { color: var(--accent); margin-right: 8px; }
.topbar__social { display: flex; gap: 18px; }
.topbar a:hover { color: var(--accent); }

.header { transition: background .3s, box-shadow .3s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .3s; }
.header.is-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 6px 30px rgba(0,0,0,.08);
  animation: slideDown .5s var(--ease);
}
.header.is-sticky .header__inner { height: 76px; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

.logo { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.logo__mark {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  box-shadow: 0 0 0 4px rgba(247,146,30,.25);
}
.logo__text { display: flex; flex-direction: column; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.logo__text small { font-family: var(--font-body); font-size: .66rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; opacity: .8; margin-top: 5px; }
.header.is-sticky .logo { color: var(--dark); }

.nav__list { display: flex; gap: 4px; }
.nav__link { position: relative; display: block; padding: 10px 16px; color: #fff; font-weight: 500; }
.nav__link::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.header.is-sticky .nav__link { color: var(--dark); }
.header .nav__link:hover, .header .nav__link.active { color: var(--accent); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; position: relative; z-index: 160;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 46px; height: 46px; padding: 10px;
  border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: .35s var(--ease); }
.header.is-sticky .nav-toggle span, .nav-toggle.open span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================
   Hero slider (home)
   ========================================================== */
.hero { position: relative; height: 100vh; min-height: 740px; max-height: 1000px; color: #fff; overflow: hidden; background: var(--dark); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.hero__slide.active { opacity: 1; visibility: visible; }
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.15); transition: transform 8s linear;
}
.hero__slide.active .hero__bg { transform: scale(1); }
.hero__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,26,24,.82) 0%, rgba(6,26,24,.45) 55%, rgba(6,26,24,.2) 100%);
}
.hero__slide .container { position: relative; z-index: 2; height: 100%; }
.hero__content { height: 100%; max-width: 720px; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 60px; }
.hero__content > * { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__slide.active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.active .hero__content > *:nth-child(2) { transition-delay: .15s; }
.hero__slide.active .hero__content > *:nth-child(3) { transition-delay: .3s; }
.hero__slide.active .hero__content > *:nth-child(4) { transition-delay: .45s; }
.hero__subtitle { font-family: var(--font-script); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6.5vw, 5.2rem); margin: 12px 0 22px; }
.hero__text { max-width: 560px; font-size: 1.15rem; opacity: .9; margin-bottom: 38px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__dots { position: absolute; z-index: 5; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.hero__dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #fff; background: transparent; cursor: pointer;
  transition: .3s;
}
.hero__dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* ---------- Search box ---------- */
.search-wrap { position: relative; z-index: 5; margin-top: -80px; }
.search-box {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: end; gap: 20px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px;
}
.search-field label, .form-group label {
  display: block; margin-bottom: 6px;
  font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--heading);
}
.search-field label i { color: var(--accent); margin-right: 6px; }
.search-box .btn { height: 54px; }

.form-control {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
select.form-control {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6b69' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
textarea.form-control { min-height: 160px; resize: vertical; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 500; }
.form-msg.show { display: block; }

/* ==========================================================
   Features
   ========================================================== */
.features { padding: 100px 0 0; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature {
  text-align: center; padding: 40px 28px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-size: 2rem;
  transition: .35s var(--ease);
}
.feature:hover .feature__icon { background: var(--primary); color: #fff; transform: scale(1.08); }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* ==========================================================
   About
   ========================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 50px 70px 0; }
.about__img-main { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius-lg); }
.about__img-small {
  position: absolute; right: 0; bottom: 0;
  width: 52%; height: 270px; object-fit: cover;
  border: 8px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute; left: -24px; top: 40px;
  padding: 22px 26px; border-radius: var(--radius);
  background: var(--accent); color: #fff; text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.about__badge span { font-size: .9rem; line-height: 1.3; display: block; margin-top: 6px; }
@keyframes float { 50% { transform: translateY(-12px); } }
.about__content p { margin-bottom: 24px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 36px; }
.check-list li { display: flex; gap: 12px; color: var(--heading); font-weight: 500; }
.check-list i { color: var(--primary); margin-top: 6px; }
.about__footer { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.call-box { display: flex; align-items: center; gap: 14px; }
.call-box__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.3rem; }
.call-box small { display: block; font-size: .85rem; }
.call-box strong { color: var(--heading); font-size: 1.15rem; }

/* ==========================================================
   Destinations
   ========================================================== */
.dest-grid { display: grid; gap: 24px; }
.dest-grid--bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; }
.dest-grid--bento .dest-card:first-child { grid-column: span 2; grid-row: span 2; }
.dest-grid--all { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 380px; }
.dest-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); color: #fff; isolation: isolate; }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.dest-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(6,26,24,.85)); transition: .4s; }
.dest-card:hover img { transform: scale(1.1); }
.dest-card__count {
  position: absolute; top: 20px; left: 20px;
  padding: 5px 14px; border-radius: 30px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  font-size: .85rem; font-weight: 500;
}
.dest-card__body { position: absolute; left: 26px; right: 26px; bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dest-card__body small { display: block; opacity: .85; }
.dest-card h3 { color: #fff; font-size: 1.6rem; }
.dest-card:first-child h3 { font-size: 2rem; }
.dest-card__arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--dark);
  transform: rotate(-45deg); transition: .35s var(--ease);
}
.dest-card:hover .dest-card__arrow { background: var(--accent); color: #fff; transform: none; }

/* ==========================================================
   Tour cards
   ========================================================== */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab {
  padding: 9px 22px; border-radius: 50px;
  border: 1px solid var(--border); background: #fff; cursor: pointer;
  font-weight: 500; transition: .25s;
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tour-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tour-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s;
  animation: fadeUp .6s var(--ease) both;
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tour-card:hover .tour-card__media img { transform: scale(1.08); }
.tour-card__badge {
  position: absolute; top: 18px; left: 18px;
  padding: 5px 14px; border-radius: 30px;
  background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.tour-card__wish {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--dark); cursor: pointer; transition: .25s;
}
.tour-card__wish:hover { color: #e63946; transform: scale(1.1); }
.tour-card__wish.active { color: #e63946; }
.tour-card__duration {
  position: absolute; left: 18px; bottom: 16px;
  padding: 6px 14px; border-radius: 30px;
  background: rgba(13,43,41,.75); backdrop-filter: blur(4px);
  color: #fff; font-size: .85rem;
}
.tour-card__duration i { color: var(--accent); margin-right: 5px; }
.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.tour-card__loc { font-size: .92rem; font-weight: 500; color: var(--primary); }
.tour-card__loc i { margin-right: 5px; }
.tour-card__title { font-size: 1.35rem; margin: 6px 0 10px; }
.tour-card__title a:hover { color: var(--primary); }
.rating { display: flex; align-items: center; gap: 3px; color: var(--star); font-size: .85rem; margin-bottom: 20px; }
.rating span { color: var(--text); margin-left: 6px; font-size: .9rem; }
.tour-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--border); }
.price { font-size: .88rem; line-height: 1.3; }
.price del { margin-right: 4px; opacity: .7; }
.price strong { display: block; font-family: var(--font-head); font-size: 1.55rem; color: var(--primary); }
.price strong small { font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--text); }

/* ==========================================================
   CTA banner
   ========================================================== */
.cta {
  position: relative; padding: 150px 0; text-align: center; color: #fff;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,92,76,.88), rgba(6,26,24,.7)); }
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.cta p { font-size: 1.15rem; opacity: .9; margin-bottom: 38px; }
.cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta--compact { padding: 100px 0; }

/* ==========================================================
   Activities
   ========================================================== */
.activity-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.activity {
  display: block; text-align: center; padding: 34px 16px;
  background: #fff; border-radius: var(--radius-lg);
  transition: .35s var(--ease);
}
.activity:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.activity__icon {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem;
  background: rgba(247,146,30,.12); color: var(--accent); transition: .35s;
}
.activity:hover .activity__icon { background: var(--accent); color: #fff; }
.activity h3 { font-size: 1.15rem; margin-bottom: 4px; }
.activity span { font-size: .9rem; }

/* ==========================================================
   Stats
   ========================================================== */
.stats { background: var(--primary); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 26px 26px;
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat__icon { font-size: 2.2rem; color: var(--accent); margin-bottom: 10px; }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.1; }
.stat__label { opacity: .85; }

/* ==========================================================
   Testimonials
   ========================================================== */
.slider { position: relative; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3);
  gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 4px 30px; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__nav { display: flex; gap: 12px; }
.slider__btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; cursor: pointer;
  color: var(--dark); transition: .25s;
}
.slider__btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.testimonial {
  scroll-snap-align: start;
  position: relative; display: flex; flex-direction: column;
  padding: 38px 34px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.testimonial__quote { position: absolute; top: 28px; right: 32px; font-size: 3rem; color: var(--primary-soft); }
.testimonial .rating { margin-bottom: 16px; }
.testimonial p { font-size: 1.05rem; font-style: italic; margin-bottom: 26px; flex: 1; }
.person { display: flex; align-items: center; gap: 14px; }
.person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--light); }
.person strong { display: block; color: var(--heading); font-size: 1.05rem; }
.person span { font-size: .9rem; }

/* ==========================================================
   Blog
   ========================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: .35s var(--ease); }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__media img { transform: scale(1.08); }
.post__date {
  position: absolute; left: 20px; bottom: -1px;
  padding: 8px 16px; border-radius: 10px 10px 0 0;
  background: #fff; color: var(--heading); font-weight: 600; font-size: .9rem;
}
.post__body { padding: 22px 26px 28px; }
.post__cat { font-size: .85rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.post h3 { font-size: 1.3rem; margin: 8px 0 12px; }
.post h3 a:hover { color: var(--primary); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); margin-top: 14px; }
.link-more:hover { color: var(--accent); }

/* ==========================================================
   Inner page hero
   ========================================================== */
.page-hero {
  position: relative; padding: 240px 0 120px; text-align: center; color: #fff;
  background-color: var(--dark); background-size: cover; background-position: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,24,.75), rgba(6,26,24,.55)); }
.page-hero__inner { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin: 6px 0 18px; }
.page-hero__tag { display: inline-block; padding: 5px 16px; border-radius: 30px; background: var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.page-hero__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 22px; }
.page-hero__meta i { color: var(--accent); margin-right: 6px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 8px 22px; border-radius: 40px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.breadcrumb li + li::before { content: '/'; margin-right: 10px; opacity: .6; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li:last-child { color: var(--accent); }

/* ==========================================================
   Tours listing page
   ========================================================== */
.listing { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.widget { padding: 26px; border-radius: var(--radius); background: var(--light); }
.widget__title { position: relative; font-size: 1.2rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.widget__title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--accent); }
.search-input { position: relative; }
.search-input i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text); }
.check { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.check span { flex: 1; }
.check em { font-style: normal; font-size: .85rem; padding: 0 9px; border-radius: 20px; background: #fff; }
.range { width: 100%; accent-color: var(--primary); cursor: pointer; }
.range-value { display: flex; justify-content: space-between; font-size: .92rem; margin-top: 6px; }
.range-value strong { color: var(--primary); }
.filter-toggle { display: none; }

.listing__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.listing__bar strong { color: var(--heading); }
.listing__bar select { width: auto; min-width: 210px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 2px dashed var(--border); border-radius: var(--radius-lg); }
.empty-state i { font-size: 2.6rem; color: var(--accent); margin-bottom: 14px; }
.empty-state h3 { margin-bottom: 8px; }

/* ==========================================================
   Tour details
   ========================================================== */
.details { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 210px 210px; gap: 14px; margin-bottom: 36px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; }
.meta-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px; margin-bottom: 44px; border-radius: var(--radius); background: var(--light); }
.meta-item { display: flex; align-items: center; gap: 12px; }
.meta-item__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); }
.meta-item small { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.meta-item strong { color: var(--heading); line-height: 1.2; }
.block { margin-bottom: 48px; }
.block h2 { font-size: 1.8rem; margin-bottom: 18px; }
.block p + p { margin-top: 14px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.highlights li { display: flex; gap: 12px; }
.highlights i { color: var(--accent); margin-top: 6px; }

.accordion details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.accordion summary {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  cursor: pointer; list-style: none; font-weight: 600; color: var(--heading);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; margin-left: auto; font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details[open] summary { border-bottom: 1px solid var(--border); }
.accordion__day { flex-shrink: 0; padding: 3px 12px; border-radius: 20px; background: var(--primary); color: #fff; font-size: .8rem; font-weight: 600; }
.accordion__content { padding: 18px 22px 20px; }

.inc-exc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inc-exc h3 { font-size: 1.2rem; margin-bottom: 14px; }
.inc-exc li { display: flex; gap: 10px; margin-bottom: 10px; }
.inc-exc .fa-check { color: var(--primary); margin-top: 6px; }
.inc-exc .fa-xmark { color: #e63946; margin-top: 6px; }

.review { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.review img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.review__head strong { color: var(--heading); }
.review__head small { font-size: .85rem; }
.review .rating { margin: 4px 0 8px; }

.details__aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.booking-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.booking-card__head { padding: 24px 28px; background: var(--primary); color: #fff; }
.booking-card__head strong { font-family: var(--font-head); font-size: 2.2rem; margin: 0 4px; }
.booking-card__body { padding: 28px; }
.booking-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 20px; margin-top: 4px; border-top: 1px dashed var(--border); font-weight: 600; color: var(--heading); }
.booking-total strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); }
.help-card { padding: 30px; border-radius: var(--radius-lg); background: var(--dark); color: rgba(255,255,255,.8); text-align: center; }
.help-card i { font-size: 2.2rem; color: var(--accent); margin-bottom: 12px; }
.help-card h3 { color: #fff; margin-bottom: 8px; }
.help-card a { display: block; margin-top: 12px; color: #fff; font-family: var(--font-head); font-size: 1.4rem; }
.help-card a:hover { color: var(--accent); }

/* ==========================================================
   About page
   ========================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.member { text-align: center; }
.member__media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; margin-bottom: 20px; }
.member__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.member:hover .member__media img { transform: scale(1.06); }
.member__social {
  position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 20px);
  display: flex; gap: 8px; opacity: 0; transition: .4s var(--ease);
}
.member:hover .member__social { opacity: 1; transform: translate(-50%, 0); }
.member__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--dark); }
.member__social a:hover { background: var(--accent); color: #fff; }
.member h3 { font-size: 1.3rem; }
.member span { color: var(--accent); font-weight: 500; }

/* ==========================================================
   Contact page
   ========================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 80px; }
.contact-card { padding: 34px 26px; text-align: center; border-radius: var(--radius-lg); background: var(--light); transition: .35s var(--ease); }
.contact-card:hover { background: var(--primary); color: rgba(255,255,255,.85); transform: translateY(-6px); }
.contact-card:hover h3 { color: #fff; }
.contact-card__icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); font-size: 1.5rem; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 8px; transition: color .35s; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: stretch; }
.map { min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--dark); color: rgba(255,255,255,.7); }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__top h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.footer__top p { margin-top: 4px; }
.newsletter-form { display: flex; width: 100%; max-width: 520px; padding: 6px; border-radius: 50px; background: #fff; }
.newsletter-form input { flex: 1; min-width: 0; padding: 0 22px; border: 0; outline: 0; background: transparent; color: var(--dark); }
.footer .form-msg { background: rgba(255,255,255,.1); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; padding: 80px 0 60px; }
.footer .logo { margin-bottom: 22px; }
.footer h4 { color: #fff; font-size: 1.25rem; margin-bottom: 24px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { display: inline-flex; align-items: center; gap: 10px; }
.footer__links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transition: width .3s; }
.footer__links a:hover { color: var(--accent); }
.footer__links a:hover::before { width: 14px; border-radius: 3px; }
.footer__contact li { display: flex; gap: 14px; margin-bottom: 16px; }
.footer__contact i { color: var(--accent); margin-top: 6px; width: 16px; }
.footer__contact a:hover { color: var(--accent); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .25s; }
.social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--accent); }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: .35s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .search-box { grid-template-columns: repeat(2, 1fr); }
  .search-box .btn { grid-column: 1 / -1; }
  .activity-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .slider__track { grid-auto-columns: calc((100% - 30px) / 2); }
  .details { grid-template-columns: 1fr 340px; gap: 36px; }
  .meta-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .topbar__info .hide-md { display: none; }

  .nav {
    position: fixed; top: 0; right: 0; z-index: 150;
    width: min(330px, 86vw); height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; gap: 30px;
    padding: 110px 30px 40px; overflow-y: auto;
    background: #fff;
    transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
  }
  .nav.open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(5,20,19,.55); }
  .nav__list { flex-direction: column; gap: 0; }
  .header .nav__link { color: var(--dark); padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
  .nav__link::after { display: none; }
  .nav__cta { display: inline-flex; }
  .nav-toggle { display: flex; }
  .header__btn { display: none; }

  .hero__dots { right: 20px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 60px; }
  .about__badge { left: 10px; }
  .dest-grid--bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .dest-grid--all { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 320px; }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid .post:last-child { display: none; }
  .cta { background-attachment: scroll; }

  .listing { grid-template-columns: 1fr; }
  .sidebar { position: static; display: none; }
  .sidebar.open { display: flex; }
  .filter-toggle { display: inline-flex; }

  .details { grid-template-columns: 1fr; }
  .details__aside { position: static; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .header__inner { height: 80px; }
  .logo__mark { width: 44px; height: 44px; font-size: 1.1rem; }
  .logo__text { font-size: 1.4rem; }
  .hero { min-height: 640px; }
  .hero__subtitle { font-size: 1.9rem; }
  .hero__dots { top: auto; bottom: 110px; right: 50%; transform: translateX(50%); flex-direction: row; }
  .search-box { grid-template-columns: 1fr; padding: 22px; }
  .features__grid, .tour-grid, .tour-grid--2, .blog-grid, .team-grid, .contact-cards { grid-template-columns: 1fr; }
  .blog-grid .post:last-child { display: block; }
  .about__media { padding: 0 20px 60px 0; }
  .about__img-main { height: 400px; }
  .about__img-small { height: 190px; }
  .check-list, .highlights, .inc-exc, .form-row { grid-template-columns: 1fr; }
  .dest-grid--bento, .dest-grid--all { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .dest-grid--bento .dest-card:first-child { grid-column: auto; grid-row: auto; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .slider__track { grid-auto-columns: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 130px; }
  .gallery img:first-child { grid-row: auto; grid-column: span 2; }
  .meta-strip { grid-template-columns: 1fr 1fr; padding: 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 180px 0 90px; }
  .listing__bar select { min-width: 0; width: 100%; }
}
