@charset "UTF-8"; #page_one {
}

#page_two, #page_tree, #page_tree, #page_four, #page_five, #page_sex, #page_seven {
    padding: 10px 15px;
}
#page_two select, .radio-option {
    width:100%;
}

#page_tree {
}

#page_four {
}

#page_five {
}

#page_six {
}
#page_seven {
}
.foto {
    margin-bottom: 20px!important;
}

.button-group {
}
.btn-off {
    min-width:150px; 
    width:100%; 
    line-height: normal; 
    background-color: #28a745; 
    color: white;
}
.btn-clear {
    flex: 1; 
}
.mobail-hide {
    padding:4px;
    background-color: #03a9f4;
    background-image: linear-gradient(77.24deg,#fd8925 7.17%,#ff0c00 86.3%);
    color:white
}
.mobail-block {
    display:flex;
    flex-direction: row-reverse;
    align-items: center;
    min-height: 40px;
}
.logo-mobail-min img {
    display: none;
}
.tm-img-container {
    margin:0 auto;
    width:90%;
    background-color: rgb(255 255 255 / 66%);
    padding: 30px;
}
.form-wrapper {
    background-color: rgb(255 255 255 / 66%);
    margin-bottom: 25px;
    padding: 10px 0 20px;
    width: 100%;
    max-width: 990px;
    position: relative;
    z-index: 100;
}
.form-wrapper .button-group {
    width: 100%;
    max-width: 350px;
}
.form-wrapper .button-group button {
    width: 100%;
    max-width: 350px;
}
.all-button {
    width: 100%!important;
    max-width: none!important;
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}
.btn-up {
    background-color:#00bfff!important;
    color:white!important;
}
.btn-clear {
    background:#ffc107!important
}
/* Индикатор прогресса: голубой 4px на белом фоне */
.progress-container {
    width: 100%;
    background: #fff;
    height: 4px;
    margin-bottom: 30px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #eee;
}

#progress-bar {
    width: 16.6%;
    height: 4px;
    background-color: #00bfff;
    transition: width 0.4s ease;
}

.page {
    display: none;
}

.page.active {
    display: block;
}
.red {
    color: red;
}

/* Сетка для картинок на первом шаге */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.image-item {
    width: 30%;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-item:hover {
    border-color: #00bfff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,191,255,0.2);
}
#tm-section-4 .image-item:hover {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: none;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 5px;
}

.image-caption {
    padding: 10px;
    font-size: 1em;
    letter-spacing: 1px;
    line-height: normal;
    font-weight: 500;
    color: #555;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Скрываем оригинальный select */
#original-select {
    display: none;
}

/* Стили для остальных полей */
.input-group {
    margin-bottom: 20px;
}

input[type="text"], select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.radio-option {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-option input {
    margin-right: 10px;
}

.btn-submit {
    background: #28a745;
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
}

/* Индикатор прогресса: голубой 4px на белом фоне */
.progress-container {
    width: 100%;
    background: #fff;
    height: 8px;
    margin-bottom: 30px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #eee;
}

#progress-bar {
    width: 16.6%;
    height: 4px;
    background-color: #00bfff;
    transition: width 0.4s ease;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page {
    display: none;
}

.page.active {
    animation: fadeIn 0.5s ease forwards;
}
 .page.active#page_two,.page.active#page_tree,.page.active#page_four,.page.active#page_five,.page.active#page_sex,.page.active#page_seven {
    display:flex;
    align-items: flex-start;
}
.stroke-page, .page-image {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.page-image p {
    font-weight:500;
    font-size:1.1rem;
    color:black;
}
.stroke-page {
    background-color: #c0b9b9;
    background: linear-gradient(to top, rgb(28 54 128 / 70%), rgb(255 255 255 / 20%));
    padding:8px;
    border-radius:10px;
    max-width: 400px;
}
#page_sex .stroke-page  {
   /* background:none;*/
}
.page-image img {
    width:100%;
    padding: 0 10px;
}
.field-label {
    width: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Roboto';
    line-height: normal;
    text-transform: uppercase;
    display: block;
    color: #333;
    text-align: center;
    background-color: white;
    padding: 8px;
    margin: 0 0 10px;
    margin-bottom: 0;
    border-bottom: 5px #03A9F4 inset;
}

.red {
    color: red;
}

#original-select {
    display: none;
}

/* Поля ввода */
.input-group {
    margin-bottom: 20px;
}

input[type="text"], select, #address-1, #online_phone {
    width: 100%;
    /* max-width: 350px; */
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: 0.3s;
}

input[type="text"]:focus, select:focus {
    border-color: #a76007;
    /*box-shadow: 0 0 5px rgba(0,191,255,0.2);*/
}

.radio-option {
    margin: 10px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: 0.2s;
    background-color: white;
    color: black;
    font-weight: 600;
}

.radio-option:hover {
    background-color: #f0faff;
    border-color: #00bfff;
}

.radio-option input {
    margin-right: 15px;
    transform: scale(1.2);
}

/* Кнопки */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    flex-direction: column;
}

.btn-next, .btn-submit {
    background: #00bfff;
    border: none;
    color: white;
    padding: 14px 25px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    flex: 1;
    transition: 0.3s;
    text-align: center;
}

.btn-prev {
    background: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    padding: 14px 25px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    flex: 1;
    transition: 0.3s;
}

.btn-prev:hover {
    background: #e0e0e0;
}

.btn-submit {
    background: #28a745;
    border: none;
}

.btn-submit:hover {
    background: #218838;
}
.hide {
    display:none;
}
.block {
    display:block;
}

.suggestions-nowrap {
 white-space: nowrap;
 color: black;
 padding: 4px 2px;
}

.suggestions-input {
 -ms-box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
 width: 100%
}

.suggestions-input::-ms-clear {
 display: none
}

.suggestions-wrapper {
 position: relative;
 margin: 0;
 padding: 0;
 vertical-align: top;
 -webkit-text-size-adjust: 100%
}

.suggestions-suggestions {
 background: #fff;
 border: 1px solid #999;
 -ms-box-sizing: border-box;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
 cursor: default;
 left: 0;
 min-width: 100%;
 position: absolute;
 z-index: 9999;
 -webkit-text-size-adjust: 100%
}

.suggestions-suggestions strong {
 font-weight: 400;
 color: black
}

.suggestions-suggestions.suggestions-mobile {
 border-style: none
}

.suggestions-suggestions.suggestions-mobile .suggestions-suggestion {
 border-bottom: 1px solid #ddd
}

.suggestions-suggestion {
 /* padding:4px 4px; */
 /* overflow:hidden; */
}

.suggestions-suggestion:hover {
 background: #f7f7f7
}

.suggestions-selected {
 background: #f0f0f0
}

.suggestions-selected:hover {
 background: #f0f0f0
}

.suggestions-hint {
 padding: 4px 4px;
 white-space: nowrap;
 overflow: hidden;
 color: black;
 font-size: 85%;
 line-height: 20px
}

.suggestions-subtext {
 color: black
}

.suggestions-subtext_inline {
 display: inline-block;
 min-width: 6em;
 vertical-align: bottom;
 margin: 0 .5em 0 0
}

.suggestions-subtext-delimiter {
 display: inline-block;
 width: 2px
}

.suggestions-subtext_label {
 margin: 0 0 0 .25em;
 -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
 border-radius: 3px;
 padding: 0 3px;
 background: #f5f5f5;
 font-size: 85%
}

.suggestions-value[data-suggestion-status=LIQUIDATED] {
 position: relative
}

.suggestions-value[data-suggestion-status=LIQUIDATED]:after {
 position: absolute;
 left: 0;
 right: 0;
 top: 50%;
 border-top: 1px solid rgba(0,0,0,.4);
 content: ""
}

.suggestions-promo {
 font-size: 85%;
 display: none;
 color: #777;
 padding: 4px;
 text-align: center;
 display:none!important;
}

.suggestions-promo a {
 color: #777;
 display: block;
 filter: grayscale(100%);
 line-height: 20px;
 text-decoration: none
}

.suggestions-promo a:hover {
 filter: grayscale(0)
}

.suggestions-promo svg {
 height: 20px;
 vertical-align: bottom
}

@media screen and (min-width: 600px) {
 .suggestions-promo {
 position:absolute;
 top: 0;
 right: 0;
 text-align: left
 }
}
/*-3section--*/
.company-section {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    margin: 10px auto;
    background: #fff;
}

.main-intro {
    font-size: 1.1rem;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #1c367f; /* Акцентный цвет */
    margin-bottom: 0;
}
.main-intro p, .advantage-item p {
    line-height:1.4rem
}
.maprider {
    width:100%;
    display:flex;
}
.maprider img {
    width: 80%;
    max-width: 600px;
    margin:0 auto
}

h2 {
    color: #222;
    /* border-bottom: 2px solid #eee; */
    padding-bottom: 10px;
    margin-top: 40px;
}

.advantage-item {
    margin-bottom: 20px;
}

.advantage-item .title {
    display: block;
    font-weight: bold;
    color: #17357b;
    font-size: 1.1rem;
    /* text-shadow: 1px 1px 1px #c9c6c6; */
}

.advantage-item.special {
        background-color: rgb(255 255 255 / 81%);
    background-color: #f2f1f0;
    background-image: radial-gradient(80% 80% at 80% 20%,#f4eefe 0%,rgba(243,236,254,0) 100%),radial-gradient(60% 60% at 0 100%,#d9f1ff 0%,rgba(219,242,255,0) 100%),linear-gradient(#e6f6ff,#e6f6ff);
    background-position: 50%;
    padding: 15px;
    border-radius: 5px;
}

.direction-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.direction-card h3 {
    margin-top: 0;
    color: #444;
}

.contact-footer {
    margin-top: 40px;
    padding: 25px;
    background: #222;
    background: linear-gradient(135deg, #9E9E9E, #607D8B);    
    text-shadow: 1px 0 0 black;
    color: #fff;
    border-radius: 8px;
    text-align: center;
}

.summary {
    font-size: 1.2rem;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
p.summary, p.cta {
    color:white!important
}

.cta {
    font-size: 1.1rem;
}
/*contact--*/
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --text-main: #2c3e50;
    --text-muted: #6c757d;
    --bg-card: #ffffff;
    --input-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

.contact-form-container {
    display: flex;
    justify-content: center;
    padding: 0;
    /* background-color: #f0f2f5; */
}

.form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    /* max-width: 500px; */
    width: 100%;
    margin: 0 auto;
}
#tm-section-4 .form-wrapper {
    padding:10px 40px
}

.form-header {
    text-align: center;
    margin-bottom: 10px;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
    margin-top: 0;
    font-family: 'Roboto';
}

.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: normal;
    font-weight: 600;
}
.contact-form-container .form-header p {
    margin:5px 0 0;
    text-align:left
}

/* Стили полей ввода (эффект "плавающего" ярлыка) */
.input-group {
    position: relative;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    /* max-width: 350px!important; */
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--input-bg);
    font-size: 16px;
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

/* Логика анимации текста при вводе */
.input-group input:focus, 
.input-group textarea:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -22px;
    left: 5px;
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Согласие */
.form-policy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
    color: var(--text-muted);
}

.form-policy a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Кнопка */
.submit-btn  {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    background: var(--primary-color);
    background: linear-gradient(90deg, #007bff, #00c6ff);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /*transition: var(--transition);*/
    transition: background 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.submit-btn:hover {
    background: var(--primary-hover);
    background: linear-gradient(-90deg, #007bff, #00c6ff); 
    /*transform: translateY(-2px);*/
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    cursor:pointer;
}

.btn-icon {
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}
.submit-btn  [type=submit] {
    background:none;
    border:none;
    color:white;
    font-size:inherit;
    font-weight:inherit;
    cursor:pointer;
    text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 480px) {
    .form-wrapper {
        padding: 10px 25px!important;
    }
}
.address .tm-address-box {
    display:flex;
    flex-direction: column;
}
.address .tm-address-box {
    max-width: 100%;
    background: #ffffff;
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    overflow: hidden;
}
.address .tm-address-box h2 {
    margin:0;
}

/* Декоративная полоса сверху */
.address .tm-address-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* background: linear-gradient(90deg, #007bff, #00c6ff); */
}

/* Заголовок "Наши реквизиты" */
.address .tm-address-box p {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* Стили для текста внутри address */
.address .tm-address-box address {
    font-style: normal;
    color: #555;
    font-size: 0.95rem;
}

/* Оформление меток (Адрес, ИНН, ОГРНИП) */
/* В HTML они идут текстом, поэтому мы стилизуем их через выделение смысловых блоков */
.address .tm-address-box address br + br {
    display: block;
    content: "";
    margin-top: 10px;
}

/* Стилизация подзаголовков (Адрес, ИНН, ОГРНИП) */
/* Мы используем CSS, чтобы сделать их более заметными */
.address .tm-address-box address {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Эффект для цифр и значений */
.address .tm-address-box address {
    color: #333;
}

/* Если вы можете обернуть названия в <strong>, будет идеально. 
   Если нет — этот CSS делает текст аккуратным и чистым. */

.address .tm-address-box address br {
    margin-bottom: 4px;
}

/* Добавим иконку перед заголовком через CSS */
.address .tm-address-box p::before {
    content: "📋";
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Ховер эффект */
.address .tm-address-box:hover {
    /*transform: translateY(-5px);*/
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Кнопка "Наверх" */
.call-phone {
        position: fixed;
        bottom: 30px;
        right: 20px;
        width: 70px;
        height: 70px;
        background-color: #03ae34; /* Цвет из вашего сайта */
        background: url(/img/phone-phone.png) center;
        background-size:cover;
        border-radius: 50%;
        display: flex;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        z-index: 9999;
        border: 2px solid white;
        align-content: center;
        justify-content: center;
        display: none;
}
.back-to-top {
    position: fixed;
    bottom: 85px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #05347c; /* Цвет из вашего сайта */
    border-radius: 50%;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    border: 2px solid white;
    align-content: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: #05347c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 3px;
}

/* Показываем только на мобильных устройствах */
@media (min-width: 992px) {
    .back-to-top {
        /* display: block; */
        /* opacity: 1; */
        /* visibility: visible; */
        /* text-align: center; */
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .back-to-top {
        bottom: 120px!important;
        right: 35px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
.back-to-top.active {
    animation: fadeInUp 0.3s ease forwards;
}
.input-wrapper {
 width:100% 
}
input#phone  {
    color:#000000!important;
    width: 100%;
    max-width: none;
}
.photo-section {
    display:flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.section-miks {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.section-miks .image-item {
    color:#111;
    font-weight:600;
    background:white;
    margin:5px;
    padding:10px;
    width: 100%;
    max-width: 200px;
}
#tm-section-6  {
    width:100%;
    min-height: 100vh;
}
#tm-section-6 .row {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
/* Основные стили для секции */
#tm-section-6 {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.tm-section.tm-header-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Стили для заголовка */
#tm-section-7 h2 {
    color:#000000;
    text-shadow:none;
    text-align: left;
    text-transform: uppercase;
    font-weight: 900;
    background-color: white;
    padding: 10px 20px;
}
#tm-section-7 h3 {
    background-color:white;
    padding: 10px 20px;
    margin: 0 0 20px;
}
#tm-section-7 a {
    color:#0e79f2;
    font-weight:900;
    padding:0 4px;
}
#tm-section-7 hr {
    margin: 0;
}
.tm-header-text h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
}

.tm-text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Контейнер row */
.row {
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* margin-right: -15px; */
    /* margin-left: -15px; */
}
#tm-section-3 .row {
    margin:0
}

.tm-page-6-content {
    width: 100%;
}
.news-style {
    text-align:center;
    font-size:1.4rem;
    font-weight:bold;
    letter-spacing:normal;
    padding:8px;
    background:#ff0c00;
        background-image: linear-gradient(77.24deg,#fd8925 7.17%,#ff0c00 86.3%);
    color:white;
}
.swiper-slide {
    margin-bottom:25px;
}

/* Основной контейнер osn */
.osn {display: flex;gap: 15px;width: 100%;flex-wrap: wrap;justify-content: flex-end;align-items: flex-start;}

/* Общие стили для всех block-type */
.block-type {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.block-type:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Стили для заголовков внутри block-type */
.block-type h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
    color: #333;
    display: inline-block;
}

/* Галерейная сетка */
.floor-type-gallery {
    display: inline-block;
    width: calc(25% - 30px);
    margin: 10px;
    vertical-align: top;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.floor-type-gallery:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Контейнер для названия */
.floor-type-name {
    font-weight: 600;
    color: #555;
    padding: 12px;
    background: #f8f9fa;
    text-align: center;
    font-size: 90%;
    line-height: normal;
    border-bottom: 1px solid #e0e0e0;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Контейнер для изображения */
.floor-type-img {
    padding: 15px;
    text-align: center;
    background: #fff;
}

.floor-type-img a {
    display: block;
    cursor: pointer;
}

.floor-type-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    display: block;
    margin: 0 auto;
}

.floor-type-img img:hover {
    opacity: 0.9;
}

/* Адаптивность для разных экранов */
@media (max-width: 1200px) {
    .floor-type-gallery {
        width: calc(45% - 20px);
    }
}

@media (max-width: 992px) {
    .floor-type-gallery {
        width: calc(50% - 20px);
    }
    
    .block-type h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .button-group {
        display:flex;
        flex-direction: column;
    }
    .mobail-hide {
        padding:8px;
        margin: 0 0 10px;
        width: 100%;
        text-align: center;
    }
    .mobail-block {
        flex-direction: column-reverse;
        align-items: center;
    }
    .logo-mobail-min img {
        display:block;
        width: 90px;
        padding: 8px;
    }
    .section-3-team {
        display:flex;
        flex-direction: row;
        flex-wrap: wrap;
        min-height: 100px;
    }
    .tm-icon-circled {
        height:90px;
        width:90px;
    }
    #tm-section-6 {
        /* padding: 0; */
        /* margin: 0; */
    }
    
    .tm-header-text h2 {
        font-size: 2rem;
    }
    #tm-section-7 h2 {
        font-size:1.6rem;
        line-height:2.2rem
    }
    
    .osn {
        gap: 10px;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    
    .block-type {
        padding: 0;
        margin: 0;
    }
    
    .floor-type-gallery {
        width: calc(32% - 20px);
        margin: 10px;
    }
    #news-page .tm-content {
        margin-right:0!important
    }
    .wcommunity_cover {
        width:100%!important
    }
     .floor-toggle-btn {
        max-width: 250px!important;
    }
    .ral-toggle-btn {
        flex-direction: column;
        min-height: 100px;
    }
    .floor-description-type h5 {
        width: 100%!important;
    }
}

@media (max-width: 576px) {
    .floor-type-gallery {
        width: 100%;
        margin: 10px auto;
    }
    
    .block-type h2 {
        font-size: 1.3rem;
        display: block;
        text-align: center;
    }
    
    .floor-type-name {
        font-size: 100%;
    }
}

/* Индивидуальные стили для разных типов полов (можно добавить цветовые акценты) */
.floor-type-quartz .block-type h2 {
    border-bottom-color: #28a745;
}

.floor-type-not-flock .block-type h2 {
    border-bottom-color: #17a2b8;
}

.floor-type-flock .block-type h2 {
    border-bottom-color: #ffc107;
}

.floor-type-not-dust .block-type h2 {
    border-bottom-color: #fd7e14;
}

.floor-type-thin-layer .block-type h2 {
    border-bottom-color: #6f42c1;
}

/* Стили для fancybox (lightbox) */
.ulightbox {
    cursor: pointer;
}

/* Дополнительные эффекты при наведении */
.floor-type-gallery:hover .floor-type-name {
    background: #d9dedf;
    color: #196dff;
    transition: all 0.3s ease;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floor-type-gallery {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Задержки анимации для каждого элемента (можно настроить) */
.floor-type-gallery:nth-child(1) { animation-delay: 0.1s; }
.floor-type-gallery:nth-child(2) { animation-delay: 0.2s; }
.floor-type-gallery:nth-child(3) { animation-delay: 0.3s; }
.floor-type-gallery:nth-child(4) { animation-delay: 0.4s; }
.fancybox__caption {
    min-height: 1px;
    max-height: 20vh;
    max-width: 850px!important;
    display:flex;
    align-items: flex-start;
    background-color: white;
    color: black!important;
    padding: 10px 20px 20px!important;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: normal!important;
    margin: 10px auto!important;
    border-radius: 20px;
    justify-content: center;
    overflow-y: auto;
}
 /* Контейнер для позиционирования флага */
.input-wrapper {
 position: relative;
 display: flex;
 align-items: center;
}

/* Иконка флага (через CSS градиент, чтобы не загружать картинку) */
.flag-icon {
 position: absolute;
 left: 12px;
 width: 20px;
 height: 14px;
 box-shadow: 0 0 1px #999;
 background: linear-gradient(#fff 33.3%, #0039a6 33.3%, #0039a6 66.6%, #d52b1e 66.6%);
 pointer-events: none;
}

/* Сдвигаем текст в инпуте, чтобы он не накладывался на флаг */
.form-control.phone-with-flag {
 padding-left: 42px !important;
}

/* Фокус на обертке, если нужно подчеркнуть стиль */
.input-wrapper:focus-within .flag-icon {
 filter: brightness(1.1);
}
 
.tm-mail-form {
 max-width: 600px;
 margin: 20px auto;
 background: rgba(255, 255, 255, 0.85);
 padding: 30px;
 border-radius: 12px;
 border-top: 2px inset #000;
 color: #333;
 box-sizing: border-box;
 box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.form-group {
 display: flex;
 flex-direction: column;
 margin-bottom: 15px;
}

.form-group label {
 font-weight: bold;
 margin-bottom: 5px;
 font-size: 14px;
 color: #222;
}

.form-group label span {
 color: #af3329;
}

.form-control, 
.form-select {
 width: 100%;
 padding: 12px;
 border: 1px solid #ccc;
 border-radius: 5px;
 font-size: 16px;
 box-sizing: border-box;
 background-color: #fff;
 color: #000;
}

.form-control:focus, 
.form-select:focus {
 outline: none;
 border-color: #af3329;
 box-shadow: 0 0 5px rgba(175, 51, 41, 0.3);
}

.checkbox-group {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 margin: 20px 0;
 font-size: 13px;
 color: #333;
}

.checkbox-group input {
 margin-top: 3px;
 cursor: pointer;
 width: 16px;
 height: 16px;
}

.checkbox-group label {
 cursor: pointer;
 line-height: 1.4;
}

.checkbox-group a {
 color: #af3329;
 text-decoration: underline;
 font-weight: 500;
}

.submit-container {
 text-align: center;
}

.submit-popup-btn:hover {
 filter: brightness(1.1);
}

.tm-btn-submit:active {
 transform: scale(0.99);
}

@media (max-width: 768px) {
 .tm-mail-form {
 width: 100%;
 padding: 20px 15px;
 margin: 10px auto;
 }
}