
.sell-app {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sell-header {
  width: 100%;
  max-width: 1360px;
  padding: 0 20px;
}

.sell-header-inner {
  width: 100%;
  height: 108px;
  background: #003596;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
}

.sell-header-tagline {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.sell-header-logo {
  display: block;
  max-height: 60px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sell-header-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #0041B7;
  padding: 12px;
  border-radius: 12px;
}

.sell-login-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.sell-login-icon {
  display: block;
}

/* ===== ГЕРОЙ ===== */
.sell-hero {
  width: 100%;
  max-width: 1360px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  padding: 50px 28px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  border-radius: 20px 20px 0 0;
}

.sell-hero-title {
  color: #292929;
  font-size: 27.82px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.33;
  letter-spacing: -1px;
  text-align: center;
}

.sell-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 22px;
  width: 100%;
}

.sell-hero-card {
  min-height: 302px;
  background: linear-gradient(180deg, rgba(82, 124, 229, 0.14) 0%, rgba(82, 124, 229, 0) 100%);
  border-radius: 15.9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 20px 0;
  gap: 20px;
}

.sell-hero-card-title {
  color: #292929;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1px;
  text-align: center;
  text-transform: uppercase;
  max-width: 80%;
  margin: 0 auto;
}

.sell-hero-card-image {
  width: 262px;
  height: 204px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  flex-shrink: 0;
}

.sell-hero-cta {
  margin-top: 10px;
}

.sell-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: #FF413C;
  border-radius: 12px;
  box-shadow: 0px 8px 16px 0px rgba(37, 99, 235, 0.25);
  color: #fff;
  font-size: 15.9px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sell-button-primary:hover {
  background: #e63a35;
}

.sell-button-primary img {
  display: block;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.sell-advantages {
  width: 100%;
  max-width: 1360px;
  background: #fff;
  padding: 0 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.sell-section-title {
  align-self: stretch;
  color: #292929;
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  text-align: center;
  text-transform: uppercase;
}

.sell-advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.sell-advantage-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: #003296;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  box-shadow: 0px 4px 12px 0px rgba(15, 23, 42, 0.02);
}

.sell-advantage-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sell-advantage-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #FDFDFD;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sell-advantage-icon img {
  display: block;
}

.sell-advantage-title {
  flex: 1;
  color: #fff;
  font-size: 22px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.sell-advantage-commission-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sell-advantage-commission-sub {
  color: #D9D9D9;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.sell-advantage-desc {
  color: #E2E2E2;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Комиссионные бары */
.sell-commission-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sell-commission-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sell-commission-label {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  min-width: 120px;
}

.sell-commission-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sell-commission-percent {
  color: #0FFFA3;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.sell-commission-percent.sell-muted {
  color: #A5A5A5;
}

.sell-commission-percent__img {
  display: block;
}

.sell-advantage-note {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-top: 10px;
}

/* ===== ТАРИФЫ ===== */
.sell-tariffs {
  width: 100%;
  max-width: 1360px;
  background: #fff;
  padding: 0 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.sell-tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.sell-tariff-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 40px;
  background: linear-gradient(180deg, rgba(82, 124, 229, 0.14) 0%, rgba(82, 124, 229, 0) 100%);
  border-radius: 500px;
}

.sell-tariff-label {
  color: #292929;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.sell-tariff-price {
  color: #003296;
  font-size: 42px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-align: center;
}

.sell-tariff-desc {
  color: #475569;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.sell-tariffs-note {
  color: #475569;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  width: 100%;
}

/* ===== СХЕМЫ ===== */
.sell-schemes {
  width: 100%;
  max-width: 1360px;
  background: #fff;
  padding: 0 24px 100px;
  border-radius: 0 0 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.sell-schemes-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.sell-scheme-card {
  flex: 1 1 0;
  min-height: 282px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #003296;
  border-radius: 24px;
}

.sell-scheme-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sell-scheme-name {
  color: #fff;
  font-size: 32px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.sell-scheme-header img {
  display: block;
  max-width: 40px;
}

.sell-scheme-desc {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.44;
}

.sell-scheme-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}

.sell-scheme-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.sell-scheme-row:last-child {
  border-bottom: none;
}

.sell-scheme-row span {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.sell-scheme-value {
  font-weight: 600;
  color: #fff;
}

.sell-scheme-value.sell-muted {
  color: #CBCBCB;
}

/* ===== ШАГИ ===== */
.sell-steps {
  width: 100%;
  max-width: 1360px;
  background: #fff;
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border-radius: 0 0 26px 26px;
}

.sell-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.sell-step-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(180deg, rgba(82, 124, 229, 0.14) 0%, rgba(82, 124, 229, 0) 100%);
  border-radius: 24px;
}

.sell-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sell-step-icon {
  width: 56px;
  height: 56px;
  background: #003296;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sell-step-icon img {
  display: block;
}

.sell-step-number {
  color: #003296;
  font-size: 44px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  opacity: 0.3;
}

.sell-step-title {
  color: #292929;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.sell-step-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 50, 150, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 8px;
  color: #5B5B5B;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

/* ===== CTA ===== */
.sell-cta {
  width: 100%;
  max-width: 1360px;
  position: relative;
  padding: 40px 330px;
  background: linear-gradient(180deg, rgba(82, 124, 229, 0.14) 0%, rgba(82, 124, 229, 0) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  margin-top: 40px;
}

.sell-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  z-index: 0;
}

.sell-cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sell-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 700px;
}

.sell-cta-title {
  color: #292929;
  font-size: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  text-align: center;
}


/* ===== АДАПТИВ ===== */
@media (max-width: 1080px) {
  .sell-app-sel {
    padding: 30px 20px 0;
  }

  .sell-header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 24px 20px;
    gap: 20px;
  }

  .sell-header-logo {
    position: static;
    transform: none;
    order: -1;
    width: 100%;
    text-align: center;
  }

  .sell-header-tagline {
    font-size: 12px;
  }

  .sell-hero-title {
    font-size: 22px;
  }

  .sell-hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sell-hero-card {
    height: auto;
    min-height: 240px;
    padding-bottom: 20px;
  }

  .sell-hero-card--grid {
    grid-column: 1 / -1;
  }

  .sell-hero-card-image {
    width: 100%;
    max-width: 262px;
  }

  .sell-advantages-grid {
    grid-template-columns: 1fr;
  }

  .sell-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sell-cta {
    padding: 30px 20px;
  }
}

@media (max-width:980px) {
  .sell-schemes-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sell-scheme-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .sell-tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sell-tariff-item:nth-child(3n) {
    grid-column: 1 / -1;
  }
}

@media (max-width:730px) {
  .sell-hero-cards {
    grid-template-columns: 1fr;
  }

  .sell-tariffs-grid {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .sell-app-sel {
    padding: 15px 10px 0;
  }

  .sell-hero {
    padding: 30px 15px 100px;
    gap: 30px;
  }

  .sell-hero-cards {
    flex-direction: column;
    align-items: center;
  }

  .sell-hero-card {
    width: 100%;
    max-width: 100%;
  }

  .sell-schemes-cards {
    grid-template-columns: 1fr;
  }

  .sell-scheme-card {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .sell-cta-title {
    font-size: 22px;
  }

  .sell-cta {
    padding: 20px 15px;
  }

  .sell-commission-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sell-tariff-item {
    border-radius: 44px;
    padding: 14px 14px;
  }

  .sell-tariff-item:nth-child(3n) {
    grid-column: auto;
  }

  .sell-tariff-label,
  .sell-tariff-desc {
    font-size: 12px;
  }

  .sell-tariff-price {
    font-size: 32px;
  }

  .sell-advantages,
  .sell-schemes,
  .sell-tariffs {
    padding: 0 16px 100px;
  }

  .sell-steps {
    padding: 0 15px 15px;
  }
}

/* ===== МОБИЛЬНЫЙ СТИКИ-ЭФФЕКТ ТОЛЬКО ДЛЯ ТАРИФОВ (ширина <= 460px) ===== */
@media (max-width: 460px) {
  .sell-commission-percent__img {
    max-width: 200px;
  }

  /* ----- Заголовок тарифов – sticky у верхнего края ----- */
  .sell-tariffs .sell-section-title {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 12px 0;
    margin: 0;
    width: 100%;
  }

  /* ----- Тарифы (sticky) ----- */
  .sell-tariffs-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-bottom: 0;
  }

  .sell-tariff-item {
    position: sticky;
    width: 100%;
    padding: 14px 14px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #DFE9FF 0%, #FFF 100%);
    border-radius: 40px;
    margin-top: 0 !important;
  }

  /* Первая карточка – 80px от верха, остальные с шагом 48px */
  .sell-tariff-item:nth-child(1) {
    top: 80px;
  }
  .sell-tariff-item:nth-child(2) {
    top: 128px;
  }
  .sell-tariff-item:nth-child(3) {
    top: 176px;
  }
  .sell-tariff-item:nth-child(4) {
    top: 224px;
  }
  .sell-tariff-item:nth-child(5) {
    top: 272px;
  }
  .sell-tariff-item:nth-child(6) {
    top: 320px;
  }

  /* БУФЕР: скрытый элемент, который удерживает последнюю карточку */
  .sell-tariff-buffer {
    height: 1px;
    position: sticky;
    top: 400px; /* 320px + высота карточки + небольшой запас */
    z-index: -1;
    pointer-events: none;
  }

  .sell-tariff-label {
    line-height: 1.4;
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  /* Текст "*включая НДС" – после буфера */
  .sell-tariffs-note {
    padding: 8px 14px 8px 14px;
    font-size: 14px;
    color: #475569;
    margin-top: 0;
  }

  /* ----- Шаги – без sticky (обычная колонка) ----- */
  .sell-steps-grid {
  gap: 12px;
  }

  .sell-step-item {
    padding: 16px;
    background: linear-gradient(180deg, rgba(82, 124, 229, 0.14) 0%, rgba(82, 124, 229, 0) 100%);
    border-radius: 24px;
    position: static;
    top: auto;
    box-shadow: none;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .sell-step-title {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    padding: 0;
  }

  .sell-step-tag {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 500;
  }

  /* ----- Общие мобильные донастройки ----- */
  .sell-header-inner {
    justify-content: center;
  }

  .sell-header-tagline {
    font-size: 16px;
  }

  .sell-hero-title {
    font-size: 26px;
  }

  .sell-advantages-grid {
    gap: 12px;
  }

  .sell-hero-cards {
    gap: 12px;
  }

  .sell-tariff-label,
  .sell-tariff-desc {
    font-size: 16px;
  }
  .sell-schemes-cards {
    gap: 12px;
  }
  
  .sell-button-primary {
    font-weight: 400;
  }
  .sell-commission-bars {
    gap: 20px;
  }

.sell-commission-row {
  gap: 4px;
}
.sell-advantage-note {
  margin: 0;
}

}