:root {
    --font-family: "Montserrat", sans-serif;
    --second-family: "Inter", sans-serif;
}

:focus {
    outline: 0;
}

* {
    zoom: 1;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
	font-family: var(--second-family);
    color: #ffffff;
    font-size: 16px;
    background-color: #0E0E11;
    margin: 0;
    padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

a:link, a:visited {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    text-decoration: none;
    color: #ffffff;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.clearfix {
    clear: both;
}

/* Контейнер и центрирование */
#container {
  overflow-x: hidden;  
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  background-image: url('../images/main.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  width: 1920px;
  max-width: 100%;
  margin: 0 auto;
}
.center {
    width: 1670px;
    margin: 0 auto;
    position: relative;
	padding: 0 20px;
	max-width: 100%;
}
.inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
}

.top {
}
.top .inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 0;
}

.contacts {
  display: flex;
  column-gap: 36px;
  font-size: 20px;
}

/* Hero */
.hero {
  padding: 60px 0;
}
.hero .inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 992px) {
  .hero .inner {
    flex-direction: row;
    align-items: center;
	justify-content: space-between;
  }
  .hero .left {
    flex: 1;
    max-width: 600px;
  }
  .hero .right {
    width: 666px;
	max-width: 100%;
  }
}
.pre {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 50px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.2;
  font-family: var(--font-family);
}
.hero .text ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 72px;
}
.hero .text li{
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
}
.hero .text li::before {
  content: '';
  border: 2px solid #08438f;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.hero .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.button1,
.button2,
form button,
.form button {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 20px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  justify-content: center;
}
form button,.form button{
	border: none;
}
form input[type=submit],.form input[type=submit],.form input[type=button] {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 20px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  justify-content: center;
}
form input[type=submit],.form input[type=submit],.form input[type=button]{
	border: none;
}
.button1,
form button,
.form button {
  background-color: #08438f;
  color: white;
}
form input[type=submit],.form input[type=submit],.form input[type=button] {
  background-color: #08438f;
  color: white;
}
.button1:hover,
form button:hover,
.form button:hover {
  background-color: #00267a;
}
form input[type=submit]:hover,.form input[type=submit]:hover,.form input[type=button]:hover {
  background-color: #00267a;
}
form .button-wrapper p,.form .button-wrapper p{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

form .button-wrapper + .aform,.form .button-wrapper + .aform{
	margin-top: 10px;
}

.button2 {
  background-color: transparent;
  color: white;
  border: 1px solid #fff;
}
.button2:hover {
  background-color: #1fa153;
}

/* Форма */
.form {
  border-radius: 12px;
  padding: 60px;
  background: #0e0e11;
  max-width: 100%;
  text-align: center;
}
.form .title {
font-family: var(--font-family);
font-weight: 700;
font-size: 36px;
line-height: 130%;
text-align: center;
color: #fff;
  margin-bottom: 12px;
}
.form .atitle {
font-family: var(--second-family);
font-weight: 400;
font-size: 16px;
line-height: 140%;
text-align: center;
color: #fff;
  margin-bottom: 36px;
}
.input-wrapper {
  margin-bottom: 24px;
}
.input-wrapper input {
  width: 100%;
  padding: 19px 24px;
  border: 2px solid #2c2d30;
  font-family: var(--second-family);
font-weight: 400;
font-size: 16px;
line-height: 140%;
color: #888;
background: #1c1d21;
border-radius: 12px;
}
.input-wrapper input:focus {
  outline: none;
  border-color: #0033a0;
}
.aform {
font-family: var(--second-family);
font-weight: 400;
font-size: 12px;
line-height: 140%;
text-align: center;
color: #888;
margin-top: 36px;
}
.aform a {
color: #888;
  text-decoration: underline;
}

/* Заголовки секций */
.section_title {
font-family: var(--font-family);
font-weight: 700;
font-size: 36px;
line-height: 130%;
text-align: center;
  margin-bottom: 90px;
}
.section_atitle {
	margin-top: -88px;
  font-size: 20px;
  text-align: center;
  margin-bottom: 60px;
}

/* Why, instock, podbor, tasks — карточки */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
}
.item {
  border-radius: 18px;
  padding: 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex: 1 1 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #1c1d21;
}
@media (min-width: 768px) {
  .why .item { flex-basis: calc(33.333% - 16px); }
  .instock .item { flex-basis: calc(33.333% - 16px); }
  .podbor .item { flex-basis: calc(25% - 18px); }
  .tasks .item { flex-basis: calc(33.333% - 16px); }
  .faq .item { flex-basis: 100%; }
}


.why .ico,
.instock .ico,
.podbor .ico,
.tasks .ico {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2c2d30;
  padding: 24px;
  height: 84px;
  border-radius: 16px;
  margin: 0 auto;
}
.why .ico img,
.instock .ico img,
.podbor .ico img {
  width: 32px;
}
.tasks .ico {
  font-size: 24px;
  font-weight: bold;
}
.item .title {
  font-weight: 700;
  font-size: 18px;
  text-align: center;
}
.item .text,
.item .atitle {
  text-align: center;
}

/* instock — лево/право */
.instock .item {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.instock .ico {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.instock .right {
  flex: 1;
}
.instock .title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.instock .atitle {
  font-size: 14px;
}

.instock .buttons{
	text-align: center;
	display: flex;
	justify-content: center;
}

.instock .buttons a.button1{
	flex-basis: 100%;
}	

@media (min-width: 768px) {
	.instock .buttons a.button1{
		flex-basis: calc(33.333% - 16px);
	}	
}

/* podbor — иконка с номером */
.podbor .ico {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.podbor .ico img {
  width: 40px;
}
.podbor .num {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0e0e11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
font-weight: 700;
font-size: 20px;
line-height: 140%;
text-align: center;
color: #fff;
}

.podbor .item{
	background: none;
	position: relative;
}

.podbor .item::after{
	z-index: -1;
	height: 0px;
	content: '';
	position: absolute;
	top: 100px;
	right: -10px;
	left: -15px;
	border-bottom: 3px dotted #2c2d30;
}

.podbor .item:first-child::after{
	left: 50%;
}

.podbor .item:last-child::after{
	right: 50%;
}



.podbor .buttons{
	text-align: center;
	display: flex;
	justify-content: center;
}

.podbor .buttons a.button1{
	flex-basis: 100%;
}	

@media (min-width: 768px) {
	.podbor .buttons a.button1{
		flex-basis: calc(33.333% - 16px);
	}	
}

/* spec — двухколоночный блок */
.spec .wrapper {
  flex-direction: column;
  gap: 40px;
}

.spec .left{
	display: flex;
	gap: 20px;
	flex-direction: column;
}
@media (min-width: 992px) {
  .spec .wrapper {
    flex-direction: row;
    gap: 60px;
  }
  .spec .left {
    flex: 1;
  }
  .spec .right {
    flex: 2;
  }
}
.spec .left .item {
  flex-direction: row;
  gap: 30px;
  align-items: center;
  background: #1c1d21;
  text-align:left;
}


.spec .left .item .ico{
	background: #2c2d30;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec .r {
  flex: 1;
}
.spec .r .title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
  text-align: left;
}
.spec .r .text {
  text-align: left;
}
.spec .right .image {
  margin-bottom: 24px;
}
.spec .right h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 25px;
}
.spec .right p {
  margin-bottom: 16px;
}
.spec .right ul {
  margin-left: 20px;
  margin-bottom: 20px;
}
.spec .right li {
  margin-bottom: 10px;
  position: relative;
}
.spec .right li::before {
  content: '•';
  color: #0033a0;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

/* tasks — особый стиль */
.tasks .wrapper{
	gap: 20px;
}
.tasks .item {
  background: none;
  display: flex;
  gap: 20px;
  flex-direction: column;
  padding: 0;
}
.tasks .t {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: #1c1d21;
  width: 100%;
	border-radius: 18px;
	padding: 60px;  
	text-align: center;
}

.tasks .t .ico{
	background: #2c2d30;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  
}

.tasks .t .title {
  font-size: 20px;
}
.tasks .c {
  font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 120%;
color: #fff;
  padding: 24px 36px;
  border-radius: 12px;
  text-align: center;
  background: #088f31;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.tasks .b {
  font-size: 14px;
  border-radius: 18px;
padding: 60px;
background: #1c1d21;
font-family: var(--second-family);
font-weight: 400;
font-size: 16px;
line-height: 140%;
text-align: center;
color: #fff;
}

.why.trust .item{
	flex-direction: row;
	align-items: center;
}
.why.trust .item .title{
	text-align: left;
}
.why.trust .item .text{
	text-align: left;
}
.why.trust .ico{
	font-family: var(--font-family);
font-weight: 700;
font-size: 36px;
line-height: 130%;
text-align: center;
color: #fff;
margin: 0;
}

.why.trust .right{
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 12px;
}

/* original — таблица на flex */
.table {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #2c2d30;
  border-radius: 12px;
  overflow: hidden;
}
.table .thead{
	background: #08438f;
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 20px;
	line-height: 130%;
	color: #fff;
}

.table .thead .td{
	flex: 1;
	border-radius: 24px 0 0 0;
	padding: 24px;
	border-right: 2px solid #2c2d30;
}

.table .thead .td:last-child{
	border-right: none;
}

.tr {
  display: flex;
}

.table .tr .td:not(:first-child){
	text-align: center;
}

.table .tbody .tr .td{
	border-right: 2px solid #2c2d30;
	border-bottom: 2px solid #2c2d30;
}
.table .tbody .tr .td:last-child{
	border-right: none;
}
.table .tbody .tr:last-child {
  border-bottom: none;
}

.table .tbody .tr .td:nth-child(2){
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	text-align: center;
}

.table .tbody .tr .td:nth-child(3){
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	text-align: center;
}

.table .tbody .tr .td:nth-child(2)::before{
	content: '';
	background-image: url('../images/ok2.svg');
	background-size: 100% 100%;
	width: 24px;
	height: 24px;
	display: block;
}

.table .tbody .tr:nth-child(2n+2){
	background: #1c1d21;
}
.table .tbody .tr .td:nth-child(3)::before{
	content: '';
	background-image: url('../images/notok.svg');
	background-size: 100% 100%;
	width: 24px;
	height: 24px;
	display: block;
}

.table .tbody .td {
  flex: 1;
  padding: 16px;
  text-align: center;
}
.table .tbody .td {
  font-family: var(--second-family);
font-weight: 400;
font-size: 16px;
line-height: 130%;
color: #fff;
}

/* faq */
.faq{
	background-image: url('../images/botimg.png');
	background-position: center center;
	background-size: cover;
}
.faq .wrapper {
  flex-direction: column;
  gap: 40px;
}

.faq .form{
	background: #0e0e11;
}
@media (min-width: 992px) {
  .faq .wrapper {
    flex-direction: row;
    gap: 60px;
  }
  .faq .left {
    flex: 1;
  }
  .faq .right {
    flex: 1;
  }
}
.qawrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qa .q {
border-radius: 12px;
padding: 24px 36px;	
background: #1c1d21;
display: flex;
justify-content: space-between;
align-items: center;
  font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 120%;
color: #fff;
  background: #1c1d21;
  cursor: pointer;
}

.qa .a{
	display: none;
padding: 24px 36px;	
  font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 120%;
color: #fff;
}

.qa.active .a{
	display: block;
}

/* Footer */
footer {
  padding: 40px 0;
}
footer .wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  footer .wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.col1 .logo img {
  height: 80px;
  margin-bottom: 12px;
}
.col1 .maker {
  font-size: 16px;
  opacity: 0.9;
}
.copy {
  font-size: 16px;
  opacity: 0.8;
}
footer .contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
footer .location {
}

/* Адаптивность — мобильный */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 26px;
  }
  .button1,
  .button2 {
    flex: 1;
  }
  .instock .item,
  .spec .left .item {
    flex-direction: column;
    text-align: center;
  }
  .instock .right,
  .spec .r {
    text-align: center;
  }
  .spec .right h3,
  .spec .right p {
    text-align: left;
  }
}

.popups{
	display: none;
}

.socbtn{
	padding: 0 !important;
	border: none !important;
	background: unset !important;
}
.socbtn img{
	height: 70px;
}