/* ==========================================================================
   Al Dairy Travel & Tourism — visitor experience
   Arabic-first, warm editorial direction inspired by the supplied brand.
   ========================================================================== */

/* Typeface ----------------------------------------------------------------
   Cairo (SIL OFL, see /assets/fonts/OFL.txt), self-hosted because the CSP
   allows no external origins. One variable file per script covers every
   weight from 200 to 1000. */

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/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;
}

:root {
  /* Sampled from the supplied logo: the calligraphy is #e85020 and the
     wordmark a slate grey #384040 - deliberately not black. Every dark
     surface derives from that slate, so the site reads as the brand. */
  --orange: #e85020;
  --orange-dark: #c23f12;
  --orange-soft: #fdefe7;
  --gold: #d7b56d;
  --gold-soft: #f7edd5;
  --charcoal: #384040;
  --charcoal-soft: #465050;
  --ink: #2e3636;
  --muted: #6f7673;
  --line: #e6ded3;
  --bg: #f7f3ed;
  --card: #fffdf9;
  --ok: #217552;
  --warn: #98681a;
  --danger: #9f3025;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 2px 4px rgb(40 26 13 / 4%), 0 10px 28px rgb(40 26 13 / 6%);
  --shadow: 0 8px 24px rgb(40 26 13 / 7%), 0 24px 54px rgb(40 26 13 / 7%);
  --wrap: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 11%, rgb(232 80 32 / 7%), transparent 23rem),
    var(--bg);
  color: var(--ink);
  font-family: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-start: -9999px;
  z-index: 200;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  padding: .7rem 1rem;
}

.skip-link:focus { inset-inline-start: 1rem; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgb(232 80 32 / 42%);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Header ------------------------------------------------------------------ */

/* A light header instead of a dark bar: the coloured logo carries the brand,
   and the slate and orange do the talking. */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  color: var(--charcoal);
  background: rgb(255 253 249 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--charcoal);
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 58px;
  display: grid;
  place-items: center;
}

.brand-mark img { width: 39px; max-height: 55px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 1rem; font-weight: 700; }
.brand-text small {
  /* Darker gold: the pale one vanished once the header went light. */
  color: #ad8a3f;
  font-size: .62rem;
  letter-spacing: .25em;
  margin-block-start: .15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-inline-start: auto;
}

.site-nav a {
  position: relative;
  color: #5b6360;
  padding: .55rem .85rem;
  border-radius: 11px;
  font-size: .92rem;
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover { color: var(--charcoal); background: rgb(56 64 64 / 7%); }
.site-nav a.active { color: var(--orange-dark); background: var(--orange-soft); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  inset-inline: .85rem;
  inset-block-end: .18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

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

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 0;
  border-radius: 13px;
  padding: .65rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 9px 22px rgb(232 80 32 / 24%);
}
.btn-primary:hover:not([disabled]) {
  background: var(--orange-dark);
  box-shadow: 0 12px 28px rgb(232 80 32 / 30%);
}
.btn-ghost {
  min-height: 42px;
  color: var(--charcoal);
  background: transparent;
  border: 1px solid rgb(56 64 64 / 22%);
  padding: .5rem .9rem;
  font-size: .88rem;
}
.btn-ghost:hover { background: var(--charcoal); color: #fff; }
.btn-outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-outline:hover { background: var(--orange-soft); border-color: rgb(232 80 32 / 25%); }
.btn-light {
  color: var(--charcoal);
  background: #fff;
  box-shadow: 0 9px 22px rgb(0 0 0 / 13%);
}
.btn-light:hover { background: var(--gold-soft); }
.btn-block { width: 100%; }

/* Main and hero ----------------------------------------------------------- */

main { flex: 1; padding-block-end: 5rem; }

.hero {
  position: relative;
  min-height: 490px;
  margin-block: 2rem 0;
  padding: clamp(2rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(90deg, rgb(40 49 49 / 8%) 0%, rgb(40 49 49 / 55%) 48%, rgb(40 49 49 / 96%) 100%),
    url("/assets/trips/karbala.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  inset-inline-end: -150px;
  inset-block-start: -160px;
  border-radius: 50%;
  background: rgb(232 80 32 / 30%);
  filter: blur(12px);
}

.hero-content { width: min(600px, 100%); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-block-end: 1rem;
  color: #f6d9ad;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}
.hero h1 {
  margin: 0 0 1rem;
  max-width: 12ch;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.hero p {
  margin: 0 0 1.7rem;
  max-width: 51ch;
  color: #e7e1d9;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.hero .btn { padding-inline: 1.5rem; }
.hero-contact {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 700;
  padding: .5rem .25rem;
}
.hero-contact svg { width: 18px; height: 18px; color: var(--gold); }

.hero-note {
  position: absolute;
  /* Bottom of the photo side (inline-end = left in RTL): the text side holds
     the call-to-action buttons, and the feature strip overlaps the hero's
     bottom edge by 42px - this corner is the one spot nothing else claims. */
  inset-inline-end: 1.5rem;
  inset-block-end: 5rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .75rem;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  color: #fff;
  background: rgb(50 59 59 / 50%);
  backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 700;
}
.hero-note-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgb(232 80 32 / 18%);
}

.feature-strip {
  position: relative;
  z-index: 2;
  width: calc(100% - 5rem);
  margin: -42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgb(230 222 211 / 80%);
  border-radius: var(--radius);
  background: rgb(255 253 249 / 96%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.feature {
  min-width: 0;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.feature + .feature { border-inline-start: 1px solid var(--line); }
.feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 800;
}
.feature strong { display: block; font-size: .93rem; line-height: 1.45; }
.feature small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.5; margin-block-start: .12rem; }

/* Sections and cards ------------------------------------------------------ */

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 4.25rem 0 1.35rem;
  flex-wrap: wrap;
}
.section-title-wrap { display: grid; gap: .2rem; }
.section-eyebrow {
  color: var(--orange);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.section-head > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
}
.section-head > a:hover { color: var(--orange); }

.home-section { margin-block-start: clamp(5rem, 9vw, 8.5rem); }
.section-intro {
  width: min(680px, 100%);
  margin-block-end: 2rem;
}
.section-intro h2,
.promise-copy h2,
.final-cta h2 {
  margin: .25rem 0 .75rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.3;
  letter-spacing: -.035em;
}
.section-intro p,
.promise-copy > p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
}
.section-intro-split {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(260px, .7fr);
  align-items: end;
  gap: 2rem;
}
.section-intro-split p { padding-block-end: .45rem; }
.section-intro-center { margin-inline: auto; text-align: center; }

.grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

/* Announcements ----------------------------------------------------------- */

#announcements:not(:empty) { margin-block-start: 2.4rem; }
#announcements .grid { grid-template-columns: 1fr; }
.ann {
  position: relative;
  min-height: 134px;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  overflow: hidden;
  border: 0;
  /* The announcement ribbon is the logo's orange, not a black slab. */
  background:
    linear-gradient(112deg, #e85020, #bd3a10);
  color: #fff;
  padding: 1.55rem 1.7rem;
}
.ann::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  inset-block-start: -100px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgb(255 255 255 / 14%);
}
.ann img {
  width: 118px;
  height: 96px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 15px;
}
.ann h3 { margin: 0 0 .2rem; font-size: 1.12rem; }
.ann p { margin: 0; max-width: 70ch; color: #ffe2d2; font-size: .9rem; }
.ann a { color: #fff; font-weight: 700; text-decoration: underline; }

/* Trip cards -------------------------------------------------------------- */

.trip-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 34px rgb(40 26 13 / 10%), 0 32px 70px rgb(40 26 13 / 9%);
}
.trip-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--charcoal-soft);
}
.trip-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgb(40 49 49 / 62%));
}
.trip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.trip-card:hover .trip-media img { transform: scale(1.045); }
.trip-destination {
  position: absolute;
  z-index: 1;
  inset-inline-start: 1rem;
  inset-block-start: 1rem;
  padding: .32rem .68rem;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  color: #fff;
  background: rgb(50 59 59 / 62%);
  backdrop-filter: blur(8px);
  font-size: .75rem;
  font-weight: 700;
}
.trip-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .95rem;
  padding: 1.2rem 1.25rem 1.3rem;
}
.trip-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.5;
}
.trip-card h3 a { color: var(--ink); }
.trip-card h3 a:hover { color: var(--orange); }
.trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
  color: var(--muted);
  font-size: .82rem;
}
.trip-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.trip-meta .meta-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.trip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-block-start: auto;
  padding-block-start: .95rem;
  border-block-start: 1px solid var(--line);
}
.price {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}
.price small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}
.badge-ok { color: var(--ok); background: #e6f3ed; }
.badge-warn { color: var(--warn); background: #fbf0d9; }
.badge-muted { color: #716c66; background: #efebe6; }

/* Destination showcase ---------------------------------------------------- */

.destination-showcase {
  height: 610px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}
.destination-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow-sm);
}
.destination-card-large { grid-row: 1 / 3; }
.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.destination-card-large img { object-position: 50% 65%; }
.destination-card:hover img { transform: scale(1.055); }
.destination-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgb(40 49 49 / 84%)),
    linear-gradient(90deg, rgb(232 80 32 / 6%), transparent);
  transition: background .3s ease;
}
.destination-card:hover .destination-card-shade {
  background:
    linear-gradient(180deg, transparent 30%, rgb(40 49 49 / 88%)),
    linear-gradient(90deg, rgb(232 80 32 / 14%), transparent);
}
.destination-card-copy {
  position: absolute;
  inset-inline: 1.25rem;
  inset-block-end: 1.15rem;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: .05rem 1rem;
  color: #fff;
}
.destination-card-copy small {
  grid-column: 1;
  color: #f0c98f;
  font-size: .75rem;
  font-weight: 700;
}
.destination-card-copy strong {
  grid-column: 1;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.destination-card-copy > span {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  transition: transform .25s ease, background .25s ease;
}
.destination-card:hover .destination-card-copy > span {
  transform: rotate(45deg);
  background: var(--orange);
}

/* Services ---------------------------------------------------------------- */

.services-section {
  position: relative;
  padding: clamp(2rem, 5vw, 4.2rem);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgb(232 80 32 / 24%), transparent 28rem),
    var(--charcoal);
  box-shadow: var(--shadow);
}
.services-section .section-eyebrow { color: #f1bd7a; }
.services-section .section-intro p { color: #c6cecb; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.service-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 18px;
  background: rgb(255 255 255 / 5%);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgb(232 80 32 / 45%);
  background: rgb(255 255 255 / 9%);
}
.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--orange);
  font-size: 1.25rem;
}
.service-number {
  position: absolute;
  inset-inline-end: 1rem;
  inset-block-start: .6rem;
  color: rgb(255 255 255 / 10%);
  font-family: "Segoe UI", sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
}
.service-card h3 {
  margin: auto 0 .4rem;
  font-size: 1.05rem;
  line-height: 1.5;
}
.service-card p { margin: 0; color: #b6bfbc; font-size: .81rem; line-height: 1.65; }

/* Steps ------------------------------------------------------------------- */

.steps-section {
  position: relative;
  padding-inline: clamp(.2rem, 3vw, 2rem);
}
.steps-list {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
}
.steps-list::before {
  content: "";
  position: absolute;
  inset-inline: 10%;
  inset-block-start: 33px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--orange), var(--gold), transparent);
}
.steps-list li {
  position: relative;
  text-align: center;
}
.step-number {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border: 7px solid var(--bg);
  border-radius: 50%;
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 0 0 1px var(--line);
  font-family: "Segoe UI", sans-serif;
  font-size: .76rem;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease;
}
.steps-list li:hover .step-number { transform: scale(1.08); background: var(--orange); }
.steps-list strong { display: block; margin-block: .75rem .2rem; font-size: .96rem; }
.steps-list p {
  max-width: 23ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}

/* Promise ----------------------------------------------------------------- */

.promise-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}
.promise-visual {
  position: relative;
  height: 520px;
}
.promise-visual > img {
  width: calc(100% - 2.3rem);
  height: calc(100% - 2.3rem);
  margin-inline-start: auto;
  object-fit: cover;
  object-position: 45% center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.promise-visual::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  z-index: -1;
  width: 70%;
  height: 62%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgb(232 80 32 / 24%), transparent),
    var(--gold-soft);
}
.promise-stamp {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: .6rem;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 7px solid var(--bg);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: var(--shadow-sm);
}
.promise-stamp img { width: 42px; max-height: 65px; object-fit: contain; }
.promise-copy { padding-inline-end: clamp(.3rem, 2vw, 1.5rem); }
.promise-copy > p { line-height: 1.9; }
.promise-copy ul {
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: .7rem;
  list-style: none;
}
.promise-copy li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  font-weight: 700;
}
.promise-copy li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: var(--orange-soft);
  font-size: .72rem;
}

/* Final CTA --------------------------------------------------------------- */

.final-cta {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2rem, 6vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(90deg, rgb(176 55 15 / 76%), rgb(45 54 54 / 96%)),
    url("/assets/trips/karbala.jpg") center 42% / cover no-repeat;
  box-shadow: var(--shadow);
}
.final-cta::after {
  content: "";
  position: absolute;
  inset-inline-end: -90px;
  inset-block-start: -100px;
  z-index: -1;
  width: 280px;
  height: 280px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgb(255 255 255 / 4%), 0 0 0 90px rgb(255 255 255 / 3%);
}
.final-cta > div:first-child { width: min(610px, 100%); }
.final-cta .section-eyebrow { color: #f4c48c; }
.final-cta h2 { margin-block-start: .3rem; }
.final-cta p { color: #d9e0dd; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; flex: 0 0 auto; }

/* Filters ----------------------------------------------------------------- */

.filters {
  margin-block-end: 1.6rem;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr auto;
  align-items: end;
  gap: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { color: #5d6663; font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: .58rem .75rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgb(232 80 32 / 58%);
  box-shadow: 0 0 0 4px rgb(232 80 32 / 9%);
}

/* Trip detail and itinerary ---------------------------------------------- */

.trip-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, .8fr);
  align-items: start;
  gap: 1.4rem;
}
.trip-cover {
  position: relative;
  height: 360px;
  margin-block: 1.2rem 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.trip-cover img { width: 100%; height: 100%; object-fit: cover; }
.trip-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgb(40 49 49 / 78%));
}
.trip-cover-copy {
  position: absolute;
  z-index: 1;
  inset-inline: 1.6rem;
  inset-block-end: 1.35rem;
  color: #fff;
}
.trip-cover-copy small { color: #f4d4ad; font-weight: 700; }
.trip-cover-copy h1 { margin: .2rem 0 0; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.trip-aside { position: sticky; inset-block-start: 108px; }
.trip-description { margin-block-end: 1.25rem; color: #59615e; }

.day-group { margin-block-end: 1.8rem; }
.day-head { display: flex; align-items: center; gap: .75rem; margin-block-end: .85rem; }
.day-num {
  padding: .3rem .75rem;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.day-date { color: var(--muted); font-size: .85rem; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 62px;
  inset-block: .5rem;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1.4rem;
  padding-block: .6rem;
}
.timeline .time {
  padding-block-start: .1rem;
  color: var(--charcoal);
  font-size: .86rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.timeline .entry {
  position: relative;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.timeline .entry::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.55rem;
  inset-block-start: 1rem;
  width: 10px;
  height: 10px;
  transform: translateX(50%);
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: var(--bg);
}
.timeline .entry strong { display: block; }
.timeline .entry p { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }

.info-list { display: grid; gap: .1rem; margin: 0; }
.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .65rem;
  border-block-end: 1px solid var(--line);
  font-size: .9rem;
}
.info-list div:last-child { border-block-end: 0; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 800; text-align: end; }

/* Notices, auth and states ------------------------------------------------ */

.notice {
  margin-block: 1.2rem;
  padding: .95rem 1.1rem;
  border-inline-start: 4px solid var(--orange);
  border-radius: 12px;
  background: var(--orange-soft);
  font-size: .9rem;
}
.notice-ok { border-color: var(--ok); background: #e7f3ed; }
.notice-muted { border-color: #888079; background: #eeebe7; }
.empty {
  margin: 1rem 0;
  padding: 4rem 1rem;
  border: 1px dashed #d9d0c5;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: rgb(255 253 249 / 55%);
}
.auth-card { max-width: 440px; margin: 4rem auto; padding: 1.8rem; }
.auth-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-block-end: 1rem;
  border-radius: 4px;
  background: var(--orange);
}
.auth-card h1 { margin: 0 0 .35rem; font-size: 1.65rem; }
.auth-card > p { margin: 0 0 1.5rem; color: var(--muted); font-size: .9rem; }
.auth-card form { display: grid; gap: 1rem; }
.form-error {
  padding: .75rem 1rem;
  border-inline-start: 4px solid var(--danger);
  border-radius: 10px;
  background: #fce8e5;
  color: #81261e;
  font-size: .88rem;
}

/* Floating actions and feedback ------------------------------------------ */

.whatsapp-fab {
  position: fixed;
  inset-inline-end: 1.5rem;
  inset-block-end: 1.5rem;
  z-index: 55;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 22%);
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.03); background: #1eb355; }
.toast {
  position: fixed;
  inset-inline-start: 50%;
  inset-block-end: 1.5rem;
  z-index: 70;
  max-width: min(90vw, 460px);
  padding: .8rem 1.3rem;
  transform: translateX(50%) translateY(150%);
  border-radius: 12px;
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: .9rem;
  transition: transform .25s ease;
}
.toast.show { transform: translateX(50%) translateY(0); }
.toast.error { background: var(--danger); }

/* Footer ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-block-start: auto;
  padding: 3.25rem 0 1.15rem;
  background: var(--charcoal);
  color: #c2cac7;
  font-size: .86rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  inset-inline-end: -170px;
  inset-block-start: -210px;
  border-radius: 50%;
  background: rgb(232 80 32 / 22%);
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .7fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 42px; max-height: 65px; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: 1rem; }
.site-footer p { margin: .25rem 0; }
.site-footer a { color: #fff; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { width: fit-content; color: #d4dbd8; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { text-align: start; }
.footer-contact strong { font-size: 1.05rem; }
.footer-bottom {
  position: relative;
  margin-block-start: 2.4rem;
  padding-block-start: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-block-start: 1px solid rgb(255 255 255 / 10%);
  color: #96a09d;
  font-size: .72rem;
}



/* Inline SVG icons (no emoji: they render differently on every platform) */
.feature-icon svg, .service-icon svg { width: 22px; height: 22px; }
.doc-row-icon svg { width: 24px; height: 24px; }
.dest-arrow svg { width: 20px; height: 20px; }
.section-head > a svg { width: 16px; height: 16px; }

/* Cairo is cursive: tracking must stay neutral in Arabic. */
.hero h1,
.section-head h2,
.section-intro h2,
.promise-copy h2,
.final-cta h2 { letter-spacing: 0; }

/* Account pages ------------------------------------------------------------
   "My trips" and "My documents" typically hold one or two entries; a
   three-column card grid leaves the screen mostly empty. Rows use the full
   width and read like a bookings list. */

.trips-list { grid-template-columns: 1fr; }
.trips-list .trip-card { flex-direction: row; align-items: stretch; }
.trips-list .trip-media {
  width: min(300px, 34%);
  height: auto;
  min-height: 195px;
  flex: 0 0 auto;
}
.trips-list .trip-card-body { justify-content: center; }

.doc-list { grid-template-columns: 1fr; }
.doc-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.05rem 1.25rem;
}
.doc-row-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 1.35rem;
}
.doc-row-text { flex: 1; min-width: 0; }
.doc-row-text h3 { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.doc-row-text p { margin: .1rem 0 0; color: var(--muted); font-size: .8rem; }
.doc-row .btn { flex: 0 0 auto; }

/* The traveller itinerary drops to one centred column when the aside
   (accommodation / transport / supervisor) has nothing to say, instead of
   reserving a third of the page for an empty rail. */
.trip-detail-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .trips-list .trip-card { flex-direction: column; }
  .trips-list .trip-media { width: 100%; height: 185px; min-height: 0; }
  .doc-row { flex-wrap: wrap; }
  .doc-row .btn { width: 100%; }
}

/* Loading ----------------------------------------------------------------- */

.spinner {
  width: 34px;
  height: 34px;
  margin: 4rem auto;
  border: 3px solid var(--line);
  border-block-start-color: var(--orange);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
  from { background-position: center; }
  to { background-position: 47% center; }
}

.hero { animation: heroDrift 18s ease-in-out infinite alternate; }
.feature-strip,
#announcements:not(:empty),
.section-head,
#homeTrips,
.home-section {
  animation: riseIn .7s ease both;
}
.home-section:nth-of-type(5) { animation-delay: .05s; }
.home-section:nth-of-type(6) { animation-delay: .1s; }
.home-section:nth-of-type(7) { animation-delay: .15s; }
.home-section:nth-of-type(8) { animation-delay: .2s; }

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

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

@media (max-width: 980px) {
  .header-inner { gap: .8rem; }
  .brand-text { display: none; }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .filters .field:last-child { grid-column: span 2; }
  .filters .field:last-child .btn { width: 100%; }
  .trip-detail-grid { grid-template-columns: 1fr; }
  .trip-aside { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 1.5rem, var(--wrap)); }
  main { padding-block-end: 3.5rem; }
  .site-header { position: relative; }
  .header-inner { min-height: auto; padding-block: .7rem; flex-wrap: wrap; }
  .brand-mark { width: 40px; height: 48px; }
  .brand-mark img { max-height: 47px; }
  .site-nav {
    order: 3;
    width: 100%;
    margin-inline-start: 0;
    overflow-x: auto;
    border-block-start: 1px solid rgb(255 255 255 / 8%);
    padding-block-start: .55rem;
  }
  .site-nav a { flex: 1 0 auto; text-align: center; padding: .45rem .6rem; font-size: .82rem; }
  .header-actions { margin-inline-start: auto; }
  .btn-ghost { font-size: .8rem; }

  .hero {
    min-height: 500px;
    margin-block-start: .8rem;
    padding: 2rem 1.35rem 3.1rem;
    align-items: end;
    background:
      linear-gradient(180deg, rgb(40 49 49 / 5%) 18%, rgb(40 49 49 / 92%) 77%),
      url("/assets/trips/karbala.jpg") 45% center / cover no-repeat;
    border-radius: 22px;
  }
    .hero h1 { font-size: clamp(2.1rem, 11vw, 3.1rem); }
  .hero p { font-size: .95rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero .btn { width: 100%; }
  .hero-contact { text-align: center; }
  .hero-note { inset-inline-start: 1rem; inset-block-end: 1rem; }

  .feature-strip {
    width: calc(100% - 1.5rem);
    margin-block-start: -24px;
    grid-template-columns: 1fr;
  }
  .feature { padding: .9rem 1rem; }
  .feature + .feature { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .feature-icon { width: 38px; height: 38px; }

  .section-head { margin-block-start: 3.2rem; }
  .section-head h2 { font-size: 1.55rem; }
  .home-section { margin-block-start: 4.5rem; }
  .section-intro-split { grid-template-columns: 1fr; gap: .3rem; }
  .destination-showcase {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .destination-card,
  .destination-card-large { height: 280px; grid-row: auto; }
  .destination-card-large { height: 410px; }
  .services-section { padding: 2rem 1rem; border-radius: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .steps-list { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .steps-list::before { display: none; }
  .promise-section { grid-template-columns: 1fr; gap: 2.3rem; }
  .promise-visual { height: 400px; }
  .promise-copy { padding: 0 .25rem; }
  .final-cta {
    min-height: 420px;
    padding: 2rem 1.25rem;
    align-items: end;
    flex-direction: column;
    justify-content: end;
    background:
      linear-gradient(180deg, rgb(40 49 49 / 24%), rgb(40 49 49 / 96%) 72%),
      url("/assets/trips/karbala.jpg") 44% center / cover no-repeat;
  }
    .final-cta-actions { width: 100%; }
  .final-cta-actions .btn { flex: 1; }
  .grid { grid-template-columns: 1fr; }
  .trip-media { height: 220px; }
  .filters { grid-template-columns: 1fr; }
  .filters .field:last-child { grid-column: auto; }
  .ann { align-items: flex-start; padding: 1.25rem; }
  .ann img { width: 84px; height: 84px; }
  .trip-cover { height: 290px; border-radius: 22px; }
  .timeline::before { inset-inline-start: 46px; }
  .timeline li { grid-template-columns: 42px 1fr; gap: 1.05rem; }
  .timeline .entry::before { inset-inline-start: -1.2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; }
  .footer-bottom { flex-direction: column; gap: .25rem; }
  .whatsapp-fab { width: 54px; height: 54px; inset-inline-end: .9rem; inset-block-end: .9rem; }
}

@media (max-width: 420px) {
  .header-actions .btn-ghost { padding-inline: .7rem; }
  .steps-list { grid-template-columns: 1fr; }
  .trip-foot { align-items: stretch; flex-direction: column; }
  .trip-foot .btn { width: 100%; }
  }
