/* ============================================================
   EGYPT SUN — MULTI-PAGE COMPONENTS
   Loaded after style.css. Adds inner-page components.
============================================================ */

/* ---------- Active nav link ---------- */
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.mobile-nav a.active { color: var(--gold); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 90px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: kenburns 12s ease-out forwards;
}
@keyframes kenburns { to { transform: scale(1); } }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.72) 55%, rgba(13,27,42,0.5) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 18px;
}
.page-hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  max-width: 560px;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--gold-light); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.45); }
.breadcrumb .sep { color: var(--gold); font-size: 11px; }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../images/nile-bg.jpg');
  background-size: cover; background-position: center;
  opacity: 0.16;
}
.cta-band-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding: 64px 0;
}
.cta-band-text { max-width: 620px; }
.cta-band-text h2 { font-size: clamp(28px, 3.5vw, 40px); color: var(--white); margin-bottom: 12px; }
.cta-band-text h2 span { color: var(--gold); }
.cta-band-text p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.7; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- INTRO / LEAD ---------- */
.lead-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.lead-text .section-sub { max-width: 100%; margin-bottom: 18px; }
.lead-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
}
.lead-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- VALUES / MISSION CARDS ---------- */
.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 34px 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.mv-card::before {
  content: '';
  position: absolute; top: 0; inset-inline-start: 0;
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 0 0 4px 0;
}
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mv-card .mv-icon {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 14px;
  direction: ltr; unicode-bidi: isolate;
}
.mv-card h3 { font-size: 23px; color: var(--navy); margin-bottom: 12px; }
.mv-card p { color: var(--text-mid); font-size: 15px; line-height: 1.8; }

/* ---------- VALUES (boarding-pass ticket layout) ---------- */
.value-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 30px 34px; max-width: 980px; margin: 0 auto;
}
.value-card {
  display: flex; align-items: stretch;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15,25,40,0.08);
  transition: var(--transition);
  position: relative;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(15,25,40,0.16); }
.value-main {
  flex: 1; padding: 26px 26px; min-width: 0;
  border-start-start-radius: 16px; border-end-start-radius: 16px;
}
.value-main h3 {
  font-size: 18px; color: var(--navy); margin-bottom: 10px;
  padding-bottom: 12px; position: relative;
}
.value-main h3::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 26px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}
.value-main p { font-size: 13.5px; color: var(--text-mid); line-height: 1.7; }
.value-stub {
  flex-shrink: 0; width: 78px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 6px; position: relative;
  background: linear-gradient(165deg, var(--navy) 0%, #0b1626 100%);
  border-start-end-radius: 16px; border-end-end-radius: 16px;
  border-inline-start: 2px dashed rgba(255,255,255,0.3);
}
.value-stub::before,
.value-stub::after {
  content: ''; position: absolute; inset-inline-start: -10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream);
}
.value-stub::before { top: -10px; }
.value-stub::after { bottom: -10px; }
.value-num {
  font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700;
  color: var(--gold-light); line-height: 1;
  direction: ltr; unicode-bidi: isolate;
}
.value-tag {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  direction: ltr; unicode-bidi: isolate;
}
@media (max-width: 700px) {
  .value-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- STATS STRIP ---------- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-box {
  text-align: center; padding: 36px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stat-box .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 46px; font-weight: 700; color: var(--gold);
  line-height: 1; display: block;
}
.stat-box .stat-label {
  font-size: 14px; color: var(--text-mid);
  margin-top: 10px; letter-spacing: 0.03em;
}

/* ---------- TIMELINE ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item { position: relative; padding: 0 0 40px 70px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 13px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .year { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold-dark); font-weight: 700; }
.timeline-item h4 { font-size: 18px; color: var(--navy); margin: 4px 0 8px; }
.timeline-item p { color: var(--text-mid); font-size: 15px; line-height: 1.7; }

/* ---------- PROCESS STEPS (route-map flow) ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute; top: 28px; inset-inline-start: 12.5%; inset-inline-end: 12.5%;
  height: 0; border-top: 2px dashed rgba(197,129,13,0.35);
  z-index: 0;
}
.process-step {
  text-align: center; padding: 0;
  background: transparent; border: none; position: relative;
  transition: var(--transition); z-index: 1;
}
.process-step:hover { transform: translateY(-5px); }
.process-num {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-dark); font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold); position: relative; z-index: 2;
  transition: var(--transition);
}
.process-step:hover .process-num {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}
.process-step h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
@media (max-width: 700px) {
  .process-grid::before { display: none; }
}

/* ---------- TEAM ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 920px; margin: 0 auto; }
.team-card {
  background: transparent; border-radius: 20px;
  overflow: visible; border: none;
  text-align: center; transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); }
.team-photo {
  aspect-ratio: 3/4; background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--gold-dark);
  overflow: hidden; position: relative;
  margin: 0; border-radius: 20px;
  box-shadow: 0 14px 32px rgba(15,25,40,0.2);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%); transform: scale(1);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.team-card:hover .team-photo img,
.team-photo img:active {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.team-photo.no-photo { font-size: 0; }
.team-photo.no-photo::before {
  content: '\f508'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
  font-size: 56px; color: var(--gold-dark); opacity: 0.5;
}
.team-body {
  background: var(--white); border-radius: 16px;
  margin: -54px 20px 0; position: relative; z-index: 2;
  padding: 22px 20px 26px;
  box-shadow: 0 10px 28px rgba(15,25,40,0.1);
}
.team-body h4 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.team-role {
  font-size: 12.5px; color: var(--gold-dark); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 14px; position: relative;
}
.team-role::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 32px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}
.team-body p { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; }

/* ---------- DETAILED TOUR LIST (rows) ---------- */
.tour-row {
  display: grid; grid-template-columns: 320px 1fr auto;
  gap: 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 26px;
  transition: var(--transition);
}
.tour-row:hover { box-shadow: var(--shadow-md); }
.tour-row-img { position: relative; overflow: hidden; height: 260px; align-self: start; }
.tour-row-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tour-row-body > p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden;
}
.tour-row:hover .tour-row-img img { transform: scale(1.05); }
.tour-row-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 14px;
  border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em;
}
.tour-row-badge.hot { background: var(--terracotta); color: #fff; }
.tour-row-body { padding: 30px; }
.tour-row-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.tour-row-meta span { display: flex; align-items: center; gap: 6px; }
.tour-row-meta i { color: var(--gold); }
.tour-row-body h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.tour-row-body > p { color: var(--text-mid); font-size: 14.5px; line-height: 1.7; margin-bottom: 16px; }
.tour-incl { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tour-incl li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-mid); }
.tour-incl li i { color: #3CA55C; font-size: 12px; }
.tour-row-side {
  padding: 30px; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-width: 220px; border-left: 1px solid var(--border);
}
.tour-row-side .price-from { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.tour-row-side .price-amt { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; margin: 4px 0; }
.tour-row-side .price-per { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.tour-row-side .btn { width: 100%; justify-content: center; }

/* ---------- INFO / DETAIL CARDS ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 34px 28px;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.info-card .info-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px; color: var(--gold-dark);
}
.info-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.info-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.75; }
.info-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.info-card ul li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-mid); }
.info-card ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- MAP ---------- */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* ---------- DESTINATION CARDS ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dest-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 3/4; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; color: var(--white);
}
.dest-overlay h3 { font-size: 24px; margin-bottom: 6px; }
.dest-overlay p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.dest-overlay .dest-link { font-size: 13px; font-weight: 600; color: var(--gold-light); display: flex; align-items: center; gap: 8px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid { grid-template-columns: 1fr; }
  .tour-row { grid-template-columns: 1fr; }
  .tour-row-side { border-left: none; border-top: 1px solid var(--border); flex-direction: row; gap: 20px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .tour-row-side { flex-direction: column; }
  .page-hero { min-height: 44vh; }
}

/* ---------- Custom Trip Builder ---------- */
.builder-hero { min-height: 62vh; }
.builder-section { padding-top: 72px; }
.builder-shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}
.builder-aside {
  position: sticky;
  top: 112px;
  padding: 32px;
  border: 1px solid rgba(197,129,13,0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(197,129,13,0.11), rgba(255,255,255,0.045));
}
.builder-aside h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 14px;
}
.builder-aside p {
  color: var(--text-mid);
  line-height: 1.8;
}
.builder-progress { margin: 28px 0; }
.builder-progress span {
  display: block;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.builder-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.builder-progress-fill {
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.28s ease;
}
.builder-benefits {
  display: grid;
  gap: 12px;
}
.builder-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
}
.builder-benefits i { color: var(--gold); }
.builder-card {
  min-height: 620px;
  padding: 36px;
  border: 1px solid rgba(197,129,13,0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  box-shadow: var(--shadow-md);
}
.builder-step { display: none; }
.builder-step.active { display: block; }
.builder-step h3 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--white);
  margin-bottom: 8px;
}
.builder-step > p {
  color: var(--text-mid);
  margin-bottom: 26px;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.choice-grid label {
  display: block;
  cursor: pointer;
}
.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-grid span {
  display: block;
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(197,129,13,0.22);
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  color: var(--white);
  transition: var(--transition);
}
.choice-grid.compact span {
  min-height: auto;
}
.choice-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-light);
}
.choice-grid small {
  display: block;
  color: var(--text-mid);
  line-height: 1.5;
}
.choice-grid input:checked + span {
  border-color: var(--gold);
  background: rgba(197,129,13,0.14);
  box-shadow: 0 0 0 3px rgba(197,129,13,0.10);
}
.builder-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}
.builder-summary {
  display: grid;
  gap: 8px;
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(197,129,13,0.20);
  border-radius: 10px;
  background: rgba(197,129,13,0.07);
}
.builder-summary li {
  color: var(--text-mid);
  font-size: 14px;
}
.builder-summary strong { color: var(--gold-light); }
.builder-success {
  display: none;
  text-align: center;
  padding: 72px 24px;
}
.builder-success i {
  font-size: 46px;
  color: var(--gold);
  margin-bottom: 18px;
}
.builder-success h3 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 10px;
}
.builder-success p {
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 24px;
}

/* ---------- Language Landing Pages ---------- */
.language-landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}
.language-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.88), rgba(0,0,0,0.58)), var(--lang-hero, url('../images/hero-bg.jpg')) center/cover;
}
.language-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.language-content h1 {
  font-size: clamp(42px, 7vw, 78px);
  color: var(--white);
  margin-bottom: 20px;
}
.language-content h1 span { color: var(--gold); }
.language-content p {
  color: rgba(255,255,255,0.78);
  font-size: 19px;
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 30px;
}
.language-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.language-seo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}
.language-seo-grid article {
  padding: 20px;
  border: 1px solid rgba(197,129,13,0.22);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
}
.language-seo-grid h2 {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.language-seo-grid p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 920px) {
  .builder-shell { grid-template-columns: 1fr; }
  .builder-aside { position: static; }
  .language-seo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .builder-card,
  .builder-aside { padding: 24px; }
  .choice-grid { grid-template-columns: 1fr; }
  .builder-actions { justify-content: stretch; flex-direction: column; }
  .builder-actions .btn { justify-content: center; }
}

/* ---------- Final dark-mode fixes for inner-page components ---------- */
.tour-row {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border: 1px solid rgba(232,168,61,0.34);
  box-shadow: 0 12px 34px rgba(0,0,0,0.32);
}
.tour-row:hover {
  background: linear-gradient(180deg, rgba(197,129,13,0.12), rgba(255,255,255,0.045));
  border-color: rgba(232,168,61,0.62);
}
.tour-row-body h3,
.tour-row-side .price-amt {
  color: var(--text);
}
.tour-row-body > p,
.tour-row-meta,
.tour-incl li,
.tour-row-side .price-from,
.tour-row-side .price-per {
  color: var(--text-mid);
}
.tour-row-side {
  background: linear-gradient(180deg, rgba(197,129,13,0.13), rgba(255,255,255,0.045));
  border-left: 1px solid rgba(232,168,61,0.28);
}
.tour-incl li i,
.tour-row-meta i {
  color: var(--gold-light);
}
.tab-btn {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,168,61,0.38);
}
.tab-btn.active,
.tab-btn:hover {
  color: #090909;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
}
.page-hero + .section-pad {
  background: transparent;
}
.mv-card,
.stat-box,
.process-step,
.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border-color: rgba(232,168,61,0.28);
}
.mv-card h3,
.process-step h4,
.info-card h3,
.timeline-item h4 {
  color: var(--text);
}
.mv-card p,
.stat-box .stat-label,
.process-step p,
.info-card p,
.info-card ul li,
.timeline-item p {
  color: var(--text-mid);
}

/* Shared light content surfaces. Photo heroes and the footer retain their
   own light text tokens, while every ordinary page uses the homepage ivory. */
#hero, .page-hero, .language-hero, .cta-band, #ez-final-cta, #footer {
  --text: #F4EFE2;
  --text-mid: rgba(244,239,226,0.72);
  --text-light: rgba(244,239,226,0.52);
}

#ez-why { background: var(--page-bg); }

.section-pad .faq-cta,
.section-pad .builder-aside,
.section-pad .builder-card,
.section-pad .language-seo-grid article {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.section-pad .faq-cta h3,
.section-pad .faq-cta p,
.builder-aside h2,
.builder-step h3,
.builder-success h3,
.choice-grid span {
  color: var(--text);
}
.section-pad .faq-cta p[style],
.builder-benefits li { color: var(--text-mid) !important; }

.builder-progress span,
.choice-grid strong,
.builder-summary strong,
.form-group label { color: var(--gold-dark); }
.builder-progress-track { background: rgba(0,0,0,0.10); }

.form-group input,
.form-group select,
.form-group textarea { background: #fff; color: var(--text); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

:is(.section-pad, .section-pad-sm) .btn-outline {
  color: var(--text) !important;
  border-color: rgba(27,27,41,0.3) !important;
  background: transparent !important;
  box-shadow: none;
}
:is(.section-pad, .section-pad-sm) .btn-outline:hover {
  color: var(--text) !important;
  border-color: var(--gold) !important;
  background: rgba(197,129,13,0.08) !important;
}

/* The fixed navigation must stay readable above the light page sections. */
#navbar.scrolled {
  background: var(--page-bg);
  box-shadow: var(--shadow-sm);
}
#navbar.scrolled .nav-brand,
#navbar.scrolled .nav-brand-name,
#navbar.scrolled .nav-links a,
#navbar.scrolled .lang-menu-btn { color: var(--text); }
#navbar.scrolled .hamburger,
#navbar.scrolled .lang-menu-btn { border-color: rgba(27,27,41,0.25); }
#navbar.scrolled .hamburger span { background: var(--text); }

/* Company links remain separate from services and are available on every page. */
.footer-policies { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-policies h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-policy-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-policy-links a { color: rgba(255,255,255,0.78); font-size: 14px; }
.footer-policy-links a:hover, .footer-policy-links a:focus-visible { color: var(--gold-light); text-decoration: underline; }

/* Homepage statistics: a framed editorial panel with four clear metrics. */
.waypoint-body .waypoint-credit { display: block; margin-top: 8px; font-size: 10px; line-height: 1.5; color: var(--text-light); overflow-wrap: anywhere; }
.waypoint-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

#trust-bar { padding: 48px 0 84px; }
.trust-panel {
  position: relative;
  padding: 34px 38px 38px;
  border: 1px solid rgba(197,129,13,0.22);
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: 0 16px 42px rgba(27,27,41,0.055);
  overflow: hidden;
}
.trust-panel::before {
  content: ''; position: absolute; top: 0; inset-inline: 38px;
  height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.trust-heading { text-align: center; margin-bottom: 28px; }
.trust-heading .trust-eyebrow { color: var(--gold-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.09em; margin-bottom: 8px; }
.trust-heading h2 { color: var(--text); font-size: clamp(25px, 3vw, 34px); }
#trust-bar .trust-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
#trust-bar .trust-item.stat { min-width: 0; gap: 12px; padding: 14px 20px 8px; text-align: center; }
#trust-bar .trust-item + .trust-item { border-inline-start: 1px solid rgba(197,129,13,0.2); }
.trust-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #f6eddb; }
#trust-bar .trust-icon i { font-size: 20px; color: var(--gold-dark); }
#trust-bar .trust-item .num { direction: ltr; unicode-bidi: isolate; font-size: clamp(38px, 4vw, 54px); color: #1b1b29; font-variant-numeric: tabular-nums; line-height: 1.15; }
#trust-bar .trust-item .label { color: #5d574c; font-size: 15px; font-weight: 500; letter-spacing: 0; }
@media (max-width: 640px) {
  #trust-bar { padding: 28px 0 48px; }
  .trust-panel { padding: 26px 16px 20px; border-radius: 20px; }
  .trust-heading { margin-bottom: 18px; }
  #trust-bar .trust-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #trust-bar .trust-item.stat { padding: 20px 8px; gap: 10px; }
  #trust-bar .trust-item:nth-child(3) { border-inline-start: 0; }
  #trust-bar .trust-item:nth-child(n+3) { border-top: 1px solid rgba(197,129,13,0.2); }
  #trust-bar .trust-item .num { font-size: 36px; }
  #trust-bar .trust-item .label { font-size: 13px; }
}
#faq { scroll-margin-top: 110px; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Day-by-day itinerary timeline (multi-day tour detail pages) ---------- */
.itinerary { margin-top: 20px; }
.itinerary-day { position: relative; margin-bottom: 36px; }
.itinerary-day:last-child { margin-bottom: 0; }
.itinerary-day-head {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.itinerary-day-num {
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}
.itinerary-day-head h4 { font-size: 18px; color: var(--text); margin: 0; }
.itinerary-waypoints { position: relative; padding-inline-start: 4px; }
.itinerary-waypoints::before {
  content: ''; position: absolute; inset-inline-start: 23px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.waypoint { position: relative; display: flex; gap: 18px; padding: 0 0 26px; padding-inline-start: 56px; }
.waypoint:last-child { padding-bottom: 0; }
.waypoint-dot {
  position: absolute; inset-inline-start: 14px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px rgba(197,129,13,0.4);
}
.waypoint-time {
  display: inline-block; font-size: 11px; color: var(--gold-dark); font-weight: 700;
  letter-spacing: 0.03em; margin-bottom: 4px;
}
.waypoint-img {
  width: 96px; height: 96px; border-radius: var(--radius); object-fit: cover;
  flex-shrink: 0; box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  cursor: zoom-in; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.waypoint-img:hover { transform: scale(1.05); box-shadow: 0 10px 22px rgba(0,0,0,0.28); }
.waypoint-body h5 { font-size: 15.5px; color: var(--text); margin: 0 0 6px; }
.waypoint-body p { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; margin: 0; }
@media (max-width: 640px) {
  .waypoint { flex-direction: column; gap: 10px; padding-inline-start: 44px; }
  .waypoint-img { width: 100%; height: 150px; }
}

@media (max-width: 760px) {
  .tour-detail-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .tour-detail-grid > div:last-child { position: static !important; }
  .tour-detail-inclusions { grid-template-columns: 1fr !important; gap: 24px !important; }
  .tour-row-meta { flex-wrap: wrap; gap: 8px 14px; }
}

/* ---------- Photo lightbox (click-to-zoom for itinerary & highlight images) ---------- */
.photo-lightbox {
  position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,0.88); opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease; padding: 30px;
}
.photo-lightbox.is-open { opacity: 1; visibility: visible; }
.photo-lightbox img {
  max-width: min(90vw, 900px); max-height: 85vh; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.85); opacity: 0; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
.photo-lightbox.is-open img { transform: scale(1); opacity: 1; }
.photo-lightbox-caption {
  position: absolute; bottom: 30px; left: 0; right: 0; text-align: center;
  color: #fff; font-size: 14px; opacity: 0.85;
}
.photo-lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.photo-lightbox-close:hover { background: rgba(255,255,255,0.18); }
@media (prefers-reduced-motion: reduce) {
  .photo-lightbox, .photo-lightbox img { transition: none; }
}

.tour-highlight-banner {
  margin-top: 44px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(197,160,89,0.10), rgba(197,160,89,0.02));
  border: 1px solid rgba(197,160,89,0.28);
  position: relative;
  overflow: hidden;
}
.tour-highlight-banner::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.tour-highlight-icon {
  font-size: 26px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.tour-highlight-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.tour-highlight-banner p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0;
}
.tour-quickfacts {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tour-quickfact {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 14px;
  color: var(--text-mid);
}
.tour-quickfact i { color: var(--gold); font-size: 14px; }
.section-light .tour-highlight-banner p,
.section-light .tour-quickfact { color: var(--text-dark, #2a2a2a); }
@media (max-width: 640px) {
  .tour-highlight-banner { flex-direction: column; gap: 10px; padding: 22px; }
}

/* ---------- BLOG INDEX ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
}
.blog-card {
  display: block; background: var(--white);
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(15,25,40,0.06);
  box-shadow: 0 12px 32px rgba(15,25,40,0.08);
  transition: var(--transition);
  text-decoration: none;
}
.blog-card:hover {
  box-shadow: 0 22px 48px rgba(15,25,40,0.16);
  transform: translateY(-6px);
}
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.19,1,0.22,1);
}
.blog-card--snorkeling-red-sea-egypt-guide .blog-card-img { position: relative; }
.blog-card--snorkeling-red-sea-egypt-guide .blog-card-img img {
  position: absolute; top: -24px; left: 0; height: calc(100% + 24px);
  object-fit: cover; object-position: center center;
}
.blog-card:hover .blog-card-img img { transform: scale(1.07); }
.blog-card-body { padding: 24px 26px 26px; }
.blog-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-light); margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.blog-card h2 {
  font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700;
  color: var(--navy); line-height: 1.35; margin-bottom: 10px;
}
.blog-card p {
  font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px;
}
.blog-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.blog-card-link i { transition: transform 0.3s ease; }
.blog-card:hover .blog-card-link i { transform: translateX(4px); }
html[dir="rtl"] .blog-card:hover .blog-card-link i { transform: translateX(-4px); }

/* ---------- BLOG ARTICLE ---------- */
.blog-article-hero {
  position: relative; width: 100%; height: 48vh; min-height: 320px;
  overflow: hidden; margin-top: 0;
}
.blog-article-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,30,0.15) 0%, rgba(10,18,30,0) 40%, rgba(10,18,30,0.1) 100%);
}
.blog-article-container { max-width: 760px; margin: 0 auto; padding-top: 48px; }
.blog-article-meta {
  display: flex; align-items: center; gap: 20px;
  font-size: 13.5px; color: var(--text-light); margin-bottom: 18px;
}
.blog-article-meta i { color: var(--gold-dark); margin-inline-end: 6px; }
.blog-article-title {
  font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700;
  color: var(--navy); line-height: 1.3; margin-bottom: 36px;
}
.blog-article-body p {
  font-size: 17px; line-height: 1.95; color: var(--text-mid); margin-bottom: 24px;
}
.blog-article-body h2 {
  font-family: 'Playfair Display', serif; font-size: 25px; color: var(--navy);
  margin: 44px 0 20px; padding-top: 24px; position: relative;
}
.blog-article-body h2::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 0;
  width: 46px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}
.blog-article-figure { margin: 32px 0; }
.blog-article-figure img {
  width: 100%; border-radius: 16px; box-shadow: 0 14px 32px rgba(15,25,40,0.12);
}
.blog-article-figure figcaption {
  font-size: 13px; color: var(--text-light); font-style: italic;
  margin-top: 10px; text-align: center;
}
.blog-cta-box {
  margin: 40px 0; padding: 32px;
  background: linear-gradient(165deg, rgba(197,129,13,0.07), rgba(197,129,13,0.02));
  border: 1px solid rgba(197,129,13,0.22);
  border-radius: 20px;
}
.blog-cta-box h3 {
  font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 10px;
}
.blog-cta-box > p {
  font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px;
}
.blog-cta-tours {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.blog-cta-tour {
  display: block; background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); text-decoration: none; transition: var(--transition);
}
.blog-cta-tour:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-cta-tour img { width: 100%; height: 110px; object-fit: cover; display: block; }
.blog-cta-tour-body { padding: 14px 16px 16px; }
.blog-cta-tour-body span {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--navy);
  line-height: 1.4; margin-bottom: 10px; min-height: 38px;
}
.blog-cta-tour-body strong {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.blog-article-back { margin: 48px 0 60px; }
.blog-article-back a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--gold-dark); text-decoration: none;
}
@media (max-width: 700px) {
  .blog-article-title { font-size: 27px; }
  .blog-article-body p { font-size: 15.5px; }
  .blog-article-hero { height: 32vh; min-height: 220px; }
}
