/* =========================================================================
   50000.рф — design system
   Mobile-first, no frameworks, one accent colour.
   ========================================================================= */

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-cyrillic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0e1521;
  --ink-2: #39424f;
  --ink-3: #6d7686;
  --line: #e3e1d8;
  --line-2: #efede6;
  --paper: #f7f5ef;
  --paper-2: #f1eee5;
  --surface: #ffffff;
  --brand: #0b6a4e;
  --brand-2: #085540;
  --brand-soft: #e8f2ed;
  --brand-line: #cfe3d9;
  --warm: #d99a2b;
  --warm-soft: #fdf3e0;
  --danger: #a8441b;
  --danger-soft: #fbeee7;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-xs: 0 1px 2px rgba(14, 21, 33, 0.05);
  --shadow-sm: 0 1px 2px rgba(14, 21, 33, 0.04), 0 4px 14px -8px rgba(14, 21, 33, 0.18);
  --shadow-md: 0 18px 40px -24px rgba(14, 21, 33, 0.35), 0 2px 6px rgba(14, 21, 33, 0.04);
  --shadow-lg: 0 40px 80px -40px rgba(9, 40, 31, 0.45), 0 4px 12px rgba(14, 21, 33, 0.05);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 64px;

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

*,
*::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;
  background: var(--paper);
  color: var(--ink);
  font-family: "Golos Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--brand-2);
}

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

p {
  margin: 0 0 1em;
}

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(11, 106, 78, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: #cde9dc;
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.15s var(--ease);
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--brand-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -12px rgba(8, 85, 64, 0.9);
}

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 16px 26px;
  font-size: 16px;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 14px;
}

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

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--brand-line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}
.btn--dark:hover {
  background: #1a2536;
}

.btn svg {
  flex: 0 0 auto;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 239, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
}

.brand__name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand__name span {
  color: var(--brand);
}
.brand__tag {
  display: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
  margin-top: 4px;
}

.city-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.city-btn:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-xs);
}
.city-btn__label {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.city-btn__value {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.city-btn__chev {
  color: var(--ink-3);
}

.header-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 6px;
}
.header-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.header-nav a:hover {
  color: var(--ink);
  background: rgba(14, 21, 33, 0.05);
}

.header-cta {
  margin-left: auto;
  display: none;
}

@media (min-width: 720px) {
  .brand__tag {
    display: block;
  }
  .header-cta {
    display: inline-flex;
    margin-left: 0;
  }
  .header-inner {
    gap: 18px;
  }
}

@media (min-width: 980px) {
  :root {
    --header-h: 76px;
  }
  .header-nav {
    display: flex;
  }
  .header-cta {
    margin-left: 0;
  }
  .city-btn {
    margin-left: 6px;
  }
  .brand__name {
    font-size: 22px;
  }
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding-block: 28px 8px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(58% 52% at 78% 8%, rgba(11, 106, 78, 0.1), transparent 62%),
    radial-gradient(46% 46% at 6% 0%, rgba(217, 154, 43, 0.09), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.hero__title {
  font-size: clamp(31px, 3.4vw + 14px, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero__title .js-city {
  color: var(--brand);
  background-image: linear-gradient(transparent 72%, rgba(11, 106, 78, 0.18) 0);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-inline: 2px;
}

.hero__title-tail {
  display: block;
  margin-top: 0.24em;
  font-size: 0.56em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

.hero__sub {
  font-size: clamp(16px, 0.6vw + 14px, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 20px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__trust svg {
  color: var(--brand);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------- calculator */

.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  position: relative;
}

.calc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.calc__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.calc__hint {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}
.calc__hint b {
  color: var(--brand);
  font-weight: 600;
}

.field {
  margin-bottom: 18px;
}
.field__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.field__label {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.field__value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.field__value input {
  width: 8.2ch;
  padding: 2px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: right;
  border-bottom: 1px dashed var(--line);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
  -moz-appearance: textfield;
}
.field__value input::-webkit-outer-spin-button,
.field__value input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.field__value input:hover,
.field__value input:focus {
  border-bottom-color: var(--brand-line);
  background: var(--brand-soft);
  outline: none;
}
.field__unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
}

input[type="range"].range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --fill: 30%;
}
input[type="range"].range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--brand) 0 var(--fill),
    var(--line-2) var(--fill) 100%
  );
}
input[type="range"].range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
}
input[type="range"].range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}
input[type="range"].range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 2px 6px rgba(8, 85, 64, 0.35);
  transition: transform 0.12s var(--ease);
}
input[type="range"].range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 2px 6px rgba(8, 85, 64, 0.35);
}
input[type="range"].range:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
input[type="range"].range:focus-visible {
  outline: none;
}
input[type="range"].range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px rgba(11, 106, 78, 0.25);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
}
.seg__btn {
  position: relative;
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 9px 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}
.seg__btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.seg__btn:hover {
  color: var(--ink);
}

.calc__submit {
  margin-top: 4px;
}
.calc__note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-3);
  text-align: center;
}

.calc__result {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  font-size: 13.5px;
  color: var(--brand-2);
  line-height: 1.45;
}
.calc__result svg {
  flex: 0 0 auto;
  margin-top: 1px;
}
.calc__result strong {
  font-weight: 700;
}

@media (min-width: 980px) {
  .hero {
    padding-block: 46px 20px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 48px;
    align-items: center;
  }
  .calc {
    padding: 24px 24px 22px;
  }
}

/* --------------------------------------------------------------- trust bar */

.trustbar {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.trustbar__item {
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
}
.trustbar__v {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.trustbar__k {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 3px;
}

@media (min-width: 720px) {
  .trustbar {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----------------------------------------------------------------- blocks */

.section {
  padding-block: clamp(44px, 6vw, 84px);
}

.section--tight {
  padding-block: clamp(32px, 4vw, 56px);
}

.section--paper {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.h2 {
  font-size: clamp(25px, 2vw + 16px, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-head .lead {
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 52ch;
  margin: 8px 0 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 106, 78, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.15s var(--ease), gap 0.2s var(--ease);
}
.link-arrow:hover {
  border-color: var(--brand);
  gap: 12px;
}

/* ----------------------------------------------------------------- offers */

.offers-list {
  display: grid;
  gap: 10px;
}

.offer {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px 16px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.offer:hover {
  border-color: #d3d0c4;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.offer--top {
  border-color: var(--brand-line);
  box-shadow: 0 0 0 1px var(--brand-line), var(--shadow-sm);
}

.offer__logo {
  width: 104px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  padding: 5px;
  overflow: hidden;
  align-self: start;
  margin-top: 2px;
}
.offer__logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.offer__brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.offer__name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.offer__flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}
.offer__flag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.offer__note {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.35;
}

.offer__specs {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}

.spec {
  min-width: 0;
}
.spec__k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.spec__v {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2px;
  white-space: nowrap;
}
.spec__v small {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}

.offer__cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.offer__cta .btn {
  flex: 1 1 auto;
}
.offer__more {
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  white-space: nowrap;
}
.offer__more:hover {
  color: var(--brand);
  border-color: var(--brand-line);
}

.offer__micro {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: -4px;
}

@media (min-width: 980px) {
  .offer {
    grid-template-columns: 104px minmax(0, 1.2fr) repeat(4, minmax(0, 0.76fr)) auto;
    grid-template-areas: "logo brand sum term rate psk cta";
    gap: 16px;
    padding: 18px 20px;
  }
  .offer__logo {
    grid-area: logo;
    align-self: center;
    margin-top: 0;
  }
  .offer__brand {
    grid-area: brand;
  }
  .offer__specs {
    display: contents;
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }
  .offer__specs > :nth-child(1) {
    grid-area: sum;
  }
  .offer__specs > :nth-child(2) {
    grid-area: term;
  }
  .offer__specs > :nth-child(3) {
    grid-area: rate;
  }
  .offer__specs > :nth-child(4) {
    grid-area: psk;
  }
  .offer__cta {
    grid-area: cta;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 168px;
  }
  .offer__cta .btn {
    flex: 0 0 auto;
    width: 100%;
  }
  .offer__more {
    text-align: center;
    border-bottom: 0;
    font-size: 12.5px;
  }
  .offer__more:hover {
    text-decoration: underline;
  }
  .offer__micro {
    display: none;
  }
}

.offers-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.offers-foot b {
  font-weight: 600;
}

/* ----------------------------------------------------------- trust cards */

.trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.trust-card {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.trust-card:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
}
.trust-card__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.trust-card__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 14px;
}
.trust-card h3 {
  font-size: 16.5px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

/* -------------------------------------------------------------- city grid */

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.city-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.city-card:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--ink);
  background: #fff;
}
.city-card__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding-right: 24px;
}
.city-card__region {
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.3;
}
.city-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--ink-2);
}
.city-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.city-card__meta b {
  font-weight: 600;
  color: var(--ink);
}
.city-card__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--ink-3);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.city-card:hover .city-card__arrow {
  color: var(--brand);
  transform: translate(2px, -2px);
}
.city-card--current {
  border-color: var(--brand-line);
  background: linear-gradient(180deg, #f3faf6, #fff);
}
.city-card--current::after {
  content: "вы здесь";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.city-card--current .city-card__arrow {
  display: none;
}

@media (min-width: 720px) {
  .cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .cities-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ------------------------------------------------------------------ steps */

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step__num {
  display: block;
  font-size: 46px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-line);
  margin-bottom: 14px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}
.step__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13.5px;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* -------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 26px;
}

.faq__intro .h2 {
  margin-bottom: 12px;
}
.faq__intro p {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 38ch;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.15s var(--ease);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--brand);
}
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background-image: linear-gradient(var(--ink-2), var(--ink-2)),
    linear-gradient(var(--ink-2), var(--ink-2));
  background-size: 8px 1.5px, 1.5px 8px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform 0.2s var(--ease), background-color 0.15s var(--ease);
}
.faq-item[open] summary::after {
  background-image: linear-gradient(var(--brand), var(--brand));
  background-size: 8px 1.5px;
  background-color: var(--brand-soft);
  border-color: var(--brand-line);
}
.faq-a {
  padding: 0 40px 20px 2px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.faq-a p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .faq {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 56px;
    align-items: start;
  }
  .faq__intro {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ------------------------------------------------------------------- band */

.band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a4b38 0%, #0b6a4e 55%, #127a5b 100%);
  color: #eaf5ef;
  padding: 30px 24px;
  display: grid;
  gap: 20px;
  align-items: center;
}
.band::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.band h2 {
  color: #fff;
  font-size: clamp(22px, 1.6vw + 14px, 30px);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.band p {
  margin: 0;
  color: rgba(234, 245, 239, 0.82);
  font-size: 14.5px;
  max-width: 56ch;
}
.band .btn {
  --btn-bg: #ffffff;
  --btn-fg: var(--brand-2);
  justify-self: start;
}
.band .btn:hover {
  background: #e9f5ee;
  color: var(--brand-2);
}

@media (min-width: 800px) {
  .band {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 38px 40px;
  }
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: #0c1420;
  color: #b6bfcd;
  padding-block: 46px 26px;
  margin-top: clamp(40px, 5vw, 70px);
  font-size: 14px;
}
.site-footer a {
  color: #d8dee8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-footer a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.footer-top {
  display: grid;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: #fff;
}
.footer-brand .brand__name span {
  color: #6fd6a8;
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 13px;
  color: #8b95a6;
  max-width: 40ch;
  line-height: 1.55;
}

.footer-col h3 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d8899;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}

.footer-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
}

.risk-box {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(217, 154, 43, 0.35);
  background: rgba(217, 154, 43, 0.08);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.55;
  color: #e8d7b5;
}
.risk-box b {
  color: #f3c675;
  font-weight: 600;
}

.footer-legal {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: #77828f;
  max-width: 100ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #6d7887;
}
.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 600;
  color: #cfd6e0;
}

@media (min-width: 780px) {
  .footer-top {
    grid-template-columns: minmax(220px, 0.9fr) repeat(3, minmax(0, 0.7fr));
    gap: 28px;
  }
}

/* ----------------------------------------------------------- city dialog */

dialog.city-dialog {
  width: min(520px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 48px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(4, 12, 20, 0.6);
  overflow: hidden;
}
dialog.city-dialog::backdrop {
  background: rgba(9, 16, 25, 0.5);
  backdrop-filter: blur(3px);
}
.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 12px;
}
.dialog__title {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.dialog__sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 4px 0 0;
}
.dialog__close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-2);
}
.dialog__close:hover {
  background: var(--paper-2);
}
.dialog__search {
  padding: 0 20px 12px;
}
.dialog__search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
}
.dialog__search input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 106, 78, 0.12);
}
.city-options {
  max-height: min(420px, 50vh);
  overflow-y: auto;
  padding: 0 12px 12px;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}
.city-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.city-option:hover,
.city-option:focus-visible {
  background: var(--brand-soft);
}
.city-option__region {
  font-size: 12px;
  color: var(--ink-3);
}
.city-option[aria-current="true"] {
  background: var(--brand-soft);
  font-weight: 600;
}
.city-option[aria-current="true"] .city-option__region {
  color: var(--brand);
}
.dialog__empty {
  padding: 18px 20px 28px;
  font-size: 14px;
  color: var(--ink-3);
  text-align: center;
}

/* --------------------------------------------------------- inner pages */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-3);
  padding-block: 16px 0;
}
.breadcrumbs a {
  color: var(--ink-3);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.breadcrumbs span[aria-hidden] {
  opacity: 0.5;
}

.page-hero {
  padding-block: 18px 8px;
}
.page-hero__title {
  font-size: clamp(28px, 2.6vw + 14px, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 12px;
  max-width: 28ch;
}
.page-hero__sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 62ch;
  margin-bottom: 18px;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sortbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.sortbar__label {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-right: 2px;
}
.chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.chip:hover {
  border-color: var(--brand-line);
  color: var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article {
  max-width: 720px;
}
.article h2 {
  font-size: clamp(22px, 1.6vw + 14px, 30px);
  margin: 40px 0 14px;
  letter-spacing: -0.025em;
}
.article h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}
.article p,
.article li {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-2);
}
.article li {
  margin-bottom: 8px;
}
.article > p:first-of-type {
  font-size: 18.5px;
  color: var(--ink);
  line-height: 1.6;
}
.article figure {
  margin: 26px 0;
}
.article blockquote {
  margin: 26px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15.5px;
  color: var(--brand-2);
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 20px 0;
}
.article th,
.article td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.article th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 600;
}
.article td b {
  font-weight: 600;
  color: var(--ink);
}
.article ol,
.article ul {
  padding-left: 22px;
}
.article .table-scroll {
  overflow-x: auto;
}

.prose-page {
  max-width: 780px;
}
.prose-page h2 {
  font-size: 24px;
  margin: 34px 0 12px;
}
.prose-page p,
.prose-page li {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.66;
}

.related {
  display: grid;
  gap: 10px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.card-link:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.card-link > span {
  display: block;
  min-width: 0;
}
.card-link b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card-link span span {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: 2px;
}

/* --------------------------------------------------------------- utility */

.muted {
  color: var(--ink-3);
}
.nowrap {
  white-space: nowrap;
}
.mt-24 {
  margin-top: 24px;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* print */
@media print {
  .site-header,
  .site-footer,
  .calc,
  .band {
    display: none !important;
  }
}

/* =============================================================== additions */

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

/* geo confirmation strip */
.geo-strip {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(11, 106, 78, 0.06), rgba(11, 106, 78, 0.02));
}
.geo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-block: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.geo-strip__text b {
  font-weight: 600;
  color: var(--ink);
}
.geo-strip__actions {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}
.geo-strip__yes,
.geo-strip__no {
  border: 0;
  background: none;
  padding: 4px 2px;
  font-size: 13.5px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.geo-strip__yes {
  font-weight: 600;
  color: var(--brand);
}
.geo-strip__no {
  color: var(--ink-3);
}
.geo-strip__yes:hover,
.geo-strip__no:hover {
  border-bottom-color: currentColor;
}

/* offer detail page */
.detail-grid {
  display: grid;
  gap: 16px;
}
.detail-aside {
  order: -1;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.panel + .panel {
  margin-top: 12px;
}
.panel__title {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.panel__sub {
  font-size: 15px;
  margin: 20px 0 10px;
}
.panel--sticky {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-md);
}
.detail-logo {
  display: grid;
  place-items: center;
  height: 88px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 16px;
  padding: 10px;
}
.detail-logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
.detail-aside__line {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 0 0 10px;
  line-height: 1.35;
}
.detail-aside__line b {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.panel--sticky .btn {
  margin-top: 6px;
}

.detail-list {
  margin: 0;
  display: grid;
  gap: 0;
}
.detail-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}
.detail-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.detail-list dt {
  font-size: 13.5px;
  color: var(--ink-3);
}
.detail-list dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  text-align: right;
}

.numbered,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: n;
}
.numbered li {
  position: relative;
  padding-left: 34px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  counter-increment: n;
}
.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.numbered li b {
  color: var(--ink);
}
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
  }
  .detail-aside {
    order: 0;
  }
  .panel--sticky {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}

/* article */
.article-head {
  max-width: 760px;
  margin-bottom: 8px;
}
.article-head .page-hero__title {
  max-width: 28ch;
}
.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 0;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
}
.article-cta b {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 3px;
}
.article-cta span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 46ch;
}

/* empty state for filtered offers */
.empty-state {
  padding: 26px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink-2);
  font-size: 14.5px;
  background: rgba(255, 255, 255, 0.6);
}
.empty-state b {
  color: var(--ink);
}

.calc__result .calc__reset {
  margin-left: auto;
  flex: 0 0 auto;
  align-self: center;
  border: 0;
  background: none;
  padding: 2px;
  font-size: 12.5px;
  color: var(--brand-2);
  border-bottom: 1px solid rgba(8, 85, 64, 0.35);
  cursor: pointer;
}


/* ------------------------------------------------------ mobile refinements */

@media (max-width: 560px) {
  .city-btn {
    padding: 7px 10px;
    gap: 6px;
  }
  .city-btn__label {
    display: none;
  }
  .city-btn__value {
    max-width: 116px;
  }
  .geo-strip__inner {
    gap: 4px 12px;
    padding-block: 10px;
  }
  .geo-strip__text {
    flex: 1 1 100%;
  }
  .geo-strip__actions {
    margin-left: 0;
  }
  .header-inner {
    gap: 10px;
  }
  .offer__logo {
    width: 84px;
    height: 44px;
  }
}


/* --------------------------------------------------------------- share */

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.share__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease),
    box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.share__btn:hover {
  color: var(--ink);
  border-color: #cfccc0;
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}
.share__mark {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  transition: transform 0.15s var(--ease);
}
.share__btn:hover .share__mark {
  transform: scale(1.06);
}
.share__btn--vk .share__mark {
  background: #0077ff;
}
.share__btn--ok .share__mark {
  background: #ee8208;
}

@media (max-width: 420px) {
  .share__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .share__label {
    flex: 1 1 100%;
    margin-bottom: 2px;
  }
}


/* компактный вариант — под калькулятором */
.share--calc {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
  justify-content: center;
  gap: 6px;
}
.share--calc .share__label {
  font-size: 10.5px;
  margin-right: 2px;
}
.share--calc .share__btn {
  padding: 4px 12px 4px 4px;
  font-size: 12.5px;
  gap: 7px;
}
.share--calc .share__mark {
  width: 22px;
  height: 22px;
  font-size: 9px;
  border-radius: 7px;
}
