/* Final shell — page chrome below fixed public header */

body.gx-public-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--gx-ink, #0a0a0a);
  background: #fafafa;
  padding-top: var(--gx-sticky-header-inner-h, 120px);
}

.gx-final-main {
  flex: 1;
  padding: 0;
}

/* Home hero: body already offsets the sticky nav — no second header offset.
   Fill one viewport below the nav, with balanced padding; theme keeps flex + vertical center. */
body.gx-public-body .hero-gx {
  /* Fallback then dynamic viewport (mobile browser chrome) */
  min-height: calc(100vh - var(--gx-sticky-header-inner-h, 120px));
  min-height: calc(100dvh - var(--gx-sticky-header-inner-h, 120px));
  padding-top: clamp(1.25rem, 3vh, 2.25rem);
  padding-bottom: clamp(1.5rem, 3.5vh, 2.75rem);
  box-sizing: border-box;
}

@media (min-width: 992px) {
  body.gx-public-body .hero-gx {
    padding-top: clamp(1.5rem, 3.5vh, 2.75rem);
    padding-bottom: clamp(2rem, 4vh, 3.25rem);
  }
}

@media (max-width: 768px) {
  body.gx-public-body .hero-gx {
    min-height: calc(100vh - var(--gx-sticky-header-inner-h, 120px));
    min-height: calc(100dvh - var(--gx-sticky-header-inner-h, 120px));
    padding-top: clamp(1rem, 2.5vh, 1.75rem);
    padding-bottom: clamp(1.25rem, 3vh, 2.25rem);
  }
}

/* Testimonials: equal-height cards, one type size for quote body */
.gx-testimonials-row {
  align-items: stretch;
}

.gx-testimonials-row .gx-testimonial-card {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.gx-testimonials-row .gx-testimonial-card .testimonial-stars {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
}

.gx-testimonials-row .gx-testimonial-card .testimonial-text {
  flex: 1 1 auto;
  margin-bottom: 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--gx-ink-soft, #27272a);
  min-height: 7.5rem;
}

@media (min-width: 768px) and (max-width: 991px) {
  .gx-testimonials-row .gx-testimonial-card .testimonial-text {
    min-height: 6.75rem;
  }
}

@media (max-width: 767px) {
  .gx-testimonials-row .gx-testimonial-card .testimonial-text {
    min-height: 0;
  }
}

.gx-testimonials-row .gx-testimonial-card .gx-testimonial-meta {
  margin-top: auto;
  flex-shrink: 0;
}

.gx-testimonials-row .gx-testimonial-card .testimonial-name,
.gx-testimonials-row .gx-testimonial-card .testimonial-loc {
  font-size: 0.8125rem;
  line-height: 1.35;
}

.gx-testimonials-row .gx-testimonial-card .testimonial-loc {
  font-size: 0.6875rem;
}

.gx-final-container {
  max-width: 48rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Landing hero — horizontal wordmark + tagline from `general` */
.gx-landing-hero {
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.gx-landing-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gx-landing-logo-wrap {
  margin-bottom: 1.35rem;
}

.gx-landing-logo {
  width: auto;
  height: auto;
  max-width: min(92vw, 420px);
  max-height: clamp(72px, 18vw, 120px);
  display: block;
  object-fit: contain;
}

.gx-landing-title--fallback {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gx-ink, #0a0a0a);
}

.gx-landing-tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--gx-text-muted, #71717a);
  font-weight: 500;
}

/* Marketing footer — contact copy from `general` */
.gx-footer {
  margin-top: auto;
  background: #0a0a0a;
  color: #fafafa;
}

.gx-footer-main {
  max-width: 72rem;
}

.gx-footer-brand {
  text-decoration: none;
}

.gx-footer-logo {
  display: block;
  height: auto;
  max-width: min(220px, 72vw);
  filter: brightness(1.08);
}

.gx-footer-wordmark {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gx-accent, #014fab);
}

.gx-footer-intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.82);
  max-width: 22rem;
}

.gx-footer-area {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.88);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 22rem;
}

.gx-footer-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--gx-accent, #014fab);
  font-size: 1rem;
}

.gx-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.35rem;
  background: #27272a;
  color: #fafafa;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.gx-footer-social-btn:hover {
  background: #3f3f46;
  color: #fff;
}

.gx-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.55);
  margin-bottom: 1rem;
}

.gx-footer-links li {
  margin-bottom: 0.55rem;
}

.gx-footer-links a {
  color: rgba(250, 250, 250, 0.88);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.gx-footer-links a:hover {
  color: var(--gx-accent, #014fab);
}

.gx-footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.gx-footer-contact-main {
  color: #fafafa;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.gx-footer-contact-main:hover {
  color: var(--gx-accent, #014fab);
}

.gx-footer-contact-line {
  color: rgba(250, 250, 250, 0.88);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.45;
}

a.gx-footer-contact-line:hover {
  color: var(--gx-accent, #014fab);
}

.gx-footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1.25rem;
  opacity: 1;
}

.gx-footer-copy {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.55);
}

.gx-footer-cr {
  margin-right: 0.15em;
}

.gx-footer-heart {
  color: #f87171;
  font-size: 0.95em;
}

.gx-footer-credit {
  color: rgba(250, 250, 250, 0.75);
  font-weight: 500;
}

.gx-footer-credit--standalone {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.gx-footer-dot {
  margin: 0 0.35rem;
  color: rgba(250, 250, 250, 0.35);
}

.gx-footer-dot[aria-hidden="true"] {
  user-select: none;
}

/* —— Services page —— */
.gx-services-split-img {
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.gx-services-split-img--car {
  object-position: 22% center;
}

.gx-services-split-img--bike {
  object-position: 78% center;
}

.gx-service-tile {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--gx-border, #e4e4e7);
  border-radius: var(--radius-lg, 14px);
  background: var(--gx-card, #fff);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gx-service-tile:hover {
  border-color: var(--gx-accent-border, rgba(1, 79, 171, 0.28));
  box-shadow: var(--shadow-card, 0 4px 24px rgba(0, 0, 0, 0.06));
}

.gx-service-tile-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gx-text-muted, #71717a);
  margin-bottom: 0.5rem;
}

.gx-service-tile-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gx-ink, #0a0a0a);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.gx-service-tile-desc {
  font-size: 0.875rem;
  color: var(--gx-text-muted, #71717a);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* —— Partner apply (KYC wizard) —— */
.gx-partner-apply-section .gx-partner-apply-wrap {
  max-width: 920px;
}

.gx-partner-alert {
  border-radius: var(--radius-lg, 14px);
}

.gx-partner-wizard {
  border-radius: var(--radius-xl, 18px);
}

.gx-partner-wizard-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, var(--gx-bg, #f4f4f5) 100%);
  border-bottom: 1px solid var(--gx-border, #e4e4e7);
}

.gx-partner-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gx-border, #e4e4e7);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gx-text-muted, #71717a);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.gx-partner-step-pill:hover {
  border-color: #d4d4d8;
  color: var(--gx-ink, #0a0a0a);
}

.gx-partner-step-pill.is-active {
  border-color: rgba(1, 79, 171, 0.45);
  background: var(--gx-accent-soft, rgba(1, 79, 171, 0.12));
  color: var(--gx-ink, #0a0a0a);
}

.gx-partner-step-pill.is-done {
  border-color: rgba(34, 197, 94, 0.35);
  color: #166534;
}

.gx-partner-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--gx-border, #e4e4e7);
  font-size: 0.7rem;
  color: var(--gx-ink, #0a0a0a);
}

.gx-partner-step-pill.is-active .gx-partner-step-num {
  background: var(--gx-accent, #d48900);
  color: #fff;
}

.gx-partner-step-pill.is-done .gx-partner-step-num {
  background: #22c55e;
  color: #fff;
}

.gx-partner-step-label {
  letter-spacing: 0.02em;
  text-align: left;
  line-height: 1.2;
  max-width: 7.5rem;
}

@media (min-width: 768px) {
  .gx-partner-step-label {
    max-width: none;
  }
}

.gx-partner-step {
  padding: 1.5rem 1.25rem 1rem;
}

@media (min-width: 768px) {
  .gx-partner-step {
    padding: 2rem 2rem 1.25rem;
  }
}

.gx-partner-wizard-footer {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--gx-border, #e4e4e7);
  background: #fafafa;
}

@media (min-width: 768px) {
  .gx-partner-wizard-footer {
    padding: 1.25rem 2rem 1.75rem;
  }
}

.gx-partner-check-grid .gx-partner-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--gx-border, #e4e4e7);
  border-radius: var(--radius-md, 10px);
  background: #fff;
  font-size: 0.8125rem;
  margin: 0;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gx-partner-check-grid .gx-partner-check:hover {
  border-color: #d4d4d8;
}

.gx-partner-check-grid .gx-partner-check:has(input:checked) {
  border-color: rgba(1, 79, 171, 0.45);
  box-shadow: 0 0 0 1px rgba(1, 79, 171, 0.12);
}

.gx-partner-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.gx-partner-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
