/* /egypt — ground services page. Reuses home.css for hero eyebrow/lead and the FAQ. */
:root { --sand-ink: #6b4a14; --nile: #0e5a78; }

.eg-hero { position: relative; min-height: max(640px, 92svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: #1b1206; }
.eg-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 14s ease-out forwards; }
.eg-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 10 0 / .5), rgb(20 10 0 / 0) 26%), linear-gradient(0deg, rgb(20 10 0 / .85), rgb(20 10 0 / .25) 55%, rgb(20 10 0 / 0) 80%); }
.eg-hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: 44px; }
.eg-hero__title { max-width: 15ch; }
.eg-hero__cities { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eg-hero__cities li { padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.eg-tabs { position: sticky; top: var(--header-h); z-index: 30; background: rgb(248 246 241 / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.eg-tabs__row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.eg-tabs__row::-webkit-scrollbar { display: none; }
.eg-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; font-weight: 650; font-size: 14px; color: var(--ink-2); transition: background .15s, color .15s; }
.eg-tabs a:hover, .eg-tabs a.is-active { background: var(--ink); color: #fff; }

.eg-service { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: calc(var(--header-h) + 60px); }
.eg-service:nth-of-type(even) { background: var(--bg-2); }
.eg-service__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eg-service.is-flipped .eg-media { order: 2; }
.eg-service__text .lead { margin-top: 14px; }
.eg-points { margin: 22px 0 26px; }
.eg-cities { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eg-cities li { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--sand-ink); font-weight: 650; font-size: 13.5px; }

.eg-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.eg-media figure { margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--bg-2); }
.eg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.eg-media figure:hover img { transform: scale(1.04); }
.eg-media__main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.eg-media__a, .eg-media__b { aspect-ratio: 4 / 3; }
.eg-media--video { grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; }
.eg-media--video .eg-reel { grid-row: 1 / span 2; position: relative; aspect-ratio: 9 / 16; background: #0b2230; }
.eg-media--video .eg-media__a, .eg-media--video .eg-media__b { aspect-ratio: auto; }
.eg-reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.eg-reel__tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgb(0 0 0 / .5); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.eg-ask { padding: 18px; box-shadow: var(--shadow); }
.eg-ask__title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 12px; color: var(--wa); }
.eg-ask__fields { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.eg-ask__fields .field--wide { grid-column: 1 / -1; }
.eg-ask .input, .eg-ask .select { min-height: 46px; padding-block: 10px; }

.section.dark.eg-plan { background: radial-gradient(900px 420px at 10% 0%, #6b4a14 0%, transparent 60%), #2a1c08; color: #f5ead6; }
.eg-plan .eyebrow { color: #f0c46c; }
.eg-plan .lead { color: #e2cfae; }
.eg-plan__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.eg-plan__img { margin: 28px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.eg-plan__img img { width: 100%; height: 100%; object-fit: cover; }
.eg-plan__form { color: var(--ink); display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.eg-plan__form fieldset { border: 0; padding: 0; margin: 0; }
.eg-plan__form legend { font-weight: 700; margin-bottom: 10px; }
.eg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eg-chip { position: relative; cursor: pointer; }
.eg-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.eg-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; transition: all .15s; }
.eg-chip:hover span { border-color: var(--ink); }
.eg-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.eg-chip input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.eg-quotes { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.eg-quote { margin: 0; padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.eg-quote blockquote { margin: 0; font: 600 18px/1.45 var(--display); letter-spacing: -.01em; }
.eg-quote figcaption { margin-top: auto; display: grid; font-size: 13.5px; }
.eg-quote figcaption span { color: var(--muted); }

@media (max-width: 1000px) { .eg-quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .eg-service__grid, .eg-plan__grid { grid-template-columns: minmax(0, 1fr); }
  .eg-service.is-flipped .eg-media { order: 0; }
  .eg-plan__img { display: none; }
}
@media (max-width: 560px) {
  .eg-quotes { grid-template-columns: 1fr; }
  .eg-ask__fields { grid-template-columns: 1fr; }
  .eg-media--video { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .eg-media--video .eg-reel { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .eg-media--video .eg-media__a, .eg-media--video .eg-media__b { aspect-ratio: 1; }
}
.eg-plan__form { grid-template-columns: minmax(0, 1fr); }
.eg-plan__form fieldset { min-width: 0; }

/* Youssef: hero chip + meet section */
.eg-host { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s; }
.eg-host:hover { background: rgb(255 255 255 / .22); }
.eg-host__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.eg-host b { display: block; font-size: 15px; line-height: 1.2; }
.eg-host small { font-size: 12.5px; opacity: .85; }
.eg-lead { background: linear-gradient(180deg, #f6ecda, var(--bg)); scroll-margin-top: calc(var(--header-h) + 60px); }
.eg-lead__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.eg-lead__photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; aspect-ratio: 1; max-width: 440px; }
.eg-lead__photo img { width: 100%; height: 100%; object-fit: cover; }
.eg-lead__photo figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgb(8 30 25 / .7); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eg-lead__role { margin-top: 8px; font-weight: 650; color: var(--sand-ink); }
.eg-lead__quote { margin: 4px 0 0; padding: 16px 18px; border-left: 3px solid var(--gold); background: #fff; border-radius: 0 var(--r) var(--r) 0; font: 600 16.5px/1.5 var(--display); max-width: 60ch; }
.eg-lead__quote cite { display: block; margin-top: 8px; font: 500 13px/1.4 var(--body); color: var(--muted); font-style: normal; }
.eg-lead__phone { align-self: center; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .eg-lead__grid { grid-template-columns: minmax(0, 1fr); } .eg-lead__photo { max-width: 360px; } }

/* Sightseeing picker */
.eg-places { background: var(--bg); scroll-margin-top: calc(var(--header-h) + 60px); }
.eg-places__form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.eg-places__grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eg-place { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--card); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s var(--ease); }
.eg-place:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.eg-place input { position: absolute; opacity: 0; pointer-events: none; }
.eg-place:has(input:checked) { border-color: var(--wa); box-shadow: 0 0 0 3px rgb(31 174 85 / .18); }
.eg-place:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.eg-place__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.eg-place__media img, .eg-place__media .img-missing { width: 100%; height: 100%; object-fit: cover; }
.eg-place__tick { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .85); color: transparent; border: 2px solid #fff; transition: all .15s; }
.eg-place:has(input:checked) .eg-place__tick { background: var(--wa); color: #fff; }
.eg-place__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.eg-place__city { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 650; color: var(--sand-ink); }
.eg-place__name { font: 700 18px/1.2 var(--display); letter-spacing: -.01em; }
.eg-place__text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.eg-places__send { position: sticky; top: calc(var(--header-h) + 76px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; box-shadow: var(--shadow); }
.eg-places__send .btn { padding-inline: 20px; white-space: normal; text-align: center; line-height: 1.2; }
.eg-places__count { font-weight: 700; }
@media (max-width: 1100px) { .eg-places__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .eg-places__form { grid-template-columns: minmax(0, 1fr); }
  .eg-places__send { position: static; }
}
@media (max-width: 560px) { .eg-places__grid { grid-template-columns: minmax(0, 1fr); } }

/* Real chat + quotes */
.eg-proof { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.eg-proof .eg-quotes { grid-template-columns: minmax(0, 1fr); }
.eg-chat { margin: 0; border-radius: 28px; overflow: hidden; background: #fff; border: 8px solid #1d2422; box-shadow: var(--shadow-lg); }
.eg-chat__bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #075e54; color: #fff; font-size: 13.5px; font-weight: 600; }
.eg-chat img { width: 100%; height: auto; display: block; }
.eg-chat figcaption { padding: 10px 14px 12px; font-size: 12.5px; color: var(--muted); background: #fff; }
@media (max-width: 760px) { .eg-proof { grid-template-columns: minmax(0, 1fr); } .eg-chat { max-width: 340px; } }
