/*
 * THN1-BQ2 — Homepage-scoped styling.
 *
 * Homepage-scoped palette + rhythm refinements. Nothing in this file leaks to
 * THN1-A destination pages, WooCommerce, transfers, tours archive, checkout or
 * any other route. All selectors live under .th-home (emitted by
 * front-page.php) plus the section wrappers this batch owns.
 *
 * Logical properties throughout. Physical left/right only where strictly
 * unavoidable and RTL-mirrored. No @import, no external URL, no font binary.
 *
 * @package TravelHub
 */

/* ============================================================================
   Homepage-scoped brand authority
   ========================================================================== */

.th-home {
  --th-home-primary: var(--thui-blue);
  --th-home-primary-ink: var(--thui-n-0);
  --th-home-primary-ink-soft: var(--thui-n-100);
  --th-home-secondary: var(--thui-blue);
  --th-home-accent: var(--thui-amber);
  --th-home-accent-ink: var(--thui-color-accent-ink);
  --th-home-ink: var(--thui-color-ink);
  --th-home-text: var(--thui-color-text);
  --th-home-muted: var(--thui-color-text-muted);
  --th-home-bg: var(--thui-color-bg);
  --th-home-surface: var(--thui-color-surface);
  --th-home-border: var(--thui-color-border);
  --th-home-navy: var(--thui-navy);
  --th-home-navy-ink: var(--thui-n-0);
  --th-home-navy-ink-muted: var(--thui-n-300);
  --th-home-radius: var(--thui-radius-md);
  --th-home-radius-lg: var(--thui-radius-lg);
  --th-home-radius-xl: var(--thui-radius-xl);
  --th-home-shadow: var(--thui-shadow-sm);
  --th-home-shadow-md: var(--thui-shadow-md);
  --th-home-dur: var(--thui-dur);
  --th-home-ease: var(--thui-ease);
  color: var(--th-home-text);
  background: var(--th-home-bg);
  font-family: var(--thui-font-sans);
}

.th-home section + section {
  margin-block-start: 0;
}

/* ============================================================================
   Reusable home primitives (prefixed thh-)
   ========================================================================== */

.thh-head {
  text-align: center;
  max-inline-size: 42rem;
  margin-inline: auto;
  margin-block-end: clamp(2rem, 1rem + 2vw, 3rem);
}

.thh-eyebrow {
  display: inline-block;
  font-size: var(--thui-fs-xs);
  font-weight: var(--thui-fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--th-home-primary);
  margin-block-end: var(--thui-space-2);
}

.thh-title {
  font-family: var(--thui-font-display);
  font-size: var(--thui-fs-3xl);
  font-weight: var(--thui-fw-bold);
  color: var(--th-home-ink);
  line-height: var(--thui-lh-tight);
  margin: 0;
}

.thh-sub {
  font-size: var(--thui-fs-md);
  color: var(--th-home-muted);
  margin-block-start: var(--thui-space-2);
  line-height: var(--thui-lh-normal);
}

/* ============================================================================
   S2 — Hero / Travel Gateway
   ========================================================================== */

.thh-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 120%, rgba(0,152,216,.35) 0%, transparent 55%),
    linear-gradient(135deg, #0F172A 0%, #0057B8 55%, #0098D8 100%);
  color: #ffffff;
  padding-block: clamp(4rem, 6vw + 2rem, 8rem);
}

.thh-hero::before {
  /* subtle warm accent wash - evokes Egyptian sun, restrained */
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  inline-size: 40%;
  block-size: 100%;
  background: radial-gradient(circle at 90% 20%, rgba(199,154,59,.22) 0%, transparent 60%);
  pointer-events: none;
}

.thh-hero__inner {
  position: relative;
  max-inline-size: 48rem;
  margin-inline: auto;
  padding-inline: var(--thui-gutter);
  text-align: center;
}

.thh-hero__eyebrow {
  display: inline-block;
  font-size: var(--thui-fs-xs);
  font-weight: var(--thui-fw-semibold);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--th-home-accent);
  padding: .35rem .9rem;
  border: 1px solid rgba(199,154,59,.45);
  border-radius: var(--thui-radius-full);
  margin-block-end: var(--thui-space-4);
}

.thh-hero__title {
  font-family: var(--thui-font-display);
  font-size: var(--thui-fs-hero);
  font-weight: var(--thui-fw-extrabold);
  line-height: 1.08;
  letter-spacing: var(--thui-ls-tight);
  margin: 0 0 var(--thui-space-4);
  color: #ffffff;
}

.thh-hero__lede {
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  color: rgba(255,255,255,.88);
  max-inline-size: 40rem;
  margin: 0 auto var(--thui-space-6);
  line-height: var(--thui-lh-snug);
}

.thh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--thui-space-3);
  justify-content: center;
}

.thh-hero__cta .thui-btn {
  min-block-size: 52px;
  padding-inline: 1.75rem;
  font-weight: var(--thui-fw-semibold);
}

.thh-hero__cta .thui-btn--primary {
  background: var(--th-home-accent);
  color: var(--th-home-accent-ink);
  border-color: var(--th-home-accent);
}

.thh-hero__cta .thui-btn--primary:hover,
.thh-hero__cta .thui-btn--primary:focus-visible {
  background: #B8891F;
  border-color: #B8891F;
}

.thh-hero__cta .thui-btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.55);
}

.thh-hero__cta .thui-btn--ghost:hover,
.thh-hero__cta .thui-btn--ghost:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: #ffffff;
}

/* ============================================================================
   S3 — Trust strip
   ========================================================================== */

.thh-trust {
  background: var(--th-home-surface);
  border-block-end: 1px solid var(--th-home-border);
  padding-block: clamp(1.5rem, 1rem + 1vw, 2.5rem);
}

.thh-trust__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--thui-space-4) var(--thui-space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.thh-trust__item {
  display: flex;
  align-items: center;
  gap: var(--thui-space-2);
  font-size: var(--thui-fs-sm);
  color: var(--th-home-ink);
  line-height: var(--thui-lh-snug);
}

.thh-trust__item svg {
  flex: 0 0 auto;
  inline-size: 20px;
  block-size: 20px;
  stroke: var(--th-home-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .thh-trust__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .thh-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thh-trust__item { font-size: var(--thui-fs-xs); }
}

/* ============================================================================
   S4 — Destinations
   ========================================================================== */

.thh-dest {
  padding-block: clamp(3rem, 3rem + 2vw, 5rem);
  background: var(--th-home-bg);
}

.thh-dest__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--thui-space-4);
}

.thh-dest__card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #0057B8 0%, #0F172A 100%);
  border-radius: var(--th-home-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  box-shadow: var(--th-home-shadow);
  transition: transform var(--th-home-dur) var(--th-home-ease), box-shadow var(--th-home-dur) var(--th-home-ease);
}

.thh-dest__card:nth-child(2) { background: linear-gradient(180deg, #0098D8 0%, #0F172A 100%); }
.thh-dest__card:nth-child(3) { background: linear-gradient(180deg, #C79A3B 0%, #0F172A 100%); }

.thh-dest__card:hover,
.thh-dest__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--th-home-shadow-md);
}

.thh-dest__body {
  position: absolute;
  inset: 0;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: linear-gradient(180deg, transparent 45%, rgba(15,23,42,.75) 100%);
}

.thh-dest__kicker {
  font-size: var(--thui-fs-xs);
  font-weight: var(--thui-fw-semibold);
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  margin-block-end: var(--thui-space-1);
}

.thh-dest__name {
  font-family: var(--thui-font-display);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: var(--thui-fw-bold);
  margin: 0 0 var(--thui-space-1);
  color: #ffffff;
  line-height: 1.1;
}

.thh-dest__lede {
  font-size: var(--thui-fs-sm);
  opacity: .9;
  margin: 0 0 var(--thui-space-3);
  line-height: var(--thui-lh-snug);
}

.thh-dest__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--thui-space-1);
  font-size: var(--thui-fs-sm);
  font-weight: var(--thui-fw-semibold);
  color: var(--th-home-accent);
  margin-block-start: auto;
}

.thh-dest__cta::after {
  content: "→";
  transition: transform var(--th-home-dur) var(--th-home-ease);
}

[dir="rtl"] .thh-dest__cta::after { content: "←"; }

.thh-dest__card:hover .thh-dest__cta::after { transform: translateX(4px); }
[dir="rtl"] .thh-dest__card:hover .thh-dest__cta::after { transform: translateX(-4px); }

@media (max-width: 768px) {
  .thh-dest__grid { grid-template-columns: 1fr; gap: var(--thui-space-3); }
  .thh-dest__card { aspect-ratio: 16 / 9; }
}

/* ============================================================================
   S5 — Transfers (dark navy band)
   ========================================================================== */

.thh-xfer {
  background: var(--th-home-navy);
  color: var(--th-home-navy-ink);
  padding-block: clamp(3rem, 3rem + 2vw, 5rem);
  position: relative;
  overflow: hidden;
}

.thh-xfer::before {
  content: "";
  position: absolute;
  inset-block-end: -40%;
  inset-inline-start: -10%;
  inline-size: 40%;
  block-size: 120%;
  background: radial-gradient(ellipse at center, rgba(0,152,216,.18) 0%, transparent 65%);
  pointer-events: none;
}

.thh-xfer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 2rem + 2vw, 4rem);
  align-items: center;
}

.thh-xfer__head .thh-eyebrow { color: var(--th-home-accent); }
.thh-xfer__head .thh-title { color: #ffffff; }
.thh-xfer__head .thh-sub { color: var(--th-home-navy-ink-muted); }

.thh-xfer__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--thui-space-5);
  display: grid;
  gap: var(--thui-space-3);
}

.thh-xfer__item {
  display: flex;
  align-items: flex-start;
  gap: var(--thui-space-3);
  padding: var(--thui-space-3) var(--thui-space-4);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--th-home-radius);
}

.thh-xfer__icon {
  flex: 0 0 auto;
  inline-size: 40px;
  block-size: 40px;
  display: grid;
  place-items: center;
  background: rgba(0,152,216,.14);
  border-radius: var(--thui-radius-sm);
  color: var(--th-home-secondary);
}

.thh-xfer__icon svg {
  inline-size: 22px;
  block-size: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thh-xfer__item b {
  display: block;
  font-size: var(--thui-fs-base);
  font-weight: var(--thui-fw-semibold);
  color: #ffffff;
  margin-block-end: .15rem;
}

.thh-xfer__item span {
  font-size: var(--thui-fs-sm);
  color: var(--th-home-navy-ink-muted);
}

.thh-xfer__cta .thui-btn {
  min-block-size: 52px;
  padding-inline: 1.75rem;
}

.thh-xfer__cta .thui-btn--primary {
  background: var(--th-home-accent);
  color: var(--th-home-accent-ink);
  border-color: var(--th-home-accent);
}

.thh-xfer__cta .thui-btn--primary:hover,
.thh-xfer__cta .thui-btn--primary:focus-visible {
  background: #B8891F;
  border-color: #B8891F;
}

@media (max-width: 768px) {
  .thh-xfer__inner { grid-template-columns: 1fr; }
}

/* ============================================================================
   S6 — Tours (framing around blocks/tours.php)
   ========================================================================== */

.thh-tours {
  padding-block: clamp(3rem, 3rem + 2vw, 5rem);
  background: var(--th-home-bg);
}

/* S6 must remain structurally valid if blocks/tours.php returns early.
   We do not own the tours block markup; we only own this wrapper. */

/* ============================================================================
   S7 — Hotels & S8 — Packages (shared discovery card)
   ========================================================================== */

.thh-discovery {
  padding-block: clamp(3rem, 3rem + 2vw, 5rem);
}

.thh-discovery--alt { background: var(--th-home-surface); }

.thh-discovery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 1vw, 2rem);
}

.thh-disc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  background: var(--th-home-surface);
  border: 1px solid var(--th-home-border);
  border-radius: var(--th-home-radius-lg);
  text-decoration: none;
  color: inherit;
  min-block-size: 16rem;
  transition: border-color var(--th-home-dur) var(--th-home-ease), box-shadow var(--th-home-dur) var(--th-home-ease), transform var(--th-home-dur) var(--th-home-ease);
  overflow: hidden;
}

.thh-disc-card--alt {
  background: linear-gradient(160deg, #ffffff 0%, #F8FAFC 100%);
}

.thh-disc-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  block-size: 4px;
  background: var(--th-home-primary);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform var(--th-home-dur) var(--th-home-ease);
}

.thh-disc-card:hover,
.thh-disc-card:focus-visible {
  border-color: var(--th-home-primary);
  box-shadow: var(--th-home-shadow-md);
  transform: translateY(-2px);
}

.thh-disc-card:hover::before,
.thh-disc-card:focus-visible::before { transform: scaleX(1); }

.thh-disc-card__eyebrow {
  font-size: var(--thui-fs-xs);
  font-weight: var(--thui-fw-semibold);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--th-home-primary);
  margin-block-end: var(--thui-space-2);
}

.thh-disc-card__title {
  font-family: var(--thui-font-display);
  font-size: var(--thui-fs-2xl);
  font-weight: var(--thui-fw-bold);
  color: var(--th-home-ink);
  margin: 0 0 var(--thui-space-2);
  line-height: 1.2;
}

.thh-disc-card__body {
  font-size: var(--thui-fs-base);
  color: var(--th-home-muted);
  margin: 0 0 var(--thui-space-5);
  line-height: var(--thui-lh-snug);
}

.thh-disc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--thui-space-2);
  font-size: var(--thui-fs-sm);
  font-weight: var(--thui-fw-semibold);
  color: var(--th-home-primary);
  margin-block-start: auto;
}

.thh-disc-card__cta::after {
  content: "→";
  transition: transform var(--th-home-dur) var(--th-home-ease);
}

[dir="rtl"] .thh-disc-card__cta::after { content: "←"; }

.thh-disc-card:hover .thh-disc-card__cta::after { transform: translateX(4px); }
[dir="rtl"] .thh-disc-card:hover .thh-disc-card__cta::after { transform: translateX(-4px); }

@media (max-width: 768px) {
  .thh-discovery__grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   S9 — Plan Your Egypt Trip (human-first)
   ========================================================================== */

.thh-plan {
  background: var(--th-home-bg);
  padding-block: clamp(3rem, 3rem + 2vw, 5rem);
}

.thh-plan__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 2rem + 2vw, 4rem);
  align-items: center;
}

.thh-plan__prompts {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--thui-space-5);
  display: grid;
  gap: var(--thui-space-3);
}

.thh-plan__prompt {
  display: flex;
  align-items: flex-start;
  gap: var(--thui-space-3);
  font-size: var(--thui-fs-base);
  color: var(--th-home-text);
  line-height: var(--thui-lh-snug);
}

.thh-plan__prompt svg {
  flex: 0 0 auto;
  inline-size: 22px;
  block-size: 22px;
  margin-block-start: .1rem;
  stroke: var(--th-home-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thh-plan__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--thui-space-3);
  align-items: center;
}

.thh-plan__wa {
  display: inline-flex;
  align-items: center;
  gap: var(--thui-space-2);
  min-block-size: 52px;
  padding-inline: 1.5rem;
  background: var(--thui-color-whatsapp, #25D366);
  color: #ffffff;
  font-weight: var(--thui-fw-semibold);
  border-radius: var(--thui-radius-md);
  text-decoration: none;
  transition: background var(--th-home-dur) var(--th-home-ease), transform var(--th-home-dur) var(--th-home-ease);
}

.thh-plan__wa:hover,
.thh-plan__wa:focus-visible {
  background: #128C7E;
  color: #ffffff;
  transform: translateY(-2px);
}

.thh-plan__wa svg {
  inline-size: 22px;
  block-size: 22px;
  fill: currentColor;
}

.thh-plan__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--thui-space-2);
  min-block-size: 52px;
  padding-inline: 1.5rem;
  color: var(--th-home-ink);
  font-weight: var(--thui-fw-semibold);
  text-decoration: none;
  border: 1px solid var(--th-home-border);
  border-radius: var(--thui-radius-md);
  transition: border-color var(--th-home-dur) var(--th-home-ease), color var(--th-home-dur) var(--th-home-ease);
}

.thh-plan__phone:hover,
.thh-plan__phone:focus-visible {
  border-color: var(--th-home-primary);
  color: var(--th-home-primary);
}

.thh-plan__phone svg {
  inline-size: 20px;
  block-size: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .thh-plan__inner { grid-template-columns: 1fr; }
  .thh-plan__cta { flex-direction: column; align-items: stretch; }
  .thh-plan__wa,
  .thh-plan__phone { justify-content: center; }
}

/* ============================================================================
   S10 — Quote / WhatsApp (lead containment)
   ========================================================================== */

.thh-lead {
  background: var(--th-home-surface);
  padding-block: clamp(3rem, 3rem + 2vw, 5rem);
  border-block-start: 1px solid var(--th-home-border);
}

.thh-lead__head {
  text-align: center;
  max-inline-size: 40rem;
  margin-inline: auto;
  margin-block-end: clamp(1.5rem, 1rem + 1vw, 2.5rem);
}

.thh-lead__head p {
  color: var(--th-home-muted);
  margin: var(--thui-space-2) 0 0;
}

/* Primary human-first contact paths above the form */
.thh-lead__primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--thui-space-3);
  margin-block-end: var(--thui-space-6);
}

.thh-lead__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--thui-space-1);
  padding: var(--thui-space-5);
  border-radius: var(--th-home-radius-lg);
  text-decoration: none;
  min-block-size: 120px;
  transition: transform var(--th-home-dur) var(--th-home-ease), box-shadow var(--th-home-dur) var(--th-home-ease);
}

.thh-lead__btn--wa {
  background: var(--thui-color-whatsapp, #25D366);
  color: #ffffff;
}

.thh-lead__btn--wa:hover,
.thh-lead__btn--wa:focus-visible {
  background: #128C7E;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--th-home-shadow-md);
}

.thh-lead__btn--call {
  background: var(--th-home-primary);
  color: #ffffff;
}

.thh-lead__btn--call:hover,
.thh-lead__btn--call:focus-visible {
  background: #003E85;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--th-home-shadow-md);
}

.thh-lead__btn svg {
  inline-size: 28px;
  block-size: 28px;
  margin-block-end: var(--thui-space-1);
}

.thh-lead__btn--wa svg { fill: currentColor; stroke: none; }
.thh-lead__btn--call svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.thh-lead__btn b {
  font-size: var(--thui-fs-base);
  font-weight: var(--thui-fw-semibold);
  line-height: 1.2;
}

.thh-lead__btn small {
  font-size: var(--thui-fs-sm);
  opacity: .9;
}

/* The inherited lead form — contained, visually secondary */
.thh-lead__form-wrap {
  max-inline-size: 40rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 1vw, 2.25rem);
  background: var(--th-home-bg);
  border: 1px solid var(--th-home-border);
  border-radius: var(--th-home-radius-lg);
}

.thh-lead__form-eyebrow {
  font-size: var(--thui-fs-xs);
  font-weight: var(--thui-fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--th-home-muted);
  margin-block-end: var(--thui-space-3);
  text-align: center;
}

/* Neutralize the inherited block's own container/heading styles so the form
   sits cleanly inside our contained wrapper. Scoped to .thh-lead only. */
.thh-lead .thde-sec,
.thh-lead .thc-b6-lead { padding: 0; background: transparent; }
.thh-lead .thde-sec .thcx-container { max-inline-size: none; padding: 0; }
.thh-lead .thc-b6-form input,
.thh-lead .thc-b6-form textarea {
  background: var(--th-home-surface);
  border-color: var(--th-home-border);
}

@media (max-width: 560px) {
  .thh-lead__primary { grid-template-columns: 1fr; }
  .thh-lead__btn { min-block-size: 96px; flex-direction: row; padding-block: var(--thui-space-4); }
  .thh-lead__btn svg { margin-block-end: 0; margin-inline-end: var(--thui-space-2); }
}

/* ============================================================================
   Generic section wrapper rhythm used across S4 / S6 / S7 / S8 / S9
   ========================================================================== */

.thh-section-inner {
  max-inline-size: var(--thui-container);
  margin-inline: auto;
  padding-inline: var(--thui-gutter);
}

/* ============================================================================
   Reduced motion & focus states
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .th-home * {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

.th-home :focus-visible {
  outline: 2px solid var(--th-home-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================================
   THN1-A4H — Codex-direction hero, search, destinations, editorial splits,
   planner. APPENDED by Hermes temporary implementation batch (HOME-V1-A4H).
   Continues the existing file; preserves .th-home scope, logical properties,
   THUI tokens, focus-visible and prefers-reduced-motion conventions.

   Markup contract (Codex checkpoint, unchanged):
     .thh-hero > .thh-hero__copy + figure.thh-hero__media
       h1.thh-hero__title / p.thh-hero__lede / form.thh-search[data-home-search]
       a.thh-hero__planner
     .thh-dest > .thh-section-inner.thh-dest__layout
       header.thh-head--side + .thh-dest__rail > a.thh-dest__card
     section.thh-tours (framing only — delegated block renders itself)
     .thh-xfer > .thh-xfer__copy + figure.thh-xfer__media
     .thh-editorial (--hotel: media first; --packages: copy first)
     .thh-plan > .thh-plan__layout > header + form.thh-planner[data-home-planner]
   ========================================================================== */

/* ------------------------------------------------------------------
   HERO — editorial split: copy/search left, photography right.
   Light composition per Codex direction; no giant empty space.
   ------------------------------------------------------------------ */

.thh-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% -20%, rgba(0,152,216,.16) 0%, transparent 50%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF4FB 60%, #E6EFFB 100%);
  color: var(--th-home-ink);
  padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

/* faint sun accent, kept subtle on light ground */
.thh-hero::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -10%;
  inline-size: 46%;
  block-size: 90%;
  background: radial-gradient(circle at 70% 30%, rgba(199,154,59,.14) 0%, transparent 55%);
  pointer-events: none;
}

.thh-hero__copy {
  position: relative;
  z-index: 1;
}

.thh-hero__title {
  font-family: var(--thui-font-display);
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem);
  font-weight: var(--thui-fw-extrabold);
  line-height: 1.06;
  letter-spacing: var(--thui-ls-tight);
  margin: 0 0 var(--thui-space-4);
  color: var(--th-home-ink);
  max-inline-size: 13ch;
}

.thh-hero__lede {
  font-size: clamp(1rem, .92rem + .5vw, 1.2rem);
  color: var(--th-home-muted);
  max-inline-size: 34rem;
  margin: 0 0 clamp(1.25rem, 1rem + 1vw, 2rem);
  line-height: var(--thui-lh-normal);
}

/* --- Search bar: one horizontal professional row on desktop ------- */

.thh-search {
  display: grid;
  grid-template-columns: minmax(9rem, 1.35fr) minmax(8rem, 1fr) minmax(8.5rem, 1fr) minmax(5.5rem, .7fr) auto;
  gap: var(--thui-space-2);
  align-items: end;
  padding: var(--thui-space-3);
  background: var(--th-home-surface);
  border: 1px solid var(--th-home-border);
  border-radius: var(--th-home-radius-lg);
  box-shadow: var(--th-home-shadow-md);
  max-inline-size: 56rem;
}

.thh-search__field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-inline-size: 0;
}

.thh-search__field label {
  font-size: var(--thui-fs-xs);
  font-weight: var(--thui-fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--th-home-muted);
}

.thh-search__field select,
.thh-search__field input {
  inline-size: 100%;
  min-block-size: 44px;
  padding: .45rem .7rem;
  font: inherit;
  font-size: var(--thui-fs-sm);
  color: var(--th-home-ink);
  background: var(--th-home-bg);
  border: 1px solid var(--th-home-border);
  border-radius: var(--thui-radius-sm);
}

.thh-search__field select:focus-visible,
.thh-search__field input:focus-visible {
  outline: 2px solid var(--th-home-primary);
  outline-offset: 1px;
}

.thh-search__submit {
  min-block-size: 44px;
  padding-inline: clamp(1.1rem, .8rem + 1vw, 2rem);
  border: 0;
  border-radius: var(--thui-radius-sm);
  background: var(--th-home-primary);
  color: #ffffff;
  font: inherit;
  font-weight: var(--thui-fw-semibold);
  cursor: pointer;
  transition: background var(--th-home-dur) var(--th-home-ease);
}

.thh-search__submit:hover,
.thh-search__submit:focus-visible {
  background: #003E85;
  color: #ffffff;
}

/* --- Hero media: strong photography, right column ------------------ */

.thh-hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
}

.thh-hero__media img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border-radius: var(--th-home-radius-xl);
  box-shadow: var(--th-home-shadow-md);
}

/* --- Planner teaser link under search ----------------------------- */

.thh-hero__planner {
  display: inline-flex;
  align-items: center;
  gap: var(--thui-space-2);
  margin-block-start: var(--thui-space-4);
  font-size: var(--thui-fs-sm);
  font-weight: var(--thui-fw-semibold);
  color: var(--th-home-primary);
  text-decoration: none;
}

.thh-hero__planner svg {
  flex: 0 0 auto;
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thh-hero__planner:hover,
.thh-hero__planner:focus-visible {
  text-decoration: underline;
  color: #003E85;
}

@supports (grid-template-columns: subgrid) {
  .thh-hero { /* keep split layout explicit below */ }
}

/* ------------------------------------------------------------------
   HERO LAYOUT SPLIT (desktop): copy left / photo right
   ------------------------------------------------------------------ */

@media (min-width: 901px) {
  .thh-hero > * { min-inline-size: 0; }
  .thh-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
    align-items: center;
    max-inline-size: var(--thui-container-wide, 1280px);
    margin-inline: auto;
    padding-inline: var(--thui-gutter);
  }
  .thh-hero__media img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 900px) {
  .thh-hero__media { order: -1; margin-block-end: var(--thui-space-4); }
  .thh-hero__media img { aspect-ratio: 16 / 10; }
  .thh-hero__copy { padding-inline: var(--thui-gutter); }
  .thh-hero__title { max-inline-size: none; }
  /* intentionally composed mobile search: stacked fields, full-width CTA */
  .thh-search {
    grid-template-columns: 1fr 1fr;
    max-inline-size: none;
  }
  .thh-search__field--destination,
  .thh-search__field--guests { grid-column: span 1; }
  .thh-search__submit { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 430px) {
  .thh-search { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   DESTINATIONS — side heading + portrait rail (desktop),
   horizontal scroll-snap rail (mobile)
   ------------------------------------------------------------------ */

.thh-dest__layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}

.thh-head--side {
  text-align: start;
  margin-block-end: 0;
  position: sticky;
  inset-block-start: 6rem;
}

.thh-dest__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--thui-space-4);
}

.thh-dest__rail .thh-dest__card {
  aspect-ratio: 2 / 3;
  background: var(--th-home-navy);
}

.thh-dest__rail .thh-dest__card:nth-child(2),
.thh-dest__rail .thh-dest__card:nth-child(3) {
  background: var(--th-home-navy);
}

/* portrait imagery dominant */
.thh-dest__card img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform var(--th-home-dur-slow, .45s) var(--th-home-ease);
}

.thh-dest__card:hover img,
.thh-dest__card:focus-visible img { transform: scale(1.04); }

.thh-dest__body {
  z-index: 1;
  justify-content: flex-end;
  gap: .15rem;
  background: linear-gradient(180deg, transparent 42%, rgba(10,16,32,.82) 88%);
  padding-block-end: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.thh-dest__body small {
  font-size: var(--thui-fs-xs);
  font-weight: var(--thui-fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}

.thh-dest__body strong {
  font-family: var(--thui-font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  font-weight: var(--thui-fw-bold);
  line-height: 1.15;
}

.thh-dest__body > span:not(.thh-dest__cta) {
  font-size: var(--thui-fs-sm);
  line-height: var(--thui-lh-snug);
  opacity: .92;
  max-inline-size: 30ch;
}

.thh-dest__body b {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: var(--thui-fw-semibold);
  color: var(--th-home-accent);
  margin-block-start: var(--thui-space-2);
}

/* arrow glyph wrapper for RTL flip */
.thh-arrow { display: inline-block; transition: transform var(--th-home-dur) var(--th-home-ease); }
[dir="rtl"] .thh-arrow { transform: scaleX(-1); }
.thh-dest__card:hover .thh-arrow,
a:hover > .thh-arrow { transform: translateX(3px); }
[dir="rtl"] .thh-dest__card:hover .thh-arrow { transform: scaleX(-1) translateX(3px); }

@media (max-width: 900px) {
  .thh-dest__layout { grid-template-columns: 1fr; }
  .thh-head--side { position: static; margin-block-end: var(--thui-space-4); }
}

@media (max-width: 768px) {
  .thh-dest__rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    margin-inline: calc(var(--thui-gutter) * -1);
    padding-inline: var(--thui-gutter);
    padding-block-end: var(--thui-space-2);
  }
  .thh-dest__rail .thh-dest__card {
    flex: 0 0 min(78%, 320px);
    scroll-snap-align: center;
    aspect-ratio: 2 / 3;
  }
}

/* ------------------------------------------------------------------
   TRANSFERS — deep navy band: copy left / approved photo right
   ------------------------------------------------------------------ */

.thh-xfer {
  background: var(--th-home-navy);
  color: var(--th-home-navy-ink);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}

.thh-xfer > * { min-inline-size: 0; }

@media (min-width: 901px) {
  .thh-xfer {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
    align-items: center;
    padding-inline: clamp(2rem, 1rem + 4vw, 5rem);
  }
}

.thh-xfer__copy .thh-eyebrow { color: var(--th-home-accent); }
.thh-xfer__copy .thh-title { color: #ffffff; }
.thh-xfer__copy > p:not(.thh-eyebrow) {
  color: var(--th-home-navy-ink-muted);
  max-inline-size: 34rem;
  line-height: var(--thui-lh-normal);
}

.thh-xfer__copy ul {
  list-style: none;
  margin: var(--thui-space-4) 0 var(--thui-space-5);
  padding: 0;
  display: grid;
  gap: var(--thui-space-2);
}

.thh-xfer__copy li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-size: var(--thui-fs-base);
  color: var(--th-home-navy-ink);
}

.thh-xfer__copy li::before {
  content: "";
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--th-home-secondary);
  flex: 0 0 auto;
  transform: translateY(-1px);
}

/* --- Buttons & links shared by transfers/hotels/packages ---------- */

.thh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-block-size: 48px;
  padding-inline: 1.6rem;
  border-radius: var(--thui-radius-md);
  border: 1px solid transparent;
  font-weight: var(--thui-fw-semibold);
  text-decoration: none;
  transition: background var(--th-home-dur) var(--th-home-ease), border-color var(--th-home-dur) var(--th-home-ease), color var(--th-home-dur) var(--th-home-ease), transform var(--th-home-dur) var(--th-home-ease);
}

.thh-btn--light {
  background: var(--th-home-accent);
  border-color: var(--th-home-accent);
  color: var(--th-home-accent-ink);
}

.thh-btn--light:hover,
.thh-btn--light:focus-visible {
  background: #B8891F;
  border-color: #B8891F;
  color: var(--th-home-accent-ink);
  transform: translateY(-2px);
}

.thh-btn:not(.thh-btn--light) {
  background: var(--th-home-primary);
  border-color: var(--th-home-primary);
  color: #ffffff;
}

.thh-btn:not(.thh-btn--light):hover,
.thh-btn:not(.thh-btn--light):focus-visible {
  background: #003E85;
  border-color: #003E85;
  color: #ffffff;
  transform: translateY(-2px);
}

.thh-text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: var(--thui-fw-semibold);
  color: var(--th-home-primary);
  text-decoration: none;
}

.thh-text-link:hover,
.thh-text-link:focus-visible { text-decoration: underline; color: #003E85; }

/* ------------------------------------------------------------------
   HOTELS / PACKAGES — editorial splits with real photography
   hotels: image left / copy right · packages: copy left / image right
   ------------------------------------------------------------------ */

.thh-editorial {
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  background: var(--th-home-surface);
}

.thh-editorial--packages { background: var(--th-home-bg); }

.thh-editorial > * { min-inline-size: 0; }

@media (min-width: 901px) {
  .thh-editorial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
    align-items: center;
    padding-inline: clamp(2rem, 1rem + 4vw, 5rem);
  }
  .thh-editorial--hotel .thh-editorial__media { order: -1; }
}

.thh-editorial__media { margin: 0; }

.thh-editorial__media img {
  display: block;
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--th-home-radius-xl);
  box-shadow: var(--th-home-shadow-md);
}

.thh-editorial__copy .thh-title { margin-block-end: var(--thui-space-3); }

.thh-editorial__copy > p:not(.thh-eyebrow) {
  color: var(--th-home-muted);
  max-inline-size: 36rem;
  line-height: var(--thui-lh-normal);
}

.thh-editorial__copy small {
  display: block;
  margin-block-start: var(--thui-space-3);
  font-size: var(--thui-fs-xs);
  color: var(--th-home-muted);
}

.thh-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--thui-space-3) var(--thui-space-5);
  margin-block-start: var(--thui-space-4);
}

@media (max-width: 900px) {
  .thh-editorial__media { order: -1; margin-block-end: var(--thui-space-4); }
  .thh-editorial__copy { padding-inline: var(--thui-gutter); }
  .thh-editorial { padding-inline: 0; }
  .thh-xfer__copy { padding-inline: var(--thui-gutter); }
  .thh-xfer { padding-inline: 0; }
  .thh-xfer__media { margin-block-start: var(--thui-space-4); }
  .thh-xfer__media img { border-radius: 0; }
}

/* ------------------------------------------------------------------
   TRANSFER MEDIA
   ------------------------------------------------------------------ */

.thh-xfer__media { margin: 0; }

.thh-xfer__media img {
  display: block;
  inline-size: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--th-home-radius-xl);
}

/* ------------------------------------------------------------------
   PLAN MY TRIP — travel planner presentation seam (not chatbot)
   ------------------------------------------------------------------ */

.thh-plan {
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  background: linear-gradient(180deg, var(--th-home-bg) 0%, #EDF3FA 100%);
}

.thh-plan__layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  align-items: start;
}

.thh-plan__layout header p:not(.thh-eyebrow) {
  color: var(--th-home-muted);
  line-height: var(--thui-lh-normal);
  max-inline-size: 30rem;
}

.thh-planner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--thui-space-3);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--th-home-surface);
  border: 1px solid var(--th-home-border);
  border-radius: var(--th-home-radius-lg);
  box-shadow: var(--th-home-shadow);
}

.thh-planner label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: var(--thui-fs-sm);
  font-weight: var(--thui-fw-semibold);
  color: var(--th-home-ink);
}

.thh-planner select,
.thh-planner input,
.thh-planner textarea {
  inline-size: 100%;
  font: inherit;
  font-size: var(--thui-fs-sm);
  color: var(--th-home-ink);
  background: var(--th-home-bg);
  border: 1px solid var(--th-home-border);
  border-radius: var(--thui-radius-sm);
  padding: .55rem .7rem;
}

.thh-planner textarea { resize: vertical; }

.thh-planner select:focus-visible,
.thh-planner input:focus-visible,
.thh-planner textarea:focus-visible {
  outline: 2px solid var(--th-home-primary);
  outline-offset: 1px;
}

.thh-planner__wide { grid-column: 1 / -1; }

.thh-planner button[type="submit"] {
  border: 0;
  cursor: pointer;
  min-block-size: 48px;
}

.thh-planner__note {
  margin: 0;
  font-size: var(--thui-fs-xs);
  color: var(--th-home-muted);
}

.planner-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: var(--thui-fs-sm);
  font-weight: var(--thui-fw-semibold);
  color: var(--th-home-primary);
}

@media (max-width: 900px) {
  .thh-plan__layout { grid-template-columns: 1fr; }
  .thh-plan__layout header p:not(.thh-eyebrow) { padding-inline: 0; }
}

@media (max-width: 560px) {
  .thh-planner { grid-template-columns: 1fr; }
}

/* ============================================================================
   HOME-V1-A7 — Travel Hub design-system evolution
   Homepage-scoped refinements only. The existing THUI palette, Cairo type,
   chrome, component contracts, interaction logic and RTL model remain owners.
   ========================================================================== */

.th-home {
  overflow: clip;
  color: var(--thui-color-text);
  background: var(--thui-color-surface);
}

.th-home .thh-title {
  max-inline-size: 18ch;
  font-weight: var(--thui-fw-bold);
  line-height: 1.13;
  letter-spacing: var(--thui-ls-tight);
}

.th-home .thh-eyebrow {
  color: var(--thui-blue);
  letter-spacing: .1em;
}

.thh-hero {
  max-inline-size: none;
  min-block-size: auto;
  padding: clamp(2.25rem, 5vw, 5rem) max(var(--thui-gutter), calc((100vw - var(--thui-container-wide)) / 2));
  background: linear-gradient(90deg, var(--thui-n-100) 0 53%, #e7f1f7 100%);
  gap: clamp(2rem, 4vw, 4.75rem);
}

.thh-hero::before { display: none; }

.thh-hero__copy {
  align-self: center;
  padding-block: clamp(.5rem, 2vw, 2rem);
}

.thh-hero__title {
  max-inline-size: 12ch;
  margin-block-end: var(--thui-space-4);
  font-size: clamp(2.55rem, 4.4vw, 4.5rem);
  font-weight: var(--thui-fw-bold);
  line-height: 1.04;
}

.thh-hero__lede {
  max-inline-size: 36rem;
  margin-block-end: var(--thui-space-6);
  color: var(--thui-color-text-muted);
}

.thh-hero__media img {
  aspect-ratio: 5 / 4;
  border-radius: var(--thui-radius-sm);
  box-shadow: none;
}

.thh-search {
  grid-template-columns: minmax(8.5rem, 1.25fr) minmax(7.5rem, 1fr) minmax(8rem, 1fr) minmax(5rem, .65fr) auto;
  gap: 0;
  max-inline-size: 60rem;
  padding: var(--thui-space-2);
  border: 1px solid var(--thui-n-300);
  border-radius: var(--thui-radius-sm);
  box-shadow: var(--thui-shadow-sm);
}

.thh-search__field {
  gap: .25rem;
  padding-inline: var(--thui-space-3);
  border-inline-end: 1px solid var(--thui-n-200);
}

[dir="rtl"] .thh-search__field:last-of-type { border-inline-end: 1px solid var(--thui-n-200); }

.thh-search__field select,
.thh-search__field input {
  min-block-size: 40px;
  padding: .3rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.thh-search__submit {
  min-block-size: 54px;
  margin-inline-start: var(--thui-space-2);
  border-radius: 6px;
  background: var(--thui-blue);
}

.thh-search__submit:hover,
.thh-search__submit:focus-visible { background: var(--thui-navy); }

.thh-hero__planner {
  margin-block-start: var(--thui-space-4);
  color: var(--thui-navy);
}

.thh-dest,
.thh-tours,
.thh-plan,
.thh-lead { padding-block: clamp(3.5rem, 6vw, 6rem); }

.thh-dest__layout {
  grid-template-columns: minmax(13rem, .68fr) minmax(0, 2.32fr);
  gap: clamp(1.75rem, 4vw, 4rem);
}

.thh-head--side { inset-block-start: 7rem; }

.thh-dest__rail {
  grid-template-columns: .92fr 1.15fr .92fr;
  gap: var(--thui-space-3);
  align-items: end;
}

.thh-dest__rail .thh-dest__card {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}

.thh-dest__rail .thh-dest__card:nth-child(2) { aspect-ratio: 4 / 5.5; }
.thh-dest__body { padding: var(--thui-space-5); }
.thh-dest__body b { color: #fff; font-size: var(--thui-fs-sm); }

.thh-tours { background: var(--thui-n-50); }
.thh-tours .thde-sec { padding: 0; background: transparent; }
.thh-tours .thcx-container { max-inline-size: none; padding: 0; }
.thh-tours .thde-sec__title { margin-block: 0 var(--thui-space-6); color: var(--thui-navy); }
.thh-tours .thc-b4-slider { gap: var(--thui-space-4); }

.thh-tours .thc-pcard {
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  background: var(--thui-color-surface);
  overflow: hidden;
}

.thh-tours .thc-pcard .img { aspect-ratio: 4 / 3; }
.thh-tours .thc-pcard .img:not(:has(img)) {
  display: grid;
  place-items: end start;
  padding: var(--thui-space-4);
  background:
    linear-gradient(135deg, transparent 60%, color-mix(in srgb, var(--thc-accent, var(--thui-teal)) 18%, transparent) 60%),
    var(--thui-n-100);
}

.thh-tours .thc-pcard .img:not(:has(img))::after {
  content: "Travel Hub Egypt";
  max-inline-size: 12ch;
  color: var(--thui-navy);
  font-size: var(--thui-fs-sm);
  font-weight: var(--thui-fw-semibold);
  line-height: var(--thui-lh-snug);
}
.thh-tours .thc-pcard .tag,
.thh-tours .thc-pcard .stars { display: none; }
.thh-tours .thc-pcard .b { padding: var(--thui-space-4); }
.thh-tours .thc-pcard .t { color: var(--thui-navy); font-weight: var(--thui-fw-semibold); }
.thh-tours .thc-pcard .meta { color: var(--thui-color-text-muted); }
.thh-tours .thc-pcard .foot { border-block-start: 1px solid var(--thui-n-200); padding-block-start: var(--thui-space-3); }
.thh-tours .thc-b4-more { margin-block-start: var(--thui-space-6); text-align: start; }
.thh-tours .thcx-btn-teal { background: var(--thui-blue); border-radius: 6px; }

.thh-xfer {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 0;
  padding: 0;
  background: var(--thui-navy);
}

.thh-xfer__copy {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
}

.thh-xfer__copy ul {
  grid-template-columns: repeat(3, auto);
  gap: 0;
  max-inline-size: 35rem;
  border-block: 1px solid rgba(255,255,255,.2);
}

.thh-xfer__copy li {
  padding: var(--thui-space-3);
  border-inline-end: 1px solid rgba(255,255,255,.2);
  font-size: var(--thui-fs-sm);
}

.thh-xfer__copy li:last-child { border-inline-end: 0; }
.thh-xfer__copy li::before { display: none; }
.thh-xfer__media img { block-size: clamp(30rem, 45vw, 42rem); min-block-size: 0; aspect-ratio: auto; border-radius: 0; }
.thh-btn { border-radius: 6px; box-shadow: none; }
.thh-btn--light { background: var(--thui-amber); border-color: var(--thui-amber); }

.thh-editorial {
  grid-template-columns: minmax(0, 1.22fr) minmax(18rem, .78fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3.5rem, 6vw, 6rem) max(var(--thui-gutter), calc((100vw - var(--thui-container-wide)) / 2));
}

.thh-editorial__media img {
  block-size: auto;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  box-shadow: none;
}

.thh-editorial--packages {
  grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
  background: var(--thui-n-50);
}

.thh-editorial--packages .thh-editorial__media img { aspect-ratio: 16 / 9; }
.thh-editorial__copy > p:not(.thh-eyebrow) { max-inline-size: 34rem; }

.thh-plan {
  color: #fff;
  background: var(--thui-navy);
}

.thh-plan__layout { grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.2fr); }
.thh-plan .thh-eyebrow { color: var(--thui-amber); }
.thh-plan .thh-title { color: #fff; }
.thh-plan__layout header p:not(.thh-eyebrow) { color: rgba(255,255,255,.75); }

.thh-planner {
  gap: var(--thui-space-4);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  background: #fff;
  border: 0;
  border-radius: var(--thui-radius-sm);
  box-shadow: none;
}

.thh-planner select,
.thh-planner input,
.thh-planner textarea {
  border: 1px solid var(--thui-n-300);
  border-radius: 6px;
  background: var(--thui-n-50);
}

.thh-planner textarea { min-block-size: 9rem; }
.thh-planner label.thh-planner__wide { order: -1; }
.thh-planner button[type="submit"] { background: var(--thui-orange); border-color: var(--thui-orange); }
.thh-planner button[type="submit"]:hover,
.thh-planner button[type="submit"]:focus-visible { background: var(--thui-navy); border-color: var(--thui-navy); }

.thh-trust { background: #fff; border-block: 1px solid var(--thui-n-200); }
.thh-trust__grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0;
}

.thh-trust__item {
  min-block-size: 0;
  padding: var(--thui-space-4) var(--thui-space-5);
  border-inline-end: 1px solid var(--thui-n-200);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.thh-trust__item:nth-child(3n) { border-inline-end: 0; }
.thh-trust__item svg { inline-size: 20px; block-size: 20px; }

.thh-lead { background: var(--thui-n-50); border-block-start: 0; padding-block: clamp(3rem, 5vw, 4.5rem); }
.thh-lead__primary { max-inline-size: 46rem; margin-inline: auto; }
.thh-lead__btn { min-block-size: 96px; border-radius: var(--thui-radius-sm); box-shadow: none; }
.thh-lead__btn--call { background: var(--thui-blue); }
.thh-lead__form-wrap { max-inline-size: 36rem; padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: var(--thui-radius-sm); box-shadow: none; }
.thh-lead .thc-b6-form { gap: var(--thui-space-3); }
.thh-lead .thc-b6-form textarea { min-block-size: 7rem; }

@media (max-width: 900px) {
  .thh-hero {
    display: grid;
    grid-template-columns: 1fr;
    padding-inline: 0;
    padding-block: 0 var(--thui-space-8);
  }

  .thh-hero__media { order: -1; margin: 0; }
  .thh-hero__media img { aspect-ratio: 16 / 8; border-radius: 0; }
  .thh-hero__copy { padding: var(--thui-space-6) var(--thui-gutter) 0; }
  .thh-hero__title { max-inline-size: 15ch; }
  .thh-search { grid-template-columns: 1fr 1fr; gap: var(--thui-space-2); padding: var(--thui-space-3); }
  .thh-search__field { padding: 0; border: 0; }
  .thh-search__field select,
  .thh-search__field input { padding: .45rem .65rem; border: 1px solid var(--thui-n-300); border-radius: 6px; background: var(--thui-n-50); }
  .thh-search__submit { grid-column: 1 / -1; margin: 0; }
  .thh-dest__layout { grid-template-columns: 1fr; }
  .thh-head--side { position: static; }
  .thh-xfer { display: grid; grid-template-columns: 1fr; }
  .thh-xfer__media { order: -1; margin: 0; }
  .thh-xfer__media img { block-size: auto; aspect-ratio: 16 / 8; }
  .thh-editorial { display: grid; grid-template-columns: 1fr; padding-inline: 0; }
  .thh-editorial__copy { padding-inline: var(--thui-gutter); }
  .thh-editorial__media { order: -1; margin: 0; }
  .thh-editorial__media img { block-size: auto; border-radius: 0; }
  .thh-plan__layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .thh-dest__rail,
  .thh-tours .thc-b4-slider {
    display: flex;
    gap: var(--thui-space-3);
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    margin-inline: calc(var(--thui-gutter) * -1);
    padding-inline: var(--thui-gutter);
    padding-block-end: var(--thui-space-3);
  }

  .thh-dest__rail::-webkit-scrollbar,
  .thh-tours .thc-b4-slider::-webkit-scrollbar { display: none; }
  .thh-dest__rail .thh-dest__card,
  .thh-dest__rail .thh-dest__card:nth-child(2) { flex: 0 0 min(78vw, 19rem); aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .thh-tours .thc-pcard { flex: 0 0 min(78vw, 20rem); scroll-snap-align: start; }
  [dir="rtl"] .thh-dest__rail .thh-dest__card,
  [dir="rtl"] .thh-tours .thc-pcard { scroll-snap-align: end; }
  .thh-trust__grid { grid-template-columns: 1fr 1fr; }
  .thh-trust__item:nth-child(3n) { border-inline-end: 1px solid var(--thui-n-200); }
  .thh-trust__item:nth-child(2n) { border-inline-end: 0; }
}

@media (max-width: 560px) {
  html, body { max-inline-size: 100%; overflow-x: clip; }
  .th-home { inline-size: 100%; }
  .thh-hero__media img { aspect-ratio: 16 / 10; object-position: 62% center; }
  .thh-hero__copy { padding-block-start: var(--thui-space-5); }
  .thh-hero__title { font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.08; }
  .thh-hero__lede { font-size: var(--thui-fs-base); }
  .thh-search { grid-template-columns: 1fr 1fr; }
  .thh-search__field--destination,
  .thh-search__field--guests { grid-column: auto; }
  .thh-search__field label { font-size: .68rem; }
  .thh-search__field select,
  .thh-search__field input { min-inline-size: 0; font-size: .8rem; }
  .thh-hero__planner { align-items: flex-start; line-height: 1.4; }
  .thh-dest,
  .thh-tours,
  .thh-plan,
  .thh-lead { padding-block: var(--thui-space-8); }
  .thh-xfer__copy { padding: var(--thui-space-8) var(--thui-gutter); }
  .thh-xfer__copy ul { grid-template-columns: 1fr; }
  .thh-xfer__copy li { border-inline-end: 0; border-block-end: 1px solid rgba(255,255,255,.16); }
  .thh-xfer__copy li:last-child { border-block-end: 0; }
  .thh-editorial { padding-block: var(--thui-space-8); gap: var(--thui-space-6); }
  .thh-editorial__media img { aspect-ratio: 16 / 10; }
  .thh-planner { grid-template-columns: 1fr; padding: var(--thui-space-4); }
  .thh-planner > * { grid-column: 1 !important; }
  .thh-trust__grid { grid-template-columns: 1fr; }
  .thh-trust__item,
  .thh-trust__item:nth-child(n) { border-inline-end: 0; border-block-end: 1px solid var(--thui-n-200); }
  .thh-trust__item:last-child { border-block-end: 0; }
  .thh-lead__primary { grid-template-columns: 1fr; }
  .thh-lead__btn { min-block-size: 82px; }
  .thh-lead__form-wrap { padding: var(--thui-space-4); }
}
