/* Online Rishta Point — website theme (maroon + gold + blush) */
:root {
  --maroon: #8b1538;
  --maroon-d: #6a0f2a;
  --maroon-l: #a8264f;
  --gold: #c9a24a;
  --gold-d: #a8822e;
  --gold-l: #ecd9a6;
  --blush: #fdf1f3;
  --blush-2: #f9e3e8;
  --cream: #fffaf6;
  --ink: #2b1a20;
  --muted: #6f5b62;
  --line: #ecd5da;
  --ok: #1f8a4c;
  --err: #c0263b;
  --shadow: 0 10px 30px rgba(139, 21, 56, .10);
  --shadow-sm: 0 3px 12px rgba(139, 21, 56, .08);
  --radius: 18px;
  --f-display: "Cinzel", "Playfair Display", Georgia, serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); color: var(--ink); font-size: 15px; line-height: 1.6;
  background: var(--blush);
  background-image:
    radial-gradient(1200px 500px at 0% 0%, #fde6ec 0, transparent 60%),
    radial-gradient(900px 500px at 100% 30%, #fff4e6 0, transparent 60%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-d); }
h1, h2, h3, h4 { font-family: var(--f-serif); color: var(--maroon); margin: 0 0 .4em; line-height: 1.2; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.urdu { font-family: var(--f-urdu); direction: rtl; line-height: 2.2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px;
  padding: .65em 1.5em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font: 600 15px/1.2 var(--f-serif); transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(180deg, var(--maroon-l), var(--maroon-d)); color: #fff; box-shadow: 0 6px 16px rgba(139,21,56,.28); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 22px rgba(139,21,56,.35); transform: translateY(-1px); }
.btn-outline { background: #fff8ee; color: var(--maroon); border-color: var(--gold); }
.btn-outline:hover { background: #fff; color: var(--maroon-d); }
.btn-gold { background: linear-gradient(180deg, #f2d98c, var(--gold)); color: var(--maroon-d); box-shadow: 0 6px 16px rgba(201,162,74,.35); }
.btn-sm { min-height: 36px; padding: .4em 1.1em; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Announcement marquee ---------- */
.topbar { background: linear-gradient(90deg, var(--maroon-d), var(--maroon), var(--maroon-d)); color: #fff; font-size: 13px; }
.topbar .container { display: flex; align-items: center; gap: 16px; min-height: 38px; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 30s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; white-space: nowrap; color: #fff; position: relative; }
.marquee-item::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 14px; background: rgba(255,255,255,.35); transform: translateY(-50%); }
.marquee-item .ic { color: var(--gold-l); }
a.marquee-item:hover { color: var(--gold-l); }
@keyframes marquee { to { transform: translateX(-50%); } }
.topbar-phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; white-space: nowrap; }
.topbar-phone:hover { color: var(--gold-l); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,250,246,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--maroon); }
.logo svg { width: 46px; height: 40px; flex: none; }
.logo-name { font: 700 24px/1 var(--f-serif); color: var(--maroon); letter-spacing: -.3px; }
.logo-tag { display: block; font-size: 8.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-d); margin-top: 5px; border-top: 1px solid var(--gold-l); padding-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-size: 14px; padding: 8px 10px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--maroon); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--maroon); font-weight: 600; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--maroon); cursor: pointer; }
.menu-toggle .ic { width: 22px; height: 22px; }

.logo-name, .logo-tag { white-space: nowrap; }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav, .header-actions { display: none; }
  .site-header.open .nav, .site-header.open .header-actions {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; background: var(--cream);
  }
  .site-header.open .nav { top: 72px; padding: 8px 16px 0; margin: 0; border-bottom: 0; }
  .site-header.open .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .site-header.open .nav a::after { display: none; }
  .site-header.open .header-actions { top: calc(72px + var(--nav-h, 330px)); padding: 12px 16px 18px; flex-direction: row; box-shadow: 0 12px 20px rgba(0,0,0,.08); }
  .site-header.open .header-actions .btn { flex: 1; }
  .logo-name { font-size: 20px; }
}
@media (max-width: 640px) { .topbar-phone span { display: none; } }

/* ---------- Ornaments ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); margin: 4px auto 18px; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament .ic { width: 14px; height: 14px; fill: var(--maroon); stroke: none; }
.section { padding: 56px 0; }
.section-title { text-align: center; font-size: clamp(26px, 3.2vw, 36px); color: var(--ink); }
.section-title em { font-style: normal; color: var(--maroon); }
.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Photo placeholders (until admin uploads images) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: inherit; display: grid; place-items: center; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(236,217,166,.6), transparent 45%),
    linear-gradient(135deg, #f7d6de, #f3e0c4);
  color: var(--maroon);
}
.ph svg { width: 34%; max-width: 160px; height: auto; opacity: .85; }
.ph-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbe7ec 0%, #fdf3f0 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 460px; }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 48px 0 92px; }
.hero-kicker { font-size: 12px; letter-spacing: 6px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.hero h1 { font-family: var(--f-display); font-weight: 600; line-height: 1.02; margin: 0 0 14px; }
.hero h1 .l1 { display: block; font-size: clamp(34px, 4.6vw, 54px); color: var(--maroon); }
.hero h1 .l2 { display: block; font-size: clamp(40px, 5.6vw, 66px); color: var(--maroon-d); font-weight: 700; }
.hero-sub { color: var(--ink); max-width: 420px; margin: 0 auto 22px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-media { position: relative; align-self: stretch; margin-right: calc((100vw - min(1180px, 100vw - 32px)) / -2); min-height: 420px; }
.hero-media .ph, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: 1; background: linear-gradient(90deg, #fbe9ec, transparent); }
.hero-arch {
  position: absolute; left: max(16px, calc((100vw - 1180px) / 2 - 10px)); top: 40px; z-index: 2; width: 150px; padding: 46px 14px 22px;
  text-align: center; font: 500 11px/1.7 var(--f-display); letter-spacing: 2px; text-transform: uppercase; color: var(--maroon);
  border: 1.5px solid var(--gold); border-radius: 80px 80px 10px 10px; background: rgba(255,255,255,.55);
}
@media (max-width: 1320px) { .hero-arch { display: none; } }
.hero-arch .ic { display: block; margin: 8px auto 0; width: 12px; color: var(--maroon); }
.trust-strip {
  position: relative; z-index: 3; margin: -46px auto 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px 8px;
}
.trust-item { display: flex; align-items: center; gap: 10px; padding: 4px 16px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ic { width: 30px; height: 30px; color: var(--gold-d); }
.trust-item strong { display: block; color: var(--maroon); font-size: 13.5px; }
.trust-item span { font-size: 11.5px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin: 0 -16px; min-height: 260px; }
  .hero-media::before { inset: auto 0 0 0; width: 100%; height: 40%; background: linear-gradient(0deg, #fbe9ec, transparent); }
  .hero-copy { padding: 18px 0 80px; }
  .hero-arch { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 10px 0; }
  .trust-item:nth-child(2) { border-right: 0; }
}
@media (max-width: 480px) {
  .trust-item { padding: 4px 8px; gap: 8px; }
  .trust-item .ic { width: 24px; height: 24px; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.about-img { aspect-ratio: 1; border-radius: 150px 150px 24px 24px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-l), var(--shadow); }
.about-grid h2 { font-size: clamp(26px, 3vw, 34px); color: var(--ink); }
.about-grid h2 em { font-style: normal; color: var(--maroon); }
.about-grid .ornament { justify-content: flex-start; margin-left: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.stat { display: flex; gap: 12px; align-items: center; padding: 0 16px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat .ic { width: 34px; height: 34px; color: var(--gold-d); }
.stat b { display: block; font: 700 22px/1.1 var(--f-serif); color: var(--maroon); }
.stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-img { width: 240px; margin: 0 auto; }
  .about-grid .ornament { justify-content: center; margin: 4px auto 18px; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stat { border: 0; justify-content: center; padding: 0; }
}

/* ---------- Search ---------- */
.search-band { background: linear-gradient(135deg, var(--maroon-l), var(--maroon-d)); border-radius: 24px; padding: 18px 26px 26px; color: #fff; box-shadow: var(--shadow); }
.search-band-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.search-band h2 { color: #fff; margin: 0; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.search-band h2 .ic { color: var(--gold-l); }
.search-band-head p { margin: 0 0 0 auto; font-size: 13px; opacity: .9; }
.search-form { background: #fff; border-radius: 16px; padding: 16px; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: end; }
.search-form label { color: var(--ink); font-size: 12.5px; font-weight: 600; display: block; margin-bottom: 4px; }
@media (max-width: 1000px) { .search-form { grid-template-columns: repeat(3, 1fr); } .search-form .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .search-form { grid-template-columns: 1fr 1fr; } .search-band-head p { margin: 0; } }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 5px; color: var(--ink); }
.req { color: var(--maroon); }
.input, select.input, textarea.input {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #dcc7cc; border-radius: 8px; background: #fff;
  font: 14px var(--f-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
select.input { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232b1a20' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(139,21,56,.12); }
.input.is-invalid { border-color: var(--err); }
.hint { display: flex; gap: 6px; align-items: flex-start; font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.hint .ic { color: var(--maroon); width: 14px; height: 14px; margin-top: 1px; }
.error-text { color: var(--err); font-size: 12px; margin-top: 4px; }
.phone-group { display: flex; border: 1px solid #dcc7cc; border-radius: 8px; overflow: hidden; background: #fff; }
.phone-group:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(139,21,56,.12); }
.phone-group .cc { display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #faf3f4; border-right: 1px solid #dcc7cc; font-size: 14px; }
.phone-group .input { border: 0; box-shadow: none !important; border-radius: 0; }
.flag { width: 22px; height: 15px; border-radius: 2px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-bottom: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--maroon); margin-top: 2px; flex: none; }

.alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert .ic { margin-top: 2px; }
.alert-success { background: #e8f6ee; color: #145c33; border: 1px solid #bfe5cf; }
.alert-error { background: #fdecef; color: #8c1427; border: 1px solid #f3c2cb; }
.alert-info { background: #fff6e5; color: #6f5317; border: 1px solid #f0dcae; }

/* ---------- Why choose / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.feature { padding: 20px 12px; text-align: center; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 34px; height: 34px; color: var(--maroon); margin: 0 auto 10px; display: block; }
.feature h3 { font-size: 15px; margin-bottom: 6px; }
.feature p { font-size: 12.5px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.step { text-align: center; position: relative; padding: 0 6px; }
.step-icon { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: #fff; color: var(--maroon); box-shadow: 0 0 0 6px var(--blush-2), var(--shadow-sm); }
.step-icon .ic { width: 26px; height: 26px; }
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 12.5px; color: var(--muted); margin: 0; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 20px; color: var(--gold-d); font-size: 20px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin: 0 auto; }
  .step { display: grid; grid-template-columns: 62px 1fr; gap: 14px; text-align: left; align-items: center; }
  .step-icon { margin: 0; }
  .step:not(:last-child)::after { display: none; }
}

/* ---------- Plans ---------- */
.plans-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #fbe2e8, #fdf2ea); border-radius: 24px; padding: 28px; }
.plans-intro h2 { font-size: 30px; }
.plans-intro .ornament { justify-content: flex-start; margin-left: 0; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { padding: 22px 16px 18px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--ink); }
.plan h3 .ic { color: var(--gold-d); }
.plan-price { text-align: center; font: 700 24px var(--f-serif); color: var(--maroon); margin: 6px 0 12px; }
.plan-price small { font: 400 12px var(--f-body); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 12.5px; flex: 1; }
.plan li { display: flex; gap: 6px; margin-bottom: 6px; }
.plan li .ic { color: var(--gold-d); width: 15px; height: 15px; margin-top: 2px; }
.plan.popular { border: 2px solid var(--maroon); transform: translateY(-8px); }
.plan.popular h3 { background: linear-gradient(180deg, var(--maroon-l), var(--maroon-d)); color: #fff; margin: -22px -16px 6px; padding: 12px; border-radius: 16px 16px 0 0; }
.plan.popular h3 .ic { color: var(--gold-l); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--maroon-d); color: #fff; font-size: 11px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--gold); white-space: nowrap; }
@media (max-width: 1100px) { .plans-wrap { grid-template-columns: 1fr; text-align: center; } .plans-intro .ornament { justify-content: center; margin: 4px auto 18px; } }
@media (max-width: 900px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } .plan.popular { transform: none; } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } .plans-wrap { padding: 20px 14px; } }

/* ---------- Sliders (stories / reviews) ---------- */
.slider { position: relative; padding: 0 50px; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 12px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold-l); background: #fff8e8; color: var(--maroon); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.slider-btn.prev { left: 0; } .slider-btn.next { right: 0; }
.slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.slider-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.slider-dots span.on { background: var(--maroon); }
.story { display: grid; grid-template-columns: 46% 1fr; overflow: hidden; min-height: 170px; }
.story-img { min-height: 170px; }
.story-body { padding: 16px; font-size: 13px; display: flex; flex-direction: column; justify-content: center; }
.story-body cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: var(--maroon); }
.review { padding: 18px; position: relative; }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 20px var(--f-serif); color: #fff; background: linear-gradient(135deg, var(--maroon-l), var(--gold-d)); flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: #e0a800; letter-spacing: 2px; font-size: 14px; }
.review p { font-size: 13px; margin: 0; }
.review::after { content: "\201C"; position: absolute; right: 16px; top: 4px; font: 60px/1 Georgia, serif; color: var(--blush-2); }
@media (max-width: 900px) { .slider-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .slider { padding: 0; } .slider-btn { display: none; } .slider-track { grid-auto-columns: 88%; } .story { grid-template-columns: 1fr; } .story-img { min-height: 180px; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--maroon-d), var(--maroon) 60%, #b04a68); color: #fff; border-radius: 0; padding: 30px 0; }
.cta-grid { display: grid; grid-template-columns: auto 1fr auto auto; gap: 26px; align-items: center; }
.cta-grid h2 { color: #fff; font-size: clamp(20px, 2.3vw, 26px); white-space: pre-line; margin-bottom: 6px; }
.cta-grid p { margin: 0; opacity: .9; font-size: 13.5px; }
.cta-logo svg { width: 70px; height: 62px; }
.cta-list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.cta-list li { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.cta-list .ic { color: var(--gold-l); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; text-align: center; } .cta-logo svg { margin: 0 auto; } .cta-list { display: inline-block; text-align: left; } }

/* ---------- Footer ---------- */
.site-footer { background: #fff7f5; border-top: 1px solid var(--line); padding-top: 40px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1fr; gap: 26px; }
.footer-grid h4 { font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid li a { color: var(--ink); }
.footer-grid li a:hover { color: var(--maroon); }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list .ic { color: var(--maroon); margin-top: 3px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--maroon); transition: transform .2s, background .2s; }
.socials a:hover { background: var(--gold-d); transform: translateY(-2px); color: #fff; }
.socials .ic { width: 18px; height: 18px; }
.footer-bottom { margin-top: 32px; background: var(--maroon-d); color: #fff; font-size: 12.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 0; }
.footer-bottom a { color: #fff; text-decoration: underline; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom .container { justify-content: center; text-align: center; } }

/* ---------- WhatsApp channel band ---------- */
.wa-band { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; margin: 36px auto; border: 1.5px solid var(--gold-l); border-radius: 22px; background: linear-gradient(90deg, #fff, #fff6f6); }
.wa-icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--maroon-l), var(--maroon-d)); color: #fff; box-shadow: 0 0 0 6px #fbe3e9; }
.wa-icon .ic { width: 34px; height: 34px; }
.wa-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; color: var(--maroon); background: #fff3e0; border: 1px solid var(--gold-l); border-radius: 999px; padding: 2px 10px; }
.wa-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--err); }
.wa-band h3 { font-size: 22px; margin: 6px 0 4px; }
.wa-band p { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.wa-feats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.wa-feats span { display: inline-flex; gap: 5px; align-items: center; }
.wa-feats .ic { color: var(--maroon); }
.wa-cta { text-align: center; border-left: 1px solid var(--line); padding-left: 22px; }
.wa-cta small { display: flex; gap: 5px; justify-content: center; align-items: center; margin-top: 8px; font-size: 12px; color: var(--muted); }
@media (max-width: 800px) { .wa-band { grid-template-columns: 1fr; text-align: center; } .wa-icon { margin: 0 auto; } .wa-feats { justify-content: center; } .wa-cta { border: 0; padding: 0; } }

/* ---------- Registration flow pages ---------- */
.reg-banner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 10px; padding-top: 26px; position: relative; }
.reg-banner h1 { font: italic 700 clamp(30px, 4.4vw, 46px)/1.05 var(--f-serif); color: var(--maroon); margin-bottom: 10px; }
.reg-banner h1 .t2 { display: block; color: var(--gold-d); padding-left: .6em; }
.reg-banner p { max-width: 460px; }
.reg-banner .urdu { font-size: 17px; text-align: left; margin: 0; }
.reg-banner-media { aspect-ratio: 16 / 9; border-radius: 24px 24px 0 0; overflow: hidden; }
.reg-banner-media .ph, .reg-banner-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .reg-banner { grid-template-columns: 1fr; text-align: center; } .reg-banner p { margin-inline: auto; } .reg-banner .urdu { text-align: center; } .reg-banner-media { display: none; } }

.reg-card { position: relative; background: rgba(255,255,255,.88); border: 1.5px solid var(--gold-l); border-radius: 28px; box-shadow: var(--shadow); padding: 30px clamp(16px, 4vw, 44px) 36px; margin-bottom: 20px; }
.reg-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid #f3e4c6; border-radius: 22px; pointer-events: none; }
.reg-title { text-align: center; font: italic 700 clamp(26px, 3.4vw, 36px) var(--f-serif); color: var(--maroon); margin-bottom: 4px; }
.reg-sub { text-align: center; color: var(--ink); font-size: 14px; margin-bottom: 22px; }

.stepper { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 30px; position: relative; }
.stepper::before { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 2px; background: var(--gold-l); }
.stepper .s { text-align: center; position: relative; font-size: 13.5px; color: var(--ink); }
.stepper .s i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; background: #fff8ec; color: var(--gold-d); border: 1.5px solid var(--gold-l); position: relative; }
.stepper .s i .ic { width: 20px; height: 20px; }
.stepper .s.done i { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.stepper .s.current i { background: var(--maroon); color: #fff; border-color: var(--maroon); box-shadow: 0 0 0 5px rgba(139,21,56,.15); }
.stepper .s.current { color: var(--maroon); font-weight: 700; }
.stepper .s.done::after { content: ""; position: absolute; top: 22px; left: 50%; width: 100%; height: 2px; background: var(--maroon); z-index: -1; }
.stepper .s:last-child::after { display: none; }
@media (max-width: 560px) { .stepper .s { font-size: 11px; } .stepper .s i { width: 38px; height: 38px; } .stepper::before, .stepper .s.done::after { top: 18px; } }

.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.reg-row { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.reg-row > .ic { width: 24px; height: 24px; color: var(--maroon); margin-top: 28px; }
.reg-row .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-actions { text-align: center; margin-top: 18px; }
.reg-actions .btn { min-width: 240px; font-size: 18px; }

/* OTP & email */
.verify-box { max-width: 620px; margin: 0 auto; text-align: center; border: 1.5px solid var(--gold-l); border-radius: 22px; padding: 30px clamp(14px, 4vw, 34px); background: linear-gradient(180deg, #fff, #fff6f7); }
.verify-emblem { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: radial-gradient(circle, #fff, var(--blush-2)); color: var(--maroon); }
.verify-emblem .ic { width: 52px; height: 52px; }
.status-row { display: flex; align-items: center; gap: 14px; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; background: #fff; margin-bottom: 16px; flex-wrap: wrap; }
.status-row .who { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 17px; word-break: break-all; text-align: left; }
.status-row .who .ic { color: var(--maroon); width: 22px; height: 22px; }
.badge { display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.badge-no { background: #fde6ea; color: var(--err); }
.badge-ok { background: #e4f5ec; color: var(--ok); }
.badge-wait { background: #fff1d6; color: #8a6412; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 10px 0 6px; }
.otp-inputs input { width: 50px; height: 58px; text-align: center; font: 700 24px var(--f-body); border: 1.5px solid #dcc7cc; border-radius: 12px; background: #fff; color: var(--maroon); }
.otp-inputs input:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(139,21,56,.12); }
@media (max-width: 420px) { .otp-inputs { gap: 6px; } .otp-inputs input { width: 42px; height: 50px; font-size: 20px; } }
.verify-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.divider-heart { display: flex; align-items: center; gap: 10px; color: var(--gold); margin: 18px 0; }
.divider-heart::before, .divider-heart::after { content: ""; flex: 1; height: 1px; background: var(--gold-l); }
details.change { margin-top: 10px; text-align: left; }
details.change summary { cursor: pointer; color: var(--maroon); font-weight: 600; text-align: center; list-style: none; }
details.change form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
details.change .input, details.change .phone-group { flex: 1; min-width: 200px; }

/* Photo + face scan */
.photo-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; }
.photo-grid h2 { font-size: 22px; }
.rules { list-style: none; padding: 0; margin: 0 0 10px; font-size: 13.5px; }
.rules li { display: flex; gap: 8px; margin-bottom: 4px; }
.rules.ok .ic { color: var(--gold-d); }
.rules.no .ic { color: var(--err); }
.rules-title { display: flex; gap: 8px; align-items: center; font: 700 16px var(--f-serif); margin: 12px 0 6px; }
.rules-title.ok { color: var(--maroon); } .rules-title.no { color: var(--err); }
.form-line { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 14px; }
@media (max-width: 520px) { .form-line { grid-template-columns: 1fr; gap: 4px; } }
.photo-preview { width: min(240px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold), var(--shadow); background: #eee; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-silhouette { width: min(240px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 16px; background: linear-gradient(#f2f2f2, #dedede); display: grid; place-items: end center; overflow: hidden; color: #9a9a9a; border: 1px solid #e6e6e6; }
.photo-silhouette .ic { width: 75%; height: 75%; stroke-width: 1.2; }
@media (max-width: 800px) { .photo-grid { grid-template-columns: 1fr; } .photo-side { order: -1; } }
.face-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; margin-top: 10px; }
@media (max-width: 800px) { .face-grid { grid-template-columns: 1fr; } }
.how-list { list-style: none; counter-reset: s; padding: 0; margin: 12px 0 18px; font-size: 14px; }
.how-list li { counter-increment: s; display: flex; gap: 12px; margin-bottom: 10px; }
.how-list li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pill-title { display: inline-block; background: var(--blush-2); border-radius: 999px; padding: 4px 16px; font: 700 15px var(--f-serif); color: var(--ink); }
.status-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center; background: #fff; }
.status-card .ic.big { width: 44px; height: 44px; color: var(--gold-d); padding: 8px; border: 1.5px solid var(--gold); border-radius: 50%; box-sizing: content-box; }
.camera { position: relative; width: 100%; max-width: 420px; margin: 0 auto 14px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #1d1015; display: none; }
.camera.on { display: block; }
.camera video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.camera::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52%; height: 72%; transform: translate(-50%, -50%); border: 3px dashed rgba(236,217,166,.9); border-radius: 50%; }
.note-warn { color: var(--err); font-size: 13.5px; display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 10px; }
.nav-row { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

/* ---------- Content pages ---------- */
.page-hero { text-align: center; padding: 46px 0 10px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.prose { max-width: 860px; margin: 0 auto 50px; padding: clamp(20px, 4vw, 44px); font-size: 15px; }
.prose h2 { font-size: 22px; margin-top: 1.4em; }
.prose h3 { font-size: 18px; margin-top: 1.2em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }

/* Account */
.account-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.account-head .photo-preview { margin: 0; width: 120px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.info-grid div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13px; }
.info-grid b { display: block; font-size: 15px; color: var(--ink); }

/* Reveal on scroll */
/* Scroll reveal only hides elements when the 'reveal' animation is switched on */
[data-anim~="reveal"] .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-anim~="reveal"] .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  /* The announcement bar always scrolls (client requirement), even with Windows "animations off". */
  .marquee-track { animation-duration: var(--marquee-speed, 30s) !important; animation-iteration-count: infinite !important; }
}

/* ===================== Phase 2: matches, profiles, member area ===================== */
.search-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; padding: 30px 0 10px; }
.filter-card { padding: 18px; position: sticky; top: 90px; }
.filter-card h2 { font-size: 19px; display: flex; gap: 8px; align-items: center; }
.filter-card .field { margin-bottom: 10px; }
.filter-card .field label { font-size: 12.5px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-head h1 { font-size: 24px; margin: 0; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard-photo { aspect-ratio: 4 / 4.2; background: #f1e6e9; position: relative; }
.pcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.pcard-badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--ok); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-body h3 { font-size: 17px; margin: 0; color: var(--ink); }
.pcard-body .code { font-size: 11.5px; color: var(--gold-d); font-weight: 600; }
.pcard-meta { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.pcard-body .btn { margin-top: auto; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty > .ic { width: 46px; height: 46px; color: var(--gold-d); margin: 0 auto 10px; display: block; }
.pagination-wrap { margin: 24px 0; }
.pagination-wrap nav { display: flex; justify-content: center; }
.pagination-wrap nav > div:first-child { display: none; }
.pagination-wrap svg { width: 18px; height: 18px; }
.pagination-wrap span[aria-current] span, .pagination-wrap a { display: inline-block; padding: 6px 12px; }
@media (max-width: 1000px) { .profile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .search-layout { grid-template-columns: 1fr; }
  .filter-card { position: static; }
  .filter-card details > summary { cursor: pointer; }
}
@media (max-width: 480px) { .profile-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .pcard-body { padding: 10px; } .pcard-body h3 { font-size: 15px; } }

.profile-top { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; padding: 30px 0; }
.profile-photo { aspect-ratio: 1; border-radius: 24px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold-l), var(--shadow); background: #f1e6e9; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 4px; }
.profile-sub { color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.chip .ic { color: var(--maroon); }
.action-box { padding: 18px; margin-top: 8px; }
.action-box form { display: flex; gap: 10px; flex-wrap: wrap; }
.action-box .input { flex: 1; min-width: 200px; }
.detail-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.detail-sections .card { padding: 20px; }
.detail-sections h2 { font-size: 19px; display: flex; gap: 8px; align-items: center; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.lock-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; }
@media (max-width: 800px) { .profile-top { grid-template-columns: 1fr; } .profile-photo { max-width: 280px; margin: 0 auto; } .profile-head { text-align: center; } .chips { justify-content: center; } .detail-sections { grid-template-columns: 1fr; } }

.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; padding: 30px 0; }
.account-nav { padding: 18px; position: sticky; top: 90px; }
.account-nav .me { text-align: center; margin-bottom: 12px; }
.account-nav .me .avatar-lg { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); background: #f1e6e9; }
.account-nav .me .avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.account-nav a.item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; }
.account-nav a.item:hover { background: var(--blush); }
.account-nav a.item.on { background: var(--maroon); color: #fff; }
.account-nav .count { margin-left: auto; background: var(--gold); color: var(--maroon-d); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 0 8px; }
.panel { padding: 22px; margin-bottom: 18px; }
.panel h2 { font-size: 21px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.tabs a { padding: 9px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; font-size: 14px; }
.tabs a.on { color: var(--maroon); border-color: var(--maroon); }
.ilist { list-style: none; margin: 0; padding: 0; }
.irow { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.irow:last-child { border: 0; }
.irow .av56 { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #f1e6e9; }
.irow .av56 img { width: 100%; height: 100%; object-fit: cover; }
.irow .meta { font-size: 12.5px; color: var(--muted); }
.irow .msg { font-size: 13px; font-style: italic; margin-top: 3px; }
.irow .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-box { padding: 14px 16px; }
.stat-box span { font-size: 12.5px; color: var(--muted); display: block; }
.stat-box b { font: 700 24px var(--f-serif); color: var(--maroon); }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.plan-pick label { display: block; cursor: pointer; }
.plan-pick input { position: absolute; opacity: 0; }
.plan-pick .opt { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; height: 100%; transition: border-color .2s, box-shadow .2s; }
.plan-pick input:checked + .opt { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(139,21,56,.12); }
.plan-pick input:focus-visible + .opt { outline: 3px solid var(--gold); }
.plan-pick .opt b { display: block; font-family: var(--f-serif); color: var(--maroon); font-size: 16px; }
.plan-pick .opt .p { font-weight: 700; font-size: 18px; }
.pay-note { white-space: pre-line; background: #fff8ea; border: 1px dashed var(--gold); border-radius: 12px; padding: 14px 16px; font-size: 14px; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.table-scroll { overflow-x: auto; }
@media (max-width: 860px) { .account-layout { grid-template-columns: 1fr; } .account-nav { position: static; } .stat-row { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 520px) { .irow { grid-template-columns: 48px 1fr; } .irow .acts { grid-column: 1 / -1; justify-content: flex-start; } .stat-row { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; gap: 0 0; } .kv dd { margin-bottom: 8px; } }
/* ===================== Design polish v2 (match approved mockup) ===================== */
/* Header: keep menu items on one line, switch to the mobile menu before it gets cramped */
.nav a, .header-actions .btn { white-space: nowrap; }
.site-header .container { gap: 14px; }
.nav { gap: 0; }
.nav a { padding: 8px 9px; font-size: 13.5px; }
@media (max-width: 1280px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav, .header-actions { display: none; }
  .site-header.open .nav, .site-header.open .header-actions { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; background: var(--cream); }
  .site-header.open .nav { top: 72px; padding: 8px 16px 0; margin: 0; }
  .site-header.open .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site-header.open .nav a::after { display: none; }
  .site-header.open .header-actions { top: calc(72px + var(--nav-h, 330px)); padding: 12px 16px 18px; flex-direction: row; box-shadow: 0 12px 20px rgba(0,0,0,.08); }
  .site-header.open .header-actions .btn { flex: 1; }
  .site-header.open .header-actions form { flex: 1; display: flex; }
}

/* Hero: couple photo fills the right half and fades into the pink background */
.hero { background: linear-gradient(180deg, #fbe6eb 0%, #fdf2ef 100%); }
.hero-media .ph-img { object-position: 30% 30%; }
.hero-media::before { width: 45%; background: linear-gradient(90deg, #fbe8ec 0%, rgba(251,232,236,.6) 40%, transparent); }
.hero-floral { position: absolute; left: 0; bottom: 40px; width: 170px; z-index: 1; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent), linear-gradient(0deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.hero-arch { display: block; left: 28px; top: 60px; }
@media (max-width: 1480px) { .hero-arch { display: none; } }
@media (max-width: 1330px) { .hero-floral { display: none; } }

/* Full banner mode: admin's own designed picture, no text */
.hero-banner-mode { background: #fbe6eb; }
.hero-banner { display: block; }
.hero-banner img { width: 100%; height: auto; max-height: 720px; object-fit: cover; display: block; }
.hero-banner-mode .trust-strip { margin-top: -36px; }

/* Side decorations (roses, lanterns) like the mockup — only where there is free space */
.deco-section { position: relative; overflow: hidden; }
.deco { position: absolute; z-index: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .95; }
.deco-right { right: 0; }
.deco-left { left: 0; }
#about .deco { top: 30px; width: 130px; -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent); mask-image: linear-gradient(270deg, #000 55%, transparent); }
.lantern { top: 40px; width: 92px; }
.deco-left.lantern { -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.deco-right.lantern { -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent); mask-image: linear-gradient(270deg, #000 60%, transparent); }
.deco-section > .container { position: relative; z-index: 1; }
@media (max-width: 1360px) { .deco { display: none; } }

/* About: arched photo like the mockup */
.about-img { border-radius: 160px 160px 26px 26px; }
.about-img .ph-img { object-position: center; }

/* Stories & reviews with real photos */
.story-img .ph-img { height: 100%; object-fit: cover; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
/* Admin quick-edit (only rendered for the logged-in admin) */
.admin-bar { display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; background: #1f1418; color: #fff; font-size: 13px; padding: 6px 16px; }
.admin-bar a { color: #fff; }
.admin-bar a:hover { color: var(--gold-l); }
.admin-bar-note { margin-left: auto; opacity: .6; font-size: 12px; }
.edit-pin { position: absolute; top: 12px; right: 12px; z-index: 20; background: #1f1418; color: #fff !important; font: 600 12.5px var(--f-body);
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: .9; }
.edit-pin:hover { opacity: 1; background: var(--maroon); }
.reg-banner { position: relative; }
@media (max-width: 700px) { .admin-bar-note { display: none; } }
/* Picture-only hero without the white strip */
.hero-banner-mode:not(:has(.trust-strip)) { padding-bottom: 0; }

/* ===== v3: full-width announcement bar, logo picture, icon edit buttons ===== */
.topbar .container { width: 100%; max-width: none; padding: 0 clamp(10px, 1.2vw, 18px); gap: 18px; }
.topbar .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.topbar-phone { margin-left: auto; flex: none; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.3); }
.logo-img { display: block; width: auto; max-width: min(320px, 60vw); object-fit: contain; }
.site-footer .logo-img { max-width: 260px; }
.logo-mark { display: inline-flex; }
.logo-mark svg { width: 46px; height: 40px; }
.edit-pin .ic, .admin-bar .ic { width: 14px; height: 14px; vertical-align: -2px; }
.ed-img-hint .ic { width: 13px; height: 13px; vertical-align: -2px; }
@media (max-width: 480px) { .logo-img { max-height: 44px; } }
/* ===================== Animations (switched on per item in Admin → Animations) ===================== */
/* Hero entrance */
[data-anim~="hero"] .hero-copy > * { opacity: 0; animation: anim-rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
[data-anim~="hero"] .hero-copy > :nth-child(2) { animation-delay: .12s; }
[data-anim~="hero"] .hero-copy > :nth-child(3) { animation-delay: .24s; }
[data-anim~="hero"] .hero-copy > :nth-child(4) { animation-delay: .42s; }
[data-anim~="hero"] .hero-copy > :nth-child(5) { animation-delay: .6s; }
[data-anim~="hero"] .hero-media, [data-anim~="hero"] .hero-banner { animation: anim-fade 1.1s ease both; }
[data-anim~="hero"] .trust-item { opacity: 0; animation: anim-rise .7s ease forwards; }
[data-anim~="hero"] .trust-item:nth-child(1) { animation-delay: .7s; }
[data-anim~="hero"] .trust-item:nth-child(2) { animation-delay: .8s; }
[data-anim~="hero"] .trust-item:nth-child(3) { animation-delay: .9s; }
[data-anim~="hero"] .trust-item:nth-child(4) { animation-delay: 1s; }
@keyframes anim-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes anim-fade { from { opacity: 0; } to { opacity: 1; } }

/* Zoom-in pictures */
[data-anim~="zoom"] .anim-zoom { transform: scale(1.12); opacity: .4; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .9s ease; }
[data-anim~="zoom"] .anim-zoom.in { transform: none; opacity: 1; }

/* Floating hearts */
.anim-hearts { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.anim-hearts i { position: absolute; bottom: -30px; opacity: 0; animation: anim-float linear infinite; }
.anim-hearts svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes anim-float { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: .55; } 100% { transform: translateY(-560px) rotate(25deg); opacity: 0; } }

/* Card lift on hover */
[data-anim~="lift"] .card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
[data-anim~="lift"] .card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(139,21,56,.16); border-color: var(--gold); }

/* Button shine */
[data-anim~="shine"] .btn-primary, [data-anim~="shine"] .btn-gold { position: relative; overflow: hidden; }
[data-anim~="shine"] .btn-primary::after, [data-anim~="shine"] .btn-gold::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,236,180,.55), transparent); transform: skewX(-20deg); animation: anim-shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes anim-shine { 0% { left: -70%; } 30%, 100% { left: 140%; } }

/* Slow zoom on hero picture */
[data-anim~="kenburns"] .hero-media .ph-img, [data-anim~="kenburns"] .hero-banner img { animation: anim-kenburns 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
[data-anim~="kenburns"] .hero-media, [data-anim~="kenburns"] .hero-banner { overflow: hidden; }
@keyframes anim-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

/* Heading ornament */
[data-anim~="ornament"] .ornament::before, [data-anim~="ornament"] .ornament::after { transform-origin: right; transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
[data-anim~="ornament"] .ornament::after { transform-origin: left; transform: scaleX(0); }
[data-anim~="ornament"] .ornament.in::before { transform: scaleX(1); }
[data-anim~="ornament"] .ornament.in::after { transform: scaleX(-1); }
[data-anim~="ornament"] .ornament.in .ic { animation: anim-beat 1.6s ease-in-out .6s infinite; }
@keyframes anim-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(.95); } 45% { transform: scale(1.2); } }

/* Animation preview panel (opened with ?anim-preview=1) */
.anim-panel { position: fixed; right: 16px; bottom: 16px; z-index: 200; width: 290px; max-height: calc(100vh - 32px); overflow: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.22); font: 13px/1.45 var(--f-body); color: var(--ink); }
.anim-panel header { background: var(--maroon); color: #fff; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; border-radius: 15px 15px 0 0; }
.anim-panel header b { font: 700 15px var(--f-serif); }
.anim-panel header button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 18px; }
.anim-panel .list { padding: 8px 14px; }
.anim-panel label { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f3e6e9; cursor: pointer; }
.anim-panel label input { accent-color: var(--maroon); margin-top: 3px; }
.anim-panel label small { display: block; color: var(--muted); font-size: 11.5px; }
.anim-panel .acts { display: flex; gap: 6px; padding: 10px 14px 14px; flex-wrap: wrap; }
.anim-panel .acts button { flex: 1; min-height: 36px; border-radius: 999px; border: 1px solid var(--gold); background: #fff8ee; color: var(--maroon); font: 600 13px var(--f-body); cursor: pointer; }
.anim-panel .acts .go { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.anim-panel.min .list, .anim-panel.min .acts, .anim-panel.min .tip { display: none; }
.anim-panel .tip { padding: 0 14px 12px; color: var(--muted); font-size: 11.5px; }
@media (max-width: 520px) { .anim-panel { left: 12px; right: 12px; width: auto; max-height: 55vh; } }
/* ===== Scrolling and page effects ===== */
/* Smooth scrolling handles the wheel itself; native smooth jumps would fight it */
[data-anim~="smooth"] { scroll-behavior: auto; }
.anim-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--maroon-l)); pointer-events: none; }
.anim-backtop { position: fixed; right: 18px; bottom: 18px; z-index: 150; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold-l);
  background: var(--maroon); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(139,21,56,.35);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.anim-backtop.show { opacity: 1; transform: none; pointer-events: auto; }
.anim-backtop:hover { background: var(--maroon-d); }
.anim-backtop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
body:has(.anim-panel) .anim-backtop { right: 322px; }
[data-anim~="header"] .site-header { transition: box-shadow .3s ease, background .3s ease; }
[data-anim~="header"] .site-header .container { transition: min-height .3s ease; }
[data-anim~="header"] .site-header.scrolled { box-shadow: 0 8px 24px rgba(139,21,56,.12); background: rgba(255,250,246,.98); }
[data-anim~="header"] .site-header.scrolled .container { min-height: 58px; }
[data-anim~="header"] .site-header .logo-img, [data-anim~="header"] .site-header .logo-mark svg { transition: transform .3s ease; transform-origin: left center; }
[data-anim~="header"] .site-header.scrolled .logo-img, [data-anim~="header"] .site-header.scrolled .logo-mark svg { transform: scale(.86); }
.hero-floral, .hero-arch, .deco { will-change: translate; }
/* Page transition (Chrome/Edge; other browsers just open the page normally) */
::view-transition-old(root) { animation: anim-pagefade-out .28s ease both; }
::view-transition-new(root) { animation: anim-pagefade-in .42s ease both; }
@keyframes anim-pagefade-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes anim-pagefade-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 520px) { body:has(.anim-panel) .anim-backtop { right: 18px; bottom: calc(55vh + 24px); } }
/* ===================== Languages: switchers, Urdu / Arabic (RTL) ===================== */
.switchers { display: flex; gap: 6px; align-items: center; }
.sw-select { appearance: none; height: 36px; padding: 0 28px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232b1a20' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;
  font: 600 13px var(--f-body); color: var(--ink); cursor: pointer; max-width: 130px; }
.sw-select:hover { border-color: var(--gold); }
@media (max-width: 1280px) { .switchers { margin-left: auto; } .menu-toggle { margin-left: 8px; } .site-header .container { flex-wrap: nowrap; } }
@media (max-width: 480px) { .sw-select { max-width: 86px; padding: 0 22px 0 8px; font-size: 12px; background-position: right 6px center; } .logo-name { font-size: 17px; } }
/* Google auto-translate: hide its toolbar */
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }

/* Fonts for Urdu and Arabic */
html[lang="ur"] { --f-body: "Noto Nastaliq Urdu", "Noto Naskh Arabic", system-ui, sans-serif; --f-serif: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif; --f-display: "Noto Nastaliq Urdu", serif; }
html[lang="ar"] { --f-body: "Noto Naskh Arabic", system-ui, sans-serif; --f-serif: "Noto Naskh Arabic", serif; --f-display: "Noto Naskh Arabic", serif; }
html[lang="ur"] body { line-height: 2.05; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { line-height: 1.9; }
html[lang="ur"] .btn, html[lang="ur"] .sw-select { line-height: 1.9; }
/* Letter spacing breaks the joined Urdu/Arabic letters */
html[dir="rtl"] *, html[dir="rtl"] *::before, html[dir="rtl"] *::after { letter-spacing: 0 !important; }
html[dir="rtl"] .hero h1 .l1, html[dir="rtl"] .hero h1 .l2 { line-height: 1.6; }
html[lang="ur"] .hero h1 .l1 { font-size: clamp(30px, 4vw, 46px); }
html[lang="ur"] .hero h1 .l2 { font-size: clamp(34px, 4.6vw, 54px); }

/* Right-to-left layout fixes */
html[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .nav a::after { left: 10px; right: 10px; }
html[dir="rtl"] .topbar-phone { margin-left: 0; margin-right: auto; padding-left: 0; padding-right: 16px; border-left: 0; border-right: 1px solid rgba(255,255,255,.3); }
html[dir="rtl"] .marquee { direction: ltr; }
html[dir="rtl"] .marquee-item { direction: rtl; }
html[dir="rtl"] select.input, html[dir="rtl"] .sw-select { background-position: left 10px center; padding-left: 28px; padding-right: 12px; }
html[dir="rtl"] .hero-media { margin-right: 0; margin-left: calc((100vw - min(1180px, 100vw - 32px)) / -2); }
html[dir="rtl"] .hero-media::before { inset: 0 0 0 auto; background: linear-gradient(270deg, #fbe8ec 0%, rgba(251,232,236,.6) 40%, transparent); }
html[dir="rtl"] .hero-floral { left: auto; right: 0; transform: scaleX(-1); }
html[dir="rtl"] .hero-arch { left: auto; right: 28px; }
html[dir="rtl"] .reg-banner h1 .t2 { padding-left: 0; padding-right: .6em; }
html[dir="rtl"] .reg-banner .urdu, html[dir="rtl"] .status-row .who, html[dir="rtl"] details.change { text-align: right; }
html[dir="rtl"] .trust-item { border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .trust-item:last-child { border-left: 0; }
html[dir="rtl"] .stat { border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .stat:last-child { border-left: 0; }
html[dir="rtl"] .wa-cta { border-left: 0; padding-left: 0; border-right: 1px solid var(--line); padding-right: 22px; }
html[dir="rtl"] .anim-backtop { right: auto; left: 18px; }
html[dir="rtl"] .edit-pin { right: auto; left: 12px; }
html[dir="rtl"] .btn .ic, html[dir="rtl"] .slider-btn .ic { transform: scaleX(-1); }
html[dir="rtl"] .slider-btn.prev { left: auto; right: 0; }
html[dir="rtl"] .slider-btn.next { right: auto; left: 0; }
html[dir="rtl"] .review::after { right: auto; left: 16px; }
html[dir="rtl"] .pcard-badge { left: auto; right: 10px; }
html[dir="rtl"] .plans-intro .ornament, html[dir="rtl"] .about-grid .ornament { justify-content: flex-start; }
html[dir="rtl"] .account-nav .count { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .phone-group .cc { border-right: 0; border-left: 1px solid #dcc7cc; }
html[dir="rtl"] .phone-group, html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { direction: ltr; }
html[dir="rtl"] .pw-toggle { right: auto; left: 4px; }
html[dir="rtl"] .pw-wrap .input { padding-right: 12px; padding-left: 44px; }
@media (max-width: 1280px) { html[dir="rtl"] .switchers { margin-left: 0; margin-right: auto; } html[dir="rtl"] .menu-toggle { margin-left: 0; margin-right: 8px; } }
@media (max-width: 900px) { html[dir="rtl"] .hero-media { margin: 0 -16px; } html[dir="rtl"] .trust-item:nth-child(2) { border-left: 0; } }
/* Phones: language + currency switchers get their own row under the logo */
@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; row-gap: 6px; padding: 8px 0; min-height: 0; }
  .switchers { order: 5; width: 100%; margin: 0 !important; justify-content: stretch; }
  .sw-select { flex: 1; max-width: none; height: 34px; }
  .logo { min-width: 0; flex: 1; }
  .logo-name { overflow: hidden; text-overflow: ellipsis; }
  .site-header.open .nav { top: 100%; }
  .site-header.open .header-actions { top: calc(100% + var(--nav-h, 330px)); }
}
/* Login / Register stay visible on every screen (only the menu links fold into the ☰ button) */
.nav-mobile-only { display: none; }
@media (max-width: 1280px) {
  .header-actions, .site-header.open .header-actions { display: flex !important; position: static !important; flex-direction: row !important;
    padding: 0 !important; box-shadow: none !important; background: none !important; top: auto !important; gap: 6px; }
  .header-actions .btn { min-height: 36px; padding: .35em .9em; font-size: 13px; flex: none !important; }
  .header-actions form { flex: none !important; }
}
@media (max-width: 640px) {
  .header-actions { order: 2; }
  .menu-toggle { order: 3; margin-left: 4px; }
  .header-actions .btn-outline, .header-actions form { display: none !important; }
  .header-actions .btn-primary { padding: .3em .8em; font-size: 12.5px; }
  .header-actions .btn-primary .ic { display: none; }
  .site-header.open .nav .nav-mobile-only { display: block; }
  .site-header.open .nav form.nav-mobile-only button { all: unset; display: block; width: 100%; padding: 12px 8px; color: var(--maroon); font-weight: 600; cursor: pointer; }
  .site-header.open .nav a.nav-mobile-only { color: var(--maroon); font-weight: 600; }
  html[dir="rtl"] .menu-toggle { margin-left: 0; margin-right: 4px; }
}
/* Very small phones: keep the full site name visible next to the Register button */
@media (max-width: 420px) { .logo-name { font-size: 15.5px; } .logo-tag { display: none; } .logo svg, .logo-mark svg { width: 34px; height: 30px; } .header-actions .btn-primary { font-size: 12px; padding: .3em .7em; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; padding: 10px 0 50px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; color: var(--ink); }
.contact-card .ic { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--blush-2); color: var(--maroon); box-sizing: content-box; }
.contact-card b { display: block; font-family: var(--f-serif); color: var(--maroon); font-size: 16px; }
.contact-card span { color: var(--muted); font-size: 14px; word-break: break-word; }
a.contact-card:hover { border-color: var(--gold); }
.contact-form { padding: 24px; position: relative; }
.contact-form h2 { font-size: 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .two-col { grid-template-columns: 1fr; } }
/* Header fit: wider bar on big screens, compact items, logo picture never pushes buttons off the edge */
.site-header .container { width: min(1340px, 100% - 32px); gap: 12px; }
.nav a { padding: 8px 8px; }
.sw-select { max-width: 118px; }
.header-actions { flex: none; }
.site-header .logo { flex: 0 1 auto; min-width: 0; }
.site-header .logo-img { max-width: min(300px, 26vw); height: auto !important; max-height: 56px; }
@media (max-width: 1280px) { .site-header .logo-img { max-width: min(280px, 34vw); } }
@media (max-width: 640px) {
  .site-header .logo-img { max-width: calc(100vw - 190px); max-height: 42px; }
  .site-header .logo { flex: 1 1 auto; }
}
/* Phones: logo takes only the space left next to Register + menu button (all on one row) */
@media (max-width: 640px) { .site-header .logo { flex: 1 1 0; min-width: 0; overflow: hidden; } .site-header .logo-img { max-width: 100%; } }

/* Phones (final): one row = logo | Register | ☰ ; second row = language + currency. Grid, so a wide logo picture
   shrinks into its own cell and can never slide under the Register button. */
@media (max-width: 640px) {
  .site-header .container { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "logo actions toggle" "sw sw sw";
    align-items: center; column-gap: 8px; row-gap: 6px; padding: 8px 0; min-height: 0; width: calc(100% - 24px); }
  .site-header .logo { grid-area: logo; min-width: 0; max-width: 100%; overflow: hidden; display: flex; align-items: center; }
  .site-header .logo-img { display: block; width: auto; max-width: 100% !important; height: auto !important; max-height: 40px; object-fit: contain; object-position: left center; }
  html[dir="rtl"] .site-header .logo-img { object-position: right center; }
  .site-header .header-actions { grid-area: actions; margin: 0 !important; }
  .site-header .menu-toggle { grid-area: toggle; margin: 0 !important; width: 40px; height: 40px; }
  .site-header .switchers { grid-area: sw; margin: 0 !important; width: 100%; }
  .site-header .nav { grid-area: auto; }
  .site-header .header-actions .btn-primary { white-space: nowrap; }
}
@media (max-width: 360px) { .site-header .header-actions .btn-primary { font-size: 11.5px; padding: .3em .6em; } .site-header .logo-img { max-height: 34px; } }
/* Floating WhatsApp button (every page) — green circle, pulse rings, small wiggle, label that slides out */
.wa-float { position: fixed; bottom: 20px; z-index: 160; display: flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr;
  animation: waIn .6s cubic-bezier(.2,.9,.3,1.3) .4s both; }
.wa-float-right { right: 20px; flex-direction: row-reverse; }
.wa-float-left { left: 20px; }
.wa-float-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.15); transition: transform .25s ease, box-shadow .25s ease; flex: none; }
.wa-float-btn svg { width: 34px; height: 34px; animation: waWiggle 4s ease-in-out 2s infinite; }
.wa-float-btn::before, .wa-float-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: waPulse 2.4s ease-out infinite; pointer-events: none; }
.wa-float-btn::after { animation-delay: 1.2s; }
.wa-float-label { background: #fff; color: #128c4b; font: 600 14px/1 var(--f-sans, Poppins, sans-serif); padding: 11px 16px; border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,.14); white-space: nowrap; animation: waLabel .5s ease 1.4s both; }
.wa-float:hover .wa-float-btn { transform: scale(1.08) rotate(-6deg); box-shadow: 0 12px 30px rgba(37,211,102,.6); }
.wa-float:hover .wa-float-label { color: #075e54; }
@keyframes waIn { from { opacity: 0; transform: translateY(40px) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes waWiggle { 0%, 84%, 100% { transform: rotate(0); } 87% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 93% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); } }
@keyframes waLabel { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wa-float-left .wa-float-label { animation-name: waLabelL; }
@keyframes waLabelL { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
/* Back-to-top arrow moves above the WhatsApp button when both sit on the same side */
html:not([dir="rtl"]) body:has(.wa-float-right) .anim-backtop { bottom: 94px; right: 26px; }
html[dir="rtl"] body:has(.wa-float-left) .anim-backtop { bottom: 94px; }
@media (max-width: 640px) {
  .wa-float { bottom: 14px; }
  .wa-float-right { right: 14px; } .wa-float-left { left: 14px; }
  .wa-float-btn { width: 54px; height: 54px; } .wa-float-btn svg { width: 30px; height: 30px; }
  .wa-float-label { display: none; }
  html:not([dir="rtl"]) body:has(.wa-float-right) .anim-backtop { bottom: 80px; right: 18px; }
  html[dir="rtl"] body:has(.wa-float-left) .anim-backtop { bottom: 80px; }
}
@media print { .wa-float { display: none; } }/* The WhatsApp button keeps its pulse + wiggle even with Windows "animations off" (client requirement, like the marquee) */
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation-duration: .6s !important; }
  .wa-float-btn::before, .wa-float-btn::after { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; }
  .wa-float-btn svg { animation-duration: 4s !important; animation-iteration-count: infinite !important; }
  .wa-float-label { animation-duration: .5s !important; }
}
/* ===================== Reference match (v4): colours, fonts and backgrounds as in the client's mockup ===================== */
:root { --f-serif: "Crimson Pro", "Playfair Display", Georgia, serif; --f-body: "Open Sans", "Segoe UI", system-ui, sans-serif; --f-sans: var(--f-body);
  --ink: #2e1b22; --muted: #5a464d; --line: #efd6dc; --rose: #b04a68; --rose-d: #973556; --rose-l: #cf7d93; }
body { font-size: 15.5px; color: var(--ink); background: #fcecef;
  background-image: radial-gradient(1200px 600px at 0% 0%, #fde3ea 0, transparent 60%), radial-gradient(1000px 600px at 100% 40%, #fff0ea 0, transparent 60%); }
h1, h2, h3, h4, .stat b, .plan-price, .step h3 { font-variant-numeric: lining-nums; }
h2, h3, h4 { font-weight: 700; }
.container { width: min(1360px, 100% - 48px); }
.site-header .container { width: min(1400px, 100% - 32px); }
/* Header menu in a book serif, like the mockup */
.nav a { font: 500 16px/1.2 var(--f-serif); color: var(--ink); }
.nav a.active { font-weight: 700; }
@media (max-width: 1280px) { .nav a { font-size: 15px; } }
/* Section titles: dark + maroon words, gold lines on BOTH sides of the heart */
.section-title { color: #2b1419; font-size: clamp(28px, 3.3vw, 40px); }
.ornament { display: flex !important; justify-content: center; gap: 10px; }
.ornament::before, .ornament::after { content: "" !important; display: block !important; width: 90px !important; height: 1.5px !important;
  background: linear-gradient(90deg, transparent, var(--gold)) !important; }
.ornament::after { transform: scaleX(-1) !important; }
.plans-intro .ornament, .about-grid .ornament { justify-content: center !important; margin-left: auto !important; }
/* Hero */
.hero-sub { font: 400 17px/1.5 var(--f-body); color: #3a2a30; max-width: 520px; }
/* Trust strip */
.trust-strip { max-width: none; }
.trust-item .ic { width: 36px; height: 36px; color: var(--gold-d); }
.trust-item strong { font: 700 17px/1.2 var(--f-serif); color: var(--maroon); }
.trust-item span { font-size: 13px; color: var(--muted); }
/* About */
.about-grid p { font-size: 16px; color: #33232a; line-height: 1.65; }
.stat .ic { width: 42px; height: 42px; }
.stat b { font: 700 28px/1.05 var(--f-serif); }
.stat span { font-size: 15px; color: #3a2a30; line-height: 1.3; }
/* Advanced Match Search — rose band with leafy pattern, white panel inside */
.search-band { position: relative; overflow: hidden; border-radius: 28px; padding: 14px 18px 18px; box-shadow: 0 14px 34px rgba(151,53,86,.18);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' viewBox='0 0 160 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='1.4'%3E%3Cpath d='M10 110 C 30 70, 50 50, 80 40'/%3E%3Cpath d='M30 82c-8-10-4-20 6-22 2 10-1 18-6 22zM48 62c-6-11 0-20 10-20 0 10-4 17-10 20zM66 48c-3-11 4-18 13-16-2 10-7 15-13 16z'/%3E%3Cpath d='M150 10 C 130 50, 110 70, 80 80'/%3E%3Cpath d='M130 38c8 10 4 20-6 22-2-10 1-18 6-22zM112 58c6 11 0 20-10 20 0-10 4-17 10-20z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(90deg, #a53f60 0%, #bb5a74 45%, #b04b69 75%, #a03b5c 100%); }
.search-band-head { padding: 6px 14px 4px; margin-bottom: 10px; }
.search-band h2 { font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--f-serif); letter-spacing: .2px; }
.search-band h2 .ic { width: 30px; height: 30px; color: var(--gold-l); stroke-width: 2.4; }
.search-band-head p { font-size: 15px; opacity: .95; }
.search-form { background: rgba(255,255,255,.95); border-radius: 22px; padding: 16px 20px 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.search-form label { color: var(--maroon); font: 600 14px var(--f-serif); }
.search-form .input { border-radius: 10px; border-color: #e6cfd5; }
/* Why choose cards — soft translucent pink cards */
.feature-grid { gap: 16px; }
.feature { background: rgba(255,255,255,.55); border: 1px solid #f2d8de; border-radius: 20px; box-shadow: 0 10px 26px rgba(160,60,90,.08); padding: 24px 14px; backdrop-filter: blur(2px); }
.feature .ic { width: 40px; height: 40px; stroke-width: 1.7; }
.feature h3 { font: 700 19px/1.2 var(--f-serif); color: var(--maroon); }
.feature p { font-size: 14px; color: #3d2c33; line-height: 1.45; }
/* How it works — pink bubbles, bigger titles, gold arrows, one lantern each side sitting at the bottom */
.step-icon { width: 74px; height: 74px; background: radial-gradient(circle at 35% 30%, #fff 0, #fbe4e9 55%, #f6d3db 100%); box-shadow: 0 8px 20px rgba(176,74,104,.14); }
.step-icon .ic { width: 32px; height: 32px; stroke-width: 1.7; }
.step h3 { font: 700 20px/1.2 var(--f-serif); color: var(--maroon); margin-top: 4px; }
.step p { font-size: 14.5px; color: #3d2c33; line-height: 1.45; }
.step:not(:last-child)::after { content: "\2192"; color: var(--gold); font-size: 30px; top: 18px; right: -18px; }
#how .lantern { top: auto !important; bottom: 0; width: 150px; height: auto; object-fit: contain; }
/* Membership plans */
.plans-wrap { background: rgba(255,255,255,.35); border: 1px solid #f3dbe1; box-shadow: 0 14px 36px rgba(160,60,90,.08); }
@media (min-width: 1101px) { .plans-wrap { grid-template-columns: 270px 1fr; padding: 30px 30px 30px 36px; } }
.plans-intro { text-align: center; }
.plans-intro h2 { font: 700 34px/1.15 var(--f-serif); }
.plans-intro p { font-size: 17px; color: #33232a; }
.plan { background: rgba(255,255,255,.72); border: 1px solid #f0d6dc; border-radius: 18px; box-shadow: 0 8px 22px rgba(160,60,90,.08); }
.plan h3 { font: 600 20px var(--f-serif); color: var(--ink); }
.plan-price { font: 700 30px var(--f-serif); }
.plan-price small { font: 500 16px var(--f-serif); color: var(--ink); }
.plan ul { font-size: 14px; color: #33232a; }
.plan li .ic { color: var(--gold-d); stroke-width: 2.4; }
.plan.popular { border: 1px solid #e9c7d0; transform: none; }
.plan.popular h3 { background: linear-gradient(180deg, #b64a6a, #8b1e43); border-radius: 14px; margin: -14px -8px 8px; box-shadow: 0 8px 18px rgba(139,21,56,.25); }
.plan.popular h3 .ic { color: var(--gold); }
.plan-badge { background: linear-gradient(180deg, #b64a6a, #8b1e43); font: 600 13px var(--f-serif); top: -16px; padding: 3px 16px; }
.plan .btn { font-family: var(--f-serif); font-size: 16px; font-weight: 600; }
/* Register banner — rose band with roses on the left and a mosque on the right */
.cta-band { position: relative; overflow: hidden; padding: 26px 0; border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, #9c3658 0%, #b24d6b 40%, #c06a83 70%, #d79aab 100%); }
.cta-deco { position: absolute; bottom: 0; height: 100%; width: auto; pointer-events: none; z-index: 0; }
.cta-deco-left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.cta-deco-right { right: 0; opacity: .85; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent); mask-image: linear-gradient(270deg, #000 60%, transparent); }
.cta-band > .container { position: relative; z-index: 1; }
.cta-grid h2 { font: 600 clamp(22px, 2.4vw, 30px)/1.25 var(--f-serif); }
.cta-grid p { font-size: 15px; }
.cta-list { font-size: 15px; border-left: 1px solid rgba(255,255,255,.35); padding-left: 26px; }
.cta-logo svg { width: 96px; height: 86px; }
.cta-band .btn-outline { background: linear-gradient(180deg, #fffaf2, #f7e7d4); color: var(--maroon); border: 0; font: 700 18px var(--f-serif); padding: .7em 1.6em; box-shadow: 0 8px 20px rgba(80,10,30,.2); }
.cta-band .btn-outline:hover { color: var(--maroon-d); background: #fff; }
@media (max-width: 1000px) { .cta-deco { display: none; } .cta-list { border-left: 0; padding-left: 0; } }
/* Footer — light pink, column lines, gold bullets */
.site-footer { background: #fbe9ed; border-top: 0; font-size: 15px; }
.footer-grid > div + div { border-left: 1px solid #ecc9d2; padding-left: 26px; }
.footer-grid h4 { font: 700 21px var(--f-serif); color: var(--maroon); }
.footer-grid ul:not(.contact-list) li { position: relative; padding-left: 18px; margin-bottom: 3px; }
.footer-grid ul:not(.contact-list) li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-d); }
.footer-grid li a { color: #2e1b22; }
.footer-grid .contact-list .ic { color: var(--gold-d); }
.site-footer p { color: #2e1b22; }
.footer-bottom { background: #7c1534; font-size: 14px; }
@media (max-width: 900px) { .footer-grid > div + div { border-left: 0; padding-left: 0; } }
html[dir="rtl"] .footer-grid > div + div { border-left: 0; border-right: 1px solid #ecc9d2; padding-left: 0; padding-right: 26px; }
html[dir="rtl"] .footer-grid ul:not(.contact-list) li { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .footer-grid ul:not(.contact-list) li::before { left: auto; right: 2px; }
@media (max-width: 900px) { html[dir="rtl"] .footer-grid > div + div { border-right: 0; padding-right: 0; } }#how .steps { max-width: 1180px; margin-inline: auto; }
#how .lantern { width: 120px; }
@media (max-width: 1560px) { #how .lantern { width: 96px; opacity: .8; } }
.plan.popular h3 { margin: -23px -17px 10px; border-radius: 18px 18px 8px 8px; padding: 14px 12px; }
.about-grid .ornament { justify-content: flex-start !important; margin-left: 80px !important; }
html[dir="rtl"] .about-grid .ornament { margin-left: 0 !important; margin-right: 80px !important; }
@media (max-width: 900px) { .about-grid .ornament { justify-content: center !important; margin-inline: auto !important; } }@media (min-width: 1001px) { .cta-band > .container { padding-left: 150px; padding-right: 110px; } }
/* Text / dua slider (above How It Works) */
.text-slider-section { position: relative; padding-top: 10px; padding-bottom: 10px; }
.text-slider { position: relative; max-width: 1080px; margin: 0 auto; text-align: center; padding: 38px 80px 30px; border-radius: 26px;
  background: radial-gradient(600px 220px at 50% 0%, rgba(255,255,255,.85), rgba(255,255,255,.45)), linear-gradient(135deg, #fbe3e9, #fdf3ec);
  border: 1px solid #f0d3da; box-shadow: 0 14px 36px rgba(160,60,90,.10); overflow: hidden; }
.text-slider::before, .text-slider::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(201,162,74,.35); }
.text-slider::before { left: -50px; top: -50px; } .text-slider::after { right: -50px; bottom: -50px; }
.ts-quote { position: absolute; left: 30px; top: 6px; font: 700 110px/1 var(--f-serif); color: rgba(201,162,74,.28); pointer-events: none; }
.ts-track { position: relative; transition: min-height .3s ease; }
.ts-slide { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.ts-slide.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.ts-text { margin: 0 0 12px; font: 600 clamp(20px, 2.4vw, 30px)/1.5 var(--f-serif); color: var(--maroon); }
.ts-text[translate="no"], .ts-text:lang(ar) { font-family: "Noto Naskh Arabic", var(--f-serif); line-height: 1.9; }
.ts-sub { margin: 0 auto 10px; max-width: 760px; font-size: 16px; color: #3a2a30; font-style: italic; }
.ts-source { font: 600 15px var(--f-serif); color: var(--gold-d); letter-spacing: .3px; }
.ts-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ecd0d7; background: #fff;
  color: var(--maroon); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .2s, color .2s; z-index: 2; }
.ts-nav:hover { background: var(--maroon); color: #fff; }
.ts-prev { left: 18px; } .ts-prev .ic { transform: scaleX(-1); } .ts-next { right: 18px; }
.ts-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.ts-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #e6c3cc; cursor: pointer; transition: width .3s, background .3s; }
.ts-dots button.on { width: 26px; border-radius: 6px; background: var(--maroon); }
html[dir="rtl"] .ts-prev { left: auto; right: 18px; } html[dir="rtl"] .ts-next { right: auto; left: 18px; }
html[dir="rtl"] .ts-prev .ic { transform: none; } html[dir="rtl"] .ts-next .ic { transform: scaleX(-1); }
@media (max-width: 640px) { .text-slider { padding: 30px 18px 22px; } .ts-nav { display: none; } .ts-quote { font-size: 80px; left: 12px; } .ts-sub { font-size: 14.5px; } }
@media (prefers-reduced-motion: reduce) { .ts-slide { transition-duration: .6s !important; } }
.wa-band.is-hidden-band { opacity: .45; outline: 2px dashed var(--maroon); outline-offset: 4px; }
@media (min-width: 1101px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.45fr 1.35fr; } .socials { flex-wrap: nowrap; } }
