/* =========================================================
   Sama Academic – main stylesheet (RTL first)
   ========================================================= */
:root{
  --ink:#0B2A5B;
  --ink-deep:#071B3D;
  --gold:#D9A35B;
  --gold-deep:#8F5F22;
  --gold-tint:#F7EBDA;
  --paper:#FFFFFF;
  --mist:#F1F4F9;
  --line:#DCE3EE;
  --text:#1D2B44;
  --muted:#56657E;
  --wa:#11804A;
  --wa-deep:#0C6A3C;
  --radius-s:6px;
  --radius-m:12px;
  --wrap:1180px;
  --f-body:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
  --f-head:"Readex Pro","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:90px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;background:var(--paper);color:var(--text);font-family:var(--f-body);font-size:17px;line-height:1.85;text-rendering:optimizeLegibility}
img,svg,video{max-width:100%;height:auto}
a{color:var(--ink);text-underline-offset:3px}
a:hover{color:var(--gold-deep)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:4px}
h1,h2,h3,h4{font-family:var(--f-head);color:var(--ink);line-height:1.35;margin:0 0 .6em;font-weight:600}
p{margin:0 0 1em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.sws-skip{position:absolute;inset-inline-start:12px;top:-60px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:var(--radius-s);z-index:999}
.sws-skip:focus{top:12px;color:#fff}
.sws-wrap{width:min(var(--wrap),100% - 32px);margin-inline:auto}
.sws-narrow{max-width:780px}
.sws-ico{flex:none;vertical-align:middle}

/* ---------- Buttons ---------- */
.sws-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:.7em 1.25em;border-radius:var(--radius-s);font-family:var(--f-head);font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.sws-btn--lg{padding:.9em 1.5em;font-size:1.06rem}
.sws-btn--block{display:flex;width:100%}
.sws-btn--wa{background:var(--wa);color:#fff}
.sws-btn--wa:hover{background:var(--wa-deep);color:#fff}
.sws-btn--gold{background:var(--gold);color:var(--ink-deep)}
.sws-btn--gold:hover{background:#E8B873;color:var(--ink-deep)}
.sws-btn--ghost{border-color:var(--ink);color:var(--ink);background:transparent}
.sws-btn--ghost:hover{background:var(--ink);color:#fff}
.sws-link{font-family:var(--f-head);font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px}

/* ---------- Header ---------- */
.sws-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.admin-bar .sws-header{top:32px}
@media (max-width:782px){.admin-bar .sws-header{top:0}}
.sws-header__in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:74px}
.sws-brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex:none}
.sws-brand__img{max-height:52px;width:auto}
.sws-brand__text{display:flex;flex-direction:column;line-height:1.1}
.sws-brand__ar{font-family:var(--f-head);font-weight:700;font-size:1.45rem;color:var(--ink)}
.sws-brand__ar em{font-style:normal;color:var(--gold)}
.sws-brand__en{font-size:.66rem;letter-spacing:.06em;color:var(--muted);margin-top:3px}
.sws-nav{display:flex;align-items:center;gap:20px}
.sws-menu{list-style:none;margin:0;padding:0;display:flex;gap:4px}
.sws-menu>li{position:relative}
.sws-menu a{display:block;padding:8px 12px;border-radius:var(--radius-s);text-decoration:none;color:var(--text);font-weight:500;font-size:.98rem}
.sws-menu a:hover{background:var(--mist);color:var(--ink)}
.sws-menu .current-menu-item>a,.sws-menu .current_page_item>a,.sws-menu .current-menu-ancestor>a{color:var(--ink);box-shadow:inset 0 -2px 0 var(--gold);border-radius:0}
.sws-menu .sub-menu{list-style:none;margin:0;padding:8px;position:absolute;inset-inline-start:0;top:100%;min-width:290px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);box-shadow:0 18px 40px -18px rgba(11,42,91,.35);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .15s,transform .15s,visibility .15s}
.sws-menu li:hover>.sub-menu,.sws-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.sws-menu .sub-menu a{padding:9px 12px;font-size:.95rem}
.sws-menu .menu-item-has-children>a::after{content:"";display:inline-block;width:6px;height:6px;margin-inline-start:8px;border-inline-end:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-3px) rotate(45deg) scaleX(-1)}
.sws-burger{display:none;background:none;border:0;color:var(--ink);padding:6px;cursor:pointer}
.sws-burger__close{display:none}
.sws-burger[aria-expanded="true"] .sws-burger__open{display:none}
.sws-burger[aria-expanded="true"] .sws-burger__close{display:inline}

@media (max-width:1020px){
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .sws-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}
  .sws-header__in{min-height:64px}
  .sws-burger{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:1.5px solid var(--line);border-radius:var(--radius-s);background:#fff;color:var(--ink)}
  .sws-burger[aria-expanded="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
  .sws-nav{display:none;position:fixed;left:0;right:0;bottom:0;top:var(--sws-nav-top,64px);z-index:49;background:#fff;flex-direction:column;align-items:stretch;gap:16px;padding:8px 16px 32px;overflow-y:auto;border-top:1px solid var(--line)}
  .sws-nav.is-open{display:flex}
  .sws-brand__ar{font-size:1.3rem}
  .sws-menu{flex-direction:column;gap:0}
  .sws-menu a{padding:13px 6px;border-bottom:1px solid var(--line);border-radius:0;font-size:1.05rem}
  .sws-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 14px 0 0;min-width:0}
  .sws-menu .menu-item-has-children>a::after{display:none}
  .sws-nav__cta{padding:.9em}
  body.sws-lock{overflow:hidden}
}

/* ---------- Hero ---------- */
.sws-hero{padding:64px 0 72px;background:linear-gradient(180deg,var(--mist) 0%,#fff 100%);border-bottom:1px solid var(--line)}
.sws-hero__in{display:grid;grid-template-columns:1.25fr .85fr;gap:56px;align-items:center}
.sws-hero__copy{border-inline-start:3px solid var(--gold);padding-inline-start:28px}
.sws-hero__kicker{color:var(--gold-deep);font-family:var(--f-head);font-weight:600;font-size:1rem;margin-bottom:.75em}
.sws-hero__title{font-size:clamp(1.85rem,1.2rem + 2.4vw,3rem);font-weight:700;line-height:1.3;letter-spacing:-.005em;margin-bottom:.5em;max-width:17em}
.sws-hero__lead{font-size:1.1rem;color:var(--text);max-width:40em;margin-bottom:1.6em}
.sws-hero__lead a{color:var(--ink);font-weight:600;text-decoration-color:var(--gold);text-decoration-thickness:2px}
.sws-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.sws-hero__trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px;color:var(--muted);font-size:.95rem}
.sws-hero__trust li{display:flex;align-items:center;gap:6px}
.sws-hero__trust .sws-ico{color:var(--wa)}

/* the order slip: the signature element */
.sws-slip{margin:0;position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);padding:22px 26px 20px 22px;box-shadow:0 30px 60px -30px rgba(11,42,91,.45);transform:rotate(-1.6deg);
  background-image:repeating-linear-gradient(180deg,transparent 0,transparent 43px,#E6ECF5 43px,#E6ECF5 44px);background-position:0 58px}
.sws-slip::before{content:"";position:absolute;top:0;bottom:0;inset-inline-start:118px;width:2px;background:rgba(217,163,91,.65)}
.sws-slip__head{display:flex;align-items:center;gap:8px;font-family:var(--f-head);font-weight:600;color:var(--ink);font-size:1.02rem;height:36px;margin-bottom:8px}
.sws-slip__dot{width:10px;height:10px;border-radius:50%;background:var(--wa);box-shadow:0 0 0 4px rgba(17,128,74,.15)}
.sws-slip__rows{margin:0}
.sws-slip__rows>div{display:grid;grid-template-columns:118px 1fr;align-items:center;height:44px}
.sws-slip__rows dt{color:var(--muted);font-size:.88rem;padding-inline-end:12px}
.sws-slip__rows dd{margin:0;padding-inline-start:16px;font-family:var(--f-head);font-weight:500;color:var(--ink-deep);font-size:1.02rem}
.sws-slip__cap{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line);font-size:.92rem;color:var(--muted);line-height:1.7}

@media (max-width:900px){
  .sws-hero{padding:40px 0 48px}
  .sws-hero__in{grid-template-columns:1fr;gap:40px}
  .sws-hero__copy{padding-inline-start:18px}
  .sws-slip{transform:none;max-width:460px}
}
@media (max-width:520px){
  .sws-hero__actions .sws-btn{width:100%}
}

/* ---------- Sections ---------- */
.sws-sec{padding:80px 0}
.sws-sec--tight{padding:40px 0 72px}
.sws-sec--mist{background:var(--mist)}
.sws-sec--ink{background:var(--ink-deep);color:#D8E1F0}
.sws-sec--ink .sws-sec__title,.sws-sec--ink h3{color:#fff}
.sws-sec__head{max-width:720px;margin-bottom:40px}
.sws-sec__head--row{max-width:none;display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sws-sec__title{font-size:clamp(1.5rem,1.1rem + 1.4vw,2.15rem);font-weight:700;margin-bottom:.4em}
.sws-sec__lead{color:var(--muted);font-size:1.05rem;margin:0}
.sws-sec__more{margin:32px 0 0}
@media (max-width:700px){.sws-sec{padding:56px 0}}

/* services index: a catalogue, not a card grid */
.sws-svc{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:56px;border-top:1px solid var(--line)}
.sws-svc__item{display:grid;grid-template-columns:52px 1fr;gap:18px;padding:26px 0;border-bottom:1px solid var(--line)}
.sws-svc__ico{width:52px;height:52px;display:grid;place-items:center;border-radius:var(--radius-m);background:var(--gold-tint);color:var(--gold-deep)}
.sws-svc__title{font-size:1.2rem;margin:4px 0 .35em}
.sws-svc__title a{text-decoration:none;color:var(--ink)}
.sws-svc__title a:hover{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px}
.sws-svc__desc{margin:0;color:var(--muted);font-size:.98rem;line-height:1.75}
@media (max-width:760px){.sws-svc{grid-template-columns:1fr}}

/* steps (a real sequence) */
.sws-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;counter-reset:step}
.sws-steps li{counter-increment:step;position:relative;padding-top:64px}
.sws-steps li::before{content:counter(step,arabic-indic);position:absolute;top:0;inset-inline-start:0;font-family:var(--f-head);font-weight:700;font-size:2.6rem;line-height:1;color:var(--gold)}
.sws-steps li::after{content:"";position:absolute;top:22px;inset-inline-start:52px;inset-inline-end:-20px;height:1px;background:rgba(217,163,91,.4)}
.sws-steps li:last-child::after{display:none}
.sws-steps h3{font-size:1.2rem}
.sws-steps p{margin:0;color:#C3CFE3}
@media (max-width:820px){.sws-steps{grid-template-columns:1fr;gap:32px}.sws-steps li::after{display:none}}

/* why */
.sws-why{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start}
.sws-why__intro p{color:var(--muted)}
.sws-why__subj-title{font-family:var(--f-head);font-weight:600;color:var(--ink)!important;margin:1.6em 0 .7em}
.sws-why__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:28px 32px}
.sws-why__list li{display:flex;gap:14px}
.sws-why__list .sws-ico{color:var(--gold-deep);margin-top:4px}
.sws-why__list h3{font-size:1.06rem;margin-bottom:.25em}
.sws-why__list p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.7}
@media (max-width:900px){.sws-why{grid-template-columns:1fr;gap:40px}}
@media (max-width:560px){.sws-why__list{grid-template-columns:1fr}}

.sws-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.sws-chips li,.sws-chips a{display:inline-block;padding:5px 14px;border:1px solid var(--line);border-radius:999px;font-size:.92rem;color:var(--text);text-decoration:none;background:#fff}
.sws-chips li:has(a){padding:0;border:0;background:none}
.sws-chips a:hover,.sws-chips a[aria-current]{border-color:var(--ink);background:var(--ink);color:#fff}
.sws-chips--tags{margin-top:28px}

/* CTA band */
.sws-band{background:var(--ink);color:#fff;padding:48px 0;position:relative;overflow:hidden}
.sws-band::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:6px;background:var(--gold)}
.sws-band__in{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.sws-band__title{color:#fff;font-size:clamp(1.3rem,1rem + 1vw,1.75rem);margin-bottom:.3em}
.sws-band__text{margin:0;color:#C9D5EA}

/* FAQ */
.sws-faq-wrap{max-width:860px}
.sws-faq{border-top:1px solid var(--line)}
.sws-faq__item{border-bottom:1px solid var(--line)}
.sws-faq__item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0}
.sws-faq__item summary::-webkit-details-marker{display:none}
.sws-faq__item summary h3{margin:0;font-size:1.1rem;font-weight:600}
.sws-faq__ic{flex:none;width:28px;height:28px;border-radius:50%;border:1.5px solid var(--line);position:relative}
.sws-faq__ic::before,.sws-faq__ic::after{content:"";position:absolute;top:50%;left:50%;width:11px;height:1.7px;background:var(--ink);transform:translate(-50%,-50%)}
.sws-faq__ic::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .15s}
.sws-faq__item[open] .sws-faq__ic::after{transform:translate(-50%,-50%) rotate(0)}
.sws-faq__item[open] .sws-faq__ic{border-color:var(--gold);background:var(--gold-tint)}
.sws-faq__item p{margin:0 0 22px;color:var(--muted);max-width:68ch}

/* Posts */
.sws-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
@media (max-width:980px){.sws-posts{grid-template-columns:1fr 1fr}}
@media (max-width:620px){.sws-posts{grid-template-columns:1fr}}
.sws-post{background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);overflow:hidden;display:flex;flex-direction:column}
.sws-post__img{display:block;aspect-ratio:16/9;background:var(--mist)}
.sws-post__img img{width:100%;height:100%;object-fit:cover;display:block}
.sws-post__body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.sws-post__cat{align-self:flex-start;font-size:.85rem;font-weight:500;color:var(--gold-deep);text-decoration:none;margin-bottom:6px}
.sws-post__cat:hover{text-decoration:underline}
.sws-post__title{font-size:1.12rem;line-height:1.55;margin-bottom:.45em}
.sws-post__title a{text-decoration:none;color:var(--ink)}
.sws-post__title a:hover{text-decoration:underline;text-decoration-color:var(--gold)}
.sws-post__ex{color:var(--muted);font-size:.95rem;line-height:1.75;flex:1}
.sws-post__meta{margin:0;font-size:.85rem;color:var(--muted)}

.nav-links{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:44px}
.nav-links .page-numbers{min-width:42px;height:42px;padding:0 12px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:var(--radius-s);text-decoration:none;color:var(--ink);background:#fff}
.nav-links .page-numbers.current{background:var(--ink);color:#fff;border-color:var(--ink)}
.nav-links a.page-numbers:hover{border-color:var(--ink)}

.sws-catnav{margin-top:-8px;padding-top:28px}

/* ---------- Page header / breadcrumbs ---------- */
.sws-pagehead{background:var(--mist);border-bottom:1px solid var(--line);padding:36px 0 40px}
.sws-pagehead__title{font-size:clamp(1.6rem,1.15rem + 1.7vw,2.5rem);font-weight:700;max-width:24em;margin-bottom:.35em}
.sws-pagehead__meta{display:flex;flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:.92rem;margin:0}
.sws-pagehead__desc{color:var(--muted);max-width:60ch}
.sws-pagehead__desc p:last-child{margin:0}
.sws-crumbs{font-size:.88rem;color:var(--muted);margin-bottom:14px}
.sws-crumbs a{color:var(--muted);text-decoration:none}
.sws-crumbs a:hover{color:var(--ink);text-decoration:underline}
.sws-crumbs .separator{margin:0 6px;opacity:.6}
.sws-crumbs-bar{padding-top:16px}
.sws-crumbs-bar .sws-crumbs{margin:0}

/* ---------- Article ---------- */
.sws-article{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;padding:44px 0 64px;align-items:start}
.sws-article__main{min-width:0}
.sws-article__img{margin:0 0 28px;border-radius:var(--radius-m);overflow:hidden}
.sws-article__img img{display:block;width:100%}
.sws-side{position:sticky;top:100px}
.admin-bar .sws-side{top:132px}
.sws-side__box{border:1px solid var(--line);border-radius:var(--radius-m);padding:20px;background:#fff}
.sws-side__t{font-family:var(--f-head);font-weight:600;color:var(--ink);margin-bottom:10px}
.sws-side__list{list-style:none;margin:0 0 16px;padding:0}
.sws-side__list a{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text);font-size:.95rem;line-height:1.5}
.sws-side__list a:hover{color:var(--ink)}
.sws-side__list .sws-ico{color:var(--gold-deep)}
@media (max-width:980px){.sws-article{grid-template-columns:1fr;gap:40px}.sws-side{position:static}}

.sws-toc{border:1px solid var(--line);border-inline-start:3px solid var(--gold);border-radius:var(--radius-s);background:var(--mist);padding:6px 18px;margin-bottom:32px}
.sws-toc summary{cursor:pointer;font-family:var(--f-head);font-weight:600;color:var(--ink);padding:8px 0}
.sws-toc__list{margin:4px 0 12px;padding-inline-start:20px;font-size:.96rem;line-height:1.7}
.sws-toc__list li{margin:4px 0}
.sws-toc__list a{text-decoration:none;color:var(--text)}
.sws-toc__list a:hover{color:var(--ink);text-decoration:underline}
.sws-toc__list .is-h3{margin-inline-start:16px;list-style:circle;font-size:.92rem}

.sws-inline-cta{margin-top:40px;padding:26px 28px;border-radius:var(--radius-m);background:var(--gold-tint);border:1px solid #EAD3B0}
.sws-inline-cta__t{font-family:var(--f-head);font-weight:600;font-size:1.15rem;color:var(--ink);margin-bottom:.3em}

/* ---------- Prose ---------- */
.sws-prose{font-size:1.07rem;line-height:2}
.sws-prose>*:first-child{margin-top:0}
.sws-prose h2{font-size:1.55rem;margin:1.8em 0 .6em;padding-top:.2em}
.sws-prose h3{font-size:1.25rem;margin:1.5em 0 .5em}
.sws-prose h4{font-size:1.08rem;margin:1.3em 0 .4em}
.sws-prose p,.sws-prose ul,.sws-prose ol{margin:0 0 1.15em}
.sws-prose ul,.sws-prose ol{padding-inline-start:1.4em}
.sws-prose li{margin:.3em 0}
.sws-prose li::marker{color:var(--gold-deep)}
.sws-prose strong{color:var(--ink-deep)}
.sws-prose a{color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:1.5px}
.sws-prose blockquote{margin:1.5em 0;padding:16px 22px;border-inline-start:3px solid var(--gold);background:var(--mist);border-radius:var(--radius-s)}
.sws-prose img{border-radius:var(--radius-s)}
.sws-prose figure{margin:1.5em 0}
.sws-prose figcaption{font-size:.88rem;color:var(--muted);text-align:center}
.sws-table-wrap{overflow-x:auto;margin:1.4em 0;border:1px solid var(--line);border-radius:var(--radius-s)}
.sws-prose table{width:100%;border-collapse:collapse;font-size:.96rem;line-height:1.7}
.sws-prose th,.sws-prose td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}
.sws-prose th{background:var(--mist);font-family:var(--f-head);font-weight:600;color:var(--ink)}
.sws-prose tr:last-child td{border-bottom:0}
.sws-prose hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.sws-prose code{background:var(--mist);padding:.1em .35em;border-radius:4px;font-size:.92em}

/* ---------- Search / empty / 404 ---------- */
.sws-search{display:flex;max-width:520px;border:1.5px solid var(--line);border-radius:var(--radius-s);overflow:hidden;background:#fff}
.sws-search input{flex:1;border:0;padding:12px 14px;font:inherit;font-size:1rem;min-width:0}
.sws-search input:focus{outline:none}
.sws-search:focus-within{border-color:var(--ink)}
.sws-search button{border:0;background:var(--ink);color:#fff;padding:0 16px;cursor:pointer}
.sws-empty{text-align:center;padding:40px 0}
.sws-empty .sws-search{margin:20px auto 0}
.sws-404{text-align:center}
.sws-404__code{font-family:var(--f-head);font-weight:700;font-size:5rem;line-height:1;color:var(--gold);margin-bottom:.2em}
.sws-404 .sws-search{margin:24px auto 32px}
.sws-404__list{text-align:start;max-width:460px;margin-inline:auto}

/* ---------- Footer ---------- */
.sws-footer{background:var(--ink-deep);color:#B9C6DC;font-size:.95rem;padding:64px 0 0}
.sws-footer a{color:#DCE5F3;text-decoration:none}
.sws-footer a:hover{color:var(--gold)}
.sws-footer__grid{display:grid;grid-template-columns:1.4fr 1.1fr .8fr 1fr;gap:40px}
.sws-footer__name{font-family:var(--f-head);font-weight:700;font-size:1.35rem;color:#fff;margin-bottom:.5em}
.sws-footer__about p{line-height:1.9;margin-bottom:1.4em}
.sws-footer__about .sws-btn{color:#fff}
.sws-footer__h{font-family:var(--f-head);font-weight:600;color:#fff;margin-bottom:.9em}
.sws-footer ul{list-style:none;margin:0;padding:0}
.sws-footer li{margin:0 0 .55em}
.sws-footer__contact li{display:flex;gap:8px;align-items:flex-start}
.sws-footer__contact .sws-ico{color:var(--gold);margin-top:4px}
.sws-footer__bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:48px;padding:20px 0 24px;font-size:.88rem}
.sws-footer__bottom p{margin:0}
@media (max-width:980px){.sws-footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.sws-footer__grid{grid-template-columns:1fr;gap:32px}}

/* floating WhatsApp (the old snippet button is replaced by the theme's) */
.sws-whatsapp-float{display:none!important}
.sws-float{position:fixed;bottom:20px;inset-inline-end:20px;z-index:60;display:flex;align-items:center;gap:8px;background:var(--wa);color:#fff;padding:12px 18px 12px 14px;border-radius:999px;text-decoration:none;font-family:var(--f-head);font-weight:600;box-shadow:0 12px 28px -10px rgba(12,106,60,.65)}
.sws-float:hover{background:var(--wa-deep);color:#fff}
@media (max-width:600px){.sws-float{padding:14px}.sws-float__label{display:none}}

/* =========================================================
   Harmonise pages that ship their own designed HTML
   (they declare their palette as CSS variables on a .sws-*-page root)
   ========================================================= */
.sws-designed [class^="sws-"],.sws-designed [class*=" sws-"]{
  --sws-primary:#0B2A5B;--sws-primary-dark:#071B3D;
  --sws-orange:#0B2A5B;--sws-orange-dark:#071B3D;--sws-orange-soft:#F7EBDA;
  --sws-soft:#F7EBDA;--sws-soft-2:#F1F4F9;--sws-border:#EAD3B0;
  --sws-navy:#0B2A5B;--sws-ink:#1D2B44;--sws-text:#3A4A63;
  --sws-bg:#F1F4F9;--sws-line:#DCE3EE;
  --p:#0B2A5B;--pd:#071B3D;--ink:#1D2B44;--soft:#F7EBDA;--soft2:#F1F4F9;--border:#EAD3B0;
  font-family:var(--f-body);
}
.sws-designed h1,.sws-designed h2,.sws-designed h3{font-family:var(--f-head)}
.sws-designed{overflow-x:clip}

/* =========================================================
   Full-width template components (FAQ, projects…)
   ========================================================= */
.sws-pagehead--lead{padding:40px 0 44px}
.sws-pagehead__lead{font-size:1.1rem;color:var(--text);max-width:62ch;margin:0 0 1.2em}
.sws-pagehead__actions{display:flex;flex-wrap:wrap;gap:12px}
.sws-full .sws-sec:first-child{padding-top:56px}
.sws-full .sws-sec+.sws-sec:not(.sws-sec--mist):not(.sws-sec--ink){padding-top:24px}
.sws-full p{max-width:72ch}
.sws-anchors{position:sticky;top:74px;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar .sws-anchors{top:106px}
.sws-anchors .sws-chips{flex-wrap:nowrap;overflow-x:auto;padding:12px 0;scrollbar-width:thin}
.sws-anchors .sws-chips a{white-space:nowrap}
.sws-full .sws-faq-group{max-width:860px;scroll-margin-top:150px}
.sws-full .sws-faq-group+.sws-faq-group{margin-top:56px}
.sws-full .sws-faq-group>h2{font-size:clamp(1.3rem,1rem + 1vw,1.7rem);margin-bottom:.8em}
.sws-faq__item ul,.sws-faq__item ol{margin:-8px 0 22px;padding-inline-start:1.3em;color:var(--muted)}
.sws-faq__item li{margin:.25em 0}
.sws-faq__item p+p{margin-top:-10px}
.sws-faq__item a{color:var(--ink);font-weight:500}

/* projects */
.sws-proj{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
@media (max-width:860px){.sws-proj{grid-template-columns:1fr}}
.sws-proj__card{border:1px solid var(--line);border-radius:var(--radius-m);background:#fff;padding:28px 28px 24px;display:flex;flex-direction:column;scroll-margin-top:150px}
.sws-proj__card h3{font-size:1.25rem;margin-bottom:.35em}
.sws-proj__card>p{color:var(--muted);font-size:.98rem;line-height:1.8}
.sws-proj__ideas{list-style:none;margin:6px 0 18px;padding:0;border-top:1px solid var(--line)}
.sws-proj__ideas li{padding:11px 0;border-bottom:1px solid var(--line);font-size:.98rem;line-height:1.7;display:flex;gap:10px}
.sws-proj__ideas li::before{content:"";flex:none;width:7px;height:7px;margin-top:.7em;border-radius:50%;background:var(--gold)}
.sws-proj__foot{margin-top:auto;display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;font-size:.95rem}
.sws-proj__foot a{font-family:var(--f-head);font-weight:600}
.sws-deliver{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 36px;list-style:none;margin:0;padding:0}
@media (max-width:860px){.sws-deliver{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.sws-deliver{grid-template-columns:1fr}}
.sws-deliver li{border-inline-start:3px solid var(--gold);padding-inline-start:16px}
.sws-deliver h3{font-size:1.06rem;margin-bottom:.3em}
.sws-deliver p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.75}
.sws-sec--ink .sws-deliver p{color:#C3CFE3}
.sws-note{border:1px solid #EAD3B0;background:var(--gold-tint);border-radius:var(--radius-m);padding:20px 24px;max-width:860px}
.sws-note p{margin:0;color:var(--text)}
.sws-steps--light{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px}
.sws-steps--light p{color:var(--muted)}
.sws-steps--light li::after{inset-inline-end:-16px}
@media (max-width:820px){.sws-steps--light li::after{display:none}}
body.sws-lock .sws-float{display:none}
