﻿@charset "UTF-8";

* {
    margin: 0px;
    padding: 0px;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: #FDF3EA;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #232D67;
}

    a::after {
        text-decoration: none;
        color: #232D67;
    }


@font-face {
    font-family: 'MontseratR';
    src: url(../fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: 'MontseratM';
    src: url(../fonts/Montserrat-Medium.ttf);
}

@font-face {
    font-family: 'MontseratSB';
    src: url(../fonts/Montserrat-SemiBold.ttf);
}

@font-face {
    font-family: 'InstrumentSans.ttf';
    src: url(../fonts/InstrumentSans.ttf);
}

/* Прелоадер */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F3FAFA, #FDF3EA);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    #preloader.hide {
        opacity: 0;
        visibility: hidden;
    }

.preloader-content {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: pulse 1.5s infinite;
}

    .preloader-logo img {
        width: 180px;
        height: auto;
        filter: brightness(1);
    }

.preloader-spinner {
    margin: 30px auto;
    width: 60px;
    height: 60px;
    position: relative;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(49, 61, 134, 0.2);
    border-top-color: #313D86;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background: rgba(49, 61, 134, 0.2);
    border-radius: 4px;
    margin: 30px auto 0;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #D81E3E;
    border-radius: 4px;
    animation: progress 2s ease-out forwards;
}

.preloader-text {
    color: #313D86;
    font-family: 'MontseratR', sans-serif;
    font-size: 14px;
    margin-top: 20px;
    letter-spacing: 1px;
    animation: fadeInOut 1.5s infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes progress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.art {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.art-left {
    background-image: url('../img/left.webp');
    width: 200px;
    background-repeat: repeat-y;
    z-index: 10;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-position-x: left;
}

.art-right {
    background-image: url('../img/right.webp');
    width: 200px;
    background-repeat: repeat-y;
    z-index: 10;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-position-x: right;
}

.art-center {
    position: relative;
    z-index: 9;
    padding: 0 40px;
}

header {
    width: fit-content;
    display: flex;
    margin: 0 auto 25px;
    border: 1px solid #313D86;
    border-radius: 83px;
    padding: 8px 16px;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 5px;
    z-index: 1000;
}

.mini-block0 {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 800px;
    margin: auto;
}

.owl0 {
    display: none;
}

.owl3m {
    display: none;
}

.buttons {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    gap: 5px;
}

button {
    font-family: 'MontseratM';
    text-align: center;
    font-size: 14px;
    background: #313D86;
    color: #FFFFFF;
    border-radius: 100px;
    padding: 8px 16px;
    margin: auto;
    border: none;
    cursor: pointer;
}

    button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(49, 61, 134, 0.4);
    }

    button:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(49, 61, 134, 0.3);
    }

.button2 {
    font-family: 'MontseratM';
    text-align: center;
    font-size: 14px;
    background: #D81E3E;
    color: #FFFFFF;
    border-radius: 100px;
    padding: 8px 15px;
    margin: auto;
    border: none;
    cursor: pointer;
}

    .button2:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(132, 49, 49, 0.4);
    }

    .button2:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(132, 49, 49, 0.3);
    }

.hr-1 {
    border: none;
    height: 2px;
    background: #D6D6D6;
    border-radius: 5px;
    margin: 10px 0 20px;
}

.menu {
    display: flex;
    flex-direction: row;
    margin: auto;
    color: #232D67;
    gap: 10px;
    padding: 0 20px;
    text-align: center;
    font-size: 10px;
    font-family: 'MontseratSB';
}

.menu-btn {
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #232D67;
    border-radius: 10px;
    border: 1px;
}

.menu-btn:hover {
    background: rgba(216, 30, 62, 0.05);
}

    .menu-btn:hover::before {
        content: '';
        position: absolute;
        inset: 0px;
        border-radius: 10px;
        padding: 0.5px;
        background: #313D86;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        animation: borderPulse 0.3s ease;
    }

    .menu-btn.active {
        background: rgba(216, 30, 62, 0.05);
        transform: translateY(-1px);
        position: relative;
    }

        .menu-btn.active::before {
            content: '';
            position: absolute;
            inset: 0px;
            border-radius: 10px;
            padding: 0.5px;
            background: #313D86;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            animation: borderPulse 0.3s ease;
        }

@keyframes borderPulse {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.menu-btn-select {
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #232D67;
    border-radius: 10px;
    border: 1px;
}

    .menu-btn-select::before {
        content: '';
        position: absolute;
        inset: 0px;
        border-radius: 10px;
        padding: 0.5px;
        background: #313D86;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        animation: borderPulse 0.3s ease;
    }

.contacts {
    display: flex;
    flex-direction: column;
    margin: auto;
    font-family: 'MontseratR';
    color: #000000;
}

.phone {
    display: flex;
    flex-direction: row;
    font-size: 14px;
    gap: 20px;
}

.phone img {
    width: 19px;
    height: 19px;
}

/*.address {
    font-size: 12px;
}*/

.map-link {
    font-size: 12px;
    padding-bottom: 5px;
    text-decoration: underline;
    color: #000000;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
    margin: auto 0;
}

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #313D86;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #F3FAFA, #FDF3EA);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .mobile-menu.active {
        right: 0;
    }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(49, 61, 134, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: right;
    color: #313D86;
    margin: auto 0;
}

    .mobile-menu-close svg {
        width: 24px;
        height: 24px;
    }

    .mobile-menu-close:hover {
        transform: rotate(90deg);
        transition: transform 0.3s ease;
    }

.mobile-nav {
    flex: 1;
    padding: 20px 0;
}

.mobile-nav-link {
    display: block;
    text-decoration: none;
    color: #232D67;
    font-family: 'MontseratSB', sans-serif;
    font-size: 16px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

    .mobile-nav-link:hover {
        background: rgba(216, 30, 62, 0.05);
        border-left-color: #D81E3E;
        padding-left: 25px;
    }

    .mobile-nav-link.active {
        background: rgba(216, 30, 62, 0.05);
        border-left-color: #D81E3E;
        color: #D81E3E;
    }

.mobile-menu-btn {
    font-size: 16px;
    font-family: 'MontseratSB', sans-serif;
}

.mobile-menu-contacts {
    padding: 20px 20px 40px;
    border-top: 1px solid rgba(49, 61, 134, 0.1);
    margin-top: auto;
}

.mobile-phone {
    font-size: 20px;
    font-weight: bold;
    color: #313D86;
    margin-bottom: 12px;
    font-family: 'MontseratSB', sans-serif;
}

.mobile-social {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

    .mobile-social img {
        width: 48px;
        height: 48px;
        transition: transform 0.3s ease;
    }

        .mobile-social img:hover {
            transform: scale(1.1);
        }

.mobile-address {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-family: 'MontseratR', sans-serif;
    line-height: 1.4;
}

.mobile-callback {
    width: 100%;
    padding: 15px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Модальное окно Заявки */

.modal-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal-form.active {
        display: flex;
        opacity: 1;
    }

.modal-overlay-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.order {
    display: flex;
    margin: auto;
    justify-content: space-between;
    gap: 30px;
    padding-right: 40px;
    align-items: center;
}

.order-title {
    width: 400px;
}

.modal-container-form {
    position: relative;
    width: fit-content;
    margin: auto;
    z-index: 2001;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }

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

.modal-close-form {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 40%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

    .modal-close-form svg {
        width: 40px;
        height: 40px;
        color: #29298F;
    }

    .modal-close-form:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.modal-content-form {
    background: linear-gradient(to right bottom, #313D86, #272392, #9CCAFF);
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 70px 15px 15px 15px;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

    .modal-header h2 {
        font-size: 39px;
        color: #FFFFFF;
        font-family: 'MontseratSB', sans-serif;
        text-align: left;
        padding-left: 20px;
    }

    .modal-header p {
        font-size: 15px;
        color: #FFFFFF;
        font-family: 'MontseratR', sans-serif;
        text-align: left;
        width: 250px;
        padding-left: 20px;
    }

    .modal-header img {
        width: 350px;
        height: 300px;
        margin: 30px auto 0;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        mask: linear-gradient(to top, transparent 0%, red 30px calc(100% - 30px), transparent 100%), linear-gradient(to left, transparent 0%, red 50px calc(100% - 50px), transparent 100%);
        -webkit-mask: linear-gradient(to top, transparent 0%, red 30px calc(100% - 30px), transparent 100%), linear-gradient(to left, transparent 0%, red 50px calc(100% - 50px), transparent 100%);
        mask-composite: intersect;
        -webkit-mask-composite: source-in;
    }

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 430px;
    padding-right: 30px;
    background: white;
    padding: 20px;
    border: none;
    border-radius: 15px;
    margin: auto;
}

.form-title {
    font-size: 18px;
    color: #313D86;
    font-family: 'MontseratSB', sans-serif;
    text-align: left;
}

.form-data {
    display: flex;
    gap: 5px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group label {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        font-family: 'MontseratSB', sans-serif;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 14px;
        font-family: 'MontseratR', sans-serif;
        transition: all 0.3s ease;
        outline: none;
        background: #E1E4EB;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #313D86;
            box-shadow: 0 0 0 3px rgba(49, 61, 134, 0.1);
        }

        .form-group input.error,
        .form-group textarea.error {
            border-color: #e74c3c;
        }

.error-message {
    font-family: 'InstrumentSans.ttf';
    font-size: 12px;
    font-weight: bold;
    color: red;
    display: none;
}

    .error-message.active {
        display: block;
    }

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

    .checkbox-label input {
        display: none;
    }

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 7px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #E1E4EB;
}

.checkbox-label input:checked + .checkbox-custom {
    background: #313D86;
    border-color: #313D86;
}

    .checkbox-label input:checked + .checkbox-custom::after {
        content: '';
        position: absolute;
        left: 6px;
        top: 2px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.checkbox-text {
    font-family: 'InstrumentSans.ttf';
    font-size: 12px;
    flex: 1;
}

.submit-btn {
    background: #313D86;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px #313D86;
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    .submit-btn.loading {
        opacity: 0.7;
        cursor: not-allowed;
    }

.btn-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.success-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

    .success-message.active {
        display: flex;
    }

.success-content {
    background: white;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    max-width: 400px;
    animation: successSlideIn 0.3s ease;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-content svg {
    margin-bottom: 16px;
}

.success-content h3 {
    font-size: 24px;
    color: #2ecc71;
    margin-bottom: 12px;
}

.success-content p {
    color: #666;
    margin-bottom: 24px;
}

.success-close {
    background: #313D86;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .success-close:hover {
        background: #D81E3E;
        transform: translateY(-2px);
    }

.art{
    margin: 0 auto;
}

.layer {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #F3FAFA;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    mask: linear-gradient(to top, transparent 0%, red 10px calc(100% - 10px), transparent 100%), linear-gradient(to left, transparent 0%, red 10px calc(100% - 10px), transparent 100%);
    -webkit-mask: linear-gradient(to top, transparent 0%, red 10px calc(100% - 10px), transparent 100%), linear-gradient(to left, transparent 0%, red 10px calc(100% - 10px), transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

    .layer .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
    }

.block1 {
    padding: 15px 0 50px;
    max-width: 1920px;
    margin: auto;
}

.title1 {
    margin: auto;
    text-align: center;
    font-size: 25px;
    font-family: 'MontseratSB';
    color: #313D86;
}

.title2 {
    margin: auto;
    text-align: center;
    font-size: 41px;
    font-family: 'MontseratSB';
    color: #D81E3E;
}

.title3 {
    margin: auto;
    text-align: center;
    font-size: 22px;
    font-family: 'MontseratM';
    color: #0D0D0D;
}

.mini-block1 {
    background: #FFFFFF;
    display: flex;
    border-radius: 25px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    width: 750px;
    margin: 20px auto;
    padding: 16px 8px;
    row-gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.mini-block13 {
    width: 650px;
    display: flex;
    margin: 20px auto auto;
    gap: 5px;
    justify-content: center;
}

.unit {
    width: 190px;
    display: flex;
    flex-direction: row;
    font-family: 'InstrumentSans';
    font-size: 14px;
    color: #000000;
    gap: 5px;
    margin: auto;
    align-items: center;
}

.unit img {
    width: 35px;
    height: 35px;
}

.mini-block2 {
    display: flex;
    margin: auto;
    justify-content: center;
}

.mini-block2 img {
    margin: auto 0;
}

.discount-block {
    background: #FFFFFF;
    border: none;
    border-radius: 15px;
    display: flex;
}

    .pic1 {
        width: 400px;
        border-radius: 0 15px 15px 0;
    }

.discount-block-content {
    width: 400px;
    color: #313D86;
    font-family: 'MontseratSB';
    padding: 8px 16px;
}

.d-title {
    font-size: 35px;
}

.d-text1 {
    font-size: 22px;
}

.d-text2 {
    font-family: 'MontseratM';
    font-size: 12px;
    color: #000000;
    margin-top: 10px;
}

.d-btn {
    display: flex;
    padding: 10px 20px;
}

.d-btn img {
    width: 60px;
}

.block2 {
    display: flex;
    margin: auto;
    padding: 50px;
    justify-content: center;
    max-width: 1920px;
}

.pic2 {
    margin: auto 0;
    width: 400px;
    border-radius: 25px;
}

.personal {
    padding: 20px 80px;
}

.mini-block3 {
    width: 550px;
    display: flex;
    margin: auto auto 25px;
}

.p-title {
    font-family: 'InstrumentSans.ttf';
    font-weight: bold;
    color: #313D86;
    font-size: 18px;
    text-align: center;
    margin: auto;
}

.mini-block4 {
    display: flex;
    margin: auto;
    gap: 30px;
}

.mini-block4 img {
    margin: auto;
}

.marker {
    list-style-type: none;
    padding-left: 0;
    margin: auto;
}

    .marker li {
        font-family: 'InstrumentSans', 'InstrumentSans.ttf', Arial, sans-serif;
        font-weight: 500;
        color: #000000;
        font-size: 16px;
        margin: auto;
        display: flex;
        align-items: center; 
        gap: 10px;
        padding: 5px 0;
    }

        .marker li::before {
            content: "";
            flex-shrink: 0; 
            width: 14px;
            height: 14px;
            background-image: url('../img/marker.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

.p-text1 {
    font-family: 'MontseratSB';
    text-decoration: underline;
    font-size: 20px;
    color: #D81E3E;
    margin-bottom: 10px;
    text-align: center;
}

/* ===== НОВОСТНОЙ БЛОК ===== */

.news-block {
    background: linear-gradient(to bottom right, #FDF3EA, #FFFFFF);
    border-radius: 150px 20px 20px;
    padding: 30px 25px;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 4px;
    border: 1px solid #f0f0f0;
    width: 1000px;
}

.news-block-header {
    text-align: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

    .news-block-header .all-news-link {
        margin-left: auto;
        font-size: 14px;
        color: #e94560;
        text-decoration: none;
        font-weight: 500;
        transition: 0.3s;
    }

        .news-block-header .all-news-link:hover {
            color: #c73a54;
            text-decoration: underline;
        }

.title-news {
    margin: auto;
    text-align: center;
    font-size: 27px;
    font-family: 'MontseratSB';
    color: #313D86;
}

.sub-title-news {
    display: flex;
    justify-content: space-between;
    margin: auto 30px;
    padding: auto;
    text-align: center;
    font-size: 16px;
    font-family: 'MontseratSB';
    color: #000000;
}

.news-grid-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 600px;
  	overflow-y: auto;
  	box-shadow: rgba(0, 0, 0, 0.5) -1px 4px 4px;
  	background: #FFFFFF;
  	padding: 10px;
  	border-radius: 20px;
}

.news-card-block {
    display: flex;
    justify-content: space-between;
    background: #F4F6FB;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

    .news-card-block:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        border-color: #e94560;
    }

    .news-card-block img {
        width: 400px;
        height: 250px;
        object-fit: cover;
        display: block;
        border-radius: 25px;
        padding: 15px;    
    }

    .news-card-block .content {
        padding: 15px 18px 18px;
    }

    .news-card-block .date {
        font-size: 15px;
    	font-family: 'MontseratSB';
    	color: #313D86;
        margin-bottom: 6px;       
    }

    .news-card-block .title {
        font-size: 18px;
    	font-family: 'MontseratSB';
    	color: #313D86;
        margin-bottom: 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card-block .excerpt {
        font-size: 14px;
    	font-family: 'MontseratR';
    	color: #000000;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 12px;
    }

    .news-card-block .read-more-link {
        font-size: 13px;
        font-family: 'MontseratSB';
        color: #e94560;
        text-decoration: none;
        font-weight: 500;
        transition: 0.3s;
    }

        .news-card-block .read-more-link:hover {
            color: #c73a54;
            text-decoration: underline;
        }

.news-empty {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 16px;
    grid-column: 1 / -1;
}

.news-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            min-height: 60vh;
        }
        
        .news-page h1 {
            font-size: 32px;
            color: #1a1a2e;
            margin-bottom: 10px;
        }
        
        .news-page .subtitle {
            color: #888;
                text-align: center;
            margin-bottom: 30px;
        }
        
        .news-grid-page {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 25px;
        }
        
        .news-card-page {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.06);
            transition: 0.3s;
            border: 1px solid #f0f0f0;
        }
        
        .news-card-page:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        }
        
        .news-card-page img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .news-card-page .content {
            padding: 20px;
        }
        
        .news-card-page .date {
             font-size: 15px;
    		font-family: 'MontseratSB';
    		color: #313D86;
        	margin-bottom: 6px;  
        }
        
        .news-card-page .title {
                font-size: 18px;
    	font-family: 'MontseratSB';
    	color: #313D86;
        margin-bottom: 8px;
        }
        
        .news-card-page .excerpt {
        font-size: 14px;
    	font-family: 'MontseratR';
    	color: #000000;
             margin-bottom: 8px;   
        }
        
        .news-card-page .read-more {
                    font-size: 13px;
        font-family: 'MontseratSB';
        color: #e94560;
        text-decoration: none;
        }
        
        .news-card-page .read-more:hover {
            text-decoration: underline;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 30px;
            padding: 20px 0;
        }
        
        .pagination a {
            background: white;
            color: #1a1a2e;
            padding: 8px 20px;
            border-radius: 8px;
            text-decoration: none;
            border: 1px solid #e0e0e0;
            transition: 0.3s;
        }
        
        .pagination a:hover {
            background: #e94560;
            color: white;
            border-color: #e94560;
        }
        
        .pagination .active {
            background: #e94560;
            color: white;
            border-color: #e94560;
        }
        
        .pagination span {
            color: #888;
        }
        
        .empty-news {
            text-align: center;
            padding: 60px;
            color: #888;
        }              
        
        .news-full {
            margin: auto;
            width: 1000px;
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }
        
        .news-full h1 {
          font-size: 18px;
    	font-family: 'MontseratSB';
    	color: #313D86;
        margin-bottom: 8px;
        }
        
        .news-meta-full {
            color: #888;
            font-size: 14px;
            margin-bottom: 20px;
        }
        
        .news-meta-full .author {
            margin-left: 10px;
        }
        
        .news-full-image {
            width: 100%;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .news-content-full {
                    font-size: 14px;
    	font-family: 'MontseratR';
    	color: #000000;
             margin-bottom: 8px; 
        }

/* ===== НОВОСТНОЙ БЛОК - Конец ===== */

.mini-block5 {
    width: 500px;
    display: flex;
    margin: 50px auto;
    gap: 5px;
    justify-content: center;
}

.p-text2 {
    font-family: 'MontseratSB';
    font-size: 16px;
    color: #000000;
    margin: auto;
}

.mini-block6 {
    margin: auto 250px auto auto; 
    display: flex;
    justify-content: center;
    gap: 50px;
}

.mini-block6 img {
    margin-bottom: -30px;
    z-index: 2;
}

.owl4m, .owl5m {
    display: none;
}

.individ {
    display: flex;
    gap: 10px;
    justify-content: center;
}
    .individ img {
        margin: auto 0 auto auto;
    }

.title4 {
    margin: auto auto auto 0;
    text-align: left;
    font-size: 27px;
    font-family: 'MontseratSB';
    color: #313D86;
}

.problems {
    width: 1040px;
    display: flex;
    gap: 10px;
    row-gap: 25px;
    margin: 0 auto;
    flex-wrap: wrap;
    z-index: 3;
    justify-content: center;
    align-items: flex-start;
}

.problem-w {
    margin: 0 auto;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    width: 250px;
}

.problem-g {
    margin: 0 auto;
    border-radius: 16px;
    background: #E0F8F2;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    width: 250px;
}

.problem-b {
    margin: 0 auto;
    border-radius: 16px;
    background: #EEECFF;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    width: 250px;
}

.problem-y {
    margin: 0 auto;
    border-radius: 16px;
    background: #FAEDED;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    width: 250px;
}

.clip {
    margin: -18px auto auto 185px;
}

.problem {
    font-family: 'MontseratM';
    font-size: 14px;
    color: #000000;
    padding: 5px 25px 25px;
}

.block3 {
    display: flex;
    margin: auto;
    padding: 50px;
    justify-content: center;
    max-width: 1920px;
    flex-wrap: wrap;
}

.mini-block7 {
    display: flex;
    margin: auto;
    gap: 50px;
}

.mini-block7 img {
    width: 200px;
    margin: auto;
}

.g-title {
    font-size: 37px;
    font-family: 'MontseratSB';
    color: #313D86;
    text-align: center;
}

.g-text {
    font-family: 'MontseratM';
    font-size: 22px;
    color: #0D0D0D;
    text-align: center;
}

.group {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    gap: 5px;
    align-content: flex-start;
}

.group img {
    width: 80px;
    margin: 0 auto;
}

.mini-block8 {
    display: flex;
    margin: auto;
    gap: 20px;
    row-gap: 40px;
    width: 1100px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    width: 300px;
    padding: 15px;
    height: fit-content;
}

.card-title1 {
    display: flex;
    font-size: 21px;
    font-family: 'MontseratSB';
    color: #1A1A1A;
    text-align: center;
    margin: auto;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.card-date {
    display: flex;
    margin: auto;
    justify-content: space-between;
    font-family: 'MontseratM';
    font-size: 12px;
    color: #000000;
    padding: 2px 10px;
}

.card-title2 {
    font-size: 12px;
    font-family: 'MontseratSB';
    color: #000000;
    text-align: left;
    padding: 25px 5px 10px;
}

.card-list {
    font-family: 'MontseratM';
    font-size: 12px;
    color: #000000;
    width: 200px;
    margin: 0 auto;
    line-height: 1.5em;
}

.card-text {
    font-family: 'MontseratM';
    font-size: 12px;
    color: #000000;
    width: 250px;
    margin: 0 auto;
    line-height: 1.5em;
}

.advantage {
    margin: 90px auto 50px;
    border-radius: 150px 20px 20px 20px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    padding: 15px;
    width: fit-content;
    background: linear-gradient(to bottom, #F1F1F1, #FAEDED);
}

.mini-block9 {
    display: flex;
    margin: auto;
    gap: 5px;
    justify-content: flex-start;
}

.owl6 {
    width: 250px;
    height: 250px;
    margin: -125px 0px;
}

.advantage-title {
    display: flex;
    margin: 30px 50px auto;
    font-size: 33px;
    font-family: 'MontseratSB';
    color: #313D86;
    gap: 10px;
}

    .advantage-title img {
        width: 34px;
        height: 39px;
        margin: auto;
    }

.advantages {
    padding: 50px 50px 0;
    width: 900px;
}

.advantage-text1 {
    font-size: 16px;
    font-family: 'MontseratSB';
    color: #000000;
}

.advantage-text2 {
    font-family: 'MontseratM';
    font-size: 14px;
    color: #000000;
    text-indent: 10px;
}

.gallery {
    display: flex;
    background: #FDF3EA;
    border-radius: 30px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    max-width: 1000px;
    margin: auto;
    padding: 25px;
    flex-wrap: wrap;
}

.gallery-title {
    display: flex;
    margin: auto;
    font-size: 33px;
    font-family: 'MontseratSB';
    color: #313D86;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.gallery-title img {
    width: 38px;
    height: 29px;
    margin: auto 0;
}

    .gallery-title div {
        margin: auto 0;
    }

.gallery-text {
    width: 100%;
    margin: 10px auto;
    font-size: 16px;
    font-family: 'MontseratSB';
    color: #313D86;
    text-align: right;
    text-decoration: underline;
    padding-right: 30px;
}

.gallery-carousel {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 650px;
    margin: auto;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.owl7,
.owl8 {
    flex-shrink: 0;
    flex: 0 0 auto;
}

.mini-block10 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

.swiper-wrapper {
    padding-top: 50px;
    padding-bottom: 50px;
}

.owl7,
.owl8{
    width: clamp(120px, 22vw, 300px);
    height: auto;
    flex-shrink: 0;
}

/* Карусель */

.gallery-slider,
.center-wrap,
.swiper {
    width: 100%;
    min-width: 0;
}

.center-wrap {
    width: 100%;
}

.gallery-slider {
    position: relative;
    overflow:hidden;
    border-radius: 20px;
}

.swiper {
    width: 100%;
    height: auto;
    overflow:hidden;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    transform-origin: center center;
}

.swiper-slide{
    width: clamp(200px, 38vw, 320px);
}

.swiper-slide-active {
    z-index: 2;
}

.gallery__img-wrap {
    width: 100%;
    margin: auto;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.swiper-slide-active .gallery__img-wrap {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.swiper-slide:not(.swiper-slide-active) .gallery__img-wrap {
    opacity: 0.7;
    transform: scale(0.95);
}

.gallery__img {
    width: 100%;
    height: 100%;
    display: block;
}

    .gallery__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.gallery__img-wrap:hover img {
    transform: scale(1.05);
}

.custom-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 10;
}

.custom-pagination-bullet {
    position: relative;
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .custom-pagination-bullet.active {
        width: 40px;
        height: 10px;
        background: #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
    }

        .custom-pagination-bullet.active .timer-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0%;
            background: #313D86;
            border-radius: 4px;
            animation: progress 5s linear forwards;
        }

    .custom-pagination-bullet:not(.active):hover {
        background: #313D86;
        transform: scale(1.2);
    }

@keyframes progress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.custom-pagination-bullet.active.paused .timer-progress {
    animation-play-state: paused;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal.active {
        display: flex;
        opacity: 1;
    }

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.modal-container {
    position: relative;
    width: fit-content;
    max-width: 1200px;
    margin: auto;
    z-index: 2001;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

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

.modal-close {
    position: absolute;
    top: -10px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(176, 116, 116, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

    .modal-close svg {
        width: 20px;
        height: 20px;
        color: white;
    }

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
        border-color: rgba(255, 255, 255, 0.5);
    }

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    min-height: 400px;
    background: rgba(253, 243, 234, 0.3);
    overflow: hidden;
    margin-bottom: 50px;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 10px auto;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

    .modal-image.fade-out {
        opacity: 0;
    }

    .modal-image.fade-in {
        opacity: 1;
    }

.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 10;
}

    .modal-loader.active {
        display: block;
    }

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinnerRotate 0.8s linear infinite;
}

@keyframes spinnerRotate {
    to {
        transform: rotate(360deg);
    }
}

.modal-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(to top, rgba(162, 87, 87, 0.9), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
}

.modal-counter {
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}

.modal-nav {
    display: flex;
    gap: 12px;
}

.modal-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .modal-nav-btn:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .modal-nav-btn:active {
        transform: scale(0.95);
    }

.review-text {
    width: 100%;
    margin: 10px auto;
    font-size: 16px;
    font-family: 'MontseratSB';
    color: #313D86;
    text-align: left;
    text-decoration: underline;
    padding-left: 30px;
}

.contacts-title {
    display: flex;
    margin: auto;
    font-size: 33px;
    font-family: 'MontseratSB';
    color: #313D86;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.contacts-title img {
    width: 33px;
    height: 34px;
}

.mini-block11 {
    display: flex;
    margin: auto;
    padding: 30px;
    gap: 30px;
    justify-content: center;
}

.contact {
    background: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    width: 270px;
    padding: 25px;
}

.owl9m {
    display: none;
}

.contact-text1 {
    display: flex;
    gap: 10px;
    font-family: 'MontseratR';
    font-size: 20px;
    color: #000000;
    padding-bottom: 10px;
}

.contact-text2 {
    display: flex;
    gap: 10px;
    font-family: 'MontseratM';
    font-size: 16px;
    color: #000000;
    padding-bottom: 10px;
}

.contact-text3 {
    display: flex;
    gap: 10px;
    font-family: 'MontseratM';
    font-size: 24px;
    color: #000000;
    padding-bottom: 10px;
}

.social {
    display: flex;
    gap: 10px;
}

.social img {
    width: 30px;
    height: 30px;
}

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

.schedule-text1 {
    font-family: 'MontseratM';
    font-size: 20px;
    color: #000000;
}

.schedule-text2 {
    font-family: 'MontseratR';
    font-size: 20px;
    color: #000000;
}

.hr-2 {
    border: none;
    height: 1px;
    background: #81838D;
    border-radius: 1px;
    margin: 5px 0;
}

.schedule-text3 {
    font-family: 'MontseratR';
    font-size: 16px;
    color: #000000;
}

.sub-text {
    margin: -10px auto;
    width: 170px;
    font-family: 'MontseratM';
    font-size: 9px;
    color: #000000;
}

.mini-block12 {
    display: flex;
    margin: auto;
    padding: 30px;
    justify-content: center;
    align-items: center;
}

    .mini-block12 img {
        width: 380px;
        height: 380px;
    }

.map {
    width: fit-content;
    height: fit-content;
    background: #D9F2F7;
    border-radius: 16px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.5);
    padding: 15px;
}

.map-mob{
    display: none;
}

.hr-3 {
    height: 2px;
    border: none;
    background: linear-gradient( to right, transparent 0%, #313D86 25%, #313D86 75%, transparent 100% );
    margin: 20px 0;
}

footer {
    margin: auto;
    width: 1000px;
}

.footer-line {
    width: 900px;
    display: flex;
    margin: auto;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 100px;
}

.footer-text {
    font-family: 'MontseratM';
    font-size: 15px;
    color: #000000;
    line-height: 1.5em;
    text-align: left;
}

.f-textm {
    display: none;
}

.f-text2 {
    margin-left: 50px;
}

/* Галерея */
.photo-block {
    display: flex;
    gap: 20px;
    width: 1200px;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
    padding: 50px;
}

.photo-block img {
    width: 210px;
    height: 280px;
    border: none;
    border-radius: 30px;
}

/* Персонал */

.back {
    width: 1200px; 
    margin: auto;
}

.photo-personal {
    display: flex;
    gap: 20px;
    width: 1200px;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
    padding: 50px;
}

.personal-col {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.line {
    width: 15px;
    background: #D9D9D9;
}

.staff {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

    .staff img {
        width: 240px;
        height: 300px;
        margin: auto;
    }

.staff-text {
    width: 320px;
    text-align: center;
    font-family: 'MontseratM';
    font-size: 16px;
    color: #0D0D0D;
}

.photo-personal-m {
    display: none;
}

    .photo-personal-m .staff {
        height: 400px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .photo-personal-m img {
        margin: 0 auto;
    }

    .photo-personal-m .staff-text {
        margin: 0 auto;
    }

/* Прайс */
.price-title {
    margin: auto auto 30px;
    font-size: 17px;
    font-family: 'MontseratSB';
    color: #D81E3E;
    max-width: 1000px;
    text-align: center;
}

.price-order {
    margin: auto auto 5px;
    font-size: 14px;
    font-family: 'MontseratR';
    color: #000000;
    max-width: 1200px;
    text-align: right;
    font-style: italic;
}

.price-table {
    max-width: 1200px;
    border-collapse: collapse;
    border-spacing: 0;
    height: auto;
    border: 1px solid #313D86;
    margin: auto auto 30px;
    background: #F3FAFA;
}

    .price-table td {
        padding: 5px 10px;
        border: 1px solid #313D86;
    }

.table-title {
    margin: auto;
    font-size: 25px;
    font-family: 'MontseratSB';
    color: #000000;
    max-width: 1000px;
    text-align: center;
    text-decoration: underline;
}

.table-col-title {
    margin: auto;
    font-size: 15px;
    font-family: 'MontseratSB';
    color: #000000;
    text-align: center;
    font-style: italic;
}

.table-text {
    font-size: 20px;
    font-family: 'MontseratM';
    color: #000000;
    text-align: left;
}

.table-data {
    text-align: center;
    width: 180px;
}

.table-data-sp {
    text-align: center;
    width: 250px;
}

.table-text-sp {
    width: 660px;
}

.note {
    width: 1100px;
    margin: auto;
    font-size: 15px;
    font-family: 'MontseratM';
    color: #000000;
    font-style: italic;
}

.note-line {
    margin-bottom: 5px;
}

/* Документы */

.document-title {
    margin: auto auto 30px;
    font-size: 25px;
    font-family: 'MontseratSB';
    color: #000000;
    max-width: 1000px;
    text-align: center;
}

.document-subtitle {
    margin: auto auto 5px;
    padding-left: 10px;
    font-size: 22px;
    font-family: MontseratR;
    color: #000000;
    max-width: 1000px;
    text-align: left;
    text-decoration: underline;
}

.document-text {
    margin: auto;
    max-width: 1000px;
    font-size: 20px;
    font-family: 'MontseratM';
    color: #000000;
    text-align: justify;
}

.document-text-red {
    color: #D81E3E;
}

.document-text-blue {
    color: #313D86;
    font-style: italic;
}

.document-text p {
    text-indent: 30px;
}

.document-list {
    padding-left: 50px;
}

.document-table {
    max-width: 1000px;
    border-collapse: collapse;
    border-spacing: 0;
    height: auto;
    border: 1px solid #313D86;
    margin: 10px auto;
    text-align: left;
}

    .document-table td {
        padding: 5px;
        border: 1px solid #313D86;
    }

/* Аккордеон */
.accordion {
    max-width: 800px;
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px 0;
}

    .accordion-item {
        margin-bottom: 16px;
        transition: all 0.3s ease;
    }

    .accordion-header {
        width: 90%;
        padding: 20px 24px;
        background: white;
        border: none;
        text-align: left;
        font-size: 18px;
        font-weight: 600;
        font-family: 'MontseratSB', sans-serif;
        color: #313D86;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
        border-radius: 12px;
    }

        .accordion-header:hover {
            background: #f8f9fa;
            color: #D81E3E;
        }

    .accordion-item.active .accordion-header {
        background: #f8f9fa;
        color: #D81E3E;
        border-radius: 12px 12px 0 0;
    }

    .accordion-icon {
        font-size: 24px;
        font-weight: 300;
        transition: transform 0.3s ease;
        color: #313D86;
    }

    .accordion-item.active .accordion-icon {
        transform: rotate(45deg);
        color: #D81E3E;
    }

    .accordion-content {
        margin: 0 auto;
        width: 90%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: white;
        border-radius: 0 0 12px 12px;
    }

    .accordion-item.active .accordion-content {
        max-height: 1000px;
    }

    .accordion-content-inner {
        padding: 24px 24px 24px 24px;
        color: #555;
        font-size: 15px;
        line-height: 1.6;
        font-family: 'MontseratR', sans-serif;
    }

        .accordion-content-inner p {
            margin: auto;
        }

        .accordion-content-inner ul {
            margin: 12px 0;
            padding-left: 20px;
        }

        .accordion-content-inner li {
            margin-bottom: 8px;
        }

    @keyframes rotateIcon {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(45deg);
        }
    }

/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (min-width: 1920px) {
    .modal-image {
        max-height: 85vh;
    }
}

@media (max-width: 1300px) {
    .back {
        width: 90%;
        margin: auto auto 20px;
    }

    .block1 {
        padding: 50px 20px 0;
    }

    .line {
        display: none;
    }

    .photo-personal {
        display: none;
    }

    .photo-personal-m {
        display: flex;
        gap: 20px;
        width: fit-content;
        flex-wrap: wrap;
        margin: auto;
        justify-content: center;
        padding: 50px;
    }

    .photo-block {
        width: 90%;
        flex-wrap: wrap;
        padding: 20px;
    }

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

@media (max-width: 1200px) {
    header {
        width: calc(100% - 50px);
        justify-content: space-between;
        margin: 10px auto;
        padding: 10px 20px;
        gap: 15px;
    }

        header img {
            margin: auto 0;
        }

        header button, .button2 {
            margin: auto 0;
            padding: 6px 12px;
            font-size: 12px;
        }

    .pic0 {
        display: none;
    }

    .order {
        display: block;
    }

    .callback-form {
        margin: auto;
    }

    .art-left {
        display: none;
    }

    .art-right {
        display: none;
    }

    .mini-block0 {
        width: 90%;
    }

    .mini-block1 {
        width: 750px;
        flex-wrap: wrap;
    }

    .discount-block {
        width: 90%;
        justify-content: space-between;
    }

    .owl0 {
        display: block;
    }

    .owl1, .owl2, .owl3, .owl4, .owl5, .owl9 {
        display: none;
    }

    .owl3m {
        display: flex;
        margin: auto;
        padding-right: 100px;
    }

    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .contacts {
        display: none;
    }

    .owl4m, .owl5m {
        display: flex;
        margin: auto;
    }
            
    .news-block {
    	width: 90%;
        margin: auto;
	}

    .mini-block6 {
        display: flex;
        justify-content: center;
        margin: 0 auto 30px;
    }

    .personal {
        padding: 20px 20px;
    }

    .block1, .block2, .block3 {
        padding: 80px 20px 30px;
    }

    .problems {
        width: 800px;
    }

    .advantage {
        width: 90%;
        padding: 20px;
        margin: 30px auto;
    }

    .advantages {
        width: 90%;
        padding: 20px;
    }

    .group0 {
        display: flex;
        justify-content: center;
    }

        .group0 img {
            width: 130px;
            height: 130px;
        }

    .mini-block8 {
        justify-content: center;
    }

    .card {
        margin: 0;
    }
        
    .gallery {
        width: 95%;
    }

    .gallery-text {
        font-size: 28px;
    }

    .review-text {
        font-size: 28px;
        padding-left: 0;
    }

    .mini-block11 {
        width: 800px;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    footer {
        width: 90%;
    }

    .footer-line {
        width: 90%;
    }

    .owl9m {
        display: block;
        width: 250px;
        height: 250px;
        padding: 0 30px;
    }

    .footer-line img {
        margin: auto auto 20px;
    }

    .f-text {
        display: none;
    }

    .f-textm {
        display: block;
        margin: auto;
    }

    .footer-text {
        width: 90%;
        text-align: center;
    }

    .f-text2 {
        margin: auto;
    }

    .social {
        justify-content: center;
    }

    .social img {
        width: 40px;
        height: 40px;
    }

    .contact {
        text-align: center;
    }

    .contact-text3 {
        justify-content: center;
        text-align: center;
        margin: auto;
    }
            
    .news-full {
        width: 90%;
    }
        
    .note {
        width: 90%;
    }
}

@media (min-width: 1024px) {
    .gallery-carousel {
        max-width: 800px;
    }
}

@media (max-width: 1000px) {

    .art-center {
        padding: 0px;
    }

    .discount-block-content {
        width: 300px;
    }

    .pic1 {
        width: 400px;
        height: 310px;
    }

    .problems {
        width: 90%;
        justify-content: center;
    }

    .problem-w, .problem-b, .problem-g, .problem-y {
        margin: 0;
        width: 300px;
    }

    .problem {
        font-size: 19px;
    }

    .mini-block11 {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .news-grid-block {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .mini-block1 {
        width: 90%;
        flex-wrap: wrap;
    }

    .mini-block2 {
        width: 40%;
    }

    .discount-block {
        flex-wrap: wrap;
        justify-content: center;
        width: fit-content;
    }

    .d-title {
        font-size: 24px;
    }

    .d-text1 {
        font-size: 18px;
    }

    .pic1 {
        width: 350px;
        height: 250px;
        border-radius: 0 0 15px 15px;
    }

    .d-btn {
        gap: 10px;
    }

    .advantage-title {
        font-size: 25px;
        align-items: center;
        margin: 30px auto;
    }

    .owl6 {
        width: 200px;
        height: 200px;
    }
            
    .news-card-block {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
            
        .news-card-block img {
            margin: auto;
            width: 90%;
            height: 250px;  
        }

    .advantage-title img {
        width: 34px;
        height: 39px;
    }
        

    .mini-block10{
        flex-direction:column;
        align-items:center;
    }

    .gallery-carousel {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 15px 0;
        height: auto;
    }
    
    .gallery-slider{
        padding:0;
    }
    
    .swiper{
        overflow:hidden;
    }
        
    .swiper-slide{
        height:auto;
    }
        
    .gallery__img-wrap{
        width:100%;
        min-height:220px;
    }

    .mini-block10 {
        flex-direction: column;
    }

    .owl7,
    .owl8 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .modal-content-form {
        padding: 24px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .submit-btn {
        padding: 12px 24px;
    }

    .modal-container {
        width: 95%;
    }

    .modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
    }

        .modal-close svg {
            width: 16px;
            height: 16px;
        }

    .modal-info {
        padding: 12px 16px;
    }

    .modal-counter {
        font-size: 12px;
        padding: 4px 12px;
    }

    .modal-nav-btn {
        width: 36px;
        height: 36px;
    }

        .modal-nav-btn svg {
            width: 16px;
            height: 16px;
        }

    .accordion-header {
        padding: 16px 20px;
        font-size: 16px;
    }

    .accordion-content-inner {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }

    .accordion-icon {
        font-size: 20px;
    }
}

@media (max-width: 750px) {
    .problems {
        width: 95%;
    }

    .problem-w, .problem-b, .problem-g, .problem-y {
        width: 250px;
    }
        
    .gallery-text {
        font-size: 19px;
        text-align: center;
    }

    .review-text {
        font-size: 19px;
        text-align: center;
    }
            
    .news-full {
        width: 85%;
    }
            
    .document-title {
        font-size: 20px;
    }

    .document-subtitle {
        font-size: 17px;
    }

    .document-text {
        font-size: 15px;
    }
            
    .price-table:{
            padding-left: 10px;
            padding-right: 10px;
            }
            
    .table-title {
        font-size: 15px;
    }

    .table-col-title {
        font-size: 12px;
    }

    .table-text {
        font-size: 15px;
    }

    .table-data {
        text-align: center;
        width: 15%;
    }

    .table-data-sp {
        text-align: center;
        width: 20%;
    }

    .table-text-sp {
        width: 50%;
    }
}

@media (max-width: 650px) {

    header {
        padding: 10px;
    }

    .form-data {
        display: block;
    }

    .form-group {
        padding-top: 10px;
    }

    .modal-content-form {
        width: 330px;
        padding: 10px;
    }

    .order {
        padding: 10px;
    }

    .callback-form {
        width: 275px;
    }

    .block1 {
        width: 100%;
    }

    .mini-block1 {
        width: 340px;
    }

    .unit {
        width: 165px;
    }

    .title1 {
        font-size: 18px;
    }

    .title2 {
        font-size: 30px;
    }

    .title3 {
        font-size: 16px;
    }

    .owl0 {
        width: 100px;
        height: 100px;
    }

    .pic1 {
        width: 340px;
        height: 200px;
        border-radius: 0 0 15px 15px;
    }

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

    .p-text2 {
        padding-left: 10px;
    }

    .sub-marker {
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .mini-block3 {
        width: 90%;
        gap: 10px;
    }

        .mini-block3 img {
            width: 38px;
            height: 70px;
        }

    .block1, .block2 {
        padding: 20px 0;
    }

    .p-title {
        font-size: 16px;
    }

    .owl6 {
        width: 100px;
        height: 100px;
        margin: -25px 0px;
    }

    .advantage-title img {
        width: 34px;
        height: 39px;
    }

    .personal {
        width: 100%;
    }

    .mini-block5 {
        width: 340px;
        margin: 20px auto 0;
    }

        .mini-block5 img {
            width: 31px;
            height: 31px;
        }

    .sub-title-news {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .mini-block13 {
        width: 340px;
        margin: 20px auto 0;
    }

        .mini-block13 img {
            width: 31px;
            height: 31px;
        }

    .owl7, .owl8 {
        width: 200px;
        height: 200px;
        margin: auto;
    }

    .map {
        display: none;
    }

    .map-mob {
        display: flex;
        width: fit-content;
        height: fit-content;
        background: #D9F2F7;
        border-radius: 16px;
        box-shadow: 0 4px 4px rgba(0,0,0,0.5);
        padding: 10px;
        margin: auto;
    }

    .individ {
        width: 95%;
    }

    .title4 {
        font-size: 24px;
    }

    .mini-block11 {
        padding: 10px;
    }

    .advantage {
        width: 90%;
        padding: 10px;
    }

    .group0 img {
        width: 100px;
        height: 100px;
    }

    .photo-personal-m {
        padding: 10px;
    }


    .document-text {
        padding-left: 10px;
        padding-right: 10px;
        text-align: left;
    }

    .price-table td {
        padding: 5px 5px;
    }
}

@media (max-width: 600px) {
    .news-full {
        padding: 20px;
    }

        .news-full h1 {
            font-size: 24px;
        }

    .news-content-full {
        font-size: 16px;
    }

    .news-block {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .news-grid-block {
        grid-template-columns: 1fr;
    }

    .news-block-header {
        flex-wrap: wrap;
    }

        .news-block-header .all-news-link {
            margin-left: 0;
            width: 100%;
        }

    .news-page {
        padding: 20px 15px;
    }

    .news-grid-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {

    .problem {
        font-size: 14px;
    }

    .problem-w, .problem-b, .problem-g, .problem-y {
        width: 200px;
    }

    .clip {
        margin: -18px auto auto 140px;
    }
}

@media (max-width: 480px) {

    .mobile-menu {
        max-width: 100%;
    }

    .mobile-nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }

    .mobile-menu-btn {
        font-size: 14px;
    }

    .mobile-phone {
        font-size: 16px;
    }

    header button, .button2 {
        padding: 6px 10px;
        font-size: 11px;
    }

    .problem {
        font-size: 12px;
        padding: 5px 10px 20px;
    }

    header img {
        width: 100px !important;
        height: 40px !important;
    }

    .problem-w, .problem-b, .problem-g, .problem-y {
        width: 160px;
    }

    .clip {
        margin: -18px auto auto 90px;
    }

    .advantage-title {
        font-size: 20px;
    }

    .table-title {
        font-size: 12px;
    }

    .table-col-title {
        font-size: 10px;
    }

    .table-text {
        font-size: 12px;
    }

    .price-table td {
        padding: 5px 3px;
    }

    .note {
        font-size: 10px;
    }
}