/* =========================================================
 * Maju Sirait City Tour — design tokens & layout
 * Colors: charcoal / gold / white / WhatsApp green
 * Mobile-first; full RTL support for [dir="rtl"]
 * ========================================================= */
:root {
  --bg:        #0d0f14;
  --bg-2:      #131720;
  --bg-3:      #1a1f2c;
  --surface:   #1b2030;
  --surface-2: #232a3d;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);
  --text:      #f3f4f8;
  --text-soft: #b8bcc8;
  --text-mute: #8a90a3;
  --gold:      #c8a35a;
  --gold-2:    #e7c578;
  --gold-soft: rgba(200, 163, 90, .14);
  --wa:        #25d366;
  --wa-dark:   #1ebe5d;
  --danger:    #e5484d;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow:    0 12px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
  --maxw:      1160px;
  --header-h:  72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body {
  font-family: "Tajawal", "Segoe UI", "Tahoma", "Arial", "Noto Sans Arabic", sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2.05rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.08rem; }
h4 { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
p  { margin: 0 0 1em; color: var(--text-soft); }

ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow-light {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .25);
  color: var(--gold-2);
}

.section {
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--bg);
  position: relative;
}
.section-tint { background: var(--bg-2); }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 64ch; margin-bottom: 44px; }
.section-head .section-sub { font-size: 1.04rem; color: var(--text-soft); margin-bottom: 0; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  transform: translateY(-200%);
  background: var(--gold); color: #0d0f14; padding: 8px 14px;
  border-radius: 8px; font-weight: 700;
}
.skip-link:focus { transform: none; z-index: 100; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn-wa {
  background: var(--wa);
  color: #06210f;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .25);
}
.btn-wa:hover { background: var(--wa-dark); color: #06210f; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-arrow {
  transition: transform .2s ease;
  display: inline-block;
}
[dir="ltr"] .btn-arrow { transform: translateX(0); }
[dir="rtl"] .btn-arrow { transform: rotate(180deg); }
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }
[dir="rtl"] .btn-ghost:hover .btn-arrow { transform: rotate(180deg) translateX(4px); }

.btn-sm  { padding: 9px 16px; font-size: .86rem; }
.btn-lg  { padding: 15px 26px; font-size: 1rem; }
.btn-xl  { padding: 18px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============== Header ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(13, 15, 20, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #f1d28a);
  color: #1a1106;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(200, 163, 90, .35);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-line-1 { font-weight: 800; font-size: 1rem; letter-spacing: .01em; }
.brand-line-2 {
  font-size: .72rem;
  color: var(--gold-2);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--gold-2); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
[dir="rtl"] .nav-link.is-active::after { left: 0; right: 0; }

.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex;
  direction: ltr;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}
.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-soft);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.lang-btn[aria-pressed="true"] {
  background: var(--gold);
  color: #1a1106;
}
.lang-btn:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 11px 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== Hero ============== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(200, 163, 90, .14) 0%, transparent 60%),
    radial-gradient(800px 480px at 90% 10%, rgba(37, 211, 102, .08) 0%, transparent 60%),
    linear-gradient(180deg, #0d0f14 0%, #131720 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .35;
}
.hero-glow-a { width: 460px; height: 460px; top: -160px; right: -120px; background: #c8a35a; }
.hero-glow-b { width: 360px; height: 360px; bottom: -160px; left: -100px; background: #25d366; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-title { margin-bottom: 20px; color: var(--text); }
.hero-sub { max-width: 56ch; font-size: 1.06rem; color: var(--text-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.badge-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta li { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-size: .85rem; color: var(--gold-2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-meta span   { font-size: .9rem; color: var(--text-soft); }

.hero-art {
  margin: 0;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 3;
  max-height: 620px;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: .82rem;
  color: var(--gold-2);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75));
  font-weight: 600;
  letter-spacing: .02em;
}
[dir="rtl"] .hero-caption { text-align: right; }

/* ============== Feature cards ============== */
.feature-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--surface-2);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-2);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card p { margin: 0; font-size: .94rem; }

/* ============== Service cards ============== */
.service-card {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--surface-2);
}
.service-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--gold-2);
}
.service-card h3 { margin-bottom: 8px; }
.service-card p  { margin: 0; font-size: .94rem; }

/* ============== Destinations ============== */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.dest-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.dest-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--surface-2);
}
.dest-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dest-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.dest-desc {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.dest-pin {
  display: inline-block;
  flex: 0 0 auto;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 163, 90, .18);
}

.dest-note { color: var(--text-soft); margin-bottom: 28px; max-width: 70ch; }
.dest-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============== Vehicle ============== */
.vehicle {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.vehicle-art {
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 3;
  max-height: 560px;
}
.vehicle-art img { width: 100%; height: 100%; object-fit: cover; }

.check-list { margin: 18px 0 22px; }
.check-list li {
  position: relative;
  padding-inline-start: 30px;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: .96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7c578' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 12px no-repeat;
}
.vehicle-note {
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
  font-size: .9rem;
  color: var(--text-mute);
  margin: 0;
}

/* ============== Gallery ============== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
  aspect-ratio: 2 / 3;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item:nth-child(3) { aspect-ratio: 3 / 4; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .5));
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ============== Steps ============== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.steps li {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.step-num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.steps p { margin: 0; font-size: .93rem; }

/* ============== CTA final ============== */
.cta-final {
  padding: clamp(64px, 8vw, 110px) 0;
  background:
    radial-gradient(900px 460px at 80% 0%, rgba(37, 211, 102, .12) 0%, transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(200, 163, 90, .15) 0%, transparent 60%),
    linear-gradient(180deg, #0d0f14, #131720);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-final-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.cta-final-copy h2 { color: var(--text); }
.cta-final-copy p  { color: var(--text-soft); max-width: 56ch; }
.cta-final-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
[dir="rtl"] .cta-final-action { align-items: flex-end; }
.cta-final-hint { color: var(--text-mute); font-size: .88rem; }

/* Islamic closing line */
.closing-dua {
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 26px 30px;
  border: 1px solid var(--line-2);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(200, 163, 90, .07), rgba(255, 255, 255, .02));
  position: relative;
  text-align: center;
}
.closing-dua p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
}
[dir="rtl"] .closing-dua p { font-style: normal; }
.dua-mark {
  display: block;
  font-size: 2.4rem;
  line-height: .8;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
}

/* ============== Footer ============== */
.site-footer {
  background: #0a0c11;
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
  color: var(--text-soft);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { color: var(--text-mute); font-size: .92rem; margin: 0; max-width: 38ch; }

.footer-col h4 { margin-bottom: 14px; }
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--text-soft);
  font-size: .93rem;
  transition: color .18s ease;
}
.footer-col a:hover { color: var(--gold-2); }

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wa) !important;
  font-weight: 600;
  padding: 0 !important;
}
.footer-wa svg { width: 18px; height: 18px; }

.lang-switch-foot .lang-btn { font-size: .8rem; }

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--text-mute);
}

/* ============== Lightbox ============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 7, 11, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: lb-fade .2s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: min(720px, 92vw);
  max-height: 86vh;
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-figure figcaption {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: .9rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  appearance: none;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--gold);
}
.lightbox-close { top: 20px; inset-inline-end: 20px; }
.lightbox-prev  { inset-inline-start: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { inset-inline-end: 20px;  top: 50%; transform: translateY(-50%); }
[dir="rtl"] .lightbox-prev { transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .lightbox-next { transform: translateY(-50%) scaleX(-1); }

/* ============== Reveal animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-art     { max-height: 520px; aspect-ratio: 3 / 4; order: -1; }
  .vehicle      { grid-template-columns: 1fr; }
  .vehicle-art  { max-height: 460px; }
  .cta-final-inner { grid-template-columns: 1fr; }
  .steps        { grid-template-columns: repeat(2, 1fr); }
  .hero-meta    { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: var(--header-h);
    inset-inline-start: 0;
    inset-inline-end: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 22px 22px;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 12px 0; font-size: 1rem; }
  .primary-nav .btn-wa,
  .primary-nav .lang-switch { display: none; }
  .primary-nav.is-open .btn-wa,
  .primary-nav.is-open .lang-switch { display: inline-flex; margin-top: 12px; align-self: flex-start; }

  .header-tools .btn { display: none; }
  .header-tools .lang-switch { display: inline-flex; }
  .header-inner { gap: 8px; }
  .header-tools { margin-inline-start: auto; }
  .header-tools .lang-btn { padding: 5px 7px; }

  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col h4 { margin-top: 10px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }
  .dest-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .closing-dua { padding: 22px 20px; }
}

/* ============== Reduce motion ============== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature-card:hover, .service-card:hover, .gallery-item:hover { transform: none; }
}

/* ============== AI travel assistant ============== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.chat-launcher {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 13px; border: 1px solid rgba(255,221,132,.8);
  border-radius: 999px; background: linear-gradient(120deg,#e4bc61 0%,#25d366 115%);
  color: #171008; font: inherit; font-weight: 800; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(37,211,102,.42), 0 14px 38px rgba(0,0,0,.52);
  animation: chat-pulse 2.4s ease-out infinite;
}
.chat-launcher:hover { transform: translateY(-3px) scale(1.02); }
.chat-spark {
  display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px;
  border-radius: 50%; background: #11151d; color: #f2ca72; font-size: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.chat-launcher-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.12; }
.chat-launcher-copy strong { font-size: .95rem; letter-spacing: .01em; }
.chat-launcher-copy small { margin-top: 3px; font-size: .66rem; font-weight: 700; opacity: .76; }
@keyframes chat-pulse {
  0%, 55% { box-shadow: 0 0 0 0 rgba(37,211,102,.38), 0 14px 38px rgba(0,0,0,.52); }
  82% { box-shadow: 0 0 0 11px rgba(37,211,102,0), 0 14px 38px rgba(0,0,0,.52); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 14px 38px rgba(0,0,0,.52); }
}
.ai-chat {
  position: fixed; inset-inline-end: 20px; bottom: 78px; z-index: 90;
  width: min(390px, calc(100vw - 28px)); max-height: min(620px, calc(100vh - 110px));
  display: grid; grid-template-rows: auto minmax(180px,1fr) auto auto;
  overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px;
  background: #11151d; box-shadow: 0 22px 70px rgba(0,0,0,.62);
}
.ai-chat[hidden] { display: none; }
.chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg,rgba(200,163,90,.16),rgba(37,211,102,.06));
}
.chat-head div { display: flex; flex-direction: column; }
.chat-head strong { color: var(--text); font-size: .98rem; }
.chat-head span { color: var(--text-soft); font-size: .75rem; }
.chat-close {
  width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%;
  background: transparent; color: var(--text); font-size: 1.3rem; cursor: pointer;
}
.chat-messages {
  overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding: 16px; background: rgba(4,7,12,.36);
}
.chat-message {
  max-width: 88%; padding: 10px 12px; border-radius: 14px;
  font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere;
}
.chat-message.user { align-self: flex-end; background: #2b3545; color: var(--text); border-end-end-radius: 4px; }
.chat-message.assistant { align-self: flex-start; background: rgba(200,163,90,.13); color: #eee9df; border: 1px solid rgba(200,163,90,.22); border-end-start-radius: 4px; }
.chat-message.error { align-self: center; background: rgba(220,70,70,.12); color: #ffc8c8; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea {
  resize: none; min-height: 46px; max-height: 110px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #0c1017;
  color: var(--text); font: inherit; font-size: .88rem;
}
.chat-form textarea:focus { outline: 2px solid rgba(200,163,90,.45); border-color: var(--gold); }
.chat-form button {
  align-self: stretch; padding: 0 14px; border: 0; border-radius: 12px;
  background: var(--gold); color: #171008; font-weight: 800; cursor: pointer;
}
.chat-form button:disabled { opacity: .55; cursor: wait; }
.chat-note { margin: 0; padding: 0 14px 11px; color: var(--text-muted); font-size: .7rem; }
[dir="rtl"] .chat-message.user { align-self: flex-start; border-end-end-radius: 14px; border-end-start-radius: 4px; }
[dir="rtl"] .chat-message.assistant { align-self: flex-end; border-end-start-radius: 14px; border-end-end-radius: 4px; }

@media (max-width: 520px) {
  .chat-launcher { inset-inline-end: 14px; bottom: 14px; }
  .ai-chat { inset-inline-end: 14px; bottom: 70px; max-height: calc(100vh - 88px); }
}

@media (prefers-reduced-motion: reduce) {
  .chat-launcher { animation: none; }
}
