/* quick-egypt.cyou — Quick Egypt Luxor Routes LLC
   Desert rose + Nile jade + limestone · split header · overlay-card hero · qegy- */

:root {
  --qegy-rose: #c45c4a;
  --qegy-rose-dk: #9a4335;
  --qegy-jade: #2d8a6e;
  --qegy-jade-lt: #45a888;
  --qegy-stone: #f8f4ed;
  --qegy-stone-dk: #e8e0d0;
  --qegy-white: #ffffff;
  --qegy-ink: #2c2620;
  --qegy-dim: #6b6258;
  --qegy-line: #cfc4b4;
  --qegy-max: 1160px;
  --qegy-display: Georgia, "Times New Roman", serif;
  --qegy-mono: "SF Mono", Consolas, "Courier New", monospace;
  --qegy-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--qegy-body);
  font-size: 16px;
  line-height: 1.64;
  color: var(--qegy-ink);
  background: var(--qegy-stone);
}

h1, h2, h3, h4 {
  font-family: var(--qegy-display);
  font-weight: 700;
  color: var(--qegy-rose-dk);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

a { color: var(--qegy-jade); }

a:hover { color: var(--qegy-rose-dk); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--qegy-jade-lt);
  outline-offset: 3px;
}

.qegy-frame {
  max-width: var(--qegy-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Split header: logo block + nav strip */
.qegy-mast {
  background: var(--qegy-white);
  border-bottom: 1px solid var(--qegy-line);
}

.qegy-mast__top {
  display: flex;
  align-items: stretch;
  min-height: 56px;
}

.qegy-mast__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--qegy-rose);
  padding: 0 22px;
  text-decoration: none;
  flex-shrink: 0;
}

.qegy-mast__logo strong {
  font-family: var(--qegy-display);
  color: #fff;
  font-size: 1.05rem;
}

.qegy-mast__logo small {
  display: block;
  font-family: var(--qegy-mono);
  font-size: 0.65rem;
  color: #f5d0c8;
  letter-spacing: 0.04em;
}

.qegy-mast__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0 8px;
  gap: 0;
}

.qegy-mast__tabs a {
  text-decoration: none;
  color: var(--qegy-ink);
  padding: 10px 13px;
  font-size: 0.86rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.qegy-mast__tabs a:hover,
.qegy-mast__tabs a.qegy-here {
  border-bottom-color: var(--qegy-jade);
  color: var(--qegy-jade);
}

.qegy-mast__tabs a.qegy-pick {
  margin-left: auto;
  background: var(--qegy-jade);
  color: #fff;
  border-bottom: 0;
  border-radius: 8px;
  margin-right: 8px;
}

.qegy-mast__tabs a.qegy-pick:hover {
  background: var(--qegy-jade-lt);
  color: #fff;
}

.qegy-mast__btn {
  display: none;
  margin: 8px;
  border: 1px solid var(--qegy-line);
  background: var(--qegy-stone);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Hero: full bleed + bottom-left overlay card */
.qegy-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  background: var(--qegy-rose-dk);
}

.qegy-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.qegy-hero__card {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 0 36px 36px;
  background: var(--qegy-white);
  padding: 26px 24px 28px;
  border-radius: 8px;
  border-left: 6px solid var(--qegy-jade);
  box-shadow: 0 12px 36px rgba(44, 38, 32, 0.2);
}

.qegy-hero__card h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
}

.qegy-hero__label {
  font-family: var(--qegy-mono);
  font-size: 0.72rem;
  color: var(--qegy-jade);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.qegy-hit {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.qegy-hit--fill {
  background: var(--qegy-jade);
  color: #fff;
  border-color: var(--qegy-jade);
}

.qegy-hit--fill:hover {
  background: var(--qegy-jade-lt);
}

.qegy-hit--line {
  background: transparent;
  color: var(--qegy-rose-dk);
  border-color: var(--qegy-rose);
}

.qegy-hit--line:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.qegy-hit--ghost {
  background: transparent;
  color: var(--qegy-jade);
  border: 0;
  padding-left: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qegy-flex { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.qegy-sect { padding: 46px 0; }

.qegy-sect--alt { background: var(--qegy-white); }

.qegy-sect__intro {
  max-width: 58ch;
  margin: 0 auto 24px;
  text-align: center;
  color: var(--qegy-dim);
}

.qegy-steps { display: flex; flex-direction: column; gap: 12px; }

.qegy-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--qegy-white);
  border: 1px solid var(--qegy-line);
  border-radius: 8px;
  padding: 16px 18px;
}

.qegy-step__num {
  font-family: var(--qegy-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--qegy-rose);
  line-height: 1;
}

.qegy-step img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 8px;
}

.qegy-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.qegy-cols__item {
  background: var(--qegy-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--qegy-line);
}

.qegy-cols__item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.qegy-cols__body { padding: 14px 16px 18px; }

.qegy-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.qegy-grid-table {
  width: 100%;
  border-collapse: collapse;
}

.qegy-grid-table th,
.qegy-grid-table td {
  border: 1px solid var(--qegy-line);
  padding: 10px 12px;
  text-align: left;
}

.qegy-grid-table th {
  background: var(--qegy-jade);
  color: #fff;
}

.qegy-ask details {
  border: 1px solid var(--qegy-line);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 12px 16px;
  background: var(--qegy-white);
}

.qegy-ask summary { cursor: pointer; font-weight: 700; }

.qegy-input label {
  display: block;
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.qegy-input input,
.qegy-input select,
.qegy-input textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--qegy-line);
  border-radius: 8px;
  margin-bottom: 14px;
  font: inherit;
}

.qegy-input textarea { min-height: 120px; resize: vertical; }

.qegy-input__msg { font-weight: 700; color: var(--qegy-jade); }

.qegy-top {
  padding: 40px 0 14px;
  text-align: center;
}

.qegy-top h1 { font-size: clamp(1.8rem, 4vw, 2.45rem); }

.qegy-body { max-width: 72ch; margin: 0 auto; }

.qegy-body--wide { max-width: none; margin: 0; }

.qegy-crew {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.qegy-crew figure {
  margin: 0;
  text-align: center;
  background: var(--qegy-white);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid var(--qegy-line);
}

.qegy-crew img {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto 8px;
}

.qegy-pack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.qegy-pack__box {
  background: var(--qegy-white);
  border: 1px solid var(--qegy-line);
  border-radius: 8px;
  padding: 20px 16px;
}

.qegy-pack__box--hot {
  border-color: var(--qegy-jade);
  box-shadow: 0 0 0 2px var(--qegy-jade-lt);
}

.qegy-pack__fee {
  font-family: var(--qegy-display);
  font-size: 2rem;
  color: var(--qegy-rose);
  font-weight: 700;
}

.qegy-band {
  background: var(--qegy-jade);
  color: #fff;
  text-align: center;
  padding: 36px 20px;
}

.qegy-band a { color: var(--qegy-stone); font-weight: 700; }

.qegy-end {
  background: var(--qegy-ink);
  color: #a8a098;
  margin-top: 40px;
}

.qegy-end__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
  padding: 34px 0 20px;
}

.qegy-end__head {
  color: var(--qegy-stone);
  font-family: var(--qegy-display);
  font-weight: 700;
  margin-bottom: 8px;
}

.qegy-end ul { list-style: none; padding: 0; margin: 0; }

.qegy-end li { margin-bottom: 5px; }

.qegy-end a { color: var(--qegy-jade-lt); }

.qegy-end address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.5;
}

.qegy-end__fine {
  border-top: 1px solid #4a443c;
  padding: 11px 0;
  font-size: 0.78rem;
}

@media (max-width: 880px) {
  .qegy-cols, .qegy-pack, .qegy-crew { grid-template-columns: 1fr 1fr; }
  .qegy-pair { grid-template-columns: 1fr; }
  .qegy-end__row { grid-template-columns: 1fr 1fr; }
  .qegy-hero__card { margin: 0 18px 24px; max-width: none; }
}

@media (max-width: 600px) {
  .qegy-mast__btn { display: block; }
  .qegy-mast__tabs {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 10px;
  }
  .qegy-mast__tabs.qegy-open { display: flex; }
  .qegy-mast__top { flex-wrap: wrap; }
  .qegy-cols, .qegy-pack, .qegy-crew { grid-template-columns: 1fr; }
  .qegy-end__row { grid-template-columns: 1fr; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .qegy-hit, .qegy-step { transition: none; }
}
