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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Proxima Nova", "Segoe UI", Arial, sans-serif;
  color: #3b3b3b;
  background: #fff;
  font-size: 16px;
  line-height: 1.42;
}

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

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.header-wrap {
  border-bottom: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  font-size: 12px;
  padding-top: 4px;
}

.header-left,
.header-right {
  width: 40%;
}

.header-center {
  width: 20%;
  text-align: center;
}

.header-right {
  text-align: right;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 35px;
}

.headerLogo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 6px 0;
}

.headerLogo-main {
  font-family: "Montserrat", "Proxima Nova", "Segoe UI", Arial, sans-serif;
  font-size: 34px;
  letter-spacing: 0.08em;
  font-weight: 550;
}

.headerLogo-sub {
  font-family: "Montserrat", "Proxima Nova", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 700;
  margin-top: 2px;
}

.menu {
  border-top: none;
  border-bottom: 1px solid #ddd;
}

.menu-show,
.bmenu-show {
  border: 1px solid #9e9e9e;
  background: #fff;
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 12px;
  cursor: pointer;
}

.bmenu-show {
  margin: 0;
  min-width: 320px;
  text-align: center;
}

.icn-book-bold::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2217%22%20viewBox%3D%220%200%2024%2017%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M23.5188%201.42774H21.9382V0.896565C21.9467%200.686326%2021.8086%200.49738%2021.6035%200.438653C20.5094%200.156235%2019.3827%200.0146257%2018.2516%200.0173732C16.3921%200.0173732%2013.8584%200.429495%2011.9849%202.30694C10.1253%200.411178%207.57307%200.0173732%205.71816%200.0173732C4.58708%200.0146257%203.46042%200.156235%202.3663%200.438653C2.16116%200.49738%202.02309%200.686326%202.03157%200.896565V1.42316H0.464891C0.208155%201.42316%200%201.62819%200%201.88108V16.5068C0%2016.7597%200.208155%2016.9647%200.464891%2016.9647C0.544736%2016.9645%200.623186%2016.944%200.692688%2016.9052L0.698494%2016.9022C0.889237%2016.8028%205.4925%2014.4034%2011.878%2015.9894H11.9895C12.0266%2015.9938%2012.064%2015.9938%2012.1011%2015.9894C18.6096%2014.3638%2023.2585%2016.864%2023.2864%2016.9052C23.4302%2016.987%2023.6075%2016.987%2023.7513%2016.9052C23.8942%2016.8239%2023.9827%2016.674%2023.9837%2016.5114V1.88566C23.9837%201.63277%2023.7756%201.42774%2023.5188%201.42774ZM0.929782%2015.7787V2.34357H2.04087V13.828C2.03797%2014.0809%202.24374%2014.2882%202.50047%2014.2911C2.52558%2014.2914%202.55068%2014.2896%202.5755%2014.2859C3.53724%2014.1413%204.50822%2014.0648%205.48107%2014.057C6.82867%2014.034%208.17063%2014.2336%209.45123%2014.6477C6.55932%2014.3032%203.62598%2014.6926%200.929782%2015.7787ZM2.95206%2013.306C3.7909%2013.2011%204.63549%2013.1476%205.48107%2013.1457C8.67022%2013.1457%2010.5577%2013.9837%2011.5246%2014.6065L11.5107%203.19986C9.84639%201.3499%207.44755%200.956094%205.70886%200.956094C4.78152%200.958326%203.8572%201.0597%202.95206%201.25832V13.306ZM12.4544%203.19986C14.1187%201.36822%2016.5176%200.956094%2018.2563%200.956094C19.1836%200.958784%2020.1079%201.0601%2021.0131%201.25832V13.306C20.1789%2013.2002%2019.339%2013.1451%2018.498%2013.1411C15.3275%2013.1411%2013.4354%2013.9791%2012.4544%2014.6019V3.19986ZM14.5092%2014.6477C17.4073%2014.3002%2020.3474%2014.6896%2023.0493%2015.7787L23.0679%202.34357H21.9568V13.8234C21.9571%2013.8482%2021.9554%2013.8729%2021.9516%2013.8973C21.913%2014.1473%2021.676%2014.3193%2021.4222%2014.2813C20.4542%2014.1373%2019.477%2014.0624%2018.498%2014.057C17.1443%2014.0324%2015.7959%2014.2321%2014.5092%2014.6477Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;
}

.menu-show {
  display: none;
  margin: 10px auto;
  width: 100%;
  max-width: 400px;
}

.bmenu-content {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  background: #fff;
  padding: 22px;
  box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.2);
  z-index: 20;
  text-align: left;
}

.messenger-links {
  display: flex;
  gap: 8px;
}

.ss-btn {
  padding: 6px 8px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  font-size: 13px;
}

.navbar {
  min-height: 38px;
}

.navbar-collapse {
  display: block;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 12px;
}

.navItem {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  white-space: nowrap;
}

.navItem a {
  display: block;
  padding: 12px 10px 10px;
}

.navItem:hover {
  border-bottom-color: #000;
}

.navItem.red-text a {
  color: #d90000;
}

.main_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.col-left {
  float: left;
  width: 55%;
  padding-right: 5%;
  text-align: center;
  min-width: 300px;
}

.col-right {
  float: left;
  width: 45%;
  min-width: 280px;
}

.line_1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
}

.line_2 {
  font-size: 26px;
  line-height: 40px;
}

.cashback {
  color: #d90000;
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 12px;
}

.plus {
  display: inline-block;
  line-height: 60px;
  font-size: 50px;
  font-weight: 700;
  color: #d90000;
  transform: translateX(-1px);
}

.img {
  text-align: center;
  margin-bottom: 15px;
}

.img-placeholder {
    width: 100%;
    max-width: 1121px;
    height:  400px;
    min-height: 300px;
    margin: 0 auto;
    border: 0px;
    background-color: transparent;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0;
}

.desc {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
}

#form_box {
  padding: 15px;
}

.desc_action {
  margin: 15px 0 10px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 12px;
}

.control-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.reg-form input,
.reg-form select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 6px 10px;
  font-size: 18px;
  color: #555;
  background: #fff;
  border: none;
  border-bottom: 1px solid #9e9e9e;
  border-radius: 0;
}

.reg-form input:focus,
.reg-form select:focus {
  outline: none;
  border-bottom-color: #222b45;
}

.note-block {
  color: #575757;
  font-size: 14px;
}

.btn {
  width: 100%;
  height: 50px;
  background: #222b45;
  border: 1px solid #222b45;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover {
  background: #102694;
}

.messages {
  margin-bottom: 12px;
}

.message {
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
}

.message.success {
  background: #e9f8ed;
  color: #12642c;
}

.message.error {
  background: #ffecec;
  color: #8b1717;
}

.error-list p {
  margin: 0 0 4px;
  color: #d90000;
  font-size: 14px;
}

.field-error {
  margin: 4px 0 0;
  color: #d90000;
  font-size: 14px;
}

.desc_form {
  font-size: 12px;
  margin-top: 30px;
  opacity: 0.75;
  line-height: 1.5;
}

.desc_form a {
  text-decoration: underline;
}

.contacts {
  margin: 10px auto;
  text-align: center;
}

.contacts a {
  display: inline-block;
  margin: 0 10px;
}

.social-icon {
  display: inline-block;
}

.social-icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.copy {
  line-height: 1.5rem;
  font-size: 12px;
  text-align: center;
  margin-bottom: 12px;
}

/* ========== НОУТБУКИ (1025px - 1200px) ========== */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .main_wrapper {
    max-width: 95%;
    padding: 40px 15px;
  }

  .col-left {
    width: 55%;
    padding-right: 4%;
  }

  .col-right {
    width: 42%;
  }

  .header-center {
    width: 28%;
  }

  .header-left,
  .header-right {
    width: 36%;
  }

  .line_1 {
    font-size: 38px;
  }

  .line_2 {
    font-size: 22px;
    line-height: 32px;
  }

  .cashback {
    font-size: 28px;
  }
}

/* ========== ПЛАНШЕТЫ И МАЛЕНЬКИЕ НОУТБУКИ (768px - 1024px) ========== */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .main_wrapper {
    max-width: 95%;
    padding: 35px 20px;
  }

  .col-left {
    width: 55%;
    padding-right: 4%;
  }

  .col-right {
    width: 42%;
  }

  .header-center {
    width: 30%;
  }

  .header-left,
  .header-right {
    width: 35%;
  }

  .line_1 {
    font-size: 34px;
  }

  .line_2 {
    font-size: 20px;
    line-height: 30px;
  }

  .cashback {
    font-size: 26px;
  }

  .plus {
    font-size: 42px;
    line-height: 50px;
  }

  .desc {
    font-size: 16px;
  }
}

/* ========== ПЕРЕХОД НА МОБИЛЬНУЮ ВЕРСИЮ (до 900px) ========== */
@media screen and (max-width: 900px) {
  .menu-show {
    display: block;
  }

  .navbar-collapse {
    display: none;
  }

  .navbar-collapse.is-open {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
  }

  .navItem {
    text-align: left;
    border-bottom: 1px solid #efefef;
    white-space: normal;
  }

  .navItem a {
    padding: 10px 15px;
  }
}

/* ========== МОБИЛЬНЫЕ УСТРОЙСТВА (до 768px) ========== */
@media screen and (max-width: 768px) {
  /* Шапка */
  .header {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    text-align: center;
  }

  .header-right {
    justify-content: center;
    padding-right: 0;
  }

  .bmenu-content {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 260px;
  }

  /* Основной контент */
  .main_wrapper {
    width: 100%;
    max-width: 100%;
    padding: 30px 15px;
  }

  .col-right,
  .col-left {
    float: none;
    width: 100%;
    min-width: auto;
  }

  .col-left {
    padding: 0 0 30px;
  }

  /* Текст */
  .line_1 {
    font-size: 28px;
  }

  .line_2 {
    font-size: 20px;
    line-height: 1.35;
  }

  .cashback {
    font-size: 24px;
  }

  .plus {
    font-size: 38px;
    line-height: 46px;
  }

  .desc {
    font-size: 15px;
  }

  /* Форма */
  .desc_action {
    font-size: 15px;
  }

  .btn {
    font-size: 16px;
    height: 48px;
  }

  .reg-form input,
  .reg-form select {
    font-size: 16px;
    height: 42px;
  }

  #form_box {
    padding: 10px 0;
  }
}

/* ========== МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) ========== */
@media screen and (max-width: 480px) {
  .main_wrapper {
    padding: 20px 12px;
  }

  .line_1 {
    font-size: 24px;
  }

  .line_2 {
    font-size: 18px;
  }

  .cashback {
    font-size: 22px;
  }

  .plus {
    font-size: 34px;
    line-height: 42px;
  }

  .desc {
    font-size: 14px;
  }

  .btn {
    font-size: 15px;
    height: 45px;
  }

  .reg-form input,
  .reg-form select {
    font-size: 15px;
    height: 38px;
  }

  .desc_form {
    font-size: 10px;
    margin-top: 20px;
  }

  .contacts a {
    margin: 0 6px;
  }

  .social-icon img {
    width: 28px;
    height: 28px;
  }

  .copy {
    font-size: 10px;
  }

  .bmenu-show {
    min-width: auto;
    width: auto;
    padding: 6px 10px;
    font-size: 12px;
  }

  .menu-show {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* ========== ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 360px) ========== */
@media screen and (max-width: 360px) {
  .line_1 {
    font-size: 20px;
  }

  .line_2 {
    font-size: 16px;
  }

  .cashback {
    font-size: 20px;
  }

  .plus {
    font-size: 30px;
    line-height: 38px;
  }

  .desc {
    font-size: 13px;
  }

  .btn {
    font-size: 14px;
    height: 42px;
  }
}

/* ========== ИЗОБРАЖЕНИЕ - оптимизация для всех устройств ========== */
.img-placeholder {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Для экранов, где изображение может быть слишком высоким - ограничиваем высоту */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .img-placeholder {
    max-height: 550px;
  }
}

@media screen and (max-width: 768px) {
  .img-placeholder {
    max-height: 450px;
  }
}

@media screen and (max-width: 480px) {
  .img-placeholder {
    max-height: 350px;
  }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ ФИКСЫ ========== */
button {
  background: none;
  border: none;
}

button:focus {
  outline: none;
}

/* Для горизонтальной ориентации на телефонах */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .main_wrapper {
    padding: 20px 15px;
  }
  
  .col-left {
    padding: 0 0 20px;
  }
  
  .img-placeholder {
    max-height: 300px;
  }
  
  .line_1 {
    font-size: 24px;
  }
  
  .line_2 {
    font-size: 18px;
  }
}