@import url("../fonts/font-golos.css");

:root {
    --black: #020202;
    --dark: #000000;
    --light: #EDEDF1;
    --white: #ffffff;
    --primary: #FFDE41;
    --secondary: #DE1010;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
    font-display: swap;
    margin: 0;
    padding: 0;
    color: var(--black);
    font-family: Golos;
    font-weight: 400;
    font-size: 20px;
    @media (max-width: 576px) {
        font-size: 11px;
    }
}

button:focus {
    border: none;
    outline: none;
}

body.no-scroll {
  overflow: hidden;
}

main {
  display: block;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
a:hover, a.selected {
    color: var(--secondary);
    text-decoration: none;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  border: none;
  cursor: pointer;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

textarea {
  overflow: auto;
  resize: none;
}


.container {
  position: relative;
  width: 100%;
  max-width: 1195px;
  min-width: 380px;
  margin: 0 auto;
  padding: 0 5px;
}

.container > .row {
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

.btn {
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    text-transform: uppercase;
    padding: 12px 20px;
}
.btn:hover {
    color: var(--secondary);
}

.btn-white {
    color: var(--white);
    border-color: var(--white);
}
.btn-white:hover {
    color: var(--white);
}

.btn-black {
    color: var(--black);
    border-color: var(--black);
	z-index: 2;
	position: relative;
}
.btn-black:hover {
    color: var(--white);
    background: var(--black);
}

body.color-bg {
    background: url(../images/body-color-bg.png) center top / cover no-repeat, linear-gradient(180deg, #13164C 19.23%, #02ADEF 100%);

    @media (max-width: 576px) {
        & main {
            padding: 0px 20px;
        }
    }
}

section.main-color-bg {
    background: linear-gradient(180deg, #FFDE41 52.4%, #FFFFFF 100%);
    position: relative;

    /*&:after {
        content: "";
        position: absolute;
        bottom: 200px;
        left: 47%;
        width: 53%;
        height: 400px;
        background: url(../images/banner-bg.png) left top;
        background-size: cover;
    }*/
}

.head-cover {
    padding-top: 25px;
    color: var(--white);
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    gap: 50px;

    & .head-main {
        padding: 5px 0px;
        flex: 1;
        display: flex;
        justify-content: space-between;
        position: relative;

        @media (max-width: 576px) {
            flex-wrap: wrap;
        }

        & a.logo {
            display: inline-block;
            width: 267px;
            height: 47px;
            background: url(../images/logo.svg) center no-repeat;

            @media (max-width: 576px) {
                margin-left: 10px;
            }
        }

        & .head-contact {
            display: flex;
            gap: 50px;
            color: #231f20;

            @media (max-width: 576px) {
                width: 100%;
                justify-content: space-between;
                padding: 10px;
            }

            & a.mail {
                background: url(../images/mail-icon.png) left 6px no-repeat;
                padding-left: 20px;
            }

            & a.tg {
                background: url(../images/tg.png) left 6px no-repeat;
                padding-left: 20px;

                @media (max-width: 576px) {
                    position: absolute;
                    right: 10px;
                    top: 0;
                }
            }
        }
    }
}

.banner-cover {
    color: var(--black);
    position: relative;
    padding-bottom: 200px;

    @media (max-width: 576px) {
        padding: 0 10px;
        padding-bottom: 150px;
        overflow: hidden;
    }

    & h1 {
        font-size: 98px;
        font-weight: 700;
        padding: 0;
        margin: 0px -10px;
        background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(102, 103, 100, 0.76) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;

        @media (max-width: 576px) {
            font-size: 45px;
            margin: 0;
        }
    }
    & h2 {
        font-size: 60px;
        font-weight: 500;
        letter-spacing: -2px;
        padding: 20px 0px;
        @media (max-width: 576px) {
            font-size: 22px;
            padding-bottom: 0;
			letter-spacing: 0.01px;
        }
    }
    & p {
        max-width: 510px;
        padding-bottom: 30px;
        @media (max-width: 576px) {
            font-size: 16px;
            padding: 0;
            max-width: 60%;
        }
    }

    & img.banner-img {
        position: absolute;
        bottom: 70px;
        right: 40px;
        height: calc(100% - 110px);

        @media (max-width: 576px) {
            bottom: 0;
            height: calc(100% - 25px);
			left: -9px;
			top: 56px;
        }
    }
}

footer {
    padding-top: 150px;

    @media (max-width: 576px) {
        padding: 50px 10px 20px;
    }
}

.contact-form-cover {
    width: 500px;
    max-width: 100%;

    & .form-head {
        width: 100%;
        color: var(--black);
        font-weight: 500px;
        font-size: 28px;
        text-transform: uppercase;
        margin-bottom: 30px;
    }

    & .contact-body {
        & input[type="text"], input[type="phone"] {
            border: 1px solid var(--black);
            border-radius: 7px;
            padding: 7px 10px;
            margin-bottom: 20px;
            width: 100%;
        }
        & .btn {
            margin: 10px auto;
        }
    }

}

@media (min-width: 576px) {
    .mobile {
        display: none !important;
    }
}
@media (max-width: 576px) {
    .desktop {
        display: none !important;
    }

    .row[style*="display: block"]{
      display:flex!important;
    }

}

/* === СЕКЦИЯ ПРЕИМУЩЕСТВ === */
.benefits-section {
    margin-top: 40px; /* Отступ от желтых блоков */
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 50px 40px 40px 40px;
    position: relative;
        box-shadow: 0px 5px 25px rgb(0 0 0 / 12%);
}

/* Обертка для иконок с эффектом выреза */
.benefit-icon {
    position: absolute;
    top: 0px; 
    left: 0px;
    width: 60px;
    height: 60px;
    background-color: #ffff; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Заголовок карточки */
.benefit-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #13164C;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* --- Стили для левого списка --- */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.1;
    color: #333333;
    font-weight: 400;
}

.benefit-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #13164C; /* Синяя точка */
    font-weight: bold;
}

/* --- Стили для правого списка --- */
.benefit-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.b-feature-item strong {
    display: block;
    color: #13164C;
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: 700;
}

.b-feature-item p {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    color: #333333;
    font-weight: 400;
}

/* === АДАПТИВ ДЛЯ МОБИЛЬНЫХ ТЕЛЕФОНОВ === */
@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* Блоки встают друг под друга */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .benefit-card {
        padding: 40px 20px 30px 20px; /* Уменьшаем внутренние отступы */
    }
    
    .benefit-icon {
        /* На мобилках иконка немного сдвигается, чтобы не вылезать за экран */
        left: 0px; 
        top: 0px;
    }
    .list-item-cover p{
        font-size: 13px
    }

}

