/* USER VARIABLES SECTION */

:root {
	--accent: #161F6D;
	--text: #1E1E1E;
	--regular-text: 16px;
	--lineheight: 1.65;
	--userfont: roboto-st, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { --bs-gutter-x: .625rem; }
.row, .row > * { --bs-gutter-x: 1.25rem; }

/* FONTS LOAD SECTION */

@font-face { src: url("../fonts/roboto-regular-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: normal; }
@font-face { src: url("../fonts/roboto-italic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 400; font-style: italic; }
@font-face { src: url("../fonts/roboto-bold-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: normal; }
@font-face { src: url("../fonts/roboto-bolditalic-webfont.woff2") format("woff2"); font-family: "roboto-st"; font-weight: 700; font-style: italic; }

/* GENERAL CSS SETTINGS */

::placeholder { color: #666; }
::selection { background-color: var(--accent); color: #fff; }
input, textarea { outline: none; }
input:focus:required:invalid, textarea:focus:required:invalid { border-color: red; }
input:required:valid, textarea:required:valid { border-color: green; }

body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;

	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* USER STYLES */

.image {
	max-width: 100%;
	margin-bottom: var(--bs-gutter-x);
	border-radius: 4px;
}

.accent {
	color: var(--accent);
	font-weight: bold;
}

input:valid:not(:placeholder-shown) {
	border-color: green;
  }
  
  input:invalid:not(:placeholder-shown) {
	border-color: red;
  }
  input:invalid:not(:placeholder-shown) + .form__error {
	display: block;
  }
/* ************************************************************** */



/* ************************************************************** */

/* header */
.header {
	position: relative;
	height: 800px;
	background-image: url('../images/background/mainShip.png');
	background-repeat: no-repeat;
	background-size: cover;
    background-position: center;	
}

.header__conf {
	position: relative;
}

.header__inner {
	padding-top: 13px;
	z-index: 100;
}

.header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding-bottom: 13px;

	border-bottom: 1px solid #fff;
}

.header__logo-icon-image {
	width: 300px;
}

.header__contact {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 30px;
}

.header__contact-list {
	display: flex;
	align-items: center;
	gap: 100px;

	padding: 0;
	margin: 0;

	list-style-type: none;
}

.link {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
}

.header__contact-link {
	font-size: 22px;
}

.button {
	font-size: 18px;
	font-weight: 700;
	color:#fff;

	padding: 15px 40px;

	background: #00ABE1;
	border: none;
	border-radius: 6px;

	transition: 0.3s;
}

.button:hover {
	cursor: pointer;
	background-color: #1e298b;
}

.header__menu-list {
	display: flex;
	align-items: center;
	gap: 30px;

	padding: 0;
	margin-top: 13px;

	list-style: none;
}

.header__hero {
    margin-top: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Добавляем промежуток между блоками */
}

.header__hero-block {
    flex: 0 1 40%; /* Занимает не более 40% ширины */
    min-width: 350px; /* Минимальная ширина для читаемости */
}

.header__hero-form-block {
    flex: 0 1 55%; /* Занимает 55% ширины */
    padding: 10px;
    position: relative;
    top: -60px;
}

.header__hero-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* Новые стили для компактного расположения */
.header__hero-form-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.header__hero-form-name.compact {
    flex: 1;
    min-width: 0; /* Важно для корректного сжатия */
}

.header__hero-form-input {
    width: 100%;
}

/* Уменьшаем textarea */
.header__hero-form-textarea.compact {
    height: 60px;
    min-height: 60px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .header__hero-form-row {
        flex-direction: column;
    }
    
    .header__hero-form-name.compact {
        width: 100%;
    }
}

.header__hero-form-title {
	font-size: 20px;
	font-weight: 700;

	color: #fff;
	background-color: #00ABE1;
	padding: 15px 25px;
	margin-bottom: 17px;
	border-radius: 6px;
}

.header__hero-form-icon {
	width: 30px;
}

.header__hero-form-input {
	background-color: transparent;
	border: none;
	outline: none;
}

.header__hero-form-name {
	display: flex;
	gap: 10px;
	background-color: #fff;
	border-radius: 6px;
	padding: 8px 10px;
}

.header__hero-form-label {
	position: relative;
	border-radius: 2px;
	padding-right: 12px;
}

.header__hero-form-label::before {
	content: "";
	position: absolute;

	right: 0;
	height: 100%;
	width: 2px;

	background-color: #00ABE1;
	border-radius: 2px;
	opacity: 0.3;
}

.header__contact--block {
	position: relative;
	width: 100%;
}

.header__hero-form-input {
	flex: 1;
}

.header__hero-form-textarea {
    border: none;
    border-radius: 6px;
    height: 40px; /* Уменьшил высоту по сравнению с оригиналом (было 100px) */
    padding: 10px;
    resize: none;
}

.header__hero-title {
	color: #fff;
	font-size: 42px;
	font-weight: 700;

	margin-bottom: 35px;
}

.header__hero-title span {
	color: #00ABE1
}

.header__hero-text {
	color: #fff;
	font-size: 14px;
	font-weight: 700;

	margin-bottom: 35px;
}

.header__contact-list-block {
	display: flex;
	gap: 30px;
}

/* ************************************************************** */


.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 99998;
    background-color: rgba(0, 0, 0, .5);

    display: grid;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s, visibility .4s;
}

.modal__box {
	border-radius: 6px;
    position: relative;
    max-width: 500px;
    padding: 45px;
    z-index: 1;
    margin: 30px 15px;
    background-color: white;
    box-shadow: 0px 0px 17px -7px rgba(34, 60, 80, 0.2);
    transform: scale(0);
    transition: transform .8s;
}

.modal__close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background-color: transparent;
    padding: 5px;
    cursor: pointer;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal.open .modal__box {
    transform: scale(1);
}

.modal__block {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.modal__title {
	font-weight: 700;
}

.modal__title span {
	color: #00ABE1;
}

.modal__text {
	text-align: center;
	opacity: 0.7;
	font-size: 18px;
}

.modal__form {
	display: flex;
	flex-direction: column;
	gap: 15px;

	width: 100%;
}

.modal__form-input {
	padding: 10px 10px;

	border-radius: 6px;
	border: 1px solid #000;
}

.modal__form-button {
	margin-top: 12px;
}


.modal__block-privacy {
	opacity: 0.7;
	display: flex;
	align-items: center;
	margin-top: 10px;
	gap: 5px;
}

.modal__text-privacy {
	font-size: 12px;
	padding: 0;
	margin: 0;
}

.modal__block-privacy-img {
	width: 15px;
}



/* ************************************************************** */

/* delivery */

.delivery {
	margin-top: 70px;
}

.delivery__title {
	text-align: center;
	font-weight: 700;
	margin-bottom: 40px;
}

.delivery__title span {
	color: #00ABE1;
}

.delivery__list {
	display: flex;
	list-style: none;
	gap: 20px;

	margin: 0;
	padding: 0;
}

.delivery__item {
	background-color: #f5f5f5;
	display: flex;
	flex-direction: column;
	align-items: center;

	border-radius: 6px;
	padding: 15px 25px;
	flex: 1 1 calc(20% - 20px);
}

.delivery__item-img {
	margin-bottom: 20px;

	display: flex;
	justify-content: center;
	align-items: center;

	width: 150px;
	height: 130px;
}

.delivery__item-img img {
	width: 100%;

	background-repeat: no-repeat;
	background-size: cover;
    background-position: center;	
}

.delivery__item-title {
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
}

.delivery__item-days {
	font-size: 20px;
	font-weight: 700;
	color: #00ABE1;

	margin: 0;
}

.delivery__item-button {
	width: 100%;
	padding: 10px 0;
	font-size: 18px;
}
/* ************************************************************** */



/* ************************************************************** */

/* experience */
.experience {
	margin: 130px 0;
	padding: 35px 0;
	background: #f5f5f5;
}
.experience__list {
	display: flex;
	justify-content: center;
	gap: 250px;
	list-style: none;
}

.experience__item {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;

	color: #fff;

	width: 200px;
	height: 200px;

	background-color: var(--accent);
	border-radius: 50%;
}

.experience__item-number {
	font-size: 58px;
	font-weight: 700;
	line-height: 60	px;
	margin: 0;
}

.experience__item-text {
	font-size: 20px;
	font-weight: 400;
	line-height: normal;
}
/* ************************************************************** */



/* ************************************************************** */

/* calculator */
.caclulator__block-text {
	display: flex;
	flex-direction: column;
	align-items: center;

	margin-bottom: 30px;
}

.calculator__title {
	font-size: 40px;
	font-weight: 700;

	margin: 0;
}

.calculator__title span {
	color: #00ABE1;
}

.calculator__text {
	font-size: 22px;
	opacity: 0.8;
}

.calculator__form-title {
	font-weight: 700;
}

.calculator__form-info {
	margin-bottom: 30px;
}

.calculator__form-group {
	display: flex;
	align-items: start;
	flex-direction: column;
	list-style: none;
	gap: 20px;

	padding: 0;
	margin: 0;
}

.calculator__form-item {
	display: flex;
	flex-direction: column;

	align-items: center;

}

.calculator__form-block {
	display: flex;
	gap: 10px;
}

.calculator__form-btn {
	font-weight: 700;
	font-size: 24px;
	color: #fff;

	display: flex;
	justify-content: center;
	align-items: center;

	width: 39px;

	border-radius: 6px;	
	background: #00ABE1;
	padding: 0;

	cursor: pointer;
}

.calculator__form-input {
	border-radius: 6px;
	border: 1px solid #1E1E1E;

	text-align: center;
}


.calculator__block__result {
	margin-top: 40px;
	width: 50%;
}

.calculator__result-title {
	font-weight: 700;
	margin-bottom: 15px;
}

.calculator__result-list {
	padding: 0;
	margin: 0;
	list-style: none;
}


.about__block {
	margin-top: 100px;
}

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

.about__text {
	width: 700px;
}

.about__text span {
	color: #00ABE1;
	font-weight: 700;
}

.about__img {
	height: 100%;
}

.about__image {
	width: 300px;
}

.about__image-qua {
	position: relative;
	top: -110px;
	left: 100px;
}

.about__image-tractor {
	position: relative;
	top: -80px;
	left: 190px;
}

.about__title {
	font-weight: 700;
	margin-bottom: 30px;
}

.about__list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.about__item {
	display: flex;
	align-items: center;
	gap: 10px;

	margin-bottom: 20px;
}

.about__text {
	margin: 0;
	font-size: 18px;
}

.about__textspan {
	font-weight: 700;
	color: #00ABE1;
}

.about__icon {
	width: 50px;
}

.about__team-list {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	row-gap: 20px;
	
	padding: 0;
	margin: 0;
	list-style: none;
}

.about__team-name {
	font-weight: 700;
	font-size: 24px;
	margin-top: 10px;

	margin: 0;
}



.advantages {
	background-image: url('../images/fon.jpg');
	background-repeat: no-repeat;
	background-size: cover;
    background-position: center;

	position: relative;
}

.advantages__inner {
	padding: 50px 0;
}

.advantages__title {
	color: #fff;
	font-size: 56px;
	margin-bottom: 50px;

	text-transform: uppercase;
}

.advantages__title span {
	color: #00ABE1
}

.advantages__list {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-bottom: 100px;
}

.advantages__list-inner {
	display: grid;
	grid-template-columns: repeat(2, 400px);
	gap: 20px;
}

.advantages__item-img {

	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;

	width: 150px;
	height: 130px;
}

.advantages__item-image {
	width: 100%;

	background-repeat: no-repeat;
	background-size: cover;
    background-position: center;	
}

.advantages__item-image-calc {
	width: 60%;
}

.advantages__item-image-people {
	width: 55%;
}

.advantages__item {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: #fff;

	padding: 10px;
	border: 1px solid #fff;
	background-color: rgba(255, 255, 255, 0.1);

	border-radius: 6px;
}

.advantages__item-block {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.advantages__item-number {
	opacity: 0.6;
	font-size: 24px;
	margin: 0;
}

.advantages__item-text {
	margin: 0;
	margin-top: 20px;
	flex: 1;
}

.mySwiper {
	position: relative;
}

.swiper-button-prev, .swiper-button-next {
	position: absolute;
	top: 550px;
}

.swiper-button-prev {
	left: 40%;
}

.swiper-button-next {
	left: 60%;
}

.footer {
	padding: 50px 0;
	background-color: #F0F0F0;

	align-items: flex-end;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer__logo {
	padding: 0;
	margin: 0;
}

.footer__list {
	display: flex;
	align-items: center;
	gap: 30px;

	padding: 0;
	margin: 0;

	list-style: none;
}

.footer__item {
	display: flex;
	gap: 15px;

	padding: 10px;
	border: 1px solid #00ABE1;
	border-radius: 6px;
	position: relative;
}

.footer__logo {
	width: 300px;
}

.footer__menu-list {
	position: relative;
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 20px;
	list-style: none;

	margin: 0;
	padding: 0 20px;
}

.footer__menu-list::before {
	content: '';
	position: absolute;
	left: 0;
	width: 2px;
	height: 100%;

	background-color: #00ABE1;
	border: 2px;
	opacity: 0.3;
}

.footer__menu-link {
	color: #00ABE1;
	font-size: 14px;
}

.footer__link-icon {
	position: relative;
	width: 30px;
}

.footer__link {
	color: #00ABE1;
}

.link-email {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.footer__link {
	color: #00ABE1;
}

.footer__block {
	display: flex;
	align-items: center;

	gap: 20px;
}


.header__hero-form-agreement-label {
  color: #666; /* Светло-серый текст */
  font-size: 14px; /* Размер шрифта */
  line-height: 1.5; /* Интерлиньяж */
  margin-top: 5px; /* Отступ сверху */
  display: block; /* Текст будет на новой строке */
}

.header__hero-form-agreement {
    display: flex;
}

.header__hero-form-agreement input[type="checkbox"] {
  margin-right: 5px; /* Отступ между чекбоксом и текстом */
}

.thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

.checkmark-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.checkmark-icon svg {
    width: 100%;
    height: 100%;
}

.thank-you-container h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #4CAF50; /* Зеленый цвет */
}

.thank-you-container p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.return-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1em;
}

.header__contact-item--block {
	display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    color: white;
    text-align: center;
    cursor: pointer;
}

.header__contact-item--block-title {
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	color: white;
	margin: 0;
}

.header__contact-item--block--line {
	display: flex;
	gap: 20px;
}

.about__text-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.about__block--bottom {
	margin-top: 20px;
}

.about__text {
	text-indent: 2em;
}

.about__subtitle {
	font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
	color: #00ABE1;
}

.about__img-block2 {
	position: relative;
	top: 200px;
}

.about__img-block2-img {
	width: 70%;
    height: auto;
}

.about__img-block2-img2 {
	height: auto;
	position: relative;
	top: 100px;
	left: 150px;
}

.about__img-block2-img3 {
	width: 100%;
	height: auto;
	position: relative;
	top: 300px;
	left: 50px;
}

.header__hero-form-agreement--link {
	color: white;
	opacity: .9;
}

.link-email-conf {
	color: #00ABE1;
}

.link-conf {
	color: #00ABE1;
}

.header__contact-item--block-title-conf {
	color: #00ABE1;
}

.privacy-policy {
    color: black;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.privacy-policy__title {
    color: #00ABE1;
    font-size: 24px;
    margin-bottom: 20px;
}

.privacy-policy__subtitle {
    color: #00ABE1;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.privacy-policy__subtitle-small {
    color: #00ABE1;
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.privacy-policy__text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.privacy-policy__bold {
    font-weight: bold;
}

.privacy-policy__link {
    color: #00ABE1;
    text-decoration: underline;
}

.privacy-policy__link:hover {
    text-decoration: none;
}

.privacy-policy__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-policy__list-item {
    margin-bottom: 5px;
}

.privacy-policy__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.privacy-policy__table th,
.privacy-policy__table td {
    border: 1px solid #00ABE1;
    padding: 10px;
    text-align: left;
}

.privacy-policy__table th {
    background-color: #00ABE1;
    color: #1e298b;
    font-weight: bold;
}

.privacy-policy__table td {
    background-color: #ffffff;
    color: #1e298b;
}

.privacy-policy__table ul {
    list-style-type: disc;
    margin-left: 20px;
}

.header__contact-toggle {
        display: none;
    }