/* ============================================================
   Jordania Aventura Tours — main stylesheet
   Visual redesign + color themes + responsive public UI
   Themes: "oasis" (default green/gold), "desert" (terracotta),
           "petra" (rose/navy), "dunes" (sand/brown)
   ============================================================ */

/* ---------- theme tokens ---------- */
:root,
[data-theme-color="oasis"] {
  --brand-h: 160; --brand-s: 62%; --brand-l: 22%;
  --accent-h: 44;  --accent-s: 70%; --accent-l: 46%;

  --bg-primary: #fbf8f2;
  --bg-secondary: #f4efe6;
  --bg-card: #ffffff;
  --text-primary: #21332c;
  --text-secondary: #5d6f66;
  --border-color: #e7dfd1;
  --shadow-color: rgba(20, 40, 30, .10);
  --shadow-sm: 0 1px 3px rgba(20, 40, 30, .08);
  --shadow-md: 0 8px 24px rgba(20, 40, 30, .10);
  --primary-rgb: 14, 77, 58;
}
[data-theme-color="desert"] {
  --brand-h: 20;  --brand-s: 62%; --brand-l: 38%;
  --accent-h: 36; --accent-s: 84%; --accent-l: 52%;

  --bg-primary: #fdf6ef;
  --bg-secondary: #f7ead9;
  --bg-card: #fffdfa;
  --text-primary: #3a2a20;
  --text-secondary: #7a6252;
  --border-color: #edddc8;
  --shadow-color: rgba(122, 84, 52, .12);
  --shadow-sm: 0 1px 3px rgba(122, 84, 52, .10);
  --shadow-md: 0 10px 26px rgba(122, 84, 52, .14);
  --primary-rgb: 160, 72, 30;
}
[data-theme-color="petra"] {
  --brand-h: 340; --brand-s: 42%; --brand-l: 40%;
  --accent-h: 28; --accent-s: 72%; --accent-l: 44%;

  --bg-primary: #fdf5f7;
  --bg-secondary: #f9e8ee;
  --bg-card: #ffffff;
  --text-primary: #33222a;
  --text-secondary: #796069;
  --border-color: #eed8e0;
  --shadow-color: rgba(139, 62, 92, .12);
  --shadow-sm: 0 1px 3px rgba(139, 62, 92, .10);
  --shadow-md: 0 10px 26px rgba(139, 62, 92, .15);
  --primary-rgb: 148, 58, 94;
}
[data-theme-color="dunes"] {
  --brand-h: 32; --brand-s: 48%; --brand-l: 34%;
  --accent-h: 152; --accent-s: 45%; --accent-l: 32%;

  --bg-primary: #faf6ef;
  --bg-secondary: #f2e9da;
  --bg-card: #fffcf6;
  --text-primary: #352b1f;
  --text-secondary: #776a57;
  --border-color: #e8dcc8;
  --shadow-color: rgba(110, 85, 50, .12);
  --shadow-sm: 0 1px 3px rgba(110, 85, 50, .10);
  --shadow-md: 0 10px 26px rgba(110, 85, 50, .14);
  --primary-rgb: 96, 72, 36;
}

/* derived brand/accent colors (HSL) */
[data-theme-color="oasis"]  { --primary: hsl(160 62% 22%); --primary-600: hsl(160 62% 17%); --primary-200: hsl(160 40% 90%); --accent: hsl(44 70% 46%); --accent-600: hsl(44 70% 38%); --accent-soft: hsl(44 70% 95%); }
[data-theme-color="desert"] { --primary: hsl(20 62% 38%); --primary-600: hsl(20 62% 30%); --primary-200: hsl(20 55% 92%); --accent: hsl(36 84% 52%); --accent-600: hsl(36 84% 42%); --accent-soft: hsl(36 84% 95%); }
[data-theme-color="petra"]  { --primary: hsl(340 42% 40%); --primary-600: hsl(340 42% 32%); --primary-200: hsl(340 50% 92%); --accent: hsl(28 72% 44%); --accent-600: hsl(28 72% 35%); --accent-soft: hsl(28 72% 95%); }
[data-theme-color="dunes"]  { --primary: hsl(32 48% 34%); --primary-600: hsl(32 48% 26%); --primary-200: hsl(32 45% 92%); --accent: hsl(152 45% 32%); --accent-600: hsl(152 45% 24%); --accent-soft: hsl(152 45% 95%); }

/* convenience derived aliases used across the stylesheet */
[data-theme-color="oasis"]  { --primary-100: var(--primary-200); }
[data-theme-color="desert"] { --primary-100: var(--primary-200); }
[data-theme-color="petra"]  { --primary-100: var(--primary-200); }
[data-theme-color="dunes"]  { --primary-100: var(--primary-200); }

/* dark mode (still respects chosen hue) */
[data-theme="dark"] {
  --bg-primary: #10151a;
  --bg-secondary: #151c22;
  --bg-card: #1b242c;
  --text-primary: #eaf0f6;
  --text-secondary: #a7b4c2;
  --border-color: #2a3540;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 10px 26px rgba(0,0,0,.5);
}
[data-theme="dark"][data-theme-color="oasis"]  { --primary: hsl(160 50% 62%); --primary-600: hsl(160 55% 70%); --primary-200: hsl(160 30% 22%); --primary-100: hsl(160 30% 22%); --accent: hsl(44 80% 60%); --accent-600: hsl(44 70% 70%); --accent-soft: hsl(44 30% 18%); --primary-rgb: 70, 180, 140; }
[data-theme="dark"][data-theme-color="desert"] { --primary: hsl(22 70% 62%); --primary-600: hsl(22 75% 70%); --primary-200: hsl(22 35% 24%); --primary-100: hsl(22 35% 24%); --accent: hsl(38 90% 62%); --accent-600: hsl(38 80% 72%); --accent-soft: hsl(38 35% 20%); --primary-rgb: 224, 130, 90; }
[data-theme="dark"][data-theme-color="petra"]  { --primary: hsl(340 55% 68%); --primary-600: hsl(340 60% 76%); --primary-200: hsl(340 35% 24%); --primary-100: hsl(340 35% 24%); --accent: hsl(28 78% 64%); --accent-600: hsl(28 70% 74%); --accent-soft: hsl(28 35% 20%); --primary-rgb: 224, 120, 155; }
[data-theme="dark"][data-theme-color="dunes"]  { --primary: hsl(34 50% 62%); --primary-600: hsl(34 55% 70%); --primary-200: hsl(34 30% 22%); --primary-100: hsl(34 30% 22%); --accent: hsl(150 45% 58%); --accent-600: hsl(150 40% 68%); --accent-soft: hsl(150 30% 18%); --primary-rgb: 200, 170, 120; }

/* ---------- base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; color: var(--text-primary); margin: 0 0 .5em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer; font-family: 'Inter', system-ui, sans-serif; font-weight: 600;
  padding: 11px 20px; border-radius: 40px; font-size: 15px; line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none; text-align: center;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-small { padding: 7px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(var(--primary-rgb), .25); }
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--primary-rgb), .32); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger-outline { background: transparent; color: #b3453a; border: 2px solid #b3453a; }
.btn-danger-outline:hover { background: #b3453a; color: #fff; }
.btn-paypal { background: #ffc439; color: #0c2d5b; width: 100%; }
.btn-paypal:hover { background: #ffb60d; color: #0c2d5b; }
.btn-paytabs { background: #1d3d6b; color: #fff; width: 100%; }
.btn-paytabs:hover { background: #142b4d; color: #fff; }
.btn-client { background: var(--accent); color: #fff; }
.btn-client:hover { background: var(--accent-600); color: #fff; }
[data-theme="dark"] .btn-primary { box-shadow: 0 4px 16px rgba(0,0,0,.35); }

/* ---------- design-look tokens (3+ site layout styles) ---------- */
/* Classic (default): existing shapes, tinted cards, centered header */
:root, [data-design-look="classic"] {
  --radius-lg: 20px; --radius-md: 14px; --radius-sm: 9px;
  --card-pad: 18px; --section-pad: 64px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head-weight: 700;
  --header-top-space: 10px;
  --header-radius: 0px;
  --header-bg: color-mix(in srgb, var(--bg-card) 88%, transparent);
  --nav-item-bg: transparent;
  --nav-item-active-style: solid;
  --card-shadow-hover: 0 18px 40px rgba(var(--primary-rgb), .14);
  --brand-logo-radius: 50%;
  --brand-logo-mix: none;
  --brand-title-size: 17px;
  --hero-tint: linear-gradient(rgba(10,30,25,.55), rgba(10,30,25,.35));
  --hero-radius: 0px;
  --btn-radius: 40px;
  --card-border-w: 1px;
  --footer-letter: normal;
}
/* Modern: rounded floating header, bigger cards, flat brand */
[data-design-look="modern"] {
  --radius-lg: 26px; --radius-md: 18px; --radius-sm: 12px;
  --card-pad: 22px; --section-pad: 76px;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head-weight: 800;
  --header-top-space: 14px;
  --header-radius: 18px;
  --header-bg: color-mix(in srgb, var(--bg-card) 92%, transparent);
  --nav-item-bg: transparent;
  --nav-item-active-style: solid;
  --card-shadow-hover: 0 22px 44px rgba(var(--primary-rgb), .16);
  --brand-logo-radius: 16px;
  --brand-logo-mix: none;
  --brand-title-size: 19px;
  --hero-tint: linear-gradient(rgba(10,20,18,.5), rgba(10,20,18,.3));
  --hero-radius: 0 0 28px 28px;
  --btn-radius: 14px;
  --card-border-w: 0;
  --footer-letter: normal;
}
/* Elegant: refined serif + hairline border + crest logo, softer spacing */
[data-design-look="elegant"] {
  --radius-lg: 12px; --radius-md: 10px; --radius-sm: 6px;
  --card-pad: 24px; --section-pad: 84px;
  --font-display: 'Playfair Display', Georgia, serif;
  --head-weight: 600;
  --header-top-space: 12px;
  --header-radius: 0px;
  --header-bg: color-mix(in srgb, var(--bg-card) 90%, transparent);
  --nav-item-bg: transparent;
  --nav-item-active-style: underline;
  --card-shadow-hover: 0 6px 24px rgba(120, 90, 50, .10);
  --brand-logo-radius: 50%;
  --brand-logo-mix: saturate(.78) contrast(.96);
  --brand-title-size: 18px;
  --hero-tint: linear-gradient(rgba(16,12,20,.5), rgba(16,12,20,.32));
  --hero-radius: 0px;
  --btn-radius: 6px;
  --card-border-w: 1px;
  --footer-letter: .02em;
}
/* Dark-mode-friendly text/head colours for every look */
[data-design-look="modern"] h1, [data-design-look="modern"] h2, [data-design-look="modern"] h3, [data-design-look="modern"] h4 { letter-spacing: -.01em; }
[data-design-look="elegant"] h1, [data-design-look="elegant"] h2, [data-design-look="elegant"] h3, [data-design-look="elegant"] h4 { letter-spacing: .01em; font-weight: 600; }

/* apply tokens to elements */
body { font-family: var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--head-weight); }
.site-header { top: var(--header-top-space); border-radius: var(--header-radius); background: var(--header-bg); }
.header-inner { min-height: 72px; }
body { padding-top: var(--header-top-space); }
@media (max-width: 900px) { body { padding-top: 0; } .site-header { top: 0; } }
.brand-logo { border-radius: var(--brand-logo-radius); filter: var(--brand-logo-mix); }
.brand-text strong { font-size: var(--brand-title-size); }
.main-nav a { border-radius: var(--radius-sm); background: var(--nav-item-bg); }
.main-nav a.active { border-radius: var(--radius-sm); }
[data-design-look="elegant"] .main-nav a.active { background: transparent; color: var(--primary); text-decoration: underline; text-underline-offset: 6px; }
.btn { border-radius: var(--btn-radius); }
.tour-card { border-radius: var(--radius-lg); border-width: var(--card-border-w); }
.tour-card:hover { box-shadow: var(--card-shadow-hover); }
.tour-card-body { padding: var(--card-pad); }
.hero { border-radius: var(--hero-radius); }
.why-card, .dest-card, .info-card, .testi-card { border-radius: var(--radius-lg); }
section.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section.section-tint { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.modal { border-radius: var(--radius-lg); }
/* Elegant crest frame for the round logo: white ring + hairline */
[data-design-look="elegant"] .brand img.brand-logo { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 2px 8px rgba(0,0,0,.12); }
/* light/dark contrast guards for every look */
[data-theme="dark"][data-design-look="modern"] .brand-logo, [data-theme="dark"][data-design-look="elegant"] .brand-logo { filter: brightness(1.02) saturate(.9); }

/* ---------- design-look switcher ---------- */
.design-look-switch { position: relative; display: inline-flex; align-items: center; }
.look-btn {
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 40px;
  height: 40px; padding: 0 10px 0 6px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; color: var(--text-primary); font-size: 13px; font-weight: 600;
  font-family: inherit; transition: background .2s ease;
}
.look-btn:hover { background: var(--primary-100); }
.look-ico { width: 18px; height: 18px; border-radius: 5px; display: inline-block; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.28); background: linear-gradient(135deg, var(--primary) 0 45%, var(--accent) 45% 100%); }
.look-ico.classic { border-radius: 4px; background: linear-gradient(135deg, var(--primary) 0 50%, var(--accent) 50% 100%); }
.look-ico.modern { border-radius: 50%; background: linear-gradient(135deg, var(--accent) 0 50%, var(--primary) 50% 100%); }
.look-ico.elegant { border-radius: 1px; background: linear-gradient(45deg, var(--primary) 0 50%, var(--accent) 50% 100%); }
.look-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; z-index: 1200;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 8px; display: none; flex-direction: column; gap: 2px;
}
.look-menu.open { display: flex; animation: menu-pop .16s ease; }
.look-option {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--text-primary); cursor: pointer; border: 0;
  background: transparent; text-align: left; font-family: inherit; width: 100%;
}
.look-option:hover { background: var(--bg-secondary); }
.look-option.active { background: var(--primary-100); color: var(--primary); }
.look-option .check { margin-left: auto; color: var(--primary); font-weight: 800; }
.look-btn .caret { font-size: 9px; color: var(--text-secondary); margin-left: 2px; }

/* ---------- header redesign: spaced from the top, refined look ---------- */
.site-header {
  position: sticky; z-index: 900;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: background .3s ease, box-shadow .3s ease;
}
.header-inner { display: flex; align-items: center; gap: 14px; min-height: 72px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-primary); }
.brand:hover { color: var(--primary); }
.brand img.brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.14); background: #fff; }
/* Logo adapts to theme + look: white plate always readable, ring tint follows primary */
.brand-logo { background: #fff; }
.brand-logo { box-shadow: 0 2px 8px rgba(0,0,0,.14), 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent); }
[data-theme="dark"] .brand-logo { box-shadow: 0 2px 8px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.brand-text strong { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; display: block; line-height: 1.15; color: var(--primary); }
.brand-text small { font-size: 11px; color: var(--text-secondary); }

.main-nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.main-nav a { padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-primary); white-space: nowrap; }
.main-nav a:hover { background: var(--primary-100); color: var(--primary); }
.main-nav a.active { background: var(--primary); color: #fff; }

.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn, .nav-burger {
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 50%;
  width: 40px; height: 40px; font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: var(--text-primary);
  transition: background .2s ease, transform .2s ease;
}
.icon-btn:hover, .nav-burger:hover { background: var(--primary-100); transform: translateY(-1px); }
.theme-toggle { position: relative; }
.nav-burger { display: none; flex-direction: column; gap: 4px; }
.nav-burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* color-theme switcher */
.color-theme-switch { position: relative; display: inline-flex; align-items: center; }
.color-theme-btn {
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 40px;
  height: 40px; padding: 0 10px 0 6px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; color: var(--text-primary); font-size: 13px; font-weight: 600;
  transition: background .2s ease;
}
.color-theme-btn:hover { background: var(--primary-100); }
.color-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.color-dot.oasis { background: linear-gradient(135deg, #0e4d3a 50%, #c9a227 50%); }
.color-dot.desert { background: linear-gradient(135deg, #a0481e 50%, #d98e2b 50%); }
.color-dot.petra { background: linear-gradient(135deg, #943a5e 50%, #bf7a3a 50%); }
.color-dot.dunes { background: linear-gradient(135deg, #604824 50%, #3f7a5e 50%); }
.color-menu, .lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; z-index: 1200;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 8px; display: none; flex-direction: column; gap: 2px;
}
.color-menu.open, .lang-menu.open { display: flex; animation: menu-pop .16s ease; }
@keyframes menu-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.color-option, .lang-option {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--text-primary); cursor: pointer; border: 0;
  background: transparent; text-align: left; font-family: inherit; width: 100%;
}
.color-option:hover, .lang-option:hover { background: var(--bg-secondary); }
.color-option.active, .lang-option.active { background: var(--primary-100); color: var(--primary); }
.color-option .check, .lang-option .check { margin-left: auto; color: var(--primary); font-weight: 800; }
.lang-option .flag { font-size: 18px; line-height: 1; }

/* language switcher (dropdown with flags) */
.lang-switcher { position: relative; display: inline-block; }
.lang-btn {
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 40px;
  height: 40px; padding: 0 12px 0 10px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; color: var(--text-primary);
  font-size: 13px; font-weight: 700; font-family: inherit; transition: background .2s ease;
}
.lang-btn:hover { background: var(--primary-100); }
.lang-btn .flag { font-size: 17px; line-height: 1; }
.lang-btn .caret { font-size: 9px; color: var(--text-secondary); margin-left: 2px; }

.btn-client { background: var(--accent); color: #fff; box-shadow: 0 3px 10px rgba(var(--primary-rgb), .18); }
.btn-client:hover { background: var(--accent-600); color: #fff; }

/* hero */
.hero { background-size: cover; background-position: center; color: #fff; text-align: center; padding: 120px 20px 140px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.25)); }
.hero-inner { max-width: 880px; margin: 0 auto; position: relative; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); padding: 6px 16px; border-radius: 40px; font-size: 13px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 56px); margin-bottom: 16px; text-shadow: 0 2px 22px rgba(0,0,0,.4); }
.hero-sub { font-size: clamp(15px, 2vw, 19px); max-width: 700px; margin: 0 auto 28px; opacity: .95; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.page-hero { background-size: cover; background-position: center; color: #fff; padding: 66px 20px 74px; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.4)); }
.page-hero.slim { padding: 46px 20px 52px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.page-hero p { color: rgba(255,255,255,.95); max-width: 800px; text-shadow: 0 1px 8px rgba(0,0,0,.5); margin: 4px 0; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 14px; }
.breadcrumb { font-size: 13px; margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb span { color: #fff; }

/* quick search */
.quickbar { margin-top: -70px; position: relative; z-index: 5; padding: 0 20px; }
.quick-search { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; box-shadow: var(--shadow-md); padding: 16px; display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; max-width: 1200px; margin: 0 auto; }
.qs-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 180px; }
.qs-field span { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; }
.qs-field input, .qs-field select,
input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=tel],
select, textarea {
  font-family: 'Inter', system-ui, sans-serif; font-size: 14.5px; color: var(--text-primary);
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px;
  padding: 10px 13px; width: 100%; transition: border .2s ease, box-shadow .2s ease;
}
.qs-field input:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .16); }

/* sections */
.section { padding: 60px 0; }
.section-tint { background: var(--bg-secondary); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); position: relative; display: inline-block; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 54px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.section-head p { color: var(--text-secondary); }
.section-head .btn { margin-top: 16px; }

/* tour cards */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.tour-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; overflow: visible;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; position: relative;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color)); }
.tour-card-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-secondary); }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover .tour-card-media img { transform: scale(1.06); }
.tour-type {
  position: absolute; left: 12px; top: 12px; background: rgba(var(--primary-rgb), .92); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 4px 11px; border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.tour-dur { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 30px; backdrop-filter: blur(2px); }
.tour-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tour-card-body h3 { font-size: 18px; margin: 0; }
.tour-card-body h3 a { color: var(--text-primary); }
.tour-card-body h3 a:hover { color: var(--primary); }
.tour-card-body p { font-size: 13.5px; color: var(--text-secondary); margin: 0; }
.tour-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tour-card-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--border-color); }
.tour-card-foot .price-line { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; text-align: center; }
.tour-card-foot .card-buttons { display: flex; gap: 8px; width: 100%; }
.tour-card-foot .btn { flex: 1; }
.price { font-weight: 700; color: var(--primary); font-size: 15.5px; }
.jod, .jod-eq { font-weight: 500; color: var(--text-secondary); font-size: 12.5px; }
.tour-card.mini .tour-card-body { padding: 12px 14px; }
.tour-card.mini h3 { font-size: 14px; }
.stars { color: var(--accent); font-size: 13px; }

/* price buttons on cards */
.btn-price { background: var(--accent-soft); color: var(--primary); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-price:hover { background: var(--accent); color: #fff; }

/* video reviews button: small YouTube-styled affordance on every tour offer */
.video-reviews-wrap { width: 100%; display: flex; }
.video-reviews-wrap .btn-video { flex: 1; }
.btn-video {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center;
  color: #c62828; background: color-mix(in srgb, #d32f2f 9%, var(--bg-card));
  border: 1.5px solid color-mix(in srgb, #d32f2f 55%, transparent); border-radius: 12px;
  padding: 9px 14px; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-video .vico {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%; background: #d32f2f; color: #fff;
  box-shadow: 0 2px 8px rgba(211, 47, 47, .38); transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn-video .vico svg { display: block; }
.btn-video .vlabel { min-width: 0; }
.btn-video:hover {
  background: #d32f2f; border-color: #d32f2f; color: #fff;
  transform: translateY(-1px); box-shadow: 0 8px 18px rgba(211, 47, 47, .3);
}
.btn-video:hover .vico { background: #fff; color: #d32f2f; transform: scale(1.1); }
.btn-video:active { transform: translateY(0); }
.btn-video:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[data-theme="dark"] .btn-video { color: #ff8a80; background: rgba(211, 47, 47, .14); border-color: rgba(255, 138, 128, .5); }
[data-theme="dark"] .btn-video:hover { background: #d32f2f; color: #fff; }
/* detail page: centered constrained row below the prices button */
.detail-side .video-reviews-wrap { justify-content: center; margin-top: 10px; }
.detail-side .video-reviews-wrap .btn-video { flex: 0 1 auto; width: 100%; max-width: 380px; padding: 13px 18px; font-size: 14px; }

/* video review modal: wide 16:9 player */
.modal-video { max-width: min(920px, 96vw); }
.modal-video .modal-head h3 { font-size: 15px; }
.video-modal-body {
  position: relative; width: 100%; height: 0; padding-bottom: 56.25%;
  background: #000; flex: 0 1 auto; min-height: 0; overflow: hidden;
}
.video-modal-body iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
@media (max-height: 520px) and (orientation: landscape) {
  .modal-video { max-width: min(70vw, calc((100vh - 120px) * 16 / 9)); }
}

/* modal popup */
.modal-overlay {
  position: fixed; inset: 0; z-index: 11000; background: rgba(8, 12, 10, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fade-in .18s ease; }
.modal-overlay:not(.open) { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-card); color: var(--text-primary); border-radius: 20px; max-width: 480px; width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; animation: modal-pop .22s ease; max-height: min(90vh, 720px); display: flex; flex-direction: column; margin: 0;
}
@keyframes modal-pop { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 20px; background: linear-gradient(120deg, var(--primary-600), var(--primary)); color: #fff; flex: 0 0 auto; }
.modal-head h3 { color: #fff; font-size: 17px; margin: 0; overflow-wrap: anywhere; min-width: 0; }
.modal-close {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9);
  background: rgba(0,0,0,.25); color: #fff; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease, color .2s ease;
}
.modal-close:hover { background: #fff; color: var(--primary); transform: scale(1.08); }
.modal-body { padding: 18px 20px 20px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.modal-body table.price-table { margin: 0 0 10px; }
.modal-body .fine { margin-bottom: 0; }

/* price rows inside the popup card */
.pd-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 2px; border-bottom: 1px dashed var(--border-color); }
.pd-row:first-child { padding-top: 4px; }
.pd-row:last-of-type { border-bottom: 0; }
.pd-label { color: var(--text-primary); font-weight: 600; font-size: 14px; }
.pd-val { white-space: nowrap; font-weight: 700; color: var(--primary); font-size: 15px; text-align: right; }
.pd-val .jod { display: block; font-weight: 500; color: var(--text-secondary); font-size: 12px; }
.center-actions { margin-top: 14px; text-align: center; }

/* destination / info cards */
.dest-grid, .info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.dest-card, .info-card { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.dest-card img, .info-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dest-card:hover img, .info-card:hover img { transform: scale(1.07); }
.dest-card span, .info-card span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-weight: 700; font-size: 17px; font-family: 'Playfair Display', Georgia, serif;
}
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-ico { font-size: 32px; display: block; margin-bottom: 10px; }
.why-card h3 { font-size: 17px; }
.why-card p { color: var(--text-secondary); font-size: 13.5px; margin: 0; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testi-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 24px; margin: 0; box-shadow: var(--shadow-sm); }
.testi-card blockquote { margin: 8px 0; color: var(--text-primary); font-size: 14.5px; font-style: italic; }
.testi-card figcaption { font-size: 13px; color: var(--text-secondary); }
.cta-band { background: linear-gradient(120deg, var(--primary-600), var(--primary) 55%, var(--accent-600)); color: #fff; text-align: center; padding: 60px 20px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 45%); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); position: relative; }
.cta-band p { opacity: .94; max-width: 660px; margin: 0 auto 22px; position: relative; }
.cta-band .btn { position: relative; }
.home-seo h2 { text-align: center; }
.partner-link, .footer-seo a { color: var(--accent); font-weight: 700; }

/* footer */
.site-footer { background: #0e1a14; color: #cfe0d7; margin-top: 40px; }
[data-theme="dark"] .site-footer { background: #0a0f0c; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; padding: 52px 20px 28px; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .5px; text-transform: uppercase; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 7px 0; font-size: 14px; }
.footer-col a { color: #cfe0d7; }
.footer-col a:hover { color: var(--accent); }
.footer-about p { font-size: 13.5px; opacity: .88; }
.footer-about .brand { margin-bottom: 8px; }
.footer-about .brand-logo { width: 44px; height: 44px; }
.footer-about .brand-text strong { color: #fff; }
.partner-line { margin-top: 12px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; transition: background .2s ease, transform .2s ease; }
.socials a:hover { background: var(--accent); transform: translateY(-2px); }
.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge-pp, .badge-pt, .badge-cur { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 30px; }
.badge-pp { background: #ffc439; color: #0c2d5b; }
.badge-pt { background: #3b6cb5; color: #fff; }
.badge-cur { background: rgba(255,255,255,.14); color: #fff; }
.footer-seo { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-seo p { font-size: 12.5px; color: #9db4a8; margin: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #9db4a8; }
.footer-bottom a { color: var(--accent); }

/* detail */
.detail-grid { display: grid; grid-template-columns: 1fr 420px; gap: 36px; align-items: start; }
.detail-main { min-width: 0; }
.gallery { margin-bottom: 22px; }
.gallery-main { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-md); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.g-thumb { width: 88px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--bg-secondary); transition: border-color .2s ease; }
.g-thumb.active { border-color: var(--accent); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-block { margin-bottom: 30px; }
.detail-block h2 { font-size: 25px; border-left: 5px solid var(--accent); padding-left: 14px; }
.lead { font-size: 17px; color: var(--text-primary); font-weight: 500; }
.rich { color: var(--text-secondary); white-space: pre-line; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inc-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 18px 20px; }
.inc-box h3 { font-size: 16px; }
h3.ok { color: var(--primary); } h3.no { color: #b3453a; }
.check-list, .x-list { list-style: none; margin: 0; padding: 0; }
.check-list li, .x-list li { padding-left: 26px; position: relative; margin: 6px 0; font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.x-list li::before { content: "✕"; position: absolute; left: 0; color: #b3453a; font-weight: 800; }
.itin-list { counter-reset: day; list-style: none; margin: 0; padding: 0; }
.itin-list li { counter-increment: day; position: relative; padding: 10px 10px 10px 54px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; margin: 8px 0; font-size: 14px; }
.itin-list li::before { content: counter(day, decimal-leading-zero); position: absolute; left: 10px; top: 9px; background: var(--primary); color: #fff; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: 13px; box-shadow: 0 2px 6px rgba(var(--primary-rgb), .35); }
.detail-side { position: sticky; top: 92px; }
.price-panel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; box-shadow: var(--shadow-md); padding: 24px; }
.price-panel h3 { font-size: 21px; }
.price-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.price-head-row h3 { margin: 0; }
.price-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* Tour detail: single, centered "view prices in detail" popup button
   Distinctive dark gradient treatment (works over every theme/look) + attention animation */
.detail-price-btn-wrap {
  text-align: center;
  margin-bottom: 4px;
  position: relative;
}
.detail-price-btn {
  display: inline-flex;
  width: 100%;
  max-width: 380px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 14px 20px;
  line-height: 1.3;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, #101c26 0%, #16293a 55%, #0f2433 100%);
  box-shadow: 0 8px 22px rgba(6, 16, 24, .38), inset 0 1px 0 rgba(255, 255, 255, .14);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  text-decoration: none;
}
/* readable + on-brand in every theme/look: text stays #fff on the dark slate */
.detail-price-btn .dprice-label { position: relative; z-index: 1; }
.detail-price-btn .dprice-ico {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffe08a;
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 12px rgba(255, 224, 138, .35);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
[data-theme-color="desert"] .detail-price-btn .dprice-ico,
[data-theme-color="dunes"] .detail-price-btn .dprice-ico { color: #ffd9a0; }
[data-theme-color="petra"] .detail-price-btn .dprice-ico { color: #ffd3e2; }
[data-theme-color="oasis"] .detail-price-btn .dprice-ico { color: #d9f2e4; }
[data-theme="dark"] .detail-price-btn {
  background: linear-gradient(135deg, #1b2733 0%, #223549 60%, #16283a 100%);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
}
/* attention: gentle glow-pulse (always-on, subtle) */
.detail-price-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 214, 122, .45);
  animation: dprice-glow 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes dprice-glow {
  0%   { box-shadow: 0 0 0 0 rgba(255, 214, 122, .45); }
  55%  { box-shadow: 0 0 0 8px rgba(255, 214, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 214, 122, 0); }
}
/* attention: shine sweep passes across the button every few seconds */
.detail-price-btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 45%;
  z-index: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .32) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: dprice-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dprice-shine {
  0%, 60% { left: -75%; }
  100%    { left: 135%; }
}
/* hover lift + brighter icon, focus ring for keyboard users */
.detail-price-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(6, 16, 24, .45), inset 0 1px 0 rgba(255, 255, 255, .16);
  background: linear-gradient(135deg, #132231 0%, #1a3044 60%, #12283a 100%);
}
[data-theme="dark"] .detail-price-btn:hover {
  background: linear-gradient(135deg, #223446 0%, #2a4157 60%, #1e3346 100%);
}
.detail-price-btn:active { transform: translateY(-1px) scale(1); }
.detail-price-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.detail-price-btn:hover .dprice-ico {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 18px rgba(255, 224, 138, .5);
}
.detail-price-btn .btn-small { padding: 7px 14px; }

/* booking multistep wizard */
.booking-panel { background: var(--bg-secondary); border-radius: 16px; padding: 20px; margin-top: 18px; border: 1px solid var(--border-color); }
.booking-panel h3 { font-size: 18px; }
.wiz-steps { display: flex; gap: 6px; margin-bottom: 18px; }
.wiz-step { flex: 1; text-align: center; font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .4px; position: relative; padding-top: 26px; }
.wiz-step::before { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border-color); color: var(--text-secondary); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; transition: all .2s ease; }
.wiz-step.active { color: var(--primary); }
.wiz-step.active::before { background: var(--primary); border-color: var(--primary); color: #fff; }
.wiz-step.done::before { background: var(--accent); border-color: var(--accent); color: #fff; content: "✓"; }
.wiz-pane { display: none; animation: fade-in .2s ease; }
.wiz-pane.active { display: block; }
.wiz-nav { display: flex; gap: 10px; margin-top: 18px; }
.wiz-nav .btn { flex: 1; }
.wiz-nav .btn-back { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border-color); }
.wiz-nav .btn-back:hover { color: var(--primary); border-color: var(--primary); }
.booking-form label { display: block; margin: 10px 0 4px; font-size: 13.5px; font-weight: 600; }
.booking-form label small { color: var(--text-secondary); font-weight: 400; }
.booking-form hr { border: 0; border-top: 1px dashed var(--border-color); margin: 16px 0; }
.extras-toggle summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.extras-toggle { border: 1px solid var(--border-color); background: var(--bg-card); border-radius: 12px; padding: 10px 14px; margin-top: 8px; }
.extra-line { font-weight: 400 !important; display: flex; gap: 6px; align-items: baseline; cursor: pointer; }
.extra-line em { color: var(--primary); font-style: normal; font-weight: 700; margin-left: auto; }
.quote-box { background: var(--bg-card); border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border-color)); border-radius: 12px; padding: 12px 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 16px 0 6px; font-size: 14px; }
.quote-box strong { color: var(--primary); font-size: 17px; }
.quote-box .qb-total { display: flex; flex-direction: column; align-items: flex-end; }
.quote-box .qb-total .jod-eq { font-size: 11.5px; }

/* panels & tables */
.panel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.meta-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.meta-table td { padding: 7px 8px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.meta-table td:first-child { color: var(--text-secondary); width: 40%; }
.meta-table tr.grand td { font-weight: 800; font-size: 16px; border-top: 2px solid var(--border-color); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.alert-ok { background: #e2f3e9; color: #0b4d2f; border: 1px solid #b7e2c8; }
[data-theme="dark"] .alert-ok { background: #123126; color: #b7e2c8; }
.alert-err { background: #fbe9e7; color: #8f2d23; border: 1px solid #f3c9c4; }
[data-theme="dark"] .alert-err { background: #3a1c18; color: #f3c9c4; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 30px; font-size: 12.5px; font-weight: 700; }
.st-pending { background: #fff2cf; color: #8a6400; }
.st-approved, .st-paid, .st-done { background: #ddf0e4; color: #0b5c33; }
.st-cancelled { background: #f6deda; color: #932e20; }
.st-completed { background: #dbe7ff; color: #1d3d8f; }
.st-change_request { background: #efe4ff; color: #6b2d9e; }
[data-theme="dark"] .status-pill { color: #fff; }
.row-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.center-actions { text-align: center; margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 46px 10px; color: var(--text-secondary); }
.seo-block { margin-top: 36px; background: var(--bg-secondary); border-radius: 16px; padding: 22px; text-align: center; color: var(--text-secondary); font-size: 14px; }
.seo-block.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* listing */
.listing-toolbar { margin-bottom: 26px; }
.filter-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filter-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); }
.result-count { color: var(--text-secondary); font-size: 13.5px; margin: 12px 0 0; }
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 36px 0 6px; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-primary); border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
.page-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.page-link.current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* directory */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.dir-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dir-card h2 { font-size: 18px; }
.dir-card h2 a { color: var(--text-primary); }
.dir-list { list-style: none; margin: 0; padding: 0; }
.dir-list li { border-top: 1px dashed var(--border-color); }
.dir-list a { display: block; padding: 7px 2px; font-size: 14px; }

/* faq */
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: border-color .2s ease; }
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--border-color)); }
.faq-item summary { cursor: pointer; padding: 15px 18px; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--primary); font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--primary); }
.faq-answer { padding: 0 18px 16px; color: var(--text-secondary); font-size: 14.5px; }

/* contact */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 8px 0; border-bottom: 1px dashed var(--border-color); font-size: 14.5px; }

/* invoice */
.invoice-sheet { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-md); }
/* v27 professional redesign — client brand banner replaces the round logo */
/* v28 refinement: banner is smaller & centered, generous spacing throughout */
.inv-sheet-v27 { max-width: 860px; margin: 0 auto; }
.inv-masthead { margin: 0 auto 34px; text-align: center; }
.inv-masthead img { width: auto; height: auto; max-width: 340px; border-radius: 8px; display: block; margin: 0 auto; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.inv-co-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12px; color: var(--text-secondary); margin: 0 auto 28px; max-width: 760px; text-align: center; }
.inv-co-line span + span::before { content: '•'; margin-right: 14px; color: var(--border-color); }
.inv-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 26px; flex-wrap: wrap; }
.inv-title { font-size: clamp(32px, 6vw, 44px); font-weight: 800; letter-spacing: 2px; color: var(--primary); font-family: 'Playfair Display', Georgia, serif; }
.inv-chip { display: inline-block; padding: 10px 30px; border-radius: 40px; font-weight: 800; letter-spacing: 2px; font-size: 16px; color: #fff; text-transform: uppercase; }
.inv-chip.paid { background: #1e7e34; box-shadow: 0 2px 8px rgba(30,126,52,.25); }
.inv-chip.unpaid { background: #b02a20; box-shadow: 0 2px 8px rgba(176,42,32,.22); }
.inv-top-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; margin-bottom: 30px; align-items: start; }
.inv-billto { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px 20px; font-size: 14px; }
.inv-billto-label { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-secondary); font-weight: 700; margin-bottom: 6px; }
.inv-client { font-size: 16px; }
.inv-meta { text-align: right; font-size: 13.5px; }
.inv-meta-tbl { border-collapse: collapse; margin-left: auto; }
.inv-meta-tbl td { padding: 5px 0 5px 16px; font-size: 13px; }
.inv-meta-tbl td:first-child { color: var(--text-secondary); text-align: left; white-space: nowrap; }
.inv-items { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.inv-items thead th { background: var(--primary); color: #fff; text-align: left; font-size: 12px; letter-spacing: .9px; text-transform: uppercase; padding: 14px 14px; }
.inv-items thead th.r { text-align: right; }
.inv-items td { padding: 14px 14px; border-bottom: 1px solid var(--border-color); font-size: 14px; vertical-align: top; }
.inv-items tbody tr:nth-child(even) { background: var(--bg-secondary); }
.inv-items .r { text-align: right; }
.inv-items .extra-row td { color: var(--text-secondary); font-size: 13.5px; }
.inv-items tfoot .inv-subtotal-row td { border-bottom: 1px solid var(--border-color); padding: 9px 14px; font-size: 13px; color: var(--text-secondary); text-align: right; }
.inv-items tfoot .inv-subtotal-row td:first-child { text-align: right; }
.inv-items tfoot .grand-total-row td { border-top: 2px solid var(--primary); border-bottom: none; background: var(--bg-secondary); padding: 16px 14px; font-weight: 800; font-size: 16.5px; text-align: right; }
.inv-items tfoot .grand-total-row td:first-child { text-align: left; }
.inv-items tfoot .grand-total-row .gt { color: var(--primary); font-size: 19px; letter-spacing: .6px; }
.inv-items tfoot .grand-total-row .jod { display: block; font-size: 12px; color: var(--text-secondary); font-weight: 600; margin-top: 3px; }
.inv-paystatus { border-radius: 12px; padding: 18px 22px; margin: 14px 0 22px; font-size: 14px; }
.inv-paystatus.is-paid { background: #eef7f0; border: 1px solid #cde8d6; }
.inv-paystatus.is-unpaid { background: #fdf1ee; border: 1px solid #f4d6cf; }
.ps-title { margin-bottom: 10px; }
.ps-flag { font-weight: 800; letter-spacing: .9px; font-size: 14px; }
.inv-paystatus.is-paid .ps-flag { color: #1e7e34; }
.inv-paystatus.is-unpaid .ps-flag { color: #b02a20; }
.inv-pay-details { font-size: 13.5px; line-height: 1.7; }
.inv-foot { margin-top: 26px; border-top: 1px solid var(--border-color); padding-top: 16px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; text-align: center; color: var(--text-secondary); font-size: 12.5px; }
.st-unpaid { background: #fdeaea; color: #a12c22; }
[data-theme="dark"] .st-unpaid { background: #4a201b; color: #f2b3a9; }
[data-theme="dark"] .inv-paystatus.is-unpaid { background: #331d18; border-color: #5b322a; }
[data-theme="dark"] .inv-paystatus.is-paid { background: #153127; border-color: #2c5943; }
[data-theme="dark"] .inv-billto { background: var(--bg-card); }
[data-theme="dark"] .inv-chip.paid { background: #1e7e34; }
[data-theme="dark"] .inv-chip.unpaid { background: #b02a20; }
[data-theme="dark"] .inv-items thead th { background: #3a5a9a; }
[data-theme="dark"] .inv-title { color: #fff; }
@media (max-width: 640px) {
  .inv-masthead { margin-bottom: 24px; }
  .inv-masthead img { max-width: 240px; }
  .inv-top-grid { grid-template-columns: 1fr; }
  .inv-meta { text-align: left; }
  .inv-meta-tbl { margin-left: 0; }
  .inv-co-line span + span::before { content: ''; margin-right: 0; }
  .inv-co-line span { display: block; width: 100%; }
  .inv-foot { justify-content: center; }
}

/* ---------- chat widget (professional) ---------- */
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 9999; font-family: 'Inter', system-ui, sans-serif; }
.chat-launcher {
  width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-600), var(--primary));
  color: #fff; border: 0; cursor: pointer; font-size: 26px;
  box-shadow: 0 10px 26px rgba(var(--primary-rgb), .45); display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease; position: relative; z-index: 10000;
}
.chat-launcher:hover { transform: scale(1.08); box-shadow: 0 14px 30px rgba(var(--primary-rgb), .55); }
.chat-launcher .chat-launcher-close { display: none; font-size: 19px; }
.chat-widget.open .chat-launcher .chat-launcher-icon { display: none; }
.chat-widget.open .chat-launcher .chat-launcher-close { display: inline; }
.chat-panel {
  position: absolute; right: 0; bottom: 76px; width: 352px; max-width: calc(100vw - 28px);
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,.28); overflow: hidden; display: none; flex-direction: column;
  transform-origin: bottom right;
}
.chat-widget.open .chat-panel { display: flex; animation: chat-pop .24s ease; }
@keyframes chat-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.chat-head {
  background: linear-gradient(120deg, var(--primary-600), var(--primary)); color: #fff;
  padding: 15px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.chat-head > div { display: flex; flex-direction: column; gap: 2px; }
.chat-head strong { font-size: 15.5px; }
.chat-head-sub { font-size: 11.5px; display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.chat-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ce0a0; box-shadow: 0 0 0 3px rgba(124,224,160,.25); display: inline-block; }
.chat-head-close {
  background: rgba(255,255,255,.16); border: 0; color: #fff; width: 28px; height: 28px; border-radius: 50%;
  font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease; flex: 0 0 auto;
}
.chat-head-close:hover { background: rgba(255,255,255,.34); }
.chat-body {
  height: 240px; min-height: 120px; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 8px; background: var(--bg-secondary);
}
.chat-msg { max-width: 84%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.chat-msg.admin { align-self: flex-start; background: var(--bg-card); border: 1px solid var(--border-color); border-top-left-radius: 4px; }
.chat-msg.visitor { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: #fff; border-top-right-radius: 4px; }
.chat-msg .who { display: block; font-size: 10.5px; opacity: .72; margin-bottom: 2px; font-weight: 600; }
.chat-msg .who.support { color: var(--primary); }
.chat-contact, .chat-input { background: var(--bg-card); }
.chat-contact[hidden], .chat-input[hidden] { display: none !important; }
.chat-contact { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border-color); }
.chat-prompt { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.chat-field { display: flex; flex-direction: column; gap: 4px; }
.chat-field label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-secondary); }
.chat-field input {
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px; color: var(--text-primary);
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px;
  padding: 9px 12px; width: 100%; transition: border .2s ease, box-shadow .2s ease;
}
.chat-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15); }
.chat-start-btn { width: 100%; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border-color); }
.chat-input input {
  flex: 1; min-width: 0; font-family: 'Inter', system-ui, sans-serif; font-size: 14px; color: var(--text-primary);
  border: 1px solid var(--border-color); border-radius: 22px; padding: 9px 15px; background: var(--bg-secondary);
  transition: border .2s ease, box-shadow .2s ease;
}
.chat-input input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15); }
.chat-input button {
  border: 0; background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: #fff;
  border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 15px; flex: 0 0 auto;
  transition: transform .15s ease, box-shadow .15s ease;
}
.chat-input button:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(var(--primary-rgb), .4); }
.chat-widget .btn { width: 100%; }
.chat-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--bg-card); border-top: 1px solid var(--border-color); font-size: 11.5px;
}
.chat-reply-note { color: var(--text-secondary); }
.chat-foot a { color: var(--primary); font-weight: 700; text-decoration: none; }
.chat-foot a:hover { text-decoration: underline; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[data-theme="dark"] .chat-contact, [data-theme="dark"] .chat-input, [data-theme="dark"] .chat-foot { background: var(--bg-card); }

/* small responsive extras */
@media (max-width: 1080px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border-color); flex-direction: column; padding: 12px 18px 18px; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .nav-burger { display: inline-flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .header-tools .btn-client { display: none; }
}
@media (max-width: 620px) {
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal { max-width: 100%; max-height: min(88vh, 680px); border-radius: 18px 18px 14px 14px; }
  .modal-head { padding: 12px 10px 12px 16px; }
  .modal-head h3 { font-size: 15.5px; }
  .modal-body { padding: 14px 16px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang-link span { display: none; }
  .hero { padding: 90px 16px 120px; }
  .brand-text small { display: none; }
  .header-tools { gap: 6px; }
  .chat-panel { right: -6px; bottom: 72px; width: min(340px, calc(100vw - 20px)); }
}
@media (max-width: 900px) {
  .header-tools .ct-toggle { padding: 0 11px; }
  .header-tools .ct-toggle .ct-toggle-label { display: none; }
  .header-tools .ct-toggle svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* price button: keep distinctive dark look + static icon without the pulsing/shine */
  .detail-price-btn { box-shadow: 0 8px 22px rgba(6, 16, 24, .38); }
  .detail-price-btn::before { animation: none; display: none; }
  .detail-price-btn::after { animation: none; box-shadow: none; }
}

/* ---------- design-look cascade fix: ensure tokens win (appended last) ---------- */
.site-header {
  position: sticky; top: var(--header-top-space); z-index: 900;
  width: calc(100% - 24px); max-width: 1440px; margin: var(--header-top-space) auto 0;
  border: 1px solid var(--border-color);
  border-radius: var(--header-radius);
  background: var(--header-bg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand-text strong { font-family: var(--font-display); font-size: var(--brand-title-size); }
.main-nav a { border-radius: var(--radius-sm); }
.main-nav a.active { border-radius: var(--radius-sm); }
.btn { border-radius: var(--btn-radius); }
.tour-card { border-radius: var(--radius-lg); border: var(--card-border-w) solid var(--border-color); }
.modal { border-radius: var(--radius-lg); }
body { padding-top: 0; }
@media (max-width: 900px) {
  .site-header { width: 100%; max-width: none; margin: 0; top: 0; border-radius: 0; border-left: 0; border-right: 0; }
}

/* ---------- readable-on-image text: strengthen hero/detail overlays ---------- */
.detail-main .gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 6px; }
.detail-main .gallery + .detail-block { margin-top: 18px; }
.detail-block { margin-bottom: 6px; }
.hero::before {
  background: linear-gradient(180deg, rgba(6,20,14,.30) 0%, rgba(6,20,14,.18) 40%, rgba(6,20,14,.58) 100%),
              radial-gradient(ellipse at center, transparent 25%, rgba(0,0,0,.30));
}
.page-hero::before { background: linear-gradient(rgba(4,14,10,.42), rgba(4,14,10,.62)); }
.page-hero h1, .page-hero p { text-shadow: 0 2px 14px rgba(0,0,0,.55), 0 0 4px rgba(0,0,0,.3); }
.hero h1 { text-shadow: 0 3px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.35); }
.hero-sub { text-shadow: 0 2px 14px rgba(0,0,0,.6); opacity: 1; }
.hero-tags, .hero-tags a, .hero-tags span, .breadcrumb, .breadcrumb a { text-shadow: 0 1px 8px rgba(0,0,0,.55); }
/* ensure light hero-tags text stays readable on light imagery */
.hero-tags { color: #fff; }
.hero-tags span, .breadcrumb span { color: #fff; opacity: .96; }

/* ---------- floating "back to top" button ---------- */
.back-to-top {
  --btt-size: 52px;
  position: fixed; right: 18px; bottom: 96px; z-index: 5000;
  width: var(--btt-size); height: var(--btt-size); padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--primary-600), var(--primary));
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .30), inset 0 0 0 1px rgba(255, 255, 255, .14);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease, background .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .22);
  transform: translateY(-3px) scale(1.05);
}
.back-to-top:hover svg { transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[data-theme="dark"] .back-to-top {
  /* dark theme maps --primary to light hues: keep a dark icon for contrast */
  color: #10151a;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .18);
}
@media (max-width: 600px) {
  .back-to-top { right: 14px; bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
  .back-to-top:not(.visible) { transform: translateY(14px); }
}

/* ---------- relocated navbar controls: Customize popover (ct) ---------- */
.ct-wrap { position: relative; display: inline-flex; align-items: center; }
.ct-toggle {
  display: inline-flex; align-items: center; gap: 7px; height: 40px;
  padding: 0 13px 0 11px; border-radius: 40px; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: #fff; border: 1px solid color-mix(in srgb, var(--primary) 70%, transparent);
  font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1;
  box-shadow: 0 3px 10px rgba(var(--primary-rgb), .22), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ct-toggle svg { flex: 0 0 auto; }
.ct-toggle { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.ct-toggle-ico { display: block; width: 17px; height: 17px; }
.ct-toggle:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(var(--primary-rgb), .3); }
.ct-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ct-toggle[aria-expanded="true"] { box-shadow: 0 7px 18px rgba(var(--primary-rgb), .3); }
[data-theme="dark"] .ct-toggle { background: linear-gradient(135deg, var(--primary), var(--primary-600)); box-shadow: 0 4px 14px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.2); }
@media (max-width: 900px) { .ct-toggle-label { display: none; } .ct-toggle { padding: 0 11px; } }

.ct-panel {
  position: absolute; top: calc(100% + 10px); right: 0; width: min(430px, calc(100vw - 24px));
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0,0,0,.22);
  padding: 16px 18px; z-index: 1300;
  display: none; flex-direction: column; gap: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.ct-panel.open { display: flex; animation: menu-pop .18s ease; }
.ct-sec { display: flex; flex-direction: column; gap: 8px; }
.ct-sec-title {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-family: 'Inter', system-ui, sans-serif; font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .7px; color: var(--text-secondary);
}
.ct-ico { width: 16px; height: 16px; border-radius: 5px; display: inline-block; flex: 0 0 auto; }
.ct-ico-look { background: linear-gradient(135deg, var(--primary) 0 50%, var(--accent) 50% 100%); border-radius: 4px; }
.ct-ico-theme { background: conic-gradient(var(--primary), var(--accent), var(--primary)); border-radius: 50%; }
.ct-ico-lang { background: linear-gradient(135deg, var(--accent) 0 50%, var(--primary) 50% 100%); border-radius: 2px; }
.ct-ico-theme-mode { background: radial-gradient(circle at 35% 40%, var(--accent) 0 34%, var(--primary) 36% 100%); border-radius: 50%; }

.ct-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ct-lang-options { grid-template-columns: repeat(4, 1fr); }
.ct-opt {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--text-primary); cursor: pointer;
  border: 1px solid var(--border-color); background: var(--bg-secondary);
  font-family: inherit; text-align: left; transition: background .15s ease, border-color .15s ease, transform .15s ease;
  width: 100%; text-decoration: none;
}
.ct-opt:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border-color)); background: var(--primary-100); transform: translateY(-1px); }
.ct-opt.active { border-color: color-mix(in srgb, var(--primary) 60%, var(--border-color)); background: var(--primary-100); color: var(--primary); }
.ct-opt .ct-opt-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-opt .check { margin-left: auto; color: var(--primary); font-weight: 800; visibility: hidden; flex: 0 0 auto; }
.ct-opt.active .check { visibility: visible; }
.ct-opt .flag { font-size: 17px; line-height: 1; }
.ct-opt .look-ico, .ct-opt .color-dot { flex: 0 0 auto; }
.ct-lang-options .ct-opt { flex-direction: column; gap: 5px; padding: 9px 4px; text-align: center; }
.ct-lang-options .ct-opt .ct-opt-label { font-size: 12px; font-weight: 700; }
.ct-lang-options .ct-opt .check { margin-left: 0; }

.ct-appearance-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ct-app-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 6px; border-radius: 10px; border: 1px solid var(--border-color);
  background: var(--bg-secondary); color: var(--text-primary); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.ct-app-btn:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border-color)); background: var(--primary-100); transform: translateY(-1px); }
.ct-app-btn.active { border-color: color-mix(in srgb, var(--primary) 60%, var(--border-color)); background: var(--primary-100); color: var(--primary); }
.ct-app-btn:focus-visible, .ct-opt:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.ct-app-ico { font-size: 15px; line-height: 1; }

@media (max-width: 620px) {
  .ct-panel { position: fixed; top: 76px; right: 10px; left: 10px; width: auto; min-width: 0; max-height: calc(100vh - 96px); overflow-y: auto; }
  .ct-lang-options { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .ct-lang-options .ct-opt { padding: 7px 2px; }
  .ct-options { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-panel.open { animation: none; }
}

/* icon-only customize trigger across all widths (label lives inside the panel + title/aria) */
.header-tools .ct-toggle { padding: 0; width: 42px; min-width: 42px; justify-content: center; }
.header-tools .ct-toggle .ct-toggle-label { display: none; }
.header-tools .ct-toggle svg { width: 19px; height: 19px; }
@media (max-width: 620px) {
  .header-tools .ct-toggle { width: 40px; min-width: 40px; }
}

/* ---------- standalone navbar language selector (globe dropdown) ---------- */
.header-tools .lang-switcher { position: relative; display: inline-flex; align-items: center; }
.header-tools .lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px;
  padding: 0 12px 0 10px; border-radius: 40px; cursor: pointer;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  color: var(--text-primary); font-family: inherit; font-size: 12.5px; font-weight: 700; line-height: 1;
  white-space: nowrap; box-shadow: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.header-tools .lang-btn .lang-globe { width: 17px; height: 17px; flex: 0 0 auto; color: var(--primary); }
.header-tools .lang-btn .flag { font-size: 15px; line-height: 1; }
.header-tools .lang-btn .lang-code { letter-spacing: .4px; }
.header-tools .lang-btn .caret { font-size: 8px; color: var(--text-secondary); margin-left: 1px; }
.header-tools .lang-btn:hover { background: var(--primary-100); border-color: color-mix(in srgb, var(--primary) 45%, var(--border-color)); transform: translateY(-1px); }
.header-tools .lang-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.header-tools .lang-btn[aria-expanded="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); background: var(--primary-100); }
[data-theme="dark"] .header-tools .lang-btn { border-color: color-mix(in srgb, var(--accent) 40%, var(--border-color)); }
[data-theme="dark"] .header-tools .lang-btn .lang-globe { color: var(--accent); }
.header-tools .lang-switcher .lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 228px; z-index: 1350;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px;
  box-shadow: var(--shadow-md), 0 14px 34px rgba(0,0,0,.12); padding: 8px;
  display: none; flex-direction: column; gap: 2px;
}
.header-tools .lang-switcher .lang-menu.open { display: flex; animation: menu-pop .16s ease; }
.header-tools .lang-menu-title {
  font-family: 'Inter', system-ui, sans-serif; font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .7px; color: var(--text-secondary);
  padding: 6px 10px 4px; border-bottom: 1px solid var(--border-color); margin-bottom: 4px;
}
.header-tools .lang-menu .lang-option {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--text-primary); cursor: pointer; border: 0;
  background: transparent; text-align: left; font-family: inherit; width: 100%; text-decoration: none;
}
.header-tools .lang-menu .lang-option:hover { background: var(--bg-secondary); }
.header-tools .lang-menu .lang-option.active { background: var(--primary-100); color: var(--primary); }
.header-tools .lang-menu .lang-option .flag { font-size: 19px; line-height: 1; }
.header-tools .lang-menu .lang-option .lang-name { flex: 1 1 auto; }
.header-tools .lang-menu .lang-option .check { margin-left: 0; color: var(--primary); font-weight: 800; flex: 0 0 auto; }
.header-tools .lang-menu .lang-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
@media (max-width: 900px) {
  .header-tools .lang-btn { padding: 0 9px 0 9px; }
}
@media (max-width: 620px) {
  .header-tools .lang-btn .lang-code,
  .header-tools .lang-btn .caret { display: none; }
  .header-tools .lang-btn { width: 40px; min-width: 40px; justify-content: center; padding: 0; }
}
@media (max-width: 340px) {
  .header-tools .lang-switcher .lang-menu { right: auto; left: 50%; transform: translateX(-50%); min-width: 210px; }
}

/* ============================================================
   Cancellation policy & booking instructions (multi-step popup)
   ============================================================ */
.policy-btn-wrap { width: 100%; display: flex; }
.policy-btn-wrap .btn-policy { flex: 1; }
.btn-policy {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center;
  color: var(--text-secondary); background: var(--bg-card);
  border: 1.5px dashed color-mix(in srgb, var(--primary) 45%, var(--border-color));
  border-radius: 12px; padding: 9px 14px; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-policy .pico {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff;
  box-shadow: 0 2px 6px rgba(var(--primary-rgb), .35); transition: transform .18s ease, background .18s ease;
}
.btn-policy .pico svg { display: block; }
.btn-policy .plabel { min-width: 0; }
.btn-policy:hover {
  background: var(--primary); border-style: solid; border-color: var(--primary); color: #fff;
  transform: translateY(-1px); box-shadow: 0 8px 18px rgba(var(--primary-rgb), .28);
}
.btn-policy:hover .pico { background: #fff; color: var(--primary); transform: scale(1.08); }
.btn-policy:active { transform: translateY(0); }
.btn-policy:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[data-theme="dark"] .btn-policy { color: var(--primary-600); background: color-mix(in srgb, var(--bg-card) 82%, var(--primary-100)); }
[data-theme="dark"] .btn-policy:hover { color: #fff; background: var(--primary); }
/* detail page: centered constrained row below the video button */
.detail-side .detail-policy-btn-wrap { margin-top: 10px; }
.detail-side .detail-policy-btn-wrap .btn-policy { width: 100%; max-width: 380px; margin: 0 auto; }

/* policy modal: max-width matches price popup card */
.modal-policy { max-width: 560px; }
.policy-modal .modal-head h3 { font-size: 16px; }
.pol-steps { display: flex; gap: 6px; padding: 14px 20px 0; }
.pol-step {
  flex: 1; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px; color: var(--text-secondary);
  padding: 6px 10px; border-radius: 30px; background: var(--bg-secondary);
  border: 1px solid transparent; transition: all .2s ease;
}
.pol-step-num {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-card);
  border: 2px solid var(--border-color); color: var(--text-secondary); font-size: 10.5px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 900; transition: all .2s ease;
}
.pol-step.active { color: var(--primary); background: var(--primary-100); border-color: color-mix(in srgb, var(--primary) 35%, transparent); }
.pol-step.active .pol-step-num { background: var(--primary); border-color: var(--primary); color: #fff; }
.policy-body { padding-top: 16px; }
.pol-pane-title { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 2px 0 10px; color: var(--primary); }
.pol-pane-title .pol-ico { font-size: 18px; line-height: 1; }
.pol-pane-text { color: var(--text-primary); font-size: 14px; line-height: 1.62; }
.pol-pane-text br + br { display: none; }
.pol-nav { margin-top: 18px; }
.pol-nav .btn-back { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border-color); }
.pol-nav .btn-back:hover { color: var(--primary); border-color: var(--primary); }
@media (prefers-reduced-motion: reduce) {
  .btn-policy, .pol-step, .pol-step-num { transition: none; }
  .btn-policy:hover, .btn-policy:hover .pico { transform: none; }
}
@media (max-width: 420px) {
  .pol-step { gap: 5px; padding: 5px 8px; }
  .pol-step-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* =========================================================
   Coupon / discount-code system (wizard + summaries + invoice)
   ========================================================= */
.hidden { display: none !important; }

/* booking wizard coupon entry (pane 3) */
.coupon-row { margin: 14px 0 4px; padding: 12px 14px; border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border-color)); border-radius: 12px; background: color-mix(in srgb, var(--bg-card) 80%, transparent); }
.coupon-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.coupon-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.coupon-inline input { flex: 1 1 150px; min-width: 0; text-transform: uppercase; }
.coupon-msg { margin: 8px 0 0; font-size: 12.5px; border-radius: 8px; padding: 6px 10px; }
.coupon-msg.alert-ok { background: #e2f3e9; color: #0b4d2f; }
.coupon-msg.alert-err { background: #fbe9e7; color: #8f2d23; }
[data-theme="dark"] .coupon-msg.alert-ok { background: #123126; color: #b7e2c8; }
[data-theme="dark"] .coupon-msg.alert-err { background: #3a1c18; color: #f3c9c4; }
.coupon-summary { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--border-color); font-size: 13.5px; color: var(--text-secondary); }
.coupon-summary strong { color: #1c8f4b; font-weight: 700; }
[data-theme="dark"] .coupon-summary strong { color: #5fd48b; }
.coupon-hint { margin: 8px 0 0; color: var(--text-secondary); }
.coupon-warning { display: inline-block; margin: 4px 0 0; font-size: 12.5px; color: #b45309; background: #fdf0dc; border-radius: 8px; padding: 5px 10px; }
[data-theme="dark"] .coupon-warning { color: #f5c983; background: #3a2c14; }
.coupon-clear { flex: 0 0 auto; }

/* coupon discount rows in booking meta tables (dashboard / confirm) */
.meta-table tr.coupon-row td { color: #1c8f4b; }
.meta-table tr.coupon-row td:first-child { text-align: left; }
.meta-table tr.coupon-row td:last-child { font-weight: 600; }
[data-theme="dark"] .meta-table tr.coupon-row td { color: #5fd48b; }

/* invoice totals: coupon discount line */
.inv-items tfoot .inv-coupon-row td { border-top: 1px dashed var(--border-color); padding: 9px 14px; font-size: 13px; color: #1c8f4b; text-align: right; }
.inv-items tfoot .inv-coupon-row td:first-child { text-align: right; }
[data-theme="dark"] .inv-items tfoot .inv-coupon-row td { color: #5fd48b; }
.inv-items tfoot .inv-coupon-row td.r { font-weight: 700; }
