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

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-family: "Proxima Nova", sans-serif;
  line-height: 1.2;
  margin: 0;
  font-size: 16px;
}

ul[class],
ol[class] {
  list-style: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

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

article > * + * {
  margin-top: 1em;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Шрифты */
@font-face {
  font-family: "Proxima Nova";
  src: url(../fonts/ProximaNova-Regular.eot);
  src: local("Proxima Nova Regular"), local("ProximaNova-Regular"),
    url("../fonts/ProximaNova-Regular.eot?#iefix") format("embedded-opentype"),
    url(../fonts/ProximaNova-Regular.woff) format("woff"),
    url(../fonts/ProximaNova-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url(../fonts/ProximaNova-Bold.eot);
  src: local("Proxima Nova Bold"), local("ProximaNova-Bold"),
    url("../fonts/ProximaNova-Bold.eot?#iefix") format("embedded-opentype"),
    url(../fonts/ProximaNova-Bold.woff) format("woff"),
    url(../fonts/ProximaNova-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url(../fonts/ProximaNova-Semibold.eot);
  src: local("Proxima Nova Semibold"), local("ProximaNova-Semibold"),
    url("../fonts/ProximaNova-Semibold.eot?#iefix") format("embedded-opentype"),
    url(../fonts/ProximaNova-Semibold.woff) format("woff"),
    url(../fonts/ProximaNova-Semibold.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url(../fonts/ProximaNova-Light.eot);
  src: local("Proxima Nova Light"), local("ProximaNova-Light"),
    url("../fonts/ProximaNova-Light.eot?#iefix") format("embedded-opentype"),
    url(../fonts/ProximaNova-Light.woff) format("woff"),
    url(../fonts/ProximaNova-Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url(../fonts/ProximaNovaT-Thin.eot);
  src: local("Proxima NovaT Thin"), local("ProximaNovaT-Thin"),
    url("../fonts/ProximaNovaT-Thin.eot?#iefix") format("embedded-opentype"),
    url(../fonts/ProximaNovaT-Thin.woff) format("woff"),
    url(../fonts/ProximaNovaT-Thin.ttf) format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Основные стили */
section {
  padding: 100px 0;
}

section .container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  background: #0055b5;
  color: #fff;
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}

h2 {
  font-size: 24px;
  margin-bottom: 30px;
}
form label {
	position:relative;
}
form label .warning {
	position:absolute;
	background:red;
	font-size:12px;
	padding:0 10px;
	bottom:0;
	right:0;
	color: #fff;
}
.flickity-page-dots .dot {
    background:#0055B5;
}
label[for=policy] {
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 5px;
    max-width:fit-content;
    padding: 5px;
}
label[for=policy] input {
    height: 22px !important;
    max-width: 22px;
    flex: 0 0 22px;
    -webkit-appearance: auto;
    margin: 0;
    padding: 0;
}
label[for=policy] input.input-error {
    -webkit-appearance: none;
}
label[for=policy] .label {
    font-size: 13px;
    line-height: 1;
    margin-top: 0 !important;
}
label[for=policy] .label a {color: #000;}
label[for=policy] .warning {
}
label[for=policy].error {
    border: 2px solid red;
}
/* Шапка страницы */
.action_head {
  display: flex;
  justify-content: space-between;
  padding: 15px;
}

.action_head .logo {
  /* Для логотипа можно добавить отступы, если потребуется */
}

/* Секция hero */
.hero {
  background: #f1f7fc;
  padding: 20px 0 60px 0;
}

.hero .container {
  display: flex;
  justify-content: space-between;
}

.hero .container .left {
  display: flex;
  flex: 0 0 679px;
  flex-wrap: wrap;
  align-content: flex-start;
}
.hero .container .left .logo {
    max-width: 200px;
}
.hero .container .left h1 {
  flex: 0 0 100%;
  font-size: 32px;
  margin: 15px 0 20px;
  font-family: Proxima Nova;
  font-style: normal;
  font-weight: bold;
  line-height: 1;
  color: #50576d;
}

.hero .container .left h2 {
  flex: 0 0 100%;
  font-size: 32px;
  margin: 80px 0 20px;
  font-family: Proxima Nova;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  color: #50576d;
}

.hero .container .left p {
  font-weight: 400;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 17px;
  line-height: 1.5;
  color: #212529;
}

.hero .container .left ul {
  margin-bottom: 60px;
  padding-left: 26px;
}

.hero .container .right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero .container .right img {
  width: 450px;
}

.hero .forma_wrap {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  padding: 70px 50px;
  z-index: 1;
  position: relative;
}

.hero .forma_wrap h2 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #212529;
  text-transform: uppercase;
}

.hero .forma_wrap form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.hero .forma_wrap form label {
  flex: 0 0 25%;
  padding-right: 20px;
}

.hero .forma_wrap form label input {
  height: 50px;
  border: none;
  border-bottom: 2px solid #0055b5;
  width: 100%;
  background: #f1f7fc;
  padding-left: 10px;
}

.hero .forma_wrap form .btn {
  flex: 0 0 22%;
}

.hero .forma_wrap form .notice {
  font-size: 12px;
  flex: 0 0 100%;
  text-align: right;
  margin-top: 10px;
  color: #212529;
}

.hero .forma_wrap form .notice a {
  color: #212529;
}

/* Секция footer */
.footer {
  background-color: #f5f7f8;
  border-top: 2px solid #ebeff2;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #8d8d8d;
}

.footer .container .left {
  flex: 0 0 210px;
}

.footer .container .right {
  display: flex;
  flex-wrap: wrap;
  text-align: right;
}

.footer .container .right a {
  color: #8d8d8d;
  flex: 0 0 100%;
}

/* Медиазапросы */
@media all and (max-width: 1390px) {
  .hero {
    padding: 100px 0 150px 0;
  }
  .action_head {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 100;
    box-shadow: 0 0 4px #000;
    width: 100%;
  }
  .action_head .logo {
    margin-right: 15px;
    display: flex;
    align-items: center;
  }
}

@media all and (max-width: 830px) {
  .hero {
    padding: 70px 74px;
  }
  h2 {
    font-size: 28px;
  }
  .hero .container .left {
    flex: 0 0 100%;
  }
  .hero .container .left p {
    font-size: 17px;
    margin-bottom: 0;
  }
  .hero .container .right {
    display: none;
  }
  form {
    flex-direction: column;
  }
  .hero .forma_wrap form .btn {
    flex: 0 0 100%;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    margin-bottom: 10px;
    font-size: 1rem;
    border-radius: 0.25rem;
    user-select: none;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
  }
  .hero .container .left h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 0;
  }
  .hero .container .left h1 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.3;
    margin: 20px 0;
  }
  .hero .forma_wrap form label {
    flex: 0 0 100%;
    margin-bottom: 20px;
    padding-right: 0;
  }
}
@media all and (max-width: 600px) {
  .hero {
    padding: 70px 0px;
  }
  section {
    padding: 50px 0;
  }
  .hero .container {
    flex-wrap: wrap;
  }
  .hero .container .left {
    flex: 0 0 100%;
    margin-bottom: 0px;
  }
  .hero .container .left p {
    font-size: 18px;
  }
  .hero .container .right img {
    max-width: 150px;
  }
  .hero .forma_wrap form .notice {
    text-align: center;
  }
  .footer .container {
    flex-wrap: wrap;
  }
  .footer .container .left {
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  .footer .container .right {
    flex: 0 0 100%;
    text-align: center;
  }
}
