
    :root {
      --bg:#f4f7fb;
      --surface:#ffffff;
      --surface-2:#fbfdff;
      --text:#173a73;
      --muted:#687892;
      --line:#dbe6f1;
      --line-2:#d0dced;
      --primary:#173f80;
      --primary-2:#2f67c8;
      --green:#35ad67;
      --gold:#e5b54d;
      --gold-2:#f0c86a;
      --shadow-1:0 8px 24px rgba(18,62,124,.055);
      --shadow-2:0 16px 42px rgba(18,62,124,.085);
      --radius-1:16px;
      --radius-2:24px;
      --radius-3:38px;
      --container:1328px;
    }

    * { box-sizing:border-box; }
    html { scroll-behavior:smooth; }
    body {
      margin:0;
      font-family:Tahoma, Arial, sans-serif;
      background:
        radial-gradient(circle at 7% 0%, rgba(53,173,103,.06), transparent 16%),
        radial-gradient(circle at 92% 4%, rgba(47,103,200,.06), transparent 18%),
        linear-gradient(180deg,#f8fbff 0%, #f4f7fb 100%);
      color:var(--text);
      line-height:1.85;
      overflow-x:hidden;
    }

    img { max-width:100%; display:block; }
    a { text-decoration:none; color:inherit; }
    button, input { font:inherit; }

    .container {
      width:min(var(--container), calc(100% - 48px));
      margin-inline:auto;
    }

    .section { padding:22px 0; }

    .eyebrow {
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding:10px 16px;
      border-radius:999px;
      background:#fff;
      border:1px solid var(--line);
      color:var(--primary);
      font-size:13px;
      font-weight:800;
      box-shadow:var(--shadow-1);
    }

    .eyebrow::before {
      content:"";
      width:8px;
      height:8px;
      border-radius:50%;
      background:var(--green);
      box-shadow:0 0 0 5px rgba(53,173,103,.12);
    }

    .section-head {
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:18px;
      margin-bottom:18px;
      flex-wrap:wrap;
    }

    .section-title {
      margin:8px 0 0;
      font-size:32px;
      line-height:1.34;
      font-weight:900;
      letter-spacing:-.2px;
    }

    .section-sub {
      margin-top:6px;
      color:var(--muted);
      font-size:15px;
    }

    .mini-rule {
      width:112px;
      height:4px;
      border-radius:999px;
      background:linear-gradient(90deg,var(--primary-2), var(--green), var(--gold));
      flex:0 0 auto;
    }

    .card {
      background:linear-gradient(180deg, rgba(255,255,255,.985), rgba(255,255,255,.95));
      border:1px solid var(--line);
      border-radius:var(--radius-2);
      box-shadow:var(--shadow-1);
    }

    .btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding:15px 22px;
      border-radius:18px;
      font-weight:900;
      border:1px solid transparent;
      white-space:nowrap;
      transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
      cursor:pointer;
    }

    .btn:hover { transform:translateY(-1px); }

    .btn-primary {
      background:linear-gradient(135deg,var(--gold),var(--gold-2));
      color:#1d2741;
      box-shadow:0 14px 26px rgba(229,181,77,.22);
    }

    .btn-outline {
      background:#fff;
      color:var(--primary);
      border-color:var(--line-2);
      box-shadow:var(--shadow-1);
    }

    .icon {
      width:20px;
      height:20px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
    }

    .icon svg { width:100%; height:100%; }

    /* Header tuned */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 60;
      background: rgba(255,255,255,.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(23,63,128,.06);
    }

    .header-inner {
      min-height: 96px;
      display: grid;
      grid-template-columns: 184px minmax(0,1fr) 424px;
      align-items: center;
      gap: 18px;
      direction: ltr;
    }

    .header-cta,
    .main-nav,
    .brand {
      direction: rtl;
    }

    .header-cta {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      justify-self: start;
    }

    .header-cta .btn {
      min-width: 164px;
      height: 54px;
      padding-inline: 18px;
      border-radius: 18px;
      font-size: 14px;
    }

    .main-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2px;
      min-width: 0;
      overflow: hidden;
      justify-self: center;
    }

    .main-nav a {
      padding: 11px 10px 14px;
      border-radius: 14px;
      color: #274b83;
      font-size: 13px;
      line-height: 1;
      font-weight: 800;
      position: relative;
      transition: background .16s ease, color .16s ease;
      white-space: nowrap;
      flex: 0 0 auto;
    }

    .main-nav a:hover,
    .main-nav a.active {
      background: rgba(47,103,200,.08);
      color: var(--primary);
    }

    .main-nav a.active::after {
      content: "";
      position: absolute;
      right: 14px;
      left: 14px;
      bottom: 8px;
      height: 3px;
      border-radius: 99px;
      background: linear-gradient(90deg,var(--gold),var(--green));
    }

    .brand {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      justify-self: end;
      gap: 12px;
      min-width: 0;
    }

    .brand img {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid rgba(210,77,77,.18);
      box-shadow: var(--shadow-1);
      padding: 4px;
      flex: 0 0 auto;
    }

    .brand-copy {
      min-width: 0;
      max-width: 340px;
      text-align: right;
    }

    .brand-copy strong {
      display: block;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 900;
      color: #183967;
    }

    .brand-copy span {
      display: block;
      margin-top: 2px;
      color: #6c7c92;
      font-size: 11px;
      line-height: 1.65;
      font-weight: 700;
    }

    .menu-toggle {
      display: none;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--primary);
      box-shadow: var(--shadow-1);
    }

    /* Hero */
    .hero {
      padding: 14px 0 14px;
    }

    .hero-shell {
      padding: 26px 26px 22px;
      border-radius:42px;
      overflow:hidden;
      background:
        radial-gradient(circle at 86% 12%, rgba(53,173,103,.08), transparent 15%),
        radial-gradient(circle at 12% 0%, rgba(47,103,200,.06), transparent 20%),
        linear-gradient(135deg, rgba(255,255,255,.985), rgba(251,253,255,.95));
      border:1px solid var(--line);
      box-shadow:var(--shadow-2);
    }

    .hero-grid {
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:28px;
      align-items:center;
    }

    .hero-media {
      min-height:392px;
      border-radius:32px;
      overflow:hidden;
      background:
        linear-gradient(180deg, rgba(233,241,250,.24), rgba(227,237,249,.08)),
        linear-gradient(135deg, #eaf1fa, #ffffff);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
    }

    .hero-media img {
      width:100%;
      height:100%;
      object-fit:cover;
      object-position:left top;
      transform:scale(1.015);
      filter:saturate(1.03) contrast(1.015);
    }

    .hero-copy {
      text-align:right;
      padding-inline-start:4px;
    }

    .hero-title {
      margin:18px 0 12px;
      font-size:clamp(40px, 5vw, 66px);
      line-height:1.16;
      font-weight:900;
      letter-spacing:-1px;
      color:var(--primary);
    }

    .hero-title .accent { color:var(--green); }

    .hero-desc {
      margin:0 0 22px;
      font-size:18px;
      line-height:1.95;
      color:#62728b;
      max-width:610px;
    }

    .hero-actions {
      display:flex;
      gap:14px;
      flex-wrap:wrap;
    }

    .stats-bar {
      margin-top:18px;
      display:grid;
      grid-template-columns: repeat(4,1fr);
      gap:12px;
    }

    .stat {
      min-height:98px;
      display:flex;
      align-items:center;
      gap:15px;
      padding:16px 18px;
      border-radius:24px;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow-1);
    }

    .stat-icon {
      width:54px;
      height:54px;
      border-radius:18px;
      display:grid;
      place-items:center;
      background:#f7fbff;
      border:1px solid var(--line);
      color:var(--primary-2);
      flex:0 0 auto;
    }

    .stat-icon.green { color:var(--green); background:#f5fcf7; }
    .stat-copy strong {
      display:block;
      font-size:20px;
      line-height:1.42;
      font-weight:900;
      margin-bottom:2px;
    }
    .stat-copy span {
      display:block;
      font-size:13px;
      color:#6b7b93;
      line-height:1.72;
    }

    /* services */
    .services-grid {
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:14px;
    }

    .service {
      min-height:146px;
      padding:20px 20px 18px;
      border-radius:24px;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow-1);
      transition:transform .16s ease, box-shadow .16s ease;
    }

    .service:hover {
      transform:translateY(-2px);
      box-shadow:var(--shadow-2);
    }

    .service-top {
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-bottom:13px;
      gap:14px;
    }

    .service-badge {
      width:56px;
      height:56px;
      border-radius:18px;
      display:grid;
      place-items:center;
      background:#f6faff;
      border:1px solid var(--line);
      color:var(--primary-2);
    }
    .service-badge.green {
      background:#f3fcf6;
      color:var(--green);
    }
    .service h3 {
      margin:0 0 5px;
      font-size:20px;
      line-height:1.42;
      font-weight:900;
    }
    .service p {
      margin:0;
      color:var(--muted);
      font-size:14px;
      line-height:1.84;
    }

    /* about */
    .about-grid {
      display:grid;
      grid-template-columns: 336px 1fr;
      gap:18px;
      align-items:stretch;
    }

    .about-image {
      padding:16px;
      display:flex;
      align-items:center;
      justify-content:center;
    }

    .about-image .frame {
      width:100%;
      border-radius:24px;
      overflow:hidden;
      box-shadow:var(--shadow-1);
      border:1px solid var(--line);
      background:#fff;
    }

    .about-image img {
      width:100%;
      height:auto;
      display:block;
    }

    .about-copy {
      padding:24px 28px;
    }

    .about-copy p {
      margin:0 0 12px;
      color:var(--muted);
      font-size:15px;
      line-height:2;
    }

    .feature-row {
      margin-top:8px;
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:12px;
    }

    .feature {
      padding:15px;
      border-radius:18px;
      background:#fbfdff;
      border:1px solid var(--line);
    }

    .feature .mini {
      width:44px;
      height:44px;
      border-radius:14px;
      display:grid;
      place-items:center;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow-1);
      margin-bottom:10px;
      color:var(--green);
    }
    .feature:nth-child(2) .mini { color:var(--primary-2); }
    .feature:nth-child(3) .mini { color:#c39027; }
    .feature strong {
      display:block;
      font-size:16px;
      line-height:1.42;
      font-weight:900;
      margin-bottom:4px;
    }
    .feature span {
      color:var(--muted);
      font-size:13px;
      line-height:1.86;
      display:block;
    }

    /* process */
    .process-grid {
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:14px;
      position:relative;
    }
    .process-grid::before {
      content:"";
      position:absolute;
      right:9%;
      left:9%;
      top:44px;
      height:2px;
      background:linear-gradient(90deg, rgba(47,103,200,.12), rgba(53,173,103,.28), rgba(47,103,200,.12));
    }
    .step {
      position:relative;
      z-index:1;
      min-height:172px;
      padding:24px 18px 18px;
      text-align:center;
      background:#fff;
      border:1px solid var(--line);
      border-radius:24px;
      box-shadow:var(--shadow-1);
    }
    .step-no {
      width:48px;
      height:48px;
      border-radius:50%;
      display:grid;
      place-items:center;
      margin:0 auto 15px;
      color:#fff;
      font-size:19px;
      font-weight:900;
      box-shadow:0 14px 24px rgba(18,62,124,.16);
      background:linear-gradient(135deg,var(--primary), var(--primary-2));
    }
    .step:nth-child(2) .step-no { background:linear-gradient(135deg,var(--green), #69cc95); }
    .step:nth-child(3) .step-no { background:linear-gradient(135deg,#6baef7,#2f67c8); }
    .step:nth-child(4) .step-no { background:linear-gradient(135deg,#4d7eff,#7aa0ff); }

    .step strong {
      display:block;
      margin-bottom:7px;
      font-size:18px;
      line-height:1.46;
      font-weight:900;
    }
    .step p {
      margin:0;
      color:var(--muted);
      font-size:14px;
      line-height:1.84;
    }

    /* docs + news */
    .split-grid {
      display:grid;
      grid-template-columns: .92fr 1.08fr;
      gap:16px;
      align-items:start;
    }

    .panel { padding:20px; }

    .docs-list {
      display:grid;
      gap:11px;
      margin-top:8px;
    }

    .doc {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:14px 15px;
      border-radius:17px;
      border:1px solid var(--line);
      background:#fbfdff;
    }

    .doc-main {
      display:flex;
      align-items:center;
      gap:13px;
      min-width:0;
    }

    .doc-ico {
      width:46px;
      height:46px;
      border-radius:15px;
      display:grid;
      place-items:center;
      flex:0 0 auto;
      color:#de5c4f;
      background:#fff5f3;
      border:1px solid rgba(222,92,79,.18);
    }

    .doc-copy strong {
      display:block;
      font-size:15px;
      line-height:1.64;
      font-weight:900;
      margin-bottom:2px;
    }

    .doc-copy span {
      display:block;
      color:var(--muted);
      font-size:13px;
    }

    .doc-tag {
      padding:8px 12px;
      border-radius:999px;
      border:1px solid var(--line);
      background:#fff;
      color:var(--primary);
      font-weight:800;
      font-size:12px;
      flex:0 0 auto;
    }

    .news-grid {
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:12px;
      margin-top:8px;
    }

    .news {
      overflow:hidden;
      border-radius:22px;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow-1);
    }

    .news-cover {
      aspect-ratio:16 / 10;
      overflow:hidden;
      position:relative;
      background:linear-gradient(135deg,#dce8ff,#eff5ff);
    }

    .news-cover.cover-1::before,
    .news-cover.cover-2::before,
    .news-cover.cover-3::before {
      content:"";
      position:absolute;
      inset:0;
      background-position:center;
      background-size:cover;
      background-repeat:no-repeat;
    }

    .news-cover.cover-1::before {
      background:
        radial-gradient(circle at 20% 18%, rgba(255,234,180,.8), transparent 18%),
        linear-gradient(180deg,#d4e3ff 0 50%, #eef6ff 50% 62%, #d9ebc9 62% 100%);
    }
    .news-cover.cover-1::after {
      content:"";
      position:absolute;
      left:-8%;
      right:18%;
      bottom:8%;
      height:36%;
      transform:skewX(-18deg);
      border-radius:12px;
      background:linear-gradient(180deg,#25549b,#143f7b);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
    }

    .news-cover.cover-2::before {
      background:linear-gradient(180deg,#dbe9ff 0 60%, #dff0d6 60% 100%);
    }
    .news-cover.cover-2::after {
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(circle at 64% 44%, rgba(255,255,255,.96) 0 2px, transparent 2px),
        linear-gradient(90deg, transparent 0 22%, rgba(255,255,255,.88) 22% 23%, transparent 23% 100%),
        linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.88) 48% 49%, transparent 49% 100%),
        linear-gradient(90deg, transparent 0 70%, rgba(255,255,255,.88) 70% 71%, transparent 71% 100%);
      opacity:.95;
    }

    .news-cover.cover-3::before {
      background:linear-gradient(180deg,#dbe8ff 0 44%, #e6f2ff 44% 58%, #dcefcf 58% 100%);
    }
    .news-cover.cover-3::after {
      content:"";
      position:absolute;
      left:14%;
      right:14%;
      bottom:10%;
      height:30%;
      background:linear-gradient(180deg,#27559b,#163f7b);
      transform:skewX(-18deg);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
    }

    .news-body { padding:15px; }

    .news-meta {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      margin-bottom:8px;
      font-size:12px;
      color:var(--muted);
    }

    .pill {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:6px 10px;
      border-radius:999px;
      font-size:12px;
      font-weight:900;
    }
    .pill.news { color:var(--green); background:rgba(53,173,103,.10); }
    .pill.alert { color:var(--primary-2); background:rgba(47,103,200,.10); }

    .news h3 {
      margin:0 0 10px;
      font-size:15px;
      line-height:1.76;
      font-weight:900;
      min-height:82px;
    }

    .news a.more {
      color:var(--primary);
      font-size:14px;
      font-weight:900;
    }

    /* faq */
    .faq-grid {
      display:grid;
      grid-template-columns: 240px 1fr;
      gap:16px;
      align-items:stretch;
    }

    .faq-illustration {
      display:flex;
      align-items:center;
      justify-content:center;
      padding:16px;
      border-radius:24px;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow-1);
      min-height:100%;
    }

    .faq-illustration .art {
      width:100%;
      max-width:186px;
      border-radius:18px;
      overflow:hidden;
    }

    .faq-card {
      padding:8px 10px;
      border-radius:24px;
    }

    .faq-item + .faq-item {
      border-top:1px solid var(--line);
    }

    .faq-btn {
      width:100%;
      border:none;
      background:transparent;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      text-align:right;
      padding:21px 16px;
      cursor:pointer;
      color:var(--text);
    }

    .faq-btn strong {
      font-size:17px;
      line-height:1.7;
      font-weight:900;
    }

    .faq-sign {
      width:36px;
      height:36px;
      border-radius:14px;
      display:grid;
      place-items:center;
      background:#f8fbff;
      border:1px solid var(--line);
      color:var(--primary);
      font-size:24px;
      font-weight:700;
      flex:0 0 auto;
      transition:transform .16s ease;
    }

    .faq-item.active .faq-sign {
      transform:rotate(45deg);
      color:var(--primary-2);
    }

    .faq-panel {
      display:grid;
      grid-template-rows:0fr;
      transition:grid-template-rows .18s ease;
    }

    .faq-panel-inner { overflow:hidden; }

    .faq-answer {
      padding:0 16px 20px;
      color:var(--muted);
      font-size:15px;
      line-height:1.96;
    }

    .faq-item.active .faq-panel {
      grid-template-rows:1fr;
    }

    /* CTA */
    .cta {
      display:grid;
      grid-template-columns: auto 1fr auto;
      align-items:center;
      gap:18px;
      padding:24px 26px;
      border-radius:28px;
      background:
        radial-gradient(circle at 88% 18%, rgba(53,173,103,.15), transparent 18%),
        linear-gradient(135deg,#163f80,#0f2f62 52%, #143a76);
      color:#fff;
      border:1px solid rgba(255,255,255,.08);
      box-shadow:0 22px 58px rgba(15,47,98,.22);
      overflow:hidden;
    }

    .cta-thumb {
      width:212px;
      border-radius:18px;
      overflow:hidden;
      flex:0 0 auto;
    }

    .cta-thumb img {
      width:100%;
      height:auto;
      display:block;
      object-fit:cover;
    }

    .cta-copy strong {
      display:block;
      font-size:30px;
      line-height:1.44;
      font-weight:900;
      margin-bottom:4px;
    }

    .cta-copy span {
      color:rgba(255,255,255,.82);
      font-size:16px;
      line-height:1.9;
      display:block;
    }

    /* footer */
    .footer {
      margin-top:32px;
      background:linear-gradient(180deg,#123e7b,#0c2f61 62%, #0a2852);
      color:#fff;
    }

    .footer-top {
      padding:40px 0 24px;
      display:grid;
      grid-template-columns:1.12fr .95fr .95fr 1fr;
      gap:22px;
      align-items:start;
    }

    .footer h3 {
      margin:0 0 12px;
      font-size:20px;
      line-height:1.44;
      font-weight:900;
    }

    .footer p, .footer li, .footer a {
      color:rgba(255,255,255,.82);
      font-size:14px;
      line-height:2;
    }

    .footer-brand {
      display:flex;
      align-items:center;
      gap:14px;
      margin-bottom:14px;
    }

    .footer-brand img {
      width:66px;
      height:66px;
      border-radius:50%;
      background:#fff;
      padding:4px;
      border:1px solid rgba(255,255,255,.14);
    }

    .footer-brand strong {
      display:block;
      font-size:18px;
      line-height:1.54;
      font-weight:900;
    }

    .footer-brand span {
      display:block;
      font-size:12px;
      color:rgba(255,255,255,.68);
    }

    .footer-links, .footer-contact {
      list-style:none;
      margin:0;
      padding:0;
      display:grid;
      gap:4px;
    }

    .socials {
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      margin-top:12px;
    }

    .social {
      width:42px;
      height:42px;
      border-radius:14px;
      display:grid;
      place-items:center;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
    }

    .social svg { width:18px; height:18px; fill:currentColor; }

    .seals {
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      margin-top:12px;
    }

    .seal {
      padding:10px 12px;
      border-radius:14px;
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      font-size:12px;
      font-weight:900;
    }

    .footer-bottom {
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:14px;
      flex-wrap:wrap;
      padding:16px 0 22px;
      border-top:1px solid rgba(255,255,255,.10);
    }

    .footer-bottom p, .footer-bottom a {
      color:rgba(255,255,255,.70);
      font-size:13px;
    }

    .footer-bottom-links {
      display:flex;
      align-items:center;
      gap:18px;
      flex-wrap:wrap;
    }

    @media (max-width: 1180px) {
      .header-inner {
        grid-template-columns: 168px minmax(0,1fr) 360px;
        gap: 14px;
      }
      .main-nav a {
        font-size: 12px;
        padding-inline: 8px;
      }
      .brand-copy {
        max-width: 286px;
      }
      .brand-copy strong {
        font-size: 13px;
      }
      .hero-title {
        font-size: 54px;
      }
      .services-grid,
      .stats-bar,
      .feature-row,
      .process-grid,
      .news-grid {
        grid-template-columns: repeat(2,1fr);
      }
      .split-grid,
      .about-grid,
      .faq-grid,
      .footer-top {
        grid-template-columns: 1fr;
      }
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .hero-copy {
        order: 1;
      }
      .hero-media {
        min-height: 360px;
      }
      .cta {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .cta-thumb {
        margin-inline: auto;
      }
    }

    @media (max-width: 860px) {
      .header-inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 14px 0;
        direction: rtl;
      }
      .brand {
        order: 1;
        justify-content: flex-end;
        justify-self: end;
      }
      .header-cta {
        order: 2;
        justify-content: flex-start;
        justify-self: start;
      }
      .main-nav {
        order: 3;
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: #fff;
        box-shadow: var(--shadow-1);
        flex-direction: column;
        align-items: stretch;
      }
      .main-nav.open {
        display: flex;
      }
      .main-nav a {
        width: 100%;
        text-align: center;
        font-size: 14px;
      }
      .header-cta .btn {
        display: none;
      }
      .menu-toggle {
        display: grid;
        place-items: center;
      }
      .brand-copy {
        max-width: 240px;
      }
    }

    @media (max-width: 720px) {
      .container {
        width:min(var(--container), calc(100% - 24px));
      }
      .hero-shell {
        padding:20px;
        border-radius:28px;
      }
      .hero-title {
        font-size:40px;
        line-height:1.28;
      }
      .hero-desc {
        font-size:16px;
      }
      .hero-actions {
        flex-direction:column;
      }
      .hero-actions .btn {
        width:100%;
      }
      .services-grid,
      .stats-bar,
      .feature-row,
      .process-grid,
      .news-grid {
        grid-template-columns:1fr;
      }
      .cta-copy strong {
        font-size:26px;
      }
      .footer-bottom {
        flex-direction:column;
        align-items:flex-start;
      }
    }
  

/* WordPress integration additions */
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}

.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:2px}
.main-nav li{margin:0;padding:0}
.main-nav li a{
  padding:11px 10px 14px;
  border-radius:14px;
  color:#274b83;
  font-size:13px;
  line-height:1;
  font-weight:800;
  position:relative;
  transition:background .16s ease,color .16s ease;
  white-space:nowrap;
  flex:0 0 auto;
  display:block;
}
.main-nav li a:hover,
.main-nav .current-menu-item>a,
.main-nav .current_page_item>a,
.main-nav .current-menu-ancestor>a{
  background:rgba(47,103,200,.08);
  color:var(--primary);
}
.main-nav .current-menu-item>a::after,
.main-nav .current_page_item>a::after,
.main-nav .current-menu-ancestor>a::after{
  content:"";
  position:absolute;
  right:14px;
  left:14px;
  bottom:8px;
  height:3px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--gold),var(--green));
}
.custom-logo-link{display:block}
.brand .custom-logo{width:62px;height:62px;border-radius:50%;background:#fff;border:1px solid rgba(210,77,77,.18);box-shadow:var(--shadow-1);padding:4px;flex:0 0 auto}
.brand-fallback img{width:62px;height:62px;border-radius:50%;background:#fff;border:1px solid rgba(210,77,77,.18);box-shadow:var(--shadow-1);padding:4px;flex:0 0 auto}

.news-cover img,.cta-thumb img,.about-image img,.hero-media img,.faq-illustration img{display:block;width:100%;height:100%;object-fit:cover}
.news-cover img{height:100%}
.news-link-cover{display:block}
.archive-shell,.page-shell,.single-shell,.error-shell{
  padding:24px 0 40px;
}
.breadcrumbs{
  color:var(--muted);
  font-size:14px;
  margin-bottom:16px;
}
.content-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:20px;
}
.article-card,
.sidebar-card{
  background:linear-gradient(180deg, rgba(255,255,255,.985), rgba(255,255,255,.95));
  border:1px solid var(--line);
  border-radius:var(--radius-2);
  box-shadow:var(--shadow-1);
}
.article-card{padding:24px 28px}
.sidebar-card{padding:20px}
.article-card h1,.article-card h2,.article-card h3{color:var(--primary)}
.article-meta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
  margin-bottom:16px;
}
.article-thumbnail{
  margin:0 0 18px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
}
.article-body{
  color:#44546c;
  font-size:16px;
  line-height:2.1;
}
.article-body p{margin:0 0 14px}
.archive-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.cards-archive{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.archive-item{
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-1);
}
.archive-item .archive-body{
  padding:16px;
}
.archive-item h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.7;
}
.archive-item p{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
}
.pagination-wrap{margin-top:24px}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}
.doc-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1d2741;
  font-weight:900;
  box-shadow:0 14px 26px rgba(229,181,77,.22);
}
.doc-meta-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}
.doc-meta-list li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background:#fbfdff;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.footer-bottom-links a{position:relative}
.footer-bottom-links a + a::before{
  content:"";
  width:1px;height:14px;background:rgba(255,255,255,.18);
  position:absolute;inset-inline-start:-9px;top:50%;transform:translateY(-50%);
}
.fallback-note{
  color:var(--muted);
  font-size:13px;
  margin-top:10px;
}
.main-nav.open ul{
  display:flex;
  width:100%;
  flex-direction:column;
  align-items:stretch;
}
.main-nav.open li a{
  width:100%;
  text-align:center;
  font-size:14px;
}
@media (max-width:1180px){
  .cards-archive{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .main-nav ul{
    display:none;
    width:100%;
    padding:10px;
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:var(--shadow-1);
    flex-direction:column;
    align-items:stretch;
  }
  .content-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .cards-archive{grid-template-columns:1fr}
  .article-card{padding:20px}
}



/* ===== v2.1 refinements ===== */
body{
  font-family:"Vazirmatn", Tahoma, Arial, sans-serif;
  font-size:16px;
}
.hero-title{
  font-size:clamp(34px,4.6vw,58px);
  line-height:1.28;
  letter-spacing:-.6px;
}
.hero-desc{
  font-size:17px;
  line-height:2;
}
.section-title{
  font-size:30px;
}
.section-sub{
  font-size:14px;
  line-height:1.95;
}
.brand-copy strong{
  font-size:15px;
  line-height:1.65;
}
.brand-copy span{
  font-size:12px;
  line-height:1.7;
}
.service h3{
  font-size:19px;
}
.about-copy p{
  font-size:15px;
  line-height:2.05;
}
.step{
  min-height:166px;
}
.step strong{
  font-size:17px;
}
.step p{
  font-size:13px;
  line-height:1.95;
}
.featured-news-section .section-head{
  margin-bottom:20px;
}
.news-grid--featured{
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.news-grid--featured .news h3{
  min-height:62px;
  font-size:16px;
  line-height:1.85;
}
.news-grid--featured .news-body{
  padding:16px;
}
.news-grid--featured .news-cover{
  aspect-ratio:16/9;
}
.docs-panel .docs-list{
  grid-template-columns:1fr;
}
.docs-panel .doc{
  padding:16px 18px;
}
.docs-panel .doc-copy strong{
  font-size:16px;
}
.docs-panel .doc-copy span{
  font-size:13px;
}
.footer{
  margin-top:36px;
}
.footer-top{
  padding:48px 0 26px;
  grid-template-columns:1.15fr .9fr .95fr .9fr;
  gap:28px;
}
.footer-brand{
  align-items:center;
  margin-bottom:16px;
}
.footer-brand img{
  width:72px;
  height:72px;
}
.footer-brand strong{
  font-size:20px;
}
.footer-brand span{
  font-size:13px;
}
.footer-about{
  max-width:420px;
  margin:0;
}
.footer-links li a{
  display:block;
  padding:4px 0;
}
.footer-contact{
  gap:12px;
}
.footer-contact li{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
}
.footer-contact-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  flex:0 0 42px;
  color:#fff;
}
.footer-contact-icon svg{
  width:20px;
  height:20px;
  display:block;
  stroke:currentColor;
  fill:none;
}
.footer-contact-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.footer-contact-label{
  font-size:12px;
  line-height:1.6;
  color:rgba(255,255,255,.62);
}
.footer-contact-value{
  font-size:14px;
  line-height:1.85;
  color:#fff;
  word-break:break-word;
}
.footer svg{
  max-width:100%;
  max-height:100%;
}
.socials{
  margin-top:18px;
}
.social{
  width:46px;
  height:46px;
}
.social svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
}
.seals{
  margin-top:16px;
}
.seal{
  padding:10px 14px;
}
.footer-bottom{
  padding:18px 0 24px;
}
.footer-bottom p,
.footer-bottom a{
  font-size:13px;
  line-height:1.9;
}
@media (max-width:1180px){
  .news-grid--featured{
    grid-template-columns:repeat(2,1fr);
  }
  .footer-top{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:860px){
  .news-grid--featured{
    grid-template-columns:1fr;
  }
  .footer-top{
    grid-template-columns:1fr;
  }
  .footer-contact li{
    padding:12px;
  }
  .section-title{
    font-size:28px;
  }
}
@media (max-width:720px){
  body{
    font-size:15px;
  }
  .hero-title{
    font-size:36px;
  }
  .news-grid--featured .news h3{
    min-height:0;
  }
  .footer-brand{
    align-items:flex-start;
  }
}


/* Portal / Plugin integration */
.header-ghost-btn{margin-inline-end:10px}
.portal-shell{padding-top:18px}
.portal-container{display:grid;gap:18px}
.portal-head{padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.portal-title{font-size:32px;margin:8px 0 0}
.portal-subtitle{max-width:780px}
.portal-head-actions{display:flex;gap:12px;flex-wrap:wrap}
.portal-card{padding:30px}
.portal-body > :first-child{margin-top:0}
.footer-links--portal{gap:6px}
.tmsab-plugin-page .article-card,.tmsab-plugin-page .card{box-shadow:var(--shadow-1)}
.tmsab-plugin-page .breadcrumbs{display:none}
@media (max-width:860px){
  .header-ghost-btn{display:none}
  .portal-head{padding:20px}
  .portal-card{padding:20px}
}


.header-role-label{font-size:12px;font-weight:700;opacity:.9}
.role-pathways-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.role-pathway-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-1);padding:20px 20px 18px;display:grid;gap:10px}
.role-pathway-card h3{margin:0;font-size:20px;line-height:1.5}
.role-pathway-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.9}
.role-pathway-badge{display:inline-flex;justify-content:center;align-items:center;padding:7px 12px;border-radius:999px;background:#eef5ff;color:var(--primary);font-size:12px;font-weight:900;width:max-content}
.role-pathway-link{display:inline-flex;margin-top:4px;color:var(--primary);font-weight:900}
.tmsab-plugin-page .portal-card,.tmsab-plugin-page .portal-head{border-radius:28px}
.tmsab-plugin-page .portal-body{padding-top:8px}
@media (max-width: 1180px){.role-pathways-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 720px){.role-pathways-grid{grid-template-columns:1fr;}.header-role-label{display:none}}

.menu-item-auth a{background:rgba(229,181,77,.12)!important;color:#9a6b00!important}.header-ghost-btn{min-width:138px}.header-cta{gap:10px}.site-header{box-shadow:0 8px 24px rgba(18,62,124,.05)}@media (max-width:860px){.header-cta .header-ghost-btn{display:none}}