/* =========================================
   DOCUMENT LEGALIZATION HERO
========================================= */

:root {
  --legalization-dark: #06271e;
  --legalization-green: #00d977;
  --legalization-green-dark: #00b965;
  --legalization-text: #657087;
  --legalization-white: #ffffff;
}

.legalization-hero,
.legalization-hero * {
  box-sizing: border-box;
}

.legalization-hero {
  position: relative;
  width: 100%;
  min-height: 850px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%,
      rgba(0, 217, 119, 0.025),
      transparent 38%),
    var(--legalization-white);
  font-family: "Inter", sans-serif;
}

.legalization-hero__container {
  position: relative;
  width: min(100%, 1680px);
  min-height: 850px;
  margin: 0 auto;
  padding: 55px 35px 0;
}

/* =========================================
   CONTENT
========================================= */

.legalization-hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 1200px);
  margin: 0 auto;
  text-align: center;
  animation: legalizationContentIn 0.8s ease both;
}

.legalization-hero__eyebrow {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--legalization-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.legalization-hero__title {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--legalization-dark);
  font-size: clamp(40px, 3.8vw, 60px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.052em;
}

.legalization-hero__title span {
  color: var(--legalization-green);
}

.legalization-hero__description {
  max-width: 850px;
  margin: 23px auto 0;
  color: var(--legalization-text);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.012em;
}

/* =========================================
   BUTTON
========================================= */

.legalization-hero__button {
  position: relative;
  display: inline-flex;
  width: 290px;
  min-height: 60px;
  margin-top: 28px;
  padding: 0 24px 0 32px;
  overflow: hidden;
  color: #021c13;
  background: linear-gradient(135deg,
      #00dc79 0%,
      #00d675 55%,
      #00e684 100%);
  border: 1px solid rgba(0, 185, 101, 0.23);
  border-radius: 7px;
  box-shadow:
    0 14px 32px rgba(0, 217, 119, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.legalization-hero__button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.legalization-hero__button span,
.legalization-hero__button svg {
  position: relative;
  z-index: 1;
}

.legalization-hero__button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.legalization-hero__button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 19px 40px rgba(0, 217, 119, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.legalization-hero__button:hover::before {
  left: 135%;
}

.legalization-hero__button:hover svg {
  transform: translateX(6px);
}

/* =========================================
   TRANSPARENT BOTTOM IMAGE
========================================= */

.legalization-hero__visual {
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: 50px;
  width: min(100%, 1660px);
  transform: translateX(50%);
  pointer-events: none;
  animation: legalizationVisualIn 1s 0.12s ease both;
}

.legalization-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
}

/* =========================================
   ANIMATION
========================================= */

@keyframes legalizationContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes legalizationVisualIn {
  from {
    opacity: 0;
    transform: translateX(50%) translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateX(50%) translateY(0);
  }
}

/* =========================================
   LARGE SCREENS
========================================= */

@media (min-width: 1800px) {
  .legalization-hero {
    min-height: 920px;
  }

  .legalization-hero__container {
    min-height: 920px;
    padding-top: 70px;
  }

  .legalization-hero__visual {
    width: 1780px;
  }
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1400px) {
  .legalization-hero {
    min-height: 790px;
  }

  .legalization-hero__container {
    min-height: 790px;
    padding-top: 48px;
  }

  .legalization-hero__title {
    font-size: clamp(43px, 4.2vw, 59px);
  }

  .legalization-hero__description {
    max-width: 800px;
    font-size: 14.5px;
  }

  .legalization-hero__button {
    width: 315px;
    min-height: 61px;
    padding-left: 36px;
    font-size: 16px;
  }

  .legalization-hero__visual {
    width: 1450px;
    max-width: 112%;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
  .legalization-hero {
    min-height: 790px;
  }

  .legalization-hero__container {
    min-height: 790px;
    padding: 45px 25px 0;
  }

  .legalization-hero__eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 0.25em;
  }

  .legalization-hero__title {
    max-width: 900px;
    font-size: clamp(39px, 5.5vw, 52px);
  }

  .legalization-hero__description {
    max-width: 720px;
    font-size: 14px;
  }

  .legalization-hero__visual {
    width: 1230px;
    max-width: 138%;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
  .legalization-hero {
    min-height: auto;
  }

  .legalization-hero__container {
    display: flex;
    min-height: auto;
    padding: 40px 18px 0;
    flex-direction: column;
  }

  .legalization-hero__eyebrow {
    max-width: 330px;
    margin-bottom: 17px;
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: 0.2em;
  }

  .legalization-hero__title {
    font-size: clamp(35px, 10vw, 46px);
    line-height: 1.07;
    letter-spacing: -0.05em;
  }

  .legalization-hero__title br {
    display: none;
  }

  .legalization-hero__description {
    max-width: 540px;
    margin-top: 20px;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .legalization-hero__button {
    width: 254px;
    min-height: 55px;
    margin-top: 24px;
    padding: 0 19px 0 25px;
    font-size: 14px;
  }

  .legalization-hero__button svg {
    width: 23px;
    height: 23px;
  }

  .legalization-hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 950px;
    max-width: none;
    margin-top: 27px;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  @keyframes legalizationVisualIn {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(26px);
    }

    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 430px) {
  .legalization-hero__container {
    padding: 35px 15px 0;
  }

  .legalization-hero__title {
    font-size: 34px;
  }

  .legalization-hero__description {
    font-size: 13px;
  }

  .legalization-hero__visual {
    width: 790px;
    margin-top: 22px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

  .legalization-hero__content,
  .legalization-hero__visual {
    animation: none;
  }

  .legalization-hero__button,
  .legalization-hero__button::before,
  .legalization-hero__button svg {
    transition: none;
  }
}

/* =========================================
   COMPLIANCE PROCESS SECTION
========================================= */

:root {
  --compliance-green: #19d875;
  --compliance-green-dark: #08b964;
  --compliance-deep: #06372f;
  --compliance-text: #48514f;
  --compliance-muted: #697370;
  --compliance-border: #dce8e3;
  --compliance-background: #fbfdfc;
}

.compliance-process-section,
.compliance-process-section * {
  box-sizing: border-box;
}

.compliance-process-section {
  position: relative;
  width: 100%;
  min-height: 720px;
  padding: 105px 0 75px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 35%,
      rgba(25, 216, 117, 0.035),
      transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
  font-family: "Inter", sans-serif;
}

.compliance-container {
  position: relative;
  z-index: 2;
  width: calc(100% - 240px);
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   BACKGROUND GRID
========================================= */

.compliance-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.65;
  background-image:
    linear-gradient(rgba(6, 55, 47, 0.045) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(6, 55, 47, 0.045) 1px,
      transparent 1px);
  background-size: 170px 170px;
  pointer-events: none;
}

/* =========================================
   DECORATIVE BRANCH
========================================= */

.compliance-branch-art {
  position: absolute;
  z-index: 1;
  top: 80px;
  right: -35px;
  width: 440px;
  height: 570px;
  fill: none;
  stroke: rgba(6, 55, 47, 0.07);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* =========================================
   CONTENT
========================================= */

.compliance-content {
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(500px, 1.18fr);
  gap: clamp(50px, 6vw, 90px);
  align-items: start;
}

/* Left heading */

.compliance-heading-column {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 30px;
  align-items: stretch;
}

.compliance-heading-line {
  display: block;
  width: 3px;
  min-height: 100%;
  background: linear-gradient(180deg,
      var(--compliance-green),
      #4be99c);
  border-radius: 10px;
}

.compliance-eyebrow {
  display: block;
  margin: 2px 0 29px;
  color: var(--compliance-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compliance-heading {
  max-width: 570px;
  margin: 0;
  color: var(--compliance-deep);
  font-family: "Inter", sans-serif;
  font-size: clamp(48px, 4.5vw, 62px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -0.04em;
}

/* Right body */

.compliance-body-column {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.compliance-body-column p {
  margin: 0 0 31px;
  color: var(--compliance-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.012em;
}

.compliance-body-column p:last-child {
  margin-bottom: 0;
}

/* =========================================
   PROCESS JOURNEY
========================================= */

.compliance-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  width: 100%;
  margin: 78px 0 0 0;
  align-items: start;
}

.compliance-process-line {
  position: absolute;
  top: 51px;
  left: 3%;
  right: 17%;
  height: 2px;
  background: transparent;
}

.compliance-line-progress {
  display: none;
}

.compliance-process-line::before {
  display: none;
}

.compliance-step::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 52px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--compliance-green);
  transform-origin: left;
  transform: scaleX(0);
}

.compliance-step:nth-of-type(5)::before {
  width: calc(50% + 22px);
  /* Stop exactly before result box */
}

.compliance-step:nth-of-type(2)::before {
  animation: compLineDraw1 12s infinite;
}

.compliance-step:nth-of-type(3)::before {
  animation: compLineDraw2 12s infinite;
}

.compliance-step:nth-of-type(4)::before {
  animation: compLineDraw3 12s infinite;
}

.compliance-step:nth-of-type(5)::before {
  animation: compLineDraw4 12s infinite;
}



/* =========================================
   PROCESS STEP
========================================= */

.compliance-step {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.compliance-step-number {
  display: flex;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #ffffff;
  background: var(--compliance-green);
  border-radius: 50%;
  box-shadow: 0 7px 17px rgba(25, 216, 117, 0.2);
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.compliance-step-dot {
  position: absolute;
  top: 47px;
  width: 11px;
  height: 11px;
  background: #ffffff;
  border: 3px solid var(--compliance-green);
  border-radius: 50%;
}

.compliance-step:nth-of-type(2) .compliance-step-dot {
  animation: compDotFill1 12s infinite;
}

.compliance-step:nth-of-type(3) .compliance-step-dot {
  animation: compDotFill2 12s infinite;
}

.compliance-step:nth-of-type(4) .compliance-step-dot {
  animation: compDotFill3 12s infinite;
}

.compliance-step:nth-of-type(5) .compliance-step-dot {
  animation: compDotFill4 12s infinite;
}

.compliance-step-icon {
  width: 48px;
  height: 48px;
  margin-top: 30px;
  color: #5e8780;
}

.compliance-step-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transform-origin: center;
  transition: transform 0.3s ease;
}

.compliance-step:nth-of-type(2) .compliance-step-icon svg {
  animation: compIconGlow1 12s infinite;
}

.compliance-step:nth-of-type(3) .compliance-step-icon svg {
  animation: compIconGlow2 12s infinite;
}

.compliance-step:nth-of-type(4) .compliance-step-icon svg {
  animation: compIconGlow3 12s infinite;
}

.compliance-step:nth-of-type(5) .compliance-step-icon svg {
  animation: compIconGlow4 12s infinite;
}

.compliance-step-label {
  display: block;
  max-width: 150px;
  margin-top: 12px;
  color: var(--compliance-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Result */

.compliance-result {
  position: relative;
  z-index: 5;
  align-self: start;
  min-width: 225px;
  margin: 37px 0 0 22px;
  padding: 13px 24px;
  color: #ffffff;
  background: linear-gradient(135deg,
      #07564a,
      #063c34);
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(6, 55, 47, 0.12);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  animation: compResultGlow 12s infinite;
}

/* =========================================
   ANIMATIONS
========================================= */

/* Line Draw Keyframes (Grows over 1s, holds, disappears at 98%) */
@keyframes compLineDraw1 {

  0%,
  5% {
    transform: scaleX(0);
  }

  12%,
  98% {
    transform: scaleX(1);
  }

  99%,
  100% {
    transform: scaleX(0);
  }
}

@keyframes compLineDraw2 {

  0%,
  30% {
    transform: scaleX(0);
  }

  37%,
  98% {
    transform: scaleX(1);
  }

  99%,
  100% {
    transform: scaleX(0);
  }
}

@keyframes compLineDraw3 {

  0%,
  55% {
    transform: scaleX(0);
  }

  62%,
  98% {
    transform: scaleX(1);
  }

  99%,
  100% {
    transform: scaleX(0);
  }
}

@keyframes compLineDraw4 {

  0%,
  80% {
    transform: scaleX(0);
  }

  87%,
  98% {
    transform: scaleX(1);
  }

  99%,
  100% {
    transform: scaleX(0);
  }
}

/* Dot Fill Keyframes (Fills, glows, holds, disappears at 98%) */
@keyframes compDotFill1 {

  0%,
  2% {
    background: #ffffff;
    box-shadow: none;
  }

  5%,
  98% {
    background: var(--compliance-green);
    box-shadow: 0 0 10px var(--compliance-green);
  }

  99%,
  100% {
    background: #ffffff;
    box-shadow: none;
  }
}

@keyframes compDotFill2 {

  0%,
  27% {
    background: #ffffff;
    box-shadow: none;
  }

  30%,
  98% {
    background: var(--compliance-green);
    box-shadow: 0 0 10px var(--compliance-green);
  }

  99%,
  100% {
    background: #ffffff;
    box-shadow: none;
  }
}

@keyframes compDotFill3 {

  0%,
  52% {
    background: #ffffff;
    box-shadow: none;
  }

  55%,
  98% {
    background: var(--compliance-green);
    box-shadow: 0 0 10px var(--compliance-green);
  }

  99%,
  100% {
    background: #ffffff;
    box-shadow: none;
  }
}

@keyframes compDotFill4 {

  0%,
  77% {
    background: #ffffff;
    box-shadow: none;
  }

  80%,
  98% {
    background: var(--compliance-green);
    box-shadow: 0 0 10px var(--compliance-green);
  }

  99%,
  100% {
    background: #ffffff;
    box-shadow: none;
  }
}

/* Icon Glow Keyframes (Scales up, glows, holds, scales down at 98%) */
@keyframes compIconGlow1 {
  0% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }

  5%,
  98% {
    stroke: var(--compliance-green);
    filter: drop-shadow(0 0 10px rgba(25, 216, 117, 0.5));
    transform: scale(1.15);
  }

  99%,
  100% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }
}

@keyframes compIconGlow2 {

  0%,
  25% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }

  30%,
  98% {
    stroke: var(--compliance-green);
    filter: drop-shadow(0 0 10px rgba(25, 216, 117, 0.5));
    transform: scale(1.15);
  }

  99%,
  100% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }
}

@keyframes compIconGlow3 {

  0%,
  50% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }

  55%,
  98% {
    stroke: var(--compliance-green);
    filter: drop-shadow(0 0 10px rgba(25, 216, 117, 0.5));
    transform: scale(1.15);
  }

  99%,
  100% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }
}

@keyframes compIconGlow4 {

  0%,
  75% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }

  80%,
  98% {
    stroke: var(--compliance-green);
    filter: drop-shadow(0 0 10px rgba(25, 216, 117, 0.5));
    transform: scale(1.15);
  }

  99%,
  100% {
    stroke: currentColor;
    filter: none;
    transform: scale(1);
  }
}

@keyframes complianceArrowShow {
  to {
    opacity: 1;
  }
}

/* =========================================
   LAPTOP
========================================= */

@media (max-width: 1300px) {
  .compliance-container {
    width: calc(100% - 48px);
  }

  .compliance-process-section {
    padding: 90px 0 70px;
  }

  .compliance-content {
    grid-template-columns: minmax(360px, 0.85fr) minmax(460px, 1.15fr);
    gap: 50px;
  }

  .compliance-heading {
    font-size: clamp(48px, 4.8vw, 64px);
  }

  .compliance-process {
    width: 100%;
  }

  .compliance-branch-art {
    right: -120px;
    opacity: 0.8;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {
  .compliance-process-section {
    min-height: auto;
    padding: 80px 0 70px;
  }

  .compliance-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .compliance-heading-column {
    grid-template-columns: 3px 1fr;
    gap: 24px;
  }

  .compliance-heading {
    max-width: 700px;
  }

  .compliance-heading br {
    display: none;
  }

  .compliance-body-column {
    max-width: 760px;
    padding-left: 27px;
  }

  .compliance-branch-art {
    top: 250px;
    right: -170px;
    opacity: 0.5;
  }

  .compliance-process {
    width: 100%;
    margin-top: 65px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
  .compliance-process-section {
    padding: 65px 0 55px;
  }

  .compliance-container {
    width: calc(100% - 36px);
  }

  .compliance-grid {
    background-size: 95px 95px;
  }

  .compliance-heading-column {
    gap: 18px;
  }

  .compliance-eyebrow {
    margin-bottom: 19px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .compliance-heading {
    font-size: clamp(39px, 11.5vw, 51px);
    line-height: 1.02;
  }

  .compliance-body-column {
    padding-left: 21px;
  }

  .compliance-body-column p {
    margin-bottom: 23px;
    font-size: 14px;
    line-height: 1.7;
  }

  .compliance-branch-art {
    display: none;
  }

  .compliance-process {
    display: flex;
    width: 100%;
    margin-top: 55px;
    padding-left: 28px;
    flex-direction: column;
  }

  .compliance-process-line {
    top: 17px;
    bottom: 76px;
    left: 44px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .compliance-line-progress {
    width: 100%;
    height: 0;
    animation: complianceMobileLineDraw 1.5s 0.25s ease forwards;
  }

  .compliance-line-arrow {
    top: auto;
    right: auto;
    bottom: -2px;
    left: 50%;
    border-top: 10px solid var(--compliance-green);
    border-right: 7px solid transparent;
    border-bottom: 0;
    border-left: 7px solid transparent;
    transform: translate(-50%, 100%);
  }

  .compliance-step {
    min-height: 112px;
    padding-left: 70px;
    align-items: flex-start;
    text-align: left;
  }

  .compliance-step-number {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .compliance-step-dot {
    top: 12px;
    left: 11px;
    width: 12px;
    height: 12px;
  }

  .compliance-step-icon {
    width: 39px;
    height: 39px;
    margin: 0 0 8px;
  }

  .compliance-step-label {
    max-width: 220px;
    margin-top: 0;
    font-size: 11px;
  }

  .compliance-result {
    align-self: flex-start;
    min-width: 0;
    margin: 5px 0 0 70px;
    padding: 13px 21px;
    white-space: normal;
  }

  @keyframes complianceMobileLineDraw {
    from {
      height: 0;
    }

    to {
      height: 100%;
    }
  }

  .compliance-step::before {
    display: none;
  }
}

@keyframes compTextGlow1 {
  0% {
    color: var(--compliance-deep);
    text-shadow: none;
  }

  5%,
  98% {
    color: var(--compliance-green);
    text-shadow: 0 0 10px rgba(25, 216, 117, 0.25);
  }

  99%,
  100% {
    color: var(--compliance-deep);
    text-shadow: none;
  }
}

@keyframes compTextGlow2 {

  0%,
  25% {
    color: var(--compliance-deep);
    text-shadow: none;
  }

  30%,
  98% {
    color: var(--compliance-green);
    text-shadow: 0 0 10px rgba(25, 216, 117, 0.25);
  }

  99%,
  100% {
    color: var(--compliance-deep);
    text-shadow: none;
  }
}

@keyframes compTextGlow3 {

  0%,
  50% {
    color: var(--compliance-deep);
    text-shadow: none;
  }

  55%,
  98% {
    color: var(--compliance-green);
    text-shadow: 0 0 10px rgba(25, 216, 117, 0.25);
  }

  99%,
  100% {
    color: var(--compliance-deep);
    text-shadow: none;
  }
}

@keyframes compTextGlow4 {

  0%,
  75% {
    color: var(--compliance-deep);
    text-shadow: none;
  }

  80%,
  98% {
    color: var(--compliance-green);
    text-shadow: 0 0 10px rgba(25, 216, 117, 0.25);
  }

  99%,
  100% {
    color: var(--compliance-deep);
    text-shadow: none;
  }
}

@keyframes compResultGlow {

  0%,
  82% {
    box-shadow: 0 10px 25px rgba(6, 55, 47, 0.12);
    text-shadow: none;
  }

  86%,
  98% {
    box-shadow: 0 0 15px rgba(32, 223, 122, 0.4);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  }

  99%,
  100% {
    box-shadow: 0 10px 25px rgba(6, 55, 47, 0.12);
    text-shadow: none;
  }
}

/* =========================================
   EMBASSY SCENE VISUAL
========================================= */

.gs-embassy-scene {
  position: relative;
  width: 100%;
  height: 240px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* The Embassy Building */
.scene-building {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -95px;
  margin-top: -70px;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateZ(-20px) scale(1.3);
  animation: embFloatBuilding 7s ease-in-out infinite alternate;
}

.building-roof {
  width: 140px;
  height: 45px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.6));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  margin-bottom: 6px;
  position: relative;
  box-shadow: 0 10px 15px rgba(6, 55, 47, 0.1);
}

.building-pillars {
  display: flex;
  justify-content: space-between;
  width: 120px;
  height: 60px;
}

.building-pillars span {
  width: 14px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  border-radius: 2px;
  box-shadow: inset -2px 0 5px rgba(255, 255, 255, 0.5), 2px 0 5px rgba(6, 55, 47, 0.05);
}

.building-base {
  width: 150px;
  height: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
  border-radius: 4px;
  margin-top: 6px;
  box-shadow: 0 10px 20px rgba(6, 55, 47, 0.15);
}

/* The Document */
.scene-document {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -5px;
  margin-top: -25px;
  width: 90px;
  height: 125px;
  background: linear-gradient(135deg, #07564a, #043830);
  border-radius: 8px;
  padding: 18px 15px;
  box-shadow:
    -15px 25px 40px rgba(6, 55, 47, 0.25),
    inset 0 0 0 1px rgba(32, 223, 122, 0.3),
    inset 2px 2px 4px rgba(255, 255, 255, 0.1);
  transform: rotateY(-15deg) rotateX(10deg) translateZ(40px);
  animation: embFloatDoc 6s ease-in-out infinite alternate;
  z-index: 2;
}

.doc-lines span {
  display: block;
  height: 4px;
  background: rgba(32, 223, 122, 0.6);
  border-radius: 2px;
  margin-bottom: 10px;
}

.doc-lines span:nth-child(2) {
  width: 70%;
}

.doc-lines span:nth-child(3) {
  width: 40%;
}

.doc-stamp {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(6, 55, 47, 0.2);
  border: 2px solid #20df7a;
  transform: translateZ(10px);
}

.doc-stamp svg {
  width: 22px;
  height: 22px;
}

@keyframes embFloatBuilding {
  0% {
    transform: translateZ(-20px) scale(1.3) translateY(0);
  }

  100% {
    transform: translateZ(-20px) scale(1.3) translateY(-10px);
  }
}

@keyframes embFloatDoc {
  0% {
    transform: rotateY(-15deg) rotateX(10deg) translateZ(40px) translateY(0);
  }

  100% {
    transform: rotateY(-10deg) rotateX(12deg) translateZ(50px) translateY(-15px);
  }
}

/* =========================================
   EQUIVALENCY CERTIFICATE SCENE
========================================= */

.gs-equivalency-scene {
  position: relative;
  width: 100%;
  height: 240px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.eq-certificate {
  position: absolute;
  width: 140px;
  height: 180px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px;
  box-shadow:
    -20px 30px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 2px 2px 5px rgba(255, 255, 255, 0.15);
  transform: rotateY(-18deg) rotateX(15deg) translateZ(-10px);
  animation: eqFloatCert 7s ease-in-out infinite alternate;
  z-index: 2;
  display: flex;
}

.eq-cert-border {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.eq-cert-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 15px;
}

.eq-cert-lines span {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin-bottom: 8px;
}

.eq-cert-lines span:nth-child(1) {
  width: 100%;
  height: 6px;
  background: rgba(32, 223, 122, 0.6);
  margin-bottom: 12px;
}

.eq-cert-lines span:nth-child(2) {
  width: 80%;
  margin: 0 auto 8px auto;
}

.eq-cert-lines span:nth-child(3) {
  width: 60%;
  margin: 0 auto;
}

.eq-floating-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -15px;
  margin-top: -65px;
  width: 50px;
  height: 50px;
  transform: rotateY(-10deg) rotateX(15deg) translateZ(30px);
  animation: eqFloatSeal 5s ease-in-out infinite alternate;
  z-index: 3;
}

.eq-seal-body {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, #20df7a, #07564a);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow:
    0 15px 25px rgba(0, 0, 0, 0.4),
    inset 0 2px 5px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eq-seal-body svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.eq-ribbon {
  position: absolute;
  width: 12px;
  height: 35px;
  background: linear-gradient(180deg, #18a95c, #043830);
  top: 80%;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.eq-ribbon-left {
  left: 20%;
  transform: rotate(15deg);
}

.eq-ribbon-right {
  right: 20%;
  transform: rotate(-15deg);
}

.eq-sparkle {
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(32, 223, 122, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: eqPulse 4s infinite alternate;
}

.eq-sparkle-1 {
  top: 15%;
  left: 15%;
  transform: translateZ(30px);
}

.eq-sparkle-2 {
  bottom: 10%;
  right: 15%;
  width: 80px;
  height: 80px;
  animation-delay: 2s;
  transform: translateZ(50px);
}

@keyframes eqFloatCert {
  0% {
    transform: rotateY(-18deg) rotateX(15deg) translateZ(-10px) translateY(0);
  }

  100% {
    transform: rotateY(-12deg) rotateX(18deg) translateZ(-10px) translateY(-12px);
  }
}

@keyframes eqFloatSeal {
  0% {
    transform: rotateY(-10deg) rotateX(15deg) translateZ(30px) translateY(0);
  }

  100% {
    transform: rotateY(-5deg) rotateX(10deg) translateZ(40px) translateY(-15px);
  }
}

@keyframes eqPulse {
  0% {
    opacity: 0.3;
    transform: scale(0.8) translateZ(30px);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.2) translateZ(50px);
  }
}

/* =========================================
   COURT SCALES VISUAL
========================================= */

.gs-court-scene {
  position: relative;
  width: 100%;
  height: 240px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.court-scales {
  position: relative;
  width: 160px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateZ(20px);
  animation: courtFloat 6s ease-in-out infinite alternate;
}

/* Pillar */
.scale-pillar {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 140px;
  z-index: 2;
}

.pillar-top {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #20df7a, #07564a);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(6, 55, 47, 0.3);
  z-index: 3;
}

.pillar-column {
  width: 10px;
  height: 110px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(5px);
  box-shadow: inset -2px 0 5px rgba(255, 255, 255, 0.5);
  margin-top: -5px;
}

.pillar-base {
  width: 70px;
  height: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(6, 55, 47, 0.2);
}

/* Beam */
.scale-beam-wrapper {
  position: absolute;
  top: 10px;
  width: 140px;
  height: 100px;
  z-index: 1;
}

.scale-beam {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #18a95c, #20df7a, #18a95c);
  border-radius: 3px;
  position: relative;
  transform-origin: center top;
  animation: beamTilt 8s ease-in-out infinite alternate;
  box-shadow: 0 5px 10px rgba(6, 55, 47, 0.15);
}

.scale-pan {
  position: absolute;
  top: 4px;
  width: 50px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
}

/* To keep pans perfectly upright while beam tilts, we apply reverse rotation */
.pan-left {
  left: 0;
  margin-left: -25px;
  animation: panTilt 8s ease-in-out infinite alternate;
}

.pan-right {
  right: 0;
  margin-right: -25px;
  animation: panTilt 8s ease-in-out infinite alternate;
}

.pan-strings {
  width: 40px;
  height: 50px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.8);
  border-right: 1.5px solid rgba(255, 255, 255, 0.8);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.pan-dish {
  width: 55px;
  height: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-top: none;
  border-radius: 0 0 25px 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 15px rgba(6, 55, 47, 0.15);
  position: relative;
  margin-top: -2px;
}

.pan-glow {
  position: absolute;
  bottom: 8px;
  width: 30px;
  height: 10px;
  background: #20df7a;
  filter: blur(10px);
  opacity: 0.6;
  animation: glowPulse 4s infinite alternate;
}

.pan-right .pan-glow {
  animation-delay: -2s;
}

@keyframes courtFloat {
  0% {
    transform: translateZ(20px) translateY(0);
  }

  100% {
    transform: translateZ(20px) translateY(-15px);
  }
}

@keyframes beamTilt {
  0% {
    transform: rotate(-8deg);
  }

  100% {
    transform: rotate(8deg);
  }
}

@keyframes panTilt {
  0% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(-8deg);
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {
  .compliance-process-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .compliance-heading-column {
    gap: 14px;
  }

  .compliance-body-column {
    padding-left: 17px;
  }

  .compliance-process {
    padding-left: 17px;
  }

  .compliance-process-line {
    left: 33px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .compliance-line-progress {
    width: 100%;
    animation: none;
  }

  .compliance-line-arrow {
    opacity: 1;
  }
}

/* =========================================
   SHOWCASE CARDS BACKGROUNDS
========================================= */

.gs-card-mofa {
  background-image: url("../assets/mofa_legalization.jpg");
}

.gs-card-notarization {
  background-image: url("../assets/notarization_advisory.jpg");
}

.gs-card-poa {
  background-image: url("../assets/power_of_attorney.jpg");
}

/* ==================================================
   INSTITUTIONAL COORDINATION SECTION
================================================== */

:root {
  --ic-background: #003c35;
  --ic-background-deep: #00332e;
  --ic-card: rgba(255, 255, 255, 0.055);
  --ic-card-hover: rgba(255, 255, 255, 0.075);
  --ic-green: #2eea7b;
  --ic-green-dark: #18cd66;
  --ic-white: #f7faf8;
  --ic-muted: #b4c4bf;
  --ic-border: rgba(255, 255, 255, 0.09);
}


/* Reset only for this section */

.institutional-section,
.institutional-section * {
  box-sizing: border-box;
}


/* Main Section */

.institutional-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding: 78px 0 46px;
  background:
    radial-gradient(circle at 52% 42%,
      rgba(19, 123, 99, 0.15) 0%,
      transparent 38%),
    linear-gradient(120deg,
      #003c35 0%,
      #003a34 52%,
      #00352f 100%);
  font-family: "Inter", sans-serif;
}


/* Fine background texture */

.institutional-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px);
  background-size: 70px 70px;
}


/* Background glows */

.institutional-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
}

.institutional-glow-one {
  top: -180px;
  left: 24%;
  width: 460px;
  height: 460px;
  background: rgba(0, 158, 119, 0.1);
}

.institutional-glow-two {
  right: -170px;
  bottom: -220px;
  width: 500px;
  height: 500px;
  background: rgba(26, 213, 122, 0.07);
}


/* Main container */

.institutional-container {
  position: relative;
  z-index: 2;
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto;
}


/* ==================================================
   HEADER
================================================== */

.institutional-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 50px;
}

.institutional-heading-content {
  max-width: 690px;
}


/* Eyebrow */

.institutional-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
  color: var(--ic-green);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.institutional-eyebrow-square {
  display: block;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border-radius: 1px;
  background: var(--ic-green);
  box-shadow: 0 0 18px rgba(46, 234, 123, 0.22);
}


/* Heading */

.institutional-heading-content h2 {
  max-width: 650px;
  margin: 0 0 17px;
  color: var(--ic-white);
  font-size: clamp(30px, 2.25vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.04em;
}


/* Header description */

.institutional-heading-content>p {
  max-width: 620px;
  margin: 0;
  color: var(--ic-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.58;
}


/* Header button */

.institutional-header-action {
  flex-shrink: 0;
  padding-top: 42px;
}

.institutional-main-button {
  display: inline-flex;
  min-width: 238px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px 27px;
  overflow: hidden;
  border: 1px solid var(--ic-green);
  border-radius: 4px;
  background: var(--ic-green);
  color: #00352b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    color 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease,
    transform 300ms ease,
    box-shadow 300ms ease;
}

.institutional-main-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  transition: transform 300ms ease;
}

.institutional-main-button:hover {
  border-color: #6bff9e;
  background: #6bff9e;
  color: #002d25;
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(24, 205, 102, 0.2);
}

.institutional-main-button:hover svg {
  transform: translate(3px, -3px);
}


/* ==================================================
   CARDS
================================================== */

.institutional-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}


/* Individual card */

.institutional-card {
  position: relative;
  display: flex;
  min-height: 475px;
  flex-direction: column;
  padding: 39px 34px 30px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 50px rgba(0, 23, 20, 0.09);
  transition:
    transform 350ms ease,
    border-color 350ms ease,
    background 350ms ease,
    box-shadow 350ms ease;
}


/* Light effect inside card */

.institutional-card::before {
  position: absolute;
  top: -100px;
  left: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(46, 234, 123, 0.04);
  content: "";
  filter: blur(45px);
  pointer-events: none;
}


/* Featured middle card */

.institutional-card-featured {
  border-color: rgba(46, 234, 123, 0.88);
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.035));
}


/* Card hover */

.institutional-card:hover {
  border-color: rgba(46, 234, 123, 0.78);
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.085),
      rgba(255, 255, 255, 0.045));
  transform: translateY(-7px);
  box-shadow: 0 30px 65px rgba(0, 25, 21, 0.2);
}


/* Card icon */

.institutional-card-icon {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
  color: #eef8f5;
}

.institutional-card-icon svg {
  width: 53px;
  height: 53px;
  stroke-width: 1.45;
  transition:
    color 300ms ease,
    transform 300ms ease;
}

.institutional-card-featured .institutional-card-icon {
  color: var(--ic-green);
}

.institutional-card:hover .institutional-card-icon {
  color: var(--ic-green);
}

.institutional-card:hover .institutional-card-icon svg {
  transform: translateY(-3px);
}


/* Card title */

.institutional-card h3 {
  margin: 0 0 15px;
  color: var(--ic-white);
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.035em;
}


/* Card description */

.institutional-card-description {
  min-height: 53px;
  margin: 0;
  color: var(--ic-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}


/* Divider */

.institutional-card-divider {
  width: 100%;
  height: 1px;
  margin: 30px 0 23px;
  background: rgba(255, 255, 255, 0.105);
}


/* Card list */

.institutional-list {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin: 0;
  padding: 0 0 58px;
  list-style: none;
}

.institutional-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #d3dfdb;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42;
}

.institutional-list-square {
  display: block;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border-radius: 1px;
  background: var(--ic-green);
  box-shadow: 0 0 12px rgba(46, 234, 123, 0.17);
}


/* Bottom-right arrow */

.institutional-card-arrow {
  position: absolute;
  right: 29px;
  bottom: 27px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ic-green);
  text-decoration: none;
}

.institutional-card-arrow svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.55;
  transition: transform 300ms ease;
}

.institutional-card:hover .institutional-card-arrow svg {
  transform: translateX(5px);
}

.institutional-card-featured:hover .institutional-card-arrow svg {
  transform: translate(4px, -4px);
}


/* ==================================================
   ENTRANCE ANIMATION
================================================== */

.institutional-heading-content,
.institutional-header-action,
.institutional-card {
  opacity: 0;
  transform: translateY(25px);
}

.institutional-section.institutional-visible .institutional-heading-content {
  animation: institutionalFadeUp 700ms ease forwards;
}

.institutional-section.institutional-visible .institutional-header-action {
  animation: institutionalFadeUp 700ms 100ms ease forwards;
}

.institutional-section.institutional-visible .institutional-card:nth-child(1) {
  animation: institutionalFadeUp 700ms 160ms ease forwards;
}

.institutional-section.institutional-visible .institutional-card:nth-child(2) {
  animation: institutionalFadeUp 700ms 260ms ease forwards;
}

.institutional-section.institutional-visible .institutional-card:nth-child(3) {
  animation: institutionalFadeUp 700ms 360ms ease forwards;
}

@keyframes institutionalFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==================================================
   LARGE SCREEN
================================================== */

@media (min-width: 1700px) {
  .institutional-container {
    max-width: 1200px;
  }

  .institutional-card {
    min-height: 485px;
  }
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1050px) {
  .institutional-section {
    padding: 70px 0 50px;
  }

  .institutional-container {
    width: calc(100% - 48px);
  }

  .institutional-header {
    gap: 40px;
  }

  .institutional-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .institutional-card:last-child {
    grid-column: 1 / -1;
  }

  .institutional-card-description {
    min-height: auto;
  }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 700px) {
  .institutional-section {
    padding: 58px 0 28px;
  }

  .institutional-container {
    width: calc(100% - 32px);
  }

  .institutional-header {
    flex-direction: column;
    gap: 27px;
    margin-bottom: 36px;
  }

  .institutional-eyebrow {
    gap: 12px;
    margin-bottom: 19px;
    font-size: 12px;
  }

  .institutional-eyebrow-square {
    width: 11px;
    height: 11px;
    flex-basis: 11px;
  }

  .institutional-heading-content h2 {
    font-size: 29px;
    line-height: 1.18;
  }

  .institutional-heading-content h2 br {
    display: none;
  }

  .institutional-heading-content>p {
    font-size: 14px;
    line-height: 1.65;
  }

  .institutional-header-action {
    width: 100%;
    padding-top: 0;
  }

  .institutional-main-button {
    width: 100%;
    min-width: 0;
    min-height: 57px;
  }

  .institutional-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .institutional-card,
  .institutional-card:last-child {
    grid-column: auto;
    min-height: 440px;
    padding: 30px 25px 25px;
  }

  .institutional-card-icon {
    width: 53px;
    height: 53px;
    margin-bottom: 17px;
  }

  .institutional-card-icon svg {
    width: 47px;
    height: 47px;
  }

  .institutional-card h3 {
    font-size: 22px;
  }

  .institutional-card-divider {
    margin: 26px 0 22px;
  }

  .institutional-list {
    gap: 18px;
  }

  .institutional-card-arrow {
    right: 21px;
    bottom: 20px;
  }
}


/* Remove animation for accessibility */

@media (prefers-reduced-motion: reduce) {

  .institutional-heading-content,
  .institutional-header-action,
  .institutional-card {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .institutional-card,
  .institutional-main-button,
  .institutional-card-icon svg,
  .institutional-card-arrow svg {
    transition: none;
  }
}

/* =====================================================
   WHY WORK WITH US SECTION
===================================================== */

:root {
  --ww-green: #23e47d;
  --ww-green-dark: #0fcf68;
  --ww-dark: #003d38;
  --ww-dark-card: #00433e;
  --ww-text: #526864;
  --ww-border: #d5dfdc;
  --ww-white: #ffffff;
  --ww-background: #fbfcfb;
}

.why-work-section,
.why-work-section * {
  box-sizing: border-box;
}

.why-work-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 36px 0;
  background:
    radial-gradient(circle at 73% 43%,
      rgba(35, 228, 125, 0.035),
      transparent 35%),
    #fbfcfb;
  font-family: "Inter", sans-serif;
}

.why-work-container {
  display: grid;
  width: calc(100% - 80px);
  max-width: 1200px;
  min-height: 550px;
  margin: 0 auto;
  grid-template-columns: 47.2% 52.8%;
  align-items: stretch;
}


/* =====================================================
   LEFT IMAGE
===================================================== */

.why-work-visual {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.why-work-image {
  display: block;
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-top: 60px;
}


/* Image information card */

.why-work-image-card {
  position: absolute;
  z-index: 3;
  bottom: 74px;
  left: 0;
  display: flex;
  width: 355px;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 40px;
  background: rgba(0, 64, 59, 0.97);
  color: var(--ww-white);
}

.why-work-image-title {
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.why-work-image-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}


/* Green connector line */

.why-work-connector {
  position: absolute;
  z-index: 2;
  right: 13%;
  bottom: 191px;
  width: 44%;
  height: 2px;
  background: var(--ww-green);
}

.why-work-connector span {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ww-green);
  transform: translateY(-50%);
}


/* =====================================================
   RIGHT CONTENT
===================================================== */

.why-work-content {
  position: relative;
  min-width: 0;
  padding: 51px 0 30px 66px;
}


/* Eyebrow */

.why-work-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 19px;
  color: var(--ww-green-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.why-work-eyebrow-square {
  display: block;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  background: var(--ww-green);
}


/* Heading */

.why-work-heading {
  max-width: 690px;
  margin: 0 0 19px;
  color: var(--ww-dark);
  font-size: clamp(42px, 2.7vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.055em;
}


/* Introduction */

.why-work-introduction {
  max-width: 690px;
  margin: 0 0 37px;
  color: var(--ww-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}


/* =====================================================
   LIST
===================================================== */

.why-work-list {
  width: 100%;
}

.why-work-item {
  position: relative;
  display: grid;
  min-height: 74px;
  padding: 0 4px 0 0;
  border-bottom: 1px solid var(--ww-border);
  color: var(--ww-dark);
  text-decoration: none;
  grid-template-columns: minmax(0, 1fr) 150px 34px;
  align-items: center;
  column-gap: 17px;
  transition:
    padding 300ms ease,
    border-color 300ms ease,
    background-color 300ms ease;
}

.why-work-item-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.why-work-item-meta {
  color: var(--ww-green-dark);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.025em;
  text-align: right;
  text-transform: uppercase;
}

.why-work-item-badge {
  justify-self: end;
  padding: 12px 17px;
  background: rgba(35, 228, 125, 0.12);
  color: var(--ww-dark);
}

.why-work-arrow {
  color: #315f59;
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  text-align: right;
  transition:
    color 250ms ease,
    transform 250ms ease;
}


/* Active green row */

.why-work-item-active {
  border-bottom: 2px solid var(--ww-green);
}


/* Hover */

.why-work-item:hover {
  padding-left: 12px;
  border-bottom-color: var(--ww-green);
  background: rgba(35, 228, 125, 0.025);
}

.why-work-item:hover .why-work-arrow {
  color: var(--ww-green-dark);
  transform: translateX(6px);
}


/* Contact link */

.why-work-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 33px;
  border-bottom: 1px solid var(--ww-dark);
  color: var(--ww-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 250ms ease,
    border-color 250ms ease;
}

.why-work-contact-arrow {
  font-size: 16px;
  transition: transform 250ms ease;
}

.why-work-contact-link:hover {
  border-color: var(--ww-green-dark);
  color: var(--ww-green-dark);
}

.why-work-contact-link:hover .why-work-contact-arrow {
  transform: translate(3px, -3px);
}


/* =====================================================
   ENTRANCE ANIMATION
===================================================== */

.why-work-visual,
.why-work-content {
  opacity: 0;
}

.why-work-visual {
  transform: translateX(-35px);
}

.why-work-content {
  transform: translateX(35px);
}

.why-work-section.why-work-visible .why-work-visual {
  animation: whyWorkFromLeft 800ms ease forwards;
}

.why-work-section.why-work-visible .why-work-content {
  animation: whyWorkFromRight 800ms 100ms ease forwards;
}

@keyframes whyWorkFromLeft {
  from {
    opacity: 0;
    transform: translateX(-35px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes whyWorkFromRight {
  from {
    opacity: 0;
    transform: translateX(35px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* =====================================================
   MEDIUM DESKTOP
===================================================== */

@media (max-width: 1300px) {
  .why-work-container {
    width: calc(100% - 60px);
    min-height: 720px;
    grid-template-columns: 46% 54%;
  }

  .why-work-image {
    min-height: 720px;
  }

  .why-work-content {
    padding: 42px 0 25px 48px;
  }

  .why-work-heading {
    font-size: clamp(39px, 4vw, 53px);
  }

  .why-work-item {
    grid-template-columns: minmax(0, 1fr) 120px 30px;
  }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {
  .why-work-section {
    padding: 40px 0;
  }

  .why-work-container {
    width: calc(100% - 48px);
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .why-work-visual {
    height: 620px;
  }

  .why-work-image {
    min-height: 0;
    height: 100%;
  }

  .why-work-content {
    padding: 60px 0 10px;
  }

  .why-work-heading {
    max-width: 760px;
  }

  .why-work-heading br {
    display: none;
  }

  .why-work-connector {
    right: 12%;
    bottom: 166px;
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {
  .why-work-section {
    padding: 20px 0 45px;
  }

  .why-work-container {
    width: calc(100% - 32px);
  }

  .why-work-visual {
    height: 470px;
  }

  .why-work-image {
    object-position: 52% center;
  }

  .why-work-image-card {
    bottom: 30px;
    width: calc(100% - 46px);
    min-height: 90px;
    padding: 18px 22px;
  }

  .why-work-image-title {
    font-size: 12px;
  }

  .why-work-image-text {
    font-size: 13px;
  }

  .why-work-connector {
    right: 10%;
    bottom: 102px;
    width: 32%;
  }

  .why-work-content {
    padding: 48px 0 0;
  }

  .why-work-eyebrow {
    gap: 11px;
    margin-bottom: 17px;
    font-size: 12px;
    letter-spacing: 0.15em;
  }

  .why-work-eyebrow-square {
    width: 11px;
    height: 11px;
    flex-basis: 11px;
  }

  .why-work-heading {
    margin-bottom: 17px;
    font-size: 35px;
    line-height: 1.08;
  }

  .why-work-introduction {
    margin-bottom: 27px;
    font-size: 14px;
    line-height: 1.65;
  }

  .why-work-item {
    min-height: 85px;
    padding: 14px 0;
    grid-template-columns: minmax(0, 1fr) auto 25px;
    column-gap: 10px;
  }

  .why-work-item-title {
    font-size: 14px;
  }

  .why-work-item-meta {
    max-width: 82px;
    font-size: 10px;
    line-height: 1.25;
  }

  .why-work-item-badge {
    padding: 9px 10px;
  }

  .why-work-arrow {
    font-size: 21px;
  }

  .why-work-item:hover {
    padding-left: 5px;
  }

  .why-work-contact-link {
    margin-top: 29px;
    font-size: 13px;
  }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 390px) {
  .why-work-heading {
    font-size: 31px;
  }

  .why-work-visual {
    height: 420px;
  }

  .why-work-image-card {
    width: calc(100% - 30px);
  }

  .why-work-item {
    grid-template-columns: minmax(0, 1fr) 68px 22px;
  }

  .why-work-item-meta {
    max-width: 68px;
  }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

  .why-work-visual,
  .why-work-content {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .why-work-item,
  .why-work-arrow,
  .why-work-contact-link,
  .why-work-contact-arrow {
    transition: none;
  }
}

/* =====================================================
   WHO WE HELP — JOURNEY SECTION
===================================================== */

:root {
  --jr-green: #16df73;
  --jr-green-dark: #0fc969;
  --jr-dark: #003e39;
  --jr-text: #566764;
  --jr-line: #315f59;
  --jr-soft-green: #dff9eb;
  --jr-background: #fbfcfb;
  --jr-white: #ffffff;
}

.journey-section,
.journey-section * {
  box-sizing: border-box;
}

.journey-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 43px 0 34px;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(22, 223, 115, 0.025),
      transparent 38%),
    var(--jr-background);
  font-family: "Inter", sans-serif;
}

.journey-container {
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto;
}


/* =====================================================
   SECTION HEADER
===================================================== */

.journey-header {
  margin-bottom: 38px;
  text-align: center;
}

.journey-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 17px;
  color: var(--jr-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.journey-eyebrow-square {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 1px;
  background: var(--jr-green);
}

.journey-header h2 {
  margin: 0 0 13px;
  color: var(--jr-dark);
  font-size: clamp(35px, 3.25vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.journey-header p {
  margin: 0;
  color: var(--jr-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}


/* =====================================================
   JOURNEY MAP
===================================================== */

.journey-map {
  display: grid;
  min-height: 592px;
  grid-template-columns:
    minmax(275px, 1.25fr) minmax(235px, 1fr) 220px minmax(235px, 1fr) minmax(275px, 1.25fr);
  align-items: stretch;
}


/* =====================================================
   AUDIENCE COLUMNS
===================================================== */

.journey-column {
  display: grid;
  min-width: 0;
  grid-template-rows: 1fr 1fr;
}

.journey-audience {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
}

.journey-column-left .journey-audience:first-child,
.journey-column-right .journey-audience:first-child {
  padding-top: 62px;
}

.journey-column-left .journey-audience:last-child,
.journey-column-right .journey-audience:last-child {
  padding-top: 33px;
}


/* Left spacing */

.journey-audience-left {
  padding-right: 22px;
}


/* Right spacing */

.journey-audience-right {
  padding-left: 37px;
}


/* Audience title */

.journey-audience-heading {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.journey-audience-heading h3 {
  margin: 0;
  color: var(--jr-dark);
  font-size: clamp(20px, 1.55vw, 26px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.journey-chevron {
  flex: 0 0 auto;
  margin-top: -7px;
  margin-right: 7px;
  color: var(--jr-green);
  font-family: "Inter", sans-serif;
  font-size: 43px;
  font-weight: 300;
  line-height: 1;
}

.journey-heading-dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 17px;
  margin-right: 19px;
  border-radius: 50%;
  background: var(--jr-green);
}


/* Description */

.journey-audience>p {
  max-width: 285px;
  margin: 18px 0 13px 51px;
  color: var(--jr-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.58;
}

.journey-audience-right>p {
  max-width: 270px;
}


/* Tags */

.journey-tag {
  align-self: flex-start;
  margin-left: 51px;
  color: var(--jr-dark);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-tag-filled {
  padding: 8px 16px;
  background: var(--jr-soft-green);
}


/* =====================================================
   PROCESS LINES
===================================================== */

.journey-process-column {
  display: grid;
  min-width: 0;
  grid-template-rows: 1fr 1fr;
}

.journey-process {
  position: relative;
}

.journey-process:first-child .journey-line {
  top: 132px;
}

.journey-process:last-child .journey-line {
  top: 92px;
}


/* Horizontal line */

.journey-line {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--jr-line);
}

.journey-line-green {
  height: 2px;
  background: var(--jr-green);
}


/* Process step */

.journey-step {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.journey-process:first-child .journey-step {
  top: 123px;
}

.journey-process:last-child .journey-step {
  top: 83px;
}

.journey-step-one {
  left: 28%;
  transform: translateX(-50%);
}

.journey-step-two {
  left: 72%;
  transform: translateX(-50%);
}

.journey-step-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--jr-green);
}

.journey-step-label {
  margin-top: 13px;
  color: var(--jr-dark);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* =====================================================
   CENTRAL UAE DESTINATION
===================================================== */

.journey-destination {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 592px;
  align-items: center;
  flex-direction: column;
  padding: 46px 18px 0;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 35%,
      rgba(0, 103, 89, 0.48),
      transparent 50%),
    linear-gradient(155deg,
      #00483f 0%,
      #003d37 55%,
      #00352f 100%);
  box-shadow:
    0 12px 30px rgba(0, 48, 42, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}


/* Green outside edge lines */

.journey-destination-border {
  position: absolute;
  top: 105px;
  width: 3px;
  height: 302px;
  background: var(--jr-green);
}

.journey-border-left {
  left: -7px;
}

.journey-border-right {
  right: -7px;
}


/* Destination label */

.journey-destination-label {
  position: relative;
  z-index: 2;
  margin-bottom: 9px;
  color: var(--jr-green);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* UAE */

.journey-destination-country {
  position: relative;
  z-index: 2;
  color: var(--jr-white);
  font-size: 65px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}


/* Vertical separator */

.journey-vertical-line {
  position: relative;
  z-index: 2;
  display: block;
  width: 1px;
  height: 101px;
  margin: 20px 0 20px;
  background: rgba(255, 255, 255, 0.72);
}


/* Services */

.journey-destination-services {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}


/* Up arrow */

.journey-up-arrow {
  position: relative;
  z-index: 4;
  width: 46px;
  height: 80px;
  margin-top: 27px;
}

.journey-up-arrow-line {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 6px;
  height: 70px;
  border-radius: 10px;
  background: var(--jr-green);
}

.journey-up-arrow-left {
  position: absolute;
  top: 2px;
  left: 10px;
  width: 26px;
  height: 26px;
  border-top: 6px solid var(--jr-green);
  border-left: 6px solid var(--jr-green);
  border-radius: 4px;
  transform: rotate(45deg);
  background: transparent;
}

.journey-up-arrow-right {
  display: none;
}


/* Skyline */

.journey-skyline {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 190px;
  opacity: 0.19;
  stroke: #43bfa0;
  stroke-width: 2;
}


/* =====================================================
   LARGE SCREEN
===================================================== */

@media (min-width: 1700px) {
  .journey-container {
    max-width: 1200px;
  }

  .journey-map {
    grid-template-columns:
      minmax(300px, 1.3fr) minmax(260px, 1fr) 230px minmax(260px, 1fr) minmax(300px, 1.3fr);
  }
}


/* =====================================================
   SMALL DESKTOP / TABLET
===================================================== */

@media (max-width: 1200px) {
  .journey-container {
    width: calc(100% - 48px);
  }

  .journey-map {
    grid-template-columns:
      minmax(210px, 1fr) minmax(165px, 0.85fr) 205px minmax(165px, 0.85fr) minmax(210px, 1fr);
  }

  .journey-audience-right {
    padding-left: 25px;
  }

  .journey-audience-heading h3 {
    font-size: 20px;
  }

  .journey-heading-dot {
    margin-right: 11px;
  }

  .journey-audience>p,
  .journey-tag {
    margin-left: 43px;
  }
}


/* =====================================================
   MOBILE AND TABLET STACKED DESIGN
===================================================== */

@media (max-width: 900px) {
  .journey-section {
    padding: 58px 0 40px;
  }

  .journey-container {
    width: calc(100% - 40px);
  }

  .journey-header {
    margin-bottom: 38px;
  }

  .journey-header h2 {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
  }

  .journey-map {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr 190px 1fr;
    gap: 25px;
  }

  .journey-column-left {
    grid-column: 1;
    grid-row: 1;
  }

  .journey-destination {
    min-height: 570px;
    grid-column: 2;
    grid-row: 1;
  }

  .journey-column-right {
    grid-column: 3;
    grid-row: 1;
  }

  .journey-process-column {
    display: none;
  }

  .journey-column-left .journey-audience:first-child,
  .journey-column-right .journey-audience:first-child {
    padding-top: 40px;
  }

  .journey-column-left .journey-audience:last-child,
  .journey-column-right .journey-audience:last-child {
    padding-top: 20px;
  }

  .journey-audience-left {
    padding-right: 0;
  }

  .journey-audience-right {
    padding-left: 0;
  }

  .journey-audience-heading {
    flex-wrap: nowrap;
  }

  .journey-audience-heading h3 {
    font-size: 18px;
  }

  .journey-chevron {
    margin-right: 4px;
    font-size: 35px;
  }

  .journey-heading-dot {
    margin-top: 14px;
    margin-right: 9px;
  }

  .journey-audience>p,
  .journey-tag {
    margin-left: 35px;
  }

  .journey-audience>p {
    font-size: 12px;
  }

  .journey-destination-border {
    display: none;
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {
  .journey-section {
    padding: 50px 0 35px;
  }

  .journey-container {
    width: calc(100% - 32px);
  }

  .journey-header {
    margin-bottom: 32px;
    text-align: left;
  }

  .journey-eyebrow {
    justify-content: flex-start;
    font-size: 11px;
  }

  .journey-header h2 {
    margin-left: 0;
    font-size: 34px;
    line-height: 1.1;
  }

  .journey-header p {
    font-size: 14px;
    line-height: 1.6;
  }

  .journey-desktop-break {
    display: none;
  }

  .journey-map {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .journey-destination {
    order: 1;
    width: 100%;
    min-height: 500px;
    margin-bottom: 37px;
    padding-top: 40px;
  }

  .journey-column-left {
    order: 2;
  }

  .journey-column-right {
    order: 3;
  }

  .journey-column {
    display: contents;
  }

  .journey-column-left .journey-audience:first-child {
    order: 2;
  }

  .journey-column-left .journey-audience:last-child {
    order: 3;
  }

  .journey-column-right .journey-audience:first-child {
    order: 4;
  }

  .journey-column-right .journey-audience:last-child {
    order: 5;
  }

  .journey-audience,
  .journey-column-left .journey-audience:first-child,
  .journey-column-left .journey-audience:last-child,
  .journey-column-right .journey-audience:first-child,
  .journey-column-right .journey-audience:last-child {
    min-height: auto;
    padding: 26px 0;
    border-bottom: 1px solid #d8e2df;
  }

  .journey-audience-heading h3 {
    font-size: 22px;
  }

  .journey-audience-heading h3 br {
    display: none;
  }

  .journey-audience>p {
    max-width: 100%;
    margin-top: 13px;
    font-size: 13px;
  }

  .journey-tag {
    margin-top: 4px;
  }

  .journey-destination-country {
    font-size: 66px;
  }

  .journey-vertical-line {
    height: 80px;
  }
}


/* Accessibility */

@media (prefers-reduced-motion: no-preference) {
  .journey-up-arrow {
    animation: journeyArrowMove 2s ease-in-out infinite;
  }

  @keyframes journeyArrowMove {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-8px);
    }
  }
}

/* =====================================================
   COMPLIANCE CTA SECTION
===================================================== */

:root {
  --compliance-background: #002e28;
  --compliance-background-light: #004536;
  --compliance-green: #20df7a;
  --compliance-green-light: #5affaa;
  --compliance-white: #ffffff;
  --compliance-muted: #b9c7c3;
  --compliance-line: rgba(36, 224, 124, 0.25);
}

.compliance-cta-section,
.compliance-cta-section * {
  box-sizing: border-box;
}

.compliance-cta-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px;
  background: #f8faf9;
  font-family: "Inter", sans-serif;
}

.compliance-cta-container {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 1200px;
  min-height: 320px;
  margin: 0 auto;
  grid-template-columns: 58% 42%;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(30, 224, 122, 0.18);
  border-radius: 33px;
  background:
    radial-gradient(circle at 77% 48%,
      rgba(12, 139, 81, 0.34) 0%,
      rgba(0, 74, 54, 0.19) 21%,
      transparent 43%),
    linear-gradient(110deg,
      #002a25 0%,
      #00372e 55%,
      #00402f 100%);
  box-shadow: 0 28px 55px rgba(0, 48, 40, 0.15);
}


/* =====================================================
   SUBTLE BACKGROUND GRID
===================================================== */

.compliance-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.23;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg,
      black 0%,
      rgba(0, 0, 0, 0.75) 50%,
      transparent 91%);
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.compliance-cta-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
  padding: 30px 40px 30px 112px;
}

.compliance-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 27px;
  color: var(--compliance-green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.compliance-eyebrow-icon {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 223, 122, 0.35);
  border-radius: 6px;
}

.compliance-eyebrow-icon span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--compliance-green);
  box-shadow: 0 0 14px rgba(32, 223, 122, 0.4);
}


/* Heading */

.compliance-cta-content h2 {
  max-width: 760px;
  margin: 0 0 30px;
  color: var(--compliance-white);
  font-size: clamp(34px, 3vw, 55px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.06em;
}


/* Paragraph */

.compliance-cta-content>p {
  max-width: 685px;
  margin: 0 0 43px;
  color: var(--compliance-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}


/* CTA button */

.compliance-cta-button {
  display: inline-flex;
  min-width: 292px;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  padding: 8px 9px 8px 31px;
  border: 1px solid rgba(131, 255, 181, 0.65);
  border-radius: 999px;
  background: var(--compliance-green);
  color: #002e27;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 17px 40px rgba(0, 210, 105, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    background 300ms ease,
    transform 300ms ease,
    box-shadow 300ms ease;
}

.compliance-button-icon {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #003d34;
  color: var(--compliance-white);
  transition:
    background 300ms ease,
    transform 300ms ease;
}

.compliance-button-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compliance-cta-button:hover {
  background: #45ee91;
  transform: translateY(-4px);
  box-shadow:
    0 22px 48px rgba(0, 210, 105, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.compliance-cta-button:hover .compliance-button-icon {
  background: #002c26;
  transform: rotate(-35deg);
}


/* =====================================================
   RIGHT VISUAL
===================================================== */

.compliance-visual {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  min-height: 320px;
}


/* Center glow */

.compliance-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(25, 224, 117, 0.1);
  filter: blur(45px);
  transform: translate(-50%, -50%);
}

/* =====================================================
   VENN DIAGRAM WITH ROTATING DOT
===================================================== */

.compliance-venn-diagram {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
}

.venn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.venn-left {
  left: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark mode check if needed */
@media (prefers-color-scheme: dark) {
  .venn-left {
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.venn-right {
  border: 1px solid rgba(42, 225, 126, 0.5);
}

.venn-dot-orbit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: vennDotRotate 8s linear infinite;
  border-radius: 50%;
}

.venn-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--compliance-green);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--compliance-green);
}

@keyframes vennDotRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* =====================================================
   CENTER ICON
===================================================== */

.compliance-center {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--compliance-green-light);
}

.compliance-document-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 17px;
  stroke: var(--compliance-green-light);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compliance-center span {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}


/* =====================================================
   FLOWING BOTTOM ROUTE
===================================================== */

.compliance-route {
  position: absolute;
  z-index: 2;
  right: -20px;
  bottom: -2px;
  width: 690px;
  height: 220px;
  overflow: visible;
}

.compliance-route-line {
  stroke: rgba(21, 214, 107, 0.35);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 13 10;
  animation: complianceRouteFlow 2.2s linear infinite;
}

.compliance-route-node {
  fill: #003c32;
  stroke: rgba(21, 214, 107, 0.52);
  stroke-width: 3;
}

@keyframes complianceRouteFlow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -46;
  }
}


/* =====================================================
   MEDIUM DESKTOP
===================================================== */

@media (max-width: 1300px) {
  .compliance-cta-container {
    grid-template-columns: 57% 43%;
  }

  .compliance-cta-content {
    padding-left: 70px;
  }

  .compliance-orbit-outer {
    width: 360px;
    height: 360px;
  }

  .compliance-orbit-middle {
    width: 270px;
    height: 270px;
  }

  .compliance-dot-one {
    transform: rotate(0deg) translateX(180px);
  }

  .compliance-dot-two {
    transform: rotate(180deg) translateX(180px);
  }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {
  .compliance-cta-container {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .compliance-cta-content {
    max-width: 100%;
    padding: 70px 60px 25px;
    text-align: center;
  }

  .compliance-eyebrow {
    justify-content: center;
  }

  .compliance-cta-content h2,
  .compliance-cta-content>p {
    margin-right: auto;
    margin-left: auto;
  }

  .compliance-visual {
    min-height: 500px;
  }

  .compliance-orbit {
    top: 45%;
    left: 50%;
  }

  .compliance-route {
    right: 50%;
    bottom: -15px;
    transform: translateX(50%);
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {
  .compliance-cta-section {
    padding: 12px;
  }

  .compliance-cta-container {
    border-radius: 25px;
  }

  .compliance-cta-content {
    padding: 50px 22px 16px;
    text-align: left;
  }

  .compliance-eyebrow {
    justify-content: flex-start;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.13em;
  }

  .compliance-eyebrow-icon {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
  }

  .compliance-cta-content h2 {
    margin-bottom: 23px;
    font-size: 37px;
    line-height: 1.06;
  }

  .compliance-cta-content h2 br {
    display: none;
  }

  .compliance-cta-content>p {
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.7;
  }

  .compliance-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 65px;
    padding-left: 23px;
  }

  .compliance-button-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .compliance-visual {
    min-height: 400px;
  }

  .compliance-orbit {
    top: 45%;
  }

  .compliance-orbit-outer {
    width: 290px;
    height: 290px;
  }

  .compliance-orbit-middle {
    width: 220px;
    height: 220px;
  }

  .compliance-orbit-inner {
    width: 155px;
    height: 155px;
  }

  .compliance-dot-one {
    transform: rotate(0deg) translateX(145px);
  }

  .compliance-dot-two {
    transform: rotate(180deg) translateX(145px);
  }

  .compliance-document-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 13px;
  }

  .compliance-center span {
    font-size: 8px;
  }

  .compliance-route {
    right: auto;
    bottom: -25px;
    left: 45%;
    width: 520px;
    transform: translateX(-50%);
  }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 390px) {
  .compliance-cta-content h2 {
    font-size: 33px;
  }

  .compliance-orbit-outer {
    width: 260px;
    height: 260px;
  }

  .compliance-orbit-middle {
    width: 195px;
    height: 195px;
  }

  .compliance-orbit-inner {
    width: 140px;
    height: 140px;
  }

  .compliance-dot-one {
    transform: rotate(0deg) translateX(130px);
  }

  .compliance-dot-two {
    transform: rotate(180deg) translateX(130px);
  }
}


/* Stop animation for users who disable motion */

@media (prefers-reduced-motion: reduce) {

  .compliance-orbit-outer,
  .compliance-orbit-middle,
  .compliance-route-line {
    animation: none;
  }
}

/* ==========================================================
   GROWTHSPELL — CORPORATE COMPLIANCE CTA
========================================================== */

.gs-compliance-cta {
  --compliance-deep: #053b2e;
  --compliance-deep-dark: #032e24;
  --compliance-panel: #074637;
  --compliance-green: #19d875;
  --compliance-green-light: #2be893;
  --compliance-mint: #ddf8e9;
  --compliance-ivory: #f7f2e8;
  --compliance-lavender: #dedfff;
  --compliance-blue: #dceffc;
  --compliance-coral: #ff8067;

  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 100px 40px;

  /* This is the requested white outer background */
  background: #ffffff;

  font-family: "Inter", sans-serif;
}

.gs-compliance-container {
  position: relative;
  width: calc(100% - 240px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Vertical website container lines */
.gs-compliance-container::before,
.gs-compliance-container::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -100px;
  bottom: -100px;
  width: 1px;
  background: rgba(6, 61, 48, 0.1);
  pointer-events: none;
}

.gs-compliance-container::before {
  left: -28px;
}

.gs-compliance-container::after {
  right: -28px;
}

/* ==========================================================
   MAIN GREEN CARD
========================================================== */

.gs-compliance-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: 40px;
  min-height: 410px;
  overflow: hidden;
  padding: 40px 45px;
  border: 1px solid rgba(25, 216, 117, 0.16);
  border-radius: 25px;

  /* Keep this green as requested */
  background:
    radial-gradient(circle at 33% 25%,
      rgba(25, 216, 117, 0.08),
      transparent 31%),
    linear-gradient(135deg,
      #064333 0%,
      #05392d 48%,
      #043228 100%);

  box-shadow: 0 30px 70px rgba(6, 47, 37, 0.13);
}

/* ==========================================================
   DECORATIVE BACKGROUND SHAPES
========================================================== */

.gs-compliance-bg-circle {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.gs-circle-top {
  top: -170px;
  right: 160px;
  width: 345px;
  height: 345px;
  border: 1px solid rgba(25, 216, 117, 0.22);
  background: rgba(25, 216, 117, 0.035);
}

.gs-circle-bottom {
  right: 185px;
  bottom: -300px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(25, 216, 117, 0.25);
  background: rgba(25, 216, 117, 0.08);
}

.gs-compliance-coral {
  position: absolute;
  z-index: 3;
  top: 87px;
  right: 86px;
  width: 21px;
  height: 21px;
  border-radius: 2px;
  background: var(--compliance-coral);
  box-shadow: 0 8px 18px rgba(85, 29, 17, 0.15);
}

/* ==========================================================
   LEFT CONTENT
========================================================== */

.gs-compliance-content {
  position: relative;
  z-index: 5;
}

.gs-compliance-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  margin-bottom: 29px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e7faef, #bff1d5);
  color: #083c30;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 9px 22px rgba(2, 26, 19, 0.1);
}

.gs-compliance-content h2 {
  max-width: 500px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.gs-compliance-content>p {
  max-width: 480px;
  margin: 20px 0 0;
  color: rgba(220, 245, 233, 0.82);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 410;
  line-height: 1.53;
}

/* ==========================================================
   BUTTON
========================================================== */

.gs-compliance-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 310px;
  min-height: 58px;
  margin-top: 30px;
  padding: 13px 20px 13px 27px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: linear-gradient(105deg,
      var(--compliance-green),
      var(--compliance-green-light));
  color: #032e24;
  font-size: 17px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 17px 35px rgba(12, 185, 99, 0.19);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gs-compliance-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -110%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: skewX(-22deg);
  transition: left 0.7s ease;
}

.gs-compliance-button span {
  position: relative;
  z-index: 2;
}

.gs-compliance-button svg {
  position: relative;
  z-index: 2;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.gs-compliance-button:hover {
  color: #032e24;
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(12, 185, 99, 0.28);
}

.gs-compliance-button:hover::before {
  left: 145%;
}

.gs-compliance-button:hover svg {
  transform: translateX(5px);
}

/* Meta row */
.gs-compliance-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 19px;
  color: rgba(219, 244, 232, 0.66);
  font-size: 12px;
}

.gs-compliance-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(219, 244, 232, 0.52);
}

/* ==========================================================
   RIGHT VISUAL PANEL
========================================================== */

.gs-compliance-visual {
  position: relative;
  z-index: 4;
  width: 760px;
  height: 390px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 52% 48%,
      rgba(25, 216, 117, 0.07),
      transparent 42%),
    linear-gradient(145deg,
      rgba(8, 76, 58, 0.58),
      rgba(5, 54, 42, 0.65));
  transform: scale(0.65);
  transform-origin: left center;
}

.gs-compliance-visual::before {
  content: "";
  position: absolute;
  top: -155px;
  left: 50%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(25, 216, 117, 0.24);
  border-radius: 50%;
  transform: translateX(-50%);
}

.gs-compliance-visual::after {
  content: "";
  position: absolute;
  bottom: -240px;
  left: 28%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(25, 216, 117, 0.28);
  border-radius: 50%;
  background: rgba(25, 216, 117, 0.035);
}

/* ==========================================================
   DOCUMENTS
========================================================== */

.gs-compliance-documents {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 30px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  align-items: center;
  gap: 35px;
  transform: translateY(-50%);
}

.gs-compliance-document {
  position: relative;
  min-width: 0;
  height: 180px;
}

.gs-document-shadow {
  position: absolute;
  z-index: 1;
  top: 15px;
  right: -10px;
  bottom: -15px;
  left: -10px;
  border-radius: 8px;
  background: rgba(159, 213, 187, 0.3);
}

.gs-document-face {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 22px 18px 18px;
  border-radius: 7px;
  box-shadow: 0 15px 29px rgba(1, 31, 23, 0.13);
}

.gs-document-face strong {
  position: relative;
  z-index: 3;
  display: block;
  color: #083c30;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

.gs-document-source .gs-document-face {
  background: linear-gradient(145deg, #fffdf7, #f4f0e7);
}

.gs-document-mofa .gs-document-face {
  background: linear-gradient(145deg, #e8e8ff, #d8d9ff);
}

.gs-document-endorse .gs-document-face {
  background: linear-gradient(145deg, #e9f6fd, #d8ecfa);
}

.gs-document-ready .gs-document-face {
  background: linear-gradient(145deg, #ebfbf2, #d7f3e4);
}

/* Document lines */
.gs-document-lines {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 28px;
}

.gs-document-lines span {
  display: block;
  width: 82%;
  height: 6px;
  border-radius: 99px;
  background: rgba(61, 122, 96, 0.3);
}

.gs-document-lines span:nth-child(2) {
  width: 67%;
}

.gs-document-lines span:nth-child(3) {
  width: 55%;
}

/* MOFA and globe icons */
.gs-mofa-icon,
.gs-globe-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 19px auto 0;
}

.gs-mofa-icon svg,
.gs-globe-icon svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: #174c3e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gs-document-mofa .gs-document-lines,
.gs-document-endorse .gs-document-lines {
  gap: 8px;
  margin-top: 3px;
}

/* Ready check */
.gs-ready-check {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  margin: 19px auto 0;
  border-radius: 50%;
  background: var(--compliance-green);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(12, 174, 91, 0.2);
}

.gs-ready-check svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gs-document-ready .gs-document-lines {
  gap: 8px;
  margin-top: 14px;
}

.gs-ready-fold {
  position: absolute;
  right: 0;
  bottom: 0;
  border-right: 17px solid #bcdcc9;
  border-top: 17px solid transparent;
}

/* ==========================================================
   CONNECTING PATH
========================================================== */

.gs-compliance-path {
  position: absolute;
  z-index: 8;
  top: 53%;
  left: 4%;
  width: 92%;
  height: auto;
  overflow: visible;
  pointer-events: none;
  transform: translateY(-50%);
}

.gs-compliance-path-shadow {
  fill: none;
  stroke: rgba(2, 40, 30, 0.45);
  stroke-width: 9;
  stroke-linecap: round;
}

.gs-compliance-path-line {
  fill: none;
  stroke: var(--compliance-green);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: gsCompliancePath 2.1s ease forwards;
}

.gs-process-ring {
  fill: #053b2e;
  stroke: #02271e;
  stroke-width: 3;
}

.gs-process-dot {
  fill: var(--compliance-green);
}

@keyframes gsCompliancePath {
  to {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width: 1650px) {
  .gs-compliance-card {
    min-height: 440px;
    padding: 45px 50px;
  }
}

/* ==========================================================
   LAPTOP
========================================================== */

@media (max-width: 1200px) {
  .gs-compliance-card {
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 35px;
    padding: 50px 43px;
  }

  .gs-compliance-visual {
    width: 760px;
    transform: scale(0.60);
    transform-origin: left center;
  }

  .gs-compliance-documents {
    right: 22px;
    left: 22px;
    gap: 22px;
  }
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {
  .gs-compliance-cta {
    padding: 78px 25px;
  }

  .gs-compliance-card {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 53px 48px 62px;
  }

  .gs-compliance-content h2 {
    max-width: 700px;
  }

  .gs-compliance-content>p {
    max-width: 700px;
  }

  .gs-compliance-visual {
    height: 410px;
  }

  .gs-compliance-documents {
    max-width: 700px;
    margin: auto;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 680px) {
  .gs-compliance-cta {
    padding: 62px 15px;
  }

  .gs-compliance-container::before {
    left: -15px;
  }

  .gs-compliance-container::after {
    right: -15px;
  }

  .gs-compliance-card {
    gap: 43px;
    padding: 40px 21px 45px;
    border-radius: 20px;
  }

  .gs-compliance-eyebrow {
    min-height: 35px;
    margin-bottom: 24px;
    padding: 9px 17px;
    font-size: 9px;
  }

  .gs-compliance-content h2 {
    font-size: clamp(37px, 10vw, 48px);
    line-height: 1.02;
  }

  .gs-compliance-content h2 br {
    display: none;
  }

  .gs-compliance-content>p {
    margin-top: 21px;
    font-size: 15px;
  }

  .gs-compliance-button {
    width: 100%;
    min-width: 0;
    min-height: 59px;
    margin-top: 27px;
    padding: 14px 20px 14px 23px;
    font-size: 15px;
  }

  .gs-compliance-meta {
    justify-content: center;
    gap: 8px;
    font-size: 10px;
  }

  .gs-compliance-visual {
    width: 100%;
    height: auto;
    min-height: 640px;
    padding: 25px 18px;
    transform: none;
  }

  .gs-compliance-documents {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    transform: none;
  }

  .gs-compliance-document {
    height: 235px;
  }

  .gs-compliance-path {
    display: none;
  }

  .gs-compliance-coral {
    top: 30px;
    right: 30px;
  }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 430px) {
  .gs-compliance-card {
    padding-right: 17px;
    padding-left: 17px;
  }

  .gs-compliance-visual {
    min-height: 1040px;
  }

  .gs-compliance-documents {
    grid-template-columns: 1fr;
  }

  .gs-compliance-document {
    width: 100%;
    max-width: 230px;
    height: 230px;
    margin: 0 auto;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .gs-compliance-button,
  .gs-compliance-button::before,
  .gs-compliance-button svg,
  .gs-compliance-path-line {
    animation: none;
    transition: none;
  }

  .gs-compliance-path-line {
    stroke-dashoffset: 0;
  }
}

/* =========================================================
   BUSINESS CONSULTING — MOBILE POLISH (Document Legalization)
========================================================= */

@media (max-width: 700px) {

  /* ---------- Hero ---------- */
  .legalization-hero__visual { display: none !important; }

  .legalization-hero { min-height: 0 !important; }

  .legalization-hero__container {
    display: block;
    min-height: 0 !important;
    padding: 28px 16px 36px !important;
  }

  .legalization-hero__eyebrow {
    display: block;
    max-width: 100%;
    margin: 0 auto 12px;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 2px;
  }

  .legalization-hero__title {
    font-size: clamp(24px, 7.2vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.8px;
  }

  .legalization-hero__description {
    max-width: 100%;
    margin: 14px auto 0;
    font-size: 13.5px;
    line-height: 1.6;
  }

  .legalization-hero__button {
    display: flex;
    width: 100%;
    max-width: 340px;
    min-height: 48px;
    margin: 20px auto 0;
    padding: 0 20px;
  }

  /* ---------- Section containers: full width, 16px gutters ---------- */
  .compliance-container,
  .institutional-container,
  .why-work-container,
  .journey-container,
  .compliance-cta-container,
  .gs-compliance-container,
  .gs-services-container,
  .gs-faq-container {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  /* ---------- Consistent section headings ---------- */
  .compliance-process-section h2,
  .gs-services-showcase h2,
  .institutional-section h2,
  .why-work-section h2,
  .journey-section h2,
  .gs-faq-section h2,
  .gs-compliance-cta h2 {
    font-size: clamp(24px, 6.8vw, 32px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.8px !important;
  }

  .compliance-process-section h2 br,
  .gs-services-showcase h2 br,
  .institutional-section h2 br,
  .why-work-section h2 br,
  .journey-section h2 br,
  .gs-faq-section h2 br,
  .gs-compliance-cta h2 br { display: none; }

  .compliance-process-section,
  .gs-services-showcase,
  .institutional-section,
  .why-work-section,
  .journey-section,
  .gs-faq-section,
  .gs-compliance-cta { overflow-x: clip; }
}

@media (max-width: 390px) {
  .compliance-container,
  .institutional-container,
  .why-work-container,
  .journey-container,
  .compliance-cta-container,
  .gs-compliance-container,
  .gs-services-container,
  .gs-faq-container {
    width: calc(100% - 24px) !important;
  }
}
