/* Gizo Travel — base styles. Uses logical properties so RTL works without overrides. */

:root {
  --brand: #0b5c6b;
  --brand-dark: #073f4a;
  --brand-soft: #e4f1f2;
  --accent: #e3a457;
  --accent-dark: #b9772c;
  --ink: #12262d;
  --muted: #5b6f75;
  --line: #dfe5e4;
  --bg: #fbf9f5;
  --surface: #ffffff;
  --alt: #f3efe7;
  --danger: #b4362c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(18, 38, 45, .06), 0 8px 24px rgba(18, 38, 45, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --container: 1160px;
}

:lang(ar) {
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
:lang(ar) h1, :lang(ar) h2 { letter-spacing: 0; line-height: 1.35; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--muted); }
.fine-print { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.eyebrow {
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent-dark); margin-bottom: .75rem;
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: .9rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5em 1.05em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--accent); color: var(--ink); }

/* ---------- Demo banner & header ---------- */

.demo-banner {
  background: var(--ink); color: #f1e7d6; font-size: .82rem; text-align: center; padding: 6px 16px;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; }
.brand-text { font-family: "Playfair Display", Georgia, serif; font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text span { color: var(--brand); font-weight: 600; margin-inline-start: 4px; }
.brand, .brand-text { direction: ltr; }

.main-nav { display: flex; gap: 22px; margin-inline-start: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.main-nav a:hover { color: var(--brand); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.currency-select, .lang-toggle {
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: .45em .9em; cursor: pointer;
}
.lang-toggle:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-toggle:lang(en) { font-family: "Inter", sans-serif; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); cursor: pointer; position: relative;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink);
  transform: translateX(-50%); content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle .bars { top: 50%; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; color: #fff; padding: 112px 0 96px; min-height: min(88vh, 760px);
  display: flex; flex-direction: column; justify-content: center;
  background: #0a2a36 url("../img/hero-dubai.jpg") center 40% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 30, 40, .9) 0%, rgba(6, 30, 40, .72) 42%, rgba(6, 30, 40, .15) 78%),
              linear-gradient(0deg, rgba(6, 30, 40, .55), transparent 40%);
}
[dir="rtl"] .hero::before {
  background: linear-gradient(260deg, rgba(6, 30, 40, .9) 0%, rgba(6, 30, 40, .72) 42%, rgba(6, 30, 40, .15) 78%),
              linear-gradient(0deg, rgba(6, 30, 40, .55), transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); color: #fff; text-wrap: balance; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: #dbe7ea; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { font-size: .92rem; color: #eef4f5; display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "✓"; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--accent); color: #0a2a36; font-size: .75rem; font-weight: 700;
}
.hero-visual { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero-card {
  background: rgba(255, 255, 255, .94); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
  backdrop-filter: blur(6px);
}
.hero-card-main { min-width: 250px; }
.hc-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); }
.hc-price { color: var(--muted); font-size: .9rem; }
.hc-price .js-price { color: var(--brand); font-weight: 700; }
.hero-card-float { flex-direction: row; align-items: center; gap: 10px; max-width: 250px; font-size: .85rem; font-weight: 500; }
.hc-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff;
}
[dir="rtl"] .hc-icon { transform: scaleX(-1); }
.hero-photo-note { position: absolute; bottom: 10px; inset-inline: 0; margin: 0 auto; font-size: .72rem; color: rgba(255, 255, 255, .6); text-align: end; }

/* Destinations */
.section-tight { padding: 72px 0 32px; }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dest-card {
  position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.2;
  color: #fff; text-decoration: none; background: #0a2a36; box-shadow: var(--shadow);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dest-card:hover img, .dest-card:focus-visible img { transform: scale(1.04); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 30, 40, .85), transparent 55%); }
.dest-text { position: absolute; inset-inline: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; font-size: .92rem; color: #e6eef0; }
.dest-country { font-family: var(--font-display); font-size: 1.45rem; color: #fff; font-weight: 600; }

/* Seat-request status lookup */
.status-check { margin-top: 36px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.status-check h3 { margin: 0 0 4px; font-size: 1.15rem; }
.chk-form, .fl-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 12px; }
.chk-form label, .fl-form label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; flex: 1 1 180px; }
.chk-form input, .fl-form input, .fl-form select { font: inherit; padding: .6em .75em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.chk-result { margin: 12px 0 0; font-size: .95rem; }
.chk-result.chk-ok { color: var(--brand-dark); font-weight: 600; }
.chk-result.chk-error { color: var(--danger); }

/* Car rental */
.car-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 18px; }
.car-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.car-card h3 { margin: 0; font-size: 1.1rem; }
.car-card .pkg-desc { flex: 1; }
.car-specs { font-size: .85rem; color: var(--muted); margin: 0; }
.car-card .btn { align-self: flex-start; margin-top: 8px; }
.car-form { margin-bottom: 4px; }
.car-avail { font-size: .85rem; font-weight: 600; margin: 4px 0 0; padding: 2px 10px; border-radius: 999px; align-self: flex-start; background: #e3f1ee; color: var(--brand-dark); }
.car-avail.is-none { background: #fbe9e7; color: var(--danger); }
.car-avail.is-na { background: #eef1f0; color: var(--muted); }

/* Flight request */
.fl-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 0; }
.fl-form .btn { flex: 0 0 auto; }
.fl-error { color: var(--danger); min-height: 1.2em; margin: 8px 0 0; font-size: .9rem; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--alt); }
.section-dark { background: var(--brand-dark); color: #e9f2f2; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 16px;
}
.service-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.service-link { font-weight: 600; font-size: .9rem; text-decoration: none; }
.service-link::after { content: " →"; }
[dir="rtl"] .service-link::after { content: " ←"; }

/* Packages */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 500; padding: .45em 1.1em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pkg-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.pkg-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pkg-visual {
  --h: 190;
  position: relative; aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 75% 30%, hsl(calc(var(--h) + 30) 80% 85% / .9) 0 10%, transparent 11%),
    radial-gradient(140% 90% at 30% 120%, hsl(var(--h) 45% 30%) 0 45%, transparent 46%),
    radial-gradient(140% 90% at 85% 125%, hsl(var(--h) 40% 40%) 0 45%, transparent 46%),
    linear-gradient(160deg, hsl(calc(var(--h) + 20) 70% 78%), hsl(var(--h) 55% 52%));
}
.pkg-visual.has-photo { background: #0a2a36; }
.pkg-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pkg-nights {
  position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, .92);
  color: var(--ink); font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.pkg-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pkg-place { font-size: .8rem; color: var(--muted); margin-bottom: .3rem; }
.pkg-desc { font-size: .9rem; color: var(--muted); flex: 1; }
.pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 14px; }
.pkg-from { font-size: .8rem; color: var(--muted); }
.pkg-price strong { font-size: 1.3rem; color: var(--brand); }
.pkg-pp { flex-basis: 100%; font-size: .75rem; color: var(--muted); }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 700; margin-bottom: 14px;
}
.callout {
  border-inline-start: 4px solid var(--accent); background: #fff7ec; border-radius: var(--radius-sm);
  padding: 18px 22px; max-width: 760px;
}
.callout p { margin: .3em 0 0; color: var(--muted); }

/* Corporate */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.split p { color: #c4d9da; font-size: 1.05rem; margin-bottom: 1.6em; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-list li {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px;
}
.feature-list strong { color: #fff; }
.feature-list span { color: #b5cccd; font-size: .9rem; }

/* Enquiry */
.enquiry-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.enquiry-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.enquiry-intro > p { color: var(--muted); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: .75rem;
}

.enquiry-form, .form-success {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7em .85em; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 92, 107, .15); background: #fff;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field textarea { resize: vertical; }
.checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; }
.checkbox input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.error { color: var(--danger); font-size: .8rem; margin: 0; min-height: 0; }
.error:empty { display: none; }

.form-success { text-align: center; }
.form-success:focus { outline: none; }
.success-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 1.6rem;
}
.form-success #success-ref { font-size: 1.1rem; color: var(--brand); }
.form-success .btn { margin-top: 8px; }

/* Support */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card p { margin-bottom: .3em; }
.contact-card a { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
[dir="rtl"] .contact-card a[dir="ltr"] { unicode-bidi: isolate; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd8da; padding: 36px 0; }
.site-footer .muted { color: #93a5a9; margin: .4em 0 0; font-size: .88rem; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text span { color: var(--accent); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Scheduled departures */
.dep-tour-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 18px; }
.dep-tour-info .pkg-place { font-size: .95rem; margin: 0; }
.dep-tour-info .pkg-price { margin: 0; }
.dep-tour-info .pkg-pp { flex-basis: auto; }
.dep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.dep-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.dep-card.is-open { grid-column: 1 / -1; border-color: var(--brand); box-shadow: var(--shadow); }
.dep-when { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.seat-badge { align-self: flex-start; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.seat-ok { background: var(--brand-soft); color: var(--brand-dark); }
.seat-low { background: #fff1dc; color: #8a4f0c; }
.seat-out { background: #f6e0de; color: var(--danger); }
.seat-bar { height: 6px; border-radius: 999px; background: var(--alt); overflow: hidden; }
.seat-bar span { display: block; height: 100%; background: var(--accent); }
.dep-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dep-form input, .dep-form select {
  font: inherit; font-size: .95rem; padding: .55em .8em; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); min-width: 0;
}
.dep-form input { flex: 1 1 180px; }
.dep-seats { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; }
.dep-msg { flex-basis: 100%; margin: 0; padding: 10px 12px; border-radius: var(--radius-sm); font-size: .92rem; }
.dep-msg-ok { background: var(--brand-soft); color: var(--brand-dark); }
.dep-msg-error { background: #f6e0de; color: var(--danger); }
.footer-link { color: inherit; }
.credits { flex-basis: 100%; font-size: .8rem; color: #93a5a9; }
.credits summary { cursor: pointer; color: #cfd8da; }
.credits ul { margin: .6em 0; padding-inline-start: 1.2em; }
.credits a { color: #cfd8da; }

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .header-cta { display: none; }
}

@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .88rem; }
  .service-grid, .package-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-tools { margin-inline-start: auto; }
  .main-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0; margin: 0;
    flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px; box-shadow: var(--shadow);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a:last-child { border-bottom: 0; }
  .hero-grid, .split, .enquiry-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { align-items: flex-start; }
  .hero::before { background: linear-gradient(0deg, rgba(6, 30, 40, .92) 10%, rgba(6, 30, 40, .62)) !important; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid .dest-card:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .service-grid, .package-grid, .car-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .header-inner { gap: 10px; min-height: 64px; }
  .brand-text { font-size: 1.2rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { display: none; }
  .hero { padding: 56px 0 64px; min-height: 0; }
  .hero-visual { display: none; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-grid .dest-card, .dest-grid .dest-card:last-child { aspect-ratio: 16 / 10; }
  .hero-card-float { display: none; }
  .section { padding: 60px 0; }
  .service-grid, .package-grid, .car-grid, .steps, .feature-list, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .enquiry-form, .form-success { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.mode-note { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #fff4d6; color: #6b4e00; }
.mode-note.mode-mock { background: #e6f0ff; color: #1d3f78; }
.mode-note.mode-refused { background: #fde8e8; color: #8a1c1c; }
.mode-note.mode-creator { background: #e3f5e8; color: #14532d; font-weight: 600; }
.dep-status { grid-column: 1 / -1; padding: 16px; }

/* Package search, details dialog (W-02 / W-03, 06-Nov) */
.pkg-tools { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.pkg-tool { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--muted); }
.pkg-tool input, .pkg-tool select { font: inherit; font-size: .95rem; color: var(--ink); padding: .6em .8em; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.pkg-count { font-size: .85rem; color: var(--muted); margin: -12px 0 14px; }
.pkg-empty { grid-column: 1 / -1; text-align: center; padding: 32px 16px; border: 1px dashed var(--line); border-radius: 14px; }
.pkg-empty p { margin-bottom: 12px; }
.pkg-badge { font-size: .75rem; color: var(--brand); font-weight: 600; margin-bottom: .6rem; }
.pkg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pkg-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); }
.pkg-dialog::backdrop { background: rgba(8, 28, 36, .55); }
.pkgd-inner { padding: 24px; }
.pkgd-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.pkgd-head h2 { margin: .1rem 0 .4rem; font-size: 1.5rem; }
.pkgd-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.pkgd-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; padding: 14px 16px; background: var(--brand-soft); border-radius: 12px; margin: 0 0 18px; font-size: .92rem; }
.pkgd-facts dt { color: var(--muted); }
.pkgd-facts dd { margin: 0; }
.pkgd-block { margin-bottom: 18px; }
.pkgd-block h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.pkgd-days { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--line); }
.pkgd-days li { padding: 0 0 12px; padding-inline-start: 16px; position: relative; }
.pkgd-days li::before { content: ""; position: absolute; inset-inline-start: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.pkgd-daynum { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pkgd-days p { margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }
.pkgd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pkgd-list { margin: 0; padding-inline-start: 1.1em; font-size: .92rem; }
.pkgd-list li { margin-bottom: .3rem; }
.pkgd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 640px) {
  .pkg-tools { grid-template-columns: 1fr 1fr; }
  .pkg-tools .pkg-tool:first-child { grid-column: 1 / -1; }
  .pkgd-inner { padding: 18px; }
  .pkgd-cols { grid-template-columns: 1fr; }
  .pkgd-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Enquiry form: honeypot and send error (W-05) */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #8a1f1f; font-size: .92rem; }

/* Destination page panel (W-04) */
.dest-detail { margin-top: 24px; padding: 24px; border: 1px solid rgba(6, 30, 40, .12); border-radius: 14px; background: #fff; }
.dest-detail:focus { outline: none; }
.dest-detail-title { margin: 0 0 8px; }
.dest-detail-intro { margin: 0 0 16px; }
.dest-detail h4 { margin: 0 0 6px; }
.dest-detail-list { margin: 0 0 16px; padding-inline-start: 20px; }
.dest-detail-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 20px; }
.dest-detail-facts dt { font-weight: 600; }
.dest-detail-facts dd { margin: 0; }
.dest-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .dest-detail { padding: 16px; } .dest-detail-facts { grid-template-columns: 1fr; } .dest-detail-facts dd { margin-bottom: 8px; } }
