/* PSmaax Group website — bilingual (Arabic / English) */
:root {
  --ink: #0b1630;
  --navy: #07142b;
  --navy-2: #0b2b55;
  --brand: #0A6FD1;
  --brand-2: #3b9bff;
  --teal: #20b2a6;
  --green: #79b829;
  --orange: #f0a020;
  --red: #e0302a;
  --purple: #7a2f8f;
  --text: #3d4a5c;
  --muted: #6b7a90;
  --line: #e6ebf2;
  --bg: #f5f7fb;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 60px rgba(7, 20, 43, .14);
  --font: "IBM Plex Sans Arabic", "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* language switching: <span class="ar">…</span><span class="en">…</span> */
html.lang-en .ar { display: none !important; }
html:not(.lang-en) .en { display: none !important; }

/* ===== header ===== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.site-header.scrolled, .site-header.solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(16, 24, 40, .06); }
.nav { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -.2px; }
.brand img { width: 38px; height: 38px; }
.site-header.scrolled .brand, .site-header.solid .brand { color: var(--ink); }
.menu { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.menu a { display: block; padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .86); font-weight: 600; font-size: 15px; }
.menu a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-header.scrolled .menu a, .site-header.solid .menu a { color: var(--text); }
.site-header.scrolled .menu a:hover, .site-header.solid .menu a:hover { color: var(--brand); background: #eef5ff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn { border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; border-radius: 10px; padding: 7px 12px; font: 700 14px var(--font); cursor: pointer; }
.site-header.scrolled .lang-btn, .site-header.solid .lang-btn { color: var(--ink); border-color: var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 12px 22px; font: 700 15px var(--font); border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 24px rgba(10, 111, 209, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(10, 111, 209, .45); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border: 1.5px solid #cfe0f5; }
.btn-outline:hover { border-color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-login { color: #fff; font-weight: 700; padding: 8px 10px; }
.site-header.scrolled .btn-login, .site-header.solid .btn-login { color: var(--ink); }
.burger { display: none; background: transparent; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 4px; }
.site-header.scrolled .burger, .site-header.solid .burger { color: var(--ink); }

@media (max-width: 991px) {
  .menu { position: fixed; inset: 74px 12px auto 12px; flex-direction: column; align-items: stretch; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg); display: none; }
  .menu.open { display: flex; }
  .menu a { color: var(--text) !important; padding: 12px 14px; }
  .burger { display: block; margin-inline-start: auto; }
  .nav-actions .btn-login, .nav-actions .btn-primary { display: none; }
  .menu .m-only { display: block; }
}
.menu .m-only { display: none; }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; color: #fff; padding: 150px 0 90px; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.hero-bg .b1 { width: 520px; height: 520px; background: var(--brand); top: -160px; inset-inline-start: -120px; }
.hero-bg .b2 { width: 420px; height: 420px; background: var(--teal); bottom: -180px; inset-inline-end: 8%; animation-delay: -5s; }
.hero-bg .b3 { width: 300px; height: 300px; background: var(--purple); top: 30%; inset-inline-end: -80px; animation-delay: -9s; opacity: .45; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.eyebrow i { color: #7ee2b8; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.5px; margin: 18px 0 16px; }
.hero h1 .grad { background: linear-gradient(90deg, #7ec3ff, #7ee2b8, #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: #7ee2b8; font-size: 18px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-logo { width: min(330px, 70%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); animation: spin-float 10s ease-in-out infinite; }
@keyframes spin-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(4deg); } }
.glass { position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; padding: 12px 16px; color: #fff; font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); animation: bob 6s ease-in-out infinite; }
.glass b { display: block; font-size: 16px; }
.glass small { color: rgba(255, 255, 255, .7); }
.glass .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.glass.g1 { top: 8%; inset-inline-start: 0; }
.glass.g2 { bottom: 14%; inset-inline-end: -2%; animation-delay: -2s; }
.glass.g3 { bottom: 2%; inset-inline-start: 8%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* domain search inside hero */
.domain-box { margin-top: 60px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; padding: 22px; backdrop-filter: blur(10px); }
.domain-box h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.domain-form { display: flex; gap: 10px; background: #fff; border-radius: 16px; padding: 8px; direction: ltr; }
.domain-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 18px var(--font); padding: 10px 14px; color: var(--ink); background: transparent; }
.domain-form select { border: 0; background: #f2f6fc; border-radius: 10px; font: 700 16px var(--font); padding: 0 12px; color: var(--ink); }
.tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tlds span { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: rgba(255, 255, 255, .85); direction: ltr; }
.tlds b { color: #fff; }

/* ===== sections ===== */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.sec-tag { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: #eaf3ff; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.3px; }
.sec-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.bg-soft { background: var(--bg); }

/* stats */
.stats { margin-top: -50px; position: relative; z-index: 2; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 20px; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat b { display: block; font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--c, var(--brand)); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.card:hover::after { transform: scaleX(1); }
.ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 12%, #fff); margin-bottom: 18px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--c, var(--brand)); }
html[dir="rtl"] .card .more i, html[dir="rtl"] .flip { transform: scaleX(-1); display: inline-block; }

/* why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list { display: grid; gap: 16px; margin-top: 26px; }
.why-item { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.why-item .ico { margin: 0; width: 48px; height: 48px; font-size: 22px; flex: 0 0 48px; }
.why-item h4 { font-size: 17px; margin-bottom: 2px; }
.why-item p { font-size: 14.5px; color: var(--muted); }
.why-art { position: relative; border-radius: 26px; padding: 34px; background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.why-art::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--brand); filter: blur(80px); opacity: .5; top: -120px; inset-inline-end: -120px; }
.why-art h3 { color: #fff; font-size: 24px; position: relative; }
.why-art p { color: rgba(255, 255, 255, .75); position: relative; margin-top: 8px; }
.meter { position: relative; margin-top: 22px; }
.meter div { display: flex; justify-content: space-between; font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 6px; }
.meter i { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.meter i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #7ec3ff, #7ee2b8); }

/* pricing */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px 0 34px; }
.tabs button { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 8px 18px; font: 700 14px var(--font); cursor: pointer; }
.tabs button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: rgba(255, 255, 255, .85); border: 0; box-shadow: 0 30px 60px rgba(10, 111, 209, .3); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .badge { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; }
.plan h3 { font-size: 19px; font-weight: 700; }
.price { font-size: 42px; font-weight: 800; color: var(--ink); margin-top: 14px; line-height: 1.1; display: flex; align-items: baseline; gap: 6px; direction: ltr; justify-content: flex-end; }
html.lang-en .price { justify-content: flex-start; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan.featured .price small { color: rgba(255, 255, 255, .7); }
.price .cur { font-size: 20px; font-weight: 700; }
.plan .sub { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan.featured .sub { color: rgba(255, 255, 255, .65); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 26px; border-top: 1px dashed var(--line); display: grid; gap: 10px; font-size: 15px; }
.plan.featured ul { border-color: rgba(255, 255, 255, .15); }
.plan li { display: flex; gap: 10px; }
.plan li i { color: #22b07d; }
.plan.featured li i { color: #7ee2b8; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured .btn { background: #fff; color: var(--ink); box-shadow: none; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* portfolio */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px 0 30px; }
.filters button { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; font: 700 14px var(--font); cursor: pointer; }
.filters button.active { background: #eaf3ff; color: var(--brand); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { position: relative; border-radius: 20px; overflow: hidden; background: #dfe6f0; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work:hover img { transform: scale(1.06); }
.work .cap { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(7, 20, 43, .92)); color: #fff; }
.work .cap h4 { color: #fff; font-size: 18px; }
.work .cap p { font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.work .cap a { position: absolute; top: auto; bottom: 18px; inset-inline-end: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.work.hide { display: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 44px; font-weight: 800; color: #e9eff8; position: absolute; top: 10px; inset-inline-end: 18px; line-height: 1; }
.step .ico { width: 48px; height: 48px; font-size: 21px; }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* cta band */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 54px; color: #fff; background: linear-gradient(120deg, var(--navy-2), var(--brand) 60%, var(--teal)); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .82); margin-top: 10px; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
.info-cards { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.info .ico { margin: 0; width: 50px; height: 50px; font-size: 22px; flex: 0 0 50px; }
.info h4 { font-size: 16px; }
.info p, .info a { font-size: 15px; color: var(--muted); }
.info a { color: var(--brand); font-weight: 600; direction: ltr; display: inline-block; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.form .f { margin-bottom: 16px; }
.form input, .form select, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 500 15px var(--font); color: var(--ink); background: #fbfcfe; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 111, 209, .12); background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form { position: relative; }
.form .msg { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form .msg.ok { display: block; background: #ecfdf3; color: #166534; }
.form .msg.err { display: block; background: #fef2f2; color: #991b1b; }
.form .note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 70px 0 0; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; }
.social a:hover { background: var(--brand); }
.foot-bottom { margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }

/* whatsapp float */
.wa { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); }
.wa:hover { color: #fff; transform: scale(1.06); }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: 140px 0 70px; background: var(--navy); color: #fff; isolation: isolate; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.page-hero p { color: rgba(255, 255, 255, .75); margin-top: 10px; font-size: 17px; max-width: 760px; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.crumbs a { color: rgba(255, 255, 255, .85); }

/* legal pages */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.toc h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14.5px; color: var(--text); }
.toc a:hover { background: #eef5ff; color: var(--brand); }
.toc .policies { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.doc .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.doc .meta span { background: #f2f6fc; border-radius: 999px; padding: 5px 14px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.doc h2 { font-size: 22px; font-weight: 800; margin: 34px 0 12px; padding-top: 6px; scroll-margin-top: 100px; display: flex; gap: 10px; align-items: baseline; }
.doc h2 .n { color: var(--brand); font-size: 16px; }
.doc h3 { font-size: 17px; margin: 18px 0 8px; }
.doc p, .doc li { font-size: 15.5px; color: var(--text); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-inline-start: 22px; display: grid; gap: 6px; margin: 10px 0; }
.doc .box { background: #f5f9ff; border: 1px solid #d9e8fb; border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.doc .box.warn { background: #fff8ec; border-color: #f6dfb3; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.doc th { background: #f5f7fb; color: var(--ink); }

/* services page */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc-art { order: -1; }
.svc h2 { font-size: 30px; font-weight: 800; margin: 12px 0 10px; }
.svc p { color: var(--muted); }
.svc ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.svc li { display: flex; gap: 10px; }
.svc li i { color: #22b07d; }
.svc-art { border-radius: 26px; aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 85%, #000), var(--c)); box-shadow: var(--shadow-lg); }
.svc-art i { font-size: 110px; color: rgba(255, 255, 255, .92); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25)); }
.svc-art::before, .svc-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.svc-art::before { width: 260px; height: 260px; top: -80px; inset-inline-start: -60px; }
.svc-art::after { width: 180px; height: 180px; bottom: -60px; inset-inline-end: -40px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-bg .blob, .hero-logo, .glass { animation: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1100px) {
  .cards, .works { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid, .why-grid, .contact-grid, .cta, .legal, .svc { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; order: -1; }
  .hero-logo { width: 190px; }
  .glass { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta { padding: 34px 26px; }
  .cta .btns { justify-content: flex-start; }
  .toc { position: static; }
  .svc:nth-child(even) .svc-art { order: 0; }
  .svc-art { aspect-ratio: 16 / 9; }
  .svc-art i { font-size: 80px; }
}
@media (max-width: 600px) {
  section { padding: 70px 0; }
  .cards, .works, .steps, .foot-grid, .form .row2 { grid-template-columns: 1fr; }
  .doc { padding: 24px 20px; }
  .domain-form { flex-wrap: wrap; }
  .domain-form input { flex: 1 1 100%; }
  .domain-form select, .domain-form .btn { flex: 1; }
  .wa { width: 52px; height: 52px; font-size: 25px; }
}

/* Saudi riyal symbol (follows the text colour) */
.sar { display: inline-block; width: .72em; height: .8em; background-color: currentColor; --sar: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABgCAYAAACHdYVHAAAJdklEQVR42u2dXYxdVRXHf+ecXUr5qB0KUtBi5XOgM/0QKkoAH4yJMfFboiG+wBsJPKC+6KOJxhh5MCZoQiAB34xR1EQfDBo1FNtpB4bSdqBjO6LIRztVSqFOufceH87acbHZ59597j3nnrl3zk5uMnPvuR/nf9Za+7/W+u99oolN17HChgFaQAx8H3gF+AGQAG1GZMQr6LdEAl4LuAn4E/B1YK16nQbY4r8jFYu8H9gN3Ap05PmRG2aFgNoBzgUeAr4qYC4ray1rJMO6WHUDa+PmxcAvxUpb8nxScpiJhhmj45ottQ1cBvxBQH1bLnZU8sVLxVK/CDwgnx+PI7DW/S8Bfg9Mi6WuqcAj28BFEmZ+DnxIgI7GLRTYE1oP/AbYKqCaimjbx4CHgavkYr4xrqHAWut3gJuBsyWDqmnbvcATAuqyfHcy7jH2/QJwXNEk9QDwI3Uhh+qddbKCs+qkywLVTogPA3crhhEPO2szNWdaVVjqI8BdwjDWQJPSDgpsR9y/dlDHBVibTX0B+NpKAHVcgLUh5YPD4KerLRTYyTBqqlsrezJsgKWpxzbANqMBtgG2AbYZDbANsA2wzWiAbYBtgG1GA2wDbANsMxpgG2BX9TANBFTRyYgaYMsTikT8XzydNsD2JwyxIbStwNTHbG6A7Q1ipAQhHaW1teMS4HoyeeguYAewqQG2h0s7x1wAXCPg7RIwrwM2OMctmFUMYqJa5i2PSxsyEci0gHgjmZb3cs/n2fdaVePB1QpsSibw0ONy4AYBcBewTYD1YdTyWLlV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r4uAX2ZhU/TnnKaS8IFSpdTl4RsHcW0J2VFcfbQh2flHklNpLtzKkVIq9UWU6jWq1ALNZaxTKmbuI/ewEftN+dV4QxObpWVvBCZqtCn1MhrUwOjudOIUeVUe4D/mLfZ8ZEkGGB/bj8XSQMFOXgWvy3mDcRmzHREFiPur1HolOEg887/S+Xg/vmmvY47RQXqcljhwNsKAfX4r/9MgEtDSL+GxdgU+B9ko62c3i0BXpR3LhSDm7G6K5IvvT0JdXS1ks6K+fg4wTsZiVK2yMWOU+JLe0i43+B71Khesb0uwAAAABJRU5ErkJggg=="); -webkit-mask: var(--sar) center / contain no-repeat; mask: var(--sar) center / contain no-repeat; vertical-align: -.05em; }
.price .sar { width: 26px; height: 29px; align-self: center; }
.tlds .sar { width: 10px; height: 11px; margin-inline-start: 3px; }

/* client logos marquee */
.logos { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); direction: ltr; }
.logos-track { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos .logo { flex: 0 0 auto; width: 190px; height: 96px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow); }
.logos .logo img { max-width: 146px; max-height: 62px; width: auto; height: auto; object-fit: contain; filter: grayscale(.15); transition: filter .2s, transform .2s; }
.logos .logo:hover img { filter: none; transform: scale(1.05); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* contact form security check */
.cf-box { min-height: 66px; margin-bottom: 14px; }
.cf-box:empty { display: none; }
