/* ==========================================================================
   Assets Bridge Holdings — Public UI layer
   --------------------------------------------------------------------------
   A presentation layer that sits on top of the base template styles
   (style.css) and the colour-token layer (public-theme.css).

   Nothing in here changes behaviour: it only refines layout, spacing,
   typography, surfaces and motion for the public-facing pages.

   Load order:  style.css -> public-theme.css -> public-ui.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  --ui-accent: #2fbf8f;
  --ui-accent-strong: #1f9d74;
  --ui-accent-soft: rgba(47, 191, 143, 0.14);

  --ui-positive: #34d399;
  --ui-negative: #f87171;

  --ui-radius-sm: 10px;
  --ui-radius: 16px;
  --ui-radius-lg: 24px;
  --ui-radius-xl: 32px;

  --ui-space-section: 96px;
  --ui-max-width: 1200px;

  --ui-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ui-ring: 0 0 0 1px rgba(212, 175, 55, 0.24);
  --ui-elevate: 0 24px 64px rgba(0, 0, 0, 0.42);
  --ui-elevate-soft: 0 14px 38px rgba(0, 0, 0, 0.3);

  --ui-mesh-a: rgba(212, 175, 55, 0.16);
  --ui-mesh-b: rgba(47, 191, 143, 0.12);
}

html[data-theme="light"] {
  --ui-accent: #128a67;
  --ui-accent-strong: #0c6f52;
  --ui-accent-soft: rgba(18, 138, 103, 0.12);

  --ui-positive: #0f9d63;
  --ui-negative: #d64545;

  --ui-ring: 0 0 0 1px rgba(169, 130, 16, 0.22);
  --ui-elevate: 0 24px 60px rgba(24, 20, 10, 0.13);
  --ui-elevate-soft: 0 12px 30px rgba(24, 20, 10, 0.09);

  --ui-mesh-a: rgba(212, 175, 55, 0.2);
  --ui-mesh-b: rgba(18, 138, 103, 0.12);
}

/* --------------------------------------------------------------------------
   2. Type scale & rhythm
   -------------------------------------------------------------------------- */

body {
  font-family: "Noto Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.text-heading-1, .text-heading-2, .text-heading-3,
.text-heading-4, .text-heading-5, .text-heading-6 {
  font-family: "Chivo", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
}

.text-heading-1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.text-heading-2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
}

h1.text-display-3,
.text-display-3 {
  font-family: "Chivo", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.text-body-lead-large {
  font-size: 18px;
  line-height: 1.75;
}

.section-box {
  position: relative;
}

/* Shared inner width so every band lines up. */
.gh-shell {
  width: 100%;
  max-width: var(--ui-max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* --------------------------------------------------------------------------
   3. Section headers
   -------------------------------------------------------------------------- */

.gh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 16px 7px 12px;
  border: 1px solid color-mix(in srgb, var(--theme-gold) 34%, transparent);
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--theme-gold) 18%, transparent),
    transparent 68%
  );
  color: var(--theme-gold-bright) !important;
  font: 700 12px/1 "Chivo", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gh-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-gold-bright);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-gold) 24%, transparent);
}

.gh-eyebrow--center {
  margin-inline: auto;
}

.gh-section-head {
  max-width: 760px;
  margin: 0 auto 12px;
  text-align: center;
}

.gh-section-head .text-heading-1,
.gh-section-head .text-heading-2 {
  margin-bottom: 18px;
}

.gh-rule {
  width: 64px;
  height: 3px;
  margin: 26px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme-gold), var(--ui-accent));
}

.gh-rule--center {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  font-family: "Chivo", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.005em;
  transition: transform 180ms var(--ui-ease), box-shadow 180ms var(--ui-ease),
    background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn.btn-black,
.btn.btn-default,
.btn.btn-green-full,
button[type="submit"] {
  position: relative;
  border-radius: var(--ui-radius-sm) !important;
  padding: 15px 30px !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  overflow: hidden;
}

.btn.btn-black,
.btn.btn-default,
.btn.btn-green-full {
  background-image: linear-gradient(
    135deg,
    var(--theme-gold-bright),
    var(--theme-gold) 46%,
    color-mix(in srgb, var(--theme-gold) 82%, #7a5c07) 100%
  ) !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}

.btn.btn-black:hover,
.btn.btn-default:hover,
.btn.btn-green-full:hover {
  box-shadow: 0 18px 42px rgba(212, 175, 55, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
}

.btn.btn-link {
  font-weight: 700;
  padding-inline: 6px !important;
}

.btn.btn-link::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 180ms ease, transform 180ms var(--ui-ease);
  transform: scaleX(0.5);
  transform-origin: left;
}

.btn.btn-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.gh-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

/* Secondary "ghost" button */
.gh-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-sm);
  background: color-mix(in srgb, var(--theme-surface) 82%, transparent);
  color: var(--theme-text) !important;
  font: 700 15px/1.1 "Chivo", sans-serif;
  text-decoration: none !important;
  transition: border-color 180ms ease, background-color 180ms ease,
    transform 180ms var(--ui-ease);
}

.gh-btn-ghost:hover {
  border-color: var(--theme-gold);
  background: color-mix(in srgb, var(--theme-gold) 12%, var(--theme-surface));
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. Header / navigation refinements
   -------------------------------------------------------------------------- */

.gh-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100000;
  padding: 12px 22px;
  border-radius: 0 0 var(--ui-radius-sm) var(--ui-radius-sm);
  background: var(--theme-gold);
  color: #14120b !important;
  font: 700 14px/1 "Chivo", sans-serif;
  text-decoration: none !important;
  transition: top 180ms ease;
}

.gh-skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Logo
   --------------------------------------------------------------------------
   The site is dark-mode only, so a single (gold) lockup is used.
   -------------------------------------------------------------------------- */

.gh-logo-swap {
  display: inline-block;
  line-height: 0;
}

.gh-logo-swap picture {
  display: block;
  line-height: 0;
}

/* --------------------------------------------------------------------------
   Header layout + Account dropdown
   --------------------------------------------------------------------------
   Desktop (>=1200px): full nav with the Account dropdown as its last item.
   The hamburger appears ONLY below that breakpoint.
   -------------------------------------------------------------------------- */

/* Above the collapse point: nav visible, hamburger gone. */
@media (min-width: 1200px) {
  .burger-icon {
    display: none !important;
  }

  .nav-main-menu {
    display: block !important;
  }

  /* The base template hides .header-right between 1200-1440px. */
  .header-right,
  .header .main-header .header-right {
    display: block !important;
    max-width: none;
    min-width: 0;
  }

  /* The nav now holds the Account menu, so let it run full width and let the
     logo keep its natural size. */
  .header .main-header .header-left .header-nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }

  .header .main-header .header-left .header-logo {
    flex: none;
    margin-right: 32px !important;
  }

  /* The base template floats menu items; flex handles the layout instead so
     the Account dropdown can sit inline at the end of the row. */
  .header .main-menu {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    float: none !important;
    padding-top: 0 !important;
  }

  .header .main-menu > li {
    float: none !important;
  }

  /* The base template gives this a full-width float, which would defeat the
     flex alignment above; let it shrink to its content and sit on the right. */
  .header .main-header .header-left .header-nav .nav-main-menu {
    float: none !important;
    width: auto !important;
    text-align: right;
  }

  /* Guarantee breathing room between the wordmark and the first nav link,
     even at the narrowest desktop width. */
  .header .main-menu {
    margin-left: 28px;
  }
}

/* Below the collapse point: nav hidden, hamburger shown. */
@media (max-width: 1199.98px) {
  .burger-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav-main-menu {
    display: none !important;
  }
}

/* Account menu -------------------------------------------------------------*/

.gh-account {
  position: relative;
}

/* Desktop: the trigger reads as a nav item, matching the other links. */
.gh-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--theme-text) !important;
  font: 600 15px/1.2 "Chivo", sans-serif;
  letter-spacing: 0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.gh-account-toggle:hover,
.gh-account-toggle[aria-expanded="true"] {
  background: color-mix(in srgb, var(--theme-gold) 8%, transparent);
  color: var(--theme-gold-bright) !important;
}

.gh-account-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--theme-gold-soft);
}

.gh-avatar {
  display: grid;
  width: 26px;
  height: 26px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme-gold-bright), var(--theme-gold));
  color: #14120b;
}

.gh-avatar svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.gh-account-caret {
  display: block;
  width: 10px;
  height: 6px;
  flex: none;
  transition: transform 220ms var(--ui-ease);
}

.gh-account-caret path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gh-account-toggle[aria-expanded="true"] .gh-account-caret {
  transform: rotate(180deg);
}

/* The base template also targets `.header .main-menu li ul` (specificity
   0,3,2), so these rules are scoped the same way to win the cascade -
   otherwise the panel picks up the template's left:0 / white background. */
.header .main-menu li.gh-account > ul.gh-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: auto;
  right: 0;
  z-index: 1200;
  min-width: 216px;
  width: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius);
  background: var(--theme-surface-raised);
  box-shadow: 0 22px 54px var(--theme-shadow), 0 0 0 1px var(--theme-gold-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms var(--ui-ease),
    visibility 200ms ease;
}

.gh-account.is-open .gh-account-menu,
.header .main-menu li.gh-account.is-open > ul.gh-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .main-menu li.gh-account > ul.gh-account-menu > li {
  width: 100%;
  margin: 0;
}

.header .main-menu li.gh-account > ul.gh-account-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--theme-text-muted) !important;
  font: 600 14px/1.2 "Chivo", sans-serif;
  text-decoration: none !important;
  transition: background-color 160ms ease, color 160ms ease;
}

.header .main-menu li.gh-account > ul.gh-account-menu a:hover,
.header .main-menu li.gh-account > ul.gh-account-menu a:focus-visible {
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright) !important;
  outline: none;
  padding-left: 14px;
}

/* --------------------------------------------------------------------------
   Mobile drawer: navigation only (Login / Register are plain nav items)
   -------------------------------------------------------------------------- */

.header {
  transition: box-shadow 240ms ease, background-color 240ms ease;
}

.header.stick.is-scrolled,
.sticky-bar.stick.is-scrolled {
  box-shadow: 0 18px 48px var(--theme-shadow);
}

.main-menu {
  gap: 4px;
}

.main-menu > li > a {
  position: relative;
  display: inline-block;
  padding: 10px 14px !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color 160ms ease, background-color 160ms ease;
}

.main-menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme-gold), var(--ui-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ui-ease);
}

.main-menu > li > a:hover {
  background: color-mix(in srgb, var(--theme-gold) 8%, transparent);
}

.main-menu > li > a:hover::after,
.main-menu > li.current > a::after {
  transform: scaleX(1);
}

.main-menu > li.current > a {
  color: var(--theme-gold-bright) !important;
}

.mobile-menu a.is-current,
.mobile-menu a:hover {
  color: var(--theme-gold-bright) !important;
}

/* --------------------------------------------------------------------------
   Hamburger (mobile only)
   --------------------------------------------------------------------------
   The base template absolutely-positions this control and paints its bars
   grey via `.burger-icon > span::before/::after`, so those are overridden
   here. Shown below 1200px only, where the desktop nav collapses, and pushed
   to the extreme right of the header row.
   -------------------------------------------------------------------------- */

/* Layout below the collapse point: logo left, hamburger hard right. */
@media (max-width: 1199.98px) {
  .header .main-header .header-left {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header .main-header .header-left .header-logo {
    margin-right: 0 !important;
  }

  .header .main-header .header-left .header-nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: auto !important;
    margin-left: auto;
  }
}

.burger-icon {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  /* Layout/visibility is owned by the header media queries above. Reset the
     base template's absolute positioning here; the `top/right` media queries
     in style.css must not win. */
  flex: none;
  margin-left: auto;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--theme-gold) 45%, var(--theme-border));
  border-radius: 12px;
  background: var(--theme-surface);
  cursor: pointer;
  z-index: auto;
  transition: border-color 180ms ease, background-color 180ms ease,
    box-shadow 180ms ease;
}

/* Kill the base template's pseudo-element bars; the real <span>s are used. */
.burger-icon > span::before,
.burger-icon > span::after {
  background-color: transparent !important;
  content: none !important;
}

.burger-icon > span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 3px;
  margin-left: -12px;
  border-radius: 3px;
  background-image: linear-gradient(90deg, var(--theme-gold), var(--theme-gold-bright));
  background-color: var(--theme-gold);
  box-shadow: 0 0 8px color-mix(in srgb, var(--theme-gold) 45%, transparent);
  transition: transform 260ms var(--ui-ease), opacity 160ms ease,
    width 260ms var(--ui-ease);
}

.burger-icon > span.burger-icon-top {
  top: 11.5px;
}

.burger-icon > span.burger-icon-mid {
  top: 19.5px;
}

.burger-icon > span.burger-icon-bottom {
  top: 27.5px;
  bottom: auto;
}

.burger-icon:hover {
  border-color: var(--theme-gold);
  background: var(--theme-gold-soft);
  box-shadow: 0 0 0 3px var(--theme-gold-soft);
}

.burger-icon:focus-visible {
  outline: none;
  border-color: var(--theme-gold);
  box-shadow: 0 0 0 3px var(--theme-gold-soft);
}

/* Open state -> X. Both flags are handled because the base template's JS
   toggles .burger-close while ours toggles .is-open. */
.burger-icon.is-open > span.burger-icon-top,
.burger-icon.burger-close > span.burger-icon-top {
  display: block;
  opacity: 1;
  transform: translateY(8px) rotate(45deg);
}

.burger-icon.is-open > span.burger-icon-mid,
.burger-icon.burger-close > span.burger-icon-mid {
  top: 19.5px;
  opacity: 0;
  transform: scaleX(0.25);
}

.burger-icon.is-open > span.burger-icon-bottom,
.burger-icon.burger-close > span.burger-icon-bottom {
  bottom: auto;
  top: 27.5px;
  transform: translateY(-8px) rotate(-45deg);
}

/* The base template parks the control with `position: fixed` once open. */
.burger-icon.burger-close {
  position: relative !important;
}

/* Mobile drawer extras */
.gh-mobile-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 74px 18px 20px;
  border-bottom: 1px solid var(--theme-border);
}

.gh-mobile-head .brand-logo-image {
  width: auto;
  height: 26px;
  max-width: 172px;
  object-fit: contain;
}

/* The row is position:relative, so the close control is positioned against the
   logo row itself. `top: 50%` + translateY(-50%) keeps it optically centred on
   the logo and stays correct if the row's padding or logo height changes.

   Horizontally the drawer nests a 30px content padding inside a 20px scroll
   gutter, so the row's right edge sits 50px inside the drawer; the control is
   offset by that amount (less an 18px visual margin) to reach the drawer's
   real right edge. */
.mobile-menu-close {
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  z-index: 12;
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  place-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  background: var(--theme-surface-raised);
  color: var(--theme-text) !important;
  font: 300 26px/1 Arial, sans-serif;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease,
    color 180ms ease;
}

.mobile-menu-close:hover {
  border-color: var(--theme-gold);
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright) !important;
}

.mobile-menu-wrap,
.site-copyright {
  padding-inline: 30px;
}

@media (max-width: 575px) {
  .gh-mobile-head {
    padding: 18px 66px 18px 16px;
  }

  .mobile-menu-close {
    right: -36px;
  }

  .mobile-menu-wrap,
  .site-copyright {
    padding-inline: 20px;
  }
}

.mobile-menu {
  padding: 12px 0 0 !important;
}

.mobile-menu > li > a {
  padding: 13px 20px !important;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.gh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 0 96px;
  border-bottom: 1px solid var(--theme-border);
}

.gh-hero::before,
.gh-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.gh-hero::before {
  top: -220px;
  left: -140px;
  width: 620px;
  height: 620px;
  background: var(--ui-mesh-a);
}

.gh-hero::after {
  right: -180px;
  bottom: -260px;
  width: 640px;
  height: 640px;
  background: var(--ui-mesh-b);
}

/* Subtle grid texture */
.gh-hero .gh-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      to right,
      color-mix(in srgb, var(--theme-border) 60%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--theme-border) 60%, transparent) 1px,
      transparent 1px
    );
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  opacity: 0.5;
  pointer-events: none;
}


.gh-hero-copy {
  max-width: 620px;
}

.gh-hero-copy .text-display-3 {
  margin-top: 26px;
}

.gh-hero-copy .gh-lead {
  margin-top: 24px;
  padding-right: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--theme-text-muted) !important;
}

.gh-hero-actions {
  margin-top: 36px;
}

.gh-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--theme-text-muted) !important;
  font-size: 13.5px;
}

.gh-hero-note svg {
  flex: none;
  color: var(--ui-accent);
}

/* Hero visual */
.gh-hero-visual {
  position: relative;
  padding: 22px 0 30px;
}

.gh-hero-frame {
  position: relative;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-xl);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--theme-surface) 96%, var(--theme-gold) 4%),
    var(--theme-surface)
  );
  box-shadow: var(--ui-elevate);
  overflow: hidden;
}

.gh-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.gh-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    color-mix(in srgb, var(--theme-gold) 12%, transparent),
    transparent 55%
  );
  pointer-events: none;
}

.gh-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius);
  background: color-mix(in srgb, var(--theme-surface-raised) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--ui-elevate-soft);
  animation: gh-float 7s ease-in-out infinite;
}

.gh-float-card--a {
  top: 12%;
  left: -34px;
}

.gh-float-card--b {
  right: -26px;
  bottom: 10%;
  animation-delay: -3.5s;
}

.gh-float-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright);
}

.gh-float-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--theme-text-muted) !important;
}

.gh-float-value {
  font: 700 19px/1.2 "Chivo", sans-serif;
  color: var(--theme-text) !important;
}

.gh-float-value.is-positive {
  color: var(--ui-positive) !important;
}

@keyframes gh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   6b. Page hero (interior pages)
   -------------------------------------------------------------------------- */

.gh-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 66px 0 62px;
  border-bottom: 1px solid var(--theme-border);
  background: linear-gradient(
    168deg,
    color-mix(in srgb, var(--theme-gold) 9%, var(--theme-bg-soft)),
    var(--theme-bg) 62%
  );
  text-align: center;
}

.gh-page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -240px;
  left: 50%;
  width: 780px;
  height: 520px;
  border-radius: 50%;
  background: var(--ui-mesh-a);
  filter: blur(96px);
  transform: translateX(-50%);
  pointer-events: none;
}

.gh-page-hero h1 {
  margin-bottom: 16px;
}

.gh-page-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.72;
}

.gh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gh-breadcrumb a,
.gh-breadcrumb span {
  color: var(--theme-text-muted) !important;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.gh-breadcrumb a:hover {
  color: var(--theme-gold-bright) !important;
}

.gh-breadcrumb .gh-breadcrumb-sep {
  opacity: 0.5;
}

.gh-breadcrumb .gh-breadcrumb-current {
  color: var(--theme-gold-bright) !important;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Stat / metric strip
   -------------------------------------------------------------------------- */

.gh-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: var(--theme-border);
  overflow: hidden;
}

@media (min-width: 768px) {
  .gh-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gh-stat {
  padding: 26px 26px 24px;
  background: color-mix(in srgb, var(--theme-surface) 94%, transparent);
}

.gh-stat-value {
  display: block;
  font: 800 32px/1.1 "Chivo", sans-serif;
  letter-spacing: -0.03em;
  color: var(--theme-gold-bright) !important;
}

.gh-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--theme-text-muted) !important;
}

/* --------------------------------------------------------------------------
   8. Trust / partner marquee
   -------------------------------------------------------------------------- */

.gh-marquee {
  padding: 30px 0;
  border-block: 1px solid var(--theme-border);
  background: color-mix(in srgb, var(--theme-surface) 70%, transparent);
  overflow: hidden;
}

.gh-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: gh-marquee 34s linear infinite;
}

.gh-marquee:hover .gh-marquee-track {
  animation-play-state: paused;
}

.gh-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--theme-text-muted) !important;
  font: 700 15px/1 "Chivo", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.72;
  transition: opacity 180ms ease, color 180ms ease;
}

.gh-marquee-item:hover {
  opacity: 1;
  color: var(--theme-gold-bright) !important;
}

@keyframes gh-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. Generic cards & feature lists
   -------------------------------------------------------------------------- */

.gh-card {
  position: relative;
  height: 100%;
  padding: 34px 32px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--theme-surface) 98%, var(--theme-gold) 2%),
    var(--theme-surface)
  );
  overflow: hidden;
  transition: transform 260ms var(--ui-ease), border-color 260ms ease,
    box-shadow 260ms ease;
}

.gh-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-gold), var(--ui-accent));
  opacity: 0;
  transition: opacity 260ms ease;
}

.gh-card:hover {
  border-color: color-mix(in srgb, var(--theme-gold) 55%, var(--theme-border));
  box-shadow: var(--ui-elevate-soft), var(--ui-ring);
  transform: translateY(-6px);
}

.gh-card:hover::before {
  opacity: 1;
}

.gh-card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--theme-gold) 30%, transparent);
  border-radius: 16px;
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright);
}

.gh-card-icon img {
  width: 24px;
  height: 24px;
  filter: grayscale(1) sepia(1) saturate(3.4) hue-rotate(2deg) brightness(1.05);
}

.gh-card h3,
.gh-card h4 {
  margin-bottom: 12px;
}

.gh-card p {
  margin-bottom: 0;
}

.gh-index-badge {
  position: absolute;
  top: 26px;
  right: 30px;
  font: 800 46px/1 "Chivo", sans-serif;
  color: color-mix(in srgb, var(--theme-gold) 20%, transparent);
  letter-spacing: -0.04em;
  pointer-events: none;
}

/* Feature list with inline icons */
.gh-feature {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-border) 70%, transparent);
}

.gh-feature:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.gh-feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright);
}

.gh-feature-icon img {
  width: 22px;
  height: 22px;
  filter: grayscale(1) sepia(1) saturate(3.4) hue-rotate(2deg) brightness(1.05);
}

.gh-feature h4 {
  margin: 2px 0 6px;
  font-size: 17px;
}

.gh-feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Split media sections
   -------------------------------------------------------------------------- */

.gh-media {
  position: relative;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-xl);
  background: var(--theme-surface);
  box-shadow: var(--ui-elevate-soft);
  overflow: hidden;
}

.gh-media img {
  display: block;
  width: 100%;
  height: auto;
}

.gh-media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius);
  background: color-mix(in srgb, var(--theme-surface-raised) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--ui-elevate-soft);
}

.gh-media-badge strong {
  display: block;
  font: 800 20px/1.1 "Chivo", sans-serif;
  color: var(--theme-gold-bright) !important;
}

.gh-media-badge span {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--theme-text-muted) !important;
}

/* --------------------------------------------------------------------------
   11. Numbered process steps
   -------------------------------------------------------------------------- */

.gh-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  counter-reset: gh-step;
}

.gh-step {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: var(--theme-surface);
  counter-increment: gh-step;
  transition: border-color 240ms ease, transform 240ms var(--ui-ease);
}

.gh-step::before {
  content: counter(gh-step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font: 800 26px/1 "Chivo", sans-serif;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--theme-gold-bright), var(--ui-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gh-step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -13px;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--theme-border);
}

.gh-step:last-child::after {
  display: none;
}

.gh-step:hover {
  border-color: color-mix(in srgb, var(--theme-gold) 52%, var(--theme-border));
  transform: translateY(-4px);
}

.gh-step h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.gh-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   12. Investment plans
   -------------------------------------------------------------------------- */

.gh-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Five plans read best as a balanced 3 + 2 arrangement rather than 4 + 1. */
@media (min-width: 1200px) {
  .gh-plans--5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gh-plans--5 > .gh-plan {
    grid-column: span 2;
  }

  .gh-plans--5 > .gh-plan:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

.gh-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 28px 30px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: linear-gradient(
    170deg,
    color-mix(in srgb, var(--theme-surface) 98%, var(--theme-gold) 2%),
    var(--theme-surface)
  );
  box-shadow: var(--ui-elevate-soft);
  overflow: hidden;
  transition: transform 260ms var(--ui-ease), border-color 260ms ease,
    box-shadow 260ms ease;
}

.gh-plan:hover {
  border-color: color-mix(in srgb, var(--theme-gold) 60%, var(--theme-border));
  box-shadow: var(--ui-elevate), var(--ui-ring);
  transform: translateY(-8px);
}

.gh-plan--featured {
  border-color: color-mix(in srgb, var(--theme-gold) 68%, transparent);
  background: linear-gradient(
    170deg,
    color-mix(in srgb, var(--theme-gold) 10%, var(--theme-surface)),
    var(--theme-surface) 62%
  );
  box-shadow: var(--ui-elevate), var(--ui-ring);
}

.gh-plan-ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  width: 160px;
  padding: 6px 0;
  background: linear-gradient(135deg, var(--theme-gold-bright), var(--theme-gold));
  color: #14120b;
  font: 800 11px/1 "Chivo", sans-serif;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(38deg);
}

.gh-plan-name {
  margin: 0 0 6px;
  font: 700 20px/1.2 "Chivo", sans-serif;
  color: var(--theme-text) !important;
}

.gh-plan-period {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--theme-text-muted) !important;
}

.gh-plan-rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--theme-border);
}

.gh-plan-rate strong {
  font: 800 44px/1 "Chivo", sans-serif;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--theme-gold-bright), var(--theme-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gh-plan-rate span {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--theme-text-muted) !important;
}

.gh-plan-features {
  flex: 1;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.gh-plan-features li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 14.5px;
  color: var(--theme-text) !important;
}

.gh-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--theme-gold-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-gold) 45%, transparent);
}

.gh-plan-features li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  width: 6px;
  height: 10px;
  border: solid var(--theme-gold-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

.gh-plan .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Note strip under the plan grid */
.gh-plan-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 34px;
  padding: 18px 26px;
  border: 1px dashed var(--theme-border);
  border-radius: var(--ui-radius);
  color: var(--theme-text-muted) !important;
  font-size: 13.5px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */

.gh-quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 32px 30px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: var(--theme-surface);
  transition: transform 260ms var(--ui-ease), border-color 260ms ease,
    box-shadow 260ms ease;
}

.gh-quote:hover {
  border-color: color-mix(in srgb, var(--theme-gold) 52%, var(--theme-border));
  box-shadow: var(--ui-elevate-soft);
  transform: translateY(-6px);
}

.gh-quote-mark {
  font: 800 58px/0.7 Georgia, serif;
  color: color-mix(in srgb, var(--theme-gold) 40%, transparent);
}

.gh-quote-text {
  flex: 1;
  margin: 18px 0 26px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--theme-text) !important;
}

.gh-quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--theme-border);
}

.gh-quote-avatar {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--theme-bg), 0 0 0 4px color-mix(in srgb, var(--theme-gold) 45%, transparent);
}

.gh-quote-name {
  margin: 0;
  font: 700 16px/1.3 "Chivo", sans-serif;
  color: var(--theme-text) !important;
}

.gh-quote-role {
  margin: 0;
  font-size: 13px;
  color: var(--theme-text-muted) !important;
}

.gh-quote-stars {
  margin-left: auto;
  color: var(--theme-gold-bright);
  font-size: 13px;
  letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   14. Team
   -------------------------------------------------------------------------- */

.gh-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.gh-team-card {
  position: relative;
  padding: 18px 18px 24px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: var(--theme-surface);
  text-align: center;
  transition: transform 260ms var(--ui-ease), border-color 260ms ease,
    box-shadow 260ms ease;
}

.gh-team-card:hover {
  border-color: color-mix(in srgb, var(--theme-gold) 55%, var(--theme-border));
  box-shadow: var(--ui-elevate-soft);
  transform: translateY(-6px);
}

.gh-team-photo {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--ui-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--theme-surface-raised);
}

.gh-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ui-ease);
}

.gh-team-card:hover .gh-team-photo img {
  transform: scale(1.06);
}

.gh-team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 58%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.gh-team-card:hover .gh-team-photo::after {
  opacity: 1;
}

.gh-team-role {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 13px;
  border: 1px solid color-mix(in srgb, var(--theme-gold) 30%, transparent);
  border-radius: 999px;
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright) !important;
  font: 700 11px/1.2 "Chivo", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gh-team-name {
  margin: 0 0 12px;
  font: 700 19px/1.25 "Chivo", sans-serif;
  color: var(--theme-text) !important;
}

.gh-team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.gh-team-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 11px;
  background: var(--theme-surface-raised);
  color: var(--theme-text-muted);
  font-size: 0;
  transition: border-color 180ms ease, background-color 180ms ease,
    color 180ms ease, transform 180ms var(--ui-ease);
}

/* Inline SVG icons (no icon-font dependency, theme-aware via currentColor). */
.gh-icon {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.gh-team-socials a:hover {
  border-color: var(--theme-gold);
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. Certification / documents
   -------------------------------------------------------------------------- */

.gh-doc {
  display: block;
  position: relative;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: var(--theme-surface);
  box-shadow: var(--ui-elevate-soft);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 260ms var(--ui-ease), border-color 260ms ease,
    box-shadow 260ms ease;
}

.gh-doc:hover {
  border-color: var(--theme-gold);
  box-shadow: var(--ui-elevate), var(--ui-ring);
  transform: translateY(-6px);
}

.gh-doc img {
  display: block;
  width: 100%;
  border-radius: var(--ui-radius);
}

.gh-doc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 8px 6px;
  font: 700 14px/1.3 "Chivo", sans-serif;
  color: var(--theme-text) !important;
}

.gh-doc-label span {
  color: var(--theme-gold-bright);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   16. FAQ accordion
   -------------------------------------------------------------------------- */

.gh-accordion {
  border-top: 1px solid var(--theme-border);
}

.gh-accordion-item {
  border-bottom: 1px solid var(--theme-border);
}

.gh-accordion-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding: 26px 4px;
  border: 0;
  background: transparent;
  color: var(--theme-text) !important;
  font: 700 18px/1.45 "Chivo", sans-serif;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.gh-accordion-trigger:hover,
.gh-accordion-trigger[aria-expanded="true"] {
  color: var(--theme-gold-bright) !important;
}

.gh-accordion-icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  margin-top: -2px;
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  background: var(--theme-surface-raised);
  transition: border-color 200ms ease, background-color 200ms ease,
    transform 300ms var(--ui-ease);
}

.gh-accordion-icon::before,
.gh-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ui-ease), opacity 200ms ease;
}

.gh-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.gh-accordion-trigger[aria-expanded="true"] .gh-accordion-icon {
  border-color: var(--theme-gold);
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright);
}

.gh-accordion-trigger[aria-expanded="true"] .gh-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.gh-accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 340ms var(--ui-ease);
}

.gh-accordion-panel-inner {
  padding: 0 60px 28px 4px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--theme-text-muted) !important;
}

.gh-accordion-panel-inner p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   17. Contact cards / form surface
   -------------------------------------------------------------------------- */

.gh-contact-list {
  display: grid;
  gap: 14px;
}

.gh-contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius);
  background: var(--theme-surface-raised);
  text-decoration: none !important;
  transition: border-color 200ms ease, transform 200ms var(--ui-ease);
}

.gh-contact-link:hover {
  border-color: var(--theme-gold);
  transform: translateX(4px);
}

.gh-contact-link strong {
  display: block;
  font: 700 15px/1.35 "Chivo", sans-serif;
  color: var(--theme-text) !important;
}

.gh-contact-link span {
  font-size: 13.5px;
  color: var(--theme-text-muted) !important;
  overflow-wrap: anywhere;
}

.gh-form-surface {
  padding: 38px 36px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: var(--theme-surface);
  box-shadow: var(--ui-elevate-soft);
}

/* Auth pages get a centred, framed card regardless of base template markup */
.gh-auth-wrap {
  display: flex;
  justify-content: center;
  padding: 70px 0 90px;
}

/* ---- Bare auth shell (no site header or footer) ------------------------- */

.gh-auth-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.gh-auth-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid var(--theme-border);
  background: color-mix(in srgb, var(--theme-bg) 94%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gh-auth-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--ui-max-width);
  margin-inline: auto;
  padding: 14px 20px;
}

.gh-auth-bar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gh-auth-bar-link {
  font: 700 14px/1 "Chivo", sans-serif;
  color: var(--theme-text-muted) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 180ms ease;
}

.gh-auth-bar-link:hover {
  color: var(--theme-gold-bright) !important;
}

.gh-auth-body > main {
  flex: 1;
}

.gh-auth-footnote {
  padding: 30px 20px 34px;
  border-top: 1px solid var(--theme-border);
  color: var(--theme-text-muted) !important;
  font-size: 13.5px;
  text-align: center;
}

.gh-auth-footnote p {
  margin: 0 0 6px;
  color: inherit !important;
}

.gh-auth-footnote p:last-child {
  margin-bottom: 0;
}

.gh-auth-footnote a {
  color: var(--theme-gold-bright) !important;
  overflow-wrap: anywhere;
}

/* Field label used by the rewritten auth forms. */
.gh-field-label {
  display: block;
  margin-bottom: 8px;
  font: 700 13px/1.3 "Chivo", sans-serif;
  letter-spacing: 0.04em;
  color: var(--theme-text-muted) !important;
}

/* Safety net for legacy table-based forms that still use template controls. */
.gh-auth-wrap .inpts,
.gh-auth-wrap .sbmt {
  max-width: 100%;
  box-sizing: border-box;
}

/* Keep the auth bar on one line on the narrowest phones. */
@media (max-width: 420px) {
  .gh-auth-bar-inner {
    padding: 12px 14px;
  }

  .gh-auth-bar-actions {
    gap: 10px;
  }

  .gh-auth-bar-link {
    display: none;
  }

  .gh-auth-bar .brand-logo-image {
    width: 132px;
    max-width: 132px;
  }
}

@media (max-width: 340px) {
  .gh-auth-bar .brand-logo-image {
    width: 108px;
    max-width: 108px;
  }
}

/* The base template hardcodes a white panel behind these forms, which breaks
   the dark theme. The surrounding card provides the surface instead. */
.box-signup .box-form-signup,
.box-reset .box-form-signup {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.box-signup .mb-200,
.box-reset .mb-200 {
  margin-bottom: 24px !important;
}

.gh-auth-wrap .box-signup {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 46px 44px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-lg);
  background: var(--theme-surface);
  box-shadow: var(--ui-elevate);
}

/* Registration carries more fields, so give it a wider card. */
.gh-auth-wrap--wide .box-signup {
  max-width: 640px;
}

.gh-auth-wrap .form-control {
  height: 52px;
  padding-inline: 16px !important;
  border: 1px solid var(--theme-border) !important;
  border-radius: var(--ui-radius-sm) !important;
  background: var(--theme-surface-raised) !important;
  color: var(--theme-text) !important;
  font-size: 15px;
  box-shadow: none;
}

.gh-auth-wrap .form-control::placeholder {
  color: var(--theme-text-muted) !important;
  opacity: 0.75;
}

.gh-auth-wrap .form-control:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px var(--theme-gold-soft) !important;
  outline: none;
}

/* Password field with an inline reveal toggle ----------------------------- */

.gh-pw {
  position: relative;
}

.gh-pw .form-control {
  padding-right: 52px !important;
}

.gh-pw-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--theme-text-muted);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.gh-pw-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gh-pw-toggle:hover,
.gh-pw-toggle:focus-visible {
  outline: none;
  color: var(--theme-gold-bright);
  background: var(--theme-gold-soft);
}

/* The eye shows "reveal" by default and "hide" once the value is shown. */
.gh-pw-toggle .gh-eye-off,
.gh-pw-toggle[aria-pressed="true"] .gh-eye-on {
  display: none;
}

.gh-pw-toggle[aria-pressed="true"] .gh-eye-off {
  display: block;
}

/* Server-rendered captcha row (see tmpl/captcha.tpl) ----------------------
   This markup arrives as a bare <table> using the legacy .inpts/.sbmt
   classes, which have no styling anywhere in the theme. Without this it
   renders as a raw browser input in the middle of the card. */

.gh-auth-wrap .box-signup table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
}

.gh-auth-wrap .box-signup table td {
  padding: 0;
  vertical-align: middle;
}

.gh-auth-wrap .box-signup table td.menutxt {
  width: auto;
  padding-right: 14px;
  color: var(--theme-text-muted);
  font-size: 14px;
  white-space: nowrap;
}

.gh-auth-wrap .box-signup table td.menutxt img {
  display: block;
  max-width: 100%;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
}

.gh-auth-wrap .box-signup .inpts {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--theme-border);
  border-radius: var(--ui-radius-sm);
  background: var(--theme-surface-raised);
  color: var(--theme-text);
  font-size: 15px;
  box-sizing: border-box;
}

.gh-auth-wrap .box-signup .inpts:focus {
  border-color: var(--theme-gold);
  box-shadow: 0 0 0 3px var(--theme-gold-soft);
  outline: none;
}

.gh-auth-wrap .box-signup .sbmt {
  height: 52px;
  padding: 0 26px;
  border: 1px solid var(--theme-gold);
  border-radius: var(--ui-radius-sm);
  background: linear-gradient(
    135deg,
    var(--theme-gold-bright),
    var(--theme-gold) 55%
  );
  color: #14120b;
  font: 700 15px/1 "Chivo", sans-serif;
  cursor: pointer;
}

.gh-auth-wrap .box-signup .sbmt:hover {
  background: var(--theme-gold-bright);
}

/* The captcha's own row sits under the email field; give it breathing room. */
.gh-auth-wrap .box-signup table + .form-group,
.gh-auth-wrap .box-signup .form-group + table {
  margin-top: 4px;
}

.gh-login-error {
  margin-bottom: 22px;
  padding: 18px 22px;
  border: 1px solid color-mix(in srgb, var(--ui-negative) 45%, transparent);
  border-left-width: 3px;
  border-radius: var(--ui-radius-sm);
  background: color-mix(in srgb, var(--ui-negative) 10%, transparent);
}

.gh-login-error strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ui-negative) !important;
  font: 700 15px/1.3 "Chivo", sans-serif;
}

.gh-login-error p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--theme-text-muted) !important;
}

.gh-auth-wrap button[type="submit"] {
  width: 100%;
  height: 56px;
  margin-top: 6px;
}

/* Terms checkbox: align the box with its label text. */
.gh-auth-wrap .chkbox {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  float: none;
  vertical-align: -3px;
  accent-color: var(--theme-gold);
}

.gh-auth-wrap .box-signup label .chkbox {
  margin-right: 10px;
}

/* The login/tfa forms render labels inside a wrapping <label> element; keep
   the row on one line and clickable. */
.gh-auth-wrap .box-signup .form-group > label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-text-muted) !important;
  font-size: 14.5px;
  line-height: 1.5;
  cursor: pointer;
}

.gh-auth-wrap .box-signup .form-group > label a {
  color: var(--theme-gold-bright) !important;
}

.gh-auth-aside {
  display: none;
}

/* --------------------------------------------------------------------------
   GTranslate float widget (desktop only)
   --------------------------------------------------------------------------
   The floating switcher is hidden below 992px: it overlaps the mobile drawer's
   close control and crowds small screens.
   -------------------------------------------------------------------------- */

.gtranslate_wrapper {
  display: none !important;
}

@media (min-width: 992px) {
  .gtranslate_wrapper {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  #gt_float_wrapper,
  #gt_float_wrapper .gt_float_switcher,
  .gtranslate_wrapper,
  .gt_container--c8l {
    display: none !important;
    visibility: hidden !important;
  }
}

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */

.gh-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 74px 60px;
  border: 1px solid color-mix(in srgb, var(--theme-gold) 32%, var(--theme-border));
  border-radius: var(--ui-radius-xl);
  background: linear-gradient(
    125deg,
    color-mix(in srgb, var(--theme-gold) 14%, var(--theme-surface)),
    var(--theme-surface) 58%
  );
  box-shadow: var(--ui-elevate-soft);
  text-align: center;
}

.gh-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--ui-mesh-b);
  filter: blur(80px);
}

.gh-cta h2 {
  max-width: 640px;
  margin: 0 auto 18px;
}

.gh-cta p {
  max-width: 560px;
  margin: 0 auto;
}

.gh-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  margin-top: 96px;
  padding-top: 16px;
  background: color-mix(in srgb, var(--theme-bg-soft) 82%, var(--theme-bg));
}

.footer-top {
  height: 1px;
  margin-bottom: 62px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--theme-gold),
    var(--ui-accent),
    transparent
  );
  opacity: 0.55;
}

.footer h4,
.footer h5 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-text) !important;
}

.gh-footer-brand {
  padding-right: 30px;
}

.gh-footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none !important;
}

.gh-footer-logo picture {
  display: block;
  line-height: 0;
}

.gh-footer-logo img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  transition: opacity 180ms ease;
}

.gh-footer-logo:hover img {
  opacity: 0.86;
}

.gh-footer-brand p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--theme-text-muted) !important;
}

.gh-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.gh-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  background: var(--theme-surface);
  color: var(--theme-text-muted) !important;
  font: 700 11.5px/1 "Chivo", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gh-footer-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ui-accent);
}

.menu-footer {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-footer li {
  margin-bottom: 12px;
}

.menu-footer li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--theme-text-muted) !important;
  text-decoration: none !important;
  transition: color 180ms ease, transform 180ms var(--ui-ease);
}

.menu-footer li a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--theme-gold-bright);
  transition: width 220ms var(--ui-ease);
}

.menu-footer li a:hover {
  color: var(--theme-gold-bright) !important;
  transform: translateX(2px);
}

.menu-footer li a:hover::before {
  width: 12px;
}

.gh-footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.gh-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--theme-text-muted) !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.gh-footer-contact a:hover {
  color: var(--theme-gold-bright) !important;
}

.footer-bottom {
  margin-top: 48px;
  padding: 26px 0;
  border-top: 1px solid var(--theme-border);
}

.footer-bottom .text-body-text,
.footer-bottom .text-body-lead {
  font-size: 13.5px;
}

.footer-social a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  place-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  background: var(--theme-surface);
  color: var(--theme-text-muted);
  font-size: 0 !important;
  transition: border-color 180ms ease, background-color 180ms ease,
    color 180ms ease, transform 180ms var(--ui-ease);
}

.footer-social a:hover {
  border-color: var(--theme-gold);
  background: var(--theme-gold-soft);
  color: var(--theme-gold-bright);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   20. Back to top
   -------------------------------------------------------------------------- */

/* The base template injects its own unthemed control; ours replaces it. */
#scrollUp {
  display: none !important;
}

.gh-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 9000;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--theme-surface-raised) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--ui-elevate-soft);
  color: var(--theme-gold-bright);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 240ms ease, visibility 240ms ease,
    transform 240ms var(--ui-ease), border-color 180ms ease;
}

.gh-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gh-to-top:hover {
  border-color: var(--theme-gold);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   21. TradingView ticker tape
   -------------------------------------------------------------------------- */

.tradingview-widget-container {
  margin-bottom: 0 !important;
}

.tradingview-widget-container__widget {
  min-height: 46px;
}

/* --------------------------------------------------------------------------
   22. Scroll reveal
   -------------------------------------------------------------------------- */

.gh-reveal {
  will-change: opacity, transform;
}

/* Only hide reveal targets once we know scripting is available, so content
   is never lost when JavaScript is disabled or blocked. */
html.gh-js .gh-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms var(--ui-ease), transform 640ms var(--ui-ease);
}

html.gh-js .gh-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   23. Utilities
   -------------------------------------------------------------------------- */

.gh-mt-0 { margin-top: 0 !important; }
.gh-mb-0 { margin-bottom: 0 !important; }
.gh-mt-40 { margin-top: 40px !important; }
.gh-mt-60 { margin-top: 60px !important; }
.gh-mt-80 { margin-top: 80px !important; }
.gh-mb-40 { margin-bottom: 40px !important; }
.gh-mb-60 { margin-bottom: 60px !important; }
.gh-text-center { text-align: center !important; }
.gh-w-100 { width: 100% !important; }

@media (min-width: 992px) {
  .gh-auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
  }
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  .gh-float-card--a { left: 8px; }
  .gh-float-card--b { right: 8px; }
}

@media (max-width: 991px) {
  :root {
    --ui-space-section: 72px;
  }
  .gh-hero {
    padding: 64px 0 72px;
  }

  .gh-hero-copy .gh-lead {
    font-size: 17px;
  }

  .gh-hero-visual {
    margin-top: 56px;
  }

  .gh-cta {
    padding: 54px 28px;
  }

  .gh-step::after {
    display: none;
  }

  .gh-footer-brand {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .footer {
    margin-top: 72px;
  }
}

@media (max-width: 767px) {
  .gh-shell {
    padding-inline: 16px;
  }

  .gh-hero {
    padding: 48px 0 60px;
  }

  .gh-stats {
    margin-top: 40px;
    border-radius: var(--ui-radius);
  }

  .gh-stat {
    padding: 20px 22px;
  }

  .gh-stat-value {
    font-size: 26px;
  }

  .gh-card,
  .gh-quote,
  .gh-plan {
    padding: 26px 22px;
  }

  .gh-media-badge {
    left: 14px;
    bottom: 14px;
    padding: 10px 14px;
  }

  .gh-accordion-trigger {
    padding: 20px 2px;
    font-size: 16.5px;
  }

  .gh-accordion-panel-inner {
    padding: 0 0 22px;
  }

  .gh-float-card {
    padding: 11px 14px;
    gap: 10px;
  }

  .gh-float-icon {
    width: 34px;
    height: 34px;
  }

  .gh-float-value {
    font-size: 16px;
  }

  .gh-auth-wrap {
    padding: 44px 0 64px;
  }

  .gh-auth-wrap .box-signup {
    padding: 32px 22px;
  }

  .gh-to-top {
    right: 14px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.gh-js .gh-reveal {
    opacity: 1;
    transform: none;
  }

  .gh-float-card,
  .gh-marquee-track {
    animation: none !important;
  }
}
