@font-face {
  font-family: "Almarai";
  src: url("fonts/Almarai-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #101116;
  --ink-soft: #1b1d24;
  --ink-muted: #555963;
  --paper: #f5f4f1;
  --white: #fff;
  --line: #dedfe2;
  --red: #d71927;
  --red-dark: #a80e1a;
  --red-pale: #fff0f1;
  --blue: #153c63;
  --shadow: 0 22px 60px rgba(17, 20, 28, .13);
  --radius: 22px;
  --container: 1160px;
  font-family: "Almarai", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; direction: rtl; background: var(--paper); color: var(--ink); line-height: 1.85; font-size: 16px; }
body, button, input, select, textarea { font-family: "Almarai", Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid #ff6670; outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-tight { padding: 58px 0; }
.section-dark { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 12% 18%, rgba(215,25,39,.13), transparent 26%), linear-gradient(135deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(45deg, rgba(255,255,255,.018) 1px, transparent 1px), var(--ink); background-size: auto, 76px 76px, 76px 76px, auto; color: var(--white); }
.section-dark::after { content: ""; position: absolute; z-index: -1; width: 540px; height: 540px; left: -240px; top: -300px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.018), 0 0 0 70px rgba(215,25,39,.025); pointer-events: none; }
.section-heading { max-width: 760px; margin: 0 0 34px; }
.section-dark .section-heading h2, .section-dark .section-heading h3 { position: relative; display: inline-block; }
.section-dark .section-heading h2::after, .section-dark .section-heading h3::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 13px; background: linear-gradient(110deg, var(--red) 0 68%, rgba(215,25,39,.2) 68% 78%, transparent 78%); clip-path: polygon(0 0, 100% 0, 86% 100%, 72% 0, 57% 100%, 43% 0, 28% 100%, 0 100%); transform-origin: right center; animation: barg-signal-in .7s ease both; }
.section-heading.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 800; font-size: .88rem; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--red); border-radius: 99px; }
.eyebrow::after { content: ""; width: 13px; height: 2px; background: rgba(215,25,39,.38); clip-path: polygon(0 0, 100% 0, 78% 100%, 52% 0, 28% 100%); }
.section:not(.section-dark) > .container > .section-heading h2::after, .section:not(.section-dark) > .container > .section-heading h3::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 10px; background: var(--red); clip-path: polygon(0 0, 100% 0, 84% 100%, 67% 0, 50% 100%, 34% 0, 0 100%); }
@keyframes barg-signal-in { from { opacity: 0; transform: scaleX(.2); } to { opacity: 1; transform: scaleX(1); } }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.65rem); margin: 14px 0 22px; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); margin: 12px 0 14px; }
h3 { font-size: 1.22rem; margin: 0 0 11px; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-muted); max-width: 700px; }
.section-dark .lead, .hero .lead { color: rgba(255,255,255,.77); }
.muted { color: var(--ink-muted); }
.small { font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 14, 18, .96); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 50%; border: 2px solid rgba(215,25,39,.55); }
.brand-copy { display: grid; line-height: 1.3; }
.brand-copy strong { font-size: 1.06rem; letter-spacing: .05em; }
.brand-copy span { color: rgba(255,255,255,.66); font-size: .73rem; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 26px); margin: 0; padding: 0; list-style: none; }
.nav-links a { color: rgba(255,255,255,.78); font-size: .9rem; transition: color .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--red); margin-top: 4px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 800; font-size: .92rem; line-height: 1.3; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--red); box-shadow: 0 10px 24px rgba(215,25,39,.24); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.04); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { background: #f1f1f1; }
.btn-small { min-height: 42px; padding: 9px 15px; font-size: .86rem; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 83% 18%, rgba(215,25,39,.22), transparent 38%), linear-gradient(135deg, rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(45deg, rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(125deg, #101116, #171a21 55%, #0b0c10); background-size: auto, 84px 84px, 84px 84px, auto; padding: 72px 0 64px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; top: -240px; left: -130px; box-shadow: 0 0 0 42px rgba(255,255,255,.018), 0 0 0 86px rgba(255,255,255,.014); }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(34px, 6vw, 78px); }
.hero-copy { max-width: 620px; }
.hero h1 span { color: #ff4a55; }
.hero .lead { max-width: 590px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin: 16px 0 0; font-size: .84rem; color: rgba(255,255,255,.57); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 15px -14px -14px 14px; border: 1px solid rgba(215,25,39,.72); border-radius: 24px; z-index: -1; }
.hero-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; border: 1px solid rgba(255,255,255,.17); box-shadow: 0 28px 70px rgba(0,0,0,.4); }
.hero-visual figcaption { color: rgba(255,255,255,.6); font-size: .77rem; margin-top: 12px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; color: rgba(255,255,255,.76); font-size: .78rem; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 68px; color: #fff; background: radial-gradient(ellipse at 85% 15%, rgba(215,25,39,.19), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(45deg, rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(125deg, #101116, #1b1d24); background-size: auto, 84px 84px, 84px 84px, auto; }
.page-hero h1 { max-width: 880px; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.page-hero .lead { max-width: 760px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.55); font-size: .82rem; margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb span { color: var(--red); }

/* Cards and content */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { height: 100%; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(15,18,24,.035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(215,25,39,.32); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-muted); }
.card-dark { background: #191b22; color: #fff; border-color: rgba(255,255,255,.09); }
.card-dark p { color: rgba(255,255,255,.68); }
.card-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; background: var(--red-pale); color: var(--red); font-weight: 900; margin-bottom: 18px; }
.card-dark .card-number { background: rgba(215,25,39,.16); color: #ff5b65; }
.why-choose { margin-top: 0; }
.why-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.why-card { grid-column: span 2; min-height: 210px; padding: 23px 22px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-top: 3px solid rgba(215,25,39,.78); border-radius: 17px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.why-card:nth-child(4) { grid-column: 2 / span 2; }
.why-card:nth-child(5) { grid-column: 4 / span 2; }
.why-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.085); border-color: rgba(215,25,39,.58); }
.why-card h3 { margin: 0 0 10px; color: #fff; font-size: 1.18rem; }
.why-card p:not(.why-number) { margin: 0; color: rgba(255,255,255,.7); font-size: .93rem; }
.why-number { margin: 0 0 15px; color: #ff5b65; font-weight: 900; font-size: .82rem; letter-spacing: .08em; }
.why-note { margin: 28px 0 0; padding-right: 16px; border-right: 3px solid var(--red); color: rgba(255,255,255,.78); font-size: .95rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; color: var(--red-dark); font-weight: 800; font-size: .9rem; }
.card-link::after { content: "←"; transition: transform .18s ease; }
.card-link:hover::after { transform: translateX(-4px); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 0; }
.tag { padding: 5px 10px; border-radius: 99px; background: #f1f1f2; color: #555963; font-size: .76rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portfolio-card { overflow: hidden; align-self: start; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 22px rgba(15,18,24,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(215,25,39,.32); }
.portfolio-card > img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 24px; background: #fff; }
.portfolio-card-body { padding: 22px 23px 24px; }
.portfolio-card-body .card-number { width: auto; height: auto; padding: 0; margin: 0 0 12px; background: transparent; color: var(--red); font-size: .78rem; }
.portfolio-card-body h3 { margin-bottom: 10px; font-size: 1.1rem; }
.portfolio-card-body p:not(.card-number) { color: var(--ink-muted); font-size: .9rem; }
.portfolio-details { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); }
.portfolio-details summary { cursor: pointer; color: var(--red-dark); font-size: .88rem; font-weight: 800; }
.portfolio-details summary::marker { color: var(--red); }
.portfolio-details ul { margin: 12px 0 0; padding-inline-start: 18px; color: var(--ink-muted); font-size: .84rem; }
.portfolio-details li { margin: 6px 0; }
.service-card { border-top: 3px solid var(--red); }
.service-card .problem-label { color: var(--red-dark); font-weight: 800; font-size: .81rem; margin-bottom: 6px; }
.service-card .option-label { color: var(--ink); font-weight: 800; font-size: .83rem; margin: 17px 0 6px; }
.service-card ul, .plain-list { padding-inline-start: 20px; color: var(--ink-muted); }
.service-card li, .plain-list li { margin: 5px 0; }

/* Horizontal story strip */
.insight-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--line); border-right: 4px solid var(--red); border-radius: 18px; padding: 23px 26px; }
.insight-mark { display: grid; place-items: center; width: 52px; height: 52px; background: #111318; color: #fff; border-radius: 16px; font-weight: 900; }
.insight-strip h3 { margin-bottom: 5px; }
.insight-strip p { margin: 0; color: var(--ink-muted); font-size: .94rem; }

/* Method */
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; counter-reset: step; }
.method-step { position: relative; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.method-step::before { counter-increment: step; content: "0" counter(step); display: block; color: var(--red); font-size: .84rem; font-weight: 900; margin-bottom: 16px; }
.method-step p { color: var(--ink-muted); margin-bottom: 0; font-size: .94rem; }
.method-dark .method-step { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.13); }
.method-dark .method-step p { color: rgba(255,255,255,.68); }

/* Interactive issue map */
.problem-finder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.problem-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.problem-choice { text-align: right; min-height: 62px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; transition: .18s ease; }
.problem-choice:hover { border-color: rgba(215,25,39,.55); transform: translateY(-2px); }
.problem-choice[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.problem-result { min-height: 100%; padding: 30px; color: #fff; background: linear-gradient(145deg, #171920, #0c0d11); border-radius: 22px; border: 1px solid rgba(215,25,39,.4); box-shadow: var(--shadow); }
.problem-result .eyebrow { color: #ff5b65; }
.problem-result p { color: rgba(255,255,255,.73); }
.problem-result ul { padding-inline-start: 21px; color: rgba(255,255,255,.78); }
.problem-result li { margin: 7px 0; }
.problem-result .btn { margin-top: 10px; }
.problem-line { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.55); font-size: .82rem; margin: 15px 0; }
.problem-line::before { content: ""; width: 30px; height: 1px; background: var(--red); }

/* AI highlight */
.ai-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 36px; color: #fff; background: linear-gradient(120deg, #111319 0%, #20232b 70%, #31151a 100%); border-radius: 24px; }
.ai-panel::after { content: "AI"; position: absolute; left: 28px; bottom: -60px; color: rgba(255,255,255,.045); font-size: 11rem; font-weight: 900; line-height: 1; }
.ai-panel > * { position: relative; z-index: 1; }
.ai-panel p { color: rgba(255,255,255,.72); max-width: 720px; margin-bottom: 0; }

/* Sector chips */
.sector-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sector-chip { padding: 10px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-size: .88rem; }

/* CTA */
.cta-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px; color: #fff; background: linear-gradient(135deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(45deg, rgba(255,255,255,.018) 1px, transparent 1px), var(--ink); background-size: 72px 72px, 72px 72px, auto; border-radius: 24px; }
.cta-panel::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0; width: 9px; background: var(--red); }
.cta-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 9px; }
.cta-panel p { color: rgba(255,255,255,.68); margin: 0; max-width: 650px; }

/* About page */
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.value-item { padding: 23px; border-right: 3px solid var(--red); background: #fff; border-radius: 4px 16px 16px 4px; }
.value-item p { color: var(--ink-muted); margin: 0; }
.note-box { padding: 20px 22px; border: 1px solid #efc3c6; border-radius: 16px; background: var(--red-pale); color: #542127; }
.note-box strong { color: #8f101b; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.contact-aside { position: sticky; top: 108px; }
.contact-panel { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15,18,24,.04); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .9rem; }
.field small { color: var(--ink-muted); font-size: .79rem; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #d4d5da; border-radius: 12px; background: #fff; color: var(--ink); font-size: .94rem; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,25,39,.12); }
textarea { min-height: 145px; resize: vertical; }
.checkbox-line { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-muted); font-size: .85rem; }
.checkbox-line input { width: 18px; min-width: 18px; margin-top: 5px; accent-color: var(--red); }
.demo-banner { padding: 13px 16px; margin-bottom: 18px; border: 1px solid #f0c5c8; border-radius: 13px; background: #fff5f5; color: #721721; font-size: .87rem; }
.form-status { min-height: 28px; margin: 12px 0 0; color: var(--red-dark); font-weight: 800; }
.contact-info-card { padding: 23px; border-radius: 18px; background: #171920; color: #fff; }
.contact-info-card p { color: rgba(255,255,255,.69); }
.contact-info-card .info-label { color: #ff6a72; font-size: .8rem; font-weight: 900; }


/* Fast paths through long service pages */
.service-jumpnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.service-jumpnav a { padding: 8px 12px; border: 1px solid #e4e4e6; border-radius: 999px; background: #fafafa; color: var(--ink-soft); font-size: .82rem; font-weight: 800; white-space: nowrap; transition: .18s ease; }
.service-jumpnav a:hover { color: var(--red-dark); border-color: rgba(215,25,39,.45); background: var(--red-pale); }
.service-card-cta { margin-top: 18px; }
.problem-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.problem-result .problem-actions .btn { margin-top: 0; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.blog-card { display: flex; flex-direction: column; min-height: 260px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(15,18,24,.035); }
.blog-card > :not(.blog-card-image) { margin-inline: 28px; }
.blog-card .blog-date { margin-top: 24px; }
.blog-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.blog-card-image picture { display: block; width: 100%; height: 100%; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.035); }
.blog-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); margin: 7px 0 12px; }
.blog-card h2 a:hover { color: var(--red-dark); }
.blog-card p:not(.blog-date) { color: var(--ink-muted); }
.blog-card .card-link { margin-top: auto; }
.blog-pagination { margin-top: 34px; }
.blog-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; }
.blog-pagination a, .blog-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-soft); }
.blog-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-date, .post-meta { color: var(--red-dark); font-size: .84rem; font-weight: 800; }
.post-content { max-width: 820px; }
.post-featured-image { margin: 0 0 34px; }
.post-featured-image picture { display: block; }
.post-featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.post-content h2 { margin-top: 38px; }
.post-content .post-intro { color: var(--ink); font-size: 1.2rem; font-weight: 700; border-right: 4px solid var(--red); padding-right: 18px; }
.post-content p { color: var(--ink-muted); font-size: 1.08rem; }
.post-content .post-cta { margin-top: 34px; padding: 22px; background: var(--red-pale); border-radius: 16px; }
.post-content a { color: var(--red-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-back { margin-top: 42px; }

/* Official contact channels */
.footer-contact-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.66); font-size: .85rem; }
.footer-contact-bar a { color: rgba(255,255,255,.8); overflow-wrap: anywhere; }
.footer-contact-bar a:hover { color: #fff; text-decoration: underline; }
.contact-methods { display: grid; gap: 7px; margin: 14px 0; padding: 0; list-style: none; }
.contact-methods li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-methods li span { color: rgba(255,255,255,.58); font-size: .8rem; }
.contact-methods a { width: fit-content; max-width: 100%; color: #fff; font-weight: 800; overflow-wrap: anywhere; }
.contact-methods a:hover { color: #ff6a72; }
.contact-region { margin: 12px 0 0; color: rgba(255,255,255,.75); font-weight: 800; }
.hero-visual picture { display: block; }

/* صورة صفحة الخدمة: عرض متجاوب مع تحميل مؤجل وبدون قفز في التخطيط */
.service-image-card { width: min(100%, 760px); max-width: 760px; margin: 0 auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-image-card picture { display: block; overflow: hidden; border-radius: calc(var(--radius) - 7px); background: #171920; }
.service-image-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.service-image-card figcaption { padding: 12px 8px 2px; color: var(--ink-muted); font-size: .84rem; text-align: center; }

@media (max-width: 720px) {
  .service-image-card { width: 100%; max-width: none; padding: 8px; }
  .service-image-card figcaption { padding-inline: 4px; font-size: .75rem; }
}

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
details.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 17px 20px; }
details.faq-item summary { cursor: pointer; font-weight: 900; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; float: left; color: var(--red); font-size: 1.25rem; }
details.faq-item[open] summary::after { content: "−"; }
details.faq-item p { margin: 12px 0 0; color: var(--ink-muted); }

/* Footer */
.site-footer { background: #0c0d11; color: #fff; padding: 28px 0 22px; }
.footer-signal { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 0 24px; color: rgba(255,255,255,.42); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer-signal span:first-child { color: #ff4a55; letter-spacing: .12em; font-size: .95rem; direction: ltr; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .85fr 1fr; gap: 48px; padding: 38px 0 34px; }
.footer-brand { display: flex; gap: 13px; align-items: center; }
.footer-brand img { width: 56px; height: 56px; background: #fff; border-radius: 50%; object-fit: contain; }
.footer-brand p { color: rgba(255,255,255,.58); font-size: .82rem; margin: 5px 0 0; }
.footer-description { max-width: 390px; margin: 22px 0 20px; color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.85; }
.footer-title { font-size: .95rem; color: #fff; margin-bottom: 16px; }
.footer-title::before { content: ""; display: inline-block; width: 22px; height: 3px; margin-inline-end: 9px; vertical-align: middle; border-radius: 99px; background: var(--red); }
.footer-links { display: grid; gap: 9px; color: rgba(255,255,255,.63); font-size: .87rem; }
.footer-links a, .footer-contact-links a { transition: color .18s ease, transform .18s ease; }
.footer-links a:hover, .footer-contact-links a:hover { color: #fff; }
.footer-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid rgba(215,25,39,.75); border-radius: 11px; background: var(--red); color: #fff; font-size: .86rem; font-weight: 800; transition: background .18s ease, transform .18s ease; }
.footer-cta:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.footer-cta span { font-size: 1.1rem; }
.footer-branches { margin: 0 0 18px; color: rgba(255,255,255,.68); font-size: .88rem; line-height: 1.9; }
.footer-branches strong { color: #ff6a72; font-size: .78rem; }
.footer-contact-links { display: grid; gap: 10px; color: rgba(255,255,255,.75); font-size: .86rem; }
.footer-contact-links a { overflow-wrap: anywhere; }
.footer-whatsapp { color: #fff; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 17px; color: rgba(255,255,255,.48); font-size: .78rem; }

:focus-visible { outline: 3px solid #f45b65; outline-offset: 3px; }
@media (max-width: 920px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: .82rem; }
  .hero-grid { gap: 35px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 30px, var(--container)); }
  .section { padding: 64px 0; }
  .section-tight { padding: 45px 0; }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; order: 3; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 72px; right: 0; left: 0; padding: 16px 22px 22px; flex-direction: column; align-items: stretch; gap: 3px; background: #111318; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 10px 7px; font-size: .96rem; }
  .nav-links a[aria-current="page"]::after { width: 32px; }
  .brand { margin-inline-end: auto; order: 2; }
  .hero { padding: 49px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; margin: 5px 6px 8px; }
  .hero-copy { order: 1; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3.3rem); }
  .page-hero { padding: 52px 0 48px; }
  .card-grid, .card-grid.two, .values-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .problem-finder { grid-template-columns: 1fr; }
  .problem-result { min-height: 300px; }
  .problem-options { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .insight-strip { grid-template-columns: auto 1fr; }
  .insight-strip .btn { grid-column: 1 / -1; width: 100%; }
  .ai-panel { grid-template-columns: 1fr; padding: 27px; }
  .cta-panel { align-items: stretch; flex-direction: column; padding: 28px; }
  .cta-panel .btn { width: 100%; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 26px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .footer-signal { align-items: flex-start; flex-direction: column; gap: 7px; }
  .service-jumpnav { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; }
  .footer-contact-bar { align-items: flex-start; gap: 9px 16px; }
}
@media (max-width: 420px) {
  .brand-copy span { display: none; }
  .brand img { width: 46px; height: 46px; }
  .problem-options { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   توافق كتل ووردبريس (الإصدار 1.2.0)
   الصفحات صارت كتلًا عادية (عناوين/فقرات/أزرار/مجموعات)، وهذه القواعد
   تحافظ على نفس المظهر الأصلي.
   ===================================================================== */

/* عناصر كانت <span> أو <a> وأصبحت فقرات: نلغي هوامش الفقرة ونعيد ألوانها */
p.eyebrow, p.pill, p.tag, p.sector-chip, p.info-label, p.insight-mark { margin: 0; }
p.card-link { margin-bottom: 0; }
p.note-box { margin: 0; }
p.eyebrow { color: var(--red); }
p.pill { color: rgba(255,255,255,.76); }
p.tag { color: #555963; }
p.sector-chip { color: var(--ink-soft); }
p.info-label { color: #ff6a72; line-height: 29.6px; }
p.insight-mark { color: #fff; font-size: inherit; }
p.card-number { color: var(--red); }
.card-dark p.card-number { color: #ff5b65; }
p.card-link { color: var(--red-dark); }
p.card-link a { color: inherit; text-decoration: none; }

/* الأزرار: كتلة زر ووردبريس بنفس شكل .btn الأصلي */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.wp-block-button.wpb { margin: 0; }
.wpb .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 800; font-size: .92rem; line-height: 1.3; cursor: pointer; text-decoration: none; box-shadow: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.wpb .wp-block-button__link:hover { transform: translateY(-2px); }
.wpb-primary .wp-block-button__link { color: #fff; background: var(--red); box-shadow: 0 10px 24px rgba(215,25,39,.24); }
.wpb-primary .wp-block-button__link:hover { background: var(--red-dark); }
.wpb-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.04); }
.wpb-outline .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.wpb-light .wp-block-button__link { color: var(--ink); background: #fff; }
.wpb-light .wp-block-button__link:hover { background: #f1f1f1; }
.wpb-small .wp-block-button__link { min-height: 42px; padding: 9px 15px; font-size: .86rem; }
.hero-actions.wp-block-buttons { margin-top: 28px; gap: 12px; }
.bs-2.wp-block-buttons { justify-content: center; }

/* القوائم والتفاصيل */
details.wp-block-details.faq-item { margin: 0; }

@media (max-width: 920px) {
  .ai-panel .wp-block-buttons, .ai-panel .wp-block-button, .ai-panel .wpb .wp-block-button__link { width: 100%; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card, .why-card:nth-child(4), .why-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 760px) {
  .insight-strip .wp-block-buttons { grid-column: 1 / -1; width: 100%; }
  .insight-strip .wp-block-button, .cta-panel .wp-block-button { width: 100%; }
  .insight-strip .wpb .wp-block-button__link, .cta-panel .wpb .wp-block-button__link { width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
}
@media (max-width: 420px) {
  .hero-actions .wp-block-button, .hero-actions .wpb .wp-block-button__link { width: 100%; }
}

/* ما كان style مباشرًا على العناصر */
body .bs-1 { color:rgba(255,255,255,.56);margin:18px 0 0; }
body .bs-2 { text-align:center;margin-top:28px; }
body .bs-3 { margin-top:10px; }
body .bs-4 { font-size:1.55rem;margin:8px 0 12px; }
body .bs-5 { margin-top:16px; }
body .bs-6 { margin:0; }
body .bs-7 { font-size:1.35rem;margin:8px 0 12px; }
body .bs-8 { margin-top:18px; }

mark.has-inline-color { background: transparent; }

/* ووردبريس (للقوالب الكلاسيكية) يضيف طبقة داخل كل مجموعة؛ نجعلها شفافة ليبقى التنسيق كما هو */
.wp-block-group > .wp-block-group__inner-container { display: contents; }
.ai-panel .wp-block-group__inner-container > * { position: relative; z-index: 1; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.team-card { overflow: hidden; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(15,18,24,.045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(215,25,39,.32); }
.team-card img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center top; background: var(--ink-soft); }
.team-card-body { padding: 17px 16px 19px; }
.team-card h3 { margin-bottom: 6px; font-size: 1rem; }
.team-card p { margin: 0; color: var(--ink-muted); font-size: .78rem; line-height: 1.65; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .team-card-body { padding: 14px 12px 16px; } .team-card h3 { font-size: .92rem; } .team-card p { font-size: .72rem; } }


/* صفحات حلول الأعمال التفصيلية */
.service-copy { max-width: 880px; }
.service-copy p { color: var(--ink-muted); font-size: 1.05rem; }
.service-copy ul, .service-copy ol { margin: 14px 0 0; }
.service-copy li { margin: 8px 0; }


/* ضغط المسافات في صفحات الخدمات التفصيلية */
.business-detail-page .section { padding: 56px 0; }
.business-detail-page .section + .section { padding-top: 28px; }
.business-detail-page .section-heading { margin-bottom: 20px; }
.business-detail-page .section-heading .eyebrow { margin-bottom: 4px; }
.business-detail-page .section-heading h2 { margin-top: 4px; }
.business-detail-page .cta-panel { margin-top: 0; }


/* تحسين كتل SEO المرئية */
.seo-support { padding-top: 24px; }
.seo-intro { max-width: 860px; padding: 24px 26px; border-right: 4px solid var(--red); border-radius: 16px; background: var(--red-pale); }
.seo-intro p:last-child { margin: 0; color: var(--ink-muted); font-size: 1.02rem; }
.internal-links { margin: 18px 0 0; color: var(--ink-muted); font-size: .92rem; }
.internal-links a { color: var(--red-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.seo-faq .section-heading { margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
