/* Сброс */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

/* Основной контейнер — как у Tilda */
.t-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero-секция */
.hero-section {
    position: relative;
    min-height: 391px;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 100px;
    overflow: hidden; 
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-weight: 300;
    font-size: 52px;
    margin: 0;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-weight: 300;
    font-size: 24px;
    margin-top: 10px;
    opacity: 0.9;
}

/* Вторичная картинка (worker-hero) */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 5%;
    pointer-events: none;
    z-index: 1;
}

/* ------- текст в заголовке ------- */


.hero-content-wrapper {
    text-align: left;
    /* padding-left: 20px; */
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 2.1;
    margin: 0 0 16px 0;
    white-space: pre-line;
    text-transform: uppercase;
    color: white;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin: 0;
    white-space: pre-line;
    text-transform: uppercase;
    color: white;
}


.hero-image-overlay h1,
.hero-image-overlay p {
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
    color: white;
    max-width: 600px;
}
/* ------------------------------- */

.hero-image-overlay img {
    height: 60%;
    width: auto;
    max-height: 100%;
    opacity: 0.7;
    object-fit: contain;
    flex-shrink: 0;
}

/* ——— Основной контент ——— */

.main-content {
    text-align: left;
    padding-top: 30px;
}

.main-content h2 {
    font-size: 25px;
    font-weight: 400;
    color: #333;
    margin: 10px 0;
}

.main-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 35px;
}

.main-content a {
    color: #2971f5;
    text-decoration: none;
}

.main-content a:hover {
    text-decoration: underline;
}

/* Списки */
.included-list,
.advantages-list {
    padding-left: 0;
    list-style: none;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 10px;
    max-width: 800px;
}

.included-list li,
.advantages-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #000;
    font-weight: 300;
}

.included-list li::before,
.advantages-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 32C24.8365 32 32 24.8365 32 16C32 7.16345 24.8365 0 16 0C7.16345 0 0 7.16345 0 16C0 24.8365 7.16345 32 16 32ZM25.9882 12.0673L24.0118 9.93271L14.2 19.0177L7.98823 13.2661L6.01177 15.4006L14.2 22.9823L25.9882 12.0673Z' fill='%23003c72'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.note {
    color: #666;
    margin-top: 0;
}

/* Отступы между секциями */
.what-included-section,
.technologies-section,
.safety-section,
.experience-section,
.advantages-section,
.аny-questions {
    margin-top: 49px;
}

.what-included-section p,
.technologies-section p,
.safety-section p,
.experience-section p,
.advantages-section p,
.intro-section p,
.аny-questions p {
    font-weight: lighter;

}


/* Форма — фон на всю ширину */
.contact-form-section-fullwidth {
    background-color: #041320;
    padding: 60px 0;
    width: 100%;
    color: white;
}

.contact-form-section-fullwidth .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row--top {
    display: flex;
    gap: 16px;
}

.form-row--top input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #EFEFEF;
    font-size: 16px;
    background-color: white;
    color: #333;
}

.form-row--message {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.form-row--message textarea {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #EFEFEF;
    font-size: 16px;
    resize: vertical;
    min-height: 120px;
}

.button-checkbox {
    width: 32.7%;
}

.fake-button {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: none;
    padding: 12px 16px;
    border: 5px solid #ccc;
    font-size: 16px;
    background-color: #041320;
    color: #ffffff;
    text-align: center;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.fake-button:hover {
    background-color: #f5f5f5;
    color: #000;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: white;
    margin-top: 15px;
}

.checkbox-label input {
    margin-top: 4px;
}

.form-row--message textarea::placeholder {
    font-size: 16px; 
    font-family: 'Roboto', sans-serif !important;
}

.checkbox-label a 
{
    text-decoration: none;
    color: #EFEFEF;
}

/* Адаптив */
@media (max-width: 980px) {
    .hero-section {
        height: 220px;
        margin-top: 0;
        background-position: center 20%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

/* Мобильная версия — полностью исправлено */
@media (max-width: 768px) {
    .form-row--top,
    .form-row--message {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .form-row--top input,
    .form-row--message textarea {
        width: 100%;
        padding: 12px 16px;
        box-sizing: border-box;
    }

    .button-checkbox {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .fake-button {
        width: 100% !important;
        min-width: auto;
        padding: 12px 16px;
        align-self: stretch;
        justify-content: center;
        box-sizing: border-box;
    }

    .checkbox-label {
        margin-top: 0;
        width: 100%;
    }

    .form-row--message textarea {
        border: 1px solid #EFEFEF;
    }

    .hero-section {
        min-height: 220px;
        margin-top: 0;
        background-position: center 20%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}


/* Промежуточный диапазон: 769px - 1024px — кнопка гибкая */
@media (min-width: 769px) and (max-width: 1024px) {
    .fake-button {
        width: auto;
        max-width: 100%;
        padding: 12px 16px;
        box-sizing: border-box;
    }

    .form-row--message textarea {
        flex: 1;
        padding: 12px 16px;
        border: 1px solid #EFEFEF;
        font-size: 16px;
        resize: vertical;
        min-height: 120px;
    }

   
}

@media (min-width: 934px) and (max-width: 1920px) {

    .button-checkbox {
        width: 32.2%;
    }
}

/* Большой экран: >1024px — кнопка 89% */
@media (min-width: 1025px) {
    .fake-button {
        width: 100% !important;
    }

    .form-row--message textarea {
        flex: none;
        padding: 12px 16px;
        border: 0px;
        font-size: 15px;
        resize: vertical;
        min-height: 120px;
        width: 63.5%;
    }
}

/* Десктоп: кнопка — как часть колонки (примерно 93% от 32.7%) */
@media (min-width: 769px) {
    .fake-button {
        width: 100%;
    }

    .form-row--message textarea {
        flex: 1;
        padding: 12px 16px;
        border: 1px solid #EFEFEF;
        font-size: 16px;
        resize: vertical;
        min-height: 120px;
    }
}

@media (min-width: 769px) and (max-width: 933px) {
    .button-checkbox {
        width: 31.8%;
    }
}

/* Мобильные: кнопка на всю ширину, без вылезаний */
@media (max-width: 768px) {
    .form-row--top,
    .form-row--message {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .form-row--top input,
    .form-row--message textarea {
        width: 100%;
        padding: 12px 16px;
        box-sizing: border-box;
    }

    .button-checkbox {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .fake-button {
        width: 100% !important;
        min-width: auto;
        padding: 12px 16px;
        align-self: stretch;
        justify-content: center;
        box-sizing: border-box; /* критически важно */
    }

    .checkbox-label {
        margin-top: 0;
        width: 100%;
    }

    .form-row--message textarea {
        border: 1px solid #EFEFEF;
    }

    /* Hero — без изменений */
    .hero-section {
        min-height: 220px;
        margin-top: 0;
        background-position: center 20%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

.t-seed {
    display: inline;
    float: left;
    width: 100%;
}

.t-seed a {
    color: #303030;
    text-decoration: underline;
}

div.path_link {
    font-size: 20px;
    font-family: 'Roboto', Arial, sans-serif;
}
.simple_text {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: lighter;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* Увеличенный отступ слева на мобильных */
@media (max-width: 976px) {
    .t-container {
        padding-left: 20px !important;
        padding-right: 20px !important; 
    }
}