/* ==========================================================================
   Trivanzo — Egypt journeys
   Palette: from the Trivanzo Holidays logo: brand red, charcoal black and white.
   Type: Fraunces (display) + Instrument Sans (text).
   ========================================================================== */

:root {
  /* Brand colours taken from the Trivanzo Holidays logo (logo red #dc3a36, "HOLIDAYS" charcoal).
     Charcoal for text and dark sections, brand red for buttons and highlights,
     a slightly deeper red for small text (labels, links) so it stays readable on white. */
  --paper: #ffffff;
  --paper-2: #f7f4f3;    /* warm pale panels */
  --sand: #e8e1df;
  --ink: #1c1b1b;        /* charcoal black text and dark sections */
  --ink-2: #3a3838;
  --muted: #6b6866;
  --red: #d63631;        /* brand red: buttons, highlights (white text on it) */
  --red-deep: #b42a25;   /* labels, links, active menu item */
  --red-dark: #8c1f1b;
  --red-soft: #f2837c;   /* brand red for dark backgrounds */
  --nile: #1f7a5c;       /* green "included / available" markers */
  --line: rgba(28, 27, 27, 0.12);
  --line-strong: rgba(28, 27, 27, 0.26);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-text: "Instrument Sans", "Helvetica Neue", sans-serif;

  --wrap: min(1240px, 100% - 2.5rem);
  --radius: 14px;
  --arch: 999px 999px 14px 14px;
  --shadow: 0 30px 60px -30px rgba(28, 27, 27, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
a { color: inherit; }
::selection { background: var(--red); color: #ffffff; }

:focus-visible { outline: 2px solid var(--red-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--red); font-variation-settings: "SOFT" 100, "WONK" 1; }

p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 38ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-deep); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--font-text); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(28, 27, 27, .6); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { width: 1em; height: 1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { --bg: var(--red); --fg: #ffffff; }
.btn--accent:hover { --bg: #c02e29; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.cta-block .btn--light { --bg: #ffffff; --fg: var(--ink); border-color: #ffffff; }
.cta-block .btn--light:hover { --bg: var(--ink); --fg: #ffffff; border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap;
}
.link-arrow:hover { color: var(--red-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* Desktop: logo | menu | button on a three-column grid, so the menu sits in the true centre of the page. */
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.5rem; height: 76px; }
.site-header .brand { justify-self: start; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { height: 54px; width: auto; }
@media (max-width: 520px) { .brand img { height: 44px; } }

.nav { display: flex; justify-content: center; }
.nav ul { display: flex; justify-content: center; gap: clamp(1.1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 600; position: relative; padding: .3rem 0; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--red-deep); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red-deep); }
.header-cta { justify-self: end; padding: .7rem 1.2rem; flex: none; }

/* Smaller screens: the menu stays fully visible as a centred second row (no hamburger, no dropdown). */
@media (max-width: 1080px) {
  .site-header { position: relative; }
  .site-header .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; height: auto; padding: .7rem 0 0; row-gap: .4rem; column-gap: 1rem; }
  .site-header .brand { order: 1; }
  .site-header .header-cta { order: 2; }
  .nav { order: 3; flex: 1 0 100%; justify-content: center; border-top: 1px solid var(--line); }
  .nav ul { flex-wrap: wrap; justify-content: center; gap: 0 1.6rem; padding: .55rem 0 .65rem; }
  .nav a { display: inline-block; padding: .35rem 0; font-size: .92rem; }
}
@media (max-width: 520px) {
  .site-header .wrap { padding-top: .6rem; row-gap: .5rem; }
  .header-cta { padding: .6rem 1rem; font-size: .85rem; }
  .nav ul { gap: .1rem 1.25rem; padding: .5rem 0 .6rem; }
  .nav a { font-size: .9rem; padding: .3rem 0; }
}
/* Very narrow phones: keep the logo and "Design Your Journey" on one row */
@media (max-width: 400px) {
  .site-header .brand img { height: 38px; }
  .site-header .wrap { column-gap: .6rem; }
  .header-cta.header-cta { padding: .55rem .8rem; font-size: .8rem; }
  .header-cta svg { display: none; }
  .nav ul { gap: .1rem 1rem; }
  .nav a { font-size: .86rem; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.7rem); margin-bottom: .35em; }
.hero .lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Three photo highlights under the hero buttons: Grand Egyptian Museum, King Tut, Red Sea reefs */
.hero-picks {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: min(600px, 100% - 3rem);
  list-style: none; margin: 2.4rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line);
}
.hero-picks a { display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: inherit; }
.pick-img { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--paper-2); box-shadow: 0 14px 26px -18px rgba(28, 27, 27, .55); }
.pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hero-picks a:hover .pick-img img { transform: scale(1.07); }
.pick-text { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.pick-text strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(.95rem, 1.1vw, 1.05rem); text-wrap: balance; line-height: 1.2; color: var(--ink); transition: color .25s; }
.hero-picks a:hover strong { color: var(--red-deep); }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 540px; }
.hero-visual .arch {
  aspect-ratio: 4 / 5.2; border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow);
}
.hero-visual .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform: scale(1.06); animation: settle 2.2s var(--ease) forwards; }
.hero-visual .inset {
  position: absolute; left: -16%; bottom: 8%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.hero-visual .inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .vertical {
  position: absolute; right: -2.2rem; top: 12%; writing-mode: vertical-rl;
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.sun {
  position: absolute; width: 120px; height: 120px; right: -30px; top: -30px; color: var(--red-soft);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes settle { to { transform: scale(1); } }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-picks { max-width: 600px; }
  .hero-visual { justify-self: center; max-width: 420px; margin-top: 1rem; }
  .hero-visual .inset { left: -6%; }
  .hero-visual .vertical { display: none; }
}

/* ---------- Load-in choreography ---------- */
.rise { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .3s; }
.rise.d4 { animation-delay: .42s; } .rise.d5 { animation-delay: .56s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .sun, .hero-visual .arch img { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: var(--red-soft); }
.section--ink h1 em, .section--ink h2 em, .section--ink h3 em { color: var(--red-soft); }
.section--ink .lede, .section--ink p, .section--ink .section-head p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.section--sand { background: var(--paper-2); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Journey types (home): asymmetric mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 1.4rem; }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: #ffffff; min-height: 300px; isolation: isolate;
}
.tile--tall { grid-row: span 2; min-height: 640px; border-radius: var(--arch); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 22, 20, 0) 35%, rgba(20, 22, 20, .78) 100%);
}
.tile:hover img { transform: scale(1.05); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 3vw, 2.4rem); }
.tile-body .num { font-family: var(--font-display); font-style: italic; color: var(--red-soft); font-size: 1.05rem; }
.tile-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .2em 0 .3em; }
.tile-body p { margin: 0; max-width: 34ch; opacity: .9; font-size: .98rem; }
.tile-body .go {
  position: absolute; right: clamp(1.4rem, 3vw, 2.4rem); bottom: clamp(1.4rem, 3vw, 2.4rem);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  display: grid; place-items: center; transition: background-color .3s, transform .4s var(--ease);
}
.tile:hover .go { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.tile-body .go svg { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile--tall { grid-row: auto; min-height: 480px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid rgba(255, 255, 255, .2); }
.step { padding: 2.2rem 2rem 0 0; position: relative; }
.step + .step { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.step::before {
  counter-increment: step; content: counter(step, upper-roman);
  display: block; font-family: var(--font-display); font-style: italic; font-size: 3rem; color: var(--red-soft); line-height: 1; margin-bottom: 1.2rem;
}
.step h3 { color: var(--paper); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 2rem; }
}

/* ---------- Tour cards ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}
.rail > * { scroll-snap-align: start; }

.card-list { display: grid; gap: 1.5rem; }

.tour-card {
  position: relative; display: grid; background: #ffffff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.tour-card figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tour-card:hover figure img { transform: scale(1.05); }
.tour-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; }
.tour-card h3 { margin: 0; }
.tour-card .route { font-size: .9rem; color: var(--muted); margin: 0; }
.tour-card .foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line-strong); }
.tour-card .days { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red-deep); }
.tour-card .price { font-family: var(--font-display); font-size: 1.35rem; }
.tour-card .foot .link-arrow { font-size: .88rem; }
.tour-card .price small { font-family: var(--font-text); font-size: .75rem; color: var(--muted); margin-right: .25rem; }

/* Wide row card used on listing pages */
.tour-card--row { grid-template-columns: minmax(260px, 42%) 1fr; }
.tour-card--row figure { aspect-ratio: auto; min-height: 280px; }
.tour-card--row .body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
.tour-card--row h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tour-card--row .desc { color: var(--ink-2); margin: .4rem 0 0; max-width: 52ch; }
.tour-card--row:nth-child(even) { grid-template-columns: 1fr minmax(260px, 42%); }
.tour-card--row:nth-child(even) figure { order: 2; }
@media (max-width: 760px) {
  .tour-card--row, .tour-card--row:nth-child(even) { grid-template-columns: 1fr; }
  .tour-card--row:nth-child(even) figure { order: 0; }
  .tour-card--row figure { min-height: 0; aspect-ratio: 16 / 10; }
}

.badge-sample {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--paper); color: var(--red-deep); border: 1px dashed var(--red-deep);
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px;
}

/* ---------- Full-bleed quote band ---------- */
.band { position: relative; min-height: 78vh; display: grid; align-items: end; color: #ffffff; isolation: isolate; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 20, 16, .85) 0%, rgba(22, 20, 16, .4) 55%, rgba(22, 20, 16, 0) 100%); }
.band .wrap { padding: clamp(3rem, 8vw, 7rem) 0; }
.band blockquote { margin: 0; max-width: 20ch; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.08; letter-spacing: -0.02em; }
.band blockquote em { color: var(--red-soft); }
.band cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(2rem, 5vw, 4rem) 0 0; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin-bottom: .3em; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--red-deep); }
.page-hero .wrap--block { display: block; }
.page-hero-img { margin-top: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .wrap--block { display: block; }
.page-hero-img { aspect-ratio: 4 / 3; }
}

/* ---------- Listing page layout ---------- */
.listing { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.includes {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2.5rem; align-items: center;
  padding: 1.4rem 1.8rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line);
}
.includes h3 { font-size: 1.25rem; margin: 0; white-space: nowrap; }
.includes ul { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; padding: 0; margin: 0; }
.includes li { position: relative; padding-left: 1.1rem; font-size: .93rem; color: var(--ink-2); }
.includes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
@media (max-width: 980px) { .includes { grid-template-columns: 1fr; } .includes .btn { justify-self: start; } }

/* ---------- Egypt Excursions: segment choice > city / port picker > product list ---------- */
.page-hero--compact { padding-bottom: 0; }
.section--excursions { padding-top: clamp(2rem, 4vw, 3rem); }
.city-picker { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.city-picker--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.city-tab {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; text-align: left;
  padding: 1.1rem 1rem 1rem; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: #ffffff; color: var(--ink); font: inherit; cursor: pointer; overflow: hidden;
  transition: border-color .25s, background-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.city-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.city-tab:hover { border-color: var(--red-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(28, 27, 27, .45); }
.city-tab:hover::before { transform: scaleX(1); }
.city-num { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--red-deep); }
.city-name { font-family: var(--font-display); font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.1; letter-spacing: -0.01em; }
.city-region { font-size: .78rem; color: var(--muted); }
.city-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.city-tab[aria-selected="true"]::before { transform: scaleX(1); }
.city-tab[aria-selected="true"] .city-num { color: var(--red-soft); }
.city-tab[aria-selected="true"] .city-region { color: rgba(255, 255, 255, .72); }
@media (max-width: 1100px) { .city-picker--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .city-picker--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .city-picker--7 .city-tab:last-child:nth-child(odd) { grid-column: 1 / -1; } .city-picker--3 { grid-template-columns: 1fr; } }

/* Step 1: choose a segment (Day Trips around Egypt / Shore Excursions Egypt) */
.segment-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.segment-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(300px, 34vw, 420px);
  padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: #ffffff; font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 0 0 0 var(--red); transition: min-height .5s var(--ease), box-shadow .3s, transform .4s var(--ease), opacity .3s;
}
.segment-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.segment-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 27, 27, .05) 0%, rgba(28, 27, 27, .45) 45%, rgba(28, 27, 27, .92) 100%); }
.segment-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.segment-card:hover { transform: translateY(-3px); }
.segment-card:hover > img { transform: scale(1.04); }
.segment-card:hover::after, .segment-card[aria-expanded="true"]::after { transform: scaleX(1); }
.segment-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.segment-body { display: flex; flex-direction: column; gap: .5rem; width: 100%; padding: clamp(1.4rem, 3vw, 2.2rem); }
.segment-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-soft); }
.segment-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -0.015em; }
.segment-text { max-width: 42ch; color: rgba(255, 255, 255, .86); font-size: .98rem; }
.segment-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: .6rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.segment-count { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-soft); }
.segment-count:empty { display: none; }
.segment-cta { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; padding: .6rem 1.1rem; border-radius: 999px; background: var(--red); color: #ffffff; font-weight: 700; font-size: .9rem; }
.segment-cta svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.segment-card:hover .segment-cta svg { transform: translateX(3px); }
/* After a choice, the two cards shrink to a compact switch above the list. */
.has-choice .segment-card { min-height: 0; }
.has-choice .segment-card .segment-text { display: none; }
.has-choice .segment-card .segment-body { padding: 1.1rem 1.4rem; }
.has-choice .segment-card .segment-title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.has-choice .segment-card .segment-foot { margin-top: .2rem; padding-top: .6rem; }
.has-choice .segment-card[aria-expanded="false"] { opacity: .72; }
.has-choice .segment-card[aria-expanded="false"]:hover { opacity: 1; }
.segment-card[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--red); }
.segment-card[aria-expanded="true"] .segment-cta { background: #ffffff; color: var(--ink); }
.segment-card[aria-expanded="true"] .segment-cta svg { transform: rotate(90deg); }
@media (max-width: 760px) {
  .segment-picker { grid-template-columns: 1fr; }
  .segment-card { min-height: 260px; }
}

/* Step 2: the chosen segment's cities / ports and their products */
.segment { margin-top: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 1.25rem; }
.segment[hidden] { display: none; }
.segment-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: 1.6rem; }
.segment-head .eyebrow { margin-bottom: .7rem; }
.segment-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.segment-head p { margin: 0; color: var(--ink-2); max-width: 50ch; }
@media (max-width: 820px) { .segment-head { grid-template-columns: 1fr; } }
.segment.is-fallback .city-picker, .segment.is-fallback .city-panel { display: none; }

.city-panel { scroll-margin-top: 1.5rem; }
.city-panel + .city-panel { margin-top: 3rem; } /* only when JS is off and every panel shows */
.city-panel[hidden] { display: none; }
.city-panel-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; padding-bottom: 1.6rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.city-panel-head .eyebrow { margin-bottom: .8rem; }
.city-panel-head h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.city-panel-head p { margin: 0; color: var(--ink-2); max-width: 50ch; }
@media (max-width: 820px) { .city-panel-head { grid-template-columns: 1fr; } }
.city-widget:empty { display: none; }
.city-panel.has-widget .city-empty { display: none; }
.city-empty {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem 1.6rem; align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius); background: var(--paper-2); border: 1px dashed var(--line-strong);
}
.city-empty > svg { width: 46px; height: 46px; color: var(--red); }
.city-empty strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.city-empty p { margin: .2rem 0 0; color: var(--ink-2); }
@media (max-width: 700px) { .city-empty { grid-template-columns: auto 1fr; } .city-empty .btn { grid-column: 1 / -1; justify-self: start; } }
.city-tab[hidden] { display: none; }
.city-count { margin-top: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep); }
.city-tab[aria-selected="true"] .city-count { color: var(--red-soft); }
/* Live Bokun products inside a city panel */
.section--excursions.is-loading .city-empty { display: none; }
.ex-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; margin-bottom: 1.2rem; }
.ex-count { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1.5rem; }
.ex-card {
  display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.ex-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.ex-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.ex-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ex-card:hover .ex-media img { transform: scale(1.05); }
.ex-noimg { display: grid; place-items: center; height: 100%; color: var(--sand); }
.ex-noimg svg { width: 56px; height: 56px; }
.ex-card .body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.25rem 1.35rem 1.4rem; }
.ex-card h3 { margin: 0; font-size: 1.28rem; line-height: 1.25; }
.ex-summary { margin: 0; font-size: .92rem; color: var(--ink-2); }
.ex-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line-strong); }
.ex-duration { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--red-deep); }
.ex-duration svg { width: 1rem; height: 1rem; flex: none; }
.ex-card .price { font-family: var(--font-display); font-size: 1.35rem; white-space: nowrap; }
.ex-card .price small { font-family: var(--font-text); font-size: .72rem; color: var(--muted); margin-right: .3rem; }
.ex-card .price--ask { font-family: var(--font-text); font-size: .85rem; color: var(--muted); }
.ex-card .btn { justify-content: center; margin-top: .6rem; width: 100%; }
/* The whole card is one link to the excursion's details page */
a.ex-card { color: inherit; text-decoration: none; cursor: pointer; }
a.ex-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.ex-card:hover h3 { color: var(--red-deep); }
.ex-card h3 { transition: color .25s; }
.ex-card:hover .ex-cta { --bg: #c02e29; }
.ex-card:hover .ex-cta svg { transform: translateX(3px); }
.ex-view {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); opacity: 0;
  padding: .55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.ex-card:hover .ex-view, a.ex-card:focus-visible .ex-view { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: none) { .ex-view { display: none; } }
.ex-card--skeleton:hover { transform: none; box-shadow: none; }
.ex-card--skeleton .ex-media, .ex-card--skeleton .body span {
  background: linear-gradient(90deg, var(--paper-2) 0%, #faf8f7 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
.ex-card--skeleton .body span { display: block; height: .9rem; border-radius: 6px; }
.ex-card--skeleton .body span:first-child { height: 1.3rem; width: 80%; }
.ex-card--skeleton .body span:last-child { width: 55%; }

/* Shown only if the live connection fails: Bokun's own product lists */
.excursions-fallback { margin-top: 0; }
.excursions-fallback .fallback-title { margin: 2rem 0 1rem; font-size: 1.5rem; }

/* ---------- Excursion details page (/egypt-excursions/<id>-<name>) ---------- */
.xp-hero { padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1.4rem, 3vw, 2rem); }
.xp-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.xp-hero .crumbs a { text-decoration: none; }
.xp-hero .crumbs a:hover { color: var(--red-deep); }
.xp-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; }
.xp-head .eyebrow { margin-bottom: 1rem; }
.xp-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 22ch; margin-bottom: .35em; }
.xp-head .lede { max-width: 62ch; margin: 0; }
.xp-head-price { display: grid; justify-items: end; text-align: right; padding-bottom: .3rem; }
.xp-head-price small { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.xp-head-price strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; color: var(--red-deep); }
.xp-head-price span { font-size: .85rem; color: var(--muted); }
.xp-chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.xp-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.xp-chips svg { width: 1.05rem; height: 1.05rem; color: var(--red); flex: none; }
@media (max-width: 760px) {
  .xp-head { grid-template-columns: 1fr; }
  .xp-head-price { justify-items: start; text-align: left; }
}
@media (max-width: 980px) { .xp-head-price { display: none; } }

.xp-gallery-main { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 21 / 9; max-height: 560px; width: 100%; box-shadow: var(--shadow); }
.xp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.xp-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.xp-nav svg { width: 20px; height: 20px; }
.xp-nav:hover { background: var(--red); color: #ffffff; }
.xp-nav--prev { left: 1rem; } .xp-nav--next { right: 1rem; }
.xp-counter { position: absolute; right: 1rem; bottom: 1rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(28, 27, 27, .72); color: #ffffff; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.xp-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: .6rem; overflow-x: auto; padding: .8rem 0 .3rem; scrollbar-width: thin; scrollbar-color: var(--sand) transparent; }
.xp-thumb { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--paper-2); opacity: .62; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .25s, outline-color .25s; }
.xp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.xp-thumb:hover { opacity: 1; }
.xp-thumb[aria-current="true"] { opacity: 1; outline-color: var(--red); }
@media (max-width: 760px) {
  .xp-gallery-main { aspect-ratio: 4 / 3; }
  .xp-nav { width: 40px; height: 40px; }
  .xp-thumbs { grid-auto-columns: 84px; }
}

.xp-body { padding-top: clamp(2rem, 4vw, 3rem); }
.xp-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.xp-prose { max-width: 70ch; }
.prose.xp-prose > h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.prose.xp-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.xp-prose .itinerary { margin-top: 1rem; }
.xp-prose .itinerary li { padding-bottom: 1.2rem; }
.xp-prose .itinerary li > div > :last-child, .xp-prose .inc-grid ul { margin-bottom: 0; }
.xp-prose .inc-grid li { padding: .45rem 0 .45rem 1.6rem; }
.xp-prose p, .xp-prose li { color: var(--ink-2); }
.xp-prose .itinerary li > div h3 { margin-top: .9rem; }
.xp-prose .itinerary .day { font-size: 1.2rem; }
.xp-prose .itinerary .day small { margin-bottom: 0; }
.xp-prose .inc-grid ul { margin: 0; }
.xp-prose .inc-grid .no li::before { color: var(--red); }

.xp-book.is-sticky { position: sticky; top: 96px; }
.xp-book { border-radius: 20px; background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 1.5rem; }
.xp-book-head { padding: 1.5rem 1.6rem 1.3rem; background: var(--ink); color: #ffffff; position: relative; }
.xp-book-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
.xp-book-kicker { margin: 0 0 .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-soft); }
.xp-book-price { margin: 0; font-size: clamp(1.8rem, 2.6vw, 2.3rem); color: #ffffff; }
.xp-book-price small { font-family: var(--font-text); font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .7); vertical-align: middle; }
.xp-book-note { margin: .4rem 0 0; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.xp-book-note:empty { display: none; }
.xp-book-body { padding: 1.1rem 1.1rem .6rem; }
.xp-cal { position: relative; min-height: 380px; }
.xp-cal .bokunWidget { position: relative; z-index: 1; }
.xp-cal .bokunWidget iframe { display: block; width: 100% !important; border: 0; }
.xp-cal-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; font-size: .9rem; color: var(--muted); }
.xp-cal.is-ready { min-height: 0; }
.xp-cal.is-ready .xp-cal-loading { display: none; }
.xp-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--sand); border-top-color: var(--red); animation: spin 0.9s linear infinite; }
.xp-enquire { padding: .5rem .5rem 1rem; }
.xp-enquire p { color: var(--ink-2); font-size: .95rem; }
.xp-enquire .btn { width: 100%; justify-content: center; }
.xp-assure { list-style: none; margin: 0; padding: 1rem 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .45rem; }
.xp-assure li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--ink-2); }
.xp-assure svg { width: 1.05rem; height: 1.05rem; color: var(--nile); flex: none; }
.xp-book-help { margin: 0; padding: 0 1.6rem 1.4rem; font-size: .9rem; color: var(--muted); }
.xp-book-help .link-arrow { color: var(--red-deep); }
@media (max-width: 980px) {
  .xp-layout { grid-template-columns: 1fr; }
  .xp-book { max-width: 560px; width: 100%; }
}

/* Phones: slim bar that jumps to the booking calendar */
.xp-mbar { display: none; }
@media (max-width: 980px) {
  .xp-mbar:not([hidden]) {
    position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .xp-mbar small { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .xp-mbar strong { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; }
  .xp-mbar .btn { padding: .75rem 1.2rem; }
  .xp:has(.xp-mbar:not([hidden])) ~ .site-footer { margin-top: 0; }
}

/* Loading placeholders */
.xp-sk { display: block; height: 1rem; margin: .5rem 0; border-radius: 6px; background: linear-gradient(90deg, var(--paper-2) 0%, #faf8f7 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.xp-sk--title { height: 3rem; width: 70%; }
.xp-sk--short { width: 55%; }
.xp-sk--img { height: 100%; margin: 0; border-radius: 0; }
.xp-sk--cal { height: 360px; margin: 0; }

/* ---------- Tour page ---------- */
.tour-hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #ffffff; isolation: isolate; overflow: hidden; }
.tour-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tour-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 18, .15) 0%, rgba(20, 20, 18, .2) 40%, rgba(20, 20, 18, .82) 100%); }
.tour-hero .wrap { padding: clamp(3rem, 7vw, 5rem) 0; }
.tour-hero .crumbs { font-size: .85rem; opacity: .85; margin-bottom: 1rem; }
.tour-hero .crumbs a { text-decoration: none; }
.tour-hero h1 { max-width: 16ch; margin-bottom: .25em; }
.tour-hero .lede { color: rgba(255, 255, 255, .88); max-width: 46ch; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0; align-items: stretch;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-top: -3rem; position: relative; z-index: 2; box-shadow: var(--shadow);
}
.facts > div { padding: 1.3rem 1.5rem; border-right: 1px solid var(--line); }
.facts dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.facts .cta { display: flex; align-items: center; padding: 1rem 1.3rem; border-right: 0; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div { border-bottom: 1px solid var(--line); }
  .facts .cta { grid-column: 1 / -1; border-bottom: 0; }
  .facts .cta .btn { width: 100%; justify-content: center; }
}

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tour-layout .prose { max-width: 66ch; }
@media (max-width: 980px) { .tour-layout { grid-template-columns: 1fr; } }

.prose h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 2.5em; }
.prose > h2:first-child { margin-top: 0; }
.prose .widget-section { margin-top: 3.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; list-style: none; padding: 0 !important; }
.highlights li { padding-left: 2rem; position: relative; }
.highlights li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 1.1rem; height: 1.1rem;
  background: var(--red); -webkit-mask: var(--ankh) center / contain no-repeat; mask: var(--ankh) center / contain no-repeat;
}
:root { --ankh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.6 7.4L22 12l-7.4 2.6L12 22l-2.6-7.4L2 12l7.4-2.6z'/%3E%3C/svg%3E"); }
@media (max-width: 600px) { .highlights { grid-template-columns: 1fr; } }

.itinerary { list-style: none; padding: 0 !important; margin: 1.5rem 0 0; position: relative; }
.itinerary::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: repeating-linear-gradient(var(--line-strong) 0 6px, transparent 6px 12px); }
.itinerary li { display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; padding-bottom: 2rem; position: relative; margin: 0; }
.itinerary .day {
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong);
  display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 1.15rem; line-height: 1; position: relative;
}
.itinerary .day small { display: block; font-family: var(--font-text); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.itinerary h3 { margin: .7rem 0 .35rem; font-size: 1.35rem; }
.itinerary p { margin: 0; color: var(--ink-2); }

.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.inc-grid h3 { font-size: 1.2rem; }
.inc-grid ul { list-style: none; padding: 0 !important; }
.inc-grid li { padding: .5rem 0 .5rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; font-size: .97rem; margin: 0; }
.inc-grid .yes li::before { content: "+"; position: absolute; left: 0; color: var(--nile); font-weight: 700; }
.inc-grid .no li::before { content: "–"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
@media (max-width: 600px) { .inc-grid { grid-template-columns: 1fr; } }

.side-card { position: sticky; top: 100px; padding: 1.8rem; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.side-card h3 { color: var(--paper); font-size: 1.5rem; }
.side-card p { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.side-card .price-big { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin: .4rem 0 .2rem; color: var(--red-soft); }
.side-card .btn { width: 100%; justify-content: center; margin-top: .5rem; }
@media (max-width: 980px) { .side-card { position: static; } }

/* ---------- Widget slots ---------- */
.widget-section .widget-frame { border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; padding: clamp(1.2rem, 3vw, 2rem); }
/* The TourRadar section stays hidden until embed code is pasted into the slot */
.widget-section:has(#tourradar-slot:empty) { display: none; }

.departures { width: 100%; border-collapse: collapse; font-size: .98rem; }
.departures th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 .8rem .8rem 0; border-bottom: 1px solid var(--line-strong); }
.departures td { padding: 1rem .8rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.departures td.date { font-family: var(--font-display); font-size: 1.2rem; }
.departures td.date small { display: block; font-family: var(--font-text); font-size: .8rem; color: var(--muted); }
.departures td.price { font-family: var(--font-display); font-size: 1.2rem; white-space: nowrap; }
.departures td:last-child { text-align: right; padding-right: 0; }
.departures .btn { padding: .6rem 1rem; font-size: .85rem; }
.places { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; }
.places::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nile); }
.places.low::before { background: var(--red); }
@media (max-width: 640px) {
  .departures thead { display: none; }
  .departures tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .departures td { border: 0; padding: 0; }
  .departures td:last-child { grid-column: 1 / -1; text-align: left; margin-top: .6rem; }
}

.skeleton-row { height: 58px; border-radius: 10px; margin-bottom: .6rem; background: linear-gradient(90deg, var(--paper-2) 0%, #faf8f7 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.slot-empty { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.slot-empty svg { width: 54px; height: 54px; color: var(--red-soft); }
.slot-empty p { margin: 0; color: var(--ink-2); }
.slot-empty strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); }

/* ---------- Replace markers (template only) ---------- */
.replace { background: repeating-linear-gradient(-45deg, rgba(214, 54, 49, .1) 0 6px, transparent 6px 12px); outline: 1px dashed var(--red); outline-offset: 2px; border-radius: 3px; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .45rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #ffffff;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 54, 49, .15); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #a5352a; }
.field .err { display: none; color: #a5352a; font-size: .82rem; margin-top: .35rem; }
.field input:user-invalid ~ .err, .field textarea:user-invalid ~ .err, .field select:user-invalid ~ .err { display: block; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.contact-card { padding: 2rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 1.3rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 1.25rem; }
.contact-card dd a { text-decoration: none; }
.contact-card dd a:hover { color: var(--red-deep); }

/* ---------- Legal / long text ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.2em; }
.legal ol, .legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .5rem; }

.notice {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 12px;
  background: rgba(214, 54, 49, .07); border: 1px dashed var(--red-deep); color: var(--red-dark); font-size: .92rem; margin-bottom: 2rem;
}
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split .arch-img { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.split .arch-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .arch-img { max-width: 420px; } }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values > div { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.values > div:nth-child(odd) { border-right: 1px solid var(--line); }
.values > div:nth-child(even) { padding-left: 2rem; }
.values h3 { font-size: 1.5rem; }
.values p { color: var(--ink-2); margin: 0; }
@media (max-width: 700px) {
  .values { grid-template-columns: 1fr; }
  .values > div:nth-child(odd) { border-right: 0; }
  .values > div:nth-child(even) { padding-left: 0; }
}

/* ---------- CTA block ---------- */
.cta-block { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; padding: clamp(2.5rem, 6vw, 5rem); border-radius: 28px; background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #ffffff; position: relative; overflow: hidden; isolation: isolate; }
.cta-block h2 { margin: 0; color: #ffffff; }
.cta-block h2 em { color: var(--ink); }
.cta-block p { margin: 1rem 0 0; color: rgba(255, 255, 255, .9); max-width: 44ch; }
.cta-block .actions { justify-self: end; display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-block .sun { width: 340px; height: 340px; right: -90px; top: -110px; color: rgba(255, 255, 255, .14); z-index: -1; }
@media (max-width: 820px) { .cta-block { grid-template-columns: 1fr; } .cta-block .actions { justify-self: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(2.6rem, 5vw, 3.75rem) 0 1.1rem; margin-top: clamp(3.5rem, 7vw, 6rem); font-size: .93rem; }
.site-footer .top {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 2rem 3rem;
  padding-bottom: 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .brand img { width: 116px; height: auto; }
.site-footer .footer-brand p { color: rgba(255, 255, 255, .62); font-size: .9rem; line-height: 1.55; max-width: 32ch; margin: .9rem 0 0; }
.site-footer h4 { font-family: var(--font-text); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-soft); font-weight: 600; margin: .35rem 0 .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .82); transition: color .2s; }
.site-footer a:hover { color: var(--red-soft); }
.site-footer address { font-style: normal; color: rgba(255, 255, 255, .62); line-height: 1.45; }
.footer-contact li { display: grid; grid-template-columns: 1rem 1fr; gap: .6rem; align-items: start; margin-bottom: .55rem; }
.footer-contact svg { width: 1rem; height: 1rem; margin-top: .2rem; color: var(--red-soft); }
.footer-contact a { overflow-wrap: anywhere; }
.site-footer .footer-enquire {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); color: #ffffff; font-size: .85rem; font-weight: 600;
  transition: background-color .25s, border-color .25s, color .25s;
}
.site-footer .footer-enquire svg { width: .9rem; height: .9rem; }
.site-footer .footer-enquire:hover { background: var(--red); border-color: var(--red); color: #ffffff; }

/* Bottom bar: copyright | "Part of Traveljaz Group" (centred, small) | legal links */
.site-footer .bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8rem 1.5rem;
  padding-top: 1rem; font-size: .8rem; color: rgba(255, 255, 255, .5);
}
.site-footer .bottom .legal { justify-self: end; display: flex; gap: 1.2rem; }
.site-footer .bottom .legal a { color: rgba(255, 255, 255, .6); }
.site-footer .bottom .legal a:hover { color: var(--red-soft); }
.site-footer .group {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  text-decoration: none; color: rgba(255, 255, 255, .5); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.site-footer .group img { width: 88px; height: auto; filter: brightness(0) invert(1); opacity: .7; transition: opacity .3s; }
.site-footer .group:hover { color: rgba(255, 255, 255, .9); }
.site-footer .group:hover img { opacity: 1; }

@media (max-width: 980px) {
  .site-footer .top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem 2rem; }
  .site-footer .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.4rem; }
  .site-footer .footer-brand .brand { flex: none; }
  .site-footer .footer-brand p { margin: 0; }
}
@media (max-width: 640px) {
  .site-footer { padding-top: 2.4rem; }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.25rem; padding-bottom: 1.5rem; }
  .site-footer .footer-brand { gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .site-footer .brand img { width: 92px; }
  .site-footer .footer-brand p { font-size: .86rem; }
  .site-footer .footer-col--contact { grid-column: 1 / -1; }
  .site-footer .bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .55rem; padding-top: 1.1rem; }
  .site-footer .bottom .group { order: -1; }
  .site-footer .bottom .legal { justify-self: center; }
}

/* ---------- Phones: roomier, calmer layout ----------
   Phone-only refinements. Desktop and tablet layouts are untouched. */
@media (max-width: 640px) {
  .wrap { width: min(1240px, 100% - 2.75rem); }
  body { font-size: 1rem; }

  /* Hero */
  .hero { padding: 1.9rem 0 2.75rem; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .15em; gap: .55rem; margin-bottom: 1.1rem; }
  .hero .eyebrow::before { width: 1.4rem; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 2.75rem); line-height: 1.04; margin-bottom: .45em; }
  .hero .lede { font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.6rem; }
  .hero-actions { flex-direction: column; gap: .65rem; }
  .hero-actions .btn { justify-content: center; width: 100%; padding: 1rem 1.4rem; }
  .hero-picks { gap: .7rem; margin-top: 2rem; padding-top: 1.3rem; }
  .hero-picks a { gap: .5rem; }
  .pick-img { aspect-ratio: 1 / 1; border-radius: 999px 999px 10px 10px; }
  .pick-text { font-size: .7rem; line-height: 1.3; }
  .pick-text strong { font-size: .88rem; margin-bottom: .1rem; text-wrap: pretty; }
  .hero-visual { max-width: 100%; margin-top: 2.2rem; }
  .hero-visual .arch { aspect-ratio: 4 / 4.3; }
  .hero-visual .inset { left: -3%; bottom: 6%; width: 38%; border-width: 6px; }
  .hero .sun { width: 84px; height: 84px; right: -16px; top: -26px; }

  /* Sections and headings */
  .section { padding: 3.4rem 0; }
  .section--tight { padding: 2.4rem 0; }
  .section-head { gap: .9rem; margin-bottom: 1.8rem; }
  .section-head p { font-size: .97rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .15em; margin-bottom: 1rem; }
  .eyebrow::before { width: 1.4rem; }
  h2 { font-size: clamp(1.85rem, 8vw, 2.2rem); line-height: 1.08; }

  /* Journey tiles */
  .mosaic { gap: 1rem; }
  .tile { min-height: 250px; }
  .tile--tall { min-height: 400px; border-radius: 180px 180px 14px 14px; }
  .tile-body { padding: 1.3rem 1.3rem 1.4rem; }
  .tile-body h3 { font-size: 1.75rem; }
  .tile-body p { font-size: .92rem; max-width: none; padding-right: 3.4rem; }
  .tile-body .go { width: 42px; height: 42px; right: 1.3rem; bottom: 1.4rem; }

  /* "How a trip comes together": numeral beside each step */
  .steps { border-top: 0; }
  .step, .step + .step { display: grid; grid-template-columns: 3.1rem 1fr; column-gap: .4rem; padding: 1.4rem 0 0; margin-top: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .step + .step { margin-top: 1.4rem; }
  .step::before { grid-row: 1 / span 2; font-size: 2.1rem; margin: 0; }
  .step h3 { font-size: 1.3rem; margin-bottom: .4rem; }
  .step p { font-size: .95rem; margin: 0; }

  /* Tour cards rail: the next card peeks in */
  .rail { grid-auto-columns: 84%; gap: 1rem; padding-bottom: 1rem; }
  .tour-card .body { padding: 1.15rem 1.2rem 1.3rem; }
  .tour-card h3 { font-size: 1.3rem; }

  /* Quote band */
  .band { min-height: 62vh; }
  .band::before { background: linear-gradient(180deg, rgba(22, 20, 16, .05) 25%, rgba(22, 20, 16, .82) 100%); }
  .band .wrap { padding: 2.6rem 0; }
  .band blockquote { font-size: 1.85rem; max-width: 18ch; }
  .band cite { font-size: .72rem; margin-top: 1rem; }

  /* CTA block */
  .cta-block { padding: 2.1rem 1.5rem; border-radius: 22px; gap: 1.5rem; }
  .cta-block h2 { font-size: 1.85rem; }
  .cta-block p { font-size: .97rem; }
  .cta-block .actions { justify-self: stretch; }
  .cta-block .actions .btn { width: 100%; justify-content: center; }
  .cta-block .sun { width: 220px; height: 220px; right: -70px; top: -80px; }
}
@media (max-width: 400px) {
  .hero .eyebrow { font-size: .62rem; letter-spacing: .12em; }
  .hero .eyebrow::before { width: 1rem; }
  .hero-picks { gap: .55rem; }
  .pick-text strong { font-size: .8rem; }
  .pick-text { font-size: .66rem; }
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:has(> .section--sand:last-child) + .site-footer, main:has(> .section--ink:last-child) + .site-footer { margin-top: 0; }
