/* ==========================================================================
   GoodCap Capital — Core design system (shared by every page)
   Phase 1 · v1.0
   Tokens · base · buttons · header · mobile drawer · footer · forms ·
   reveal / marquee / counters · utilities
   ========================================================================== */

:root {
  /* Brand */
  --gc-navy: #063281;
  --gc-royal: #04469f;
  --gc-blue: #0280e7;
  --gc-cyan: #17a3f3;
  --gc-graphite: #5d6169;
  --gc-deep: #041c4a;
  --gc-deep-2: #03153a;

  /* Text */
  --gc-ink: #111827;
  --gc-text: #334155;
  --gc-muted: #64748b;

  /* Surfaces */
  --gc-white: #ffffff;
  --gc-mist: #f6faff;
  --gc-tint: #eef7ff;
  --gc-line: #e2e8f0;
  --gc-line-blue: #d9ebff;

  /* Status */
  --gc-success: #16a34a;
  --gc-warning: #f59e0b;
  --gc-error: #dc2626;

  --gc-gradient: linear-gradient(135deg, #063281 0%, #04469f 35%, #0280e7 70%, #17a3f3 100%);
  --gc-gradient-text: linear-gradient(100deg, #0280e7 0%, #17a3f3 100%);

  /* Type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.6rem, 5vw, 4.6rem);
  --fs-h1: clamp(2.25rem, 4vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 3vw, 2.85rem);
  --fs-h3: clamp(1.2rem, 1.6vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Layout */
  --container: 1320px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 72px;

  /* Radius — "leaf" shapes echo the G mark: big round corners + one tight corner */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-leaf: 36px 8px 36px 8px;
  --r-leaf-alt: 8px 36px 8px 36px;

  /* Shadow */
  --sh-sm: 0 2px 6px rgba(6, 50, 129, 0.06);
  --sh-md: 0 14px 40px rgba(6, 50, 129, 0.08);
  --sh-lg: 0 24px 70px rgba(6, 50, 129, 0.14);
  --sh-blue: 0 12px 30px rgba(2, 128, 231, 0.28);
  --border-soft: 1px solid rgba(6, 50, 129, 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --section-y: 80px;
  }
}

@media (min-width: 1100px) {
  :root {
    --gutter: 40px;
    --section-y: 112px;
    --header-h: 80px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--gc-text);
  background: var(--gc-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--gc-ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--gc-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--gc-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 26px;
  height: 26px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--mist {
  background: var(--gc-mist);
}

/* ---------- Type helpers ---------- */
.text-gradient {
  background: var(--gc-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--gc-muted);
  line-height: 1.7;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--gc-blue);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--gc-gradient-text);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: var(--fs-h2);
}

.section-head p {
  margin-top: 14px;
  color: var(--gc-muted);
}

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: end;
  justify-content: space-between;
}

.section-head--split>div {
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--gc-white);
  border: 1px solid var(--gc-line-blue);
  color: var(--gc-navy);
  font-size: var(--fs-small);
  font-weight: 700;
  box-shadow: var(--sh-sm);
}

.badge__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gc-tint);
  color: var(--gc-blue);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--gc-tint);
  color: var(--gc-royal);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  position: relative;
  isolation: isolate;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform .25s var(--ease);
}

.btn:hover .icon-move {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: var(--gc-gradient);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: var(--sh-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 16px 36px rgba(2, 128, 231, 0.36);
}

.btn-secondary {
  color: var(--gc-navy);
  background: var(--gc-white);
  border: 1.5px solid var(--gc-line-blue);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--gc-blue);
  color: var(--gc-blue);
  box-shadow: var(--sh-md);
}

.btn-light {
  color: var(--gc-navy);
  background: #fff;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.btn-outline-light {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.btn-sm {
  --btn-h: 44px;
  padding: 0 18px;
  font-size: 0.9375rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
  box-shadow: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--gc-blue);
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform .25s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- Top strip (desktop only) ---------- */
.topbar {
  display: none;
  background: var(--gc-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}

@media (min-width: 1100px) {
  .topbar {
    display: block;
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar__list a,
.topbar__list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__list a:hover {
  color: #fff;
}

.topbar .icon {
  width: 15px;
  height: 15px;
  color: var(--gc-cyan);
}

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

.topbar__social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.topbar__social a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.topbar__social .icon {
  color: currentColor;
  width: 15px;
  height: 15px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--gc-line);
  box-shadow: 0 8px 30px rgba(6, 50, 129, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

@media (min-width: 1100px) {
  .brand img {
    height: 46px;
  }
}

.nav {
  display: none;
}

@media (min-width: 1240px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }
}

/* full menu from 1240px (8 items incl. EMI Calculator); below: menu button */
.nav__link,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gc-ink);
  transition: color .2s, background-color .2s;
}

.nav__link,
.nav__toggle {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1240px) and (max-width: 1359px) {

  .nav__link,
  .nav__toggle {
    padding: 0 9px;
    font-size: 0.9rem;
  }

  .site-header .brand img {
    height: 40px;
    width: auto;
  }

  .header-actions .btn-login {
    padding: 0 14px;
  }
}

.nav__link:hover,
.nav__toggle:hover,
.nav__toggle[aria-expanded="true"] {
  color: var(--gc-blue);
  background: var(--gc-tint);
}

.nav__link[aria-current="page"],
.nav__item:has([aria-current="page"]) .nav__toggle {
  color: var(--gc-blue);
}

.dropdown a[aria-current="page"] {
  background: var(--gc-mist);
}

.dropdown a[aria-current="page"] strong,
.drawer__sub a[aria-current="page"] {
  color: var(--gc-blue);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
}

.nav__toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform .25s var(--ease);
}

.nav__toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.nav__item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 320px;
  padding: 10px;
  background: #fff;
  border-radius: var(--r-md);
  border: var(--border-soft);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}

.dropdown::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  transition: background-color .2s;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--gc-mist);
}

.dropdown__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--gc-tint);
  color: var(--gc-blue);
}

.dropdown strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--gc-ink);
  line-height: 1.3;
}

.dropdown small {
  display: block;
  font-size: 0.8125rem;
  color: var(--gc-muted);
  line-height: 1.45;
  margin-top: 2px;
}

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

.header-actions .btn-login {
  display: none;
}

@media (min-width: 640px) {
  .header-actions .btn-login {
    display: inline-flex;
  }
}

.menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gc-line);
  color: var(--gc-navy);
  background: #fff;
}

.menu-btn .icon {
  width: 22px;
  height: 22px;
}

@media (min-width: 1240px) {
  .menu-btn {
    display: none;
  }
}

/* ---------- Dark header variant (body.hdr-dark) — used on Personal & Insurance ---------- */
.hdr-dark .site-header {
  background: rgb(225 225 225 / 82%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.hdr-dark .site-header.is-scrolled {
  background: rgb(255 255 255 / 96%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hdr-dark .site-header .nav__link,
.hdr-dark .site-header .nav__toggle {
  color: rgba(255, 255, 255, 0.86);
}

.hdr-dark .site-header .nav__link:hover,
.hdr-dark .site-header .nav__toggle:hover,
.hdr-dark .site-header .nav__toggle[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hdr-dark .site-header .nav__item:has([aria-current="page"]) .nav__toggle {
  color: #7fd3ff;
}

.hdr-dark .site-header .brand img {
  filter: none;
}

.hdr-dark .site-header .brand picture {
  display: inline-flex;
}

.hdr-dark .site-header .brand::after {
  display: none;
  content: none;
}

.hdr-dark .site-header .btn-login {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.hdr-dark .site-header .btn-login:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hdr-dark .site-header .menu-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}


/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
}

.drawer.is-open {
  visibility: visible;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 28, 74, 0.45);
  opacity: 0;
  transition: opacity .3s;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  box-shadow: -20px 0 60px rgba(4, 28, 74, 0.2);
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--gc-line);
  min-height: var(--header-h);
}

.drawer__head img {
  height: 36px;
  width: auto;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px var(--gutter) 24px;
}

.drawer__link,
.drawer__acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 4px;
  border-bottom: 1px solid var(--gc-line);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gc-ink);
  text-align: left;
}

.drawer__link[aria-current="page"] {
  color: var(--gc-blue);
  box-shadow: inset 3px 0 0 var(--gc-blue);
  padding-left: 14px;
}

.drawer__acc-btn .icon {
  transition: transform .3s var(--ease);
  color: var(--gc-muted);
}

.drawer__acc-btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
  color: var(--gc-blue);
}

.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}

.drawer__sub.is-open {
  grid-template-rows: 1fr;
}

.drawer__sub>div {
  overflow: hidden;
}

.drawer__sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  color: var(--gc-text);
  font-weight: 600;
  border-radius: 10px;
}

.drawer__sub a:hover {
  background: var(--gc-mist);
  color: var(--gc-blue);
}

.drawer__sub a .icon {
  color: var(--gc-blue);
  width: 18px;
  height: 18px;
}

.drawer__sub>div> :first-child {
  margin-top: 6px;
}

.drawer__sub>div> :last-child {
  margin-bottom: 10px;
}

.drawer__foot {
  padding: 18px var(--gutter) 24px;
  border-top: 1px solid var(--gc-line);
  display: grid;
  gap: 14px;
  background: var(--gc-mist);
}

.drawer__contact {
  display: grid;
  gap: 6px;
  font-size: 0.9375rem;
}

.drawer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-weight: 600;
  color: var(--gc-navy);
}

.drawer__contact .icon {
  color: var(--gc-blue);
  width: 18px;
  height: 18px;
}

/* ---------- Forms ---------- */
.field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.field__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gc-ink);
}

.field__control {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--gc-line);
  border-radius: 13px;
  background: #fff;
  font-size: 1rem;
  color: var(--gc-ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.field__control::placeholder {
  color: #94a3b8;
}

.field__control:hover {
  border-color: #cbd5e1;
}

.field__control:focus {
  outline: none;
  border-color: var(--gc-blue);
  box-shadow: 0 0 0 4px rgba(2, 128, 231, 0.14);
}

.field__control:disabled {
  background: var(--gc-mist);
  color: var(--gc-muted);
  cursor: not-allowed;
}

.field--select {
  position: relative;
}

/* chevron is pinned inside .select-wrap */
.field--select .field__control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
}

.select-wrap {
  position: relative;
}

.field--select .field__chev {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--gc-muted);
  pointer-events: none;
}

.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gc-error);
}

.field.is-invalid .field__control {
  border-color: var(--gc-error);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.field.is-invalid .field__error {
  display: flex;
}

.field.is-valid .field__control {
  border-color: var(--gc-success);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--gc-muted);
  line-height: 1.55;
}

.form-note a {
  color: var(--gc-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: gc-spin .8s linear infinite;
  display: none;
}

.btn.is-loading .spinner {
  display: block;
}

.btn.is-loading .icon {
  display: none;
}

@keyframes gc-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Partner marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: gc-marquee var(--marquee-speed, 40s) linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

@keyframes gc-marquee {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="scale"] {
  transform: scale(.96);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gc-deep);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -260px;
  background: radial-gradient(circle, rgba(23, 163, 243, 0.16), transparent 65%);
  pointer-events: none;
}

.footer__main {
  display: grid;
  gap: 40px;
  padding-block: clamp(56px, 7vw, 88px) 40px;
  position: relative;
}

.footer__main {
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

.footer__brand,
.footer__main> :last-child {
  grid-column: 1 / -1;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .footer__main {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .footer__main {
    grid-template-columns: 1.5fr 0.8fr 1fr 0.9fr 1.3fr;
    gap: 40px;
  }

  .footer__brand,
  .footer__main> :last-child {
    grid-column: auto;
  }
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color .2s, transform .2s;
}

.footer__social a:hover {
  background: var(--gc-blue);
  transform: translateY(-2px);
}

.footer__social .icon {
  width: 18px;
  height: 18px;
}

.footer__title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer__links {
  display: grid;
  gap: 4px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.9375rem;
  transition: color .2s, transform .2s;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__contact {
  display: grid;
  gap: 16px;
  font-size: 0.9375rem;
}

.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer__contact .icon {
  color: var(--gc-cyan);
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__contact strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  margin-bottom: 1px;
}

.footer__reg {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.58);
  position: relative;
}

.footer__reg b {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  word-break: break-all;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer__legal a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.footer__legal a:hover {
  color: #fff;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee__track {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}