/* =====================================================================
   Dawayr Business Solutions — Design System
   ===================================================================== */

:root {
  /* Brand — Dawayr (see dawayr-brand/colors) */
  --ink: #0C2C31;        /* deep-900: dark sections, hero, footer */
  --ink-2: #0F363C;
  --ink-3: #1B5259;      /* deep-line */
  --brand: #0E5E66;      /* teal-700: primary, buttons, links */
  --brand-600: #0A4A51;
  --brand-400: #3FA3A6;  /* teal-500 */
  --brand-300: #8FD3CF;  /* teal-300: accent on dark */
  --brand-50: #E6F1F0;   /* tint-100 */

  /* Neutrals */
  --text: #13262B;       /* ink-900 */
  --text-2: #5D6B6E;     /* gray-600 */
  --text-3: #7A8789;
  --line: #DCE3E3;       /* gray-300 */
  --line-2: #E6ECEC;     /* gray-200 */
  --bg: #FFFFFF;
  --bg-soft: #F3F7F6;    /* mist-50 */

  /* Status */
  --success: #16A34A;
  --success-bg: #E8F7EE;
  --warning: #C27A0A;
  --warning-bg: #FDF3E1;

  /* Shape & depth */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 44, 49, .06);
  --shadow: 0 1px 2px rgba(12, 44, 49, .04), 0 10px 30px -12px rgba(12, 44, 49, .14);
  --shadow-lg: 0 30px 70px -24px rgba(12, 44, 49, .32);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  /* Type — Outfit (Latin) and IBM Plex Sans Arabic */
  --font-ar: "IBM Plex Sans Arabic", "Outfit", system-ui, -apple-system, sans-serif;
  --font-en: "Outfit", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }

body {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: var(--font-ar); }

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5 { letter-spacing: 0; line-height: 1.4; }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

/* ===== Language visibility ===== */
html[dir="rtl"] [data-lang="en"] { display: none !important; }
html[dir="ltr"] [data-lang="ar"] { display: none !important; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 18px; } }

.section { padding-block: 104px; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--tight { padding-block: 72px; }
@media (max-width: 768px) { .section { padding-block: 72px; } .section--tight { padding-block: 56px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* ===== Section heading ===== */
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head--center .eyebrow::before { display: none; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--brand-300); }

.h2 { font-size: clamp(28px, 3.3vw, 42px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: 18px; line-height: 1.7; color: var(--text-2); margin-top: 18px; }
.section--dark .lead, .on-dark .lead { color: rgba(255, 255, 255, .7); }
.muted { color: var(--text-3); }

/* ===== Icons ===== */
.i { width: 20px; height: 20px; flex-shrink: 0; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

.flag {
  width: 22px; height: 15px; border-radius: 3px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(12, 44, 49, .1);
}
.flag--lg { width: 30px; height: 20px; border-radius: 4px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--brand); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 20px -8px rgba(14, 94, 102, .7);
}
.btn--primary:hover { background: var(--brand-600); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #EDF2F8; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); }
.btn--outline { background: #fff; color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: #C5D2D2; background: var(--bg-soft); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .i { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .i.flip { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .i.flip { transform: scaleX(-1) translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand); }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover .i.flip { transform: translateX(3px); }
html[dir="rtl"] .link-arrow:hover .i.flip { transform: scaleX(-1) translateX(3px); }

/* ===== Header ===== */
.hdr {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  height: var(--header-h); color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hdr.is-scrolled {
  background: rgba(255, 255, 255, .92); color: var(--text);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
}
.hdr__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; opacity: .82;
  transition: opacity .2s ease, background-color .2s ease;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { opacity: 1; background: rgba(255, 255, 255, .08); }
.hdr.is-scrolled .nav__link:hover, .hdr.is-scrolled .nav__item:focus-within > .nav__link { background: var(--bg-soft); }
.nav__link.is-active { opacity: 1; font-weight: 600; }
.nav__link .chev { width: 14px; height: 14px; opacity: .7; transition: transform .2s ease; }
.nav__item:hover .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); inset-inline-start: -16px;
  width: 600px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__link { display: flex; gap: 14px; padding: 12px; border-radius: 10px; transition: background-color .15s ease; }
.mega__link:hover { background: var(--bg-soft); }
.mega__icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand);
}
.mega__title { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.mega__desc { display: block; font-size: 13px; color: var(--text-3); line-height: 1.45; margin-top: 2px; }
.mega__foot {
  grid-column: 1 / -1; margin-top: 6px; padding: 14px 12px 6px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--text-3);
}

.hdr__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 12px; border-radius: 9px;
  background: transparent; color: inherit; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .2s ease, border-color .2s ease;
}
.lang-btn:hover { background: rgba(255, 255, 255, .08); }
.hdr.is-scrolled .lang-btn { border-color: var(--line); }
.hdr.is-scrolled .lang-btn:hover { background: var(--bg-soft); }
.lang-btn .i { width: 16px; height: 16px; opacity: .8; }

.burger {
  display: none; width: 40px; height: 40px; border-radius: 9px; place-items: center;
  background: transparent; color: inherit; border: 1px solid rgba(255, 255, 255, .22);
}
.hdr.is-scrolled .burger { border-color: var(--line); }

@media (max-width: 1080px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: inline-grid; }
  .hdr__actions { margin-inline-start: auto; }
}
@media (max-width: 420px) { .hdr .logo__word small { display: none; } .hdr .logo__symbol { width: 34px; height: 34px; } .hdr .logo__word { font-size: 19px; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column;
  padding: 0 24px 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.drawer__close { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.drawer__nav { display: flex; flex-direction: column; margin-top: 12px; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 19px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer__sub a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.drawer__sub a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.drawer__sub .i { width: 18px; height: 18px; color: var(--brand-300); }
.drawer__cta { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
body.no-scroll { overflow: hidden; }

/* ===== Dark hero backgrounds ===== */
.hero, .phero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
}
.hero::before, .phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero::after, .phero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(640px 420px at 85% 0%, rgba(63, 163, 166, .38), transparent 70%),
    radial-gradient(520px 360px at 0% 100%, rgba(14, 94, 102, .3), transparent 70%);
}

/* ===== Home hero ===== */
.hero { padding: calc(var(--header-h) + 80px) 0 112px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
@media (max-width: 1024px) { .hero__grid { grid-template-columns: 1fr; gap: 56px; } }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .85);
}
html[dir="rtl"] .badge { padding: 6px 8px 6px 14px; }
.badge__tag { padding: 3px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; }

.hero__title { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.06; margin: 24px 0 22px; letter-spacing: -0.035em; }
html[dir="rtl"] .hero__title { line-height: 1.3; letter-spacing: 0; }
.hl { background: linear-gradient(90deg, #8FD3CF, #3FA3A6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .72); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.proof__num { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-family: var(--font-en); }
.proof__label { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }

/* Hero panel */
.hero__visual { position: relative; }
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .13); border-radius: 20px; padding: 22px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel__title { font-weight: 600; font-size: 15px; }
.panel__sub { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #86EFAC; padding: 5px 10px; border-radius: 999px; background: rgba(34, 197, 94, .12); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }

.track { display: grid; gap: 10px; }
.track__row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07);
}
.track__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.track__ico .i { color: var(--brand-300); }
.track__name { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.track__meta { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 10px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3FA3A6, #8FD3CF); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip--ok { background: rgba(34, 197, 94, .14); color: #86EFAC; }
.chip--wait { background: rgba(245, 158, 11, .14); color: #FCD34D; }
.chip--idle { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }

.panel__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mini { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.mini__k { font-size: 12px; color: rgba(255, 255, 255, .55); }
.mini__v { font-size: 20px; font-weight: 700; margin-top: 4px; font-family: var(--font-en); }

.float-card {
  position: absolute; bottom: -28px; inset-inline-start: -32px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px; border-radius: 14px;
  background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
}
.float-card__ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--success-bg); color: var(--success); }
.float-card strong { display: block; font-size: 14px; }
.float-card span { font-size: 12.5px; color: var(--text-3); }
@media (max-width: 1180px) { .float-card { inset-inline-start: 16px; } }
@media (max-width: 560px) { .float-card { display: none; } .panel { padding: 16px; } .track__row { padding: 12px; gap: 12px; } }

/* ===== Partner strip ===== */
.partners { padding: 44px 0; border-bottom: 1px solid var(--line); }
.partners__label { text-align: center; font-size: 13.5px; color: var(--text-3); margin-bottom: 26px; }
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 56px; }
.wordmark { font-family: var(--font-en); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: #9AA4B8; transition: color .2s ease; }
.wordmark:hover { color: var(--text-2); }

/* ===== Cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}
a.card:hover { border-color: #C8D5D5; box-shadow: var(--shadow); transform: translateY(-3px); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.icon-box {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.icon-box .i { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.card__meta {
  display: flex; gap: 20px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-2);
  font-size: 13px; color: var(--text-3);
}
.card__meta strong { display: block; font-size: 14.5px; color: var(--text); font-weight: 600; margin-top: 2px; }
.card__body { margin-bottom: 22px; }
.card .link-arrow { margin-top: 18px; }

/* ===== Checklist ===== */
.checks { display: grid; gap: 12px; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--text-2); line-height: 1.55; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6390' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .checks li, .on-dark .checks li { color: rgba(255, 255, 255, .82); }
.section--dark .checks li::before, .on-dark .checks li::before {
  background-color: rgba(143, 211, 207, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237CC0E2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ===== Portal mock ===== */
.mock {
  border-radius: 18px; overflow: hidden;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8);
}
.mock__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.mock__url { flex: 1; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .45); font-family: var(--font-en); }
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mock__side { padding: 16px 12px; border-inline-end: 1px solid rgba(255, 255, 255, .07); display: grid; align-content: start; gap: 4px; }
.mock__nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.mock__nav.is-on { background: rgba(255, 255, 255, .07); color: #fff; }
.mock__nav .i { width: 16px; height: 16px; }
.mock__main { padding: 20px; display: grid; align-content: start; gap: 12px; }
.mock__hello { font-size: 15px; font-weight: 600; }
.mock__hello span { display: block; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, .5); margin-top: 2px; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.mock__stat { padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.mock__stat b { display: block; font-size: 20px; font-family: var(--font-en); }
.mock__stat small { font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; }
.mock__row div { display: flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .mock__body { grid-template-columns: 1fr; } .mock__side { display: none; } }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 24px; inset-inline: 24px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step { position: relative; }
.step__num {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand);
  font: 700 16px/1 var(--font-en); box-shadow: 0 0 0 6px var(--bg-soft);
}
.section:not(.section--soft) .step__num { box-shadow: 0 0 0 6px #fff; }
.step h3 { font-size: 17px; margin: 22px 0 8px; }
.step p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 24px; inset-inline: 23px auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }
  .step { display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; padding-bottom: 28px; }
  .step:last-child { padding-bottom: 0; }
  .step h3 { margin: 10px 0 6px; }
  .step p { grid-column: 2; }
  .step__num { grid-row: span 2; }
}

/* ===== Consultation block ===== */
.consult {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (max-width: 1024px) { .consult { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; } }
.consult__list { display: grid; gap: 12px; }
.consult__item { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line-2); }
.consult__item .icon-box { width: 42px; height: 42px; background: #fff; box-shadow: var(--shadow-sm); }
.consult__item strong { display: block; font-size: 15px; }
.consult__item span { font-size: 13.5px; color: var(--text-3); }

/* ===== Statement ===== */
.statement { max-width: 880px; margin-inline: auto; text-align: center; }
.statement__text { font-size: clamp(24px, 2.8vw, 36px); font-weight: 600; line-height: 1.45; letter-spacing: -0.02em; color: var(--text); }
html[dir="rtl"] .statement__text { letter-spacing: 0; line-height: 1.7; }
.statement__text em { font-style: normal; color: var(--brand); }

/* ===== Stats band ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 32px; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__num { font: 700 clamp(36px, 4vw, 52px)/1 var(--font-en); letter-spacing: -0.03em; }
.stat__label { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .62); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
}

/* ===== CTA band ===== */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 80px 48px; border-radius: var(--r-xl); text-align: center;
  background: var(--ink); color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(63, 163, 166, .45), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(14, 94, 102, .4), transparent 70%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  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: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 760px; margin-inline: auto; }
.cta-band p { font-size: 18px; color: rgba(255, 255, 255, .72); max-width: 580px; margin: 18px auto 0; }
.cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 640px) { .cta-band { padding: 56px 24px; } }

/* ===== Page hero (inner pages) ===== */
.phero { padding: calc(var(--header-h) + 80px) 0 88px; }
.phero__inner { max-width: 760px; }
.phero--center .phero__inner { margin-inline: auto; text-align: center; }
.crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .55); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs .i { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .9); }
.phero h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.03em; }
html[dir="rtl"] .phero h1 { letter-spacing: 0; }
.phero p { font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .72); margin-top: 20px; }

/* ===== Services page ===== */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.subnav__row { display: flex; gap: 8px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.subnav__row::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--line); background: #fff;
  transition: all .2s ease;
}
.subnav a:hover { border-color: #C5D2D2; color: var(--text); }
.subnav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.subnav a .i { width: 16px; height: 16px; }
.subnav ~ main [id], .svc { scroll-margin-top: calc(var(--header-h) + 84px); }

.svc { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; padding-block: 88px; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
@media (max-width: 1024px) { .svc { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; } }
.svc__label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 18px; }
.svc h2 { font-size: clamp(28px, 3vw, 38px); }
.svc .lead { margin-bottom: 36px; }
.svc__sub { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 18px; }
html[dir="rtl"] .svc__sub { text-transform: none; letter-spacing: 0; font-size: 14px; }

.price-card {
  position: sticky; top: calc(var(--header-h) + 96px);
  padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.price-card__head { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.price-card__k { font-size: 13px; color: var(--text-3); }
.price-card__price { font: 700 34px/1.1 var(--font-en); letter-spacing: -0.03em; margin-top: 4px; }
.price-card__rows { display: grid; gap: 14px; padding: 20px 0 24px; }
.price-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; }
.price-card__row span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); }
.price-card__row strong { font-weight: 600; }
.price-card__btns { display: grid; gap: 10px; }
.price-card__note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); text-align: center; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.cmp { width: 100%; min-width: 680px; font-size: 15px; }
.cmp th, .cmp td { padding: 18px 24px; text-align: start; }
.cmp thead th { background: var(--bg-soft); font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); }
.cmp thead th > span { display: inline-flex; align-items: center; gap: 10px; }
.cmp tbody tr + tr td { border-top: 1px solid var(--line-2); }
.cmp td:first-child { font-weight: 600; color: var(--text); width: 26%; }
.cmp td { color: var(--text-2); }
.cmp .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.cmp .price { font-weight: 700; color: var(--text); font-family: var(--font-en); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; background: none; border: 0; text-align: start;
  font-size: 17px; font-weight: 600; color: var(--text);
}
.faq__icon { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); transition: transform .25s ease, background-color .2s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 24px; padding-inline-end: 56px; color: var(--text-2); line-height: 1.75; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ===== About ===== */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.fact--wide { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); border-color: var(--ink); color: #fff; }
.fact__k { font-size: 13px; color: var(--text-3); }
.fact--wide .fact__k { color: rgba(255, 255, 255, .55); }
.fact__v { font-size: 20px; font-weight: 700; margin-top: 6px; }
.fact .icon-box { margin-bottom: 18px; }
.offices { display: flex; gap: 8px; flex-wrap: wrap; }
.office-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 500; }

.mv { padding: 40px; }
.mv .icon-box { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 24px; }
.mv h3 { font-size: 24px; margin-bottom: 12px; }
.mv p { font-size: 16.5px; line-height: 1.75; }
.mv--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.mv--dark p { color: rgba(255, 255, 255, .72); }
.mv--dark .icon-box { background: rgba(143, 211, 207, .14); color: var(--brand-300); }

.feature { padding: 4px 0; }
.feature .icon-box { margin-bottom: 20px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
@media (max-width: 1024px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; gap: 36px; } }

.member { padding: 0; overflow: hidden; }
.member__photo {
  aspect-ratio: 4 / 3.4; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--brand-50), #D3EAE8);
}
.member__avatar {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #3FA3A6, var(--brand) 55%, var(--ink));
  color: #fff; font: 700 26px/1 var(--font-en); letter-spacing: .02em;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .7), var(--shadow);
}
.member__info { padding: 20px 22px 24px; }
.member__info h3 { font-size: 17px; margin: 0; }
.member__role { font-size: 14px; color: var(--text-3); margin-top: 4px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: 40px; }
@media (max-width: 640px) { .form-card { padding: 28px 20px; } }
.form-card h2 { font-size: 26px; }
.form-card > p { color: var(--text-2); margin-top: 8px; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px;
  background: #fff; border: 1px solid #D3DDDD; color: var(--text); font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E778D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: right 14px center;
}
html[dir="rtl"] .field select { background-position: left 14px center; }
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #9AA7A9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(63, 163, 166, .16); }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.form-success { display: none; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--success-bg); color: #166534; font-size: 14.5px; font-weight: 500; }
.form-success.is-visible { display: flex; }

.aside-stack { display: grid; gap: 20px; }
.channels { display: grid; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.channel:first-child { padding-top: 4px; }
.channel:last-child { border-bottom: 0; padding-bottom: 0; }
.channel .icon-box { width: 44px; height: 44px; }
.channel__k { font-size: 13px; color: var(--text-3); }
.channel__v { font-size: 16px; font-weight: 600; font-family: var(--font-en); }
.channel__v[dir] { unicode-bidi: isolate; }
.icon-box--wa { background: #E7F8EE; color: #16A34A; }
.hours { display: grid; gap: 12px; margin-top: 18px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours span { color: rgba(255, 255, 255, .6); }

.office { display: flex; gap: 20px; align-items: flex-start; }
.office h3 { font-size: 19px; }
.office p { margin-top: 6px; }

/* ===== Footer ===== */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 80px 0 32px; }
.ftr__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1.3fr; gap: 48px; }
@media (max-width: 1024px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; gap: 36px; } }
.ftr .brand { color: #fff; }
.ftr__tag { margin-top: 18px; max-width: 340px; font-size: 15px; line-height: 1.7; }
.ftr h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.ftr ul { display: grid; gap: 12px; font-size: 14.5px; }
.ftr ul a { transition: color .2s ease; }
.ftr ul a:hover { color: #fff; }
.ftr__contact li { display: flex; align-items: center; gap: 10px; }
.ftr__contact .i { width: 16px; height: 16px; color: var(--brand-300); }
.social { display: flex; gap: 8px; margin-top: 26px; }
.social a { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); transition: all .2s ease; }
.social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.social svg { width: 16px; height: 16px; }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.ftr__bottom nav { display: flex; gap: 24px; }
.ftr__bottom a:hover { color: #fff; }

/* ===== Reveal on scroll ===== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ===== Utilities ===== */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.hide-mobile { }
@media (max-width: 640px) { .hide-mobile { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.office { flex-direction: row; }
.office h3 { display: flex; align-items: center; gap: 10px; }
.mock__url { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* =====================================================================
   Blog
   ===================================================================== */
.blog-search { display: flex; align-items: center; gap: 8px; max-width: 520px; margin: 32px auto 0; padding: 6px; padding-inline-start: 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.blog-search .i { width: 18px; height: 18px; color: rgba(255, 255, 255, .6); }
.blog-search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: #fff; font-size: 15px; outline: none; }
.blog-search input::placeholder { color: rgba(255, 255, 255, .5); }

.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.blog-cats a { height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--text-2); transition: all .2s ease; }
.blog-cats a:hover { border-color: #C5D2D2; color: var(--text); }
.blog-cats a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease, border-color .2s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #C8D5D5; }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--brand-50), #D3EAE8); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand-400); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 20px; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.post-card__cat { color: var(--brand); font-weight: 600; }
.post-card__title { font-size: 19px; line-height: 1.4; }
.post-card__title a:hover { color: var(--brand); }
.post-card__excerpt { margin-top: 10px; font-size: 15px; color: var(--text-2); line-height: 1.7; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--text-3); }
.post-card--featured { grid-column: 1 / -1; flex-direction: row; }
.post-card--featured .post-card__media { flex: 1.2; aspect-ratio: auto; min-height: 340px; }
.post-card--featured .post-card__body { flex: 1; padding: 36px; justify-content: center; }
.post-card--featured .post-card__title { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 860px) { .post-card--featured { flex-direction: column; } .post-card--featured .post-card__media { min-height: 0; aspect-ratio: 16 / 9; } .post-card--featured .post-card__body { padding: 24px; } }
.post-grid--3 .post-card--featured { grid-column: auto; flex-direction: column; }

.article-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: calc(var(--header-h) + 64px) 0 72px; }
.article-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 360px at 85% 0%, rgba(63, 163, 166, .35), transparent 70%); }
.article-hero__inner { max-width: 860px; }
.article-hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.25; letter-spacing: -0.025em; }
html[dir="rtl"] .article-hero h1 { letter-spacing: 0; line-height: 1.45; }
.article-hero__lead { margin-top: 18px; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.article-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta__author { gap: 12px !important; color: #fff; }
.article-meta__author strong { display: block; font-size: 14.5px; }
.article-meta__author small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.article-meta .avatar { width: 40px; height: 40px; }
.article-cover { margin-top: -40px; position: relative; z-index: 2; }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-block: 56px 88px; align-items: start; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } .article-aside { order: -1; } }
.article-main { max-width: 760px; min-width: 0; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 1024px) { .article-aside { position: static; } }
.toc { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.toc strong { display: block; font-size: 14px; margin-bottom: 12px; }
.toc ol { display: grid; gap: 4px; counter-reset: toc; }
.toc li a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.5; color: var(--text-2); border-inline-start: 2px solid transparent; }
.toc li a:hover { background: var(--bg-soft); color: var(--text); }
.toc li a.is-active { color: var(--brand); border-inline-start-color: var(--brand); background: var(--brand-50); }
.toc .toc__sub a { padding-inline-start: 22px; font-size: 13.5px; }

.prose { font-size: 17.5px; line-height: 1.9; color: #1E3236; overflow-wrap: break-word; }
html[dir="rtl"] .prose { font-size: 18px; line-height: 2; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.55em; line-height: 1.35; margin-top: 2em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.25em; line-height: 1.4; margin-top: 1.6em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h4 { font-size: 1.05em; margin-top: 1.4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand-400); }
.prose blockquote { margin-inline: 0; padding: 18px 22px; border-inline-start: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 12px 12px 0; color: var(--text); }
html[dir="rtl"] .prose blockquote { border-radius: 12px 0 0 12px; }
.prose img { border-radius: 14px; height: auto; }
.prose figcaption { font-size: 14px; color: var(--text-3); text-align: center; margin-top: 8px; }
.prose table { width: 100%; font-size: 15.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; border-collapse: separate; border-spacing: 0; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line-2); }
.prose th { background: var(--bg-soft); font-weight: 600; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); font-size: .88em; }
.prose pre { padding: 16px; border-radius: 12px; background: var(--ink); color: #E6EDF7; overflow-x: auto; direction: ltr; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

.article-cta { display: flex; gap: 18px; margin-top: 48px; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid #CDE6E4; }
.article-cta strong { font-size: 17px; }
.article-cta p { font-size: 15px; color: var(--text-2); margin-top: 4px; }
.article-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.article-share span { margin-inline-end: 6px; }
.article-share a, .article-share button { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--text-2); }
.article-share a:hover, .article-share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.article-share .i { width: 16px; height: 16px; }
.author-box { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 22px; border-radius: var(--r-lg); background: var(--bg-soft); }
.author-box strong { display: block; font-size: 17px; margin: 2px 0; }
.author-box > div > span { display: block; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 64px) 0 80px; }
.error-page__code { font: 800 clamp(80px, 14vw, 140px)/1 var(--font-en); letter-spacing: -0.05em; background: linear-gradient(135deg, var(--brand-400), var(--ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: clamp(24px, 3vw, 34px); margin-top: 12px; }
.error-page p { color: var(--text-2); margin-top: 12px; font-size: 17px; }
.error-page__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ===== Dawayr logo (x-logo) ===== */
.logo { display: inline-flex; align-items: center; gap: 11px; direction: ltr; line-height: 1; }
.logo__symbol { width: 38px; height: 38px; flex-shrink: 0; }
.logo__word { display: flex; flex-direction: column; font-family: "Outfit", sans-serif; font-weight: 500; font-size: 21px; letter-spacing: .14em; color: #13262B; }
.logo__word small { margin-top: 5px; font-weight: 400; font-size: 7.6px; letter-spacing: .4em; color: #0E5E66; }
.logo--dark .logo__word { color: #fff; }
.logo--dark .logo__word small { color: #8FD3CF; }

/* ===== Brand orbits graphic (x-orbits) ===== */
.has-orbits { position: relative; overflow: clip; isolation: isolate; }
.has-orbits > .container { position: relative; z-index: 1; }
.orbits { position: absolute; z-index: 0; pointer-events: none; }
.orbits__rings circle { stroke: var(--brand); stroke-opacity: .16; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.orbits__rings .orbits__accent { stroke: var(--brand-400); stroke-opacity: .4; }
.orbits__bar { fill: var(--brand); opacity: .12; }
.orbits__dot circle { fill: var(--brand-400); opacity: .75; }
.orbits__dot--accent circle { fill: var(--brand); }
.orbits--dark .orbits__rings circle { stroke: #8FD3CF; stroke-opacity: .16; }
.orbits--dark .orbits__rings .orbits__accent { stroke: #5FC0C0; stroke-opacity: .45; }
.orbits--dark .orbits__bar { fill: #fff; opacity: .08; }
.orbits--dark .orbits__dot circle { fill: #8FD3CF; }
.orbits__dot { transform-box: view-box; transform-origin: var(--cx) var(--cy); transform: rotate(var(--start, 0deg)); }
@media (prefers-reduced-motion: no-preference) {
  .orbits--animated .orbits__dot { animation: orbit var(--d, 40s) linear infinite; }
}
@keyframes orbit { from { transform: rotate(var(--start, 0deg)); } to { transform: rotate(calc(var(--start, 0deg) + 360deg)); } }
.orbits--corner { width: 760px; height: 760px; top: -180px; inset-inline-end: -300px; }
.orbits--corner-low { width: 640px; height: 640px; bottom: -280px; inset-inline-end: -220px; }
@media (max-width: 760px) { .orbits--corner { width: 460px; height: 460px; top: -120px; inset-inline-end: -240px; opacity: .7; } .orbits--corner-low { width: 420px; height: 420px; } }
.auth__panel .orbits { width: 680px; height: 680px; bottom: -220px; inset-inline-start: -200px; }

/* ===== Service line illustrations (x-service-art) ===== */
.art { display: block; width: 100%; height: auto; }
.art__bg circle { stroke: var(--brand); stroke-opacity: .12; stroke-width: 1.2; }
.art__bg .art__bg-accent { stroke: var(--brand-400); stroke-opacity: .32; }
.art__ink { stroke: var(--brand); stroke-width: 2.2; }
.art__ink .art__fill { fill: var(--brand-50); }
.art__ink .art__paper { fill: #fff; }
.art__ink .art__accent { stroke: var(--brand-400); }
.art__ink .art__accent-fill { fill: var(--brand-300); stroke: var(--brand-400); }
.art__ink .art__heart { fill: #CDE6E4; }

/* ===== Searchable selects (Select2) in the Dawayr style ===== */
.select2-container { font-size: 15px; }
.select2-container .select2-selection--single { height: 48px; border-radius: 10px; border: 1px solid #D3DDDD; background: #fff; box-shadow: var(--shadow-sm); display: flex; align-items: center; transition: border-color .2s ease, box-shadow .2s ease; }
.select2-container .select2-selection--single .select2-selection__rendered { flex: 1; min-width: 0; padding-inline: 14px 40px; line-height: normal; color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { padding-left: 40px; padding-right: 14px; text-align: right; }
.select2-container .select2-selection--single .select2-selection__placeholder { color: #9AA7A9; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 100%; width: 34px; top: 0; right: 6px; }
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__arrow { right: auto; left: 6px; }
.select2-container .select2-selection--single .select2-selection__arrow b { border: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E778D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); transition: transform .2s ease; }
.select2-container--open .select2-selection--single .select2-selection__arrow b { transform: rotate(180deg); }
.select2-container .select2-selection--single .select2-selection__clear { position: absolute; inset-inline-end: 36px; top: 50%; transform: translateY(-50%); margin: 0; height: auto; font-size: 18px; color: #9AA7A9; float: none; }
.select2-container--focus .select2-selection--single, .select2-container--open .select2-selection--single { border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(63, 163, 166, .16); outline: none; }
.select2-dropdown { border: 1px solid #D3DDDD; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(12, 44, 49, .35); z-index: 1100; }
.select2-container--open .select2-dropdown--below { margin-top: 6px; border-top: 1px solid #D3DDDD; }
.select2-container--open .select2-dropdown--above { margin-top: -6px; border-bottom: 1px solid #D3DDDD; }
.select2-search--dropdown { padding: 10px; }
.select2-search--dropdown .select2-search__field { height: 40px; border: 1px solid #D3DDDD; border-radius: 9px; padding: 0 12px; font: inherit; font-size: 14px; outline: none; }
.select2-search--dropdown .select2-search__field:focus { border-color: var(--brand-400); }
.select2-results__options { max-height: 280px !important; padding: 4px; }
.select2-results__option { padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--text); }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--brand-50); color: var(--brand); }
.select2-container--default .select2-results__option--selected { background: var(--brand); color: #fff; }
.select2-container--default .select2-results__option--group { padding: 0; }
.select2-container--default .select2-results__group { padding: 10px 12px 4px; font-size: 12px; font-weight: 700; color: var(--text-3); }
.select2-results__message { color: var(--text-3); }
.toolbar .select2-container { width: auto !important; min-width: 180px; }
.toolbar .select2-container .select2-selection--single { height: 40px; border-radius: 9px; box-shadow: none; font-size: 14px; }
