/* Battuta Baku landing page. Mobile first, logical properties so RTL and LTR share one sheet. */

:root {
  --brand: #813a76;
  --brand-dark: #6a2f61;
  --brand-soft: #f0e9ff;
  --brand-tint: #e2d6f8;
  --ink: #020615;
  --ink-2: #353844;
  --muted: #5f6270; /* darker than the site's #7B7E88 to pass AA on white */
  --line: #e4e2ea;
  --line-strong: #acadb5;
  --bg: #ffffff;
  --bg-tint: #faf7ff;
  --wa: #25d366;
  --wa-dark: #128c4a;
  --wa-text: #05361a;
  --danger: #b3261e;

  --radius-card: 16px;
  --radius-btn: 12px;
  --shadow-card: 0 1px 2px rgba(2, 6, 21, 0.06), 0 8px 24px rgba(2, 6, 21, 0.08);
  --shadow-float: 0 12px 40px rgba(2, 6, 21, 0.18);
  --gutter: 16px;
  --header-h: 64px;

  --font-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-head: var(--font-body);
}
.lang-en {
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Chillax', 'Poppins', system-ui, sans-serif;
}

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

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.3; margin: 0 0 0.5em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { line-height: 1.45; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
ul[role='list'], ol[role='list'] { list-style: none; margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: var(--radius-btn);
  border: 2px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.075rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: var(--wa-text); }
.btn-wa:hover { background: #1fbd59; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); box-shadow: 0 6px 18px rgba(129, 58, 118, 0.3); }
.btn-wa-outline { background: #fff; color: var(--wa-dark); border-color: var(--wa); }
.btn-wa-outline:hover { background: #effcf4; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); border-radius: 100px; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); }
.btn-dark { background: var(--ink); color: #fff; border-radius: 100px; }
.btn-dark:hover { background: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(2, 6, 21, 0.06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 34px; height: auto; }
.brand-name { font-family: 'Poppins', var(--font-body); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-light .brand-name { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  border-radius: 100px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.lang-switch:hover { background: var(--brand-soft); color: var(--brand); }
.lang-switch .icon { width: 20px; height: 20px; }
/* Small phones: the logo, language link and WhatsApp button would overlap, so the globe goes
   and the WhatsApp button keeps its icon (the label stays for screen readers). */
@media (max-width: 400px) {
  .header-actions { gap: 4px; }
  .lang-switch { padding: 8px; }
  .lang-switch .icon { display: none; }
  .header-actions .btn-wa { padding-inline: 12px; }
  .header-actions .btn-wa > span:not(.sr-only) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(78svh, 640px); display: flex; align-items: flex-end; }
.hero-media, .final-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .final-media img { width: 100%; height: 100%; object-fit: cover; }
/* Hero photos stack and cross-fade (main.js moves .is-active). */
.hero-media .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-media .hero-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-media .hero-slide { transition: none; } }
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 6, 21, 0.05) 0%, rgba(2, 6, 21, 0.18) 40%, rgba(2, 6, 21, 0.8) 100%),
    linear-gradient(90deg, rgba(129, 58, 118, 0.25), rgba(129, 58, 118, 0));
}
.hero-content { padding-top: 56px; padding-bottom: 104px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 6px 12px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero h1 { color: #fff; font-size: clamp(1.85rem, 6.4vw, 3.4rem); font-weight: 700; max-width: 18ch; text-wrap: balance; }
.lang-en .hero h1 { max-width: 22ch; font-weight: 600; }
.hero-sub { font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 56ch; color: rgba(255, 255, 255, 0.92); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 14px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 0.9rem; font-weight: 500;
}
.chip .icon { color: var(--wa-dark); }

/* ---------- Booking widget ---------- */
.booking { position: relative; z-index: 5; margin-top: -72px; }
.booking-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-float); padding: 18px 16px 20px; }
.booking-title { font-size: 1.2rem; margin-bottom: 12px; }
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 2px 16px 4px;
  scroll-snap-type: x proximity;
}
.tabs { contain: paint; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: 100px; background: #fff; color: var(--ink-2);
  font-weight: 500; font-size: 0.95rem; cursor: pointer; scroll-snap-align: start; white-space: nowrap;
}
.tab .icon { width: 20px; height: 20px; }
.tab:hover { border-color: var(--brand-tint); color: var(--brand); }
.tab[aria-selected='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; align-items: start; }
.booking-form > [data-field='date'],
.booking-form > [data-field='destination'],
.booking-form > [data-show='multi_day'],
.booking-form > [data-field='name'],
.booking-form > [data-field='phone'],
.booking-form > [data-field='requests'],
.booking-submit { grid-column: 1 / -1; }
.booking-note { flex-wrap: wrap; text-align: center; }
.field { min-width: 0; }
.label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; width: 20px; height: 20px; }
.input-icon input, .input-icon select {
  width: 100%; min-height: 48px; padding: 10px 12px; padding-inline-start: 42px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-btn); background: #fff; color: var(--ink);
  appearance: none; -webkit-appearance: none;
}
.input-icon select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23813a76' stroke-width='2'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 12px center; padding-inline-end: 40px;
}
[dir='ltr'] .input-icon select { background-position: right 12px center; }
.input-plain input { padding-inline: 12px; text-align: start; }
.booking-form textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-btn);
  background: #fff; color: var(--ink); resize: vertical; line-height: 1.5;
}
.booking-form textarea:focus { border-color: var(--brand); outline: 3px solid rgba(129, 58, 118, 0.18); outline-offset: 0; }
.phone-row { display: flex; gap: 8px; }
.phone-row select, .phone-row input {
  min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-btn);
  background: #fff; color: var(--ink);
}
.phone-row select { flex: 0 0 44%; min-width: 0; text-overflow: ellipsis; }
.phone-row input { flex: 1; min-width: 0; letter-spacing: 0.02em; }
.phone-row select:focus, .phone-row input:focus { border-color: var(--brand); outline: 3px solid rgba(129, 58, 118, 0.18); outline-offset: 0; }
.field.has-error .phone-row input { border-color: var(--danger); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.booking-privacy { display: block; width: 100%; font-size: 0.8rem; }
.input-icon input:focus, .input-icon select:focus, .stepper:focus-within { border-color: var(--brand); outline: 3px solid rgba(129, 58, 118, 0.18); outline-offset: 0; }
.stepper {
  display: flex; align-items: center; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-btn); overflow: hidden;
}
.stepper input {
  flex: 1; min-width: 0; width: 100%; border: 0; text-align: center; font-weight: 600; background: transparent;
  -moz-appearance: textfield; appearance: textfield; padding: 8px 0;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.step-btn {
  flex: none; width: 44px; height: 46px; display: grid; place-items: center; border: 0; background: var(--brand-soft);
  color: var(--brand); cursor: pointer;
}
.step-btn:hover { background: var(--brand-tint); }
.step-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.step-btn .icon { width: 18px; height: 18px; }
.field-error { margin: 4px 0 0; font-size: 0.85rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.field.has-error .input-icon input, .field.has-error .stepper { border-color: var(--danger); }
.booking-submit { margin-top: 4px; }
.booking-submit-two { display: grid; gap: 10px; }
.booking-hint { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }
.booking-done { padding: 8px 4px 4px; text-align: center; }
.booking-done:focus { outline: none; }
.booking-done-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.booking-done-title .icon { width: 28px; height: 28px; color: #fff; background: var(--wa-dark); border-radius: 50%; padding: 4px; }
.booking-done-text { color: var(--ink-2); max-width: 46ch; margin: 0 auto 16px; }
.booking-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.booking-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 0.9rem; color: var(--muted); }
.booking-note .icon { color: var(--wa-dark); }
[hidden] { display: none !important; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section-tint { background: var(--bg-tint); }
.section-head { margin-bottom: 28px; max-width: 680px; }
.section-head h2, .policy-box h2, .compare-body h2 { font-size: clamp(1.5rem, 4.6vw, 2.25rem); font-weight: 700; }
.lang-en .section-head h2, .lang-en .policy-box h2, .lang-en .compare-body h2 { font-weight: 600; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.grid { display: grid; gap: 16px; }

/* Quick */
.quick { padding-block: 32px 8px; }
.quick-card {
  display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--radius-card);
  background: var(--brand-soft); border: 1px solid var(--brand-tint);
}
.quick-text h2 { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin-bottom: 4px; }
.quick-text h2 .icon { color: var(--brand); }
.quick-text p { margin: 0; color: var(--ink-2); }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-actions .btn { padding-inline: 10px; font-size: 0.95rem; }

/* Cards */
.card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--brand-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 6px;
  background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.features { font-size: 0.875rem; color: var(--muted); margin-bottom: 12px; }
.benefits { display: grid; gap: 8px; margin-bottom: 18px !important; font-size: 0.95rem; }
.benefits li { display: flex; gap: 8px; align-items: flex-start; }
.benefits .icon { color: var(--brand); margin-top: 3px; }
.card-body .btn { margin-top: auto; padding-inline: 12px; font-size: 0.95rem; white-space: nowrap; }
.grid-services { grid-template-columns: 1fr; }

/* Trips: swipeable row on phones, grid on large screens */
.grid-trips {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: thin;
  contain: paint; /* stops Chrome leaking the scroller's width into the page in RTL */
}
.trip-card { flex: 0 0 78%; scroll-snap-align: start; }
.trip-blurb { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 12px; }
.trip-meta { display: flex; gap: 16px; margin: 0 0 16px; font-size: 0.9rem; color: var(--muted); }
.trip-meta div { display: flex; align-items: center; gap: 6px; }
.trip-meta dt { display: flex; color: var(--brand); }
.trip-meta dd { margin: 0; }

/* Coming soon */
.grid-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.soon-card {
  display: flex; flex-direction: column; gap: 10px; padding: 12px;
  border: 1.5px dashed var(--brand-tint); border-radius: var(--radius-card); background: var(--bg-tint);
}
.soon-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.soon-badge { padding: 2px 8px; border-radius: 100px; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 600; }
.soon-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.soon-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: auto; padding: 6px 8px;
  border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--brand);
  text-decoration: none; font-size: 0.8rem; font-weight: 600; line-height: 1.25; text-align: center;
}
.soon-link:hover { background: var(--brand-soft); border-color: var(--brand-tint); }

/* Compare */
.section-dark { background: var(--ink); color: rgba(255, 255, 255, 0.86); }
.section-dark h2 { color: #fff; }
.compare-wrap { display: grid; gap: 28px; }
.compare-media { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 3 / 2; }
.compare-media img { width: 100%; height: 100%; object-fit: cover; }
.lead { font-size: 1.05rem; color: rgba(255, 255, 255, 0.75); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 12px 8px; text-align: start; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.compare-table thead th { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); font-weight: 600; }
.compare-table thead th.us { color: #fff; }
.compare-table tbody th { color: #fff; font-weight: 600; white-space: nowrap; }
.compare-table td { color: rgba(255, 255, 255, 0.72); }
.compare-table td.us { color: #fff; background: rgba(129, 58, 118, 0.28); }
.compare-table tbody tr:last-child td.us { border-end-start-radius: 10px; border-end-end-radius: 10px; }
.compare-table thead th.us { background: var(--brand); border-start-start-radius: 10px; border-start-end-radius: 10px; }
.cmp-yes, .cmp-no { display: inline-flex; vertical-align: -3px; margin-inline-end: 4px; }
.cmp-yes { color: var(--wa); }
.cmp-no { color: #ff8a80; }

/* Who */
.grid-who { grid-template-columns: 1fr; gap: 12px; }
.who-item, .grid-policy li {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-card);
  border: 1px solid var(--line); background: #fff;
}
.who-item h3, .grid-policy h3 { font-size: 1.05rem; margin-bottom: 4px; }
.who-item p, .grid-policy p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.icon-bubble { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 20px; padding-inline-start: 76px; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.step-num {
  position: absolute; inset-inline-start: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 1.1rem;
}

/* Policy */
.policy-box { padding: 24px 18px; border-radius: 20px; background: linear-gradient(160deg, var(--brand-soft), #fff 70%); border: 1px solid var(--brand-tint); }
.policy-box h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.policy-box h2 .icon { width: 30px; height: 30px; color: var(--brand); }
.grid-policy { grid-template-columns: 1fr; gap: 12px; }
.grid-policy li { border-color: var(--brand-tint); }

/* Trust */
.trust { padding-block: 8px 24px; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-list li { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 100px; background: var(--brand-soft); color: var(--ink-2); }
.trust-list strong { font-size: 1.4rem; color: var(--brand); }
.trust-list .trust-small { font-size: 1rem; }
.trust-list .icon { color: var(--brand); }

/* Reviews */
.grid-reviews { grid-template-columns: 1fr; }
.review-card { margin: 0; padding: 20px; }
.stars { display: flex; gap: 2px; color: #f5a623; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 12px; font-size: 1rem; color: var(--ink); }
.review-card figcaption { font-size: 0.9rem; color: var(--ink-2); }
.review-meta { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
.review-meta .icon { color: var(--wa-dark); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-item[open] { border-color: var(--brand-tint); box-shadow: var(--shadow-card); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px;
  cursor: pointer; list-style: none; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--brand); transition: transform 0.2s; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 16px; color: var(--ink-2); }
.faq-answer p { margin: 0; }

/* App */
.app-section { padding-block: 8px 56px; }
.app-card {
  display: grid; gap: 16px; justify-items: center; text-align: center; padding: 24px 18px;
  border-radius: 20px; border: 1px solid var(--line); background: #fff;
}
.app-logo { width: 52px; }
.app-text h2 { font-size: 1.3rem; margin-bottom: 4px; }
.app-text p { margin: 0; color: var(--muted); }
.app-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Final CTA */
.final-cta { position: relative; isolation: isolate; padding-block: 72px; text-align: center; color: #fff; }
.final-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(129, 58, 118, 0.88), rgba(74, 28, 68, 0.94)); }
.final-content h2 { color: #fff; font-size: clamp(1.6rem, 5vw, 2.6rem); }
.final-content p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: 24px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding-block: 40px 24px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px; }
.site-footer p { margin: 12px 0 0; }
.footer-policy { display: flex; gap: 8px; align-items: flex-start; }
.footer-policy .icon { margin-top: 3px; color: var(--wa); }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 10px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a, .footer-bottom a { color: rgba(255, 255, 255, 0.85); text-decoration: none; display: inline-block; padding-block: 6px; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }
.footer-bottom p { margin: 0; padding-block: 6px; }

/* ---------- Sticky CTA (phones) and floating button (desktop) ---------- */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff;
  box-shadow: 0 -6px 24px rgba(2, 6, 21, 0.12); transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta p { flex: 1; margin: 0; font-size: 0.82rem; line-height: 1.35; color: var(--ink-2); font-weight: 500; }
.sticky-cta .btn { flex: none; min-height: 48px; padding-inline: 16px; }
body.has-sticky { padding-bottom: 76px; }
.wa-float { display: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .trip-card { flex-basis: 44%; }
  .grid-soon { grid-template-columns: repeat(3, 1fr); }
  .grid-who { grid-template-columns: repeat(2, 1fr); }
  .grid-reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quick-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 28px; }
  .quick-actions { display: flex; }
  .booking-card { padding: 24px; }
  .tabs { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .booking-form { grid-template-columns: repeat(4, 1fr); }
  .booking-form > [data-field='date'] { grid-column: span 2; }
  .booking-form > [data-field='destination'] { grid-column: span 2; }
  .booking-form > [data-show='multi_day'] { grid-column: span 1; }
  .booking-form > [data-field='name'] { grid-column: span 2; }
  .booking-form > [data-field='phone'] { grid-column: span 2; }
  .booking-form > [data-field='requests'] { grid-column: span 2; }
  .compare-table { font-size: 0.95rem; }
  .compare-table th, .compare-table td { padding: 14px 12px; }
  .app-card { grid-template-columns: auto 1fr auto; text-align: start; justify-items: start; padding: 24px 28px; }
  .footer-grid { grid-template-columns: 2fr 1fr; }
}

@media (min-width: 900px) {
  .hero { min-height: 620px; }
  .hero-content { padding-bottom: 140px; }
  .booking { margin-top: -96px; }
  .booking-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
  .booking-form .field, .booking-form > [data-show] { position: relative; flex: 1 1 130px; }
  .booking-form > [data-field='date'], .booking-form > [data-field='destination'] { flex: 1.4 1 170px; }
  .booking-form > [data-field='name'] { flex: 1.4 1 200px; }
  .booking-form > [data-field='phone'] { flex: 2 1 300px; }
  .booking-form > [data-field='requests'] { flex: 3 1 360px; }
  .booking-form textarea { min-height: 48px; height: 48px; }
  .booking-form .field-error { position: absolute; inset-inline-start: 0; top: 100%; white-space: nowrap; }
  .section { padding-block: 80px; }
  .compare-wrap { grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; }
  .compare-media { aspect-ratio: 4 / 5; }
  .grid-who { grid-template-columns: repeat(3, 1fr); }
  .grid-policy { grid-template-columns: repeat(3, 1fr); }
  .grid-policy li { flex-direction: column; }
  .policy-box { padding: 40px; }
  .final-cta { padding-block: 96px; }
}

/* On wide screens the button joins the field row and the note wraps below it */
@media (min-width: 900px) {
  .booking-submit:not(.booking-submit-two) { display: contents; }
  .booking-submit-two { flex: 1 1 100%; grid-template-columns: 1fr 1fr; }
  .booking-submit-two .booking-hint, .booking-submit-two .booking-note { grid-column: 1 / -1; }
  .booking-submit .btn { flex: 1.6 1 240px; width: auto; }
  .booking-note { flex-basis: 100%; justify-content: flex-start; margin-top: 18px; text-align: start; }
  .booking-privacy { display: inline; width: auto; margin-inline-start: 8px; }
}

@media (min-width: 1100px) {
  .grid-services { grid-template-columns: repeat(4, 1fr); }
  .grid-trips { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; contain: none; }
  .grid-soon { grid-template-columns: repeat(5, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 64px 20px 20px; }
  .step-num { inset-inline-start: 20px; top: 16px; }
  .grid-reviews { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
  .wa-float {
    position: fixed; z-index: 60; bottom: 24px; inset-inline-end: 24px; width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center; background: var(--wa); color: var(--wa-text); box-shadow: var(--shadow-float);
    transition: transform 0.2s;
  }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float .icon { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
