/* Start Reset */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */
a, a:link, a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
	max-width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

/* Form */
input, textarea, button, select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

textarea {
	resize: vertical;
}

button, input[type="submit"] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type='file'] {
	max-width: 100%;
}
/* End Reset */

* {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}

body {
	background-color: #fff;
}

.wrapper {
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 15px;
}

.header__menu-a {
    padding: 10px 17px;
    border-radius: 20px;
    border: 2px solid #d9d9d9;
	font-style: italic;
	font-weight: 600;
	font-size: 27px;
	line-height: 33px;
	text-align: center;
	color: #000000;
}

.header__menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
}

.promo {
	background-image: url(img/stanki/stankibg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	min-height: 642px;
	text-align: center;
	margin-top: 32px;
	margin-bottom: 67px;
}

.promo-title {
	font-style: italic;
	font-weight: 700;
	font-size: 50px;
	color: #000000;
	padding-top: 132px;
}

.promo-text {
	font-style: italic;
	font-weight: 600;
	font-size: 30px;
	line-height: 36px;
	text-align: center;
	color: #FFFFFF;
	padding-top: 100px;
}

.promo-btn {
	display: inline-block;
	background-color: #221E1E;
	border-radius: 20px;
	font-style: italic;
	font-weight: 700;
	font-size: 30px;
	color: #FFFFFF;
	padding: 22px 51px;
	margin-top: 41px;
}

.directions-wrapper {
	padding: 0 15px;
	max-width: 1570px;
	margin: 0 auto;
}

.directions__container {
	display: flex;
	justify-content: space-between;
	text-align: center;
	flex-wrap: wrap;
	gap: 30px;
}

.direction-item {
	padding-top: 20px;
	flex: 1 1 300px;
}

.direction__title {
	font-style: italic;
	font-weight: 700;
	font-size: 50px;
	line-height: 61px;
	color: #000000;
	margin-bottom: 48px;
}

.direction-item1>.direction__title, .direction-item2>.direction__title {
	border-right: 1px solid #354A8B;
	padding-right: 93px;
}

.direction-item1>.direction__img, .direction-item2>.direction__img {
	padding-right: 93px;
}

.about-title {
	font-style: italic;
	font-weight: 500;
	font-size: 50px;
	color: #000000;
	margin-bottom: 24px;
	margin-top: 80px;
}

.aboutblock-wrapper {
	max-width: 1920px;
	padding: 0 15px;
	margin: 0 auto;
}

.aboutblock {
	display: flex;
	justify-content: space-between;
	padding: 28px 28px 30px 66px;
	background: rgba(217, 217, 217, 0.4);
	border-radius: 20px;
	margin-bottom: 16px;
	gap: 30px;
}

.aboutblock__text-title {
	font-style: italic;
	font-weight: 500;
	font-size: 50px;
	color: #000000;
	margin-bottom: 49px;
}

.aboutblock__text-text {
	font-style: italic;
	font-weight: 200;
	font-size: 35px;
	line-height: 42px;
	color: #000000;
}

.aboutblocks {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.aboutminiblock {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-style: italic;
	font-weight: 500;
	font-size: 40px;
	color: #000000;
	width: 459px;
	height: 290px;
	border-radius: 20px;
	background: rgba(217, 217, 217, 0.6);
	padding: 20px;
}

.aboutminiblock1 {
	background-image: url(img/stanki/01.png);
	background-repeat: no-repeat;
	background-position: 20px 20px;
	background-size: 50px 50px;
}

.aboutminiblock2 {
	background-image: url(img/stanki/02.png);
	background-repeat: no-repeat;
	background-position: 20px 20px;
	background-size: 50px 50px;
}

.aboutminiblock3 {
	background-image: url(img/stanki/03.png);
	background-repeat: no-repeat;
	background-position: 20px 20px;
	background-size: 50px 50px;
}

.aboutminiblock4 {
	background-image: url(img/stanki/04.png);
	background-repeat: no-repeat;
	background-position: 20px 20px;
	background-size: 50px 50px;
}

.machines {
	margin-top: 86px;
}

.machines-wrapper {
	display: flex;
	align-items: center;
	max-width: 1920px;
	padding: 0 15px;
	margin: 0 auto;
	gap: 60px;
}

.machines-title {
	font-style: italic;
	font-weight: 600;
	font-size: 50px;
	color: #000000;
	padding-left: 103px;
	flex-shrink: 0;
}

.machines-title span {
	color: #354A8B;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

.slider-section {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.slider-area {
    flex: 1;
    overflow: visible;
    position: relative;
    padding: 30px 0;
    margin: -30px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    cursor: grab;
    user-select: none;
    transition: transform 0.3s ease;
    padding: 0 30px;
}

.slider-track.dragging {
    cursor: grabbing;
    transition: none;
}

.slide {
    flex: 0 0 auto;
    width: 280px;
    height: 200px;
    border-radius: 20px;
	background: #FFFFFF;
	box-shadow: -4px -4px 15px 5px rgba(0, 0, 0, 0.25), 4px 4px 15px 5px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 5px;
}

.slide-number {
    font-size: 48px;
    font-weight: 900;
    opacity: 0.8;
}

.slide-text {
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
    color: #333;
    text-align: center;
    padding: 10px 0;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

button {
    display: flex;
    align-items: center;
	font-style: italic;
	font-weight: 500;
	font-size: 24px;
	color: #354A8B;
	padding: 9px 18px;
	border: 1px solid #354A8B;
	border-radius: 20px;
	background: transparent;
	cursor: pointer;
}

button:hover {
	background-color: #354A8B;
	color: #fff;
}

.lists {
	margin-top: 40px;
}

.lists-wrapper {
	max-width: 1570px;
	padding: 0 15px;
	margin: 0 auto;
}

.list-item {
	position: relative;
	width: 100%;
	margin-bottom: 25px;
}

.list-item:last-child {
	margin-bottom: 0;
}

.list-item__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 140px;
	cursor: pointer;
}

.list-item__li {
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	line-height: 42px;
	color: #000000;
	width: 100%;
	padding-left: 35px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-item__li.show {
    max-height: 2000px;
}

.list-item__li p::before {
	content: "";
	display: inline-block;
	border-radius: 50%;
	width: 12px;
	height: 12px;
	background-color: #D9D9D9;
	margin-right: 8px;
}

.list-item::before {
	content: "";
	position: absolute;
	border-radius: 50%;
	left: -70px;
	top: 0;
	width: 140px;
	height: 140px;
	background: rgba(53, 74, 139, 0.47);
	z-index: -1;
}

.list-item__title {
	font-style: italic;
	font-weight: 800;
	font-size: 25px;
	color: #000000;
}

.list-item__subtitle {
	font-style: italic;
	font-weight: 400;
	font-size: 16px;
	color: #000000;
}

.list-item__open img {
	width: 50px;
	height: 50px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-item__open.open img {
    transform: rotate(180deg);
}

.list-item__li p {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.list-item__li.show p {
    opacity: 1;
    transform: translateY(0);
}

.list-item__li p:nth-child(1) { transition-delay: 0.1s; }
.list-item__li p:nth-child(2) { transition-delay: 0.15s; }
.list-item__li p:nth-child(3) { transition-delay: 0.2s; }
.list-item__li p:nth-child(4) { transition-delay: 0.25s; }
.list-item__li p:nth-child(5) { transition-delay: 0.3s; }
.list-item__li p:nth-child(6) { transition-delay: 0.35s; }
.list-item__li p:nth-child(7) { transition-delay: 0.4s; }
.list-item__li p:nth-child(8) { transition-delay: 0.45s; }

.cases-wrapper {
	max-width: 1790px;
	padding: 0 15px;
	margin: 0 auto;
}

.cases-title {
	margin-top: 60px;
	margin-bottom: 30px;
	font-style: italic;
	font-weight: 600;
	font-size: 50px;
	color: #354A8B;
	text-align: center;
}

.cases__container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
}

.cases-item {
	width: 550px;
	height: 315px;
	border-radius: 20px;
	border: 1px solid #354A8B;
	text-align: center;
	overflow: hidden;
}

.cases-item__title {
	font-style: italic;
	font-weight: 500;
	font-size: 27px;
	color: #000000;
	padding: 10px;
}

.cases-item__video {
  position: relative;
  width: 100%;
  height: calc(100% - 60px);
  overflow: hidden;
}

.cases-item__video video,
.cases-item__video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0 0;
}

.contact {
	margin-top: 50px;
}

.contact-wrapper {
	max-width: 1605px;
	padding: 0 15px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 30px;
}

.contact-block {
	width: 710px;
	height: 537px;
	border: 1px solid #354a8b;
	border-radius: 20px;
	padding: 25px 35px;
}

.contact-block__title {
	font-style: normal;
	font-weight: 700;
	font-size: 57px;
	text-align: center;
	color: #354A8B;
}

.contact-block__num a, .contact-block__geo, .contact-block__mail a {
	font-style: normal;
	font-weight: 500;
	font-size: 25px;
	color: #000000;
}

.contact-block__num, .contact-block__geo, .contact-block__mail {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}

.contact-block__mail {
	margin-bottom: 0;
}

.contact-block__num img, .contact-block__geo img, .contact-block__mail img {
	margin-right: 30px;
}

.form-wrapper {
	width: 710px;
	height: 537px;
	border: 1px solid #354a8b;
	border-radius: 20px;
	padding: 120px 43px 24px 80px;
	position: relative;
}

.form-wrapper::before {
	content: "";
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	height: 68px;
	background-image: url(img/stanki/formtitle.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.rowone>label>input, .rowtwo>label>input, .rowthree>label>input {
	font-style: italic;
	font-weight: 400;
	font-size: 24px;
	letter-spacing: 0.1em;
	color: rgba(0, 0, 0, 0.69);
	outline: none;
	width: 100%;
}

.rowone {
	width: 279px;
	border-bottom: 1px solid #354A8B;
	margin-bottom: 60px;
}

.rowtwo {
	width: 379px;
	border-bottom: 1px solid #354A8B;
	margin-bottom: 60px;
}

.rowthree>label>input {
	width: 581px;
	border-bottom: 1px solid #354A8B;
	margin-bottom: 45px;
}

.form-approve {
	display: flex;
	align-items: center;
	font-style: italic;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.1em;
	color: #354A8B;
	gap: 15px;
}

.form-btn {
    font-style: italic;
    font-weight: 500;
    font-size: 27px;
    color: #354A8B;
    padding: 7px 105px;
    border: 1px solid #354a8b;
    border-radius: 20px;
    display: block;
    margin: 40px auto 0;
    width: fit-content;
    transition: all 0.3s ease;
    text-align: center;
}

.form-btn:hover {
    background-color: #354A8B;
    color: white;
}

#sign {
	width: 60px;
    height: 33px;
    border: 1px solid #354A8B;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

#sign::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 20px;
    height: 10px;
    border-left: 2px solid #354A8B;
    border-bottom: 2px solid #354A8B;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#sign:checked {
    background-color: transparent;
}

#sign:checked::after {
    opacity: 1;
}

.aboutblocks {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}

.aboutminiblock {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-style: italic;
	font-weight: 500;
	font-size: 40px;
	color: #000000;
	width: calc(25% - 15px);
	min-width: 280px;
	flex: 1 1 280px;
	height: 290px;
	border-radius: 20px;
	background: rgba(217, 217, 217, 0.6);
	padding: 20px 20px 20px 80px;
	background-repeat: no-repeat;
	background-position: 25px center;
	background-size: 50px 50px;
	box-sizing: border-box;
}

.aboutminiblock-text {
	width: 100%;
	line-height: 1.3;
}

.aboutminiblock1 {
	background-image: url(img/stanki/01.png);
}

.aboutminiblock2 {
	background-image: url(img/stanki/02.png);
}

.aboutminiblock3 {
	background-image: url(img/stanki/03.png);
}

.aboutminiblock4 {
	background-image: url(img/stanki/04.png);
}

@media screen and (max-width: 1740px){
    .aboutminiblock-text{
        line-height: auto;
    }
    .aboutminiblock{
        font-size: 26px;
    }
}

@media screen and (max-width: 1450px){
    .aboutblock-wrapper{
        max-width: 1280px;
    }
    .about-title{
        text-align: center;
    }
    .aboutblock{
        text-align: center;
        flex-direction: column;
    }
    .aboutblock__img{
        max-width: 60%;
        margin: 0 auto;
    }
    .aboutblock__text-title{
        margin-bottom: 15px;
    }
    .aboutblocks{
        flex-direction: column;
    }
    .aboutminiblock{
        background-size: auto;
        min-width: 100%;
    }
}

/* Адаптивность */
@media screen and (max-width: 1400px) {
	.machines-wrapper {
		flex-direction: column;
		align-items: flex-start;
	}
	.machines-title {
		margin: 0 auto;
		text-align: center;
	}
}

@media screen and (max-width: 1200px) {
	.header__menu {
		flex-wrap: wrap;
		gap: 20px;
		justify-content: center;
	}
	
	.header__menu-a {
		width: 100%;
		text-align: center;
	}
	
	.directions__container {
		justify-content: center;
	}
	
	.direction-item1>.direction__title, 
	.direction-item2>.direction__title,
	.direction-item1>.direction__img, 
	.direction-item2>.direction__img {
		border-right: none;
		padding-right: 0;
	}
	
	.aboutblock {
		flex-direction: column;
		padding: 20px;
	}
	
	.aboutblocks {
		justify-content: center;
	}
	
	.contact-wrapper {
		flex-direction: column;
		align-items: center;
	}
	
	.contact-block,
	.form-wrapper {
		width: 100%;
		max-width: 710px;
		height: auto;
		min-height: 537px;
	}
}

@media screen and (max-width: 992px) {
	.promo-title {
		font-size: 40px;
		padding-top: 80px;
	}
	
	.promo-text {
		font-size: 24px;
		line-height: 30px;
		padding-top: 50px;
	}
	
	.promo-btn {
		font-size: 24px;
		padding: 18px 40px;
	}
	
	.direction__title {
		font-size: 40px;
		line-height: 48px;
	}
	
	.about-title,
	.aboutblock__text-title {
		font-size: 40px;
	}
	
	.aboutblock__text-text {
		font-size: 28px;
		line-height: 34px;
	}
	
	.aboutminiblock {
		width: 100%;
		max-width: 459px;
		height: 250px;
		font-size: 32px;
	}
	
	.machines-title {
		font-size: 40px;
	}
	
	.cases-title {
		font-size: 40px;
	}
	
	.cases-item {
		width: 100%;
		max-width: 550px;
		height: auto;
		min-height: 315px;
	}
}

@media screen and (max-width: 768px) {
	.header__menu-a {
		font-size: 22px;
		line-height: 28px;
	}
	
	.promo {
		min-height: 500px;
	}
	
	.promo-title {
		font-size: 32px;
		padding-top: 60px;
	}
	
	.promo-text {
		font-size: 20px;
		line-height: 26px;
		padding-top: 30px;
	}
	
	.promo-btn {
		font-size: 20px;
		padding: 15px 30px;
		margin-top: 30px;
	}
	
	.direction__title {
		font-size: 32px;
		line-height: 40px;
		margin-bottom: 30px;
	}
	
	.about-title,
	.aboutblock__text-title {
		font-size: 32px;
		margin-bottom: 30px;
	}
	
	.aboutblock__text-text {
		font-size: 22px;
		line-height: 28px;
	}
	
	.aboutminiblock {
		height: 200px;
		font-size: 26px;
		background-position: 15px 15px;
		background-size: 40px 40px;
	}
	
	.machines-title {
		font-size: 32px;
	}
	
	.list-item__row {
		min-height: 100px;
	}
	
	.list-item__title {
		font-size: 22px;
	}
	
	.list-item__subtitle {
		font-size: 14px;
	}
	
	.list-item__li {
		font-size: 16px;
		line-height: 30px;
	}
	
	.cases-title {
		font-size: 32px;
	}
	
	.cases-item__title {
		font-size: 22px;
	}
	
	.contact-block__title {
		font-size: 40px;
	}
	
	.contact-block__num a, 
	.contact-block__geo, 
	.contact-block__mail a {
		font-size: 20px;
	}
	
	.form-wrapper {
		padding: 100px 20px 20px 30px;
	}
	
	.rowone,
	.rowtwo,
	.rowthree>label>input {
		width: 100%;
	}
	
	.form-btn {
		font-size: 22px;
		padding: 7px 60px;
	}
}

/* Специально для размера около 600px */
@media screen and (max-width: 600px) {
    .list-item {
        margin-bottom: 15px;
    }
    
    .list-item__row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: auto;
        padding: 10px 0;
        gap: 15px;
    }
    
    .list-item__row-text {
        flex: 1;
        min-width: 0; /* Для корректного переноса текста */
    }
    
    .list-item__title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 4px;
        font-weight: 800;
        white-space: normal;
    }
    
    .list-item__subtitle {
        font-size: 13px;
        line-height: 16px;
        color: #333;
        max-width: 100%;
        white-space: normal;
        display: block;
    }
    
    .list-item__open {
        flex-shrink: 0;
        margin-left: auto;
    }
    
    .list-item__open img {
        width: 35px;
        height: 35px;
    }
    
    .list-item::before {
        width: 80px;
        height: 80px;
        left: -40px;
        top: 0;
    }
    
    .list-item__li {
        font-size: 15px;
        line-height: 26px;
        padding-left: 15px;
    }
    
    .list-item__li p {
        margin-bottom: 12px;
    }
    
    .list-item__li p::before {
        width: 6px;
        height: 6px;
        margin-right: 6px;
        margin-bottom: 3px;
    }
    
    /* Заголовки секций */
    .cases-title {
        font-size: 28px;
        margin-top: 35px;
        margin-bottom: 20px;
    }
    
    .machines-title {
        font-size: 28px;
        padding-left: 0;
        margin-bottom: 15px;
    }
    
    .about-title {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    
    .aboutblock__text-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .aboutblock__text-text {
        font-size: 16px;
        line-height: 24px;
    }
    
    .aboutblocks {
        gap: 15px;
    }
    
    .aboutminiblock {
        width: 100%;
        height: auto;
        min-height: 120px;
        font-size: 20px;
        padding: 15px 15px 15px 60px;
        text-align: left;
        background-position: 15px center;
        background-size: 35px 35px;
        display: flex;
        align-items: center;
    }
    
    .aboutminiblock-text {
        width: 100%;
        line-height: 1.3;
    }
    
    .direction__title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 15px;
    }
    
    .direction-item {
        width: 100%;
        max-width: 100%;
    }
    
    .direction-item1>.direction__title, 
    .direction-item2>.direction__title,
    .direction-item1>.direction__img, 
    .direction-item2>.direction__img {
        border-right: none;
        padding-right: 0;
    }
    
    .direction__img {
        max-width: 100%;
        height: auto;
    }
    
    /* Кейсы */
    .cases__container {
        gap: 15px;
    }
    
    .cases-item {
        width: 100%;
        height: auto;
        min-height: 250px;
    }
    
    .cases-item__title {
        font-size: 18px;
        line-height: 24px;
        padding: 10px;
    }
    
    .cases-item__video {
        height: 160px;
    }
    
    /* Контакты и форма */
    .contact-block {
        padding: 20px 15px;
        height: auto;
    }
    
    .contact-block__title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .contact-block__num, 
    .contact-block__geo, 
    .contact-block__mail {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .contact-block__num img, 
    .contact-block__geo img, 
    .contact-block__mail img {
        margin-right: 0;
        width: 25px;
        height: 25px;
    }
    
    .contact-block__num a, 
    .contact-block__geo, 
    .contact-block__mail a {
        font-size: 16px;
        line-height: 22px;
        word-break: break-word;
    }
    
    .form-wrapper {
        padding: 80px 20px 20px 20px;
        height: auto;
    }
    
    .form-wrapper::before {
        height: 45px;
        background-size: contain;
    }
    
    .rowone,
    .rowtwo,
    .rowthree>label>input {
        width: 100%;
        margin-bottom: 25px;
    }
    
    .rowone input,
    .rowtwo input,
    .rowthree input {
        font-size: 16px;
        width: 100%;
    }
    
    .form-approve {
        font-size: 10px;
        gap: 8px;
        align-items: center;
    }
    
    #sign {
        width: 30px;
        height: 25px;
    }
    
    .form-btn {
        font-size: 20px;
        padding: 7px 35px;
        margin-top: 25px;
    }
    
    /* Слайдер */
    .machines-wrapper {
        gap: 20px;
    }
    
    .slider-track {
        padding: 0 10px;
        gap: 10px;
    }
    
    .slide {
        width: 200px;
        height: 150px;
    }
    
    .controls {
        margin-top: 15px;
        gap: 15px;
    }
    
    button {
        font-size: 18px;
        padding: 6px 12px;
    }
    
    /* Промо блок */
    .promo {
        min-height: 400px;
        margin-bottom: 35px;
    }
    
    .promo-title {
        font-size: 24px;
        padding-top: 40px;
    }
    
    .promo-text {
        font-size: 16px;
        line-height: 22px;
        padding-top: 25px;
    }
    
    .promo-text br {
        display: none;
    }
    
    .promo-btn {
        font-size: 18px;
        padding: 10px 25px;
        margin-top: 25px;
    }
    
    /* Общие отступы */
    .wrapper,
    .directions-wrapper,
    .aboutblock-wrapper,
    .lists-wrapper,
    .cases-wrapper,
    .contact-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .list-item__title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .list-item__subtitle {
        font-size: 12px;
        line-height: 15px;
    }
    
    .list-item__open img {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 400px) {
    .list-item__row {
        gap: 8px;
    }
    
    .list-item__title {
        font-size: 16px;
        line-height: 20px;
    }
    
    .list-item__subtitle {
        font-size: 11px;
        line-height: 14px;
    }
    
    .list-item__open img {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 576px) {
	.header__menu-a {
		font-size: 18px;
		line-height: 24px;
	}
	
	.promo-title {
		font-size: 28px;
		padding-top: 40px;
	}
	
	.promo-text {
		font-size: 18px;
		line-height: 24px;
	}
	
	.promo-btn {
		font-size: 18px;
		padding: 12px 25px;
	}
	
	.direction__title {
		font-size: 28px;
		line-height: 36px;
	}
	
	.about-title,
	.aboutblock__text-title {
		font-size: 28px;
	}
	
	.aboutblock__text-text {
		font-size: 18px;
		line-height: 24px;
	}
	
	.aboutminiblock {
		height: 150px;
		font-size: 20px;
		background-position: 10px 10px;
		background-size: 30px 30px;
	}
	
	.machines-title {
		font-size: 28px;
	}
	
	.slide {
		width: 240px;
		height: 180px;
	}
	
	.list-item__row {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
	
	.list-item__li {
		padding-left: 0;
	}
	
	.cases-title {
		font-size: 28px;
	}
	
	.cases-item__title {
		font-size: 20px;
	}
	
	.contact-block {
		padding: 20px 15px;
	}
	
	.contact-block__title {
		font-size: 32px;
	}
	
	.contact-block__num, 
	.contact-block__geo, 
	.contact-block__mail {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
	
	.contact-block__num img, 
	.contact-block__geo img, 
	.contact-block__mail img {
		margin-right: 0;
	}
	
	.form-approve {
		font-size: 11px;
	}
	
	#sign {
		width: 40px;
		height: 28px;
	}
}

@media screen and (max-width: 375px) {
	.promo-title {
		font-size: 24px;
	}
	
	.promo-text {
		font-size: 16px;
		line-height: 22px;
	}
	
	.direction__title {
		font-size: 24px;
		line-height: 32px;
	}
	
	.about-title,
	.aboutblock__text-title {
		font-size: 24px;
	}
	
	.aboutblock__text-text {
		font-size: 16px;
		line-height: 22px;
	}
	
	.aboutminiblock {
		font-size: 18px;
	}
	
	.machines-title {
		font-size: 24px;
	}
	
	.slide {
		width: 200px;
		height: 160px;
	}
	
	.cases-title {
		font-size: 24px;
	}
	
	.cases-item__title {
		font-size: 18px;
	}
	
	.form-btn {
		font-size: 20px;
		padding: 7px 40px;
	}
	
	#sign {
		width: 35px;
		height: 25px;
	}
}

.lists {
	margin-top: 40px;
	overflow-x: hidden; /* Предотвращаем горизонтальный скролл */
}

.lists-wrapper {
	max-width: 1570px;
	padding: 0 15px;
	margin: 0 auto;
	position: relative;
}

.list-item {
	position: relative;
	width: 100%;
	margin-bottom: 25px;
	/* Добавляем отступ слева для кружка */
	padding-left: 60px;
}

/* Корректируем позиционирование кружка */
.list-item::before {
	content: "";
	position: absolute;
	border-radius: 50%;
	left: 0; /* Меняем с -70px на 0 */
	top: 20px; /* Добавляем отступ сверху */
	width: 100px; /* Уменьшаем размер для мобильных */
	height: 100px;
	background: rgba(53, 74, 139, 0.47);
	z-index: -1;
}

/* Для первого элемента делаем отступ сверху меньше */
.list-item:first-child::before {
	top: 10px;
}

.list-item:last-child {
	margin-bottom: 0;
}

.list-item__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 140px;
	cursor: pointer;
	position: relative;
	z-index: 1;
}

.list-item__li {
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	line-height: 42px;
	color: #000000;
	width: 100%;
	padding-left: 35px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* Адаптивность для списков */
@media screen and (max-width: 992px) {
	.list-item {
		padding-left: 50px;
	}
	
	.list-item::before {
		width: 80px;
		height: 80px;
		top: 15px;
	}
}

@media screen and (max-width: 768px) {
	.list-item {
		padding-left: 45px;
	}
	
	.list-item::before {
		width: 70px;
		height: 70px;
		top: 15px;
	}
	
	.list-item:first-child::before {
		top: 5px;
	}
}

@media screen and (max-width: 600px) {
	.list-item {
		padding-left: 40px;
		margin-bottom: 20px;
	}
	
	.list-item::before {
		width: 60px;
		height: 60px;
		top: 10px;
	}
	
	.list-item:first-child::before {
		top: 5px;
	}
	
	.list-item__row {
		min-height: 100px;
	}
	
	.list-item__title {
		font-size: 20px;
		line-height: 24px;
	}
	
	.list-item__subtitle {
		font-size: 14px;
		line-height: 18px;
	}
}

@media screen and (max-width: 480px) {
	.list-item {
		padding-left: 35px;
	}
	
	.list-item::before {
		width: 50px;
		height: 50px;
		top: 10px;
	}
	
	.list-item__title {
		font-size: 18px;
		line-height: 22px;
	}
	
	.list-item__subtitle {
		font-size: 12px;
		line-height: 16px;
	}
}

@media screen and (max-width: 375px) {
	.list-item {
		padding-left: 30px;
	}
	
	.list-item::before {
		width: 45px;
		height: 45px;
		top: 8px;
	}
	
	.list-item__title {
		font-size: 16px;
		line-height: 20px;
	}
	
	.list-item__subtitle {
		font-size: 11px;
		line-height: 14px;
	}
}

.contact {
	margin-top: 50px;
}

.contact-wrapper {
	max-width: 1605px;
	padding: 0 15px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 30px;
}

.contact-block {
	width: 710px;
	height: 537px;
	border: 1px solid #354a8b;
	border-radius: 20px;
	padding: 35px 40px;
	display: flex;
	flex-direction: column;
}

.contact-block__title {
	font-style: normal;
	font-weight: 700;
	font-size: 57px;
	text-align: center;
	color: #354A8B;
	margin-bottom: 40px;
}

.contact-block__num,
.contact-block__geo,
.contact-block__mail {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
}

.contact-block__mail {
	margin-bottom: 0;
}

.contact-block__num span,
.contact-block__geo span,
.contact-block__mail span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	flex-shrink: 0;
}

.contact-block__num img,
.contact-block__geo img,
.contact-block__mail img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	display: block;
}

.contact-block__num a,
.contact-block__geo,
.contact-block__mail a {
	font-style: normal;
	font-weight: 500;
	font-size: 24px;
	color: #000000;
	line-height: 1.4;
	word-break: break-word;
	text-decoration: none;
}

.contact-block__geo {
	line-height: 1.4;
}

.form-wrapper {
	width: 710px;
	height: 537px;
	border: 1px solid #354a8b;
	border-radius: 20px;
	padding: 100px 43px 30px 80px;
	position: relative;
	display: flex;
	flex-direction: column;
}

.form-wrapper::before {
	content: "ЗАКАЗАТЬ ЗВОНОК";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 70px;
	background-color: #354A8B;
	color: white;
	font-style: italic;
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 0.1em;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px 20px 0 0;
}

#form {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.rowone,
.rowtwo,
.rowthree {
	width: 100%;
}

.rowone {
	width: 279px;
	border-bottom: 1px solid #354A8B;
	margin-bottom: 30px;
}

.rowtwo {
	width: 379px;
	border-bottom: 1px solid #354A8B;
	margin-bottom: 30px;
}

.rowthree {
	width: 100%;
	margin-bottom: 25px;
}

.rowthree>label>input {
	width: 100%;
	max-width: 581px;
	border-bottom: 1px solid #354A8B;
	padding-bottom: 10px;
	outline: none;
}

.rowone>label>input,
.rowtwo>label>input,
.rowthree>label>input {
	font-style: italic;
	font-weight: 400;
	font-size: 24px;
	letter-spacing: 0.1em;
	color: rgba(0, 0, 0, 0.69);
	width: 100%;
	outline: none;
	background: transparent;
}

.rowone>label>input::placeholder,
.rowtwo>label>input::placeholder,
.rowthree>label>input::placeholder {
	color: rgba(0, 0, 0, 0.4);
}

.form-approve {
	display: flex;
	align-items: center;
	font-style: italic;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #354A8B;
	gap: 15px;
	margin-bottom: 25px;
	line-height: 1.3;
}

#sign {
	width: 40px;
	height: 30px;
	border: 1px solid #354A8B;
	background-color: transparent;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
}

#sign:checked {
	background-color: transparent;
}

#sign:focus {
	outline: none;
}

#sign::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
	width: 18px;
	height: 9px;
	border-left: 2px solid #354A8B;
	border-bottom: 2px solid #354A8B;
	opacity: 0;
	transition: opacity 0.2s ease;
}

#sign:checked::after {
	opacity: 1;
}

.form-btn {
	font-style: italic;
	font-weight: 600;
	font-size: 26px;
	color: #354A8B;
	padding: 12px 50px;
	border: 2px solid #354a8b;
	border-radius: 30px;
	display: inline-block;
	width: fit-content;
	min-width: 220px;
	text-align: center;
	transition: all 0.3s ease;
	margin-top: auto;
	align-self: center;
	background: transparent;
	cursor: pointer;
}

.form-btn:hover {
	background-color: #354A8B;
	color: white;
}

.header__menu-a:hover{
    transition: .5s;
    color: #fff;
    background-color: #354A8B;
}

/* Адаптивность для контактов */
@media screen and (max-width: 1200px) {
	.contact-wrapper {
		flex-direction: column;
		align-items: center;
	}
	
	.contact-block,
	.form-wrapper {
		width: 100%;
		max-width: 710px;
		height: auto;
		min-height: auto;
	}
}

@media screen and (max-width: 768px) {
	.contact-block {
		padding: 25px 30px;
	}
	
	.contact-block__title {
		font-size: 45px;
		margin-bottom: 30px;
	}
	
	.contact-block__num span,
	.contact-block__geo span,
	.contact-block__mail span {
		width: 45px;
		height: 45px;
	}
	
	.contact-block__num img,
	.contact-block__geo img,
	.contact-block__mail img {
		width: 35px;
		height: 35px;
	}
	
	.contact-block__num a,
	.contact-block__geo,
	.contact-block__mail a {
		font-size: 20px;
	}
	
	.form-wrapper {
		padding: 90px 30px 25px 30px;
	}
	
	.form-wrapper::before {
		height: 60px;
		font-size: 22px;
	}
	
	.rowone,
	.rowtwo {
		width: 100%;
		max-width: 100%;
	}
	
	.rowthree>label>input {
		max-width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.contact-block {
		padding: 20px 20px;
	}
	
	.contact-block__title {
		font-size: 38px;
		margin-bottom: 25px;
	}
	
	.contact-block__num,
	.contact-block__geo,
	.contact-block__mail {
		gap: 15px;
		margin-bottom: 25px;
	}
	
	.contact-block__num span,
	.contact-block__geo span,
	.contact-block__mail span {
		width: 40px;
		height: 40px;
	}
	
	.contact-block__num img,
	.contact-block__geo img,
	.contact-block__mail img {
		width: 32px;
		height: 32px;
	}
	
	.contact-block__num a,
	.contact-block__geo,
	.contact-block__mail a {
		font-size: 18px;
	}
	
	.form-wrapper {
		padding: 80px 20px 20px 20px;
	}
	
	.form-wrapper::before {
		height: 55px;
		font-size: 20px;
	}
	
	.rowone>label>input,
	.rowtwo>label>input,
	.rowthree>label>input {
		font-size: 20px;
	}
	
	.form-approve {
		font-size: 11px;
		gap: 12px;
	}
	
	#sign {
		width: 35px;
		height: 28px;
	}
	
	.form-btn {
		font-size: 22px;
		padding: 10px 40px;
		min-width: 200px;
	}
}

@media screen and (max-width: 480px) {
	.contact-block {
		padding: 15px 15px;
	}
	
	.contact-block__title {
		font-size: 32px;
		margin-bottom: 20px;
	}
	
	.contact-block__num,
	.contact-block__geo,
	.contact-block__mail {
		gap: 12px;
		margin-bottom: 20px;
	}
	
	.contact-block__num span,
	.contact-block__geo span,
	.contact-block__mail span {
		width: 35px;
		height: 35px;
	}
	
	.contact-block__num img,
	.contact-block__geo img,
	.contact-block__mail img {
		width: 28px;
		height: 28px;
	}
	
	.contact-block__num a,
	.contact-block__geo,
	.contact-block__mail a {
		font-size: 16px;
	}
	
	.form-wrapper {
		padding: 70px 15px 20px 15px;
	}
	
	.form-wrapper::before {
		height: 50px;
		font-size: 18px;
	}
	
	.rowone>label>input,
	.rowtwo>label>input,
	.rowthree>label>input {
		font-size: 18px;
	}
	
	.form-approve {
		font-size: 10px;
		gap: 10px;
	}
	
	#sign {
		width: 32px;
		height: 26px;
	}
	
	#sign::after {
		width: 14px;
		height: 7px;
	}
	
	.form-btn {
		font-size: 20px;
		padding: 8px 30px;
		min-width: 180px;
	}
}

@media screen and (max-width: 375px) {
	.contact-block__num a,
	.contact-block__geo,
	.contact-block__mail a {
		font-size: 15px;
	}
	
	.form-btn {
		font-size: 18px;
		padding: 8px 25px;
		min-width: 160px;
	}
}

.machines {
	margin-top: 86px;
	overflow: hidden;
}

.machines-wrapper {
	display: flex;
	align-items: center;
	max-width: 1920px;
	padding: 0 15px;
	margin: 0 auto;
	gap: 60px;
}

.machines-title {
	font-style: italic;
	font-weight: 600;
	font-size: 50px;
	color: #000000;
	padding-left: 103px;
	flex-shrink: 0;
	max-width: 400px;
	line-height: 1.3;
}

.machines-title span {
	color: #354A8B;
}

/* Адаптивность для machines-title */
@media screen and (max-width: 1400px) {
	.machines-wrapper {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
	}
	
	.machines-title {
		padding-left: 0;
		max-width: 100%;
		font-size: 45px;
	}
}

@media screen and (max-width: 992px) {
	.machines-title {
		font-size: 40px;
	}
}

@media screen and (max-width: 768px) {
	.machines-title {
		font-size: 35px;
		text-align: center;
		width: 100%;
	}
	
	.machines-title br {
		display: none; /* Убираем переносы на мобильных */
	}
}

@media screen and (max-width: 600px) {
	.machines-title {
		font-size: 30px;
		text-align: center;
	}
	
	.machines-title span {
		display: inline;
	}
}

@media screen and (max-width: 480px) {
	.machines-title {
		font-size: 26px;
	}
}

@media screen and (max-width: 375px) {
	.machines-title {
		font-size: 22px;
	}
}

@media screen and (max-width: 768px) {
	.aboutminiblock {
		width: 100%;
		flex: 0 1 100%;
		min-width: 100%;
		font-size: 28px;
		height: 200px;
		padding: 15px 15px 15px 70px;
		background-position: 20px center;
		background-size: 40px 40px;
	}
}

@media screen and (max-width: 600px) {
	.aboutminiblock {
		font-size: 24px;
		height: 160px;
		padding: 15px 15px 15px 60px;
		background-position: 15px center;
		background-size: 35px 35px;
		text-align: left;
	}
	
	.aboutminiblock-text {
		text-align: left;
	}
	
	.aboutminiblock-text br {
		display: none; /* Убираем переносы строк на мобильных */
	}
	.aboutblock__text br{
	    display: none;
	}
	.aboutblock__text{
	    text-align: center;
	}
}

@media screen and (max-width: 480px) {
	.aboutminiblock {
		font-size: 20px;
		height: 140px;
		padding: 12px 12px 12px 55px;
		background-position: 12px center;
		background-size: 32px 32px;
	}
}

@media screen and (max-width: 375px) {
	.aboutminiblock {
		font-size: 18px;
		height: 120px;
		padding: 10px 10px 10px 50px;
		background-position: 10px center;
		background-size: 28px 28px;
	}
}

@media (max-width: 768px) {

    /* Убираем большие круги */
    .list-item::before {
        display: none !important;
    }

    /* Принудительно выстраиваем строку */
    .list-item__row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        min-height: auto !important;
        padding: 15px 0 !important;
    }

    /* Текст занимает место, стрелка жмется вправо */
    .list-item__row-text {
        flex: 1 !important;
        padding-right: 15px !important;
    }

    /* Заголовок */
    .list-item__title {
        font-size: 22px !important;
        line-height: 1.2 !important;
    }

    /* Подзаголовок */
    .list-item__subtitle {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-top: 5px !important;
    }

    /* Стрелка */
    .list-item__open img {
        width: 40px !important;
        height: 40px !important;
        display: block !important; /* Убираем лишние отступы вокруг картинки */
    }

    /* Контент */
    .list-item__li {
        padding-left: 0 !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}




/* ========== КНОПКА "НАВЕРХ" - СИНЯЯ С БЕЛОЙ СТРЕЛКОЙ ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #354A8B;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

/* Показываем кнопку при прокрутке */
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Эффект при наведении - более темный оттенок */
.scroll-top-btn:hover {
    background: #2a3b72;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(53, 74, 139, 0.45);
}

/* Эффект при нажатии */
.scroll-top-btn:active {
    transform: scale(0.95);
    transition: 0.05s linear;
}

/* Стили для белой стрелки */
.scroll-top-arrow {
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
}

/* Стрелка слегка поднимается при наведении на кнопку */
.scroll-top-btn:hover .scroll-top-arrow {
    transform: translateY(-3px);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .scroll-top-arrow {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-top-arrow {
        width: 20px;
        height: 20px;
    }
}