/* ===== Wedding page (تشریفات عروسی) ===== */

/* ---------- hero: cinematic, film slot overlaps its bottom ---------- */
.wed-hero { min-height: max(660px, calc(92svh - var(--frame) * 2)); padding-bottom: clamp(150px, 17vw, 260px); }
.wed-hero .breadcrumb { color: rgba(255, 255, 255, 0.72); }
.wed-tagline { font-family: var(--font-accent); font-weight: 800; color: var(--gold-300); font-size: clamp(1.15rem, 0.9rem + 1.1vw, 1.75rem); line-height: 1.7; margin-bottom: 6px; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35); }
.wed-h1 { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.9rem); line-height: 1.35; max-width: 980px; margin-inline: auto; }
.wed-h1 .hl { display: block; }
.wed-micro { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); }
.wed-micro a { display: inline-flex; align-items: center; gap: 6px; direction: ltr; font-weight: 700; color: var(--gold-100); min-height: 44px; }
.wed-micro svg { width: 16px; height: 16px; color: var(--gold-300); }

.wed-film-wrap { position: relative; z-index: 6; margin-top: calc(clamp(110px, 13vw, 200px) * -1); }
.wed-film { border-radius: var(--radius-xl); box-shadow: 0 50px 120px -40px rgba(20, 16, 9, 0.7), inset 0 0 0 1px rgba(226, 201, 143, 0.18); }
.wed-film .media-art svg { width: 76px; height: 76px; padding: 22px; border-radius: 50%; background: rgba(226, 201, 143, 0.14); color: var(--gold-300); border: 1px solid rgba(226, 201, 143, 0.35); }
@media (max-width: 639px) { .wed-film { --ar: 4/3 !important; } }

/* ---------- trust bar ---------- */
.wed-trust { padding-block: clamp(34px, 5vw, 64px) 0; }
.trust-row { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-block: 1px solid var(--line); }
.trust-row li { display: flex; flex-direction: column; gap: 4px; padding: 22px 16px; text-align: center; align-items: center; }
.trust-row li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.trust-row li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.trust-row b { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); font-weight: 800; color: var(--wine-800); line-height: 1.15; display: inline-flex; align-items: baseline; gap: 2px; }
.trust-row b sup { font-size: 0.5em; color: var(--gold); }
.trust-row b span { font-size: inherit; color: inherit; line-height: inherit; }
.trust-row > li > span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }
.trust-row small { color: var(--gold); font-weight: 700; }
@media (min-width: 900px) {
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .trust-row li { border-bottom: 0 !important; border-inline-end: 1px solid var(--line); padding: 28px 18px; }
  .trust-row li:last-child { border-inline-end: 0; }
}

/* ---------- PAS + dozens→one signature ---------- */
.pas-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
.pas-copy .lead { margin-top: 18px; }
.pas-p { margin-top: 14px; color: var(--ink-soft); line-height: 2; }
.pas-strong { color: var(--ink); }
.pas-strong b { color: var(--wine-800); }
.pas-points { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.pas-points li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.pas-points .ico-badge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-100); color: var(--wine); flex: none; }
.pas-points .ico-badge svg { width: 21px; height: 21px; }
.pas-points b { color: var(--wine-800); }
@media (min-width: 1000px) { .pas-grid { grid-template-columns: 1fr 1.08fr; } }

.calls-card { margin: 0; position: relative; border-radius: var(--radius-xl); padding: clamp(16px, 2.2vw, 28px); background: radial-gradient(90% 70% at 50% 0%, #fffaf0, var(--paper) 60%); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.calls-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(175, 138, 50, 0.16) 1px, transparent 1.4px); background-size: 18px 18px; mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent); pointer-events: none; }
.calls-switch { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 340px); margin: 0 auto; padding: 5px; border-radius: 16px; background: var(--cream); isolation: isolate; }
.cs-btn { position: relative; z-index: 1; min-height: 44px; border-radius: 12px; font-weight: 700; font-size: 0.95rem; color: var(--ink-soft); transition: color 0.4s var(--ease); }
.cs-btn[aria-pressed="true"] { color: #fff; }
.cs-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; right: 5px; width: calc(50% - 5px); border-radius: 12px; background: var(--wine-800); box-shadow: 0 8px 20px -8px rgba(20, 16, 9, 0.6); transition: transform 0.6s var(--ease), background 0.6s var(--ease); }
.calls-card.is-one .cs-thumb { transform: translateX(-100%); background: linear-gradient(135deg, #d8b66a, var(--gold) 55%, #9a7627); }
.calls-card.is-one .cs-btn[aria-pressed="true"] { color: var(--wine-900); }

.calls { position: relative; z-index: 1; aspect-ratio: 1 / 1.08; margin-top: 10px; }
.calls-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.calls-lines line { stroke: rgba(107, 90, 95, 0.4); stroke-width: 1.2; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; transition: stroke 0.6s, opacity 0.6s; }
.calls-lines line.is-main { stroke: var(--gold); stroke-width: 3; stroke-dasharray: none; opacity: 0; }
.calls[data-mode="one"] .calls-lines line { stroke: rgba(175, 138, 50, 0.55); stroke-dasharray: none; }
.calls[data-mode="one"] .calls-lines line.is-main { opacity: 1; stroke: var(--gold); }
.calls-lines line.is-main + text { opacity: 0; }

.c-chip, .c-hub, .c-you { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: left 1s var(--ease), top 1s var(--ease), transform 0.8s var(--ease), opacity 0.6s, background 0.6s, box-shadow 0.6s; will-change: left, top; }
.c-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 8px 6px; min-width: 64px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); font-size: 0.68rem; font-weight: 700; line-height: 1.4; color: var(--wine-800); white-space: nowrap; z-index: 2; }
.c-chip svg { width: 18px; height: 18px; color: var(--gold); }
.calls[data-mode="many"] .c-chip { animation: ring 2.6s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.calls[data-mode="many"] .c-chip::after { content: ""; position: absolute; top: -5px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--paper); animation: ping 2.6s ease-out infinite; animation-delay: var(--dl, 0s); }
.calls[data-mode="one"] .c-chip { border-color: rgba(175, 138, 50, 0.45); background: #fffdf8; }
@keyframes ring { 0%, 80%, 100% { transform: translate(-50%, -50%) rotate(0); } 84% { transform: translate(-50%, -50%) rotate(-5deg); } 88% { transform: translate(-50%, -50%) rotate(5deg); } 92% { transform: translate(-50%, -50%) rotate(-3deg); } }
@keyframes ping { 0%, 70% { transform: scale(1); opacity: 1; } 85% { transform: scale(1.35); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }

.c-hub { z-index: 3; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 0; background: radial-gradient(circle at 35% 30%, #f4dfa6, var(--gold) 55%, #7d5f1f); color: var(--wine-900); box-shadow: 0 0 0 8px rgba(175, 138, 50, 0.14), 0 0 0 18px rgba(175, 138, 50, 0.07), 0 20px 40px -16px rgba(125, 95, 31, 0.8); opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
.c-hub svg { width: 22px; height: 22px; }
.c-hub b { font-family: var(--font-accent); font-size: 1.15rem; font-weight: 900; line-height: 1.3; }
.calls[data-mode="one"] .c-hub { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.c-you { z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--wine-800); color: #fff; font-weight: 800; font-size: 0.9rem; box-shadow: 0 12px 30px -12px rgba(20, 16, 9, 0.7); }
.c-you svg { width: 16px; height: 16px; color: var(--gold-300); }
.calls[data-mode="many"] .c-you { animation: dizzy 3.2s ease-in-out infinite; }
@keyframes dizzy { 0%, 100% { transform: translate(-50%, -50%) rotate(0); } 25% { transform: translate(-50%, -50%) rotate(-2deg); } 75% { transform: translate(-50%, -50%) rotate(2deg); } }
.calls .c-chip.xtra { display: none; }
@media (min-width: 560px) { .calls .c-chip.xtra { display: inline-flex; } .c-chip { font-size: 0.75rem; min-width: 74px; padding: 8px 10px 7px; } .c-chip svg { width: 20px; height: 20px; } }

.calls-cap { position: relative; z-index: 2; display: grid; gap: 2px; text-align: center; margin-top: 6px; min-height: 64px; }
.cc-num { font-weight: 800; color: var(--wine-800); font-size: 1.05rem; }
.cc-num b { font-size: 1.9rem; color: var(--coral); transition: color 0.5s; }
.calls-card.is-one .cc-num b { color: var(--gold); }
.cc-text { font-size: 0.9rem; color: var(--ink-soft); }
.reduced .c-chip, .reduced .c-you { animation: none !important; }

/* ---------- capability blocks (dark) ---------- */
.wed-caps .section-head { max-width: 820px; }
.cap-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)); border: 1px solid rgba(226, 201, 143, 0.14); color: rgba(255, 255, 255, 0.74); overflow: hidden; isolation: isolate; transition: transform 0.6s var(--ease), border-color 0.4s, background 0.4s; min-height: 250px; }
.cap-card:hover { transform: translateY(-5px); border-color: rgba(226, 201, 143, 0.4); background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)); }
.cap-card .ico-badge { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(226, 201, 143, 0.12); color: var(--gold-300); margin-bottom: 8px; }
.cap-card .ico-badge svg { width: 25px; height: 25px; }
.cap-card h3 { color: #fff; }
.cap-card p { line-height: 1.95; font-size: 0.97rem; }
.cap-card .media { margin-top: 12px; }
.cap-card .link-arrow { margin-top: auto; padding-top: 14px; color: var(--gold-300); }
.cap-num { position: absolute; top: 18px; left: 22px; font-size: 1.5rem; color: rgba(226, 201, 143, 0.35); letter-spacing: 0.1em; }
.cap-wide { display: grid; gap: 22px; align-items: center; }
.cap-wide > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.cap-wide .media { margin-top: 0; }
@media (min-width: 900px) { .cap-wide { grid-template-columns: 1fr 1.2fr; gap: 40px; } }
.bento > .b-12 { grid-column: span 12; }
.caps-foot { margin-top: 30px; text-align: center; }
.caps-foot .link-arrow { color: var(--gold-300); min-height: 44px; }

/* ---------- packages ---------- */
.pkg-price { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--wine-800); font-size: 0.95rem; padding-top: 4px; border-top: 1px dashed var(--line-strong); padding-top: 12px; }
.pkg-price svg { width: 18px; height: 18px; color: var(--gold); }
.pkg.is-featured .pkg-price { color: var(--gold-100); border-top-color: rgba(226, 201, 143, 0.25); }
.pkg-actions { margin-top: auto; display: grid; gap: 10px; justify-items: center; }
.pkg-actions .btn { margin-top: 0; white-space: normal; text-align: right; font-size: 0.88rem; }
.pkg-actions .link-arrow { font-size: 0.9rem; min-height: 40px; }
.pkg.is-featured .link-arrow { color: var(--gold-300); }
.pkg-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.pkg-foot .link-arrow { min-height: 44px; }

/* ---------- steps with a gold connector ---------- */
.wed-steps .container { position: relative; }
.steps-line { display: none; }
@media (min-width: 1000px) {
  .steps-line { display: block; position: relative; height: 2px; margin: 0 40px -2px; transform: translateY(51px); background: rgba(175, 138, 50, 0.18); border-radius: 2px; }
  .steps-line i { position: absolute; inset: 0; background: linear-gradient(270deg, var(--gold-300), var(--gold)); transform-origin: right; transform: scaleX(var(--p, 0)); border-radius: inherit; }
  .wed-steps .steps { position: relative; z-index: 1; grid-template-columns: repeat(4, 1fr); }
}

/* ---------- venues ---------- */
.venues-grid { display: grid; gap: clamp(30px, 5vw, 80px); align-items: center; }
.venues-mosaic { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.venues-mosaic .media:first-child { grid-row: span 2; --ar: auto !important; aspect-ratio: auto; min-height: 100%; }
.venue-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.venue-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; color: var(--wine-800); font-size: 0.92rem; }
.venue-facts svg { width: 18px; height: 18px; color: var(--gold); }
.venue-label { margin: 22px 0 10px; font-size: 0.82rem; font-weight: 700; color: var(--ink-mute); }
@media (min-width: 1000px) { .venues-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- quiz ---------- */
.quiz-grid { display: grid; gap: clamp(30px, 4vw, 70px); align-items: center; }
@media (min-width: 1000px) { .quiz-grid { grid-template-columns: 0.85fr 1.15fr; } }
.quiz-card { position: relative; border-radius: var(--radius-xl); padding: clamp(22px, 3vw, 40px); background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(226, 201, 143, 0.22); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.quiz-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 26px; }
.quiz-progress i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); transition: background 0.5s var(--ease); }
.quiz-progress i.is-done { background: var(--gold); }
.quiz-progress i.is-now { background: var(--gold-300); }
.quiz-stage { min-height: 190px; display: grid; align-content: center; }
.quiz-q.is-entering, .quiz-result.is-entering { animation: tabIn 0.6s var(--ease) both; }
.q-num { display: block; font-size: 0.82rem; font-weight: 700; color: var(--gold-300); margin-bottom: 10px; }
.q-text { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.7; color: #fff; }
.quiz-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.q-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 16px; font-weight: 800; font-size: 1.1rem; transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.q-btn svg { width: 20px; height: 20px; }
.q-yes { background: linear-gradient(135deg, #d8b66a, var(--gold) 55%, #9a7627); color: var(--wine-900); }
.q-no { border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
.q-no:hover { background: rgba(255, 255, 255, 0.08); }
.q-btn:hover { transform: translateY(-2px); }
.q-back { grid-column: span 2; justify-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.q-back svg { width: 16px; height: 16px; }
.q-back[disabled] { opacity: 0.3; cursor: default; }
.quiz-card.is-done .quiz-actions { display: none; }
.r-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: rgba(226, 201, 143, 0.14); color: var(--gold-300); font-size: 0.85rem; font-weight: 700; }
.r-badge svg { width: 16px; height: 16px; }
.r-title { margin-top: 14px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); color: #fff; }
.r-text { margin-top: 12px; color: rgba(255, 255, 255, 0.74); line-height: 2; }
.quiz-result .btn-row { margin-top: 24px; }
.quiz-result:focus { outline: none; }

/* ---------- testimonials (real only) ---------- */
.proof-grid { display: grid; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
@media (min-width: 960px) { .proof-grid { grid-template-columns: 1.35fr 1fr; } }
.proof-video .media { --ar: 16/10; height: 100%; }
.proof-invite { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); border: 1.5px dashed rgba(175, 138, 50, 0.45); background: linear-gradient(160deg, #fffaf0, var(--cream)); }
.proof-invite .pi-quote { width: 40px; height: 40px; color: var(--gold); }
.proof-invite p { color: var(--ink-soft); line-height: 2; }
.proof-invite .pi-ask { color: var(--wine-800); font-weight: 700; }
.proof-invite .btn-row { margin-top: auto; padding-top: 8px; }
.proof-invite .btn svg { color: var(--gold); }

/* ---------- closing ---------- */
.wed-close { padding-bottom: clamp(30px, 4vw, 60px); }

/* form preset flash (package quote buttons) */
.field.is-preset select { animation: presetFlash 1.8s var(--ease) 0.9s both; }
@keyframes presetFlash { 0% { box-shadow: 0 0 0 0 rgba(175, 138, 50, 0); } 30% { box-shadow: 0 0 0 6px rgba(175, 138, 50, 0.35); border-color: var(--gold); } 100% { box-shadow: 0 0 0 0 rgba(175, 138, 50, 0); } }
.proof-video .media[data-slot]:not(.has-media)::after { bottom: auto; top: 14px; }
