/* GEO service page and the shared inline links used by editorial pages. */
.geo-link {
  color: var(--blue-deep, #0a3d91);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.geo-link:hover {
  text-decoration-thickness: 2px;
}

.geo-link:focus-visible,
.geo-service a:focus-visible {
  outline: 2px solid var(--geo-action, #174fa2);
  outline-offset: 4px;
}

.geo-service-page {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .geo-service-page.is-following-section-link {
    scroll-behavior: smooth;
  }
}

.geo-service {
  --geo-silver: var(--ferly-surface-silver);
  --geo-ink: var(--ferly-editorial-ink);
  --geo-muted: var(--ferly-editorial-muted);
  --geo-line: var(--ferly-editorial-rule);
  --geo-action: #6337be;
  --geo-price-emphasis: #ae3657;
  --geo-anchor-offset: calc(var(--site-header-height, 104px) + 16px);
  background: #fff;
  color: var(--geo-ink);
  line-height: 1.6;
}

.geo-service [id] {
  scroll-margin-top: var(--geo-anchor-offset);
}

.geo-service :is(h1, h2, h3) {
  overflow-wrap: anywhere;
}

.geo-shell {
  width: min(100% - clamp(40px, 8.5vw, 120px), 1320px);
  margin-inline: auto;
}

.geo-overline {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .02em;
}

.geo-title {
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.026em;
}

.geo-lead {
  background: var(--geo-silver);
}

.geo-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding-block: clamp(42px, 7.2vw, 105px);
}

.geo-lead h1 {
  margin-block: 16px 20px;
  font-size: clamp(42px, 4.25vw, 62px);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.06;
}

.geo-lead-summary {
  max-width: 27em;
  font-size: clamp(16px, 1.38vw, 20px);
  line-height: 1.62;
}

.geo-lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 22px;
  margin-block-start: 23px;
}

.geo-primary,
.geo-text-action {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  min-height: 46px;
  font-weight: 750;
  white-space: nowrap;
}

.geo-primary {
  padding-inline: 19px;
  border-radius: 999px;
  background: var(--ferly-cta-blue);
  color: #fff;
}

.geo-primary:hover {
  background: var(--ferly-cta-blue-hover);
}

.geo-text-action {
  color: var(--geo-action);
}

.geo-text-action:hover {
  text-decoration: underline;
  text-underline-offset: .22em;
}

.geo-lead-symbol { display: grid; place-items: center; }
.geo-lead-symbol img { display: block; width: min(84%, 430px); height: auto; }

.geo-approach {
  position: relative;
  padding-block: clamp(40px, 6vw, 82px) clamp(24px, 4vw, 52px);
}

.geo-anchor-marker {
  position: absolute;
  inset-block-start: 0;
}

.geo-route-cards {
  display: flex;
  gap: clamp(10px, 1.2vw, 17px);
  margin-block-start: clamp(18px, 2.5vw, 35px);
}

.geo-route {
  position: relative;
  display: grid;
  flex: 1 1 0;
  align-content: center;
  gap: 10px;
  min-width: 0;
  min-height: clamp(116px, 12vw, 164px);
  padding: clamp(19px, 2.7vw, 36px);
  padding-inline-end: clamp(60px, 6.4vw, 86px);
  background-color: var(--geo-route-fill, #f7f8fa);
}

.geo-route-process {
  --geo-route-fill: #fff0a6;
  --geo-route-hover-fill: #ffe578;
  --geo-route-accent: #74500d;
}

.geo-route-methods {
  --geo-route-fill: #eadfff;
  --geo-route-hover-fill: #dbc7ff;
  --geo-route-accent: var(--geo-action);
}

.geo-route:is(:hover, :focus-visible) {
  background-color: var(--geo-route-hover-fill, #f2eaff);
}

.geo-service .geo-route:focus-visible {
  outline-color: var(--geo-route-accent, var(--geo-action));
}

.geo-route strong {
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 650;
  letter-spacing: -.018em;
  line-height: 1.23;
}

.geo-route > span:not([aria-hidden]) {
  color: var(--geo-muted);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
}

.geo-route-arrow {
  position: absolute;
  inset: clamp(13px, 1.7vw, 24px) clamp(13px, 1.7vw, 24px) auto auto;
  display: grid;
  width: clamp(34px, 3.6vw, 46px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--geo-route-accent, var(--geo-action));
  font-size: 1.32rem;
  line-height: 1;
}

.geo-route:is(:hover, :focus-visible) .geo-route-arrow {
  color: #fff;
  background: var(--geo-route-accent, var(--geo-action));
  border-color: var(--geo-route-accent, var(--geo-action));
}

.geo-industries {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-block-start: clamp(28px, 4vw, 56px);
  padding-block-start: clamp(18px, 2.2vw, 30px);
  border-block-start: 1px solid var(--geo-line);
}

.geo-industries h2 {
  font-size: clamp(23px, 2.15vw, 31px);
  font-weight: 650;
  line-height: 1.25;
}

.geo-industries p { margin-block-start: 10px; }
.geo-industries dt { font-weight: 650; }
.geo-industries :is(p, dd) { color: var(--geo-muted); }
.geo-industries dd { margin-block-start: 4px; }

.geo-industries dl > div + div {
  margin-block-start: 12px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--geo-line);
}

@media (min-width: 800px) {
  .geo-industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(35px, 5vw, 72px);
  }
}

.geo-process {
  padding-block: clamp(42px, 6vw, 87px);
  background: #f5f7fa;
}

.geo-process-list {
  --geo-step-gap: clamp(13px, 2.2vw, 35px);
  --geo-step-ink: #405169;
  --geo-step-mist-track: #4f8fd0;
  --geo-step-apricot-track: #e38c5c;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--geo-step-gap);
  margin-block-start: clamp(25px, 4vw, 58px);
  padding: 0;
  list-style: none;
}

.geo-process-list::before {
  --geo-step-tone-start: calc((100% + var(--geo-step-gap)) * .4);
  --geo-step-tone-end: calc((100% + var(--geo-step-gap)) * .6);
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(to right, var(--geo-step-mist-track) var(--geo-step-tone-start), var(--geo-step-apricot-track) var(--geo-step-tone-end));
  transform-origin: left;
  content: "";
}

.geo-process-list > li {
  --geo-step-dot: var(--geo-step-mist-track);
  --geo-step-hover-ink: #2866a4;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(2.6em, auto) 1fr;
  align-content: start;
  padding-block-start: 22px;
}

.geo-process-list > li:nth-child(n+4) {
  --geo-step-dot: var(--geo-step-apricot-track);
  --geo-step-hover-ink: #a9512d;
}

.geo-process-list > li::before {
  position: absolute;
  inset: -4px auto auto 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--geo-step-dot);
  content: "";
}

.geo-step-number {
  color: var(--geo-step-ink);
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 460;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.065em;
  line-height: 1;
}

.geo-process-list h3 {
  padding-block: 12px 7px;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.3;
}

.geo-process-list p {
  max-width: 15em;
  color: var(--geo-muted);
  font-size: 15px;
}

.geo-methods {
  padding-block: clamp(28px, 4.5vw, 62px);
}

.geo-methods-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.62fr);
  align-items: center;
  gap: clamp(24px, 4vw, 68px);
}

.geo-methods-copy .geo-overline {
  color: var(--geo-action);
}

.geo-methods-copy h2 {
  margin-block: 10px 16px;
  font-size: clamp(30px, 3.5vw, 56px);
}

.geo-methods-copy > p:not(.geo-overline) {
  max-width: 26em;
  margin-block-end: 18px;
  color: var(--geo-muted);
}

.geo-analysis-figure { margin: 0; min-width: 0; }
.geo-analysis-figure picture { display: block; }
.geo-analysis-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--geo-line);
  border-radius: 18px;
  background: #f3f7fb;
  box-shadow: 0 20px 46px -28px #172e4966;
}
.geo-analysis-figure figcaption {
  margin-block-start: 9px;
  color: var(--geo-muted);
  font-size: .83rem;
}
@media (max-width: 860px) {
  .geo-methods-layout { grid-template-columns: minmax(0, 1fr); }
  .geo-methods-copy .geo-lead-break { display: none; }
  .geo-analysis-figure img { border-radius: 12px; }
}

.geo-service-pricing {
  padding-block: clamp(39px, 6vw, 83px);
  border-top: 1px solid var(--geo-line);
}

.geo-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: clamp(24px, 4vw, 55px) 0;
  border-block: 1px solid var(--geo-line);
}

.geo-plan {
  --geo-plan-hover-ink: #ae3657;
  --geo-plan-hover-fill: #fff0f3;
  --geo-plan-hover-rule: #e67595;
  position: relative;
  padding: clamp(18px, 3vw, 41px);
}

.geo-plan:nth-child(2) { --geo-plan-hover-ink: #6337be; --geo-plan-hover-fill: #f4edff; --geo-plan-hover-rule: #a88af4; }
.geo-plan:nth-child(3) { --geo-plan-hover-ink: #1665af; --geo-plan-hover-fill: #eaf3ff; --geo-plan-hover-rule: #79a8d4; }

.geo-plan:not(:nth-child(3n + 1)) {
  border-inline-start: 1px solid var(--geo-line);
}

.geo-plan:nth-child(n + 4) {
  border-block-start: 1px solid var(--geo-line);
}

.geo-plan::before {
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: var(--geo-plan-hover-rule);
  opacity: 0;
  pointer-events: none;
  content: "";
}

.geo-plan:focus-visible {
  z-index: 1;
  outline: 2px solid var(--geo-plan-hover-ink);
  outline-offset: -2px;
  background-color: var(--geo-plan-hover-fill);
}

.geo-plan:focus-visible::before { opacity: 1; }
.geo-plan:focus-visible .geo-plan-price { color: var(--geo-plan-hover-ink); }

.geo-plan h3 {
  font-size: clamp(17px, 1.7vw, 23px);
}

.geo-plan-price {
  margin-block: 8px 4px;
  font-size: clamp(39px, 5.5vw, 83px);
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.07em;
  line-height: 1.12;
  white-space: nowrap;
}

.geo-plan-period {
  color: var(--geo-muted);
}

.geo-plan-terms {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--geo-line);
  color: var(--geo-muted);
  font-size: 14px;
}

.geo-plan-first-payment {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3em;
  color: var(--geo-price-emphasis);
  font-size: clamp(16px, 1.65vw, 22px);
  font-weight: 750;
  line-height: 1.35;
}

.geo-plan-first-payment strong {
  font-size: 1.32em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.geo-plan-first-payment + p {
  margin-top: 5px;
}

.geo-plan-inclusion {
  margin-block: 10px clamp(12px, 2vw, 25px);
  color: var(--geo-muted);
  font-size: .875rem;
}

.geo-cooperation > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 3px 22px;
  padding: 17px 0;
  border-block-end: 1px solid var(--geo-line);
}

.geo-cooperation dt {
  font-weight: 800;
}

.geo-cooperation dd {
  max-width: 44em;
  color: var(--geo-muted);
}

.geo-contact-band {
  padding-block: clamp(28px, 4.7vw, 63px);
  background: var(--geo-silver);
}

.geo-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.geo-contact-row h2 {
  font-size: clamp(24px, 3.3vw, 50px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.geo-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  min-height: 44px;
  color: var(--ferly-phone-on-tint);
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.geo-contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: .23em;
}

.geo-phone-mobile {
  display: none;
}

.geo-redirect {
  min-height: 35vh;
  padding-block: 60px;
}

.geo-redirect p {
  margin-block-start: 14px;
}

@media (min-width: 800px) and (prefers-reduced-motion: no-preference) {
  .geo-route {
    transition: flex-grow 440ms cubic-bezier(.2,.72,.3,1), background-color 220ms ease-out;
  }

  .geo-route > :is(strong, span:not([aria-hidden])) {
    transform-origin: left center;
    transition: transform 440ms cubic-bezier(.2,.72,.3,1);
  }

  .geo-route:is(:hover, :focus-visible) > strong {
    transform: scale(1.075, 1.035);
  }

  .geo-route:is(:hover, :focus-visible) > span:not([aria-hidden]) {
    transform: translateY(-3px) scale(1.035);
  }

  .geo-route-arrow {
    transition: transform 220ms ease-out;
  }

  .geo-route:is(:hover, :focus-visible) {
    flex-grow: 1.38;
  }

  .geo-route:is(:hover, :focus-visible) .geo-route-arrow {
    transform: translate(3px, -3px);
  }

  .geo-process-list.is-flow-observed::before {
    transition: transform 420ms cubic-bezier(.2, .7, .3, 1);
  }

  .geo-process-list.is-flow-observed:not(.has-entered)::before {
    transform: scaleX(0);
  }

  .geo-process-list > li:nth-child(2) { --geo-step-delay: 70ms; }
  .geo-process-list > li:nth-child(3) { --geo-step-delay: 140ms; }
  .geo-process-list > li:nth-child(4) { --geo-step-delay: 210ms; }
  .geo-process-list > li:nth-child(5) { --geo-step-delay: 280ms; }

  .geo-process-list.is-flow-observed :is(.geo-step-number, h3) {
    --geo-enter-delay: calc(100ms + var(--geo-step-delay, 0ms));
    transition: opacity 280ms ease-out var(--geo-enter-delay), translate 280ms ease-out var(--geo-enter-delay), transform 260ms cubic-bezier(.2,.72,.3,1), color 180ms ease-out;
  }

  .geo-process-list.is-flow-observed:not(.has-entered) :is(.geo-step-number, h3) {
    opacity: .25;
    translate: 0 7px;
  }
}

@media (min-width: 800px) and (hover: hover) and (pointer: fine) {
  .geo-process-list > li::after {
    position: absolute;
    inset: 0 auto auto 0;
    width: calc(100% + var(--geo-step-gap));
    height: 1px;
    background: var(--geo-step-dot);
    opacity: 0;
    pointer-events: none;
    content: "";
  }

  .geo-process-list > li:has(~ li:hover)::after { opacity: 1; }
  .geo-process-list > li:hover::before { box-shadow: 0 0 0 5px color-mix(in srgb, var(--geo-step-dot) 24%, transparent); }
  .geo-step-number { transform-origin: left bottom; }
}

@media (hover: hover) and (pointer: fine) {
  .geo-process-list > li:hover :is(.geo-step-number, h3) { color: var(--geo-step-hover-ink); }
  .geo-process-list > li:hover::before { background-color: var(--geo-step-hover-ink); }

  .geo-plan:hover { background-color: var(--geo-plan-hover-fill); }
  .geo-plan:hover::before { opacity: 1; }
  .geo-plan:hover .geo-plan-price { color: var(--geo-plan-hover-ink); }
  .geo-plan-price { transform-origin: left bottom; }
}

@media (min-width: 800px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .geo-process-list > li::before { transition: background-color 180ms ease-out, box-shadow 230ms ease-out; }
  .geo-process-list > li::after { transition: opacity 230ms ease-out; }
  .geo-process-list:not(.is-flow-observed) .geo-step-number {
    transition: transform 260ms cubic-bezier(.2,.72,.3,1);
  }
  .geo-process-list > li:hover .geo-step-number { transform: translateY(-4px) scale(1.08, 1.045); }

  .geo-plan { transition: background-color 240ms ease-out; }
  .geo-plan::before { transition: opacity 240ms ease-out; }
  .geo-plan-price { transition: transform 300ms cubic-bezier(.2,.72,.3,1), color 180ms ease-out; }
  .geo-plan:hover .geo-plan-price { transform: translateY(-4px) scale(1.035); }
}

@media (max-width: 799px) {
  .geo-service {
    --geo-anchor-offset: calc(var(--site-header-height, 64px) + 13px);
  }

  .geo-lead-layout,
  .geo-plan-grid,
  .geo-cooperation > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .geo-lead-layout {
    padding-block: 33px 44px;
  }

  .geo-lead h1 {
    margin-block: 12px 13px;
    font-size: clamp(34px, 8.8vw, 47px);
  }

  .geo-lead-symbol img { width: min(76vw, 260px); }

  .geo-route-cards {
    flex-direction: column;
  }

  .geo-process-list {
    display: block;
  }

  .geo-process-list::before {
    display: none;
  }

  .geo-process-list > li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 3px 12px;
    min-height: 85px;
    padding: 14px 0;
    border-top: 1px solid var(--geo-line);
  }

  .geo-process-list .is-flow-current {
    border-top-color: var(--geo-step-dot);
  }

  .geo-process-list .is-flow-current::before {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--geo-step-dot) 22%, transparent);
  }

  .geo-process-list .is-flow-current .geo-step-number {
    color: var(--geo-ink);
  }

  .geo-step-number {
    grid-row: 1 / 3;
  }

  .geo-process-list h3 {
    padding: 0;
  }

  .geo-process-list p {
    max-width: 42em;
  }

  .geo-plan,
  .geo-plan:not(:first-child) {
    grid-row: auto;
    padding: 17px 0;
    border-inline-start: 0;
  }

  .geo-plan + .geo-plan {
    border-block-start: 1px solid var(--geo-line);
  }

  .geo-plan-price {
    font-size: clamp(45px, 13vw, 64px);
  }

  .geo-phone-desktop {
    display: none;
  }

  .geo-phone-mobile {
    display: inline;
  }
}

@media (max-width: 799px) and (prefers-reduced-motion: no-preference) {
  .geo-process-list > li { transition: border-color 180ms ease-out; }
  .geo-process-list > li::before { transition: box-shadow 180ms ease-out; }
  .geo-process-list .geo-step-number { transition: color 180ms ease-out; }
}
