/* ==========================================================================
   عامر ترافيل — Amer Travel
   Single stylesheet. No framework, no build step.

   Breakpoints (min-width, matching the previous design):
     sm  640px   md  768px   lg 1024px   xl 1280px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
    U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
    U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Primary brand colour */
  --ink: #2a2d2f;
  --ink-950: #1b1d1e;
  --ink-900: #2a2d2f;
  --ink-800: #3a3e41;
  --ink-700: #4e5457;
  --ink-600: #6b7275;
  --ink-500: #8b9194;
  --ink-400: #aeb3b5;

  --white: #ffffff;
  --cream: #f8f6f2;
  --sand: #efebe3;
  --line: #e2ded7;

  --brass: #b08a4f;
  --brass-soft: #c9a874;
  --brass-deep: #8c6c3b;

  --danger: #dc2626;
  --danger-soft: #f87171;

  --shadow-card: 0 1px 2px rgba(42, 45, 47, 0.04),
    0 8px 24px -12px rgba(42, 45, 47, 0.18);
  --shadow-card-hover: 0 2px 4px rgba(42, 45, 47, 0.06),
    0 20px 40px -16px rgba(42, 45, 47, 0.26);
  --shadow-nav: 0 1px 0 rgba(42, 45, 47, 0.08),
    0 8px 24px -18px rgba(42, 45, 47, 0.4);

  --radius: 0.375rem;
  --radius-lg: 0.5rem;
  --shell: 80rem;
  --nav-h: 4.5rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
  :root {
    --nav-h: 5.25rem;
  }
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--line);
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  tab-size: 4;
}

body {
  min-height: 100vh;
  background: var(--white);
  color: var(--ink-800);
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Guarantees no horizontal scrolling on any breakpoint. */
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-900);
  font-size: inherit;
  font-weight: inherit;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
  text-align: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

dl,
dd {
  margin: 0;
}

strong,
b {
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--ink-900);
  outline-offset: 2px;
}

::selection {
  background: var(--ink-900);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .shell {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .shell {
    padding-inline: 2.5rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-start: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* Icons: defaults cascade into the <use> shadow tree. Sub-paths that need to
   be solid override fill/stroke on themselves. */
.icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-bold {
  stroke-width: 2.2;
}

.hairline {
  height: 1px;
  width: 100%;
  background: var(--line);
}

/* Legibility scrims for text over photography. */
.scrim {
  background: linear-gradient(
    to top,
    rgba(27, 29, 30, 0.92) 0%,
    rgba(27, 29, 30, 0.72) 28%,
    rgba(27, 29, 30, 0.34) 62%,
    rgba(27, 29, 30, 0.18) 100%
  );
}

.scrim-soft {
  background: linear-gradient(
    to top,
    rgba(27, 29, 30, 0.85) 0%,
    rgba(27, 29, 30, 0.35) 55%,
    rgba(27, 29, 30, 0) 100%
  );
}

/* Scroll reveal — see assets/js/main.js.
   Hidden only when JS is available (<html class="js">), so a no-JS visitor
   gets the finished state instead of a blank page. */
.js .reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Entry animations used above the fold (no observer needed). */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-up {
  animation: fade-up 0.6s var(--ease) both;
}

.fade-in {
  animation: fade-in 0.5s ease both;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn svg {
  flex: none;
}

.btn-primary {
  background: var(--ink-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink-950);
}

.btn-outline {
  border: 1px solid rgba(42, 45, 47, 0.25);
  color: var(--ink-900);
}

.btn-outline:hover {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: var(--white);
}

/* For use over photography. */
.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  backdrop-filter: blur(2px);
}

.btn-ghost-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink-900);
}

.btn-white {
  background: var(--white);
  color: var(--ink-900);
}

.btn-white:hover {
  background: var(--brass-soft);
  color: var(--ink-950);
}

.btn-lg {
  padding: 0.875rem 1.5rem;
}

.btn-sm {
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-900);
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.link-arrow:hover {
  color: var(--brass-deep);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. Eyebrow label
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass-deep);
}

.eyebrow::before {
  content: "";
  height: 1px;
  width: 1.75rem;
  background: var(--brass);
}

.eyebrow--light {
  color: var(--brass-soft);
}

.eyebrow--light::before {
  background: var(--brass-soft);
}

.eyebrow--bare::before {
  display: none;
}

/* --------------------------------------------------------------------------
   7. Cards, chips, media frames
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}

.card-hover:hover {
  box-shadow: var(--shadow-card-hover);
}

.card-ring {
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(42, 45, 47, 0.1);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: var(--cream);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-700);
}

/* Image frame: crops via object-fit, never stretches. */
.media {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: var(--sand);
}

.media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-16-9 {
  aspect-ratio: 16 / 9;
}
.ratio-16-10 {
  aspect-ratio: 16 / 10;
}
.ratio-16-11 {
  aspect-ratio: 16 / 11;
}
.ratio-4-3 {
  aspect-ratio: 4 / 3;
}
.ratio-3-4 {
  aspect-ratio: 3 / 4;
}
.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

/* Zoom on hover of the enclosing card/link. */
.media-zoom > img {
  transition: transform 0.6s ease-out;
}

.group:hover .media-zoom > img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Sections & section headings
   -------------------------------------------------------------------------- */
.section {
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 6rem;
  }
}

.section-sm {
  padding-block: 3.5rem;
}

@media (min-width: 1024px) {
  .section-sm {
    padding-block: 5rem;
  }
}

.section-xs {
  padding-block: 3rem;
}

@media (min-width: 1024px) {
  .section-xs {
    padding-block: 4rem;
  }
}

.bg-white {
  background: var(--white);
}
.bg-cream {
  background: var(--cream);
}
.bg-ink {
  background: var(--ink-900);
}
.bg-ink-deep {
  background: var(--ink-950);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.section-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.section-head h1,
.section-head h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .section-head h1,
  .section-head h2 {
    font-size: 2.125rem;
  }
}

@media (min-width: 1024px) {
  .section-head h1,
  .section-head h2 {
    font-size: 2.5rem;
  }
}

.section-head p {
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-600);
}

@media (min-width: 640px) {
  .section-head p {
    font-size: 1rem;
  }
}

.section-head--light h2 {
  color: var(--white);
}

.section-head--light p {
  color: rgba(255, 255, 255, 0.75);
}

/* Title on one side, "see all" link on the other. */
.section-head-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* --------------------------------------------------------------------------
   9. Grids
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mt-grid {
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .mt-grid {
    margin-top: 3rem;
  }
}

/* Hairline-separated tile grid (why-us, services, umrah services). */
.tile-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile-grid > * {
  background: var(--white);
}

.tile-grid--1-2-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tile-grid--1-2-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile-grid--2-3-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tile-grid--2-3-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tile-grid--1-2-4,
  .tile-grid--2-3-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tile-grid--2-3-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   10. Header / navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Utility strip — desktop only. */
.topbar {
  display: none;
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1024px) {
  .topbar {
    display: block;
  }
}

.topbar-inner {
  display: flex;
  height: 2.25rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-links a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s;
}

.topbar-links a:hover {
  color: var(--white);
}

.topbar-sep {
  height: 0.75rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.navbar {
  background: var(--ink-900);
  transition: box-shadow 0.3s;
}

.navbar.is-scrolled {
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .nav-inner {
    height: 5.25rem;
  }
}

/* Brand */
.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  flex: none;
  color: rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s;
}

.brand:hover .brand-mark {
  opacity: 0.9;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--white);
}

@media (min-width: 640px) {
  .brand-name {
    font-size: 1.125rem;
  }
}

.brand-tagline {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

@media (min-width: 1280px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--white);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0.75rem;
  bottom: -0.125rem;
  height: 2px;
  border-radius: 9999px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  display: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-900);
  transition: background-color 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--brass-soft);
  color: var(--ink-950);
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-burger {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  transition: border-color 0.2s, background-color 0.2s;
}

.nav-burger:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 1280px) {
  .nav-burger {
    display: none;
  }
}

.nav-burger .icon-close {
  display: none;
}

.nav-burger[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-burger[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile sheet */
.mobile-sheet {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink-900);
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.38s var(--ease), opacity 0.24s ease;
}

.mobile-sheet.is-open {
  max-height: min(34rem, calc(100dvh - 4.5rem));
  opacity: 1;
  overflow-y: auto;
  pointer-events: auto;
}

@media (min-width: 1280px) {
  .mobile-sheet {
    display: none;
  }
}

.mobile-sheet-inner {
  padding-block: 1rem;
}

.mobile-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(-0.25rem);
  transition: opacity 0.3s, transform 0.3s, color 0.2s;
}

.mobile-sheet.is-open .mobile-link {
  opacity: 1;
  transform: none;
}

.mobile-link[aria-current="page"] {
  color: var(--brass-soft);
}

.mobile-link svg {
  opacity: 0.4;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.mobile-actions .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.mobile-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(27, 29, 30, 0.45);
  border: 0;
  cursor: default;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1280px) {
  .nav-backdrop {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   11. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-950);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-tint,
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-tint {
  background: rgba(27, 29, 30, 0.45);
}

.hero-gradient {
  background: linear-gradient(
    to left,
    rgba(27, 29, 30, 0.75) 0%,
    rgba(27, 29, 30, 0.3) 50%,
    rgba(27, 29, 30, 0) 100%
  );
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 32rem;
  padding-block: 5rem;
}

@media (min-width: 640px) {
  .hero-inner {
    min-height: 36rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    min-height: 42rem;
    padding-block: 7rem;
  }
}

.hero-content {
  max-width: 42rem;
}

.hero-title {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
  .hero-sub {
    font-size: 1.0625rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Division strip under the hero. */
.hero-strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(27, 29, 30, 0.7);
  backdrop-filter: blur(4px);
}

.hero-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hero-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-strip-item:first-child {
  border-top: 0;
}

@media (min-width: 640px) {
  .hero-strip-item {
    border-top: 0;
    padding-inline: 1.5rem;
  }
  /* RTL: inline-start is the right edge, so the rule sits between columns. */
  .hero-strip-item + .hero-strip-item {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 1024px) {
  .hero-strip-item {
    padding-block: 1.5rem;
  }
}

.hero-strip-icon {
  display: flex;
  flex: none;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--brass-soft);
}

.hero-strip-text {
  min-width: 0;
}

.hero-strip-text b {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
}

.hero-strip-text span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. Inner page header
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-900);
}

.page-header > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  z-index: -2;
}

.page-header-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to left,
    rgba(27, 29, 30, 0.85) 0%,
    rgba(27, 29, 30, 0.55) 50%,
    rgba(27, 29, 30, 0.3) 100%
  );
}

/* Faint grid used when a page has no photography. */
.page-header-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  background-image: linear-gradient(to left, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-header-inner {
  position: relative;
  padding-block: 3.5rem;
}

@media (min-width: 640px) {
  .page-header-inner {
    padding-block: 4rem;
  }
}

@media (min-width: 1024px) {
  .page-header-inner {
    padding-block: 5rem;
  }
}

.breadcrumbs {
  margin-bottom: 1.25rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumbs a {
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs svg {
  opacity: 0.5;
}

.page-title {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
}

@media (min-width: 640px) {
  .page-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-sub {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .page-sub {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   13. Division cards (home)
   -------------------------------------------------------------------------- */
.division-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.division-media {
  position: relative;
}

.division-badge {
  position: absolute;
  inset-inline-end: 1.25rem;
  top: 1.25rem;
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-900);
  box-shadow: var(--shadow-card);
}

.division-eyebrow {
  position: absolute;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
}

.division-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .division-body {
    padding: 2rem;
  }
}

.division-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .division-body h3 {
    font-size: 1.5rem;
  }
}

.division-body > p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ink-600);
}

.division-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem 1rem;
  margin-top: 1.5rem;
}

.division-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-700);
}

.division-list svg {
  flex: none;
  color: var(--brass);
}

.division-cta {
  margin-top: auto;
  padding-top: 2rem;
}

.group:hover .arrow-slide {
  transform: translateX(-0.25rem);
}

.arrow-slide {
  transition: transform 0.3s;
}

/* --------------------------------------------------------------------------
   14. Destination cards
   -------------------------------------------------------------------------- */
.destination-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.destination-link {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.destination-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .destination-body {
    padding: 1.5rem;
  }
}

.destination-body h3 {
  font-size: 1.125rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .destination-body h3 {
    font-size: 1.25rem;
  }
}

.destination-tagline {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brass-deep);
}

.destination-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--ink-600);
}

.destination-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 1rem;
}

.destination-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-900);
  transition: color 0.2s;
}

.group:hover .destination-cta {
  color: var(--brass-deep);
}

/* --------------------------------------------------------------------------
   15. Trip cards
   -------------------------------------------------------------------------- */
.trip-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trip-media {
  position: relative;
}

.trip-tag {
  position: absolute;
  inset-inline-end: 1rem;
  top: 1rem;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius);
  background: rgba(42, 45, 47, 0.9);
  backdrop-filter: blur(4px);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--white);
}

.trip-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .trip-body {
    padding: 1.5rem;
  }
}

.trip-body h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.375;
}

@media (min-width: 640px) {
  .trip-body h3 {
    font-size: 1.125rem;
  }
}

.trip-summary {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ink-600);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}

.spec-list > div {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--ink-700);
}

.spec-list svg {
  flex: none;
  margin-top: 1px;
  color: var(--ink-500);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.price-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--ink-500);
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-top: 0.125rem;
}

.price-value b {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-900);
}

.price-value span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-600);
}

.price-note {
  display: inline-block;
  margin-top: 0.375rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background: var(--sand);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink-600);
}

/* --------------------------------------------------------------------------
   16. Programme cards (Umrah / Hajj)
   -------------------------------------------------------------------------- */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-media {
  position: relative;
}

.program-media-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem;
}

.program-departure {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brass-soft);
}

.program-media-caption h3 {
  margin-top: 0.25rem;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.375;
  color: var(--white);
}

@media (min-width: 640px) {
  .program-media-caption h3 {
    font-size: 1.125rem;
  }
}

.program-flag {
  flex: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink-900);
}

.program-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .program-body {
    padding: 1.5rem;
  }
}

.program-summary {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--ink-600);
}

.program-body .spec-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  gap: 0.625rem;
}

.program-services {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.program-services > p {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-500);
}

.check-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.625;
  color: var(--ink-700);
}

.check-list svg {
  flex: none;
  margin-top: 2px;
  color: var(--brass);
}

.program-body .price-row {
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   17. Why-us / service tiles / steps / values
   -------------------------------------------------------------------------- */
.why-tile {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .why-tile {
    padding: 1.75rem;
  }
}

.icon-square {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink-900);
}

.icon-square--dark {
  background: var(--ink-900);
  color: var(--white);
}

.icon-square--lg {
  height: 3rem;
  width: 3rem;
}

.icon-circle {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9999px;
  color: var(--ink-900);
}

.why-tile h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 800;
}

.why-tile p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--ink-600);
}

.service-tile {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.5rem 1.25rem;
}

.service-tile span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.375;
  color: var(--ink-800);
}

.umrah-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  text-align: center;
}

.umrah-service span:last-child {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.625;
  color: var(--ink-700);
}

/* Numbered steps (Umrah) */
.step-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink-900);
}

.step-num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brass);
}

.step-item h3 {
  margin-top: 1rem;
  font-size: 1.0625rem;
  font-weight: 800;
}

.step-item p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--ink-600);
}

/* Dark step cards (Hajj) */
.step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.step-badge {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--brass-soft);
}

.step-card h3 {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
}

.step-card p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

/* Values (About) */
.value-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(176, 138, 79, 0.6);
}

.value-item h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
}

.value-item p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.values-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Mission / vision */
.pillar {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

@media (min-width: 640px) {
  .pillar {
    padding: 2.25rem;
  }
}

.pillar-eyebrow {
  margin-top: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brass-deep);
}

.pillar h2 {
  margin-top: 0.625rem;
  font-size: 1.25rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .pillar h2 {
    font-size: 1.5rem;
  }
}

.pillar p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--ink-600);
}

/* Inline notice strip */
.notice {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.625;
  color: var(--ink-600);
}

.notice--white {
  background: var(--white);
}

.notice--cream {
  background: var(--cream);
}

/* Cross-link banner */
.crosslink {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

@media (min-width: 640px) {
  .crosslink {
    flex-direction: row;
    align-items: center;
    padding: 2rem;
  }
}

.crosslink h2,
.crosslink h3 {
  font-size: 1.0625rem;
  font-weight: 800;
}

.crosslink p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-600);
}

.crosslink .btn {
  flex: none;
}

/* --------------------------------------------------------------------------
   18. Pilgrimage preview (home) & photo collages
   -------------------------------------------------------------------------- */
.dark-photo-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-950);
}

.dark-photo-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
  z-index: -2;
}

.dark-photo-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to left,
    rgba(27, 29, 30, 1) 0%,
    rgba(27, 29, 30, 0.85) 50%,
    rgba(27, 29, 30, 0.6) 100%
  );
}

.split {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
  }
}

.service-pills {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.service-pill svg {
  flex: none;
  color: var(--brass-soft);
}

.service-pill span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.collage-col {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  align-content: start;
}

.collage .media {
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   19. Gallery strip (home)
   -------------------------------------------------------------------------- */
.strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .strip-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
  }
}

.strip-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.strip-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.strip-tile:hover img {
  transform: scale(1.05);
}

.strip-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 29, 30, 0);
  transition: background-color 0.3s;
}

.strip-tile:hover::after {
  background: rgba(27, 29, 30, 0.25);
}

/* --------------------------------------------------------------------------
   20. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink-900);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    padding-block: 5rem;
  }
}

.cta-inner h2 {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

@media (min-width: 640px) {
  .cta-inner h2 {
    font-size: 2rem;
  }
}

.cta-inner > div:first-child {
  max-width: 36rem;
}

.cta-inner p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.65);
}

.cta-actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cta-actions {
    width: auto;
    flex-direction: row;
    align-items: center;
  }
}

.btn-quiet-light {
  color: rgba(255, 255, 255, 0.7);
}

.btn-quiet-light:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   21. Trips page — filters
   -------------------------------------------------------------------------- */
.trip-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
  padding-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .trip-filters {
    flex-wrap: wrap;
    margin-inline: 0;
    padding-inline: 0;
  }
}

.trip-filter {
  flex: none;
  padding: 0.625rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.trip-filter:hover {
  border-color: var(--ink-400);
  color: var(--ink-900);
}

.trip-filter[aria-current="page"] {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: var(--white);
}

.result-count {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-500);
}

.result-count b {
  font-weight: 600;
  color: var(--ink-800);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-state svg {
  color: var(--ink-400);
}

.empty-state > p:first-of-type {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-800);
}

.empty-state > p:last-of-type {
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-600);
}

.is-hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   22. Trip detail
   -------------------------------------------------------------------------- */
.detail-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .detail-layout {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .detail-layout {
    grid-template-columns: 8fr 4fr;
  }
}

.detail-main h2 {
  font-size: 1.25rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .detail-main h2 {
    font-size: 1.5rem;
  }
}

.detail-block {
  margin-top: 2.5rem;
}

.detail-block > p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--ink-600);
}

.activity-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.activity-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-size: 0.875rem;
  color: var(--ink-700);
}

.activity-list svg {
  flex: none;
  margin-top: 1px;
  color: var(--brass);
}

.incl-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .incl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.incl-grid h3 {
  font-size: 1.0625rem;
  font-weight: 800;
}

.incl-grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
}

.incl-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-700);
}

.incl-grid li svg {
  flex: none;
  margin-top: 2px;
  color: var(--brass);
}

.excl li {
  color: var(--ink-600);
}

.excl li svg {
  color: var(--ink-400);
}

.booking-rail {
  position: static;
}

@media (min-width: 1024px) {
  .booking-rail {
    position: sticky;
    top: 7rem;
  }
}

.booking-card {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .booking-card {
    padding: 1.75rem;
  }
}

.booking-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.booking-price b {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ink-900);
}

.booking-price span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-600);
}

.booking-hint {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--ink-500);
}

.booking-flag {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--sand);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.625;
  color: var(--ink-600);
}

.booking-specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}

/* icon spans both rows; term above value. */
.booking-specs > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: start;
}

.booking-specs svg {
  grid-row: 1 / 3;
  margin-top: 2px;
  color: var(--ink-500);
}

.booking-specs dt {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-500);
}

.booking-specs dd {
  margin-top: 0.125rem;
  color: var(--ink-800);
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   23. Gallery page
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gfilter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.gfilter:hover {
  border-color: var(--ink-400);
  color: var(--ink-900);
}

.gfilter[aria-selected="true"] {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: var(--white);
}

.gfilter-count {
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background: var(--cream);
  font-size: 0.6875rem;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}

.gfilter[aria-selected="true"] .gfilter-count {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gtile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--sand);
  padding: 0;
}

.gtile--portrait {
  aspect-ratio: 3 / 4;
}

.gtile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.gtile:hover img {
  transform: scale(1.06);
}

.gtile-scrim {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.gtile:hover .gtile-scrim,
.gtile:focus-visible .gtile-scrim {
  opacity: 1;
}

.gtile-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.75rem;
  text-align: start;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s, transform 0.3s;
}

.gtile:hover .gtile-caption,
.gtile:focus-visible .gtile-caption {
  opacity: 1;
  transform: none;
}

.gtile-caption b {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.375;
  color: var(--white);
}

.gtile-caption span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 5rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
  text-align: center;
}

.gallery-empty svg {
  color: var(--ink-400);
}

.gallery-empty > p:first-of-type {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-800);
}

.gallery-empty > p:last-of-type {
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-600);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  flex-direction: column;
  background: rgba(27, 29, 30, 0.95);
  backdrop-filter: blur(4px);
}

.lightbox.is-open {
  display: flex;
  animation: fade-in 0.25s ease both;
}

.lb-toolbar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .lb-toolbar {
    padding-inline: 1.5rem;
  }
}

.lb-counter {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.lb-close {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  transition: background-color 0.2s;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lb-stage {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem 0.75rem;
}

@media (min-width: 640px) {
  .lb-stage {
    padding-inline: 4rem;
  }
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.lb-figure {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  max-height: 100%;
  width: 100%;
  max-width: 64rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.lb-imgwrap {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.lb-imgwrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
  animation: fade-in 0.3s ease both;
}

.lb-caption {
  flex: none;
  padding-bottom: 0.5rem;
  text-align: center;
}

.lb-caption b {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}

.lb-caption span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.lb-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: flex;
  height: 3rem;
  width: 3rem;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  background: rgba(27, 29, 30, 0.6);
  color: var(--white);
  transition: background-color 0.2s;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lb-prev {
  inset-inline-end: 0.5rem;
}

.lb-next {
  inset-inline-start: 0.5rem;
}

@media (min-width: 640px) {
  .lb-prev {
    inset-inline-end: 1rem;
  }
  .lb-next {
    inset-inline-start: 1rem;
  }
}

/* --------------------------------------------------------------------------
   24. Contact page
   -------------------------------------------------------------------------- */
.contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.contact-card h2 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 800;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.contact-lines a,
.contact-lines span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-800);
  word-break: break-word;
}

.contact-lines a {
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.contact-lines a:hover {
  color: var(--brass-deep);
  text-decoration: underline;
}

.contact-lines .ltr {
  display: block;
  direction: ltr;
  text-align: start;
  font-variant-numeric: tabular-nums;
}

.contact-note {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--ink-500);
}

.contact-split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-split {
    grid-template-columns: 5fr 7fr;
    gap: 3.5rem;
  }
}

.assurances {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.assurances li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.assurances svg {
  flex: none;
  margin-top: 2px;
  color: var(--brass);
}

.assurances span {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-600);
}

.direct-box {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.direct-box > p {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-800);
}

.direct-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.75rem;
}

/* Form */
.contact-form {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2rem;
  }
}

.form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field--full {
    grid-column: span 2;
  }
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-800);
}

.field label .req {
  color: var(--danger);
}

.field label .opt {
  font-weight: 400;
  color: var(--ink-500);
}

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--ink-400);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink-700);
  box-shadow: 0 0 0 2px rgba(42, 45, 47, 0.15);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--danger-soft);
}

.input[aria-invalid="true"]:focus,
.select[aria-invalid="true"]:focus,
.textarea[aria-invalid="true"]:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.35);
}

.input.ltr {
  direction: ltr;
  text-align: start;
}

.textarea {
  resize: vertical;
  min-height: 8rem;
}

.select-wrap {
  position: relative;
}

.select {
  appearance: none;
  padding-inline-start: 2.5rem;
}

.select-wrap svg {
  position: absolute;
  inset-inline-start: 0.875rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  pointer-events: none;
  color: var(--ink-500);
}

.field-error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #b91c1c;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .form-footer .btn {
    align-self: flex-start;
    width: auto;
  }
}

.form-status {
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--ink-500);
}

/* Map */
.map-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .map-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.map-head h2 {
  font-size: 1.25rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .map-head h2 {
    font-size: 1.5rem;
  }
}

.map-head p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--ink-600);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.map-frame {
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 20rem;
  border: 0;
}

@media (min-width: 640px) {
  .map-frame iframe {
    height: 24rem;
  }
}

@media (min-width: 1024px) {
  .map-frame iframe {
    height: 28rem;
  }
}

/* --------------------------------------------------------------------------
   25. About page collage & story
   -------------------------------------------------------------------------- */
.story {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .story {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
  }
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--ink-600);
}

.story-copy strong {
  color: var(--ink-900);
}

/* --------------------------------------------------------------------------
   26. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: var(--white);
}

.footer-inner {
  padding-block: 3.5rem;
}

@media (min-width: 1024px) {
  .footer-inner {
    padding-block: 5rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 4;
  }
  .footer-col-a,
  .footer-col-b {
    grid-column: span 2;
  }
  .footer-contact {
    grid-column: span 4;
  }
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-row .brand-mark {
  color: rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-tagline {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--brass-soft);
}

.footer-desc {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-col-b .footer-group + .footer-group {
  margin-top: 2rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-list svg {
  flex: none;
  margin-top: 2px;
  color: var(--brass-soft);
}

.footer-contact-list a {
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: var(--white);
}

.footer-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  direction: ltr;
}

.footer-phones .sep {
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    text-align: start;
  }
}

/* --------------------------------------------------------------------------
   27. Floating WhatsApp button (all pages)
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  z-index: 40; /* under the sticky header (50) and the lightbox (60) */
  inset-block-end: 1.25rem;
  /* RTL → right side, which also keeps clear of the left-hand RTL scrollbar. */
  inset-inline-start: 1.25rem;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.125rem;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.55),
    0 2px 6px rgba(27, 29, 30, 0.2);
  transition: transform 0.25s var(--ease), background-color 0.2s,
    box-shadow 0.25s;
}

.wa-float:hover {
  background: #1fb457;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(37, 211, 102, 0.6),
    0 3px 8px rgba(27, 29, 30, 0.24);
}

.wa-float:active {
  transform: translateY(0);
}

.wa-float:focus-visible {
  outline: 2px solid var(--ink-900);
  outline-offset: 3px;
}

.wa-float-icon {
  fill: currentColor;
  stroke: none;
}

@media (min-width: 640px) {
  .wa-float {
    inset-block-end: 1.5rem;
    inset-inline-start: 1.5rem;
    height: 3.75rem;
    width: 3.75rem;
    border-radius: 1.25rem;
  }
}

/* Label — hover-capable pointers only. */
.wa-float-tip {
  position: absolute;
  inset-inline-end: calc(100% + 0.625rem);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateX(0.25rem);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

@media (hover: none) {
  .wa-float-tip {
    display: none;
  }
}

.wa-float:hover .wa-float-tip,
.wa-float:focus-visible .wa-float-tip {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   28. 404
   -------------------------------------------------------------------------- */
.notfound {
  display: flex;
  min-height: 60vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 5rem;
  text-align: center;
}

.notfound-icon {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--ink-900);
}

.notfound-code {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
}

.notfound h1 {
  margin-top: 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .notfound h1 {
    font-size: 2.25rem;
  }
}

.notfound > p {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ink-600);
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2rem;
}

.notfound-links a {
  padding: 0.625rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.notfound-links a:hover {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   28. Small helpers used inline
   -------------------------------------------------------------------------- */
.mt-2 {
  margin-top: 0.5rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-9 {
  margin-top: 2.25rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.flex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.flex-actions--stack {
  flex-direction: column;
}
@media (min-width: 640px) {
  .flex-actions--stack {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   29. Floating WhatsApp button (every page)
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  z-index: 40; /* under the sticky header (50) and the lightbox (60) */
  inset-block-end: 1.25rem;
  /* RTL → right-hand side, clear of the left-hand RTL scrollbar. */
  inset-inline-start: 1.25rem;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.125rem;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 18px -4px rgba(37, 211, 102, 0.45),
    0 2px 8px rgba(27, 29, 30, 0.18);
  transition: transform 0.25s var(--ease), background-color 0.2s,
    box-shadow 0.25s var(--ease);
}

.wa-float:hover {
  background: #1eb85a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(27, 29, 30, 0.22);
}

.wa-float:active {
  transform: translateY(0);
}

.wa-float:focus-visible {
  outline: 2px solid var(--ink-900);
  outline-offset: 3px;
}

.wa-float-icon {
  width: 1.875rem;
  height: 1.875rem;
}

@media (min-width: 640px) {
  .wa-float {
    inset-block-end: 1.5rem;
    inset-inline-start: 1.5rem;
    height: 3.75rem;
    width: 3.75rem;
    border-radius: 1.25rem;
  }

  .wa-float-icon {
    width: 2rem;
    height: 2rem;
  }
}

/* Label — hover-capable pointers only, so it never blocks a tap. */
.wa-float-tip {
  position: absolute;
  inset-inline-end: calc(100% + 0.625rem);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateX(0.25rem);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease);
}

@media (hover: none) {
  .wa-float-tip {
    display: none;
  }
}

.wa-float:hover .wa-float-tip,
.wa-float:focus-visible .wa-float-tip {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   30. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
