/* Партнёр GearUP Booster — блок на главной и на /overlay (разметка — в самих страницах, тексты — их словари EN).
   Блок нарочно в фирменных цветах GearUP (тёмно-синий, электрик, оранжевые проценты), а не в тёплой теме сайта:
   так видно, что это партнёр. Слева — история партнёрства и то, что это поддержка оверлея; справа — «замок»
   Laki GT × GEARUP, две скидки, кнопка и код. На фоне — след пинга: скачки слева, ровная линия справа. */
.gu-sec { padding-bottom: clamp(56px, 7vw, 96px); }
.gu {
  --gu-ink: #08102e;
  --gu-navy: #0e1c52;
  --gu-blue: #1e9bff;
  --gu-cyan: #45dcf2;
  --gu-gold: #ffb43a;
  --gu-text: #eef3ff;
  --gu-dim: #a9b7dc;
  --gu-line: rgba(120, 165, 255, .16);
  position: relative;
  overflow: hidden;
  container: gu / inline-size;
  border: 1px solid rgba(77, 140, 255, .28);
  border-radius: 14px;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(59, 68, 230, .45), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(69, 220, 242, .10), transparent 70%),
    linear-gradient(110deg, var(--gu-ink) 0%, var(--gu-navy) 60%, var(--gu-ink) 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
  color: var(--gu-text);
}
.gu-ping {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%);
  mask-image: linear-gradient(90deg, transparent, #000 12%);
}
.gu-ping path { fill: none; stroke: url(#guPing); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.gu-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 28px 44px;
  align-items: center;
  padding: 32px 36px 44px;
}

/* ---------- Слева: кто мы друг другу и зачем это пилоту ---------- */
.gu-story { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.gu-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gu-cyan); }
.gu-h { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -.012em; color: #fff; text-wrap: balance; }
.gu-h em { font-style: normal; background: linear-gradient(90deg, #6f8bff, var(--gu-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gu-lead { max-width: 54ch; margin: 0; font-size: 16px; line-height: 1.6; color: var(--gu-dim); }
/* Поддержка оверлея: отдельной плашкой с сердцем — это вторая половина смысла партнёрства. */
.gu-support {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  max-width: 58ch;
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 120, 150, .22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 90, 130, .10), rgba(255, 90, 130, .02));
  font-size: 14px;
  line-height: 1.55;
  color: var(--gu-text);
}
.gu-support svg { width: 22px; height: 22px; margin-top: 1px; fill: #ff5d84; filter: drop-shadow(0 0 8px rgba(255, 93, 132, .5)); }
.gu-support b { display: block; margin-bottom: 2px; font-weight: 600; color: #fff; }
.gu-support span { color: var(--gu-dim); }

/* ---------- Справа: «замок» Laki GT × GEARUP, скидки, кнопка и код ---------- */
.gu-offer { display: grid; gap: 16px; min-width: 0; }
.gu-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gu-lockup .me { display: flex; align-items: center; gap: 10px; flex: none; font-weight: 600; font-size: 17px; color: #fff; }
.gu-lockup .me img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 120, 60, .7), 0 0 18px rgba(255, 90, 40, .45); }
.gu-lockup .x { flex: none; font-size: 20px; font-weight: 300; color: var(--gu-dim); }
/* GIF партнёра 900×600 с большими полями: показываем только знак с надписью и слоганом. */
.gu-logo { --s: .3; position: relative; display: block; flex: none; width: calc(630px * var(--s)); height: calc(294px * var(--s)); overflow: hidden; }
.gu-logo img { position: absolute; left: calc(-130px * var(--s)); top: calc(-196px * var(--s)); width: calc(900px * var(--s)); max-width: none; height: calc(600px * var(--s)); }

.gu-deals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 6px; /* место под ярлык «выгоднее» */
  border: 1px solid rgba(255, 180, 58, .3);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 180, 58, .09), rgba(255, 180, 58, .02));
}
.gu-deal { position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 10px 12px; }
.gu-deal + .gu-deal { border-left: 1px dashed rgba(255, 180, 58, .32); }
.gu-deal b { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--gu-gold); }
.gu-deal.best b { text-shadow: 0 0 22px rgba(255, 170, 40, .5); }
.gu-deal span { font-size: 13px; color: var(--gu-dim); white-space: nowrap; }
.gu-deal i {
  position: absolute;
  top: -10px;
  right: 10px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--gu-gold);
  color: #241500;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gu-act { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.gu-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #38adff, #1686f2);
  box-shadow: 0 8px 22px rgba(22, 134, 242, .4), inset 0 1px 0 rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.gu-cta:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(22, 134, 242, .55), inset 0 1px 0 rgba(255, 255, 255, .3); }
.gu-cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Блик по кнопке при наведении. */
.gu-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-120%);
}
.gu-cta:hover::after { transform: translateX(120%); transition: transform .6s ease; }
/* Код — как вырезанный купон: пунктир, клик копирует. */
.gu-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px dashed rgba(120, 170, 255, .45);
  border-radius: 10px;
  background: rgba(8, 16, 46, .55);
  color: var(--gu-dim);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.gu-code b { font-size: 15px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--gu-text); }
.gu-code svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.gu-code:hover { border-color: var(--gu-blue); color: var(--gu-text); }
.gu-code .ok { display: none; }
.gu-code.done { border-style: solid; border-color: #36d17a; color: #36d17a; }
.gu-code.done .lbl { display: none; }
.gu-code.done .ok { display: inline; }
.gu-cta:focus-visible, .gu-code:focus-visible { outline: 2px solid var(--gu-cyan); outline-offset: 2px; }
.gu-note { margin: 0; font-size: 12.5px; color: var(--gu-dim); }

@media (prefers-reduced-motion: reduce) {
  .gu-cta, .gu-cta::after, .gu-cta:hover::after { transition: none; }
  .gu-cta:hover { transform: none; }
}
/* Уже — столбиком: история, под ней предложение. */
@container gu (max-width: 820px) {
  .gu-in { grid-template-columns: minmax(0, 1fr); padding: 26px 24px 40px; }
  .gu-offer { max-width: 440px; }
}
/* Телефон: кнопка и код — друг под другом, логотип чуть мельче. */
@container gu (max-width: 440px) {
  .gu-in { padding: 22px 16px 36px; }
  .gu-act { grid-template-columns: minmax(0, 1fr); }
  .gu-logo { --s: .25; }
  .gu-lockup { gap: 10px; }
  .gu-lockup .me span { display: none; }
  .gu-deal b { font-size: 32px; }
}
