/* ==========================================================================
   Grand Egyptian Museum — Offers landing page
   Design system copied from gem.eg (Greta Sans Std, #ea7200 / #4d4033)
   ========================================================================== */

/* ---------- Brand fonts (copied from cdn.gem.eg/wwwroot/fonts) ---------- */
@font-face {
  font-family: 'GretaSans';
  src: url('../fonts/GretaSansStd-Regular.woff') format('woff'),
       url('../fonts/GretaSansStd-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GretaSans';
  src: url('../fonts/GretaSansStd-Bold.woff') format('woff'),
       url('../fonts/GretaSansStd-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --orange:       #ea7200;
  --orange-dark:  #e35a00;
  --orange-deep:  #b75900;
  --orange-tint:  rgba(234, 114, 0, .10);
  --ink:          #4d4033;
  --ink-soft:     rgba(77, 64, 51, .72);
  --ink-line:     rgba(77, 64, 51, .16);
  --dark:         #312c2c;
  --cream:        #fcf5f3;
  --sand:         #e8e1dc;
  --gold:         #f5ba39;
  --white:        #fff;

  --container:    1240px;
  --radius:       2px;
  --shadow:       0 10px 30px rgba(49, 44, 44, .10);
  --header-h:     92px;
  --font:         'GretaSans', Arial, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 { font-weight: 700; margin: 0 0 .5em; line-height: 1.2; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }

.btn--outline { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn--outline:hover { background: var(--orange); color: var(--white); }

.btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.8); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn--white { background: var(--white); border-color: var(--white); color: var(--orange); }
.btn--white:hover { background: var(--cream); border-color: var(--cream); color: var(--orange-dark); }

.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* "Explore more +" link, as on gem.eg */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.more-link__plus {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  font-size: 16px; line-height: 1;
  transition: background-color .2s ease, color .2s ease;
}
.more-link:hover .more-link__plus { background: var(--orange); color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--ink-line);
}
.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo { flex: 0 0 auto; }
.header__logo img { width: 96px; height: auto; }

.header__nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.header__nav a {
  color: var(--ink);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: .06em;
  font-weight: 700;
}
.header__nav a:hover { color: var(--orange); }

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

.header__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  border-inline-start: 1px solid var(--ink-line);
  padding-inline-start: 16px;
}
.header__lang a { color: var(--ink-soft); }
.header__lang a:hover,
.header__lang a[aria-current="true"] { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #241f1b url('../img/hero.jpg') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,31,27,.60) 0%, rgba(36,31,27,.25) 42%, rgba(36,31,27,.88) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 64px 56px; width: 100%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  max-width: 18ch;
  margin-bottom: .35em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 60ch;
  color: rgba(255,255,255,.92);
  margin: 0 0 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { flex: 0 0 auto; }

/* ---------- Facts strip ---------- */
.facts { background: var(--cream); border-bottom: 1px solid var(--ink-line); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-line);
}
.facts__item {
  background: var(--cream);
  padding: 26px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.facts__item svg { flex: 0 0 auto; margin-top: 2px; }
.facts__label {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 4px;
}
.facts__value { font-size: 15px; font-weight: 700; line-height: 1.35; }
.facts__value small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.section-title::before {
  content: '';
  width: 5px;
  align-self: stretch;
  min-height: 1.2em;
  background: var(--orange);
  flex: 0 0 5px;
}
.section-sub { color: var(--ink-soft); max-width: 70ch; margin: -18px 0 34px; font-size: 16px; }

/* ---------- Offer cards ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.offer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.offer__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.offer:hover .offer__media img { transform: scale(1.04); }

.offer__tag {
  position: absolute;
  top: 14px; inset-inline-start: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--radius);
}
.offer__tag--gold { background: var(--gold); color: var(--dark); }
.offer__tag--dark { background: var(--dark); }

.offer__body { padding: 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.offer__title { font-size: 1.2rem; margin-bottom: 10px; }
.offer__text { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; }

.offer__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--ink-line);
}
.offer__price b { font-size: 1.45rem; color: var(--orange); line-height: 1; }
.offer__price span { font-size: 13px; color: var(--ink-soft); }
.offer__note { font-size: 12.5px; color: var(--ink-soft); margin: 10px 0 0; }
.offer__actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--white); }
table.prices { width: 100%; border-collapse: collapse; min-width: 680px; }
table.prices caption { text-align: start; padding: 18px 20px 0; color: var(--ink-soft); font-size: 14px; }
table.prices th, table.prices td { padding: 15px 20px; text-align: start; font-size: 15px; border-bottom: 1px solid var(--ink-line); }
table.prices thead th {
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
table.prices tbody tr:nth-child(even) { background: var(--cream); }
table.prices tbody th { font-weight: 700; }
table.prices td b { color: var(--orange); }
table.prices tr:last-child th, table.prices tr:last-child td { border-bottom: 0; }
.table-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Two column info ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 15px;
}
.info-list li:last-child { border-bottom: 0; }
.info-list svg { flex: 0 0 auto; margin-top: 3px; }
.info-list b { display: block; }
.info-list span { color: var(--ink-soft); }

.map-card {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.map-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.map-card__body { padding: 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details {
  border-bottom: 1px solid var(--ink-line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 46px 18px 0;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius);
  font-size: 17px;
  line-height: 1;
}
.faq details[open] summary::after { content: '–'; background: var(--orange); color: var(--white); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; max-width: 80ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--white); padding-block: 56px; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.92); max-width: 60ch; }

/* ---------- Footer ---------- */
.footer { background: var(--cream); color: var(--ink); padding-block: 54px 28px; border-top: 1px solid var(--ink-line); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--ink-line);
}
.footer__logo img { width: 108px; margin-bottom: 18px; }
.footer h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer li a, .footer p { color: var(--ink); font-size: 15px; }
.footer li a:hover { color: var(--orange); }

.hours-block { border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); padding: 14px 0; margin-bottom: 18px; }
.hours-block b { font-size: 20px; }

.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.footer__bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.footer__bottom a { color: var(--ink-soft); }
.footer__bottom a:hover { color: var(--orange); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--ink-line);
  box-shadow: 0 -6px 20px rgba(49,44,44,.10);
}
.sticky-cta .btn { flex: 1 1 auto; }

/* ---------- Cookie banner (Consent Mode v2) ---------- */
.cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  background: var(--white);
  border-top: 2px solid var(--orange);
  padding: 18px 0;
  box-shadow: 0 -8px 26px rgba(49,44,44,.14);
}
.cookie[hidden] { display: none !important; }
.cookie__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie__text { flex: 1 1 420px; font-size: 14.5px; margin: 0; }
.cookie__actions { display: flex; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .offers { grid-template-columns: repeat(2, 1fr); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .header__nav { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 76px; }
  .section { padding-block: 52px; }
  .hero { min-height: 560px; }
  .hero__inner { padding-block: 48px 44px; }
  .offers { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .header__logo img { width: 76px; }
  .header__lang { padding-inline-start: 12px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .header__actions .btn--outline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .header, .sticky-cta, .cookie, .cta-band { display: none !important; }
  .hero { min-height: auto; color: var(--ink); background: none; }
  .hero::after { display: none; }
}
