/* =========================================================
   هدايا المنتقى — gifts.css
   On-brand with main site: cream + teal, Noto Sans Arabic + Lemonada
   ========================================================= */

:root {
  --cream:        #FDFCF8;
  --cream-warm:   #f8f1e0;
  --cream-deep:   #f3e9d2;
  --teal:         #115e59;
  --teal-2:       #0f766e;
  --teal-3:       #0d6660;
  --teal-tint:    #f0fdfa;
  --teal-tint-2:  #ccfbf1;
  --teal-mist:    #e6faf5;
  --gold:         #c9a55c;
  --gold-deep:    #a87a1c;
  --ink:          #0f2e3d;
  --ink-soft:     #4a5d6b;
  --line:         #ead9b8;
  --line-soft:    rgba(180, 150, 90, 0.18);
  --shadow-sm:    0 2px 8px rgba(15, 46, 61, 0.06);
  --shadow-md:    0 12px 32px -8px rgba(15, 46, 61, 0.16);
  --shadow-lg:    0 30px 60px -20px rgba(15, 46, 61, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Noto Sans Arabic', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.only-desktop { display: none; }
@media (min-width: 720px) { .only-desktop { display: inline; } }

/* =========================================================
   TOP BAR — sits transparently over the hero
   ========================================================= */
.topbar {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  transition: opacity .2s;
}
.brand:hover { opacity: 0.78; }
.brand__mark { width: 26px; height: 26px; }
.brand__name {
  font-family: 'Lemonada', cursive;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal);
  line-height: 1; padding-bottom: 2px;
}

.topbar__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--teal);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17, 94, 89, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color .2s, transform .2s, background .2s, border-color .2s;
}
.topbar__cta:hover {
  color: var(--teal-2); transform: translateX(-2px);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(17, 94, 89, 0.28);
}
.topbar__cta svg { width: 13px; height: 13px; }

/* =========================================================
   HERO — matches main site .hero
   ========================================================= */
.hero {
  position: relative;
  padding: 96px 24px 96px;
  background: linear-gradient(175deg, var(--cream-deep) 0%, var(--cream) 50%);
  overflow: hidden;
}

.hero__aura {
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 900px; max-width: 130%;
  height: 700px;
  background:
    radial-gradient(circle at center, rgba(201, 165, 92, 0.20) 0%, transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(17, 94, 89, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.5  0 0 0 0 0.3  0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--gold-deep);
  background: rgba(201, 165, 92, 0.14);
  border: 1px solid rgba(201, 165, 92, 0.30);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(201, 165, 92, 0.18);
}

.hero__title {
  position: relative;
  display: inline-block;
  font-family: 'Lemonada', cursive;
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  padding: 0.15em 0.2em;
  margin-bottom: 28px;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 60%, var(--gold-deep) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__underline {
  position: absolute;
  left: 6%; right: 6%;
  bottom: -8px;
  width: 88%;
  height: 12px;
  color: var(--gold);
  opacity: 0.85;
}

.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
  max-width: 600px;
  margin: 0 auto 14px;
  line-height: 1.65;
}

.hero__desc {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero__desc strong {
  color: var(--teal);
  font-weight: 700;
}
.hero__nowrap { white-space: nowrap; }

.hero__cta-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
}

.hero__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 1rem; font-weight: 700;
  border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  border: 1px solid transparent;
}
.hero__cta--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-3) 50%, var(--teal-2) 100%);
  box-shadow: 0 12px 24px -8px rgba(17, 94, 89, 0.45);
  position: relative; overflow: hidden;
}
.hero__cta--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.hero__cta--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(17, 94, 89, 0.55); }
.hero__cta--primary:hover::before { transform: translateX(100%); }
.hero__cta--primary svg { width: 18px; height: 18px; }

.hero__cta--ghost {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(17, 94, 89, 0.22);
}
.hero__cta--ghost:hover { background: rgba(255, 255, 255, 0.95); transform: translateY(-1px); }

/* =========================================================
   GIFTS GRID
   ========================================================= */
.gifts {
  padding: 88px 24px 96px;
  background: var(--cream);
  position: relative;
}
.gifts::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,94,89,0.18) 40%, rgba(17,94,89,0.18) 60%, transparent);
}

.gifts__inner { max-width: 1180px; margin: 0 auto; }

.gifts__header { text-align: center; margin-bottom: 56px; }
.gifts__title {
  font-family: 'Lemonada', cursive;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--teal);
  margin-bottom: 10px;
}
.gifts__subtitle {
  color: var(--ink-soft);
  font-size: 1rem;
}

.gifts__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .gifts__grid:not(.gifts__grid--single) { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1024px) {
  .gifts__grid:not(.gifts__grid--single) { grid-template-columns: repeat(3, 1fr); }
}
.gifts__grid--single { max-width: 1080px; margin: 0 auto; }

.gifts__loading, .gifts__empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 80px 20px;
  color: var(--ink-soft);
  text-align: center;
}
.gifts__loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(17, 94, 89, 0.18);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   CARD
   ========================================================= */
.card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 165, 92, 0.35);
}

/* Gold ribbon ornament — distinctive touch */
.card__ribbon {
  position: absolute;
  top: -2px;
  right: 22px;
  width: 38px; height: 44px;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(168, 122, 28, 0.35));
  pointer-events: none;
}

.card__new {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px -2px rgba(17, 94, 89, 0.45);
}

.card__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--cream-warm), var(--cream));
  overflow: hidden;
}
.card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card__cover img { transform: scale(1.04); }

.card__cover--placeholder {
  display: flex; align-items: center; justify-content: center;
}
.card__cover-emoji { font-size: 3rem; opacity: 0.5; }

.card__body {
  padding: 22px 22px 22px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card__tag {
  align-self: flex-start;
  font-size: 0.75rem; font-weight: 600;
  color: var(--teal-2);
  background: var(--teal-tint);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 94, 89, 0.12);
}

.card__title {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.4;
}

.card__desc {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  flex: 1;
}

.card__meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(17, 94, 89, 0.16);
  margin-top: 4px;
}
.card__meta-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card__meta-label {
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.card__meta-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.card__actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 6px;
}

.card__download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-3) 50%, var(--teal-2) 100%);
  color: #fff;
  font-weight: 700; font-size: 0.95rem;
  border-radius: 999px;
  flex: 1; justify-content: center;
  box-shadow: 0 8px 18px -8px rgba(17, 94, 89, 0.5);
  transition: transform .2s, box-shadow .2s;
}
.card__download svg { width: 16px; height: 16px; }
.card__download:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(17, 94, 89, 0.6); }

/* =========================================================
   FEATURED BOOKLET (single-item layout)
   ========================================================= */
.booklet {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 32px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(201, 165, 92, 0.10), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, var(--cream) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 820px) {
  .booklet {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 44px;
  }
}

/* --- Visual: booklet stack --- */
.booklet__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px 20px;
  perspective: 1400px;
  min-width: 0;
}

.booklet__stack {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  transform: rotateY(-6deg) rotateX(1.5deg);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 820px) {
  .booklet__stack { max-width: 340px; }
}
@media (min-width: 1100px) {
  .booklet__stack { max-width: 360px; }
}
.booklet:hover .booklet__stack {
  transform: rotateY(-4deg) rotateX(1deg) translateY(-4px);
}

/* Cover (the front) */
.booklet__cover {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 6px 14px 14px 6px;
  overflow: hidden;
  background: #14313f;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 50px -20px rgba(15, 46, 61, 0.45),
    0 14px 30px -12px rgba(15, 46, 61, 0.35);
  z-index: 3;
}
.booklet__cover img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Spine: vertical band on the inner edge (right in RTL = where the binding sits) */
.booklet__spine {
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 14px;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.32) 0%,
      rgba(0,0,0,0.10) 40%,
      rgba(255,255,255,0.06) 70%,
      transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Sheen: subtle highlight running diagonally */
.booklet__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.10) 50%, transparent 65%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}

/* Page peeking from behind, lower in the stack */
.booklet__page {
  position: absolute;
  inset: 0;
  border-radius: 4px 12px 12px 4px;
  background: #f5ecd2;
  border: 1px solid rgba(168, 122, 28, 0.18);
}
.booklet__page--back {
  transform: translate(8px, 8px) rotate(-1.6deg);
  background: #efe3c4;
  z-index: 1;
  box-shadow: 0 14px 22px -14px rgba(15, 46, 61, 0.25);
}
.booklet__page--mid {
  transform: translate(4px, 4px) rotate(-0.8deg);
  background: #f8f0d8;
  z-index: 2;
  box-shadow: 0 10px 18px -12px rgba(15, 46, 61, 0.22);
}

/* "كتيّب" floating chip */
.booklet__chip {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700;
  color: var(--gold-deep);
  background: #fffaf0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 92, 0.45);
  box-shadow: 0 8px 18px -8px rgba(168, 122, 28, 0.35);
  z-index: 4;
}
.booklet__chip svg { width: 14px; height: 14px; }

/* --- Content side --- */
.booklet__body {
  display: flex; flex-direction: column;
  gap: 14px;
}

.booklet__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 2px;
}

.booklet__new {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px -3px rgba(17, 94, 89, 0.45);
}
.booklet__new-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.booklet__tag {
  display: inline-flex; align-items: center;
  font-size: 0.74rem; font-weight: 600;
  color: var(--teal-2);
  background: var(--teal-tint);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 94, 89, 0.14);
}

.booklet__title {
  font-family: 'Lemonada', cursive;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.booklet__subtitle {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-deep);
  margin-top: -4px;
  letter-spacing: 0.01em;
}

.booklet__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 6px;
}

.booklet__meta {
  display: flex; flex-wrap: wrap;
  gap: 14px 28px;
  padding: 16px 0;
  margin-top: 6px;
  border-top: 1px dashed rgba(17, 94, 89, 0.18);
  border-bottom: 1px dashed rgba(17, 94, 89, 0.18);
}
.booklet__meta-item { display: flex; flex-direction: column; gap: 3px; }
.booklet__meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.booklet__meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.booklet__download {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  margin-top: 10px;
  padding: 13px 22px;
  font-size: 1rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-3) 50%, var(--teal-2) 100%);
  border-radius: 999px;
  box-shadow: 0 14px 26px -10px rgba(17, 94, 89, 0.5);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.booklet__download svg { width: 18px; height: 18px; }
.booklet__download::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.booklet__download:hover { transform: translateY(-2px); box-shadow: 0 20px 32px -10px rgba(17, 94, 89, 0.6); }
.booklet__download:hover::before { transform: translateX(100%); }

/* =========================================================
   UPCOMING TEASER — single booklet card with blurred preview
   ========================================================= */
.booklet--upcoming {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
}

/* Placeholder cover: dark gradient instead of real image */
.booklet--upcoming .booklet__cover--placeholder {
  background: linear-gradient(160deg, #14313f 0%, #0f2e3d 100%);
}

/* Blur the inner content so the "قريباً" badge reads as a curtain over it */
.booklet--upcoming .booklet__visual,
.booklet--upcoming .booklet__body {
  filter: blur(5px) saturate(.55);
  opacity: 0.55;
  pointer-events: none;
  transition: filter .4s, opacity .4s;
}
.booklet--upcoming:hover .booklet__visual,
.booklet--upcoming:hover .booklet__body {
  filter: blur(3.5px) saturate(.65);
  opacity: 0.65;
}

/* Cover ornament: gold dots band + gold line, echoing the real booklet */
.upcoming__cover-dots {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 6px;
  background:
    radial-gradient(circle, var(--gold) 1.6px, transparent 2.2px)
      0 50% / 33.33% 100% repeat-x;
  opacity: 0.9;
  z-index: 3;
}
.upcoming__cover-line {
  position: absolute;
  bottom: 22%;
  left: 28%; right: 28%;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  z-index: 3;
}

/* Placeholder body — mimics .booklet__body structure */
.upcoming__body {
  display: flex; flex-direction: column;
  gap: 14px;
}
.upcoming__ph {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(17,94,89,0.16), rgba(17,94,89,0.05));
}
.upcoming__ph--tags {
  display: flex; gap: 8px;
  background: none;
}
.upcoming__ph-pill {
  display: inline-block;
  height: 22px; width: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 94, 89, 0.55), rgba(15, 102, 96, 0.4));
}
.upcoming__ph-pill--alt {
  width: 60px;
  background: linear-gradient(135deg, rgba(17, 94, 89, 0.18), rgba(17, 94, 89, 0.10));
}
.upcoming__ph--title {
  height: 22px;
  width: 78%;
  background: linear-gradient(90deg, var(--ink), rgba(15,46,61,0.45));
}
.upcoming__ph--title-2 {
  height: 22px;
  width: 58%;
  background: linear-gradient(90deg, var(--ink), rgba(15,46,61,0.4));
}
.upcoming__ph--subtitle {
  height: 14px;
  width: 38%;
  background: var(--gold-deep);
  opacity: 0.55;
  margin-top: -4px;
}
.upcoming__ph-lines {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.upcoming__ph-lines span {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(17,94,89,0.16), rgba(17,94,89,0.05));
}
.upcoming__ph-lines span:nth-child(1) { width: 100%; }
.upcoming__ph-lines span:nth-child(2) { width: 92%; }
.upcoming__ph-lines span:nth-child(3) { width: 64%; }
.upcoming__ph--meta {
  height: 50px;
  border-top: 1px dashed rgba(17, 94, 89, 0.18);
  border-bottom: 1px dashed rgba(17, 94, 89, 0.18);
  background: none;
  margin-top: 6px;
}
.upcoming__ph--cta {
  height: 46px;
  width: 180px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  margin-top: 10px;
  opacity: 0.85;
}

/* Caption overlay — sits centered over the blurred card */
.upcoming__caption {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 26px 18px;
  background: rgba(253, 252, 248, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 22px;
  border: 1px solid rgba(17, 94, 89, 0.10);
  box-shadow: 0 24px 48px -20px rgba(15, 46, 61, 0.35);
  text-align: center;
  max-width: 88%;
}

.upcoming__badge {
  display: inline-flex; align-items: center;
  font-size: 0.82rem; font-weight: 700;
  color: var(--gold-deep);
  background: #fffaf0;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 92, 0.45);
  box-shadow: 0 6px 14px -6px rgba(168, 122, 28, 0.35);
  letter-spacing: 0.02em;
}

.upcoming__text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 380px;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   OUTRO — Montka invite
   ========================================================= */
.outro {
  padding: 96px 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(204, 251, 241, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 165, 92, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, var(--teal-tint) 0%, #ffffff 60%, var(--teal-tint) 100%);
  position: relative;
}
.outro::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,94,89,0.20), transparent);
}

.outro__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .outro__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
  }
}

.outro__eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-2);
  padding: 5px 12px;
  background: rgba(17, 94, 89, 0.08);
  border-radius: 999px;
  margin-bottom: 18px;
}

.outro__title {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
}

.outro__desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 540px;
}

.outro__tags {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.outro__tags li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 94, 89, 0.16);
  padding: 7px 14px;
  border-radius: 999px;
}
.outro__tags li span { color: var(--gold-deep); font-weight: 800; }

.outro__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-size: 1.05rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-3) 50%, var(--teal-2) 100%);
  border-radius: 999px;
  box-shadow: 0 16px 28px -10px rgba(17, 94, 89, 0.5);
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.outro__cta svg { width: 20px; height: 20px; }
.outro__cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.outro__cta:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -12px rgba(17, 94, 89, 0.6); }
.outro__cta:hover::before { transform: translateX(100%); }

/* Phone mockups */
.outro__visual {
  position: relative;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
}
.outro__phone {
  position: absolute;
  width: 220px; height: 440px;
  border-radius: 32px;
  background: #0f2e3d;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(15, 46, 61, 0.45), 0 0 0 1px rgba(0,0,0,.1);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.outro__phone-frame {
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.outro__phone-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.outro__phone { transform: rotate(-6deg) translateX(20px); z-index: 2; }
.outro__phone--back { transform: rotate(8deg) translateX(-80px) scale(0.92); opacity: 0.85; z-index: 1; }
@media (max-width: 899px) {
  .outro__visual { height: 400px; }
  .outro__phone { width: 200px; height: 400px; }
  .outro__phone--back { display: none; }
}
@media (max-width: 480px) {
  .outro__visual { height: 360px; }
  .outro__phone { width: 170px; height: 340px; transform: rotate(-4deg); }
}

/* =========================================================
   FOOTER (minimal)
   ========================================================= */
.footer {
  background: var(--cream);
  border-top: 1px solid rgba(17, 94, 89, 0.10);
  padding: 28px 24px;
}
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand {
  display: flex; align-items: center; gap: 8px;
  color: var(--teal);
  font-family: 'Lemonada', cursive;
  font-weight: 700;
  font-size: 1.1rem;
}
.footer__brand svg { width: 22px; height: 22px; }
.footer__line {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* =========================================================
   RESPONSIVE TIDY
   ========================================================= */
/* Tablet portrait — booklet is still single column, lighten padding */
@media (max-width: 819px) and (min-width: 481px) {
  .booklet { padding: 36px 28px; gap: 28px; }
  .booklet__stack { max-width: 280px; }
  .gifts { padding: 80px 24px 88px; }
}

@media (max-width: 720px) {
  .topbar { padding: 14px 18px; }
  .brand__mark { width: 24px; height: 24px; }
  .brand__name { font-size: 1.15rem; }
  .hero { padding: 100px 20px 80px; }
  .hero__eyebrow { font-size: 0.8rem; padding: 5px 12px; margin-bottom: 24px; }
  .gifts__header { margin-bottom: 40px; }
  .outro { padding: 80px 22px; }
  .footer__inner { justify-content: center; text-align: center; }
  .footer__line { width: 100%; }
}

@media (max-width: 480px) {
  .topbar { padding: 12px 16px; gap: 10px; }
  .topbar__cta { font-size: 0.8rem; padding: 6px 12px; }
  .hero { padding: 96px 18px 64px; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); margin-bottom: 22px; }
  .hero__eyebrow { font-size: 0.78rem; }
  .hero__lead { font-size: 1.02rem; margin-bottom: 12px; }
  .hero__desc { font-size: 0.95rem; margin-bottom: 28px; }
  .hero__cta { padding: 13px 24px; font-size: 0.98rem; }
  .gifts { padding: 64px 18px 72px; }
  .gifts__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .outro { padding: 64px 18px; }
  .outro__cta { padding: 14px 24px; font-size: 0.98rem; white-space: nowrap; }
  .outro__title { font-size: clamp(1.25rem, 5.2vw, 1.6rem); }
  .booklet { padding: 26px 18px; gap: 22px; border-radius: 22px; }
  .booklet__stack { max-width: 240px; }
  .booklet__title { font-size: clamp(1.3rem, 5.5vw, 1.6rem); }
  .booklet__download { width: 100%; justify-content: center; }
  .booklet__meta { gap: 12px 20px; padding: 14px 0; }
  .upcoming__caption { padding: 16px 18px 14px; max-width: 92%; gap: 10px; }
  .upcoming__text { font-size: 0.88rem; }
}

@media (max-width: 360px) {
  .topbar__cta { font-size: 0.75rem; padding: 5px 10px; }
  .topbar__cta svg { display: none; }
  .hero { padding: 92px 16px 56px; }
  .hero__title { font-size: 2rem; }
  .booklet__stack { max-width: 220px; }
}
