/* =============================================================
   Gekko design system — tokens + BEM components
   Fonts come from styles.css (@font-face Golos Text).
   ============================================================= */

:root {
  /* Brand */
  --color-navy: #0b1f3a;
  --color-navy-soft: #162a45;
  --color-green: #8fd400;
  --color-green-deep: #6bb000;
  --color-green-soft: #f0f6e3;
  --color-orange: #FEC427;
  --color-orange-hover: #EBB40F;
  --color-blob: #d6ebff;
  --color-blob-soft: #f0f7ff;
  --color-icon: #3d7ef0;

  /* Neutrals */
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-text: #0b1f3a;
  --color-text-muted: #6b7585;
  --color-border: #e4e8ee;
  --color-border-soft: #eef1f5;

  /* Effects */
  --shadow-card: 0 18px 48px rgba(11, 31, 58, 0.1);
  --shadow-header: 0 1px 0 rgba(11, 31, 58, 0.06);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Layout */
  --header-height: 76px;
  --container: 1200px;
}

/* ------------------------------------------------------------- *
 * Buttons
 * ------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  text-decoration: none;
}

.button:active {
  transform: translateY(1px);
}

.button__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.button__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.button--orange {
  background: var(--color-orange);
  color: var(--color-navy);
}

.button--orange:hover {
  background: var(--color-orange-hover);
  color: var(--color-navy);
}

.button--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.button--navy:hover {
  background: var(--color-navy-soft);
  color: var(--color-white);
}

.button--green {
  background: var(--color-green);
  color: var(--color-navy);
}

.button--green:hover {
  background: var(--color-green-deep);
  color: var(--color-white);
}

.button--outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
}

.button--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.button--outline-green {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-green);
}

.button--outline-green:hover {
  background: var(--color-green);
  color: var(--color-navy);
  border-color: var(--color-green);
}

.button--lg {
  padding: 18px 28px;
  font-size: 17px;
  border-radius: 16px;
}

.button--block {
  width: 100%;
}

/* ------------------------------------------------------------- *
 * Site header
 * ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo a {
  display: block;
  line-height: 0;
}

.site-header__logo img {
  display: block;
  height: 48px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__link {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__link:hover,
.site-header__link--active {
  color: var(--color-navy);
}

.site-header__cta {
  flex-shrink: 0;
}

.site-header__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  padding-right: 18px;
}

.site-header__login-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}

.site-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.site-header__burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--color-navy);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .site-header__nav {
    display: none;
  }

  .site-header__cta .button {
    padding: 12px 16px;
    font-size: 14px;
  }

  .site-header__logo img {
    height: 40px;
  }
}

@media (max-width: 560px) {
  .site-header__cta {
    display: none;
  }

  .site-header__burger {
    display: inline-block;
  }
}

/* ------------------------------------------------------------- *
 * Intro (hero)
 * ------------------------------------------------------------- */
section.intro {
  position: relative;
  z-index: 3; /* above next sections so the corner can bleed over them */
  overflow: visible;
  padding: 36px 0 48px;
  background: transparent;
}

.intro__container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.intro__aside {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

/* Blue organic blob behind the form */
.intro__shape {
  position: absolute;
  z-index: 0;
  left: -6%;
  right: -10%;
  top: 12px;
  bottom: -48px;
  pointer-events: none;
}

.intro__shape-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  transform: scale(0.945);
  transform-origin: center right;
}

/* Leaf — decorative companion under form / content */
.intro__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(240px, 18vw);
  min-width: 160px;
  height: auto;
  pointer-events: none;
  line-height: 0;
}

.intro__corner-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .intro__shape {
    left: -4%;
    right: -6%;
    bottom: -32px;
  }

  .intro__corner {
    width: min(180px, 28vw);
    min-width: 120px;
  }
}

@media (max-width: 560px) {
  .intro__shape {
    left: -2%;
    right: -2%;
    top: 8px;
    bottom: -16px;
  }

  .intro__corner {
    width: min(140px, 36vw);
    min-width: 0;
  }
}

.intro-calc {
  position: relative;
  z-index: 2;
}

/* Keep leaf / blob visible over the next strip */
.why {
  position: relative;
  z-index: 1;
}

/* Content column */
.intro__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 20px;
  border-radius: var(--radius-pill);
  background: #e8f2ff;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 600;
}

.intro__badge-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--color-icon);
}

.intro__badge-icon svg {
  width: 100%;
  height: 100%;
}

.intro__title {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.intro__title-brand {
  color: var(--color-green);
}

.intro__lead {
  margin: 0 0 28px;
  max-width: 460px;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.55;
}

.intro__actions {
  margin-bottom: 32px;
}

.intro__features {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  padding: 8px 6px;
  background: var(--color-blob-soft);
  border: 1px solid #d4e6ff;
  border-radius: var(--radius-pill);
}

.intro-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 18px;
}

.intro-feature + .intro-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: #d4e6ff;
}

.intro-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--color-icon);
}

.intro-feature__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.intro-feature__text {
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

/* Calculator card */
.intro-calc {
  --mascot-top: 0px;
  --mascot-width: 420px;
  --mascot-overlap: 31px; /* how far paws sit onto the card */
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  /* Absolute mascot does NOT stretch the box — only this padding does.
     Formula: top + scaled image height − overlap (source art 500×198). */
  padding-top: calc(
    var(--mascot-top) + (var(--mascot-width) * 198 / 500) - var(--mascot-overlap)
  );
}

.intro-calc__mascot {
  position: absolute;
  top: var(--mascot-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 100%;
  max-width: var(--mascot-width);
  line-height: 0;
  pointer-events: none;
}

.intro-calc__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-calc__card {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.intro-calc__card::before {
  content: "";
  display: block;
  height: 12px;
  background: var(--color-green);
}

.intro-calc__body {
  padding: 28px 28px 24px;
}

.intro-calc__title {
  margin: 0 0 22px;
  color: var(--color-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.intro-calc__field {
  margin-bottom: 22px;
}

.intro-calc__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.intro-calc__label {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
}

.intro-calc__value,
.intro-calc .calc-summ {
  color: var(--color-navy);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.intro-calc__range {
  margin-bottom: 6px;
}

.intro-calc__range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 12px;
}

/* Term chips — UI only */
.intro-calc__terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.intro-calc__term {
  appearance: none;
  border: 1.2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: 12px;
  padding: 12px 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.intro-calc__term:hover {
  border-color: var(--color-green);
}

.intro-calc__term.is-active {
  background: var(--color-green-soft);
  border-color: var(--color-green);
  color: var(--color-navy);
}

.intro-calc__promo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--color-blob-soft);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
}

.intro-calc__promo strong {
  font-weight: 600;
}

.intro-calc__promo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-blob);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
}

.intro-calc__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.intro-calc__secure-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: var(--color-text-muted);
}

.intro-calc__secure-icon svg {
  width: 100%;
  height: 100%;
}

/* Ion.RangeSlider — lime track + white-ring green knob (design screenshot) */
.intro-calc .irs {
  position: relative;
  display: block;
}

.intro-calc .irs--round {
  height: 28px;
}

.intro-calc .irs--round .irs-line {
  top: 10px !important;
  height: 8px !important;
  width: 100% !important;
  background: #e5e9ef !important;
  background-image: none !important;
  border-radius: 999px !important;
}

.intro-calc .irs--round .irs-bar,
.intro-calc .irs--round .irs-bar--single {
  top: 10px !important;
  height: 8px !important;
  background: var(--color-green) !important;
  border-radius: 999px 0 0 999px !important;
}

.intro-calc .irs--round .irs-bar:after {
  content: none !important;
  display: none !important;
}

.intro-calc .irs--round .irs-handle,
.intro-calc .irs--round .irs-handle.single {
  top: 2px !important;
  width: 24px !important;
  height: 24px !important;
  margin-left: 0 !important;
  border: 4px solid #ffffff !important;
  border-radius: 50% !important;
  background: var(--color-green) !important;
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.18) !important;
  cursor: pointer;
  z-index: 20;
}

.intro-calc .irs--round .irs-handle > i {
  display: none !important;
}

.intro-calc .irs--round .irs-handle:hover,
.intro-calc .irs--round .irs-handle.state_hover {
  background: var(--color-green) !important;
  border-color: #ffffff !important;
}

.intro-calc .irs--round .irs-handle:before,
.intro-calc .irs--round .irs-handle:after {
  content: none !important;
  display: none !important;
}

.intro-calc .irs--round .irs-single,
.intro-calc .irs--round .irs-min,
.intro-calc .irs--round .irs-max,
.intro-calc .irs--round .irs-from,
.intro-calc .irs--round .irs-to {
  display: none !important;
}

@media (max-width: 1024px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro__content {
    max-width: none;
    text-align: center;
  }

  .intro__lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
  }

  .intro__actions {
    display: none;
  }

  .intro__features {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .intro-calc {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  section.intro {
    padding: 24px 0 48px;
  }

  .intro__title {
    font-size: 32px;
  }

  .intro__badge {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .intro__lead {
    font-size: 16px;
    line-height: 1.2;
  }

  .intro__features {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 6px 4px;
    border-radius: var(--radius-pill);
    box-sizing: border-box;
  }

  .intro-feature {
    flex: 1 1 0;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 4px 6px;
  }

  .intro-feature + .intro-feature::before {
    left: 0;
    right: auto;
    top: 18%;
    bottom: 18%;
    width: 1px;
    height: auto;
  }

  .intro-feature__icon {
    width: 28px;
    height: 28px;
  }

  .intro-feature__icon svg {
    width: 14px;
    height: 14px;
  }

  .intro-feature__text {
    font-size: 11px;
    line-height: 1.25;
  }

  .intro-calc {
    max-width: none;
    --mascot-width: min(420px, 88vw);
  }

  .intro-calc__body {
    padding: 22px 18px 18px;
  }

  .intro-calc__value,
  .intro-calc .calc-summ {
    font-size: 24px;
  }
}

/* ------------------------------------------------------------- *
 * Why section (“Чому нас обирають”)
 * ------------------------------------------------------------- */
section.why {
  position: relative;
  z-index: 1;
  overflow: visible;
  margin-block: 50px;
  padding: 24px 0 32px;
  background: #f1fafe;
}

.why__edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.why__edge--top {
  bottom: calc(100% - 1px);
}

.why__edge--bottom {
  top: calc(100% - 1px);
}

.why__container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.5fr);
  gap: 40px;
  align-items: center;
}

.why__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 12px;
}

.why__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--color-green-soft);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 600;
}

.why__title {
  margin: 0 0 12px;
  color: var(--color-navy);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.why__lead {
  margin: 0;
  max-width: 280px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.why__mascot {
  margin-top: 28px;
  width: min(280px, 100%);
  line-height: 0;
}

.why__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.why__cards {
  --why-step: clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 0;
  width: 100%;
}

.why-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: calc(100% - 2 * var(--why-step));
  max-width: none;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.07);
  padding: 20px 52px 20px 20px;
  overflow: hidden;
}

.why-card:nth-child(1) { margin-left: 0; }
.why-card:nth-child(2) { margin-left: var(--why-step); }
.why-card:nth-child(3) { margin-left: calc(2 * var(--why-step)); }

.why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--color-green);
}

.why-card__num {
  position: absolute;
  top: 14px;
  right: 16px;
  color: #c5ccd6;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 50%;
}

.why-card__icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.why-card__icon--blue { background: #e7f0ff; }
.why-card__icon--green { background: #eef8d4; }
.why-card__icon--orange { background: #ffe8d8; }

.why-card__body {
  flex: 1;
  min-width: 0;
}

.why-card__title {
  margin: 0 0 6px;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.why-card__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .why__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-card {
    width: 100%;
  }

  .why-card:nth-child(1),
  .why-card:nth-child(2),
  .why-card:nth-child(3) {
    margin-left: 0;
  }

  .why__mascot {
    width: min(260px, 70%);
  }
}

@media (max-width: 720px) {
  section.why {
    margin-block: 64px;
    padding: 16px 0 24px;
  }

  .why__mascot {
    width: min(220px, 78%);
    margin-top: 20px;
  }

  .why-card {
    padding: 16px 44px 16px 16px;
    gap: 12px;
  }

  .why-card__icon {
    width: 48px;
    height: 48px;
  }

  .why-card__icon img {
    width: 28px;
    height: 28px;
  }

  .why-card__title {
    font-size: 16px;
  }
}

/* ------------------------------------------------------------- *
 * Trust section (“Чому нам довіряють”)
 * ------------------------------------------------------------- */
section.trust {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 48px 0 120px;
  background: transparent;
}

.trust__bg {
  position: absolute;
  z-index: 0;
  right: -8%;
  bottom: 0;
  width: min(720px, 58vw);
  height: min(420px, 46vw);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #d9efff 0%, #eaf6ff 48%, transparent 72%);
  pointer-events: none;
}

.trust__container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.trust__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.25fr);
  gap: 40px 48px;
  align-items: center;
  padding: 48px 72px 56px 56px;
  background: var(--color-navy);
  border-radius: 28px;
  overflow: visible;
}

.trust__intro {
  position: relative;
  z-index: 2;
  max-width: 360px;
}

.trust__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--color-green);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 600;
}

.trust__title {
  margin: 0 0 14px;
  color: var(--color-white);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.trust__lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
}

.trust__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
}

.trust-item:nth-child(1),
.trust-item:nth-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item:nth-child(1) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 0;
}

.trust-item:nth-child(2) {
  padding-right: 0;
}

.trust-item:nth-child(3) {
  grid-column: 1;
  border-right: 0;
  padding-left: 0;
  padding-bottom: 0;
}

.trust-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
}

.trust-item__icon img {
  display: block;
  width: 28px;
  height: 28px;
}

.trust-item__icon--blue { background: #3d7ef0; }
.trust-item__icon--orange { background: #ff8a3d; }
.trust-item__icon--green { background: #8fd400; }
.trust-item__icon--cyan { background: #7ec8ff; }

.trust-item__body {
  min-width: 0;
}

.trust-item__title {
  margin: 0 0 6px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.trust-item__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.trust__mascot {
  position: absolute;
  right: 48px;
  bottom: -88px;
  width: min(280px, 28vw);
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.trust__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .trust__panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 28px 100px;
  }

  .trust__intro {
    max-width: none;
  }

  .trust__mascot {
    right: 36px;
    bottom: -72px;
    width: min(220px, 42vw);
  }
}

@media (max-width: 720px) {
  section.trust {
    padding: 32px 0 96px;
  }

  .trust__panel {
    padding: 28px 20px 90px;
    border-radius: 22px;
  }

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

  .trust-item {
    padding: 18px 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2),
  .trust-item:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    grid-column: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .trust-item:nth-child(3) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .trust__mascot {
    width: min(180px, 48vw);
    bottom: -56px;
    right: 24px;
  }
}

/* ------------------------------------------------------------- *
 * Route section (“Як отримати кредит”)
 * ------------------------------------------------------------- */
section.route {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 72px 0 88px;
  background: var(--color-navy);
}

.route__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.route__blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.route__blob--1 {
  width: 720px;
  height: 420px;
  left: -180px;
  top: -160px;
  background: rgba(61, 126, 240, 0.12);
}

.route__blob--2 {
  width: 640px;
  height: 380px;
  right: -160px;
  bottom: -140px;
  background: rgba(143, 212, 0, 0.06);
}

.route__blob--3 {
  width: 480px;
  height: 280px;
  left: 36%;
  bottom: -120px;
  background: rgba(255, 255, 255, 0.035);
}

.route__container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.route__head {
  text-align: center;
  margin-bottom: 48px;
}

.route__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: var(--color-green);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 600;
}

.route__title {
  margin: 0 0 12px;
  color: var(--color-white);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.route__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.5;
}

.route__track {
  position: relative;
  padding-top: 12px;
}

.route__path {
  position: absolute;
  left: -2%;
  right: -2%;
  top: 0;
  width: 104%;
  height: 160px;
  z-index: 0;
  pointer-events: none;
  object-fit: fill;
}

.route__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.route-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.route-step__icon {
  width: 148px;
  height: 148px;
  margin-bottom: 22px;
  line-height: 0;
}

.route-step__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.route-step__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.route-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
}

.route-step__title {
  margin: 0;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.route-step__text {
  margin: 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .route__path {
    display: none;
  }

  .route__steps {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 420px;
    margin: 0 auto;
  }

  .route-step__title {
    text-align: left;
  }
}

@media (max-width: 720px) {
  section.route {
    padding: 56px 0 64px;
  }

  .route__head {
    margin-bottom: 36px;
  }

  .route-step__icon {
    width: 128px;
    height: 128px;
  }
}

/* ------------------------------------------------------------- *
 * About section (“ПРО GEKKO”)
 * ------------------------------------------------------------- */
section.about {
  --about-visual-w: min(417px, 34vw);
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0;
  min-height: calc(var(--about-visual-w) * 630 / 417);
  background: #f5f7fa;
  display: flex;
  align-items: center;
}

.about__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about__blob {
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 420px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #d9efff 0%, rgba(217, 239, 255, 0.35) 55%, transparent 72%);
}

.about__container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  /* Only reserve the opaque overlap of the peeking art, not its full box */
  padding: 72px max(48px, calc(var(--about-visual-w) * 0.28)) 72px 20px;
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(0, 1.45fr);
  gap: 36px 48px;
  align-items: start;
  box-sizing: border-box;
}

.about__intro {
  max-width: none;
}

.about__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: #e8f2ff;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about__title {
  margin: 0 0 28px;
  color: var(--color-navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about__copy {
  max-width: none;
  width: 100%;
  padding-top: 8px;
}

.about__copy p {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

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

.about__mark {
  padding: 0 4px;
  background: var(--color-green);
  color: var(--color-navy);
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.about__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: var(--about-visual-w);
  height: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.about__visual-img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}

@media (max-width: 1100px) {
  section.about {
    --about-visual-w: min(300px, 32vw);
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px max(40px, calc(var(--about-visual-w) * 0.28)) 56px 20px;
  }

  .about__intro {
    max-width: none;
  }
}

@media (max-width: 720px) {
  section.about {
    --about-visual-w: min(220px, 56vw);
    min-height: 0;
  }

  .about__container {
    padding: 48px 20px calc(var(--about-visual-w) * 630 / 417 + 24px);
  }

  .about__visual {
    top: auto;
    bottom: 0;
    height: calc(var(--about-visual-w) * 630 / 417);
  }

  .about__title {
    margin-bottom: 20px;
  }
}

/* ------------------------------------------------------------- *
 * Popular queries (“Популярні запити”)
 * ------------------------------------------------------------- */
section.queries {
  position: relative;
  z-index: 1;
  padding: 40px 0 72px;
  background: #fff;
}

.queries__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.queries__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-bottom: 28px;
}

.queries__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.queries__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.queries__title {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.queries__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #e8f2ff;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
}

.queries__grid {
  column-count: 4;
  column-gap: 28px;
}

.queries__item {
  break-inside: avoid;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  margin: 0 0 2px;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid #e6ebf2;
  border-radius: 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.queries__item:hover {
  background: #e6f8c1;
  border-bottom-color: transparent;
}

.queries__label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.queries__chevron {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #9aa3b2;
}

.queries__chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}

.queries__item:hover .queries__chevron {
  color: var(--color-navy);
}

@media (max-width: 1100px) {
  .queries__grid {
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .queries__grid {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  section.queries {
    padding: 48px 0 56px;
  }

  .queries__grid {
    column-count: 1;
  }

  .queries__title {
    font-size: 24px;
  }
}

/* ------------------------------------------------------------- *
 * FAQ accordion cards
 * ------------------------------------------------------------- */
.section-faq {
  position: relative;
  z-index: 1;
  padding: 64px 0 24px;
  background: #fff;
}

.section-faq > .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section-faq .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}

.section-faq .text-col {
  flex: 0 1 340px;
  max-width: 340px;
  width: 100%;
}

.section-faq .accordion-col {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.section-faq .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.section-faq .text img {
  width: 120px;
  height: auto;
  display: block;
}

.section-faq .section-title {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-faq .accordion {
  gap: 16px;
}

.section-faq .accordion-item {
  padding: 8px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
  transition: box-shadow 0.2s ease;
}

.section-faq .accordion-item.active {
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.1);
}

.section-faq .accordion-header {
  gap: 16px;
  padding: 14px 16px;
  align-items: center;
}

.section-faq .accordion-header .accordion-title {
  display: flex;
  align-items: center;
  gap: 14px;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.section-faq .accordion-header .accordion-title:hover {
  color: var(--color-navy);
}

.section-faq .accordion-header .accordion-title img,
.section-faq .accordion-header .accordion-title .divider {
  display: none;
}

.section-faq .accordion-toggle {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d4ff37;
}

.section-faq .accordion-toggle::before,
.section-faq .accordion-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-navy);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.section-faq .accordion-toggle::before {
  width: 14px;
  height: 2px;
}

.section-faq .accordion-toggle::after {
  width: 2px;
  height: 14px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-faq .accordion-item.active .accordion-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.section-faq .accordion-header .arrow-accord {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #8b93a3;
}

.section-faq .accordion-header .arrow-accord span {
  display: none;
}

.section-faq .accordion-header .arrow-accord svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.2s ease;
}

.section-faq .accordion-item.active .arrow-accord svg {
  transform: rotate(180deg);
}

.section-faq .accordion-content {
  max-width: none;
  padding: 0 12px 12px;
}

.section-faq .accordion-panel {
  padding: 18px 20px;
  border-radius: 16px;
  background: #f1fafe;
}

.section-faq .accordion-content p {
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 1;
}

@media (max-width: 900px) {
  .section-faq .row {
    flex-direction: column;
    gap: 28px;
  }

  .section-faq .text-col {
    flex: 0 0 auto;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .section-faq {
    padding: 48px 0 16px;
  }

  .section-faq > .container {
    padding: 0 20px;
  }

  .section-faq .text {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .section-faq .text img {
    width: 80px;
  }

  .section-faq .section-title {
    font-size: 24px;
  }

  .section-faq .accordion-header {
    padding: 12px;
  }

  .section-faq .accordion-header .accordion-title {
    width: auto;
    font-size: 14px;
    gap: 12px;
  }

  .section-faq .accordion-toggle {
    width: 32px;
    height: 32px;
  }
}

/* ------------------------------------------------------------- *
 * Home SEO text
 * ------------------------------------------------------------- */
.home-seo-text {
  position: relative;
  z-index: 1;
  padding: 48px 0 72px;
  background: #fff;
}

.home-seo-text__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.home-seo-text .seo-text {
  padding: 36px 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #f8fbfe;
  box-shadow: none;
}

.home-seo-text .seo-text h1,
.home-seo-text .seo-text h2,
.home-seo-text .seo-text h3,
.home-seo-text .seo-text h4 {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-seo-text .seo-text h1 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.home-seo-text .seo-text h2 {
  margin-top: 28px;
  font-size: clamp(20px, 2vw, 24px);
}

.home-seo-text .seo-text h3,
.home-seo-text .seo-text h4 {
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 20px);
}

.home-seo-text .seo-text p,
.home-seo-text .seo-text ol,
.home-seo-text .seo-text ul {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.home-seo-text .seo-text strong {
  font-weight: 700;
  color: var(--color-navy);
}

.home-seo-text .seo-text ol,
.home-seo-text .seo-text ul {
  padding-left: 22px;
}

.home-seo-text .seo-text ol li,
.home-seo-text .seo-text ul li {
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.home-seo-text .seo-text ol li:last-child,
.home-seo-text .seo-text ul li:last-child,
.home-seo-text .seo-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .home-seo-text {
    padding: 32px 0 48px;
  }

  .home-seo-text .seo-text {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .home-seo-text .seo-text h1 {
    font-size: 22px;
  }

  .home-seo-text .seo-text h2 {
    font-size: 18px;
  }

  .home-seo-text .seo-text p,
  .home-seo-text .seo-text ol li,
  .home-seo-text .seo-text ul li {
    font-size: 14px;
  }
}

/* ------------------------------------------------------------- *
 * Site footer
 * ------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 64px 0 28px;
  background: #05162b;
  color: #fff;
}

.site-footer__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 2fr);
  gap: 40px 64px;
  align-items: start;
  padding-bottom: 40px;
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.site-footer__logo img {
  display: block;
  width: auto;
  height: 52px;
}

.site-footer__tagline {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer__tagline span {
  color: #d4ff37;
  font-weight: 700;
}

.site-footer__lead {
  margin: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}

.site-footer__heading {
  margin: 0 0 16px;
  color: #d4ff37;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__list a:hover {
  color: #d4ff37;
}

.site-footer__legal {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__legal p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.site-footer__legal p:last-child {
  margin-bottom: 0;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__copy,
.site-footer__disclaimer {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.site-footer__sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.site-footer__disclaimer {
  flex: 1 1 280px;
}

@media (max-width: 960px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 48px 0 24px;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__logo img {
    height: 44px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-footer__sep {
    display: none;
  }
}

/* ------------------------------------------------------------- *
 * Reg / login page
 * ------------------------------------------------------------- */
.reg-body {
  min-height: 100vh;
  background: #f7f9fc;
  position: relative;
}

.reg-header {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 20px 0;
  background: transparent;
}

.reg-header__logo {
  display: inline-flex;
}

.reg-header__logo img {
  display: block;
  width: auto;
  height: 52px;
}

.reg-page {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 24px 20px 64px;
  overflow: visible;
}

.reg-page__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.reg-page__blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #d9ecff 0%, rgba(217, 236, 255, 0.45) 42%, transparent 72%);
}

.reg-page__blob--1 {
  width: min(720px, 70vw);
  height: min(560px, 55vh);
  left: -12%;
  top: -8%;
}

.reg-page__blob--2 {
  width: min(680px, 68vw);
  height: min(540px, 52vh);
  right: -14%;
  bottom: -10%;
}

.reg-shell {
  --mascot-top: 0px;
  --mascot-width: 294px; /* intro-calc 420px − 30% */
  --mascot-overlap: 22px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding-top: calc(
    var(--mascot-top) + (var(--mascot-width) * 198 / 500) - var(--mascot-overlap)
  );
}

.reg-shell__mascot {
  position: absolute;
  top: var(--mascot-top);
  left: 54%;
  transform: translateX(-50%);
  z-index: 5;
  width: 100%;
  max-width: var(--mascot-width);
  line-height: 0;
  pointer-events: none;
}

.reg-shell__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.reg-card {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.reg-card::before {
  content: "";
  display: block;
  height: 10px;
  background: var(--color-green);
}

.reg-card__body {
  padding: 28px 28px 24px;
}

.reg-card__body--otp {
  text-align: center;
}

.reg-card__title {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.reg-card__lead {
  margin: 0 0 28px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reg-card .input-wrap {
  position: relative;
}

.reg-card .input-holder {
  position: relative;
  display: block;
}

.reg-card .input-holder .label {
  position: absolute;
  top: -9px;
  left: 14px;
  z-index: 1;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.reg-card .input-holder input {
  width: 100%;
  height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #f7f9fc;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.reg-card .input-holder.input-icon input {
  padding-left: 48px;
}

.reg-card .input-holder.input-icon .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  display: flex;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  background: transparent;
}

.reg-card .input-holder.input-icon .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.reg-card .input-holder input:focus {
  border-color: #9ec8ff;
  box-shadow: 0 0 0 3px rgba(61, 126, 240, 0.12);
  background: #fff;
}

.reg-card .input-holder input::placeholder {
  color: #9aa3b2;
}

.reg-card .error-message {
  display: block;
  margin-top: 6px;
  color: #e74c3c;
  font-size: 12px;
}

.reg-card .cf-turnstile {
  display: flex;
  justify-content: center;
}

.reg-card .checkbox-group {
  display: block;
  width: 100%;
}

.reg-card .checkbox {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-navy);
  padding-left: 32px;
}

.reg-card .checkbox a {
  color: var(--color-green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reg-card .checkbox-indicator {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #c9d0db;
  background: #fff;
}

.reg-card .checkbox input:checked ~ .checkbox-indicator,
.reg-card .checkbox:hover input:not([disabled]):checked ~ .checkbox-indicator,
.reg-card .checkbox input:checked:focus ~ .checkbox-indicator {
  background: #d4ff37;
  border-color: #d4ff37;
}

.reg-card .checkbox-control .checkbox-indicator:after {
  border-color: var(--color-navy);
}

.reg-card .button--block {
  width: 100%;
  margin-top: 4px;
}

.reg-card .button--orange {
  color: #fff;
  font-weight: 700;
}

.reg-card .button--orange:hover {
  color: #fff;
}

.reg-card .button__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  align-items: center;
  justify-content: center;
}

.reg-card .button__icon svg {
  width: 14px;
  height: 14px;
}

.reg-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.reg-secure__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #8b93a3;
}

.reg-secure__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.reg-otp__icon {
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
}

.reg-otp__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.reg-otp__label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 600;
}

.reg-otp__input {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: #f7f9fc;
  color: var(--color-navy);
  font-size: 28px;
  letter-spacing: 12px;
  margin-bottom: 16px;
  text-align: center;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.reg-otp__input:focus {
  border-color: var(--color-green);
  background: #fff;
}

.reg-otp__error {
  margin-top: 8px;
  color: #e74c3c;
  font-size: 0.9rem;
}

.reg-otp__resend {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.reg-otp__resend:not(.disabled):not(:disabled):hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.reg-otp__resend.disabled,
.reg-otp__resend:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.reg-card .otp-skip-offer {
  margin: 14px 0 4px;
}

@media (max-width: 560px) {
  .reg-header {
    padding: 16px 16px 0;
  }

  .reg-header__logo img {
    height: 44px;
  }

  .reg-page {
    padding: 12px 16px 48px;
  }

  .reg-shell {
    --mascot-width: 240px;
    --mascot-overlap: 18px;
  }

  .reg-card__body {
    padding: 24px 18px 20px;
  }

  .reg-card__title {
    font-size: 22px;
  }
}

/* ------------------------------------------------------------- *
 * Credits page
 * ------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.credits-page {
  background: #fff;
}

.credits-hero {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 20px 0 0;
  background: linear-gradient(180deg, #f5faff 0%, #eaf4ff 55%, #e3f0ff 100%);
}

.credits-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.credits-hero__blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(187, 217, 255, 0.75) 0%, rgba(187, 217, 255, 0.2) 50%, transparent 72%);
}

.credits-hero__blob--1 {
  width: min(640px, 55vw);
  height: min(420px, 40vw);
  left: -8%;
  top: -20%;
}

.credits-hero__blob--2 {
  width: min(560px, 48vw);
  height: min(380px, 36vw);
  right: -6%;
  bottom: -30%;
}

.credits-hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.credits-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--color-text-muted);
  font-size: 13px;
}

.credits-hero__breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #b0b8c6;
}

.credits-hero__breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.credits-hero__breadcrumb a:hover {
  color: var(--color-navy);
}

.credits-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 12px 24px;
  align-items: end;
  min-height: 280px;
}

.credits-hero__copy {
  padding: 8px 0 36px;
}

.credits-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-green);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
}

.credits-hero__title {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.credits-hero__lead {
  margin: 0;
  max-width: 460px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.credits-hero__visual {
  position: relative;
  z-index: 3;
  align-self: end;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.credits-hero__mascot {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

.credits-offers {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  padding: 0 0 48px;
  background: transparent;
}

.credits-offers__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.credits-filters {
  margin-bottom: 28px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.1);
}

.credits-filters__form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.7fr) auto;
  gap: 18px 20px;
  align-items: end;
}

.credits-filters__label {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
}

.credits-filters__amount-row {
  position: relative;
  display: flex;
  align-items: center;
}

.credits-filters__amount-row input {
  width: 100%;
  height: 48px;
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #f7f9fc;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 600;
  outline: none;
}

.credits-filters__currency {
  position: absolute;
  right: 14px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 600;
}

.credits-filters__select {
  width: 100%;
}

.credits-filters__select .select-selected,
.credits-filters__select select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #f7f9fc;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 600;
}

.credits-filters__select label {
  display: none;
}

.credits-filters__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  height: 52px;
  padding: 0 18px 0 22px;
  font-weight: 600;
  color: var(--color-navy);
}

.credits-filters__submit .button__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  align-items: center;
  justify-content: center;
}

.credits-filters__submit .button__icon svg {
  width: 14px;
  height: 14px;
}

.credits-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 20px;
}

.credits-toolbar__found {
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 600;
}

.credits-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.credits-page .sort-item .select {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 200px;
  height: 36px;
  max-height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.credits-page .sort-item .select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--color-navy);
  border-bottom: 1.5px solid var(--color-navy);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.credits-page .sort-item .select .icon {
  position: static;
  top: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 8px;
}

.credits-page .sort-item .select .icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.credits-page .sort-item .select select {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 100%;
  max-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.credits-page .view-buttons {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.credits-page .view-buttons .btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  max-height: 36px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  box-sizing: border-box;
}

.credits-page .view-buttons .btn-view.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.credits-page .view-buttons .btn-view img {
  width: 18px;
  height: 18px;
  display: block;
}

/* Offers: keep original layout from styles.css — colors only */
.credits-page .banks-offers .offer {
  border-color: var(--color-border);
  box-shadow: 0 3px 0 #d6ebff;
}

.credits-page .banks-offers .offer-hot {
  border-color: var(--color-green);
}

.credits-page .banks-offers .offer-hot-label {
  background: #d8f56a;
  color: var(--color-navy);
  font-weight: 500;
}

.credits-page .banks-offers .offer-hot-label--fast {
  background: #eaf4ff;
}

.credits-page .banks-offers .offer .offer-info ul li .small {
  color: var(--color-text-muted);
}

.credits-page .banks-offers .offer .offer-info ul li .big {
  color: var(--color-navy);
  font-weight: 500;
}

.credits-page .banks-offers .offer .offer-present-text {
  color: var(--color-text-muted);
}

.credits-page .banks-offers .offer .offer-present-inner div {
  color: var(--color-navy);
  font-weight: 500;
}

.credits-page .banks-offers .offer .btn-go-url {
  background: var(--color-navy) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 500;
}

.credits-page .banks-offers .offer .btn-go-url:hover {
  background: var(--color-navy-soft) !important;
  color: #fff !important;
}

.credits-page .banks-offers .offer .btn-go-url .icon {
  background: #d4ff37;
}

.credits-page .banks-offers .offer .offer-links ul li a {
  color: #5b7fb5;
}

.credits-page .banks-offers .offer .offer-links ul li a:before {
  background: #5b7fb5;
}

.credits-page .offer-placeholder {
  border-color: var(--color-border);
  box-shadow: 0 3px 0 #d6ebff;
}

@media (max-width: 900px) {
  .credits-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .credits-hero__copy {
    padding-bottom: 12px;
    text-align: center;
  }

  .credits-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .credits-hero__visual {
    justify-content: center;
  }

  .credits-hero__mascot {
    max-width: 260px;
  }

  .credits-filters__form {
    grid-template-columns: 1fr;
  }

  .credits-filters__submit {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .credits-hero__mascot {
    max-width: 210px;
  }
}


