/* =========================================================================
   Alprince Tourism — luxury navy/gold, bilingual (AR primary / RTL), cinematic
   ========================================================================= */
:root {
  --navy-900: #0a1f3d;
  --navy-800: #0c2547;
  --navy-700: #14366b;
  --navy-600: #1f4f93;
  --gold-500: #c2a04c;
  --gold-400: #d4b66a;
  --gold-300: #e3c578;
  --cream: #f7f3ea;
  --paper: #fbfaf6;
  --ink: #1b2433;
  --muted: #5b6678;
  --line: #e7e2d6;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --shadow: 0 18px 40px -18px rgba(10, 31, 61, 0.4);
  --shadow-sm: 0 6px 20px -10px rgba(10, 31, 61, 0.3);
  --radius: 16px;
  --serif: "Playfair Display", Georgia, serif;
  --serif-soft: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
}

/* Arabic typography swaps in when dir=rtl */
html[dir="rtl"] {
  --sans: "Tajawal", system-ui, sans-serif;
  --serif: "Amiri", "Tajawal", serif;
  --serif-soft: "Tajawal", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; padding: .9rem 1.8rem; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent; transition: .25s ease;
}
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 2.3rem; font-size: 1.05rem; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(194,160,76,.8);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(194,160,76,.95); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--wa { background: var(--wa); color: #06311f; box-shadow: 0 12px 30px -12px rgba(37,211,102,.8); }
.btn--wa:hover { transform: translateY(-2px); background: #20c55c; }
.wa-ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ===== Top bar ===== */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.82); font-size: .8rem; letter-spacing: .02em; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--gold-300); }
.topbar .dot { margin: 0 .6rem; color: var(--gold-400); }
.topbar__contacts span, .topbar__meta span { white-space: nowrap; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,246,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s ease, background .3s;
}
.nav.is-stuck { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand__mark { width: 56px; height: 56px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy-800); }
.brand__sub { font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-500); margin-top: 4px; }
html[dir="rtl"] .brand__sub { letter-spacing: .2em; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links > a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--navy-800); position: relative; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold-500); transition: width .25s ease;
}
.nav__links > a:not(.btn):hover::after { width: 100%; }
.nav__cta { gap: .45rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: .3s; }

/* Language toggle */
.lang-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold-500);
  background: transparent; color: var(--navy-800); font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: .25s; display: grid; place-items: center;
}
.lang-toggle:hover { background: var(--gold-500); color: #fff; transform: rotate(8deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 94vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -8% 0; z-index: -2;
  background: url('../assets/img/baku-night.jpg') center/cover;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,31,61,.55), rgba(10,31,61,.86)),
    radial-gradient(circle at 72% 18%, rgba(194,160,76,.28), transparent 55%);
}
.hero__flames { position: absolute; inset-block-end: 0; inset-inline: 0; height: 60%; z-index: -1; pointer-events: none; opacity: .55; }
.hero__flames span {
  position: absolute; bottom: -40px; width: 220px; height: 360px; border-radius: 50% 50% 45% 45%;
  background: radial-gradient(ellipse at bottom, rgba(227,197,120,.5), rgba(194,160,76,0) 70%);
  filter: blur(14px); animation: flicker 5s ease-in-out infinite;
}
.hero__flames span:nth-child(1) { inset-inline-start: 12%; }
.hero__flames span:nth-child(2) { inset-inline-start: 46%; animation-delay: -1.6s; height: 440px; }
.hero__flames span:nth-child(3) { inset-inline-end: 14%; animation-delay: -3.1s; }
@keyframes flicker { 0%,100%{ transform: scaleY(1) translateY(0); opacity:.5;} 50%{ transform: scaleY(1.12) translateY(-18px); opacity:.75;} }
.hero__content { position: relative; max-width: 760px; padding: 4rem 0; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .32em; font-size: .78rem; color: var(--gold-300); margin-bottom: 1.25rem; font-weight: 600; }
html[dir="rtl"] .hero__eyebrow { letter-spacing: .1em; }
.hero__title { font-family: var(--serif); font-weight: 800; line-height: 1.08; font-size: clamp(2.6rem, 6vw, 4.7rem); letter-spacing: -.5px; }
.hero__title span { color: var(--gold-300); font-style: italic; }
html[dir="rtl"] .hero__title span { font-style: normal; }
.hero__lead { font-family: var(--serif-soft); font-size: clamp(1.15rem, 2vw, 1.5rem); color: rgba(255,255,255,.92); margin: 1.5rem 0 2.25rem; max-width: 620px; line-height: 1.6; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; inset-block-end: 26px; inset-inline-start: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
html[dir="rtl"] .hero__scroll { transform: translateX(50%); letter-spacing: .05em; }
.hero__scroll i { font-size: 1.3rem; font-style: normal; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(8px);} }

/* ===== Trust + stats ===== */
.trust { background: var(--navy-800); padding: 2.2rem 0 0; }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; color: rgba(255,255,255,.9); font-size: .95rem; font-weight: 500; }
.trust__item { display: inline-flex; align-items: center; gap: .55rem; }
.trust__ico { font-size: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.14); padding: 2.2rem 0; }
.stat { text-align: center; color: #fff; }
.stat strong { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--gold-300); display: block; }
.stat span { font-size: .82rem; letter-spacing: .03em; color: rgba(255,255,255,.72); }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--cream); }
.section--navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; }
.section__head { max-width: 660px; margin: 0 auto 3.25rem; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .76rem; font-weight: 700; color: var(--gold-500); margin-bottom: .85rem; }
html[dir="rtl"] .eyebrow { letter-spacing: .08em; }
.eyebrow--gold { color: var(--gold-300); }
.section__title { font-family: var(--serif); font-weight: 700; line-height: 1.15; font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: inherit; letter-spacing: -.4px; }
.section--navy .section__title { color: #fff; }
.section__sub { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.section--navy .section__sub { color: rgba(255,255,255,.8); }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.about__img { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--img) center/cover, var(--navy-700); box-shadow: var(--shadow); position: relative; }
.about__img::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; pointer-events: none; }
.about__text p { color: var(--muted); margin-top: 1rem; }
.about__text .section__title { margin-bottom: .25rem; }
.ticks { list-style: none; margin: 1.75rem 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-inline-start: 1.9rem; color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: .2rem; width: 1.3rem; height: 1.3rem;
  background: var(--gold-500); color: #fff; border-radius: 50%; font-size: .75rem; display: grid; place-items: center;
}

/* ===== Flagship timeline ===== */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; inset-inline-start: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%); background: linear-gradient(var(--gold-400), var(--gold-500));
  transform-origin: top; scale: 1 var(--tl-progress, 0);
}
/* Direction-agnostic: logical properties keep dots on the centre line in LTR & RTL */
.tl-item { position: relative; width: 50%; padding-block: 1rem; }
.tl-item:nth-child(odd)  { margin-inline-start: 0;   padding-inline-end: 2.4rem;  text-align: end; }
.tl-item:nth-child(even) { margin-inline-start: 50%; padding-inline-start: 2.4rem; text-align: start; }
.tl-dot { position: absolute; top: 1.6rem; width: 64px; height: 64px; border-radius: 50%; background: var(--img) center/cover, var(--navy-700); box-shadow: 0 0 0 4px var(--cream), 0 0 0 5.5px var(--gold-500); display: grid; place-items: end center; overflow: hidden; }
.tl-dot::after { content:""; position:absolute; inset:0; background: linear-gradient(transparent, rgba(10,31,61,.8)); }
.tl-day { position: relative; z-index: 1; font-size: .62rem; font-weight: 700; color: #fff; padding-bottom: 4px; letter-spacing: .03em; }
/* dot sits on the inner (centre-line) edge of each item, both directions */
.tl-item:nth-child(odd)  .tl-dot { inset-inline-end: -32px; }
.tl-item:nth-child(even) .tl-dot { inset-inline-start: -32px; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); transition: .3s; }
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.tl-card h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--navy-800); margin-bottom: .4rem; }
.tl-card p { color: var(--muted); font-size: .95rem; }
.flag-note { max-width: 760px; margin: 2.6rem auto 0; text-align: center; color: var(--navy-700); font-weight: 600; background: rgba(194,160,76,.1); border: 1px dashed var(--gold-400); border-radius: var(--radius); padding: 1rem 1.4rem; font-size: .95rem; }
.flag-cta { text-align: center; margin-top: 1.8rem; }

/* ===== Cards (packages) ===== */
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { position: relative; aspect-ratio: 4/3; background: var(--img) center/cover, var(--navy-700); overflow: hidden; }
.card__img::after { content:""; position:absolute; inset:0; background:var(--img) center/cover; transform: scale(1); transition: transform 6s ease; }
.card:hover .card__img::after { transform: scale(1.12); }
.card__tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: var(--gold-500); color: var(--navy-900); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .35rem .8rem; border-radius: 999px; text-transform: uppercase; }
.card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy-800); line-height: 1.3; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__cta { margin-top: 1.1rem; }
.link { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-500); font-weight: 700; transition: .2s; }
.link::after { content: "←"; transition: transform .2s; }
html[dir="ltr"] .link::after { content: "→"; }
.link:hover { color: var(--navy-700); }
.link:hover::after { transform: translateX(-4px); }
html[dir="ltr"] .link:hover::after { transform: translateX(4px); }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--img) center/cover, var(--navy-700); display: flex; align-items: flex-end; cursor: pointer; border: 0; padding: 0; }
.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,31,61,.8)); transition: .35s; }
.tile::after { content:""; position:absolute; inset:0; background: var(--img) center/cover; z-index:-1; transition: transform 6s ease; }
.tile:hover { transform: none; }
.tile:hover::before { background: linear-gradient(180deg, rgba(194,160,76,.18) 20%, rgba(10,31,61,.85)); }
.tile span { position: relative; color: #fff; font-family: var(--serif); font-size: 1.35rem; padding: 1.1rem 1.3rem; text-align: start; }
.tile--lg span { font-size: 2rem; }

/* ===== Contact ===== */
.contact { text-align: center; max-width: 760px; margin: 0 auto; }
.contact__p { color: rgba(255,255,255,.85); margin: 1rem auto 2rem; font-size: 1.08rem; max-width: 540px; }
.contact .btn--wa { margin-bottom: 2.4rem; }
.contact__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-bottom: 1.4rem; }
.contact__list li { display: flex; flex-direction: column; gap: .25rem; }
.contact__k { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-300); font-weight: 700; }
.contact__list a, .contact__list span:not(.contact__k) { color: #fff; font-weight: 500; }
.contact__list a:hover { color: var(--gold-300); }
.contact__map { display: inline-block; margin-top: .4rem; color: var(--gold-300); font-weight: 600; border-bottom: 1px solid rgba(227,197,120,.4); padding-bottom: 2px; }

/* WhatsApp pulse */
.wa-pulse { position: relative; }
.wa-pulse::before { content:""; position:absolute; inset:0; border-radius:999px; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: waPulse 2.2s infinite; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--wa); color: #fff; padding: .85rem; border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(18,140,126,.7); transition: .3s;
}
.wa-float .wa-ico { width: 28px; height: 28px; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .95rem; transition: max-width .4s ease, padding .4s ease; }
.wa-float:hover { padding-inline-end: 1.3rem; }
.wa-float:hover .wa-float__label { max-width: 220px; padding-inline-start: .2rem; }
.wa-float__ring { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.2s infinite; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(6,18,36,.92); padding: 4vw; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 18px; inset-inline-end: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; transition: .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.12); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--gold-300); }
.footer__brand p { margin-top: 1rem; font-size: .92rem; max-width: 320px; }
.footer__col h4 { font-family: var(--serif); color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.footer__col a, .footer__col span { display: block; font-size: .92rem; margin-bottom: .55rem; transition: .2s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; }
.footer__bar-inner { display: flex; justify-content: space-between; font-size: .82rem; flex-wrap: wrap; gap: .5rem; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }

/* ===== Scroll progress bar ===== */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 70; background: transparent; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); box-shadow: 0 0 12px rgba(227,197,120,.7); }
html[dir="rtl"] .progress span { transform-origin: right center; }

/* ===== 3D tilt ===== */
[data-tilt] { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; transform-style: preserve-3d; will-change: transform; }

/* ===== Back to top ===== */
.to-top {
  position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy-800); color: var(--gold-300); font-size: 1.2rem; line-height: 1;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(14px) scale(.8); pointer-events: none;
  transition: .35s cubic-bezier(.2,.7,.2,1);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy-700); transform: translateY(-3px); }

/* ===== Lightbox nav arrows ===== */
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: .2s; }
.lightbox__nav:hover { background: rgba(255,255,255,.16); }
.lightbox__prev { inset-inline-start: 3vw; }
.lightbox__next { inset-inline-end: 3vw; }

/* ===== Premium accents ===== */
.section__head .section__title { position: relative; display: inline-block; }
.section__head .section__title::after {
  content: ""; display: block; width: 64px; height: 3px; margin: .9rem auto 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); border-radius: 3px;
}

/* ===== Program tabs ===== */
.prog-tabs {
  display: inline-flex; gap: .5rem; margin: 1rem auto 0;
  padding: .4rem; border-radius: 999px;
  background: rgba(10, 31, 61, 0.06); border: 1px solid var(--line);
}
.prog-tab {
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: .7rem 1.4rem; border-radius: 999px; border: 0;
  background: transparent; color: var(--navy-800); cursor: pointer;
  transition: .25s ease; white-space: nowrap;
}
.prog-tab:hover { color: var(--navy-900); }
.prog-tab.is-active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(194,160,76,.8);
}
@media (max-width: 760px) {
  .prog-tabs { flex-direction: column; width: 100%; border-radius: 16px; gap: .3rem; }
  .prog-tab { border-radius: 12px; font-size: .95rem; padding: .85rem 1rem; }
}

/* ===== City cards grid ===== */
.city-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.city-card {
  position: relative; display: block; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4/3; isolation: isolate;
  background: var(--img) center/cover, var(--navy-700);
  box-shadow: var(--shadow-sm); transition: .35s cubic-bezier(.2,.7,.2,1);
  text-align: start;
}
.city-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--img) center/cover; transform: scale(1); transition: transform 6s ease;
}
.city-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(10,31,61,0) 30%, rgba(10,31,61,.5) 60%, rgba(10,31,61,.92) 100%);
  transition: .35s;
}
.city-card:hover::before { transform: scale(1.08); }
.city-card:hover { box-shadow: var(--shadow); }
.city-card__body {
  position: relative; z-index: 3; color: #fff;
  padding: 2rem; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.city-card__body h3 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .35rem; letter-spacing: -.3px;
}
.city-card__body p {
  color: rgba(255,255,255,.92); font-size: 1rem;
  margin-bottom: 1.1rem; max-width: 30ch;
}
.city-card__cta {
  display: inline-block; align-self: flex-start;
  background: var(--gold-500); color: var(--navy-900);
  padding: .55rem 1.1rem; border-radius: 999px;
  font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  transition: .2s;
}
.city-card:hover .city-card__cta {
  background: var(--gold-300); transform: translateY(-2px);
}
@media (max-width: 760px) { .city-grid { grid-template-columns: 1fr; } }

/* ===== City-page styles (city/*.html) ===== */
.city-hero {
  position: relative; min-height: 60vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  padding: 4rem 0 3rem;
}
.city-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
}
.city-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,31,61,.3), rgba(10,31,61,.85));
}
.city-hero__content { max-width: 760px; }
.city-hero__back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 600; color: var(--gold-300);
  margin-bottom: 1.5rem; transition: .2s;
}
.city-hero__back:hover { color: #fff; }
.city-hero h1 {
  font-family: var(--serif); font-weight: 800; line-height: 1.05;
  font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.5px;
  margin-bottom: 1rem;
}
.city-hero p {
  font-family: var(--serif-soft); font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.94); line-height: 1.6;
}

.city-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  grid-auto-rows: 280px;
}
.city-gallery .tile { background: var(--img) center/cover, var(--navy-700); }
.city-gallery .tile--tall { grid-row: span 2; }
.city-gallery .tile span {
  position: relative; z-index: 1; color: #fff;
  font-family: var(--serif); font-size: 1.05rem;
  padding: 1rem 1.2rem;
}
@media (max-width: 980px) {
  .city-gallery { grid-template-columns: repeat(2, 1fr); }
  .city-gallery .tile--tall { grid-row: span 1; }
}
@media (max-width: 580px) {
  .city-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
}

.city-cta {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff; text-align: center; padding: 4rem 0;
}
.city-cta h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .8rem;
}
.city-cta p {
  color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.image-credit {
  text-align: center; font-size: .82rem;
  color: rgba(255,255,255,.55); padding: 1rem 0;
  background: var(--navy-900);
}
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; top: 0; inset-inline-start: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg);
}
.btn--gold:hover::after { animation: sheen .8s ease; }
@keyframes sheen { to { inset-inline-start: 130%; } }
.footer .brand__mark { width: 60px; height: 60px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .tours { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__img { aspect-ratio: 16/10; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tile--lg { grid-column: span 2; grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .nav__links {
    position: fixed; inset: 118px 0 auto 0; background: var(--paper); flex-direction: column;
    align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s ease; z-index: 40;
  }
  .nav__links.is-open { transform: none; }
  .nav__links > a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta, .lang-toggle { margin-top: .75rem; align-self: flex-start; }
  .lang-toggle { width: auto; padding: .5rem 1rem; border-radius: 999px; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero { min-height: 88vh; }
  .hero__bg { background-image: url('../assets/img/hero-mobile.jpg'); background-position: center center; }
  .hero__overlay { background:
    linear-gradient(180deg, rgba(10,31,61,.35), rgba(10,31,61,.78)),
    radial-gradient(circle at 72% 18%, rgba(194,160,76,.22), transparent 55%); }
  .tours { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .wa-float__label { display: none; }

  /* timeline → single column (logical props auto-flip for RTL) */
  .timeline::before { inset-inline-start: 28px; transform: none; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    width: 100%; margin-inline-start: 0; text-align: start;
    padding-block: 1rem; padding-inline-start: 84px; padding-inline-end: 0;
  }
  .tl-dot, .tl-item:nth-child(odd) .tl-dot, .tl-item:nth-child(even) .tl-dot {
    inset-inline-start: 0; inset-inline-end: auto; width: 56px; height: 56px;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .timeline::before { scale: 1 1 !important; }
  html { scroll-behavior: auto; }
}
