/* وادي الملوك — هوية عرض المنتج */
.page-wadi {
  --wd-ink: #14241e;
  --wd-ink-2: #2a3d34;
  --wd-muted: #5d7268;
  --wd-nile: #156b63;
  --wd-nile-deep: #0e4f49;
  --wd-harbor: #1d6a86;
  --wd-saffron: #c4892a;
  --wd-mist: #eef4f1;
  --wd-paper: #f7faf8;
  --wd-line: rgba(20, 36, 30, 0.1);
  --wd-display: "El Messiri", "Cairo", sans-serif;
  --wd-body: "IBM Plex Sans Arabic", "Cairo", sans-serif;
}

.page-wadi .ambient {
  background:
    radial-gradient(ellipse 65% 48% at 8% -6%, rgba(21, 107, 99, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 42% at 96% 4%, rgba(29, 106, 134, 0.12), transparent 52%),
    linear-gradient(180deg, #f8fbf9 0%, var(--wd-paper) 40%, #e9f2ee 100%);
}

.page-wadi .site-main { overflow: clip; }

/* Hero — full-bleed product plane */
.wd-hero {
  position: relative;
  min-height: min(92vh, 740px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: clip;
}
.wd-hero-plane {
  position: absolute; inset: 0;
}
.wd-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.03);
  animation: wdKen 22s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.02);
}
@keyframes wdKen {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -1%, 0); }
}
.wd-hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 28, 24, 0.78) 0%, rgba(8, 28, 24, 0.52) 38%, rgba(8, 28, 24, 0.18) 68%, rgba(8, 28, 24, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 28, 24, 0.15) 0%, transparent 35%, rgba(8, 28, 24, 0.55) 100%);
}
.wd-hero-copy {
  position: relative; z-index: 2;
  padding: clamp(5.5rem, 12vh, 7rem) 0 clamp(2.4rem, 5vw, 3.5rem);
  max-width: 40rem;
  color: #f4faf7;
}
.wd-brand {
  display: flex; align-items: center; gap: .85rem;
  margin-bottom: 1.1rem; color: inherit;
}
.wd-brand-icon {
  width: 56px; height: 56px; border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.wd-brand strong {
  display: block;
  font-family: var(--wd-display);
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 700; line-height: 1.15;
  color: #fff;
}
.wd-brand small {
  display: block; margin-top: .15rem;
  font-size: .82rem; color: rgba(244, 250, 247, 0.78); font-weight: 500;
}
.wd-hero h1 {
  font-family: var(--wd-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700; line-height: 1.18;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.wd-hero h1 span {
  color: #b8e6df;
}
.wd-lead {
  font-size: 1.08rem; color: rgba(244, 250, 247, 0.88);
  max-width: 34rem; margin-bottom: 1.5rem;
}
.wd-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.wd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.35rem; border-radius: 12px;
  font-family: var(--wd-display); font-weight: 700; font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s, color .2s, border-color .2s;
}
.wd-btn:hover { transform: translateY(-1px); }
.wd-btn-primary {
  background: linear-gradient(135deg, var(--wd-nile), var(--wd-nile-deep));
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(14, 79, 73, 0.22);
}
.wd-btn-primary:hover { color: #fff !important; }
.wd-btn-ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
  color: #fff !important;
  backdrop-filter: none;
}
.wd-section .wd-btn-ghost {
  background: #fff;
  border-color: var(--wd-line);
  color: var(--wd-ink-2) !important;
}
.wd-btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.wd-btn-sm { padding: .55rem 1rem; font-size: .88rem; }

/* Sections */
.wd-section {
  padding: clamp(2.5rem, 6vw, 4.25rem) 0;
  position: relative;
}
.wd-section-alt {
  background: linear-gradient(180deg, rgba(21, 107, 99, 0.04), transparent 70%);
}
.wd-head { max-width: 40rem; margin-bottom: 1.75rem; }
.wd-head h2 {
  font-family: var(--wd-display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 700; color: var(--wd-ink);
  margin-bottom: .45rem;
}
.wd-head p { color: var(--wd-muted); font-size: 1.02rem; }

.wd-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}
.wd-points {
  list-style: none;
  display: grid; gap: 1.15rem;
}
.wd-points li {
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--wd-nile);
  background: linear-gradient(90deg, rgba(21,107,99,.05), transparent 80%);
  padding-block: .55rem;
}
.wd-points strong {
  display: block;
  font-family: var(--wd-display);
  font-size: 1.12rem; font-weight: 700;
  color: var(--wd-ink); margin-bottom: .2rem;
}
.wd-points span { color: var(--wd-ink-2); font-size: .96rem; }

.wd-shot-frame {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--wd-line);
  background: #fff;
  box-shadow: 0 20px 40px rgba(14, 40, 34, 0.1);
  max-width: 280px;
  margin-inline: auto;
}
.wd-shot-frame img {
  width: 100%; height: auto; display: block;
}

.wd-journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: wdstep;
}
.wd-journey li {
  counter-increment: wdstep;
  padding: .35rem 0 .35rem 0;
  border-inline-start: 3px solid var(--wd-nile);
  padding-inline-start: 1rem;
}
.wd-journey li::before {
  content: "0" counter(wdstep);
  display: block;
  margin-bottom: .45rem;
  color: var(--wd-nile);
  font-family: var(--wd-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .04em;
}
.wd-journey strong {
  display: block;
  font-family: var(--wd-display);
  font-size: 1.08rem; font-weight: 700;
  margin-bottom: .3rem; color: var(--wd-ink);
}
.wd-journey span { color: var(--wd-muted); font-size: .92rem; }

.wd-feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.wd-feat {
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background .25s, border-color .25s, transform .25s;
}
.wd-feat:hover {
  background: rgba(255,255,255,.7);
  border-color: var(--wd-line);
  transform: translateY(-2px);
}
.wd-feat h3 {
  font-family: var(--wd-display);
  font-size: 1.08rem; font-weight: 700;
  color: var(--wd-ink); margin-bottom: .35rem;
}
.wd-feat p { color: var(--wd-ink-2); font-size: .94rem; }

.wd-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.wd-gallery-item {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--wd-line);
  background: #111;
  box-shadow: 0 14px 30px rgba(14, 40, 34, 0.1);
  transition: transform .25s ease;
}
.wd-gallery-item:hover { transform: translateY(-4px); }
.wd-gallery-item img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 480 / 854; object-fit: cover;
}

.wd-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
}
.wd-audience, .wd-invest {
  list-style: none;
  display: grid; gap: .75rem;
}
.wd-audience li {
  padding: .55rem 0 .55rem 0;
  border-bottom: 1px solid var(--wd-line);
  font-weight: 600; color: var(--wd-ink-2);
  padding-inline-start: .85rem;
  border-inline-start: 3px solid rgba(21, 107, 99, .45);
}
.wd-invest li {
  padding: .85rem 0;
  border-bottom: 1px solid var(--wd-line);
}
.wd-invest li:last-child { border-bottom: 0; }
.wd-invest strong {
  display: block;
  font-family: var(--wd-display);
  font-weight: 700; color: var(--wd-ink);
}
.wd-invest span { color: var(--wd-muted); font-size: .93rem; }

.wd-trust-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.wd-trust-line > div {
  padding: 1rem 0;
  border-top: 2px solid var(--wd-nile);
}
.wd-trust-line strong {
  display: block;
  font-family: var(--wd-display);
  font-weight: 700; margin-bottom: .2rem;
}
.wd-trust-line span, .wd-trust-line a {
  color: var(--wd-muted); font-size: .9rem;
}
.wd-trust-line a:hover { color: var(--wd-harbor); }

.wd-final {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.wd-final-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(29,106,134,.12), transparent 50%),
    linear-gradient(145deg, #fff, #eef7f4);
  border: 1px solid var(--wd-line);
  box-shadow: 0 18px 40px rgba(14, 40, 34, 0.08);
}
.wd-final-inner h2 {
  font-family: var(--wd-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700; margin-bottom: .35rem;
}
.wd-final-inner p { color: var(--wd-muted); max-width: 32rem; }

.wd-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  padding: .65rem 0 calc(.65rem + env(safe-area-inset-bottom, 0));
  background: #f3f8f6;
  border-top: 1px solid var(--wd-line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.wd-sticky.show { transform: none; }
.wd-sticky-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wd-sticky strong {
  display: block;
  font-family: var(--wd-display); font-weight: 700;
}
.wd-sticky span { color: var(--wd-muted); font-size: .8rem; }
.page-wadi.has-wd-sticky { padding-bottom: 4.5rem; }

.wd-reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.wd-reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .wd-hero { min-height: min(88vh, 680px); }
  .wd-split, .wd-two { grid-template-columns: 1fr; }
  .wd-journey { grid-template-columns: 1fr 1fr; }
  .wd-feature-rail { grid-template-columns: 1fr 1fr; }
  .wd-trust-line { grid-template-columns: 1fr 1fr; }
  .wd-shot-frame { max-width: 240px; }
}
@media (max-width: 560px) {
  .wd-journey, .wd-feature-rail, .wd-trust-line { grid-template-columns: 1fr; }
  .wd-sticky-inner { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wd-hero-img { animation: none; }
  .wd-reveal { opacity: 1; transform: none; transition: none; }
}
