/*-----------------------------------------------------------------------------------*/
/*	OPTIMIZED STYLE.CSS - ПРАВИЛЬНЫЙ АДАПТИВ БЕЗ ВЫСОТ
/*-----------------------------------------------------------------------------------*/

/*========== RESET ==========*/
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:focus {
    outline: 0 !important;
}

figure {
    margin: 0;
    padding: 0;
}

figure img {
    width: 100%;
    height: auto;
}

iframe {
    border: none;
}

::selection {
    background: #f5f4ed;
    color: #000;
}

::-moz-selection {
    background: #f5f4ed;
    color: #000;
}

/*========== FONTS ==========*/
@font-face {
    font-family: "MonitoricaRG";
    src: url("Font/CeraPro-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "MonitoricaBd";
    src: url("Font/CeraPro-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "MonitoricaRG2";
    src: url("Font/CeraPro-Light.ttf");
    font-style: normal;
    font-weight: normal;
}

/*========== GENERAL ==========*/
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'MonitoricaRG', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

body.modal-open {
    overflow: hidden !important;
}

body,
address {
    line-height: 1.6;
}

input,
button,
select,
textarea {
    font-family: 'MonitoricaRG', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

strong,
b {
    font-family: 'MonitoricaBd', Arial, sans-serif;
    font-weight: 400;
}

a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #d32f2f;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'MonitoricaRG', Arial, sans-serif;
    margin: 0 0 1rem 0;
    color: #000;
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 1rem 0;
}

ul,
ol {
    margin: 0 0 1rem 0;
    padding-left: 20px;
}

li {
    margin-bottom: 0.5rem;
}

/*========== КОНТЕЙНЕР - ГЛАВНОЕ ОГРАНИЧЕНИЕ ==========*/
.container,
.white-wrapper,
.body-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    height: auto !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 15px;
}

.row > div,
[class*="col-"] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: auto !important;
    padding: 0 7.5px;
}

/*========== UTILITIES ==========*/
.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.no-height {
    height: auto !important;
}

.padding-top {
    padding-top: 20px;
}

.margin-top {
    padding-top: 20px;
}

.margin-top-down {
    margin-top: 0;
}

.margin-top2 {
    margin-top: 20px;
}

.hidden-xs {
    display: block !important;
}

.hidden-sm {
    display: block !important;
}

.hidden-md {
    display: block !important;
}

.hidden-lg {
    display: block !important;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

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

/*========== IMAGES & MEDIA ==========*/
img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
}

video {
    max-width: 100%;
    height: auto;
}

/*========== FORMS ==========*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #000;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    border-radius: 0;
    margin-bottom: 15px;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: #fff;
    border-color: #d32f2f;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

button,
.btn,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
    padding: 12px 30px;
    border: none;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 0;
    width: auto;
    text-align: center;
    font-family: inherit;
    display: inline-block;
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #d32f2f;
}

/*========== MODAL STYLES ==========*/
.celatus-modal {
    display: none !important;
    position: fixed !important;
    z-index: 9999999 !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    animation: fadeIn 0.3s ease-in !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: auto !important;
}

.celatus-modal.active {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999999 !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.celatus-modal-content {
    background-color: white !important;
    padding: 40px !important;
    border-radius: 0 !important;
    width: 90vw !important;
    max-width: 650px !important;
    min-width: 300px !important;
    position: relative !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    animation: slideUp 0.3s ease-out !important;
    border: none !important;
    margin: auto !important;
    box-sizing: border-box !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    z-index: 9999999 !important;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.celatus-modal-content h2 {
    margin: 0 0 30px 0 !important;
    font-size: 24px !important;
    font-weight: normal !important;
    color: #000 !important;
    padding: 0 !important;
}

.celatus-modal-close {
    position: absolute !important;
    right: 20px !important;
    top: 20px !important;
    font-size: 28px !important;
    font-weight: bold !important;
    border: none !important;
    background: none !important;
    color: #000 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

.celatus-modal-close:hover {
    color: #d32f2f !important;
}

.celatus-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.celatus-form input,
.celatus-form select,
.celatus-form textarea {
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    background: #f9f9f9 !important;
    color: #000 !important;
    font-size: 14px !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.celatus-form input:focus,
.celatus-form select:focus,
.celatus-form textarea:focus {
    outline: none !important;
    background: #fff !important;
    border-color: #d32f2f !important;
    box-shadow: none !important;
}

.celatus-form input::placeholder,
.celatus-form textarea::placeholder {
    color: #999 !important;
}

.celatus-form select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 20px !important;
    padding-right: 35px !important;
    cursor: pointer !important;
}

.btn-submit {
    background-color: #000 !important;
    color: white !important;
    width: 100% !important;
    padding: 12px 30px !important;
}

.btn-submit:hover {
    background-color: #d32f2f !important;
}

.btn-price {
    background-color: #0088cc !important;
    color: white !important;
    width: 100% !important;
    padding: 12px 30px !important;
    margin-top: 10px !important;
}

.btn-price:hover {
    background-color: #0077b5 !important;
}

.form-note {
    font-size: 12px !important;
    color: #999 !important;
    margin: 20px 0 0 0 !important;
    text-align: center !important;
    padding: 0 !important;
}

/*========== SECTIONS ==========*/
section {
    width: 100%;
    padding: 40px 0;
}

.cd-section {
    width: 100%;
    padding: 40px 0;
    height: auto !important;
}

/*========== LAYOUT ==========*/
.main-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}

.dark-wrapper,
.white-wrapper {
    background: #fff;
    width: 100%;
    height: auto !important;
    padding: 40px 15px;
}

/*========== TABLES ==========*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th,
td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background: #f5f5f5;
    font-weight: 500;
}

/*========== LISTS ==========*/
.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

/*========== RESPONSIVE DESIGN - ТОЛЬКО ШИРИНА ==========*/

/* ДЕСКТОП (1200px и выше) */
@media (min-width: 1201px) {
    .hidden-lg {
        display: none !important;
    }

    .hidden-sm {
        display: block !important;
    }

    html {
        font-size: 16px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

/* ПЛАНШЕТ И БОЛЬШОЙ МОБИЛЬНЫЙ (768px - 1200px) */
@media (max-width: 1200px) {
    .container,
    .white-wrapper,
    .body-wrapper {
        max-width: 100%;
    }

    html {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    input,
    button,
    select,
    textarea {
        font-size: 16px;
    }
}

/* ПЛАНШЕТ (768px - 991px) */
@media (max-width: 991px) {
    .hidden-md {
        display: none !important;
    }

    .row > div {
        flex: 0 0 100%;
    }

    .container,
    .white-wrapper {
        padding: 0 12px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    section {
        padding: 30px 0;
    }
}

/* МОБИЛЬНЫЙ (480px - 768px) */
@media (max-width: 768px) {
    .hidden-sm {
        display: none !important;
    }

    .hidden-mobile {
        display: none !important;
    }

    .visible-mobile {
        display: block !important;
    }

    html {
        font-size: 16px;
    }

    body {
        font-size: 16px;
    }

    .container,
    .white-wrapper {
        padding: 0 12px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 16px;
    }

    input,
    button,
    select,
    textarea {
        font-size: 16px;
    }

    button,
    .btn {
        padding: 10px 20px;
        width: 100%;
    }

    section {
        padding: 25px 0;
    }

    .celatus-modal-content {
        width: 95vw;
        padding: 25px 20px;
    }

    .row {
        gap: 10px;
    }
}

/* МАЛЕНЬКИЙ МОБИЛЬНЫЙ (до 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    .container,
    .white-wrapper {
        padding: 0 10px;
    }

    h1 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 0.95rem;
    }

    h5,
    h6 {
        font-size: 0.9rem;
    }

    p {
        font-size: 14px;
    }

    input,
    button,
    select,
    textarea {
        font-size: 16px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        padding: 10px 12px;
        font-size: 16px;
    }

    button,
    .btn {
        padding: 10px 15px;
        width: 100%;
        font-size: 13px;
    }

    section {
        padding: 20px 0;
    }

    .celatus-modal-content {
        width: 100%;
        padding: 20px 15px;
    }

    .celatus-modal-content h2 {
        font-size: 20px;
    }

    .row {
        gap: 8px;
    }

    ul,
    ol {
        padding-left: 15px;
    }

    table {
        font-size: 13px;
    }

    th,
    td {
        padding: 8px;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЙ (до 360px) */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .container,
    .white-wrapper {
        padding: 0 8px;
    }

    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1rem;
    }

    button,
    .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/*========== УТИЛИТЫ DISPLAY ==========*/
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.invisible {
    visibility: hidden;
}

/*========== SPACING ==========*/
.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.p-0 {
    padding: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

/*-----------------------------------------------------------------------------------*/
/*	END OPTIMIZED STYLE.CSS
/*-----------------------------------------------------------------------------------*/