/* Global Business: shared service and registration system */

.secondary-page.business-detail { overflow-x: clip !important; overflow-y: visible !important; }
.secondary-page.business-detail main { overflow: visible !important; }

.gb-service-layout {
  padding: 76px 0 104px;
  background: #f3f7fa;
  border-top: 1px solid #dbe4eb;
}

.gb-service-layout > .shell {
  display: grid;
  grid-template-columns: 276px minmax(0, 860px);
  gap: 50px;
  justify-content: center;
  align-items: start;
}

.gb-service-sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 132px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d5e0e8;
  border-top: 3px solid #c4933f;
  box-shadow: 0 14px 34px rgba(5, 37, 70, .07);
}

.gb-service-sidebar-block + .gb-service-sidebar-block { border-top: 1px solid #d5e0e8; }
.gb-service-sidebar-label {
  margin: 0;
  padding: 18px 24px 9px;
  color: #a97622;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gb-service-toc { display: block; padding: 0 15px 17px; }
.gb-service-toc a {
  position: relative;
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid #e0e7ec;
  color: #4d657b;
  font-size: 12px;
  font-weight: 650;
}
.gb-service-toc a::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  background: transparent;
}
.gb-service-toc a:hover,
.gb-service-toc a:focus-visible,
.gb-service-toc a.is-active { padding-left: 19px; color: #0d58a3; background: #f1f6fa; }
.gb-service-toc a.is-active::before { background: #c4933f; }

.gb-service-sidebar-title {
  margin: 0;
  padding: 24px 24px 18px;
  color: #092f5d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.25;
}

.gb-service-nav {
  display: block;
  padding: 0 18px 20px;
}

.gb-service-nav a {
  position: relative;
  display: block;
  padding: 11px 26px 11px 7px;
  border-top: 1px solid #dde5ec;
  color: #405b74;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  transition: color .2s ease, padding-left .2s ease, background-color .2s ease;
}

.gb-service-nav a::after {
  content: "→";
  position: absolute;
  top: 11px;
  right: 7px;
  color: #c4933f;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .2s ease, transform .2s ease;
}

.gb-service-nav a:hover,
.gb-service-nav a:focus-visible,
.gb-service-nav a.is-current,
.gb-service-nav a[aria-current="page"] {
  padding-left: 12px;
  color: #0d58a3;
  background: #f5f8fb;
}

.gb-service-nav a:hover::after,
.gb-service-nav a:focus-visible::after,
.gb-service-nav a.is-current::after,
.gb-service-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: none;
}

.gb-service-content {
  min-width: 0;
  padding: 0 52px;
  background: #fff;
  border: 1px solid #d5e0e8;
}

.gb-service-section {
  padding: 56px 0;
  border-bottom: 1px solid #d9e3ea;
  scroll-margin-top: 108px;
}

.gb-service-section:last-child { border-bottom: 0; }

.gb-service-section > :first-child { margin-top: 0; }
.gb-service-section > :last-child { margin-bottom: 0; }

.gb-service-section .eyebrow,
.gb-service-section .service-kicker {
  margin-bottom: 17px;
  color: #6b7f91;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gb-service-section h2 {
  max-width: 740px;
  margin: 0 0 20px;
  color: #082f60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 2.65vw, 39px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.gb-service-section h3 {
  margin: 0 0 11px;
  color: #0a3768;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.28;
}

.gb-service-section p,
.gb-service-section li {
  color: #536b80;
  font-size: 16px;
  line-height: 1.82;
}

.gb-service-intro > p:not(.eyebrow):not(.service-kicker) {
  max-width: 810px;
  color: #405e78;
  font-size: 18px;
  line-height: 1.8;
}

.gb-service-grid {
  display: block;
  margin-top: 32px;
}

.gb-service-grid > * {
  min-width: 0;
  padding: 25px 0 26px;
  border-top: 1px solid #d5e0e8;
}

.gb-service-grid > *:first-child { border-top: 2px solid #d4a14b; }
.gb-service-grid > * + * { margin-top: 0; }

.gb-service-grid .gb-service-list { grid-template-columns: 1fr; }

.secondary-page main article.gb-service-content:hover {
  z-index: auto;
  border-color: #d5e0e8;
  box-shadow: none;
  transform: none;
}

.secondary-page main .gb-service-content article:hover {
  z-index: auto;
  border-color: inherit;
  box-shadow: none;
  transform: none;
}

.gb-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  padding: 0;
  margin: 27px 0 0;
  list-style: none;
}

.gb-service-list li {
  position: relative;
  padding: 15px 0 15px 22px;
  border-top: 1px solid #dbe4ea;
}

.gb-service-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 2px solid #c4933f;
  border-radius: 50%;
}

.gb-service-process {
  display: block;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.gb-service-process > li {
  position: relative;
  padding: 24px 4px 25px 34px;
  border-top: 1px solid #d5e0e8;
}

.gb-service-process > li::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid #0d58a3;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff;
  background: #0d58a3;
}

.gb-service-process strong {
  display: block;
  margin-bottom: 5px;
  color: #0a3768;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.gb-service-note {
  margin-top: 28px;
  padding: 22px 25px;
  border-left: 3px solid #c4933f;
  background: #eef4f8;
}

.gb-service-faq {
  margin-top: 26px;
  border-top: 1px solid #d6e1e8;
}

.gb-service-faq details { border-bottom: 1px solid #d6e1e8; }

.gb-service-faq summary {
  position: relative;
  padding: 20px 42px 20px 0;
  color: #0a3768;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.gb-service-faq summary::-webkit-details-marker { display: none; }
.gb-service-faq summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 4px;
  color: #c4933f;
  font-family: Inter, Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
}
.gb-service-faq details[open] summary::after { content: "−"; }
.gb-service-faq details > *:not(summary) { margin: 0 0 22px; }

/* Seven-market company registration directory */
.gb-registration-hero {
  padding: 76px 0 66px;
  background: #eef4f8;
  border-bottom: 1px solid #d7e2ea;
}

.gb-registration-hero .shell { max-width: 1120px; }
.gb-registration-hero h1 {
  max-width: 920px;
  margin: 18px 0 22px;
  color: #082f60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.gb-registration-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #49657d;
  font-size: 17px;
  line-height: 1.8;
}

.gb-registration-directory { padding: 76px 0 102px; background: #fff; }
.gb-registration-directory header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 9%;
  align-items: end;
  margin-bottom: 36px;
}
.gb-registration-directory header > .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -4px;
}
.gb-registration-directory header h2 {
  margin: 0;
  color: #082f60;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.08;
}
.gb-registration-directory header p:not(.eyebrow) {
  margin: 0;
  color: #536b80;
  font-size: 15px;
  line-height: 1.75;
}

.gb-region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 28px;
}
.gb-region-filter {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #cfdce6;
  border-radius: 24px;
  background: #fff;
  color: #31506d;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.gb-region-filter:hover,
.gb-region-filter.is-current,
.gb-region-filter[aria-pressed="true"] {
  border-color: #0d58a3;
  background: #0d58a3;
  color: #fff;
}
[data-region-status] { margin: -13px 0 25px; color: #6a7e91; font-size: 12px; }

.gb-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gb-country-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d4e0e8;
  border-top: 3px solid #c4933f;
  box-shadow: 0 12px 30px rgba(5, 37, 70, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.gb-country-card[hidden] { display: none; }
.gb-country-card-image { height: 225px; margin: 0; overflow: hidden; background: #dce5eb; }
.gb-country-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.gb-country-card-body { display: flex; min-height: 280px; padding: 25px 25px 22px; flex-direction: column; }
.gb-country-card-title { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.gb-country-flag { width: 44px; height: 30px; border: 1px solid #d8e1e8; object-fit: cover; }
.gb-country-card-title p,
.gb-country-card-title span {
  display: block;
  margin: 0 0 3px;
  color: #b27821;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.gb-country-card h3 { margin: 0; color: #082f60; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.2; }
.gb-country-meta { margin: 23px 0 20px; }
.gb-country-meta div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid #dce5eb; }
.gb-country-meta dt { color: #6a7f92; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gb-country-meta dd { margin: 0; color: #425f79; font-size: 12px; line-height: 1.5; }
.gb-country-card-body > :last-child { margin-top: auto; color: #0d58a3; font-size: 12px; font-weight: 800; }
.gb-country-card:hover { border-color: #b9cad7; box-shadow: 0 20px 42px rgba(5, 37, 70, .12); transform: translateY(-5px); }
.gb-country-card:hover .gb-country-card-image img { transform: scale(1.035); }

.gb-registration-cta { padding: 74px 0; background: #082f60; color: #fff; }
.gb-registration-cta .shell { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9%; align-items: center; }
.gb-registration-cta h2 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4vw, 54px); font-weight: 500; line-height: 1.08; }
.gb-registration-cta p { margin: 0 0 22px; color: #d0deeb; font-size: 15px; line-height: 1.75; }
.gb-registration-cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 25px; }
.gb-registration-cta-actions .text-link { color: #fff; border-bottom-color: #d4aa62; }
.gb-registration-cta-actions .text-link:hover { color: #e6c98f; }

@media (max-width: 1060px) {
  .gb-service-layout > .shell { grid-template-columns: 1fr; gap: 28px; }
  .gb-service-sidebar { position: static; max-height: none; }
  .gb-service-toc { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gb-service-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .gb-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .gb-service-layout { padding: 48px 0 70px; }
  .gb-service-nav { display: block; }
  .gb-service-toc { grid-template-columns: 1fr 1fr; }
  .gb-service-content { padding: 0 24px; }
  .gb-service-section { padding: 42px 0; }
  .gb-service-section h2 { font-size: 33px; }
  .gb-service-grid,
  .gb-service-list,
  .gb-service-process,
  .gb-registration-directory header,
  .gb-registration-cta .shell { grid-template-columns: 1fr; }
  .gb-registration-directory header,
  .gb-registration-cta .shell { gap: 24px; }
  .gb-registration-directory header > .eyebrow { margin-bottom: -10px; }
  .gb-country-grid { grid-template-columns: 1fr; }
  .gb-country-card-image { height: 215px; }
  .gb-registration-hero { padding: 55px 0 50px; }
  .gb-registration-directory { padding: 55px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .gb-country-card,
  .gb-country-card-image img,
  .gb-service-nav a { transition: none; }
}
