/* Shared styles for service, FAQ and blog pages */
@font-face { font-family: "Sora"; src: url("/fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root { --bg: #050b12; --panel: #0a1724; --panel-2: #0d1d2d; --text: #eaf1f8; --muted: #8fa3b8; --body: #cdd8e3; --orange: #ef7f3f; --peach: #ffb07a; --line: rgba(255,255,255,.09); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: "Sora", system-ui, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: "Plex Arabic", "Sora", system-ui, sans-serif; }
a { color: var(--orange); }
img { max-width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5,11,18,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.top-in { max-width: 1080px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .2em; font-size: 15px; flex: none; }
html[lang="ar"] .brand { letter-spacing: .2em; direction: ltr; }
.brand svg { width: 30px; height: 27px; }
.brand b { color: var(--orange); font-weight: 600; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--body); text-decoration: none; font-size: 14px; padding: 7px 11px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.top-right { display: flex; gap: 8px; align-items: center; }
.pill { color: var(--text); text-decoration: none; font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); white-space: nowrap; }
.pill:hover { background: rgba(255,255,255,.09); }
.cta { color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 9px 15px; border-radius: 999px; background: var(--orange); white-space: nowrap; box-shadow: 0 8px 24px -10px rgba(239,127,63,.8); }
.cta:hover { filter: brightness(1.07); }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .top-right .cta { display: none; } }

/* Layout */
main { max-width: 820px; margin: 0 auto; padding: 34px 20px 70px; }
main.wide { max-width: 1080px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin-bottom: 12px; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 13px; }
h1 { font-size: clamp(32px, 5.4vw, 52px); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 18px; }
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.3; }
h1 em, h2 em { font-family: "Instrument Serif", serif; font-weight: 400; color: var(--peach); font-style: italic; letter-spacing: 0; }
html[lang="ar"] h1 em, html[lang="ar"] h2 em { font-family: inherit; font-style: normal; font-weight: 600; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--body); line-height: 1.6; margin-bottom: 26px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.answer { background: var(--panel); border: 1px solid var(--line); border-inline-start: 3px solid var(--orange); border-radius: 14px; padding: 18px 20px; margin: 6px 0 34px; }
.answer p { color: var(--body); margin: 0; }
.answer strong { color: #fff; }
article h2, .prose h2 { font-size: clamp(21px, 2.6vw, 26px); letter-spacing: -0.02em; margin: 40px 0 12px; line-height: 1.25; }
html[lang="ar"] article h2 { letter-spacing: 0; }
article h3 { font-size: 18px; margin: 24px 0 8px; }
article p, article li { color: var(--body); font-size: 16px; }
article p + p { margin-top: 12px; }
article ul, article ol { padding-inline-start: 22px; margin-top: 10px; display: grid; gap: 8px; }
article strong { color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; }
.faq details p { color: var(--body); }

/* CTA box */
.cta-box { margin: 46px 0 10px; padding: 28px 24px; border-radius: 18px; background: linear-gradient(135deg, #10263a, #0a1724); border: 1px solid rgba(239,127,63,.35); }
.cta-box h2 { margin: 0 0 8px !important; }
.cta-box p { color: var(--body); margin-bottom: 18px; }
.cta-box .cta { display: inline-block; font-size: 15px; padding: 12px 20px; }

/* Related links / listing */
.related { margin-top: 44px; }
.related h2 { font-size: 20px; margin: 0 0 14px !important; }
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.links a { display: block; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: border-color .2s, transform .2s; }
.links a:hover { border-color: rgba(239,127,63,.5); transform: translateY(-2px); }
.links a strong { display: block; font-size: 15.5px; margin-bottom: 4px; line-height: 1.35; }
.links a span { color: var(--muted); font-size: 13.5px; line-height: 1.5; display: block; }

/* Footer */
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; margin-top: 30px; }
.foot { max-width: 1080px; margin: 0 auto; padding: 28px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot h4 { color: var(--text); font-size: 13px; margin-bottom: 10px; font-weight: 600; }
.foot a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--text); }
.foot p { max-width: 280px; }
.copy { max-width: 1080px; margin: 0 auto; padding: 0 20px 26px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 12px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.table-wrap th, .table-wrap td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line, rgba(255,255,255,.12)); vertical-align: top; }
.table-wrap th { font-weight: 600; color: var(--text); }
.table-wrap tr:last-child td { border-bottom: 0; }
@media (min-width: 761px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
