/* =====================================================================
   BUJA TOURS — Shared site stylesheet
   Used by every category page and every individual tour page.
   The homepage + bespoke pages keep their own inline styles intact.
===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:root {
  --bg: #faf7f2; --bg-soft: #f5f1e8;
  --ink: #0b1f1a; --ink-2: #2c3e38; --muted: #6b756f; --line: #e7e1d6;
  --primary: #0b4d3b; --primary-2: #083a2c; --primary-dark: #052920; --primary-soft: #f0ece2;
  --accent: #c79a4a; --accent-2: #b3873a; --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(11,77,59,.06);
  --shadow-md: 0 12px 30px rgba(11,77,59,.10);
  --shadow-lg: 0 25px 60px rgba(11,77,59,.18);
  --radius: 14px; --radius-lg: 22px;
  --container: 1240px;
  --transition: .35s cubic-bezier(.2,.7,.2,1);
}
body {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16px;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
p { color: var(--ink-2); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: all var(--transition); white-space: nowrap; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--white); }

/* Topbar */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.92); font-size: .85rem; padding: 10px 0; }
.topbar .inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.92); }
.topbar a:hover { color: var(--accent); }
.topbar .left, .topbar .right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar i { color: var(--accent); margin-right: 6px; }
.topbar .socials a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: all var(--transition); }
.topbar .socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: all var(--transition); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 30px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 72px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a, .main-nav > .has-dd > a { font-size: 1rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; white-space: nowrap; cursor: pointer; }
.main-nav a::after { content: ''; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.main-nav > a:hover, .main-nav > a.active, .main-nav > .has-dd > a:hover, .main-nav > .has-dd.active > a { color: var(--primary); }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }

/* ===== Dropdown menus (desktop hover + mobile accordion) ===== */
.site-header { z-index: 500; }
/* Hover-buffer wrapper: the .has-dd extends 26px below the menu item so the
   cursor never leaves the parent when moving toward the panel. The panel
   itself sits flush with the parent (no real gap) but uses padding-top for
   the visual offset. */
.main-nav .has-dd { position: relative; padding-bottom: 26px; margin-bottom: -26px; }
.main-nav .has-dd > a > i { font-size: .68rem; margin-left: 4px; transition: transform .35s ease; color: var(--muted); }
.main-nav .has-dd:hover > a > i,
.main-nav .has-dd:focus-within > a > i { transform: rotate(180deg); color: var(--primary); }
.main-nav .has-dd.active > a { color: var(--primary); }

.main-nav .dd-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  /* Centering and animation are decoupled — translateX(-50%) is the ONLY transform
     applied at rest, so the panel can never shift horizontally between states. */
  transform: translateX(-50%);
  margin-top: 0;
  width: 280px;
  background: #fff; padding: 30px 16px 18px;
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(11,77,59,.15);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear .22s;
  z-index: 600;
}
.main-nav .has-dd:hover .dd-panel,
.main-nav .has-dd:focus-within .dd-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .22s ease, visibility 0s;
}
.main-nav .dd-panel::before {
  content: ''; position: absolute; top: 10px; left: 50%;        /* arrow inside the panel's top padding */
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.main-nav .dd-panel a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 12px;
  font-size: 1rem; color: var(--ink-2); font-weight: 500;
  transition: background .25s ease, color .25s ease, padding .25s ease;
}
.main-nav .dd-panel a:hover { background: var(--bg-soft); color: var(--primary); padding-left: 22px; }
.main-nav .dd-panel a::after { display: none; }
.main-nav .dd-panel a i { width: 16px; color: var(--accent); font-size: .85rem; }
.main-nav .dd-panel .dd-divider { height: 1px; background: var(--line); margin: 6px 4px; }
.main-nav .dd-panel a.dd-all { font-weight: 600; color: var(--primary); }
  /* ===== Nested destinations dropdown (region -> country -> city) ===== */
  .main-nav .dd-panel.dd-nested { width: 264px; padding: 14px 10px; display: block; }
  .main-nav .dd-nested .has-sub { position: relative; }
  .main-nav .dd-nested .sub-toggle, .main-nav .dd-nested .has-sub > a { display: flex; align-items: center; gap: 11px; padding: 11px 16px; border-radius: 12px; font-size: .96rem; color: var(--ink-2); font-weight: 500; cursor: pointer; }
  .main-nav .dd-nested .sub-toggle .dd-caret, .main-nav .dd-nested .has-sub > a .dd-caret { margin-left: auto; font-size: .66rem; color: var(--muted); transition: transform .3s ease; }
  .main-nav .dd-nested .has-sub > a i:first-child, .main-nav .dd-nested .sub-panel a i:first-child { width: 16px; color: var(--accent); font-size: .85rem; flex-shrink: 0; }
  .main-nav .dd-nested .has-sub:hover > .sub-toggle, .main-nav .dd-nested .has-sub:hover > a { background: var(--bg-soft); color: var(--primary); }
  .main-nav .dd-nested .sub-panel { position: absolute; left: calc(100% + 8px); top: -10px; width: 234px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(11,77,59,.16); padding: 12px 10px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; z-index: 640; }
  .main-nav .dd-nested .sub-panel::before { content: ''; position: absolute; top: 0; left: -14px; width: 16px; height: 100%; }
  .main-nav .dd-nested .has-sub:hover > .sub-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .main-nav .dd-nested .sub-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
  .main-nav .dd-nested .sub-panel a:hover { background: var(--bg-soft); color: var(--primary); }
  .main-nav .dd-nested > .dd-all { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 14px; justify-content: center; display: flex; align-items: center; gap: 10px; }
  @media (max-width: 1024px) {
    .main-nav .dd-panel.dd-nested { width: 100% !important; max-width: 360px !important; }
    .main-nav .has-dd.open .dd-panel.dd-nested { max-height: 3000px; }
    .main-nav .dd-nested .has-sub { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .main-nav .dd-nested .sub-toggle .dd-caret, .main-nav .dd-nested .has-sub > a .dd-caret { margin-left: 8px; }
    .main-nav .dd-nested .has-sub.open > .sub-toggle .dd-caret, .main-nav .dd-nested .has-sub.open > a .dd-caret { transform: rotate(90deg); }
    .main-nav .dd-nested .sub-panel { position: static !important; left: auto !important; top: auto !important; transform: none !important; width: 100% !important; background: none !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; max-height: 0; overflow: hidden; transition: max-height .4s ease; display: flex !important; flex-direction: column !important; align-items: center !important; }
    .main-nav .dd-nested .has-sub.open > .sub-panel { max-height: 1600px; }
    .main-nav .dd-nested .sub-panel::before { display: none !important; }
  }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; font-size: 1.3rem; color: var(--primary); position: relative; z-index: 220; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; transition: all var(--transition); }
.menu-toggle.open { color: var(--white); transform: rotate(90deg); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

section { padding: 100px 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; position: relative; padding-left: 30px; }
.eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 2px; background: var(--accent); transform: translateY(-50%); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }

/* Breadcrumb */
.breadcrumb-band { background: var(--primary-soft); padding: 14px 0; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb-band .crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.breadcrumb-band a { color: var(--ink-2); font-weight: 500; }
.breadcrumb-band a:hover { color: var(--primary); }
.breadcrumb-band i { font-size: .65rem; }
.breadcrumb-band .current { color: var(--primary); font-weight: 600; }

/* Page hero */
.page-hero { position: relative; min-height: 52vh; display: flex; align-items: center; color: var(--white); overflow: hidden; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,40,30,.78) 0%, rgba(8,40,30,.55) 50%, rgba(0,0,0,.65) 100%); z-index: 1; }
.page-hero-inner { position: relative; z-index: 2; padding: 60px 0; width: 100%; }
.page-hero h1 { color: var(--white); max-width: 800px; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-hero .subtitle { font-size: 1.05rem; max-width: 640px; color: rgba(255,255,255,.92); line-height: 1.6; font-weight: 300; margin-bottom: 28px; }

/* Tour info row (on individual tour pages) */
.tour-info-row {
  display: inline-flex; flex-wrap: wrap;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 8px;
}
.tour-info-row .info-item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px; border-right: 1px solid rgba(255,255,255,.15); }
.tour-info-row .info-item:last-child { border-right: none; }
.tour-info-row .info-item > i { color: var(--accent); font-size: 1rem; width: 32px; height: 32px; border-radius: 50%; background: rgba(199,154,74,.15); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tour-info-row .info-item > div { display: flex; flex-direction: column; line-height: 1.2; }
.tour-info-row .info-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); font-weight: 600; margin-bottom: 3px; }
.tour-info-row .info-value { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.tour-info-row .info-sub { font-size: .78rem; color: rgba(255,255,255,.7); font-weight: 400; margin-left: 2px; }
.tour-info-row .info-price .info-value { color: var(--accent); font-weight: 700; }

/* Overview */
.overview { background: var(--white); }
.overview-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.overview h2 { margin-bottom: 22px; }
.overview-lead { font-size: 1.1rem; color: var(--ink); margin-bottom: 18px; line-height: 1.75; font-weight: 500; }
.overview p { margin-bottom: 16px; line-height: 1.75; }
.overview-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-lg); }
.overview-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.overview-img:hover img { transform: scale(1.05); }

/* Highlights */
.highlights { background: var(--bg-soft); }
.highlights-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.highlight-card { background: var(--white); border-radius: var(--radius); padding: 26px 18px; text-align: center; border: 1px solid var(--line); transition: all var(--transition); }
.highlight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.highlight-icon { width: 56px; height: 56px; margin: 0 auto 14px; background: var(--primary-soft); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: all var(--transition); }
.highlight-card:hover .highlight-icon { background: var(--primary); color: var(--accent); transform: scale(1.08); }
.highlight-card h4 { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* Itinerary — Your Day, Step by Step */
.itinerary { background: var(--white); padding: 90px 0; }
.itinerary .section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.itinerary-flow { display: grid; gap: 18px; position: relative; }
.itinerary-flow.steps-3 { grid-template-columns: repeat(3, 1fr); }
.itinerary-flow.steps-4 { grid-template-columns: repeat(4, 1fr); }
.itinerary-flow.steps-5 { grid-template-columns: repeat(5, 1fr); }
.itinerary-flow.steps-6 { grid-template-columns: repeat(6, 1fr); }
.itinerary-flow.steps-7 { grid-template-columns: repeat(7, 1fr); }
.itinerary-flow.steps-8 { grid-template-columns: repeat(8, 1fr); }
.flow-step { text-align: center; padding: 18px 12px; position: relative; }
.flow-step .num {
  width: 46px; height: 46px; margin: 0 auto 14px;
  background: var(--primary); color: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(11,77,59,.18);
  position: relative; z-index: 2;
}
.flow-step h4 { font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.flow-step::after {
  content: ''; position: absolute; top: 41px; left: 70%; width: 60%; height: 2px;
  background: repeating-linear-gradient(to right, var(--accent) 0 6px, transparent 6px 12px);
  z-index: 1;
}
.flow-step:last-child::after { display: none; }

@media (max-width: 1024px) {
  .itinerary-flow,
  .itinerary-flow.steps-3,
  .itinerary-flow.steps-4,
  .itinerary-flow.steps-5,
  .itinerary-flow.steps-6,
  .itinerary-flow.steps-7,
  .itinerary-flow.steps-8 { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(3n)::after { display: none; }
}
@media (max-width: 560px) {
  .itinerary { padding: 60px 0; }
  .itinerary-flow,
  .itinerary-flow.steps-3,
  .itinerary-flow.steps-4,
  .itinerary-flow.steps-5,
  .itinerary-flow.steps-6,
  .itinerary-flow.steps-7,
  .itinerary-flow.steps-8 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .flow-step::after { display: none !important; }
}

/* Inclusions / Exclusions */
.inex { background: var(--bg-soft); }
.inex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.inex-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.inex-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.inex-card .head .ic { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.inex-card.includes .ic { background: var(--primary-soft); color: var(--primary); }
.inex-card.excludes .ic { background: #fdebe6; color: #c84a2a; }
.inex-card h3 { font-size: 1.25rem; }
.inex-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.inex-card li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); line-height: 1.55; }
.inex-card.includes li i { color: var(--primary); margin-top: 5px; font-size: .85rem; flex-shrink: 0; }
.inex-card.excludes li i { color: #c84a2a; margin-top: 5px; font-size: .85rem; flex-shrink: 0; }

/* Tour cards (category page grid) */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tour-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: all var(--transition); display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tour-img { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; background: var(--bg-soft); }
.tour-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s ease; display: block; image-rendering: -webkit-optimize-contrast; }
.tour-card:hover .tour-img img { transform: scale(1.08); }
.tour-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.40) 100%); }
.tour-duration { position: absolute; bottom: 14px; left: 16px; z-index: 2; color: var(--white); font-size: .85rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.tour-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-loc { font-size: .76rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 6px; }
.tour-loc i { color: var(--accent); }
.tour-title { font-size: 1.1rem; margin-bottom: 12px; min-height: 2.6em; line-height: 1.35; }
.tour-card .tour-title a:hover { color: var(--primary); }
.tour-desc { font-size: .88rem; color: var(--muted); margin-bottom: 18px; flex: 1; line-height: 1.6; }
.tour-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.tour-price { display: flex; flex-direction: column; }
.tour-price .from { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tour-price .amt { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.tour-book { color: var(--primary); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; transition: all var(--transition); }
.tour-book:hover { background: var(--primary); color: var(--white); padding-right: 17px; }

/* ===== Category page — tour grid (new card system) ===== */
.tour-grid-section { padding: 90px 0; background: var(--bg-soft); }
.tour-grid-section .section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.tour-card .tour-card-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.tour-card .tour-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s ease; display: block; image-rendering: -webkit-optimize-contrast; }
.tour-card:hover .tour-card-media img { transform: scale(1.08); }
.tour-card .tour-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.42) 100%); pointer-events: none; }
.tour-card .tour-card-pill { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.94); color: var(--primary); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.10); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.tour-card .tour-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-card .tour-card-meta { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; display: flex; gap: 14px; align-items: center; }
.tour-card .tour-card-meta i { color: var(--accent); margin-right: 4px; }
.tour-card .tour-card-body h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 12px; min-height: 2.6em; font-weight: 600; color: var(--ink); }
.tour-card .tour-card-body h3 a { color: inherit; transition: color var(--transition); }
.tour-card .tour-card-body h3 a:hover { color: var(--primary); }
.tour-card .tour-card-body p { font-size: .88rem; color: var(--muted); margin-bottom: 18px; flex: 1; line-height: 1.6; }
.tour-card .tour-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); gap: 10px; }
.tour-card .card-price { display: flex; flex-direction: column; }
.tour-card .card-price .from { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.tour-card .card-price .amt { font-size: 1.3rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.tour-card .tour-card-link { color: var(--primary); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; transition: all var(--transition); white-space: nowrap; }
.tour-card .tour-card-link:hover { background: var(--primary); color: var(--white); padding-right: 17px; }

@media (max-width: 1100px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .tour-grid { grid-template-columns: 1fr; gap: 22px; }
  .tour-grid-section { padding: 60px 0; }
  .tour-card .tour-card-media { aspect-ratio: 16/10; }
}

/* Booking CTA */
.booking-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 90px 0; position: relative; overflow: hidden; }
.booking-cta::before { content: ''; position: absolute; top: -120px; right: -120px; width: 450px; height: 450px; background: radial-gradient(circle, rgba(199,154,74,.18) 0%, transparent 70%); }
.booking-cta::after { content: ''; position: absolute; bottom: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(199,154,74,.12) 0%, transparent 70%); }
.booking-cta-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.booking-cta .eyebrow { color: var(--accent); }
.booking-cta h2 { color: var(--white); margin-bottom: 18px; }
.booking-cta p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 36px; }
.booking-cta .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.site-footer { background: #0a1c17; color: rgba(255,255,255,.78); padding: 90px 0 30px; border-top: 4px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 50px; margin-bottom: 60px; align-items: start; }
.footer-col h4, .footer-col .footer-name { color: var(--white); font-size: 1.05rem; font-weight: 600; font-family: 'Poppins', sans-serif; margin-bottom: 26px; position: relative; padding-bottom: 14px; letter-spacing: 0; }
.footer-col h4::after, .footer-col .footer-name::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--accent); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-desc { font-size: .95rem; color: rgba(255,255,255,.72); line-height: 1.7; margin: 0; max-width: 320px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; transition: all var(--transition); color: var(--white); }
.footer-socials a:hover { background: var(--accent); color: var(--ink); transform: translateY(-3px); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { color: rgba(255,255,255,.72); font-size: .95rem; transition: all var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 6px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.78); }
.contact-list i { color: var(--accent); margin-top: 6px; flex-shrink: 0; width: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--accent); }
.payments { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.payments > span:first-child { font-size: .8rem; color: rgba(255,255,255,.55); margin-right: 4px; }
.payments i { font-size: 1.6rem; color: rgba(255,255,255,.7); line-height: 1; }
.payments .pay-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 9px;
  font-family: 'Poppins', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
}

/* WhatsApp */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37,211,102,.4); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); } }

/* Sticky booking bar */
.sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(11,77,59,.10); padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0)); transform: translateY(110%); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .4s ease; pointer-events: none; }
.sticky-book.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sticky-tour { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.sticky-tour-name { display: flex; flex-direction: column; min-width: 0; }
.sticky-tour-name .label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sticky-tour-name .name { font-size: .98rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { display: flex; flex-direction: column; line-height: 1.2; padding-left: 18px; border-left: 1px solid var(--line); }
.sticky-price .from { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sticky-price .amt { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.sticky-price .per { font-size: .78rem; color: var(--muted); margin-top: 1px; }
.sticky-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sticky-actions .btn { padding: 12px 22px; font-size: .9rem; }
.sticky-actions .btn-ghost { padding: 11px 20px; }

/* Inquiry Modal */
.inq-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(8,40,30,.42); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.inq-overlay.open { opacity: 1; visibility: visible; }
body.inq-open { overflow: hidden; }
.inq-modal { position: relative; background: #fff; border-radius: 22px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; padding: 40px 36px 32px; box-shadow: 0 30px 80px rgba(11,77,59,.28); transform: scale(.94) translateY(12px); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.inq-overlay.open .inq-modal { transform: scale(1) translateY(0); opacity: 1; }
.inq-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.2rem; transition: all .3s ease; }
.inq-close:hover { background: var(--bg-soft); color: var(--ink); transform: rotate(90deg); }
.inq-header { text-align: center; margin-bottom: 24px; }
.inq-header .inq-eyebrow { display: inline-block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.inq-header h3 { font-size: 1.4rem; font-weight: 600; margin: 0 0 6px; color: var(--ink); letter-spacing: -.01em; }
.inq-header p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.inq-form { display: flex; flex-direction: column; gap: 14px; }
.inq-field { display: flex; flex-direction: column; gap: 6px; }
.inq-field label { font-size: .78rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.inq-field label span { color: var(--accent); }
.inq-field input, .inq-field textarea, .inq-field select { background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-family: 'Poppins', sans-serif; font-size: .94rem; color: var(--ink); outline: none; transition: all .3s ease; width: 100%; }
.inq-field input:focus, .inq-field textarea:focus, .inq-field select:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(11,77,59,.08); }
.inq-field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.inq-field .inq-error { font-size: .76rem; color: #c84a2a; min-height: 14px; font-weight: 500; }
.inq-consent { margin-top: 2px; }
.inq-consent .inq-consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: .78rem; font-weight: 400; line-height: 1.5; color: var(--muted); cursor: pointer; letter-spacing: 0; }
.inq-consent .inq-consent-label input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.inq-consent .inq-consent-label a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.inq-consent .inq-consent-label a:hover { color: var(--accent-2); }
.inq-phone { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.inq-phone select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'><path fill='%236b756f' d='M8 11L3 6h10z'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; padding-left: 12px; }
.inq-submit { width: 100%; padding: 14px 28px; margin-top: 4px; background: var(--primary); color: #fff; border: 0; border-radius: 999px; font-family: 'Poppins', sans-serif; font: 600 .95rem/1.2 'Poppins', sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease; box-shadow: 0 4px 14px rgba(11,77,59,.18); }
.inq-submit:hover:not(:disabled) { background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,77,59,.26); }
.inq-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.inq-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: inqSpin .8s linear infinite; }
@keyframes inqSpin { to { transform: rotate(360deg); } }
.inq-hint { font-size: .75rem; color: var(--muted); text-align: center; margin: 8px 0 0; line-height: 1.5; }
.inq-recaptcha-note { font-size: .72rem; color: var(--muted); text-align: center; margin: 10px 0 0; line-height: 1.5; }
.inq-recaptcha-note i { color: var(--accent); margin-right: 5px; }
.inq-recaptcha-note a { color: var(--primary); text-decoration: underline; }
.inq-success { text-align: center; padding: 24px 12px 12px; display: none; }
.inq-form.done { display: none; }
.inq-success.show { display: block; animation: inqFade .5s ease both; }
@keyframes inqFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.inq-success-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--primary); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 12px 28px rgba(11,77,59,.25); animation: inqPop .5s cubic-bezier(.2,.7,.2,1) .1s both; }
@keyframes inqPop { 0% { transform: scale(0); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.inq-success h3 { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.inq-success p { color: var(--muted); margin: 0 0 24px; font-size: .95rem; line-height: 1.6; }

/* Responsive */
@media (max-width: 1100px) {
  .highlights-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  section { padding: 70px 0; }
  .container { padding-left: max(28px, env(safe-area-inset-left, 0)); padding-right: max(28px, env(safe-area-inset-right, 0)); }
  .eyebrow { padding-left: 0; margin-bottom: 14px; }
  .eyebrow::before { display: none; }
  .topbar .left { font-size: .8rem; gap: 14px; }
  .topbar .right { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 60px; }
  .overview-grid { grid-template-columns: 1fr; gap: 50px; }
  .overview-img { aspect-ratio: 16/10; max-width: 640px; margin: 0 auto; }
  .page-hero { min-height: 48vh; }
  .page-hero-inner { padding: 50px 0; }
  .tour-info-row { display: flex; flex-direction: column; padding: 6px; }
  .tour-info-row .info-item { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding: 12px 18px; }
  .tour-info-row .info-item:last-child { border-bottom: none; }
  /* Mobile glass menu */
  .main-nav { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 40px 24px; background: rgba(11,31,26,.55); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.04); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1), visibility .55s; overflow-y: auto; }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: scale(1); }
  .main-nav > a, .main-nav .has-dd > a { font-size: 1.4rem; font-weight: 500; color: rgba(255,255,255,.92); padding: 12px 28px; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1), color var(--transition); }
  .main-nav a::after { display: none; }
  .main-nav.open > a, .main-nav.open .has-dd > a { opacity: 1; transform: translateY(0); }
  .main-nav.open > a:nth-child(1) { transition-delay: .15s; } .main-nav.open > a:nth-child(2), .main-nav.open .has-dd:nth-child(2) > a { transition-delay: .20s; } .main-nav.open .has-dd:nth-child(3) > a { transition-delay: .25s; } .main-nav.open > a:nth-child(4), .main-nav.open .has-dd:nth-child(4) > a { transition-delay: .30s; } .main-nav.open > a:nth-child(5) { transition-delay: .35s; } .main-nav.open > a:nth-child(6) { transition-delay: .40s; } .main-nav.open > a:nth-child(7) { transition-delay: .45s; } .main-nav.open > a:nth-child(8) { transition-delay: .50s; }
  .main-nav > a:hover, .main-nav > a.active, .main-nav .has-dd > a:hover { color: var(--accent); }

  /* ===== Mobile dropdown — clean accordion, no background cards ===== */
  .main-nav .has-dd { padding-bottom: 0; margin-bottom: 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .main-nav .has-dd > a { display: inline-flex; align-items: center; gap: 10px; }
  .main-nav .has-dd > a > i { transition: transform .35s ease; }
  .main-nav .has-dd.open > a > i { transform: rotate(180deg); color: var(--accent); }

  .main-nav .has-dd .dd-panel {
    position: static; transform: none; box-shadow: none;
    background: none; border: none; border-radius: 0;
    padding: 0; margin: 0 auto;
    width: 100%; max-width: 360px; min-width: 0;
    opacity: 1; visibility: visible; pointer-events: auto;
    max-height: 0; overflow: hidden;
    transition: max-height .45s cubic-bezier(.2,.7,.2,1), padding .35s ease, margin .35s ease;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
  }
  .main-nav .has-dd.open .dd-panel {
    max-height: 600px; padding: 4px 0 12px; margin: 6px auto 10px;
  }
  .main-nav .dd-panel::before { display: none; }
  .main-nav .dd-panel a {
    background: none !important;
    color: rgba(255,255,255,.78);
    padding: 10px 28px;
    font-size: 1.05rem; font-weight: 400;
    border-radius: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: auto;
    transition: color .25s ease;
  }
  .main-nav .dd-panel a:hover,
  .main-nav .dd-panel a.active,
  .main-nav .dd-panel a.dd-all { color: var(--accent); padding-left: 28px; }
  .main-nav .dd-panel a i { color: var(--accent); width: auto; font-size: .9rem; opacity: .85; }
  .main-nav .dd-panel .dd-divider { background: rgba(255,255,255,.14); height: 1px; width: 50%; max-width: 160px; margin: 6px auto; }
  body.menu-open { overflow: hidden; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .inex-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .cat-grid { grid-template-columns: 1fr; }
  .sticky-tour { display: none; }
  .sticky-price { padding-left: 0; border-left: none; }
  .sticky-price .amt { font-size: 1.25rem; }
  .sticky-price .per { display: none; }
}
@media (max-width: 560px) {
  .container { padding-left: max(28px, env(safe-area-inset-left, 0)); padding-right: max(28px, env(safe-area-inset-right, 0)); }
  .brand img { height: 50px; }
  .page-hero { min-height: 44vh; }
  .page-hero-inner { padding: 44px 0; }
  .highlights-grid { grid-template-columns: 1fr; }
  .booking-cta { padding: 60px 0; }
  .booking-cta .actions { flex-direction: column; align-items: stretch; }
  .booking-cta .actions .btn { justify-content: center; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.5rem; bottom: 18px; right: 18px; }
  .inq-overlay { padding: 12px; align-items: flex-end; }
  .inq-modal { padding: 30px 22px 24px; border-radius: 20px; }
  .inq-header h3 { font-size: 1.2rem; }
  .inq-phone { grid-template-columns: 112px 1fr; }
}

/* ===== Floating UI: reCAPTCHA + WhatsApp + sticky bar (no overlap, mobile & desktop) ===== */
/* The invisible reCAPTCHA badge is position:fixed, but inside the transformed .inq-modal it
   anchored to the modal and overlapped the form on mobile. Per Google's terms we hide the badge
   and instead show the reCAPTCHA branding text under the form (.inq-recaptcha-note) + in the footer. */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.whatsapp-float { left: 24px; right: auto; bottom: 24px; }
body.sticky-active .whatsapp-float { bottom: 92px; }
@media (max-width: 560px) {
  .whatsapp-float { left: 16px; right: auto; bottom: 16px; }
  body.sticky-active .whatsapp-float { bottom: 84px; }
}
