/* =========================================================
   Elwaset.net — Premium Neon Glass Theme
   Palette: #FFD400 (yellow) + green / teal on dark
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #06110f;
    --bg-2: #0a1a17;
    --yellow: #FFD400;
    --orange: #FF8A00;
    --pink: #17A85E;
    --purple: #0E7A45;
    --violet: #17C8AC;
    --teal: #17C8AC;
    --text: #F2F6F5;
    --muted: #EEF3F1;
    --dim: #5E706C;
    --glass: rgba(18, 150, 132, 0.06);
    --glass-brd: rgba(34, 210, 180, 0.16);
    --grad-from: #FFD400;
    --grad-mid: #4FBE6C;
    --grad-to: #0E7A45;
    --grad: linear-gradient(90deg, var(--grad-from), var(--grad-mid) 52%, var(--grad-to));
    --grad-btn: linear-gradient(90deg, var(--grad-from) 0%, var(--grad-mid) 45%, var(--grad-to) 100%);
    --radius: 24px;
    --tr: all .35s cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
    background:
        linear-gradient(180deg, rgba(5,17,17,.62), rgba(4,15,16,.82)),
        url('assets/bg-grid.jpg') center top / cover no-repeat,
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* ambient glow — teal-forward to harmonize with the grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(45% 40% at 12% 88%, rgba(23,200,172,.22), transparent 62%),
        radial-gradient(55% 45% at 50% -5%, rgba(20,180,158,.14), transparent 62%),
        radial-gradient(45% 40% at 88% 10%, rgba(23,200,172,.10), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

h1,h2,h3,h4 { font-family: 'Cairo', sans-serif; line-height: 1.35; font-weight: 800; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Glass base ===== */
.glass {
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.6rem; border-radius: 14px;
    font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1rem;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: var(--tr); white-space: nowrap;
}
.btn-grad {
    background: var(--grad-btn); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3);
    box-shadow: 0 8px 30px rgba(16,140,82,.4), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(23,168,95,.55); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--glass-brd); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: 0 0 24px rgba(23,168,95,.3); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; border-radius: 12px; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }

/* ===== Navbar ===== */
.nav {
    position: fixed; inset-inline: 0; top: 0; z-index: 1000;
    background: rgba(5,5,5,.7); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-brd); transition: var(--tr);
}
.nav-inner { display: flex; align-items: center; gap: 1.4rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); margin-inline-end: auto; }
.brand-logo {
    font-family: 'Cairo'; font-weight: 900; font-size: 1rem; color: #1A0E00;
    background: var(--grad-btn); padding: .35rem .6rem; border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,138,0,.4);
}
.brand-logo-img {
    height: 40px; width: auto; display: block;
    filter: drop-shadow(0 0 12px rgba(255,138,0,.45));
}
.footer .brand-logo-img { height: 46px; }
.brand-name { font-family: 'Cairo'; font-weight: 800; font-size: 1.1rem; direction: ltr; }
.brand-name em { font-style: normal; color: var(--yellow); }
.nav-links { display: flex; list-style: none; gap: 1.5rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .96rem; transition: var(--tr); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--glass-brd); color: var(--text); font-size: 1.1rem; padding: .5rem .7rem; border-radius: 10px; cursor: pointer; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 9rem 0 5rem; overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin-inline: auto; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: 1; pointer-events: none; }
.orb-1 { width: 420px; height: 420px; background: var(--teal); top: -80px; inset-inline-end: -60px; animation: float1 12s ease-in-out infinite; }
.orb-2 { width: 360px; height: 360px; background: var(--teal); bottom: -60px; inset-inline-start: -40px; opacity: .35; animation: float2 14s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: var(--teal); top: 40%; inset-inline-start: 45%; opacity: .22; animation: float1 16s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,30px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-25px)} }

.pill {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'Cairo'; font-weight: 700; font-size: .9rem; color: var(--text);
    background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd);
    padding: .5rem 1.2rem; border-radius: 999px; margin-bottom: 1.8rem;
}
.pill i { color: var(--yellow); }
.hero-title { font-size: clamp(2.4rem, 7vw, 4.8rem); font-weight: 900; margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 2.4rem; }

.search-bar {
    display: flex; align-items: center; gap: .6rem; max-width: 620px; margin: 0 auto 2.2rem;
    background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd);
    border-radius: 16px; padding: .5rem .5rem .5rem 1.2rem; backdrop-filter: blur(18px);
    box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.search-bar > i { color: var(--dim); font-size: 1.05rem; }
.search-bar input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text); font-family: inherit; font-size: 1rem; padding: .6rem;
}
.search-bar input::placeholder { color: var(--dim); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; color: var(--dim); font-weight: 600; font-size: .95rem; }
.hero-trust i { color: var(--yellow); margin-inline-end: .4rem; }

/* ===== Stats ===== */
.stats-strip { padding: 1rem 0 3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.2rem; }
.stat { text-align: center; padding: 1.8rem 1rem; border-radius: var(--radius); }
.stat-num { font-family: 'Cairo'; font-size: 2.4rem; font-weight: 900; }
.stat p { color: var(--muted); font-size: .95rem; margin-top: .3rem; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015), transparent); }
.head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.eyebrow { font-family: 'Cairo'; font-weight: 800; font-size: .9rem; color: var(--yellow); letter-spacing: 1px; }
.head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .6rem 0; }
.head p { color: var(--muted); }

/* ===== Categories (product cards: image on top + name + details below) ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .55rem; } }
.cat {
    position: relative; display: flex; flex-direction: column; padding: 0; border-radius: 18px;
    text-decoration: none; color: var(--text); overflow: hidden; transition: var(--tr);
    background: rgba(255,255,255,.02); border: 1px solid var(--glass-brd);
}
.cat::after {
    content: ''; position: absolute; inset: 0; border-radius: 18px;
    padding: 1px; background: linear-gradient(135deg, var(--g1), var(--g2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: var(--tr); pointer-events: none;
}
.cat:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.cat:hover::after { opacity: 1; }
/* image block on top (full-bleed 1:1) */
.cat-ico {
    width: 100%; aspect-ratio: 1 / 1; height: auto; display: grid; place-items: center; border-radius: 0;
    font-size: clamp(1.8rem, 7vw, 3.4rem); color: #fff; margin: 0;
    background: linear-gradient(135deg, var(--g1), var(--g2));
}
.cat h3 { font-size: clamp(.85rem, 2.4vw, 1.12rem); margin: 0; padding: .7rem .75rem .2rem; text-align: center; line-height: 1.4; }
.cat > p { color: var(--muted); font-size: .82rem; line-height: 1.55; margin: 0; padding: 0 .75rem .85rem; text-align: center;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tags { display: none !important; }
.cat .svc-price-tag { color: var(--yellow); font-weight: 800; -webkit-line-clamp: 1; }
.cat-ico .plat-ic { font-size: clamp(1.8rem, 7vw, 3.4rem); }
@media (max-width: 560px) {
    .cat h3 { padding: .5rem .45rem .15rem; }
    .cat > p { font-size: .72rem; padding: 0 .45rem .6rem; }
}

/* ===== Featured Services ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.4rem; }
.svc { padding: 1.8rem; border-radius: var(--radius); transition: var(--tr); }
.svc:hover { transform: translateY(-6px); border-color: rgba(23,168,95,.4); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.svc-ico {
    width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
    font-size: 1.4rem; color: #fff; background: var(--grad-btn);
    box-shadow: 0 0 24px rgba(255,138,0,.35);
}
.badge {
    font-family: 'Cairo'; font-weight: 800; font-size: .78rem; color: var(--yellow);
    background: rgba(255,212,0,.1); border: 1px solid rgba(255,212,0,.3);
    padding: .3rem .8rem; border-radius: 999px;
}
.svc h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.svc > p { color: var(--muted); font-size: .93rem; margin-bottom: 1.3rem; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; }
.stars { color: var(--yellow); font-size: .85rem; letter-spacing: 1px; }

/* ===== Portfolio ===== */
.port-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.3rem; }
.port { text-align: center; padding: 2.2rem 1rem; border-radius: var(--radius); transition: var(--tr); }
.port i { font-size: 2.2rem; margin-bottom: .9rem;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.port h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.port span { color: var(--yellow); font-weight: 700; font-size: .9rem; }
.port:hover { transform: translateY(-6px); border-color: rgba(23,168,95,.4); box-shadow: 0 20px 50px rgba(0,0,0,.5); }

/* ===== Testimonials ===== */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.4rem; }
.rev { padding: 1.9rem; border-radius: var(--radius); transition: var(--tr); }
.rev:hover { transform: translateY(-5px); border-color: rgba(23,168,95,.35); }
.rev p { color: var(--text); margin: 1rem 0 1.4rem; font-size: 1rem; }
.rev-by { display: flex; align-items: center; gap: .8rem; }
.av { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    background: var(--grad-btn); color: #1A0E00; font-family: 'Cairo'; font-weight: 900; }
.rev-by strong { display: block; font-size: .98rem; }
.rev-by small { color: var(--dim); font-size: .85rem; }

/* ===== Partners ===== */
.partners-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.partners-row span {
    display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.6rem;
    border-radius: 16px; font-family: 'Cairo'; font-weight: 700; color: var(--muted);
    font-size: 1rem; transition: var(--tr);
}
.partners-row span i { font-size: 1.3rem; color: var(--text); }
.partners-row span:hover { color: var(--text); border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 0 26px rgba(23,168,95,.25); }

/* ===== CTA box ===== */
.cta-box { position: relative; text-align: center; padding: 4rem 2rem; border-radius: 32px; overflow: hidden; }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.cta-box p { color: var(--muted); margin-bottom: 2rem; }
.orb-cta { width: 420px; height: 300px; background: var(--pink); top: -120px; inset-inline-start: 50%; transform: translateX(-50%); opacity: .18; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--glass-brd); padding-top: 4rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.foot-brand p { color: var(--muted); margin: 1rem 0; font-size: .95rem; max-width: 320px; }
.foot-social { display: flex; gap: .7rem; }
.foot-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
    border: 1px solid var(--glass-brd); color: var(--muted); font-size: 1.05rem; text-decoration: none; transition: var(--tr); }
.foot-social a:hover { color: var(--text); border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 0 20px rgba(23,168,95,.3); }
.foot-col h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; padding: .35rem 0; font-size: .93rem; transition: var(--tr); }
.foot-col a:hover { color: var(--yellow); }
.foot-bottom { border-top: 1px solid var(--glass-brd); padding: 1.4rem 0; text-align: center; color: var(--dim); font-size: .88rem; }

/* ===== Floating WhatsApp ===== */
.fab-wa {
    position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 900;
    width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; font-size: 1.6rem;
    text-decoration: none; box-shadow: 0 8px 30px rgba(37,211,102,.45); transition: var(--tr);
    animation: pulse 2.5s infinite;
}
.fab-wa:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100%{box-shadow:0 8px 30px rgba(37,211,102,.45)} 50%{box-shadow:0 8px 40px rgba(37,211,102,.75)} }

/* ===== Testimonials 3-row marquee ===== */
.mq {
    overflow: hidden; padding: .55rem 0; direction: ltr;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-row { display: flex; gap: 1rem; width: max-content; direction: ltr; will-change: transform; }
.mq-right { animation: mqRight 55s linear infinite; }
.mq-left  { animation: mqLeft 55s linear infinite; }
.mq:hover .mq-row { animation-play-state: paused; }
@keyframes mqLeft  { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes mqRight { from { transform: translateX(-50%); }   to { transform: translateX(0); } }
.mq-row .tcard { flex: 0 0 auto; width: 300px; direction: rtl; }
.tcard {
    padding: 1.5rem; border-radius: 20px;
    background: #111119; border: 1px solid var(--glass-brd);
    transition: var(--tr);
}
.tcard:hover { transform: translateY(-4px); border-color: rgba(23,168,95,.4); }
.tcard .stars { font-size: .82rem; }
.tcard p { color: var(--text); font-size: .97rem; margin: .8rem 0 1.1rem; line-height: 1.7; min-height: 3.4em; }
.tby { display: flex; align-items: center; gap: .7rem; }
.tby .av { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-btn); color: #1A0E00; font-family: 'Cairo'; font-weight: 900; flex-shrink: 0; }
.tby strong { display: block; font-size: .95rem; }
.tby small { color: var(--dim); font-size: .8rem; }
.tby small i { color: #25D366; margin-inline-end: 3px; }

/* ===== Payments ===== */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 1rem; }
.pay { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; border-radius: 16px; transition: var(--tr); }
.pay i { font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay span { font-family: 'Cairo'; font-weight: 700; font-size: .95rem; }
.pay:hover { transform: translateY(-4px); border-color: rgba(23,168,95,.4); box-shadow: 0 12px 30px rgba(0,0,0,.4); }

/* ===== Proofs teaser card ===== */
.proof-cta {
    display: grid; grid-template-columns: auto 1fr; gap: 2.2rem; align-items: center;
    padding: 2.2rem; border-radius: 26px;
}
.proof-cta-icon {
    width: 96px; height: 96px; display: grid; place-items: center; border-radius: 24px;
    font-size: 2.4rem; color: #1A0E00; background: var(--grad-btn);
    box-shadow: 0 12px 34px -6px var(--pink);
}
.proof-cta-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: .4rem 0 .6rem; }
.proof-cta-text p { color: var(--muted); margin-bottom: 1.4rem; max-width: 520px; }

/* ===== Proofs gallery ===== */
.proof-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.proof-item {
    padding: 0; border: 1px solid var(--glass-brd); border-radius: 16px;
    overflow: hidden; cursor: pointer; background: #150c28;
    transition: var(--tr); aspect-ratio: 9 / 16; position: relative;
}
.proof-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.proof-item::after {
    content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; font-size: 1.6rem; background: rgba(5,5,5,.45);
    opacity: 0; transition: var(--tr);
}
.proof-item:hover { transform: translateY(-5px); border-color: rgba(23,168,95,.5); box-shadow: 0 16px 36px rgba(0,0,0,.5); }
.proof-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 3000; background: rgba(3,3,6,.92);
    backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center;
    padding: 2rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 460px); max-height: 88vh; border-radius: 14px; border: 1px solid var(--glass-brd); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-close, .lb-nav {
    position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--glass-brd);
    color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 1.1rem; transition: var(--tr);
}
.lb-close { top: 20px; inset-inline-start: 20px; }
.lb-close:hover, .lb-nav:hover { background: var(--grad-btn); color: #1A0E00; border-color: transparent; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-end: 16px; }
.lb-next { inset-inline-start: 16px; }
body.lb-open { overflow: hidden; }

/* ===== Review form — light green on white ===== */
.rev-form {
    padding: 2rem; border-radius: 24px; display: grid; gap: 1.3rem;
    background: linear-gradient(165deg, #ffffff, #eefaf2);
    border: 1px solid #bfe8cf; color: #14201a;
    box-shadow: 0 22px 55px rgba(23,168,95,.18);
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.rev-form h3 { color: #1c1420; }
.rev-form p { color: #4a6b58; }
.rf-group { display: grid; gap: .5rem; }
.rf-group label { font-family: 'Cairo'; font-weight: 700; font-size: .95rem; color: #2a1c26; }
.rf-group input, .rf-group textarea {
    background: #fff; border: 1px solid #f3c2df; border-radius: 12px;
    padding: .85rem 1rem; color: #1c1420; font-family: inherit; font-size: 1rem; outline: none;
    transition: var(--tr); resize: vertical;
}
.rf-group input:focus, .rf-group textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(23,168,95,.15); }
.rf-group input::placeholder, .rf-group textarea::placeholder { color: #c298b2; }
.rf-stars { display: flex; gap: .4rem; font-size: 2.1rem; cursor: pointer; line-height: 1; }
.rf-stars span { color: #f0cfe1; transition: transform .15s, color .15s; user-select: none; }
.rf-stars span.on { color: #FFC400; text-shadow: 0 0 12px rgba(23,168,95,.35); }
.rf-stars span:hover { transform: scale(1.15); }
/* signed-in user card on light bg */
.rev-form .rev-user-card { background: #f2fbf6; border-color: #bfe8cf; }
.rev-form .rev-user-card strong { color: #1c1420; }
.rev-form .rev-user-card small { color: #a07a90; }
.rev-form .rev-user-note { background: #f2fbf6; border-color: #bfe8cf; color: #7a5c6e; }
.rev-form .rev-avatar-lg { background: #e9f8ef; border-color: #a9e2c1; color: #17A85E; }
.rev-form .btn-google { border: 1px solid #e6b9d4; }

/* review CTA button in testimonials */
.rev-add { text-align: center; margin-top: 2.4rem; }

/* Google sign-in + review user */
.rev-avatar-lg {
    width: 72px; height: 72px; margin: 0 auto; display: grid; place-items: center; border-radius: 20px;
    background: var(--gold-soft, rgba(255,212,0,.12)); border: 1px solid rgba(255,212,0,.3);
    color: var(--yellow); font-size: 1.8rem;
}
.btn-google {
    display: inline-flex; align-items: center; gap: .7rem; justify-content: center;
    background: #fff; color: #1a1a1a; font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1rem;
    border: none; border-radius: 12px; padding: .85rem 1.8rem; cursor: pointer; transition: var(--tr);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.btn-google img { width: 20px; height: 20px; }
.rev-fallback { margin-top: 1.2rem; color: var(--dim); font-size: .9rem; }
.rev-fallback a { color: var(--yellow); text-decoration: none; font-weight: 700; }
/* or divider */
.rev-or { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0; color: #b98ba8; font-weight: 700; }
.rev-or::before, .rev-or::after { content: ''; flex: 1; height: 1px; background: #f0cfe1; }
.rev-phone { display: grid; gap: 1rem; text-align: right; }
.rev-phone .rf-group { gap: .4rem; }
.btn-plain { width: 100%; margin-top: .5rem; background: none; border: none; color: #a07a90; font-family: 'Cairo', sans-serif; font-weight: 700; font-size: .92rem; cursor: pointer; padding: .5rem; }
.btn-plain:hover { color: var(--yellow); }
.rev-user-card, .rev-user-note { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); margin-bottom: .4rem; }
.rev-user-card img { width: 44px; height: 44px; border-radius: 50%; }
.rev-user-card .av { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-btn); color: #1A0E00; font-family: 'Cairo'; font-weight: 900; }
.rev-user-card strong { display: block; font-size: .98rem; }
.rev-user-card small { color: var(--dim); font-size: .82rem; }
.rev-user-note { color: var(--muted); font-size: .88rem; font-weight: 600; }
.rev-user-note i { color: var(--yellow); }

/* ===== Payment strip ===== */
.pay-strip { padding: 1.6rem 2rem; border-radius: 22px; }
.pay-strip img { width: 100%; height: auto; display: block; }
.pay-note { text-align: center; color: var(--muted); margin-top: 1.4rem; font-weight: 600; font-size: .95rem; }
.pay-note i { color: #25D366; margin-inline-end: .4rem; }

/* ===== Founder ===== */
.founder-top { padding-top: 7rem; }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.founder-photo { position: relative; }
.founder-photo img {
    width: 100%; border-radius: 26px; display: block;
    border: 1px solid var(--glass-brd);
    box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(23,168,95,.12);
}
/* transparent cutout: no frame, faded edges, glow behind */
.founder-photo.cutout img {
    border: none; box-shadow: none; border-radius: 0;
    position: relative; z-index: 2; filter: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
}
.founder-glow {
    position: absolute; z-index: 1; inset: 6% 8% 0 8%;
    background: radial-gradient(58% 55% at 50% 42%, rgba(23,168,95,.3), rgba(23,168,95,.2) 55%, transparent 72%);
    filter: blur(55px); border-radius: 50%;
}
.founder-photo.cutout { display: flex; justify-content: center; }

/* satisfaction meter */
.sat-meter { margin: .4rem 0 1.6rem; max-width: 420px; }
.sat-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.sat-label { font-weight: 700; font-size: .92rem; color: var(--text); }
.sat-label i { margin-inline-end: .4rem; }
.sat-val { font-family: 'Cairo'; font-weight: 900; font-size: .95rem; color: var(--muted); }
.sat-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-bottom: .9rem; }
.sat-bar i { display: block; height: 100%; border-radius: 999px; }
.founder-badge {
    position: absolute; bottom: 18px; inset-inline-start: 18px;
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(5,5,5,.7); backdrop-filter: blur(12px);
    border: 1px solid var(--glass-brd); border-radius: 999px;
    padding: .5rem 1.1rem; font-family: 'Cairo'; font-weight: 800; font-size: .9rem;
}
.founder-badge i { color: #25D366; }
.founder-text h2 { font-size: clamp(2rem, 5vw, 3rem); margin: .5rem 0; }
.founder-role { color: var(--yellow); font-weight: 700; margin-bottom: 1.2rem; direction: ltr; text-align: right; }
.founder-text > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.founder-text strong { color: var(--text); }
.founder-stats { display: flex; gap: 2.2rem; margin-bottom: 1.8rem; }
.founder-stats strong { display: block; font-family: 'Cairo'; font-size: 1.8rem; font-weight: 900; }
.founder-stats span { color: var(--dim); font-size: .9rem; }

/* ===== Category detail page ===== */
.cat-hero { position: relative; padding: 8rem 0 3rem; overflow: hidden; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); text-decoration: none; font-weight: 600; margin-bottom: 1.6rem; transition: var(--tr); }
.back-link:hover { color: var(--yellow); }
.cat-hero-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.cat-hero-ico { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; font-size: 1.9rem; color: #fff; flex-shrink: 0; }
.cat-hero-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.cat-hero-intro { color: var(--muted); font-size: 1.12rem; max-width: 720px; margin-bottom: 2rem; }
.sub-title { font-size: 1.35rem; font-weight: 900; margin: 2.4rem 0 1.3rem; }
.chip-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
    padding: .7rem 1.3rem; border-radius: 14px; text-decoration: none; color: var(--text);
    font-weight: 600; font-size: .96rem; transition: var(--tr); cursor: pointer;
    font-family: inherit; display: inline-flex; align-items: center; gap: .5rem;
}
.chip i { color: var(--cg1, var(--gold)); font-size: .82rem; opacity: .8; }
.chip:hover { transform: translateY(-4px); border-color: var(--cg1, var(--pink)); color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.4); }

/* ===== Item detail modal ===== */
.item-modal {
    position: fixed; inset: 0; z-index: 3000; background: rgba(3,3,6,.9);
    backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 1.2rem;
}
.item-modal.open { display: flex; }
.im-card {
    position: relative; width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
    background: var(--bg-2); border: 1px solid var(--glass-brd); border-radius: 24px; padding: 2.4rem;
}
.im-close {
    position: absolute; top: 1.1rem; inset-inline-start: 1.1rem; width: 40px; height: 40px;
    display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--glass-brd);
    border-radius: 12px; color: var(--muted); font-size: 1rem; cursor: pointer; transition: var(--tr);
}
.im-close:hover { color: var(--yellow); border-color: var(--yellow); }
.im-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 1rem; }
.im-desc { color: var(--text); font-size: 1.05rem; margin-bottom: 1.2rem; line-height: 1.8; }
.im-feats { margin-bottom: 1.2rem; }
.im-feats h4 { font-size: 1.05rem; margin-bottom: .7rem; }
.im-feats h4 i { color: var(--gold); margin-inline-end: .4rem; }
.im-feats ul { list-style: none; display: grid; gap: .5rem; }
.im-feats li { color: var(--muted); font-weight: 600; font-size: .96rem; }
.im-feats li i { color: #25D366; margin-inline-end: .5rem; }
.im-price {
    background: var(--gold-soft, rgba(255,212,0,.1)); border: 1px solid rgba(255,212,0,.3);
    color: var(--yellow); font-weight: 800; border-radius: 12px; padding: .8rem 1.2rem; margin-bottom: 1.4rem;
}
.im-price i { margin-inline-end: .5rem; }
.im-order { width: 100%; justify-content: center; }
.im-note { text-align: center; color: var(--dim); font-size: .85rem; font-weight: 700; margin-top: .9rem; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.3rem; }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-btn); color: #1A0E00; font-family: 'Cairo'; font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem; }
.step h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ===== Reveal ===== */
/* 3D pop-in reveal (inspired by the flying-cards video) */
.reveal {
    opacity: 0;
    transform: perspective(1100px) translateY(46px) translateZ(-90px) rotateX(-14deg) scale(.9);
    transform-origin: 50% 100%;
    transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    will-change: transform, opacity;
}
.reveal.show { opacity: 1; transform: perspective(1100px) translateY(0) translateZ(0) rotateX(0) scale(1); }

/* extra life: icons give a little 3D pop after the card lands */
.cat.reveal .cat-ico, .svc.reveal .svc-ico { transition: transform .6s cubic-bezier(.34,1.56,.64,1) .15s; transform: translateZ(0) scale(.6) rotate(-12deg); opacity: .6; }
.cat.reveal.show .cat-ico, .svc.reveal.show .svc-ico { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.show { transform: none; transition: opacity .4s ease; }
    .cat.reveal .cat-ico, .svc.reveal .svc-ico { transform: none; opacity: 1; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .btn-nav { display: none; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 62px; inset-inline: 0; flex-direction: column;
        background: rgba(5,5,5,.97); border-bottom: 1px solid var(--glass-brd);
        padding: 1.4rem 2rem; gap: 1.1rem; display: none;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .search-bar { flex-wrap: nowrap; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    .founder-grid { grid-template-columns: 1fr; gap: 2rem; }
    .proof-cta { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; justify-items: center; }
    .founder-photo { max-width: 360px; margin-inline: auto; }
    .founder-stats { justify-content: space-between; gap: 1rem; }
    .pay-strip { padding: 1rem; }
}

/* =========================================================
   Unified contact — WhatsApp + Messenger + Call
   ========================================================= */
.contact-fabs { position: fixed; right: 20px; bottom: 22px; z-index: 1200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cf-menu { display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
    opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: bottom right; transition: all .28s cubic-bezier(.22,1,.36,1); }
.contact-fabs.open .cf-menu { opacity: 1; visibility: visible; transform: none; }
.cf-btn { display: inline-flex; align-items: center; gap: .6rem; height: 50px; padding: 0 1.1rem 0 .5rem;
    border-radius: 999px; color: #fff; text-decoration: none; font-family: 'Cairo'; font-weight: 800; font-size: .95rem;
    box-shadow: 0 10px 28px -6px rgba(0,0,0,.55); flex-direction: row-reverse; }
.cf-btn i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 1.2rem; }
.cf-btn span { white-space: nowrap; }
.cf-wa { background: #25D366; }
.cf-mm { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.cf-tel { background: var(--grad-btn); color: #fff; }
.cf-btn:hover { transform: translateX(-4px); }
.cf-toggle { width: 60px; height: 60px; border: none; border-radius: 50%; cursor: pointer; align-self: flex-end;
    background: var(--grad-btn); color: #fff; font-size: 1.5rem; position: relative;
    box-shadow: 0 12px 34px -6px rgba(16,140,82,.6); transition: var(--tr); }
.cf-toggle:hover { transform: scale(1.05); }
.cf-toggle .cf-i-close { display: none; }
.contact-fabs.open .cf-toggle .cf-i-open { display: none; }
.contact-fabs.open .cf-toggle .cf-i-close { display: inline; }

/* choice popup */
.contact-pop { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 20px;
    background: rgba(5,3,12,.74); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .28s; }
.contact-pop.open { opacity: 1; visibility: visible; }
.cp-card { width: min(420px, 100%); background: linear-gradient(180deg, #17102b, #120a22);
    border: 1px solid var(--glass-brd); border-radius: 22px; padding: 1.8rem 1.6rem; position: relative;
    box-shadow: 0 30px 70px rgba(0,0,0,.6); transform: translateY(12px); transition: transform .28s; }
.contact-pop.open .cp-card { transform: none; }
.cp-x { position: absolute; top: 14px; left: 16px; background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.cp-x:hover { color: #fff; }
.cp-title { font-size: 1.3rem; margin-bottom: .3rem; }
.cp-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.cp-opts { display: flex; flex-direction: column; gap: .8rem; }
.cp-opt { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 14px;
    text-decoration: none; color: #fff; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.03); transition: var(--tr); }
.cp-opt:hover { transform: translateY(-2px); border-color: transparent; }
.cp-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 1.35rem; color: #fff; }
.cp-wa .cp-ic { background: #25D366; }
.cp-mm .cp-ic { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.cp-tel .cp-ic { background: var(--grad-btn); color: #fff; }
.cp-wa:hover { background: rgba(37,211,102,.12); }
.cp-mm:hover { background: rgba(0,122,255,.12); }
.cp-tel:hover { background: rgba(255,138,0,.12); }
.cp-tx { flex: 1; display: flex; flex-direction: column; }
.cp-tx strong { font-family: 'Cairo'; font-weight: 800; font-size: 1.02rem; }
.cp-tx small { color: var(--muted); font-size: .82rem; }
.cp-go { color: var(--dim); font-size: .9rem; }

/* testimonials — word woven into the comment + Google-account avatar */
.tcard .stars { display: block; margin-bottom: .6rem; }
.stars .off { opacity: .22; }
.rev-word { color: #3ad07f; font-weight: 800; }
.av-wrap { position: relative; display: inline-flex; flex: none; }
.gbadge {
    position: absolute; bottom: -4px; left: -4px; width: 20px; height: 20px;
    background: #fff; border-radius: 50%; padding: 2.5px;
    box-shadow: 0 1px 5px rgba(0,0,0,.4); border: 1px solid rgba(0,0,0,.06);
}
.tcard-neu { border-color: rgba(255,196,0,.28); }

/* hero top word — "الوساطة" in Kufam */
.hero-word {
    position: absolute; top: clamp(74px, 12vh, 150px); left: 0; right: 0; z-index: 2;
    text-align: center; pointer-events: none;
    font-family: 'Kufam', 'Cairo', sans-serif; font-weight: 900;
    font-size: clamp(3.2rem, 15vw, 7.5rem); line-height: 1;
    letter-spacing: 1px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 6px 26px rgba(23,200,172,.25));
}
@media (max-width: 768px){ .hero-word { top: clamp(66px, 10vh, 110px); } }

/* small platform brand-mark on chips */
.chip .plat-ic { font-size: 1.02rem !important; opacity: 1 !important; }

/* facebook review badge + empty state */
.gbadge-fb { display: grid; place-items: center; background: #1877F2; color: #fff; }
.gbadge-fb i { font-size: 11px; }
.reviews-empty { text-align: center; color: var(--muted); padding: 1.4rem; font-weight: 600; }

/* Facebook sign-in button */
.btn-facebook {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .85rem 1.2rem; margin-top: .7rem; border-radius: 12px; cursor: pointer;
    background: #1877F2; color: #fff; border: none;
    font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1rem;
    transition: var(--tr);
}
.btn-facebook:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(24,119,242,.4); }
.btn-facebook i { font-size: 1.15rem; }

/* ===== Navbar account + notifications bell ===== */
.nav-account, .notif-bell {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center;
    border-radius: 12px; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.05);
    color: var(--text); font-size: 1.05rem; cursor: pointer; text-decoration: none; position: relative; transition: var(--tr);
}
.nav-account:hover, .notif-bell:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.notif-badge {
    position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px;
    display: grid; place-items: center; border-radius: 999px; background: #ff3b5c; color: #fff;
    font-family: 'Cairo'; font-weight: 800; font-size: .72rem; border: 2px solid #0b1512;
}
.notif-panel {
    position: fixed; top: 70px; inset-inline-start: 12px; z-index: 1300; width: min(360px, 92vw);
    max-height: 70vh; overflow-y: auto; background: linear-gradient(180deg, #17102b00, transparent), #10201a;
    border: 1px solid var(--glass-brd); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s;
}
.notif-panel.open { opacity: 1; visibility: visible; transform: none; }
.np-head { padding: 1rem 1.2rem; border-bottom: 1px solid var(--glass-brd); }
.np-head strong i { color: var(--yellow); margin-inline-end: .3rem; }
.np-list { padding: .6rem; }
.np-empty { text-align: center; color: var(--muted); padding: 1.6rem; }
.np-item { padding: .8rem 1rem; border-radius: 12px; border: 1px solid transparent; }
.np-item + .np-item { margin-top: .3rem; }
.np-item.np-new { background: rgba(23,168,94,.08); border-color: rgba(34,210,180,.2); }
.np-item strong { display: block; font-size: .98rem; }
.np-item p { color: var(--muted); font-size: .88rem; margin: .2rem 0 0; }
.np-link { display: inline-block; margin-top: .4rem; color: var(--yellow); font-weight: 700; font-size: .85rem; }

/* ===== Store-style account (types + form) ===== */
.acc-types { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.4rem; }
.acc-type {
    text-align: center; padding: 1.1rem .8rem; border-radius: 14px; cursor: pointer;
    background: rgba(255,255,255,.03); border: 1.5px solid var(--glass-brd); color: var(--text);
    font-family: inherit; transition: var(--tr); display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.acc-type i { font-size: 1.5rem; color: var(--muted); }
.acc-type strong { font-family: 'Cairo'; font-weight: 800; font-size: 1rem; }
.acc-type small { color: var(--dim); font-size: .78rem; line-height: 1.5; }
.acc-type.active { border-color: var(--pink); background: rgba(23,168,94,.08); box-shadow: 0 0 24px rgba(23,168,94,.2); }
.acc-type.active i { color: var(--pink); }
.req { color: #ff6b6b; }
.ac-terms { display: flex; align-items: center; gap: .5rem; margin: .3rem 0 1rem; color: var(--muted); font-size: .9rem; cursor: pointer; }
.ac-terms input { width: 18px; height: 18px; accent-color: var(--pink); }
.ac-submit { width: 100%; justify-content: center; }
.ac-switch { text-align: center; margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.ac-switch a { color: var(--yellow); font-weight: 700; }
.acc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: 1.2rem; }
.acc-stat { text-align: center; padding: .9rem .5rem; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--glass-brd); }
.acc-stat strong { display: block; font-family: 'Cairo'; font-weight: 800; color: var(--yellow); font-size: 1rem; }
.acc-stat span { color: var(--muted); font-size: .78rem; }
@media (max-width: 480px){ .acc-types { grid-template-columns: 1fr; } }

/* account page dark card */
.acc-card { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(18px); }
.acc-card .rf-group { margin-bottom: 1rem; }
.acc-card .rf-group label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; color: var(--text); }
.acc-card input[type=text], .acc-card input[type=email], .acc-card input[type=tel], .acc-card input[type=password] {
    width: 100%; padding: .85rem 1rem; border-radius: 12px; font-family: inherit; font-size: .95rem;
    background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd); color: var(--text);
}
.acc-card input:focus { outline: none; border-color: var(--pink); }
.acc-card input::placeholder { color: var(--dim); }
.acc-card .rev-user-card { display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.03); border: 1px solid var(--glass-brd); border-radius: 14px; padding: 1rem; }
.acc-card .rev-user-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.acc-card .rev-user-card .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-family: 'Cairo'; font-weight: 800; font-size: 1.3rem; }
.acc-card .rev-user-card strong { display: block; color: var(--text); }
.acc-card .rev-user-card small { color: var(--muted); }
.acc-card .rev-user-note { background: rgba(255,255,255,.03); border: 1px solid var(--glass-brd); border-radius: 12px; padding: .9rem 1.1rem; color: var(--muted); }
.acc-card .rev-or { display: flex; align-items: center; gap: .8rem; color: var(--dim); margin: 1.2rem 0; font-size: .9rem; }
.acc-card .rev-or::before, .acc-card .rev-or::after { content: ''; flex: 1; height: 1px; background: var(--glass-brd); }

/* =========================================================
   Shopping cart + checkout (store)
   ========================================================= */
.cart-fab {
    position: fixed; left: 20px; bottom: 22px; z-index: 900;
    width: 58px; height: 58px; border: none; border-radius: 50%; cursor: pointer;
    background: var(--grad-btn); color: #fff; font-size: 1.35rem;
    box-shadow: 0 12px 34px -6px rgba(16,140,82,.6); transition: var(--tr);
}
.cart-fab:hover { transform: translateY(-3px) scale(1.05); }
.cart-badge {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px;
    display: none; place-items: center; padding: 0 5px; border-radius: 999px;
    background: #fff; color: var(--pink); font-family: 'Cairo'; font-weight: 900; font-size: .78rem;
    box-shadow: 0 3px 10px rgba(0,0,0,.4); border: 2px solid var(--pink);
}
.cart-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(5,12,10,.72); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s; }
.cart-backdrop.show { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed; top: 0; right: 0; z-index: 1200; height: 100%;
    width: min(400px, 90vw); display: flex; flex-direction: column;
    background: linear-gradient(180deg, #0c1c17, #081511);
    border-left: 1px solid var(--glass-brd); box-shadow: -20px 0 60px rgba(0,0,0,.6);
    transform: translateX(100%); transition: transform .38s cubic-bezier(.22,1,.36,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--glass-brd); }
.cart-head h3 { font-size: 1.15rem; }
.cart-head h3 i { color: var(--yellow); margin-left: .3rem; }
.cart-x { background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.cart-x:hover { color: #fff; }
.cart-list { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.cart-item { display: flex; align-items: center; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.ci-info { flex: 1; min-width: 0; }
.ci-info strong { display: block; font-size: .95rem; }
.ci-info small { color: var(--muted); font-size: .78rem; }
.ci-qty { display: flex; align-items: center; gap: .55rem; }
.ci-qty button { width: 26px; height: 26px; border-radius: 8px; cursor: pointer; border: 1px solid var(--glass-brd); background: var(--glass); color: #fff; font-size: 1rem; line-height: 1; }
.ci-qty button:hover { border-color: var(--pink); color: var(--pink); }
.ci-qty span { min-width: 20px; text-align: center; font-weight: 700; }
.ci-del { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 1rem; padding: .2rem; }
.ci-del:hover { color: var(--pink); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty i { font-size: 2.6rem; color: var(--dim); margin-bottom: .8rem; }
.cart-empty p { font-family: 'Cairo'; font-weight: 800; color: var(--text); margin-bottom: .3rem; }
.cart-empty span { font-size: .85rem; }
.cart-foot { padding: 1.1rem 1.4rem 1.4rem; border-top: 1px solid var(--glass-brd); }
.cart-count-row { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.cart-count-row strong { color: var(--yellow); }
.cart-note { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }
.cart-checkout { width: 100%; justify-content: center; }
.cart-clear { width: 100%; margin-top: .7rem; background: none; border: none; cursor: pointer; color: var(--dim); font-size: .85rem; font-family: 'IBM Plex Sans Arabic'; }
.cart-clear:hover { color: var(--pink); }
.cart-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 1300; background: #0c1c17; border: 1px solid var(--glass-brd); color: #fff; padding: .8rem 1.3rem; border-radius: 14px; font-size: .9rem; font-weight: 600; box-shadow: 0 14px 40px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: all .3s; max-width: 90vw; }
.cart-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* checkout page */
.checkout-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.6rem; align-items: start; }
.checkout-summary, .checkout-form { padding: 1.8rem; border-radius: var(--radius); }
.co-title { font-size: 1.15rem; margin-bottom: 1.2rem; }
.co-title i { color: var(--yellow); margin-left: .3rem; }
.co-item { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.co-item strong { display: block; font-size: .95rem; }
.co-item small { color: var(--muted); font-size: .78rem; }
.co-qty { color: var(--yellow); font-weight: 800; }
.co-count-row { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--glass-brd); }
.co-count-row strong { color: var(--yellow); }
.co-price-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.co-price-note i { color: var(--yellow); }
.checkout-form label { display: block; font-weight: 700; margin: 1rem 0 .4rem; font-size: .92rem; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; font-family: inherit; font-size: .95rem; background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd); color: #fff; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--pink); }
.co-submit { width: 100%; justify-content: center; margin-top: 1.4rem; }
.co-secure { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .9rem; }
.co-secure i { color: #34d399; }
.co-empty-msg { text-align: center; margin-top: 1rem; color: var(--muted); }
.co-empty-msg a { color: var(--pink); }
@media (max-width: 820px) { .checkout-wrap { grid-template-columns: 1fr; } }

/* category image tile: uploaded image fills the square like a product photo */
.cat-ico { overflow: hidden; }
.cat-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.cat-hero-ico:has(img) { background: none !important; box-shadow: none !important; overflow: hidden; padding: 4px; }
.cat-hero-ico { overflow: hidden; }
.cat-hero-ico img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }

/* ============================================================
   Service detail page (service.html) — image-forward store view
   ============================================================ */
.svc-page { padding: 2.4rem 0 3rem; }
.svc-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.svc-crumbs a { color: var(--muted); text-decoration: none; }
.svc-crumbs a:hover { color: var(--text); }
.svc-crumbs .sep { opacity: .5; }
.svc-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; gap: 1.4rem; } }

/* gallery */
.svc-gallery { position: sticky; top: 90px; }
@media (max-width: 900px) { .svc-gallery { position: static; } }
.svc-main-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cg1,#17A85E), var(--cg2,#0E7A45)); box-shadow: 0 20px 50px -14px rgba(0,0,0,.55); position: relative; }
.svc-main-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.svc-main-img.is-ph i { font-size: clamp(3rem, 12vw, 6rem); color: #fff; opacity: .92; }
.svc-badge { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
  color: #fff; font-size: .78rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; }
.svc-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: .8rem; }
.svc-thumb { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; cursor: pointer; border: 2px solid transparent;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--cg1,#17A85E), var(--cg2,#0E7A45)); transition: var(--tr); }
.svc-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.svc-thumb i { color: #fff; font-size: 1.3rem; opacity: .85; }
.svc-thumb.active { border-color: var(--pink); }
.svc-thumb:hover { transform: translateY(-2px); }

/* info column */
.svc-info h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: .5rem; }
.svc-code { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted);
  background: rgba(255,255,255,.05); border: 1px solid var(--glass-brd); padding: .28rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.svc-cat-tag { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); font-weight: 700; text-decoration: none;
  margin-inline-start: .5rem; }
.svc-price { display: flex; align-items: baseline; gap: .5rem; margin: 1rem 0 1.1rem; }
.svc-price .val { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900; color: var(--yellow); }
.svc-price .lbl { color: var(--muted); font-size: .9rem; }
.svc-lead { color: var(--muted); line-height: 1.9; margin-bottom: 1.3rem; }

.svc-order-box { padding: 1.2rem; border-radius: 18px; margin-bottom: 1.2rem; }
.svc-row { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: .9rem; }
.svc-qty { display: inline-flex; align-items: center; border: 1px solid var(--glass-brd); border-radius: 12px; overflow: hidden; }
.svc-qty button { width: 42px; height: 42px; background: rgba(255,255,255,.04); color: var(--text); border: 0; font-size: 1.1rem; cursor: pointer; }
.svc-qty button:hover { background: rgba(255,255,255,.09); }
.svc-qty input { width: 52px; height: 42px; text-align: center; background: transparent; border: 0; color: var(--text); font-weight: 700; font-size: 1rem; }
.svc-field { width: 100%; }
.svc-field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.svc-field input, .svc-field textarea { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--glass-brd);
  border-radius: 12px; padding: .7rem .9rem; color: var(--text); font-family: inherit; font-size: .95rem; }
.svc-field textarea { resize: vertical; min-height: 70px; }
.svc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .3rem; }
@media (max-width: 480px) { .svc-actions { grid-template-columns: 1fr; } }
.svc-note { color: var(--muted); font-size: .82rem; text-align: center; margin-top: .7rem; }

/* attachment */
.svc-attach { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1.1rem;
  border: 1px dashed var(--glass-brd); }
.svc-attach i.fa-paperclip { color: var(--teal); font-size: 1.3rem; }
.svc-attach .at-body { flex: 1; }
.svc-attach .at-body b { display: block; font-size: .95rem; }
.svc-attach .at-body span { color: var(--muted); font-size: .82rem; }

/* tabs */
.svc-tabs-wrap { margin-top: 2.4rem; }
.svc-tabs { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--glass-brd); margin-bottom: 1.2rem; }
.svc-tab { background: transparent; border: 0; color: var(--muted); font-family: inherit; font-weight: 700; font-size: .95rem;
  padding: .7rem 1rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: var(--tr); }
.svc-tab:hover { color: var(--text); }
.svc-tab.active { color: var(--text); border-bottom-color: var(--pink); }
.svc-tabpane { display: none; line-height: 1.95; color: var(--muted); animation: fadeUp .3s ease; }
.svc-tabpane.active { display: block; }
.svc-tabpane h4 { color: var(--text); margin: .2rem 0 .6rem; }
.svc-tabpane ul { list-style: none; display: grid; gap: .5rem; }
.svc-tabpane ul li { position: relative; padding-inline-start: 1.6rem; }
.svc-tabpane ul li i { position: absolute; inset-inline-start: 0; top: .35rem; color: var(--pink); }
.svc-tabpane p { margin-bottom: .8rem; }

/* related */
.svc-related { margin-top: 2.6rem; }
.svc-related h3 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .rel-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }
.rel-card { text-decoration: none; color: var(--text); border-radius: 16px; overflow: hidden; padding: .6rem; transition: var(--tr); display: block; }
.rel-card:hover { transform: translateY(-3px); }
.rel-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--cg1,#17A85E), var(--cg2,#0E7A45)); margin-bottom: .5rem; }
.rel-img img { width: 100%; height: 100%; object-fit: contain; }
.rel-img i { color: #fff; font-size: 1.6rem; opacity: .9; }
.rel-card h4 { font-size: .9rem; text-align: center; line-height: 1.4; }
