/* ==========================================================================
   ПОРТАТИВНЫЙ ДУШ ПОМПОВЫЙ — ОПТИМИЗИРОВАННЫЙ CSS
   ========================================================================== */

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
  background: #535353;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  outline: none;
  border: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

::placeholder {
  color: #999;
  opacity: 1;
}

h1, h2, h3 {
  font-family: 'Bebas Neue Bold', Impact, 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}

b, strong {
  font-weight: 700;
}

/* ===== ОБЁРТКА ===== */
.wrap {
  width: 480px;
  margin: 0 auto;
  background: #fff;
}

section, footer {
  width: 100%;
  position: relative;
}

section {
  padding: 24px 0 0;
}

.separator {
  display: block;
  width: 100%;
}

.clearfix:after {
  content: '';
  display: table;
  clear: both;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.b1 {
  height: 650px;
  padding: 0;
}

.b1__header {
  background-color: #33024b;
  padding: 15px;
}

.b1__header h1 {
  color: #fff;
  font-size: 28px;
  text-align: center;
  line-height: 1.2;
  margin: 0;
}

.b1__image {
  position: relative;
  height: calc(100% - 58px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sale {
  font-family: 'Bebas Neue Bold', Impact, sans-serif;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: #ffd400;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 8px solid transparent;
  background-clip: padding-box;
  padding: 4px 0 0;
  position: absolute;
  top: 30px;
  left: 30px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sale p {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sale strong {
  font-size: 38px;
}

/* ===== БЛОК ЦЕНЫ ===== */
.b8 {
  background: #313642;
  padding: 24px 0;
}

.price_2 {
  width: 386px;
  height: 65px;
  margin: 0 auto 18px;
  background: #242628;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.price_2 .before-title {
  position: absolute;
  top: 17px;
  left: 20px;
  font-size: 14px;
  color: #fff;
  text-align: left;
  line-height: 1.2;
}

.price_2 .before-title p {
  margin: 0;
}

.price_2 .old-cost {
  width: 50%;
  height: 100%;
  float: left;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 36px;
  line-height: 65px;
  padding-left: 76px;
  text-decoration: line-through;
  color: #fff;
}

.price_2 .old-cost p {
  display: inline;
  text-decoration: line-through;
}

.price_2 .new-cost {
  width: 50%;
  height: 100%;
  float: right;
  background: #7a13aa;
  font-family: 'Bebas Neue Bold', Impact, sans-serif;
  font-size: 52px;
  line-height: 65px;
  color: #fff;
  text-align: center;
}

.price_2 .new-cost p {
  margin: 0;
}

.date_sale {
  text-align: center;
  color: #fff;
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.4;
}

/* ===== КНОПКА ===== */
.button-m {
  display: block;
  width: 386px;
  height: 63px;
  line-height: 63px;
  margin: 0 auto;
  border-radius: 4px;
  text-align: center;
  font-family: 'Bebas Neue Bold', Impact, sans-serif;
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(to bottom, #7a13aa 0%, #33024b 100%);
  box-shadow: 0 4px 0 0 #33024b;
  transition: all 0.2s;
  position: relative;
  top: 0;
}

.button-m:hover {
  top: -1px;
  box-shadow: 0 5px 0 0 #33024b;
}

.button-m:active {
  top: 1px;
  box-shadow: 0 3px 0 0 #33024b;
}

/* ===== ОПИСАНИЕ ===== */
.b2 {
  padding: 32px 0;
}

.b2 h2 {
  padding: 0 30px 20px;
  font-size: 40px;
  text-align: center;
}

.beaf {
  padding: 0 30px 20px;
}

.beaf img {
  border-radius: 8px;
  margin: 20px 0;
}

.beaf p {
  margin: 0 0 20px;
  text-align: justify;
}

.beaf a.button-m {
  margin-top: 20px;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.b4 {
  padding: 0;
}

.title_yellow {
  background-color: #33024b;
  padding: 20px 16px;
  text-align: center;
}

.title_yellow h2 {
  color: #fff;
  margin: 0;
}

.use {
  background: #373a41;
  color: #fff;
}

.use li {
  display: flex;
  min-height: 200px;
}

.use li .block {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.use li .block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use p {
  font-size: 18px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  text-align: center;
  line-height: 1.3;
}

/* ===== КАК МЫ РАБОТАЕМ ===== */
.b-advantages {
  background-color: #313642;
  padding: 32px 0;
}

.advantages {
  padding: 0 30px;
}

.advantages h2 {
  font-size: 40px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantage-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.advantage-text h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

.advantage-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d1d5db;
}

/* ===== КАК ЗАКАЗАТЬ ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 30px 20px;
}

.step-card {
  padding: 20px 12px;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e5e5e5;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #555;
  text-transform: none;
}

/* ===== ФОРМА ===== */
.m1-form {
  width: 386px;
  margin: 0 auto;
  padding-top: 10px;
}

.m1-form input.field {
  display: block;
  width: 100%;
  height: 84px;
  margin: 0 0 20px;
  padding: 0 20px;
  background: #fff;
  border-radius: 4px;
  text-align: center;
  font-size: 18px;
  color: #222;
}

.m1-form input.field:focus::placeholder {
  opacity: 0;
}

.m1-form .button-m {
  width: 100%;
  margin-bottom: 16px;
}

.lb {
  color: #fff;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  display: block;
}

.lb input {
  vertical-align: middle;
  margin-right: 4px;
}

.lb a {
  text-decoration: underline;
  color: #ffd400;
}

/* ===== ФУТЕР ===== */
.footer {
  background: #2e2f33;
  padding: 0 0 30px;
}

.footer-content {
  padding: 0 30px;
  color: #d5d5d6;
  text-align: center;
}

.footer p {
  font-size: 15px;
  padding: 15px 0;
  margin: 0;
}

.footer-delivery {
  font-weight: bold;
}

.footer-links a {
  font-size: 14px;
  text-decoration: underline;
}

.footer-links a:hover {
  color: #ffd400;
}

/* ===== ДЕСКТОП ===== */
@media (min-width: 768px) {
  body {
    padding: 20px 0;
  }

  .wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  }
}