/* Project overrides: loaded after the generated design stylesheet. */
html { scroll-behavior:smooth; scroll-padding-top:24px; }
body { margin:0; overflow-wrap:break-word; }
body > div { overflow-x:clip; }
img { max-width:100%; }
/* Use the supplied 488x476 crop immediately, before the enhancement script
   replaces the generated PNG reference with the equivalent SVG asset. */
.service-page img[src$="ae0a4f9fd09080d9.png"] {
  content:url("images/economic-analysis-metrics.svg");
  left:0!important;
  top:0!important;
  width:488px!important;
  height:476px!important;
}
html[lang="ar"] :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,input,textarea,button,a) { unicode-bidi:plaintext; }
input,textarea,button { font:inherit; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid #7681af; outline-offset:4px; }
[id] { scroll-margin-top:24px; }
.skip-link { position:fixed; top:8px; left:8px; z-index:9999; padding:12px 18px; background:white; color:#333; transform:translateY(-200%); }
.skip-link:focus { transform:none; }
.contact-link { text-decoration:underline; text-underline-offset:3px; }
.contact-help { font-size:14px; line-height:1.5; }
/* Keep the complete card composition on tablets and laptops. The shared
   script scales the fixed canvas and reserves its actual displayed height. */
@media (min-width:600px) {
  /* Match the regular white cards in the mobile Figma layouts. */
  #site-root .bg-card {
    box-shadow:0 3.462px 13.847px -1.731px rgba(0,0,0,.08);
  }
  #site-root.service-canvas-scaled { position:relative; width:100%; overflow:hidden; }
  #site-root.service-canvas-scaled > .service-page {
    margin:0!important;
    transform-origin:top left;
    transform:scale(var(--service-canvas-scale));
  }
}
@media (max-width:599px) {
  #site-root form button[type="submit"] {
    display:inline-flex; align-items:center; justify-content:center;
    white-space:nowrap; overflow-wrap:normal; word-break:normal; text-align:center;
  }
  /* Replace canvas positioning with document flow on service pages. */
  .service-page { box-sizing:border-box; width:100%!important; height:auto!important; max-width:960px; padding:24px!important; }
  .service-page [class~="absolute"],.service-page [class~="relative"] {
    position:static!important; inset:auto!important; transform:none!important;
    width:auto!important; max-width:100%!important; height:auto!important; min-height:0!important;
  }
  .service-page > div:empty,.service-page [class~="pointer-events-none"] { display:none!important; }
  .service-page > div { margin:16px 0; }
  .service-page > a:first-of-type { display:flex; align-items:center; gap:16px; margin-bottom:24px; }
  .service-page > a:first-of-type img { width:56px; height:56px; }
  .service-page > a:not([data-slot="button"]):not(:first-of-type) { display:inline-block; margin:0 16px 16px 0; }
  .service-page [class*="whitespace-nowrap"] { white-space:normal!important; }
  .service-page h1 { font-size:clamp(32px,5vw,48px)!important; line-height:1.15!important; margin:40px 0 24px; }
  .service-page h2 { font-size:clamp(26px,4vw,38px)!important; line-height:1.2!important; margin:48px 0 24px; }
  .service-page h3 { font-size:26px!important; line-height:1.25!important; margin:24px 0 16px; }
  .service-page p,.service-page li { line-height:1.6!important; margin:12px 0 24px; }
  .service-page > span { display:block; margin-top:24px; font-size:28px!important; line-height:1.2!important; }
  .service-page [data-slot="button"] { display:inline-flex; padding:14px 24px; min-height:48px; margin:12px 0; }
  .service-page img { height:auto!important; object-fit:contain; }
  .service-page > img { display:block; max-height:320px; max-width:100%; margin:24px auto; }
  .service-page form { display:grid; gap:16px; width:100%!important; }
  .service-page input,.service-page textarea { box-sizing:border-box; display:block; width:100%!important; padding:16px!important; min-height:54px!important; margin:0!important; }
  .service-page textarea { min-height:160px!important; }
  .service-page #contact { background:#fff; border-radius:10px; padding:24px; margin-top:48px; }
  .service-page #contact h2 { margin-top:0; }
  .service-page footer { box-sizing:border-box; padding:32px 24px!important; height:auto!important; }
  .service-page footer img { max-width:160px; }
  .service-page footer dl { display:grid; grid-template-columns:auto 1fr; gap:8px; }
  .service-page footer dd { min-width:0; overflow-wrap:anywhere; }
}
@media (max-width:599px) {
  body > div:not(.service-page) header { height:auto!important; min-height:90px; gap:16px; padding:20px 16px!important; flex-wrap:wrap; }
  body > div:not(.service-page) header > div { gap:16px!important; }
  body > div:not(.service-page) header nav { display:flex!important; flex-wrap:wrap; gap:16px!important; }
  body > div:not(.service-page) form > div { flex-direction:column; }
  body > div:not(.service-page) form input { width:100%!important; min-width:0; }
  body > div:not(.service-page) #services > div { padding:28px 20px!important; }
  body > div:not(.service-page) #services h3 { font-size:26px!important; line-height:1.3!important; overflow-wrap:anywhere; }
  body > div:not(.service-page) #services li a { height:auto!important; min-height:60px; padding:12px 0; }
  .service-page { padding:20px 16px!important; }
}
.mobile-service-layout { display:none; }
.mobile-home-logo { display:none; }
.home-mobile-menu-button,.home-mobile-menu-panel { display:none; }
@media (max-width:599px) {
  #site-root { --font-display:"Roboto Serif"; }
  .mobile-hero-cta { display:inline-flex; align-items:center; justify-content:center; min-height:37px; margin-top:18px; padding:10px 18px; border-radius:4px; background:#7681af; color:white; font-size:11px; }
  .mobile-form-status { margin:0; font-size:12px; line-height:1.4; }
  .mobile-contact-form button:disabled { opacity:.6; cursor:wait; }
  html,body { width:100%; min-width:320px; overflow-x:hidden; }
  body { background:#f6f6f6; color:#626262; }

  /* Shared compact header from the 402 px Figma frames. */
  .mobile-compact-header {
    box-sizing:border-box; position:relative; display:flex; align-items:center; justify-content:flex-end;
    width:100%; height:57px; padding:0 25px; gap:28px; border-radius:5px; background:#fff;
    box-shadow:0 1.088px 4.351px -.544px rgba(0,0,0,.08); z-index:30;
  }
  #site-root header > a.mobile-home-logo {
    position:absolute; left:27px; top:12px; display:flex!important; align-items:center;
    gap:10px; width:113px; height:33px; color:#626262; text-decoration:none;
  }
  #site-root header > a.mobile-home-logo img { display:block; width:31px; height:31px; object-fit:contain; }
  #site-root header > a.mobile-home-logo span { font-family:"Roboto Serif Mobile","Roboto Serif",serif; font-size:9.652px; font-weight:700; line-height:1.122; }
  .mobile-language { position:relative; }
  .mobile-language-button {
    display:flex; align-items:center; justify-content:space-between; width:39px; height:25px;
    padding:0 7px; border:.55px solid rgba(98,98,98,.5); border-radius:3px;
    background:#fff; color:#626262; font-size:9px; line-height:1;
  }
  .mobile-language-button img { width:5px; height:4px; max-width:none; }
  .mobile-menu-button,.home-mobile-menu-button {
    display:flex; align-items:center; justify-content:center; width:27px; height:22px; padding:0;
    border:0; background:transparent; color:#626262;
  }
  .mobile-menu-button img,.home-mobile-menu-button img { width:27px; height:20px; max-width:none; }
  .mobile-language-list,.mobile-menu-panel,.home-mobile-menu-panel {
    box-sizing:border-box; position:absolute; right:0; top:calc(100% + 8px); z-index:50;
    width:min(280px,calc(100vw - 40px)); margin:0; padding:7px; list-style:none;
    border:1px solid #ececec; border-radius:5px; background:#fff;
    box-shadow:0 4px 18px rgba(0,0,0,.12);
  }
  .mobile-language-list[hidden],.mobile-menu-panel[hidden],.home-mobile-menu-panel[hidden] { display:none!important; }
  .mobile-language-list button,.mobile-menu-link {
    box-sizing:border-box; display:flex; align-items:center; justify-content:space-between;
    width:100%; min-height:42px; padding:9px 12px; border:0; background:transparent;
    color:#626262; font-size:13px; line-height:1.2; text-align:left; text-decoration:none;
  }
  .mobile-language-list button[aria-selected="true"] { color:#7681af; }
  .mobile-menu-panel,.home-mobile-menu-panel { top:65px; }
  .mobile-compact-header .mobile-menu-panel:not([hidden]) { display:block!important; }

  /* Service pages: the desktop 1440 px canvas remains intact and hidden only at mobile widths. */
  #site-root > .service-page { display:none!important; }
  #site-root > .mobile-service-layout {
    box-sizing:border-box; display:block; width:100%; max-width:442px; margin:0 auto;
    padding:21px 20px 24px; background:#f6f6f6; color:#626262;
  }
  .mobile-service-hero { display:flex; flex-direction:column; gap:12px; margin-top:12px; }
  .mobile-service-visual {
    display:flex; align-items:flex-end; justify-content:center; height:279px; overflow:hidden;
    border-radius:5px; background:#7681af; box-shadow:0 3.462px 13.847px -1.731px rgba(0,0,0,.08);
    background-position:center; background-repeat:no-repeat; background-size:contain;
  }
  .mobile-service-image { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
  .mobile-service-intro {
    box-sizing:border-box; min-height:256px; padding:35px 27px 28px; border-radius:5px; background:#fff;
    box-shadow:0 1.088px 4.351px -.544px rgba(0,0,0,.08);
  }
  .mobile-service-title,.mobile-service-title * {
    margin:0!important; white-space:normal!important; color:#626262; font-family:var(--font-display),serif;
    font-size:24px!important; font-weight:700; line-height:1.122!important;
  }
  .mobile-service-title span { color:#7681af; }
  .mobile-service-lead,.mobile-service-lead * {
    margin:19px 0 0!important; color:#626262; font-size:13px!important; line-height:1.12!important;
  }
  .mobile-service-content { display:flex; flex-direction:column; gap:15px; margin-top:24px; }
  .mobile-section-heading { margin:9px 0 0; }
  .mobile-section-title,.mobile-section-title * {
    margin:0!important; white-space:normal!important; color:#626262; font-family:var(--font-display),serif;
    font-size:24px!important; font-weight:700!important; line-height:1.122!important;
  }
  .mobile-section-title span,.mobile-section-title em { color:#7681af!important; font-style:italic; }
  .mobile-content-card {
    box-sizing:border-box; display:flex; flex-direction:column; align-items:stretch; min-height:var(--mobile-card-min-height,174px);
    padding:28px 31px 24px; overflow:hidden; border-radius:5px; background:#fff;
    box-shadow:0 3.462px 13.847px -1.731px rgba(0,0,0,.08);
  }
  .mobile-content-card-accent { padding:0; background:#7681af; }
  .mobile-service-layout[data-page="transaction-structuring"] { --mobile-card-min-height:214px; }
  .mobile-service-layout[data-page="business-delegations"] { --mobile-card-min-height:157px; }
  .mobile-service-layout[data-page="partner-search"] { --mobile-card-min-height:231px; }
  .mobile-service-layout[data-page="fund-management"] { --mobile-card-min-height:212px; }
  .mobile-service-layout[data-page="export-control"] { --mobile-card-min-height:219px; }
  .mobile-service-layout[data-page="corporate-law"] { --mobile-card-min-height:226px; }
  .mobile-service-layout[data-page="business-setup"] { --mobile-card-min-height:260px; }
  .mobile-service-layout[data-page="dispute-resolution"] { --mobile-card-min-height:163px; }
  .mobile-service-layout[data-page="compliance"] { --mobile-card-min-height:219px; }
  .mobile-service-layout[data-page="international-arbitration"] { --mobile-card-min-height:223px; }
  .mobile-service-layout[data-page="intellectual-property"] { --mobile-card-min-height:220px; }
  .mobile-card-number,.mobile-card-number * {
    order:-2; margin:0!important; color:#7681af!important; font-family:var(--font-display),serif;
    font-size:32px!important; font-weight:700!important; font-style:italic; line-height:1.122!important;
  }
  .mobile-card-heading,.mobile-card-heading * {
    margin:0 0 18px!important; white-space:normal!important; color:#626262;
    font-family:var(--font-display),serif; font-size:24px!important; font-weight:700!important; line-height:1.122!important;
  }
  .mobile-card-copy,.mobile-card-copy * {
    margin:18px 0 0!important; white-space:normal!important; color:#626262;
    font-size:13px!important; line-height:1.13!important;
  }
  .mobile-card-copy strong,.mobile-card-copy [class*="ExtraBold"],.mobile-card-copy [class*="font-semibold"] { font-weight:800!important; }
  .mobile-card-media { order:3; display:block; width:calc(100% + 62px)!important; margin:20px -31px -24px!important; }
  .mobile-card-media img,.mobile-card-media > img { display:block; width:100%!important; height:auto!important; max-height:330px; object-fit:contain; }
  img.mobile-card-media { height:auto!important; max-height:330px; object-fit:contain; }
  .mobile-content-card-accent .mobile-card-media { width:100%!important; height:100%; margin:0!important; }
  .mobile-content-card-accent .mobile-card-media img,.mobile-content-card-accent img.mobile-card-media { height:100%!important; max-height:none; object-fit:contain; }
  .mobile-card-link { margin-top:18px; color:#7681af; font-size:13px; }
  .mobile-standalone-media { overflow:hidden; min-height:240px; border-radius:5px; background:#7681af; }
  .mobile-standalone-media > div { width:100%; height:100%; }
  .mobile-standalone-media img { position:static!important; inset:auto!important; display:block; width:100%!important; height:auto!important; max-height:360px; object-fit:contain; transform:none!important; }
  .mobile-standalone-copy,.mobile-standalone-inner,.mobile-standalone-inner * { margin:0; font-size:13px!important; line-height:1.15!important; }
  .mobile-contact-card {
    box-sizing:border-box; margin-top:27px; padding:34px 27px 30px; border-radius:5px; background:#fff;
    box-shadow:0 1.088px 4.351px -.544px rgba(0,0,0,.08);
  }
  .mobile-contact-title,.mobile-contact-title * {
    margin:0!important; white-space:normal!important; font-family:var(--font-display),serif;
    font-size:24px!important; font-weight:700!important; line-height:1.122!important;
  }
  .mobile-contact-title span,.mobile-contact-title em { color:#7681af!important; font-style:italic; }
  .mobile-contact-lead,.mobile-contact-lead * { margin:18px 0 0!important; font-size:13px!important; line-height:1.2!important; }
  .mobile-contact-form { display:grid!important; gap:12px; width:100%!important; margin-top:22px; }
  .mobile-contact-form input,.mobile-contact-form textarea {
    box-sizing:border-box; position:static!important; display:block; width:100%!important; min-height:48px!important;
    padding:13px 16px!important; border:0; border-radius:5px; background:#f6f6f6; color:#626262;
    font-size:13px!important; line-height:1.2!important;
  }
  .mobile-contact-form textarea { min-height:132px!important; resize:vertical; }
  .mobile-contact-form button {
    position:static!important; display:inline-flex!important; align-items:center; justify-content:center;
    width:131px!important; height:38px!important; margin-top:2px; border:0; border-radius:4px;
    background:#7681af; color:#fff; font-size:11px!important;
  }
  .mobile-service-footer {
    box-sizing:border-box; position:relative!important; width:100%!important; height:auto!important;
    margin-top:14px!important; padding:32px 27px!important; overflow:hidden; border-radius:5px; background:#fff;
  }
  .mobile-service-footer :where(div,p,dl,ul,img) { position:static!important; inset:auto!important; width:auto; height:auto; }
  .mobile-service-footer > div > div:first-child img { width:48px; height:48px; }
  .mobile-service-footer p,.mobile-service-footer dt,.mobile-service-footer dd,.mobile-service-footer li,.mobile-service-footer a { font-size:12px!important; line-height:1.55!important; }
  .mobile-service-footer dl { display:grid!important; grid-template-columns:max-content minmax(0,1fr); gap:4px 10px; margin-top:12px!important; }
  .mobile-service-footer ul { margin-top:12px!important; padding:0; list-style:none; }
  .mobile-service-footer > img { display:block; width:190px!important; margin:24px auto 0!important; }

  /* Homepage: same spacing and component sizes as frame 820:2. */
  #site-root > div:not(.service-page):not(.mobile-service-layout) { padding-top:21px!important; padding-bottom:24px!important; }
  #site-root > div:not(.service-page):not(.mobile-service-layout) > div:first-child { padding-left:20px!important; padding-right:20px!important; }
  #site-root > div:not(.service-page):not(.mobile-service-layout) header {
    box-sizing:border-box; position:relative; display:flex; justify-content:flex-end; width:100%; height:57px!important;
    min-height:57px!important; padding:0 25px!important; gap:28px!important; border-radius:5px!important; flex-wrap:nowrap!important;
  }
  #site-root > div:not(.service-page):not(.mobile-service-layout) header > a:first-child,
  #site-root > div:not(.service-page):not(.mobile-service-layout) header nav:not(.home-mobile-menu-panel),
  #site-root > div:not(.service-page):not(.mobile-service-layout) header a[data-slot="button"] { display:none!important; }
  #site-root > div:not(.service-page):not(.mobile-service-layout) header > div { margin-left:0!important; gap:0!important; }
  #site-root > div:not(.service-page):not(.mobile-service-layout) header > div > .relative > button {
    width:39px!important; height:25px!important; padding:0 7px!important; border-width:.55px!important;
    border-radius:3px!important; font-size:9px!important;
  }
  #site-root > div:not(.service-page):not(.mobile-service-layout) header > div > .relative > button svg { width:5px; height:4px; }
  .home-mobile-menu-panel { top:65px; right:0; }
  #site-root #top {
    display:flex; flex-direction:column; gap:12px; min-height:0!important; margin-top:12px!important;
    padding:0!important; overflow:visible!important; border-radius:0!important; background:transparent!important;
  }
  #site-root #top > img {
    order:0; display:block; width:100%!important; height:279px!important; margin:0!important;
    border-radius:5px; background:#7681af; object-fit:cover; object-position:center;
    box-shadow:0 3.462px 13.847px -1.731px rgba(0,0,0,.08);
  }
  #site-root #top > div {
    order:1; box-sizing:border-box; position:static!important; min-height:279px; padding:35px 26px 27px!important;
    border-radius:5px; background:#fff; box-shadow:0 1.088px 4.351px -.544px rgba(0,0,0,.08);
  }
  #site-root #top h1,#site-root #top h1 * { margin:0!important; font-size:24px!important; line-height:1.122!important; }
  #site-root #top p { margin-top:20px!important; font-size:12px!important; line-height:1.12!important; }
  #site-root #top a[data-slot="button"] {
    width:130px!important; height:37px!important; margin-top:20px!important; border-radius:4px!important; font-size:11px!important;
  }
  #site-root section[data-node-id="215:167"] { margin-top:24px!important; }
  #site-root section[data-node-id="215:167"] > h2,
  #site-root #regions > h2,#site-root #advantages > h2,
  #site-root #advantages + div > h2,#site-root #contact h2 {
    font-size:24px!important; line-height:1.122!important;
  }
  #site-root #services { grid-template-columns:1fr!important; gap:17px!important; margin-top:18px!important; }
  #site-root #services > div { min-height:442px; padding:34px 26px 26px!important; border-radius:5px!important; }
  #site-root #services h3 { font-size:19px!important; line-height:1.25!important; }
  #site-root #services ul { margin-top:18px!important; }
  #site-root #services li,#site-root #services li a { font-size:13px!important; line-height:1.2!important; }
  #site-root #services li a { min-height:55px!important; padding:10px 0!important; }
  #site-root #services li svg { width:21px; height:10px; }
  #site-root #regions,#site-root #advantages,#site-root #advantages + div,#site-root #contact,#site-root footer {
    left:auto!important; width:auto!important; margin-left:20px!important; margin-right:20px!important; padding-left:0!important; padding-right:0!important;
  }
  #site-root #regions { margin-top:24px!important; }
  #site-root #regions > div { grid-template-columns:1fr!important; gap:15px!important; margin-top:18px!important; }
  #site-root #regions article { height:360px!important; padding:31px 27px!important; border-radius:5px!important; }
  #site-root #regions h3 { font-size:22px!important; line-height:1.15!important; }
  #site-root #regions p { font-size:13px!important; line-height:1.2!important; }
  #site-root #advantages { margin-top:27px!important; }
  #site-root #advantages > div { grid-template-columns:1fr!important; gap:15px!important; margin-top:18px!important; }
  #site-root #advantages > div > div { height:auto!important; min-height:170px; padding:28px 31px!important; border-radius:5px!important; }
  #site-root #advantages span,#site-root #advantages + div span { font-size:38px!important; line-height:1.122!important; }
  #site-root #advantages p,#site-root #advantages + div p { margin-top:20px!important; font-size:13px!important; line-height:1.15!important; }
  #site-root #advantages > div > div:last-child { min-height:330px; padding:0!important; }
  #site-root #advantages > div > div:last-child img { position:static!important; width:100%!important; height:100%!important; object-fit:contain; }
  #site-root #advantages + div { margin-top:27px!important; }
  #site-root #advantages + div > img { display:none!important; }
  #site-root #advantages + div [data-node-id="215:154"] { grid-template-columns:1fr!important; gap:15px!important; margin-top:18px!important; padding:0!important; }
  #site-root #advantages + div [data-node-id="215:154"] > div { gap:15px!important; }
  #site-root #advantages + div [data-node-id="215:154"] > div > div { height:auto!important; min-height:170px; padding:28px 31px!important; border-radius:5px!important; }
  #site-root #contact { margin-top:27px!important; }
  #site-root #contact section { min-height:0!important; height:auto!important; padding:34px 27px 30px!important; border-radius:5px!important; }
  #site-root #contact section > div { max-width:none!important; }
  #site-root #contact p { margin-top:18px!important; font-size:13px!important; line-height:1.2!important; }
  #site-root #contact form { gap:12px!important; margin-top:22px!important; }
  #site-root #contact form > div { gap:12px!important; }
  #site-root #contact input,#site-root #contact textarea { width:100%!important; min-height:48px!important; padding:13px 16px!important; font-size:13px!important; }
  #site-root #contact textarea { height:132px!important; min-height:132px!important; }
  #site-root #contact button { width:131px!important; height:38px!important; font-size:11px!important; }
  #site-root #contact > section > img { display:none!important; }
  #site-root footer { box-sizing:border-box; height:auto!important; margin-top:14px!important; padding:32px 27px!important; border-radius:5px!important; }
  #site-root footer p,#site-root footer dt,#site-root footer dd,#site-root footer li,#site-root footer a { font-size:12px!important; line-height:1.55!important; }
  #site-root footer dl { grid-template-columns:max-content minmax(0,1fr)!important; gap:4px 10px!important; }
  #site-root footer > img { width:190px!important; margin:24px auto 0!important; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
