:root {
  /* Зелёно-лаймовая палитра + жёлтый акцент + графит (как у референсного лендинга набора курьеров) */
  --bg: #f8f9fa;
  --bg-mint: #f0fdf0;
  --surface: #ffffff;
  --ink: #111111;
  --ink-panel: #2a2e35;
  --muted: #666666;
  --line: #eeeeee;
  --accent: #24cb1c;
  --accent-mid: #45d563;
  --accent-dark: #169612;
  --accent-soft: rgba(36, 203, 28, 0.1);
  --accent-glow: rgba(36, 203, 28, 0.35);
  --gold: #ffcc00;
  --gold-soft: rgba(255, 204, 0, 0.2);
  --gold-ink: #5c4a00;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  --font: "Nunito", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

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

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo__img {
  display: block;
  height: auto;
  width: auto;
  max-height: 56px;
  max-width: min(360px, 62vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.logo--footer .logo__img {
  max-height: 44px;
  max-width: min(280px, 85vw);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.89rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-dark);
}

.nav .btn {
  margin-left: 0.25rem;
}

.header__mobile-cta {
  display: none !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.98rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-mid), var(--accent));
  color: #fff;
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 14px 36px rgba(36, 203, 28, 0.45);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* Hero + калькулятор: сплошной мягкий фон без фотографии */
.hero-screen {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(69, 213, 99, 0.18), transparent 55%),
    radial-gradient(700px 400px at 92% 12%, rgba(36, 203, 28, 0.1), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg-mint) 42%, rgba(248, 249, 250, 0.96) 100%);
}

.hero-screen__front {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero {
  position: relative;
  padding: 3.25rem 0 2.25rem;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 2rem 2.5rem;
  align-items: center;
}

.hero__aside {
  justify-self: end;
  width: 100%;
  max-width: 300px;
}

.hero-card {
  animation: hero-card-in 0.7s ease 0.12s both;
}

@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-screen .btn--ghost {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.hero-screen .btn--ghost:hover {
  background: #fff;
}

.hero-quick {
  margin: 0 0 1rem;
  max-width: 36rem;
}

.hero-quick__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.06);
}

.hero-quick__input {
  flex: 1 1 200px;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 0.85rem 0.6rem 1rem;
  color: var(--ink);
  border-radius: 999px;
}

.hero-quick__input::placeholder {
  color: #999;
  font-weight: 500;
}

.hero-quick__input:focus {
  outline: none;
}

.hero-quick__row:focus-within {
  border-color: rgba(36, 203, 28, 0.45);
  box-shadow: 0 10px 36px rgba(36, 203, 28, 0.12);
}

.hero-quick__submit {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.hero-quick__agree {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.65rem;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
  max-width: 34rem;
}

.hero-quick__agree input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.hero-quick__agree a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.hero-quick__agree a:hover {
  color: var(--accent);
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.eyebrow--dark {
  color: var(--accent);
}

.hero-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
}

.hero-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-card__stat {
  margin-bottom: 1.25rem;
}

.hero-card__num {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-card__unit {
  display: block;
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.15rem;
}

.hero-card__hint {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.hero-card__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 88px;
}

.hero-card__bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent-mid), var(--accent));
  height: var(--h);
  opacity: 0.95;
}

.section {
  padding: 4rem 0;
}

.section--muted {
  background: var(--bg-mint);
}

.section--hero-calc {
  padding-top: 0.5rem;
  padding-bottom: 3.75rem;
  background: transparent;
}

.section--hero-calc .section__head {
  max-width: 40rem;
}

.section--hero-calc .section__head h2 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.section--why {
  background: linear-gradient(180deg, #f6fbf7 0%, var(--bg-mint) 45%, #fff 100%);
  color: var(--ink);
}

.section__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.015em;
  font-weight: 800;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

.calc {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 320px);
  gap: 1.5rem;
  align-items: stretch;
}

.calc__left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc__preview {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
}

.calc__preview-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.calc__controls {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.calc__result {
  background: var(--ink-panel);
  color: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc__label {
  margin: 0;
  opacity: 0.75;
  font-size: 0.9rem;
}

.calc__sum {
  margin: 0.35rem 0 0;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calc__note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  opacity: 0.65;
  line-height: 1.45;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field__label {
  font-weight: 600;
  font-size: 0.88rem;
}

.field__req {
  color: #d92d20;
  font-weight: 800;
  text-decoration: none;
  margin-left: 0.08em;
  border: 0;
  cursor: help;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field select {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.segmented {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.segmented button {
  flex: 1;
  min-width: 72px;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}

.segmented button.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.card__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-mint);
}

.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card h3,
.card p {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.card h3 {
  margin: 1.1rem 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.card ul {
  margin: 0 1.35rem 1rem;
  padding-left: 1.25rem;
  color: var(--ink);
  font-size: 0.88rem;
  list-style: disc;
}

.card ul li {
  margin-bottom: 0.35rem;
}

.card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 1.35rem 1.35rem;
  margin-top: auto;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent));
  box-shadow: 0 8px 24px var(--accent-glow);
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card__btn:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(36, 203, 28, 0.4);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(36, 203, 28, 0.35);
}

.card--hot {
  border-color: rgba(255, 204, 0, 0.55);
  box-shadow: 0 12px 40px var(--gold-soft);
}

.card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
}

.section--how {
  background: linear-gradient(180deg, #fff 0%, var(--bg-mint) 55%, #fff 100%);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.how-cta {
  margin: 1.75rem 0 0;
  text-align: center;
}

.how-cta .btn {
  min-width: min(100%, 18rem);
}

.how-card {
  position: relative;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(36, 203, 28, 0.18);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.how-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(36, 203, 28, 0.12);
  border-color: rgba(36, 203, 28, 0.35);
}

.how-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.how-card__icon svg {
  width: 28px;
  height: 28px;
}

.how-card__step {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 0.35rem;
}

.how-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.how-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.reviews {
  background: var(--surface);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.review-card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.review-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(145deg, var(--accent-mid), var(--accent));
  color: #fff;
}

.review-card__name {
  display: block;
  font-weight: 800;
  font-style: normal;
  font-size: 0.98rem;
}

.review-card__meta {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.review-card__stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.review-card__text {
  margin: 0;
}

.review-card__text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature {
  background: #fff;
  border: 1px solid rgba(36, 203, 28, 0.12);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  border-color: rgba(36, 203, 28, 0.22);
  box-shadow: 0 12px 36px rgba(36, 203, 28, 0.08);
}

.feature__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
  line-height: 1;
  background: linear-gradient(145deg, rgba(69, 213, 99, 0.2), rgba(36, 203, 28, 0.08));
  border-radius: 50%;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.52;
  color: var(--muted);
}

.faq {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__item {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.faq__item[aria-expanded="true"] {
  border-color: var(--accent);
}

.faq__toggle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  position: relative;
  flex-shrink: 0;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  background: var(--accent-dark);
  border-radius: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq__toggle::before {
  width: 12px;
  height: 2px;
}

.faq__toggle::after {
  width: 2px;
  height: 12px;
  transition: transform 0.2s ease;
}

.faq__item[aria-expanded="true"] .faq__toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq__panel {
  padding: 0 1.15rem 1rem;
  margin-top: -0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq__panel p {
  margin: 0;
}

.lead {
  padding-bottom: 4.5rem;
}

.lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 2rem;
  align-items: start;
}

.lead h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.lead__intro {
  min-width: 0;
}

.lead__text {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 36rem;
}

.lead__figure {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  max-width: 100%;
}

.lead__photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: contain;
}

.lead__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
}

.form {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.checkbox a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.checkbox a:hover {
  color: var(--accent);
}

.form__legal {
  margin: -0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.form__legal a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.form__legal a:hover {
  color: var(--accent);
}

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer__title {
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.footer__muted {
  color: var(--muted);
  font-size: 0.88rem;
}

.social-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.social-links--center {
  justify-content: center;
}

.social-links__item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.42rem 0.72rem;
  width: auto !important;
  max-width: max-content;
  border-radius: 999px;
  border: 1px solid rgba(7, 189, 54, 0.22);
  background: rgba(7, 189, 54, 0.08);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.social-links__item:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(7, 189, 54, 0.15);
  box-shadow: 0 6px 18px rgba(7, 189, 54, 0.18);
}

.social-links__item svg {
  width: 1rem !important;
  height: 1rem !important;
  min-width: 1rem !important;
  min-height: 1rem !important;
  max-width: 1rem !important;
  max-height: 1rem !important;
  display: block !important;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer__requisites {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer__reqlist {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  max-width: 36rem;
}

.footer__reqrow {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.2rem 0.75rem;
  align-items: start;
}

.footer__reqrow dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.footer__reqrow dd {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 520px) {
  .footer__reqrow {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.footer__bottom {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__bottom p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__aside {
    max-width: none;
    justify-self: stretch;
  }

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

  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 640px) {
  .header__inner {
    gap: 0.35rem;
  }

  .logo__img {
    max-height: 34px;
    max-width: min(170px, 45vw);
  }

  .header__mobile-cta {
    display: inline-flex !important;
    padding: 0.42rem 0.56rem;
    font-size: 0.72rem;
    min-height: 0;
    white-space: nowrap;
  }

  .burger {
    display: flex;
    padding: 6px;
  }

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav .btn {
    margin-left: 0;
    justify-content: center;
  }

  .cards--4 {
    grid-template-columns: 1fr;
  }

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

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

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

  .lead__figure {
    max-width: min(100%, 22rem);
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-quick {
    max-width: none;
  }

  .hero-quick__row {
    border-radius: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.3rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  }

  /* В колонке flex-grow:1 у инпута тянул поле на всю высоту контейнера */
  .hero-quick__input {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    -webkit-appearance: none;
    appearance: none;
  }

  .hero-quick__submit {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    font-size: 0.93rem;
    line-height: 1.25;
    border-radius: 10px;
  }

  .hero-quick__agree {
    font-size: 0.72rem;
    margin-top: 0.45rem;
    margin-left: 0.15rem;
    line-height: 1.35;
  }
}

/* Страница «Спасибо» после отправки заявки */
.thanks-page__inner {
  padding: 3.25rem 0 4rem;
}

.thanks-card {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
  animation: hero-card-in 0.65s ease 0.08s both;
}

.thanks-card .hero__title {
  margin-bottom: 0.85rem;
}

.thanks-card .hero__lead {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.thanks-card .btn {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
}

.thanks-card .btn:hover {
  text-decoration: none;
}

.thanks-social {
  margin-top: 1rem;
}

.thanks-social__title {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

/* Уведомление о cookie и рекомендательных технологиях */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 0.35rem 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.65rem;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
  max-width: none;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--muted);
}

.cookie-banner__text a {
  font-weight: 600;
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  line-height: 1.2;
}

@media (max-width: 520px) {
  .cookie-banner__inner {
    justify-content: space-between;
  }
}

/* --- Роль / вакансия (отдельные страницы) --- */
.role-top {
  padding: 1.25rem 0 2.5rem;
}

.role-top__intro {
  max-width: 46rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.role-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: 1.5rem;
  align-items: start;
}

.role-income-aside {
  background: linear-gradient(160deg, rgba(7, 189, 54, 0.12), rgba(7, 189, 54, 0.03));
  border: 1px solid rgba(7, 189, 54, 0.22);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.role-income-aside__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.role-income-aside__sum {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 800;
  color: var(--ink);
}

.role-income-aside__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.calc--locked .segmented button:disabled {
  opacity: 0.45;
  cursor: default;
}

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


.role-breadcrumbs-wrap {
  background: #e9eff5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.role-breadcrumbs {
  margin: 0;
  padding: 0.8rem 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: var(--ink);
}

.role-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.role-breadcrumbs span {
  margin: 0 0.35rem;
}

.role-top__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.role-top__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.role-top__overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 800;
}

.role-other-cards .card__btn {
  text-align: center;
}


.role-breadcrumbs {
  font-weight: 500;
}

.role-summary {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0, 420px);
  gap: 1.5rem;
  align-items: center;
}

.role-summary__text h2 {
  margin: 0 0 .6rem;
  font-size: clamp(1.35rem,2.8vw,2rem);
}

.role-summary__text p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.role-summary__media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.role-summary__media img {
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}

.lead--role .lead__grid {
  align-items: center;
}

@media (max-width: 900px) {
  .role-summary {
    grid-template-columns: 1fr;
  }
}


.role-top__overlay-sub {
  position: absolute;
  left: 1rem;
  bottom: .1rem;
  margin: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  font-size: clamp(0.76rem,1.8vw,0.95rem);
  font-weight: 600;
}


.role-top__media {
  position: relative;
  margin-bottom: 0;
  min-height: clamp(360px, 48vw, 520px);
}

.role-top__media img {
  width: 100%;
  height: clamp(360px, 48vw, 520px);
  object-fit: cover;
  filter: brightness(0.72);
}

.role-top__content {
  position: absolute;
  top: clamp(18px, 4vw, 38px);
  left: clamp(16px, 3.5vw, 30px);
  max-width: min(560px, 84%);
  z-index: 2;
}

.role-top__overlay {
  margin: 0 0 0.8rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(2rem, 6.3vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.role-top__overlay-sub {
  position: static;
  margin: 0 0 1.25rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(1rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
}

.role-top__cta {
  min-width: 220px;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(7, 189, 54, 0.35);
}


/* Final overrides for role hero readability */
.role-top__content {
  top: 0;
  bottom: 0;
  left: clamp(16px, 3.5vw, 34px);
  right: auto;
  padding: clamp(18px, 3vw, 30px) 0;
  max-width: min(560px, 86%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.role-top__overlay {
  position: static;
  margin: 0;
  font-size: clamp(2rem, 5.8vw, 4.2rem);
  line-height: 0.98;
}

.role-top__overlay-sub {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.role-top__cta {
  margin-top: 0.6rem;
  align-self: flex-start;
}

@media (max-width: 740px) {
  .role-top__content {
    justify-content: flex-start;
    padding-top: 1rem;
    gap: 0.55rem;
  }
  .role-top__overlay {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
  .role-top__overlay-sub {
    font-size: clamp(0.95rem, 4.2vw, 1.3rem);
  }
}

/* Live income card instead of screenshot */
.role-income-aside--card {
  background: #f1f2f1;
  border: 1px solid #e5e8e5;
  padding: clamp(1rem, 2.2vw, 1.4rem);
}
.role-income-aside--card .role-income-aside__label {
  display: inline-block;
  background: #d8ead8;
  color: #0a8f17;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}
.role-income-aside--card .role-income-aside__sum {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0;
  color: #101318;
}
.role-income-aside__currency {
  margin: 0.1rem 0 0.7rem;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #666;
}
.role-income-aside--card .role-income-aside__note {
  font-size: clamp(0.95rem, 1.9vw, 1.15rem);
  max-width: 25rem;
}
.role-income-aside__bars {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  align-items: end;
  min-height: 5.4rem;
}
.role-income-aside__bars span {
  display: block;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #53d45f, #35c83f);
}
.role-income-aside__bars span:nth-child(1) { height: 70%; }
.role-income-aside__bars span:nth-child(2) { height: 55%; }
.role-income-aside__bars span:nth-child(3) { height: 90%; }
.role-income-aside__bars span:nth-child(4) { height: 63%; }
.role-income-aside__bars span:nth-child(5) { height: 95%; }




/* Пеший курьер: без верхней полосы, полный hero-блок */
html[data-calc-mode="foot"] .role-top__media img {
  object-fit: cover;
  object-position: center 42%;
}


/* Акцент блока сбора заявки */
.lead {
  background: radial-gradient(1200px 380px at 10% -10%, rgba(71, 212, 95, 0.28), rgba(71, 212, 95, 0) 55%),
              linear-gradient(135deg, #eef9f0 0%, #e1f6e5 45%, #d3f1d8 100%);
  border-top: 1px solid rgba(7, 189, 54, 0.22);
  border-bottom: 1px solid rgba(7, 189, 54, 0.18);
}

.lead .form {
  border: 1px solid rgba(7, 189, 54, 0.26);
  box-shadow: 0 18px 40px rgba(7, 189, 54, 0.16);
}

.lead .lead__intro {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(7, 189, 54, 0.14);
  border-radius: var(--radius);
  padding: 1rem;
}

@media (max-width: 980px) {
  .lead .lead__intro {
    padding: 0.85rem;
  }
}


/* ПК: велокурьер и сборщик — показываем человека целиком в hero */
@media (min-width: 981px) {
  html[data-calc-mode="bike"] .role-top__media,
  html[data-calc-mode="picker"] .role-top__media {
    background: linear-gradient(135deg, #1f3a22 0%, #18321e 100%);
  }

  html[data-calc-mode="bike"] .role-top__media img {
    object-fit: cover;
    object-position: center 46%;
    filter: brightness(0.82);
    image-rendering: auto;
  }

  html[data-calc-mode="picker"] .role-top__media img {
    position: relative;
    z-index: 2;
    object-fit: cover;
    object-position: center 50%;
    filter: brightness(0.82);
    image-rendering: auto;
  }

  /* Сборщик: отключаем фоновый блюр-слой, чтобы не было линии сверху */
  html[data-calc-mode="picker"] .role-top__media::before {
    content: none;
  }

  html[data-calc-mode="picker"] .role-top__content {
    z-index: 3;
  }
}


/* Автокурьер: смещение hero-текста в нижнюю левую область */
@media (min-width: 981px) {
  html[data-calc-mode="car"] .role-top__content {
    top: auto;
    bottom: 72px;
    left: 28px;
    max-width: 540px;
    justify-content: flex-end;
  }
}


/* Автокурьер mobile: опустить hero-текст ниже */
@media (max-width: 740px) {
  html[data-calc-mode="car"] .role-top__content {
    top: auto;
    bottom: 56px;
    justify-content: flex-end;
  }
}


.also-seek {
  padding: 1.1rem 0 1.6rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.also-seek__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.also-seek__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.also-seek__links a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.66rem;
  border-radius: 999px;
  border: 1px solid rgba(7, 189, 54, 0.22);
  background: rgba(7, 189, 54, 0.08);
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.83rem;
  line-height: 1.25;
}

.also-seek__links a:visited {
  color: var(--accent-dark);
  border-color: rgba(7, 189, 54, 0.22);
  background: rgba(7, 189, 54, 0.08);
  text-decoration: none;
}

.also-seek__links a:hover {
  background: rgba(7, 189, 54, 0.14);
}

@media (max-width: 760px) {
  .also-seek__links {
    gap: 0.5rem 0.5rem;
  }

  .also-seek__links a,
  .also-seek__links a:visited {
    display: inline-flex;
    padding: 0.42rem 0.72rem;
    border-width: 1px;
    border-style: solid;
    border-radius: 999px;
    background: rgba(7, 189, 54, 0.12);
    border-color: rgba(7, 189, 54, 0.28);
    font-size: 0.9rem;
    font-weight: 700;
    color: #138e2a;
    text-decoration: none;
    line-height: 1.2;
  }
}
