/*
Theme Name: FEESGO Avada Child
Theme URI: https://feesgo.com/
Description: FEESGO company-site P0 redesign built as a reversible Avada child theme.
Author: FEESGO
Template: Avada
Version: 0.5.5
Text Domain: feesgo-avada-child
*/

:root {
  --ink: #071417;
  --ink-soft: #153036;
  --paper: #f4f1e8;
  --paper-deep: #e5e0d3;
  --cyan: #30a7d2;
  --cyan-bright: #52cef2;
  --signal: #ffdd49;
  --white: #fffdf7;
  --line: rgba(7, 20, 23, 0.18);
  --line-light: rgba(255, 255, 255, 0.18);
  --display: "Avenir Next Condensed", "Franklin Gothic Condensed", "Arial Narrow", sans-serif;
  --body: "Avenir Next", "Futura", "Century Gothic", sans-serif;
  --shadow: 0 30px 90px rgba(7, 20, 23, 0.14);
  --radius: 2px;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(7, 20, 23, 0.035) 50%, transparent 50.1%),
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 99;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--white);
  border-bottom: 1px solid var(--line-light);
  background: rgba(7, 20, 23, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 142px;
  height: 44px;
  padding: 5px 10px;
  overflow: hidden;
  background: var(--white);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
}

.site-nav a,
.header-actions a,
.language-switcher button,
.language-switcher a {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 30px 0 26px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.language-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}

.language-switcher button,
.language-switcher a {
  padding: 7px 8px;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  border: 0;
  background: transparent;
}

.language-switcher button:hover,
.language-switcher a:hover,
.language-switcher button.is-active,
.language-switcher a.is-active {
  color: var(--signal);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--signal);
  border-radius: var(--radius);
  background: var(--signal);
  box-shadow: 5px 5px 0 rgba(7, 20, 23, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 2px 2px 0 rgba(7, 20, 23, 0.22);
  transform: translate(3px, 3px);
}

.button--small {
  min-height: 42px;
  padding: 9px 14px;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span:last-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.text-link:hover span:last-child {
  transform: translate(3px, -3px);
}

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 73% 18%, rgba(48, 167, 210, 0.2), transparent 28%),
    linear-gradient(128deg, var(--ink) 0 62%, #0f282e 62% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  gap: clamp(38px, 6vw, 100px);
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 84px - 102px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 136px) 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.method h2,
.quote-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(4rem, 8vw, 8.5rem);
}

.hero h1 span {
  display: block;
}

.hero-title-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan-bright);
  text-stroke: 2px var(--cyan-bright);
}

.hero-lead {
  max-width: 650px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 46px;
}

.route-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(5, 17, 20, 0.74);
  box-shadow: 18px 20px 0 rgba(48, 167, 210, 0.16);
}

.route-board::before {
  position: absolute;
  top: -60%;
  left: 24%;
  width: 70%;
  height: 200%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent);
  transform: rotate(18deg);
  animation: scan 7s linear infinite;
}

@keyframes scan {
  from { transform: translateX(-100%) rotate(18deg); }
  to { transform: translateX(150%) rotate(18deg); }
}

.route-board__head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  border-bottom: 1px solid var(--line-light);
}

.live-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  content: "";
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(255, 221, 73, 0.12);
}

.route-map {
  position: relative;
  z-index: 1;
  padding: 18px 22px 0;
}

.route-map svg {
  display: block;
  width: 100%;
}

.map-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.route-line {
  fill: none;
  stroke: url("#routeGradient");
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  filter: url("#glow");
  animation: routeFlow 1.2s linear infinite;
}

.route-line--shadow {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 22;
  stroke-dasharray: none;
  filter: none;
}

@keyframes routeFlow {
  to { stroke-dashoffset: -22; }
}

.route-pulse {
  fill: var(--signal);
  stroke: rgba(255, 221, 73, 0.25);
  stroke-width: 14;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 1.8s ease-in-out infinite;
}

.route-pulse--b { animation-delay: 0.45s; }
.route-pulse--c { animation-delay: 0.9s; }

@keyframes pulse {
  50% { transform: scale(1.45); stroke-width: 4; }
}

.route-map text {
  fill: rgba(255, 255, 255, 0.76);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.route-modes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}

.route-modes > div {
  display: grid;
  gap: 3px;
  min-height: 116px;
  padding: 18px;
  border-right: 1px solid var(--line-light);
}

.route-modes > div:last-child {
  border-right: 0;
}

.route-modes span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 900;
}

.route-modes strong {
  font-family: var(--display);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.route-modes small {
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.35;
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
}

.trust-rail > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 102px;
  padding: 20px clamp(20px, 3vw, 44px);
  border-right: 1px solid var(--line-light);
}

.trust-rail > div:last-child {
  border-right: 0;
}

.trust-rail strong {
  color: var(--signal);
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.trust-rail span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1.3;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(96px, 12vw, 180px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  gap: 20px clamp(36px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(54px, 7vw, 96px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h1,
.section-heading h2,
.method h2,
.quote-section h2 {
  font-size: clamp(3rem, 6vw, 6.8rem);
}

.section-heading > p:last-child,
.method-copy > p,
.quote-intro > p {
  margin: 0;
  color: rgba(7, 20, 23, 0.64);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--white);
  transition: color 220ms ease, background 220ms ease;
}

.service-card:hover {
  color: var(--white);
  background: var(--ink);
}

.service-index {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-symbol {
  margin: 46px 0 34px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.service-card h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.02;
  text-transform: uppercase;
}

.service-card p {
  margin: 0 0 28px;
  color: rgba(7, 20, 23, 0.62);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.66);
}

.service-card a {
  margin-top: auto;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.service-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 130px 110px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 210px;
}

.service-card--wide .service-symbol,
.service-card--wide h3,
.service-card--wide p {
  margin: 0;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(56px, 10vw, 150px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.method-copy {
  position: sticky;
  top: 130px;
}

.method-copy > p {
  max-width: 580px;
  margin: 32px 0;
}

.method-steps {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.method-steps li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  min-height: 210px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.method-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.method-steps > li > span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.method-steps h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.method-steps p {
  max-width: 580px;
  margin: 0;
  color: rgba(7, 20, 23, 0.62);
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 10vw, 160px);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
}

.about blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 7.3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-transform: uppercase;
}

.about-details {
  align-self: end;
}

.about-details > p {
  margin: 0 0 50px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.about dl {
  margin: 0;
}

.about dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line-light);
}

.about dt {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about dd {
  margin: 0;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(56px, 9vw, 140px);
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(96px, 12vw, 180px) 0;
}

.quote-intro > p {
  max-width: 540px;
  margin-top: 30px;
}

.quote-direct {
  display: grid;
  gap: 6px;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.quote-direct span {
  margin-bottom: 8px;
  color: rgba(7, 20, 23, 0.56);
  font-size: 0.86rem;
}

.quote-direct a {
  width: fit-content;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 900;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 22px;
  padding: clamp(26px, 4vw, 54px);
  color: var(--white);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.quote-form-wrap,
.quote-form-wrap .wpcf7 {
  min-width: 0;
}

.quote-form .wpcf7-form-control-wrap {
  display: block;
}

.quote-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #ffaaa2;
  font-size: 0.76rem;
}

.quote-form .wpcf7-response-output {
  padding: 12px 14px !important;
  margin: 4px 0 0 !important;
  color: var(--white);
  border: 1px solid var(--cyan) !important;
  font-size: 0.82rem;
}

.quote-form.init .wpcf7-response-output,
.quote-form[data-status="init"] .wpcf7-response-output,
.quote-form[data-status="resetting"] .wpcf7-response-output {
  display: none;
}

.quote-form .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.quote-form input[type="submit"] {
  width: auto;
  min-height: 52px;
  color: var(--ink);
  border-color: var(--signal);
  background: var(--signal);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-form br {
  display: none;
}

.quote-form p {
  margin: 0;
}

.quote-form .form-row > p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-form .form-row {
  display: block;
}

.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form label > span:first-child {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--cyan-bright);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(82, 206, 242, 0.15);
}

.quote-form [aria-invalid="true"] {
  border-color: #ff7b6f;
}

.consent {
  grid-template-columns: auto 1fr;
  gap: 12px !important;
  align-items: start;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--signal);
}

.consent span {
  font-family: var(--body) !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.form-footer {
  display: flex;
  gap: 20px;
  align-items: center;
}

.form-status {
  margin: 0;
  color: var(--signal);
  font-size: 0.82rem;
  line-height: 1.4;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 48px;
  padding: 70px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  border-top: 8px solid var(--cyan);
  background: #030c0e;
}

.footer-brand img {
  width: 170px;
  padding: 7px 12px;
  background: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--signal);
}

.legal-note {
  grid-column: 1 / -1;
  max-width: 850px;
  padding-top: 28px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  border-top: 1px solid var(--line-light);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 28px;
    color: var(--white);
    border-bottom: 1px solid var(--line-light);
    background: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: 16px;
    place-content: center;
    color: var(--white);
    cursor: pointer;
    border: 1px solid var(--line-light);
    background: transparent;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .header-actions {
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .route-board {
    max-width: 760px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .brand {
    width: 112px;
    height: 36px;
  }

  .site-nav {
    top: 72px;
  }

  .header-actions .button {
    display: none;
  }

  .language-switcher button,
.language-switcher a {
    padding: 6px 5px;
    font-size: 0.68rem;
  }

  .hero {
    background:
      radial-gradient(circle at 80% 26%, rgba(48, 167, 210, 0.2), transparent 30%),
      var(--ink);
  }

  .hero-grid,
  .section,
  .quote-section {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero-grid {
    min-height: auto;
    padding: 72px 0;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14.5vw, 5.4rem);
  }

  .hero-title-accent {
    -webkit-text-stroke-width: 1px;
  }

  .route-board {
    box-shadow: 8px 10px 0 rgba(48, 167, 210, 0.16);
  }

  .route-board__head {
    gap: 18px;
  }

  .route-modes {
    grid-template-columns: 1fr;
  }

  .route-modes > div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .trust-rail {
    grid-template-columns: 1fr 1fr;
  }

  .trust-rail > div {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 120px;
    border-bottom: 1px solid var(--line-light);
  }

  .section-heading,
  .method,
  .about,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 26px;
  }

  .section-heading h1,
  .section-heading h2,
  .method h2,
  .quote-section h2 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

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

  .service-card {
    min-height: 330px;
  }

  .service-card--wide {
    grid-template-columns: 1fr;
    min-height: 380px;
  }

  .method-copy {
    position: static;
  }

  .method-steps li {
    grid-template-columns: 65px 1fr;
  }

  .about {
    gap: 80px;
  }

  .quote-section {
    min-width: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-form .form-row > p {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 64px 24px;
  }

  .legal-note,
  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

/*
 * v0.2 — light editorial system.
 * The original FEESGO logo is a JPEG with a white canvas. A white navigation
 * surface integrates that real asset without fabricating a replacement mark.
 */
body {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(10, 42, 52, 0.025) 50%, transparent 50.1%),
    #f7fafb;
}

body::before {
  opacity: 0.07;
}

.feesgo-p0-home #main {
  padding-right: 0;
  padding-left: 0;
}

.site-header {
  color: var(--ink);
  border-bottom-color: rgba(7, 20, 23, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(8, 37, 47, 0.05);
}

.brand {
  width: 164px;
  height: 48px;
  padding: 0;
  background: #fff;
}

.site-nav a::after {
  background: var(--cyan);
}

.language-switcher button,
.language-switcher a {
  color: rgba(7, 20, 23, 0.48);
}

.language-switcher button:hover,
.language-switcher a:hover,
.language-switcher button.is-active,
.language-switcher a.is-active {
  color: #087ca8;
}

.button {
  color: #fff;
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 5px 5px 0 rgba(7, 20, 23, 0.14);
}

.button:hover {
  color: var(--ink);
  border-color: var(--signal);
  background: var(--signal);
}

.hero {
  color: var(--ink);
  background:
    linear-gradient(rgba(48, 167, 210, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 167, 210, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 79% 22%, rgba(48, 167, 210, 0.16), transparent 26%),
    linear-gradient(130deg, #fff 0 68%, #edf8fb 68% 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.hero-grid {
  min-height: min(820px, calc(100vh - 84px - 102px));
}

.hero-grid > * {
  min-width: 0;
}

.hero h1 span {
  overflow-wrap: normal;
  hyphens: manual;
}

.hero-title-accent {
  color: var(--cyan);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

.hero-lead {
  color: rgba(7, 20, 23, 0.68);
}

.hero .text-link {
  color: var(--ink);
}

.route-board {
  color: var(--white);
  border-color: rgba(7, 20, 23, 0.2);
  background:
    radial-gradient(circle at 85% 15%, rgba(48, 167, 210, 0.18), transparent 30%),
    #0b2228;
  box-shadow: 18px 20px 0 rgba(48, 167, 210, 0.16);
}

.trust-rail {
  border-top-color: rgba(7, 20, 23, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.trust-rail > div {
  border-right-color: rgba(7, 20, 23, 0.12);
}

.trust-rail strong {
  color: #087ca8;
}

.trust-rail span {
  color: rgba(7, 20, 23, 0.62);
}

.services {
  padding-bottom: clamp(110px, 13vw, 190px);
}

.service-grid {
  background: rgba(7, 20, 23, 0.18);
  border-color: rgba(7, 20, 23, 0.18);
  box-shadow: 0 32px 90px rgba(8, 37, 47, 0.1);
}

.service-card {
  min-height: 370px;
  background: #fff;
}

.service-card:hover {
  color: var(--ink);
  background: #eaf7fb;
}

.service-card:hover p {
  color: rgba(7, 20, 23, 0.68);
}

.service-card a:hover {
  color: #087ca8;
}

.capability-ledger {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(210px, 1fr));
  margin-top: 36px;
  border: 1px solid rgba(7, 20, 23, 0.18);
  background: #fff;
  box-shadow: 0 28px 80px rgba(8, 37, 47, 0.08);
}

.capability-ledger > div {
  min-width: 0;
  padding: clamp(26px, 3vw, 42px);
  border-right: 1px solid rgba(7, 20, 23, 0.12);
}

.capability-ledger > div:last-child {
  border-right: 0;
}

.capability-ledger__intro {
  color: #fff;
  background: var(--cyan);
}

.capability-ledger__intro > span,
.capability-group__index {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.capability-ledger__intro h3,
.capability-group h3 {
  margin: 30px 0 16px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
}

.capability-ledger__intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.capability-group__index {
  color: var(--cyan);
}

.capability-group ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.capability-group li {
  position: relative;
  padding-left: 18px;
  color: rgba(7, 20, 23, 0.66);
  font-size: 0.88rem;
  line-height: 1.45;
}

.capability-group li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 2px;
  content: "";
  background: var(--cyan);
}

.about {
  color: var(--ink);
  background: #eaf7fb;
  box-shadow: 0 0 0 100vmax #eaf7fb;
}

.about-details > p {
  color: rgba(7, 20, 23, 0.68);
}

.about dl > div {
  border-top-color: rgba(7, 20, 23, 0.16);
}

.quote-form {
  background:
    radial-gradient(circle at 100% 0, rgba(48, 167, 210, 0.22), transparent 32%),
    #0e2a31;
}

.site-footer {
  color: var(--ink);
  border-top-color: var(--cyan);
  background: #fff;
}

.footer-brand img {
  width: 176px;
  padding: 0;
  background: #fff;
}

.footer-brand p,
.site-footer a {
  color: rgba(7, 20, 23, 0.62);
}

.site-footer a:hover {
  color: #087ca8;
}

.legal-note {
  color: rgba(7, 20, 23, 0.48);
  border-top-color: rgba(7, 20, 23, 0.12);
}

.copyright {
  color: rgba(7, 20, 23, 0.38);
}

@media (max-width: 1120px) {
  .site-nav {
    color: var(--ink);
    border-bottom-color: rgba(7, 20, 23, 0.12);
    background: #fff;
    box-shadow: 0 18px 40px rgba(8, 37, 47, 0.08);
  }

  .site-nav a {
    border-bottom-color: rgba(7, 20, 23, 0.1);
  }

  .menu-toggle {
    color: var(--ink);
    border-color: rgba(7, 20, 23, 0.18);
  }

  .capability-ledger {
    grid-template-columns: 1fr 1fr;
  }

  .capability-ledger > div {
    border-bottom: 1px solid rgba(7, 20, 23, 0.12);
  }

  .capability-ledger > div:nth-child(2) {
    border-right: 0;
  }

  .capability-ledger > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 780px) {
  .brand {
    width: 120px;
    height: 38px;
  }

  .hero {
    background:
      linear-gradient(rgba(48, 167, 210, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(48, 167, 210, 0.05) 1px, transparent 1px),
      radial-gradient(circle at 90% 18%, rgba(48, 167, 210, 0.18), transparent 34%),
      #fff;
    background-size: 42px 42px, 42px 42px, auto, auto;
  }

  .trust-rail > div {
    border-bottom-color: rgba(7, 20, 23, 0.12);
  }

  .service-card {
    min-height: 310px;
  }

  .capability-ledger {
    grid-template-columns: 1fr;
  }

  .capability-ledger > div,
  .capability-ledger > div:nth-child(2),
  .capability-ledger > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(7, 20, 23, 0.12);
  }

  .capability-ledger > div:last-child {
    border-bottom: 0;
  }
}

/* Shared service-detail system — v0.5.
   Governed accent palette: anchored on the FEESGO blue, hue drift limited to
   the blue–teal range so the eight pages read as one family. Special cargo
   keeps a deep red as the hazard-semantics exception. All values pass 4.5:1
   on white for the small eyebrow text. */
.feesgo-service-page-body {
  --service-accent: #1b7ca6;
  --service-accent-soft: #e8f4f9;
  background: #f7fafb;
}

.feesgo-service-page-body.service-accent--sea {
  --service-accent: #274f9c;
  --service-accent-soft: #eaeffa;
}

.feesgo-service-page-body.service-accent--rail {
  --service-accent: #14707d;
  --service-accent-soft: #e6f4f5;
}

.feesgo-service-page-body.service-accent--road {
  --service-accent: #45549e;
  --service-accent-soft: #edeffa;
}

.feesgo-service-page-body.service-accent--customs {
  --service-accent: #0f7a5c;
  --service-accent-soft: #e6f5ef;
}

.feesgo-service-page-body.service-accent--warehouse {
  --service-accent: #0a6e86;
  --service-accent-soft: #e6f2f6;
}

.feesgo-service-page-body.service-accent--special {
  --service-accent: #b5364a;
  --service-accent-soft: #faecef;
}

.feesgo-service-page-body.service-accent--supply {
  --service-accent: #33628f;
  --service-accent-soft: #eaf1f7;
}

.feesgo-service-page-body #main {
  padding: 0 !important;
}

.feesgo-service-page-body .eyebrow {
  color: var(--service-accent);
}

.service-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(48, 167, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 167, 210, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 82% 17%, color-mix(in srgb, var(--service-accent) 18%, transparent), transparent 27%),
    #fff;
  background-size: 58px 58px, 58px 58px, auto, auto;
}

.service-hero::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -10vw;
  width: 42vw;
  height: 100%;
  content: "";
  background: var(--service-accent-soft);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.78fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  min-height: min(790px, calc(100vh - 84px - 116px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 126px) 0;
}

.service-hero__copy,
.service-manifest {
  min-width: 0;
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 48px;
  color: rgba(7, 20, 23, 0.46);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-breadcrumb a {
  text-decoration: none;
}

.service-breadcrumb a:hover {
  color: var(--service-accent);
}

.service-title {
  max-width: 850px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.6vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.89;
  text-transform: uppercase;
}

.service-title span {
  display: block;
  overflow-wrap: normal;
  hyphens: manual;
}

.service-title__accent {
  color: var(--service-accent);
}

.language-zh .service-title {
  font-family: "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: clamp(3.35rem, 6.8vw, 7rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.service-hero__lead {
  max-width: 690px;
  margin: 34px 0 0;
  color: rgba(7, 20, 23, 0.66);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin-top: 42px;
}

.feesgo-service-page-body .button {
  border-color: var(--service-accent);
  background: var(--service-accent);
}

.feesgo-service-page-body .button:hover {
  color: var(--ink);
  border-color: var(--signal);
  background: var(--signal);
}

.service-manifest {
  position: relative;
  color: #fff;
  border: 1px solid rgba(7, 20, 23, 0.2);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--service-accent) 28%, transparent), transparent 34%),
    #0b242b;
  box-shadow: 18px 20px 0 color-mix(in srgb, var(--service-accent) 22%, transparent);
}

.service-manifest__head {
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.service-manifest__body {
  position: relative;
  min-height: 410px;
  padding: 54px 38px 40px;
  overflow: hidden;
}

.service-manifest__watermark {
  position: absolute;
  top: 26px;
  right: 24px;
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--display);
  font-size: clamp(5.5rem, 16vw, 13rem);
  font-weight: 900;
  line-height: 1;
}

.service-route-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 30px);
  height: 56px;
  margin: 20px auto 54px;
}

.service-route-line::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--signal), var(--service-accent));
}

.service-route-line span {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: 21px;
  border: 3px solid #0b242b;
  border-radius: 50%;
  background: var(--service-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--service-accent) 25%, transparent);
}

.service-route-line span:first-child {
  background: var(--signal);
}

.service-manifest__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.15);
  list-style: none;
}

.service-manifest__steps li {
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 18px;
  background: #0b242b;
}

.service-manifest__steps span {
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 900;
}

.service-manifest__steps strong {
  font-family: var(--display);
  font-size: 1.02rem;
  text-transform: uppercase;
}

.service-manifest__note {
  padding: 17px 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--max));
  padding: 0;
  margin: 0 auto;
  border-top: 1px solid rgba(7, 20, 23, 0.13);
  background: rgba(255, 255, 255, 0.84);
}

.service-facts > div {
  min-width: 0;
  min-height: 116px;
  padding: 28px clamp(20px, 3vw, 42px);
  border-right: 1px solid rgba(7, 20, 23, 0.13);
}

.service-facts > div:last-child {
  border-right: 0;
}

.service-facts dt {
  margin-bottom: 8px;
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-facts a {
  text-decoration: none;
}

.service-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(100px, 12vw, 180px) 0;
}

.service-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.62fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: end;
  margin-bottom: clamp(58px, 7vw, 96px);
}

.service-section__heading > *,
.service-process__inner > *,
.service-requirements__inner > * {
  min-width: 0;
}

.service-section__heading h2,
.service-process h2,
.service-requirements h2,
.service-final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-transform: uppercase;
}

.service-section__heading h2,
.service-process h2,
.service-requirements h2,
.service-final-cta h2 {
  overflow-wrap: normal;
  hyphens: manual;
}

.service-requirements h2 {
  font-size: clamp(2.7rem, 4.3vw, 4.8rem);
}

.language-zh .service-section__heading h2,
.language-zh .service-process h2,
.language-zh .service-requirements h2,
.language-zh .service-final-cta h2 {
  font-family: "PingFang SC", "Noto Sans CJK SC", sans-serif;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.service-section__heading > p,
.service-process__intro > p:last-child,
.service-requirements__copy > p,
.service-final-cta > p {
  margin: 0;
  color: rgba(7, 20, 23, 0.62);
  font-size: 1.02rem;
}

.service-scope__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 20, 23, 0.17);
  background: rgba(7, 20, 23, 0.17);
  box-shadow: 0 28px 80px rgba(8, 37, 47, 0.08);
  list-style: none;
}

.service-scope__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 175px;
  padding: clamp(25px, 3vw, 40px);
  background: #fff;
}

.service-scope__list span {
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.service-scope__list p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-process {
  color: #fff;
  background:
    radial-gradient(circle at 8% 8%, color-mix(in srgb, var(--service-accent) 23%, transparent), transparent 25%),
    #0b242b;
}

.service-process h2,
.service-process h3,
.service-manifest strong {
  color: #fff;
}

.service-process__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(54px, 9vw, 140px);
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(100px, 12vw, 175px) 0;
}

.service-process__intro .eyebrow {
  color: var(--service-accent);
}

.service-process__intro h2 {
  max-width: 650px;
}

.service-process__intro > p:last-child {
  max-width: 560px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.6);
}

.service-process__steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-process__steps li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  min-height: 156px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.service-process__steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.service-process__steps > li > span {
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
}

.service-process__steps h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.8vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.service-process__steps p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.service-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-solutions__grid article {
  position: relative;
  min-height: 360px;
  padding: clamp(28px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(7, 20, 23, 0.15);
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 37, 47, 0.07);
}

.service-solutions__grid article::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  content: "";
  border: 36px solid var(--service-accent-soft);
  border-radius: 50%;
}

.service-solutions__grid article > span {
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
}

.service-solutions__grid h3 {
  position: relative;
  z-index: 1;
  margin: 90px 0 20px;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.service-solutions__grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(7, 20, 23, 0.62);
}

.service-requirements {
  background: var(--service-accent-soft);
}

.service-requirements__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(470px, 1.22fr);
  gap: clamp(58px, 10vw, 150px);
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(100px, 12vw, 175px) 0;
}

.service-requirements__copy > p {
  max-width: 560px;
  margin: 30px 0 40px;
}

.service-requirements__list {
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(7, 20, 23, 0.16);
  list-style: none;
}

.service-requirements__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid rgba(7, 20, 23, 0.16);
}

.service-requirements__list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  font-size: 0.74rem;
  border-radius: 50%;
  background: var(--service-accent);
}

.service-requirements__list p {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-boundary {
  padding: 24px 26px;
  margin-top: 32px;
  border-left: 5px solid var(--service-accent);
  background: rgba(255, 255, 255, 0.62);
}

.service-boundary strong {
  display: block;
  margin-bottom: 7px;
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-boundary p {
  margin: 0;
  color: rgba(7, 20, 23, 0.65);
}

.related-services {
  padding-bottom: clamp(100px, 12vw, 170px);
}

.related-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(7, 20, 23, 0.16);
  background: rgba(7, 20, 23, 0.16);
}

.related-services__grid a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 150px;
  padding: 30px;
  text-decoration: none;
  background: #fff;
  transition: color 180ms ease, background 180ms ease;
}

.related-services__grid a:hover {
  color: #fff;
  background: var(--service-accent);
}

.related-services__grid a > span:first-child {
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
}

.related-services__grid a:hover > span:first-child {
  color: var(--signal);
}

.related-services__grid strong {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.service-final-cta {
  width: min(calc(100% - 48px), var(--max));
  padding: clamp(70px, 9vw, 120px);
  margin: 0 auto clamp(80px, 10vw, 140px);
  text-align: center;
  border: 1px solid rgba(7, 20, 23, 0.14);
  background:
    linear-gradient(rgba(7, 20, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 20, 23, 0.04) 1px, transparent 1px),
    var(--service-accent-soft);
  background-size: 42px 42px;
}

.service-final-cta h2 {
  max-width: 950px;
  margin: 0 auto;
}

.service-final-cta > p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px auto 38px;
}

.service-final-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1120px) {
  .service-hero__inner {
    grid-template-columns: 1fr;
  }

  .service-manifest {
    max-width: 760px;
  }

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

  .service-process__inner,
  .service-requirements__inner {
    grid-template-columns: 1fr;
  }

  .service-process__intro,
  .service-requirements__copy {
    max-width: 780px;
  }
}

@media (max-width: 780px) {
  .service-hero::after {
    width: 100%;
    height: 38%;
    right: 0;
    bottom: 0;
    top: auto;
    clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 100%);
  }

  .service-hero__inner,
  .service-section,
  .service-process__inner,
  .service-requirements__inner,
  .service-final-cta {
    width: min(calc(100% - 32px), var(--max));
  }

  .service-hero__inner {
    min-height: auto;
    padding: 66px 0 78px;
  }

  .service-breadcrumb {
    margin-bottom: 38px;
  }

  .service-title {
    font-size: clamp(3.25rem, 15vw, 5.3rem);
  }

  .language-zh .service-title {
    font-size: clamp(2.9rem, 13vw, 4.8rem);
  }

  .service-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-manifest {
    box-shadow: 8px 10px 0 color-mix(in srgb, var(--service-accent) 22%, transparent);
  }

  .service-manifest__body {
    min-height: 380px;
    padding: 40px 22px 28px;
  }

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

  .service-facts > div {
    min-height: 110px;
    border-bottom: 1px solid rgba(7, 20, 23, 0.13);
  }

  .service-facts > div:nth-child(2n) {
    border-right: 0;
  }

  .service-section__heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-section__heading h2,
  .service-process h2,
  .service-requirements h2,
  .service-final-cta h2 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .service-scope__list,
  .service-solutions__grid,
  .related-services__grid {
    grid-template-columns: 1fr;
  }

  .service-scope__list li {
    min-height: 140px;
  }

  .service-process__steps li {
    grid-template-columns: 56px 1fr;
  }

  .service-solutions__grid article {
    min-height: 310px;
  }

  .service-solutions__grid h3 {
    margin-top: 70px;
  }

  .service-requirements__inner {
    min-width: 0;
  }

  .service-final-cta {
    padding: 70px 24px;
  }

  .service-final-cta > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Service icon language and layout variants — v0.4. */
.feesgo-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.feesgo-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.service-identity .eyebrow {
  margin: 0;
}

.service-identity__icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  color: #fff;
  border: 1px solid var(--service-accent);
  background: var(--service-accent);
}

.service-manifest__primary-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  place-items: center;
  color: var(--service-accent);
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.045);
  transform: rotate(45deg);
}

.service-manifest__icon {
  width: 48px;
  height: 48px;
  transform: rotate(-45deg);
}

.service-route-line {
  margin-top: 0;
}

.service-facts > div:not(.service-facts__contact) {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 15px;
  align-content: center;
}

.service-fact__icon {
  grid-row: 1 / 3;
  align-self: center;
  width: 30px;
  height: 30px;
  color: var(--service-accent);
}

.service-facts > div:not(.service-facts__contact) dt,
.service-facts > div:not(.service-facts__contact) dd {
  grid-column: 2;
}

.service-scope__list li {
  grid-template-columns: auto 42px 1fr;
  align-items: start;
}

.service-scope__icon {
  width: 36px;
  height: 36px;
  padding: 7px;
  color: var(--service-accent);
  border: 1px solid color-mix(in srgb, var(--service-accent) 35%, transparent);
  background: var(--service-accent-soft);
}

.service-solution__icon {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 54px;
  height: 54px;
  padding: 12px;
  color: var(--service-accent);
  border: 1px solid color-mix(in srgb, var(--service-accent) 35%, transparent);
  background: var(--service-accent-soft);
}

.service-requirement__icon {
  width: 31px;
  height: 31px;
  padding: 6px;
  color: #fff;
  border-radius: 50%;
  background: var(--service-accent);
}

.related-services__grid a {
  grid-template-columns: auto 42px 1fr auto;
}

.related-service__icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  color: var(--service-accent);
  border: 1px solid currentColor;
}

.related-services__grid a:hover .related-service__icon {
  color: #fff;
}

/* Sea: broad port manifest and paired cargo lanes. */
.service-layout--sea .service-hero__inner {
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
}

.service-layout--sea .service-manifest__body {
  background:
    radial-gradient(ellipse at 25% 100%, transparent 0 43%, rgba(47, 105, 201, 0.16) 44% 46%, transparent 47% 100%),
    radial-gradient(ellipse at 75% 100%, transparent 0 43%, rgba(47, 105, 201, 0.12) 44% 46%, transparent 47% 100%);
  background-size: 240px 110px;
}

.service-layout--sea .service-scope__list {
  grid-template-columns: repeat(2, 1fr);
}

.service-layout--sea .service-scope__list li {
  min-height: 150px;
}

.service-layout--sea .service-solutions__grid article {
  border-top: 6px solid var(--service-accent);
}

/* Rail: stations read as a linear timetable. */
.service-layout--rail .service-hero__inner {
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
}

.service-layout--rail .service-route-line::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

.service-layout--rail .service-manifest__steps {
  grid-template-columns: repeat(4, 1fr);
}

.service-layout--rail .service-scope__list {
  grid-template-columns: repeat(2, 1fr);
}

.service-layout--rail .service-scope__list li {
  min-height: 145px;
  border-left: 5px solid var(--service-accent);
}

/* Road: reverse the hero and use warm route lanes. */
.service-layout--road .service-hero::after {
  right: auto;
  left: -10vw;
  clip-path: polygon(0 0, 66% 0, 100% 100%, 0 100%);
}

.service-layout--road .service-hero__inner {
  grid-template-columns: minmax(430px, 0.78fr) minmax(0, 1.05fr);
}

.service-layout--road .service-hero__copy {
  order: 2;
}

.service-layout--road .service-manifest {
  order: 1;
  box-shadow: -18px 20px 0 color-mix(in srgb, var(--service-accent) 22%, transparent);
}

.service-layout--road .service-route-line::before {
  height: 8px;
  border-top: 2px dashed rgba(255, 255, 255, 0.7);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.35);
  background: transparent;
}

.service-layout--road .service-scope__list {
  grid-template-columns: repeat(2, 1fr);
}

.service-layout--road .service-scope__list li {
  min-height: 155px;
  background:
    linear-gradient(90deg, var(--service-accent-soft) 0 7px, #fff 7px 100%);
}

/* Customs: a light document desk instead of a transport control board. */
.service-layout--customs .service-hero {
  background:
    linear-gradient(110deg, rgba(22, 139, 120, 0.05) 25%, transparent 25% 50%, rgba(22, 139, 120, 0.04) 50% 75%, transparent 75%),
    #fff;
  background-size: 72px 72px;
}

.service-layout--customs .service-manifest {
  color: var(--ink);
  border-color: rgba(7, 20, 23, 0.16);
  background: #fff;
  box-shadow: 18px 20px 0 var(--service-accent-soft);
}

.service-layout--customs .service-manifest__head,
.service-layout--customs .service-manifest__note {
  color: rgba(7, 20, 23, 0.58);
  border-color: rgba(7, 20, 23, 0.14);
}

.service-layout--customs .service-manifest__primary-icon {
  border-color: rgba(7, 20, 23, 0.15);
  background: var(--service-accent-soft);
}

.service-layout--customs .service-route-line span {
  border-color: #fff;
}

.service-layout--customs .service-manifest__steps {
  background: rgba(7, 20, 23, 0.12);
}

.service-layout--customs .service-manifest__steps li {
  background: #fff;
}

.service-layout--customs .service-manifest strong {
  color: var(--ink);
}

.service-layout--customs .service-manifest__watermark {
  color: rgba(22, 139, 120, 0.05);
}

.service-layout--customs .service-scope__list {
  grid-template-columns: repeat(2, 1fr);
}

.service-layout--customs .service-scope__list li {
  min-height: 155px;
}

/* Warehouse: rack-grid hero and asymmetric storage modules. */
.service-layout--warehouse .service-hero {
  background:
    linear-gradient(rgba(7, 140, 150, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(7, 140, 150, 0.08) 2px, transparent 2px),
    #fff;
  background-size: 92px 92px;
}

.service-layout--warehouse .service-manifest__body {
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
}

.service-layout--warehouse .service-solutions__grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: 1fr 1fr;
}

.service-layout--warehouse .service-solutions__grid article {
  min-height: 220px;
}

.service-layout--warehouse .service-solutions__grid article:first-child {
  grid-row: 1 / 3;
  min-height: 464px;
}

.service-layout--warehouse .service-solutions__grid article:first-child h3 {
  margin-top: 180px;
}

.service-layout--warehouse .service-solutions__grid article:not(:first-child) h3 {
  margin-top: 42px;
}

/* Special cargo: controlled-area geometry and explicit warning rhythm. */
.service-layout--special .service-hero::after {
  width: 52vw;
  background:
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(204, 79, 89, 0.07) 28px 56px),
    var(--service-accent-soft);
}

.service-layout--special .service-title__accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--service-accent);
  text-stroke: 2px var(--service-accent);
}

.service-layout--special .service-scope__list {
  grid-template-columns: repeat(2, 1fr);
}

.service-layout--special .service-scope__list li {
  min-height: 160px;
}

.service-layout--special .service-process {
  background:
    repeating-linear-gradient(135deg, transparent 0 32px, rgba(204, 79, 89, 0.07) 32px 64px),
    #0b242b;
}

.service-layout--special .service-solutions__grid article {
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

/* Supply chain: one wide network board with horizontal controls. */
.service-layout--supply .service-hero__inner {
  grid-template-columns: 1fr;
}

.service-layout--supply .service-hero__copy {
  max-width: 1080px;
}

.service-layout--supply .service-title {
  max-width: 1050px;
}

.service-layout--supply .service-manifest {
  width: min(100%, 1100px);
  margin-left: auto;
}

.service-layout--supply .service-manifest__body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 38px;
  align-items: center;
  min-height: 300px;
}

.service-layout--supply .service-manifest__primary-icon {
  margin: 0 auto;
}

.service-layout--supply .service-route-line {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.service-layout--supply .service-manifest__steps {
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(4, 1fr);
  align-self: end;
}

@media (min-width: 1121px) {
  .service-layout--rail .service-process__inner,
  .service-layout--supply .service-process__inner {
    grid-template-columns: 1fr;
  }

  .service-layout--rail .service-process__intro,
  .service-layout--supply .service-process__intro {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 60px;
    align-items: end;
    max-width: none;
  }

  .service-layout--rail .service-process__intro .eyebrow,
  .service-layout--supply .service-process__intro .eyebrow {
    grid-column: 1 / -1;
  }

  .service-layout--rail .service-process__steps,
  .service-layout--supply .service-process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.16);
  }

  .service-layout--rail .service-process__steps li,
  .service-layout--supply .service-process__steps li {
    grid-template-columns: 1fr;
    min-height: 250px;
    padding: 34px;
    border: 0;
    background: #0b242b;
  }
}

@media (max-width: 1120px) {
  .service-layout--sea .service-hero__inner,
  .service-layout--rail .service-hero__inner,
  .service-layout--road .service-hero__inner {
    grid-template-columns: 1fr;
  }

  .service-layout--road .service-hero__copy {
    order: 1;
  }

  .service-layout--road .service-manifest {
    order: 2;
    box-shadow: 18px 20px 0 color-mix(in srgb, var(--service-accent) 22%, transparent);
  }

  .service-layout--warehouse .service-solutions__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .service-layout--warehouse .service-solutions__grid article:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .service-layout--warehouse .service-solutions__grid article:first-child h3 {
    margin-top: 100px;
  }
}

@media (max-width: 780px) {
  .service-identity__icon {
    width: 34px;
    height: 34px;
  }

  .service-facts > div:not(.service-facts__contact) {
    grid-template-columns: 30px 1fr;
    column-gap: 11px;
  }

  .service-fact__icon {
    width: 25px;
    height: 25px;
  }

  .service-scope__list li {
    grid-template-columns: auto 36px 1fr;
    gap: 15px;
  }

  .service-scope__icon {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .related-services__grid a {
    grid-template-columns: auto 36px 1fr auto;
    gap: 14px;
  }

  .related-service__icon {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .service-layout--sea .service-scope__list,
  .service-layout--rail .service-scope__list,
  .service-layout--road .service-scope__list,
  .service-layout--customs .service-scope__list,
  .service-layout--special .service-scope__list {
    grid-template-columns: 1fr;
  }

  .service-layout--road .service-hero::after {
    right: 0;
    bottom: 0;
    left: auto;
    width: 100%;
    clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 100%);
  }

  .service-layout--road .service-manifest {
    box-shadow: 8px 10px 0 color-mix(in srgb, var(--service-accent) 22%, transparent);
  }

  .service-layout--customs .service-manifest {
    box-shadow: 8px 10px 0 var(--service-accent-soft);
  }

  .service-layout--warehouse .service-solutions__grid {
    grid-template-columns: 1fr;
  }

  .service-layout--warehouse .service-solutions__grid article:first-child {
    grid-column: auto;
    min-height: 310px;
  }

  .service-layout--warehouse .service-solutions__grid article:first-child h3,
  .service-layout--warehouse .service-solutions__grid article:not(:first-child) h3 {
    margin-top: 70px;
  }

  .service-layout--special .service-title__accent {
    -webkit-text-stroke-width: 1px;
  }

  .service-layout--supply .service-manifest__body {
    display: block;
    min-height: 420px;
  }

  .service-layout--supply .service-manifest__primary-icon {
    margin: 0 auto 18px;
  }

  .service-layout--supply .service-manifest__steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* v0.5 additions — hours lines, FAQ, sticky CTA, index/404 pages. */

.quote-hours {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.footer-hours {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.service-facts__hours {
  margin: 4px 0 0;
  color: rgba(7, 20, 23, 0.55);
  font-size: 0.82rem;
}

.service-faq__list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.service-faq__item {
  border-bottom: 1px solid rgba(7, 20, 23, 0.16);
}

.service-faq__item summary {
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  gap: 16px;
  align-items: baseline;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}

.service-faq__item summary::-webkit-details-marker {
  display: none;
}

.service-faq__item summary:hover .service-faq__question {
  color: var(--service-accent);
}

.service-faq__num {
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-faq__question {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.service-faq__marker {
  justify-self: end;
  color: var(--service-accent);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.service-faq__item[open] .service-faq__marker {
  transform: rotate(45deg);
}

.service-faq__item > p {
  max-width: 860px;
  margin: 0;
  padding: 0 4px 26px 64px;
  color: rgba(7, 20, 23, 0.72);
  line-height: 1.6;
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1.6fr;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sticky-cta__call {
  color: var(--white);
}

.sticky-cta__quote {
  color: var(--ink);
  background: var(--signal);
}

.services-index-page {
  padding-top: clamp(40px, 7vw, 90px);
}

.services-index-cta {
  margin-top: 40px;
  text-align: center;
}

.not-found-page {
  padding-top: clamp(40px, 7vw, 90px);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin: 0 0 48px;
}

@media (max-width: 780px) {
  .sticky-cta {
    display: grid;
  }

  .service-section__heading h2,
  .service-process h2,
  .service-requirements h2,
  .service-final-cta h2 {
    font-size: clamp(2.4rem, 10.5vw, 3.4rem);
  }

  body.feesgo-p0-home,
  body.feesgo-service-page-body {
    padding-bottom: calc(54px + env(safe-area-inset-bottom));
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-card {
    padding: 18px 14px;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .service-faq__item summary {
    grid-template-columns: 34px 1fr 24px;
    gap: 10px;
  }

  .service-faq__item > p {
    padding-left: 44px;
  }
}

@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* v0.5.3 — complete legal-information system. */
.legal-page {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 116px) 0 clamp(96px, 11vw, 160px);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px clamp(42px, 8vw, 124px);
  align-items: end;
  padding-bottom: clamp(56px, 7vw, 92px);
}

.legal-hero > * {
  min-width: 0;
}

.legal-hero__rule {
  grid-column: 1 / -1;
  width: 72px;
  height: 8px;
  background: var(--cyan);
}

.legal-hero .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.legal-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 8vw, 8.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.legal-hero__intro {
  margin: 0;
  color: rgba(7, 20, 23, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.legal-reviewed {
  grid-column: 2;
  margin: 0;
  color: #087ca8;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: start;
}

.legal-index {
  position: sticky;
  top: 116px;
  display: grid;
  border-top: 3px solid var(--ink);
}

.legal-index__label {
  padding: 18px 0 14px;
  margin: 0;
  color: rgba(7, 20, 23, 0.52);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-index a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  color: rgba(7, 20, 23, 0.64);
  border-top: 1px solid rgba(7, 20, 23, 0.14);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-index a:hover,
.legal-index a.is-active {
  color: #087ca8;
}

.legal-index a.is-active span:last-child {
  color: var(--signal);
}

.legal-article {
  min-width: 0;
  border-top: 3px solid var(--ink);
}

.legal-section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(34px, 5vw, 64px) 0;
  border-bottom: 1px solid rgba(7, 20, 23, 0.16);
}

.legal-section__index {
  margin: 5px 0 0;
  color: #087ca8;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.legal-section h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.legal-section p:not(.legal-section__index) {
  max-width: 900px;
  margin: 0 0 16px;
  color: rgba(7, 20, 23, 0.72);
  line-height: 1.72;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section--facts {
  background:
    linear-gradient(90deg, rgba(48, 167, 210, 0.08), transparent 66%);
}

.legal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid rgba(7, 20, 23, 0.16);
  border-left: 1px solid rgba(7, 20, 23, 0.16);
}

.legal-facts > div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid rgba(7, 20, 23, 0.16);
  border-bottom: 1px solid rgba(7, 20, 23, 0.16);
}

.legal-facts dt {
  margin-bottom: 5px;
  color: #087ca8;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
  line-height: 1.4;
}

.legal-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  padding: clamp(38px, 5vw, 68px);
  margin-top: clamp(54px, 7vw, 92px);
  color: var(--white);
  background:
    radial-gradient(circle at 95% 5%, rgba(48, 167, 210, 0.26), transparent 32%),
    #0e2a31;
}

.legal-contact h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.legal-contact__actions {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-end;
}

.legal-contact .text-link {
  color: var(--white);
  white-space: nowrap;
}

@media (min-width: 781px) {
  .site-footer {
    grid-template-columns: 1.15fr repeat(3, minmax(150px, 0.7fr));
  }
}

@media (max-width: 780px) {
  .legal-page {
    width: min(calc(100% - 32px), var(--max));
    padding-top: 52px;
  }

  .legal-hero,
  .legal-layout,
  .legal-contact {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    gap: 24px;
  }

  .legal-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  html[lang="fr-FR"] .feesgo-legal-privacy .legal-hero h1 {
    font-size: clamp(2.7rem, 12.5vw, 3.5rem);
    overflow-wrap: normal;
  }

  .legal-reviewed {
    grid-column: auto;
  }

  .legal-index {
    position: static;
    top: auto;
  }

  .legal-section {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .legal-facts {
    grid-template-columns: 1fr;
  }

  .legal-contact {
    align-items: start;
    padding: 30px 24px;
  }

  .legal-contact__actions {
    align-items: flex-start;
  }

  .legal-contact .text-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
