body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

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

.social_block_fixed {
    padding: 5px;
    background-color: #FFFFFF;
    position: fixed;
    bottom: 35px;
    right: 3%;
    border-radius: 6px;
    border: 1px solid #E5E5E5;
    z-index: 11;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px;
}

.social_block_fixed a {
    font-size: 40px;
    color: #0B1354;
    transition: 0.2s ease;
}

.social_block_fixed a:hover {
    color: #122194;
}



.wrapper {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    position: fixed;
    background-color: white;
    width: 100%;
    height: 80px;
    z-index: 100;
    top: 0;
    left: 0;
    box-shadow: 0 1px 50px rgb(33 90 95);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    height: 40px;
    width: 100%;
    padding: 0 20px;
}

.header-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-menu-wrapper a {
    color: #0B1354;
    font-weight: 600;
}

.header-menu-wrapper a:hover {
    text-decoration: underline !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img{
    height: 70px;
}

.logo-text {
    font-weight: 600;
    font-size: 16px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #0B1354;
}

.header-menu a {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    color: white !important;
    background-color: #E7A43B;
    font-weight: 800;
    transition: 0.1s ease;
}

.header-menu a:hover {
    background-color: #b97c1d;
}

.header-menu span {
    font-weight: 800;
}

.header-menu li a {
    text-decoration: none;
    color: #0B1354;
}

.header-menu li a:hover {
    color: #0b1354d5;
}

.main-section {
    background-image: url('/img/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0px;
    padding-top: 130px;
    flex-wrap: wrap;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.main-content-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 50%;
}

.main-content-text span {
    font-size: 60px;
}

.main-content-text h2 {
    font-size: 50px;
    color: white;
    margin: 0;
    font-weight: 800;
}

.main-content-text h3 {
    font-size: 30px;
    color: #ffffff;
    margin: 0;
    font-weight: normal;
}

.main-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.main-list .list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    justify-content: space-between;
    border: 1px solid #F79E95;
    color: white;
    border-radius: 6px;
}

.main-list .list-item span {
    font-size: 20px;
}

.video-container video {
    border-radius: 10px;
}

.text-video-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.info-section {
    padding: 10px 0px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.default .main-drevo-title {
    margin: 30px 0px !important;
    font-size: 40px;
}


.big-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
}

.big-card {
    width: 30%;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #e1e1e1;
    padding: 20px;
}

.big-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #d1d1d1;
}

.big-card h3 {
    font-size: 18px;
    color: #4FB391;

}

.big-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.big-card .demo-link {
    font-size: 14px;
    color: #4FB391;
    text-decoration: none;
    font-weight: bold;
}


.phone-section {
    background-color: #22445D;
    min-height: 160px;
}


.wrapper-phone {
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.phone-input {
    min-width: 600px;
    width: 100%;
    padding: 20px !important;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.tel-form-area {
    display: flex;
    gap: 20px;
}


.tel-form-area input:focus {
    outline: none;
}

.btn {
    padding: 20px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    flex-grow: 1;

    color: white;
    background-color: #4FB391;
}

.btn:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-1px);
}

.or-text {
    font-size: 30px;
    margin: 0 10px;
    font-weight: bold;
}

.phone-section {
    background-color: #1E3C56;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accordion {
    display: flex;
    flex-direction: column;
    align-items: top;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px !important;
}

.accordion-section {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accordion-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.accordion-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    padding: 16px 16px;
    background-color: #F79E95;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.icon-wrapper:hover {
    background-color: #e49289;
}

.accordion-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.accordion-toggle:checked+.accordion-header .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease, padding 0.5s ease;
    font-size: 16px;
    color: #666;
    padding: 0;
}

.accordion-toggle:checked+.accordion-header+.accordion-content {
    height: auto;
    padding-top: 10px;
}

.accordion-toggle {
    display: none;
}


.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Бургер-иконка */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-icon {
    width: 25px;
    height: 3px;
    background-color: #0B1354;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    gap: 10px;
    top: 74px;
    left: 0;
    right: 0;
    width: 100% !important;
    background-color: #0B1354;
    z-index: 1000;
    position: fixed;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.219);
    padding: 20px 0;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.mobile-menu li {
    padding: 20px 40px;
    background-color: #0b1354bb;
}

.mobile-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.mobile-menu li {
    text-decoration: none;
    color: white;
    font-weight: 600;
}


.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s;
}

/* Адаптивность */

@media (max-width: 1200px) {
    .phone-input {
        min-width: 500px;
    }
}

@media (max-width: 992px) {
    .phone-input {
        min-width: 400px;
    }
}

@media (max-width: 768px) {
    .text-video-area {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .wrapper-phone {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .phone-input {
        width: 100%;
        min-width: unset;
    }

    .btn {
        width: 100%;
        max-width: none;
    }

    .tel-form-area {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .or-text {
        font-size: 24px;
    }

    .video-container {
        width: auto;
    }
}


@media (max-width: 1130px) {
    .header-menu {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .review-card,
    .review-card-last {
        width: 280px !important;
        height: 350px !important;
    }

    .cards {
        justify-content: flex-start !important;
    }
}


@media (max-width: 768px) {
    .header-menu {
        display: none;
        visibility: hidden;
        width: 0px !important;
    }

    .burger-menu {
        display: flex;
    }

    .main-section {
        padding-top: 100px !important;
        padding: 20px 0px
    }

    .faq {
        flex-direction: column;
    }

    .back-link {
        display: none;
    }

    .accordion {
        flex-wrap: wrap;
        gap: 10px;
    }

    .row-about-block .card-text {
        width: 320px !important;
    }

    .row-about-block .card-img {
        width: 320px !important;
        height: 320px !important;
    }

}



@media (max-width: 768px) {

    .card,
    .big-card {
        width: 48%;
    }
}

@media (max-width: 480px) {

    .card,
    .big-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 0 20px;
    }

    .header-menu-wrapper {
        display: none;
    }

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

    .header-menu {
        gap: 15px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 20px;
        font-size: 14px;
    }

    .text-video-area {
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }

    .main-section {
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center !important;
    }

    .main-content-text h2,
    .main-content-text h3 {
        font-size: 30px;
    }

    .main-content-text {
        gap: 10px;
    }

    .main-list {
        justify-content: center;
    }

    .main-content-text {
        width: auto;
    }

    .hero-buttons {
        justify-content: center;
        align-items: center;
    }

    .main-content-text span {
        font-size: 30px;
    }

    .main-list ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 0px;
    }

    .main-list ul li {
        font-size: 18px;
    }

    .video-js {
        max-width: 300px !important;
        height: 200px;
        margin: 10px 0px;
    }

    .cards {
        justify-content: center !important;
        align-items: center !important;
    }

    .main-drevo-title {
        text-align: center;
    }

    .row-about {
        justify-content: center !important;
        align-items: center !important;
    }

    .row-about-block {
        align-items: center !important;
        justify-content: center !important;
    }

    .row-about-block .card-text a {
        text-align: center !important;
        width: 100% !important;
    }

}


/* ///////////////////////////////////////////////////////////////////////////////////// */

.burger-icon {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.burger-menu.open .burger-icon:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.open .burger-icon:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-icon:nth-child(3) {
    transform: rotate(-50deg) translate(10px, -8px);
}

.burger-icon {
    transition: all 0.3s ease;
}

.faq {
    display: flex !important;
}

.flex-10 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flex-15 {
    display: flex;
    align-items: center;
    gap: 15px;
}










.cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
}


.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #e1e1e1;
    padding: 20px;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 300px;
}

.card .card-img {
    width: 100%;
    height: 200px;
    margin-bottom: 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.card .card-name{
    color: #E7A43B;
    font-weight: 600;
    font-size: 16px;
}

.card .card-text {
    color: #444444;
    font-size: 14px;
    font-weight: normal;
    margin-top: 10px;
}

.card .card-text p {
    margin: 0px;
    padding-bottom: 3px;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #d1d1d1;
}

.card .card-img img {
    object-fit: cover;
}

.card .url_btn {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border: 1px solid #E7A43B;
    border-radius: 6px;
    margin-top: 16px;
    color: #E7A43B;
    transition: 0.2s ease;
    width: 100%;
}

.card .url_btn:hover {
    background-color: #E7A43B;
    color: white !important;
}

















.mini-card {
    all: unset;
    width: 600px;
    height: fit-content;
    padding: 18px;
    border: 2px solid #a52727;
    border-radius: 6px;
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mini-card .card-img {
    all: unset;
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
    order: 2;
    margin-top: 14px;
    border: 2px solid #a52727;
}

.mini-card .card-name {
    font-size: 24px;
    font-weight: bold;
    color: #a52727 !important;
    margin: 14px 0px;
    order: 1;
}

.mini-card .card-text {
    all: unset;
    font-size: 16px;
    color: #444444;
    line-height: 1.5;
    margin: 14px 0px;
    order: 1;
}

.mini-card .url_btn {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #a52727;
    border-radius: 6px;
    margin-top: 16px;
    color: #a52727;
    transition: 0.2s ease;
}

.mini-card .url_btn:hover {
    background-color: #a52727;
    color: white !important;
}




.row-about-block {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
}

.row-about {
    display: flex;
    flex-direction: column;
}


.reverse {
    flex-direction: row-reverse;
}




.row-about-block .card-text {
    display: flex;
    flex-direction: column;
    width: 38%;
}

.row-about-block .card-text .info-area {
    background-color: #FEEAE8;
    border: 1px solid #F79E95;
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 10px;
}

.row-about-block .card-text a {
    margin-top: 20px 0px;
    display: inline-block;
    padding: 12px 16px;
    background-color: #F79E95;
    border-radius: 6px;
    color: white;
    font-size: 18px !important;
    width: fit-content;
}

.row-about-block .card-text a:hover {
    background-color: #f79f95da;
}

.row-about-block .card-img {
    width: 100%;
    height: 350px;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
    border: 2px solid #F79E95;
}


footer {
    background-color: #313131;
    padding: 14px 0px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 200px;
    gap: 30px;
    padding: 12px 30px;
}

.footer-info .header-menu {
    color: white;
}

.header-menu span {
    font-size: 18px !;
}

.footer-btn {
    display: inline-block;
    padding: 12px 16px;
    background-color: #E7A43B;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 18px !important;
    width: fit-content;
}

.footer-btn:hover {
    background-color: #E7A43B !important;
    color: white !important;
}


.footer-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.footer-menu span {
    font-weight: 800;
    font-size: 24px;
}

.review-card {
    width: 310px;
    padding: 15px 20px;
    height: 390px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #F79E95;
    background-color: #FEEAE8;
    border-radius: 12px;
}

.review-card .card-name {
    font-weight: bold;
    font-size: 18px;
    color: #505050;
}

.review-card .card-text {
    color: #505050;
}


.review-card-last {
    width: 310px;
    padding: 15px 20px;
    height: 390px;
    text-align: center;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #F79E95;
    background-color: #FEEAE8;
    border-radius: 12px;
}

.review-card-last .card-name {
    font-weight: bold;
    font-size: 20px;
    color: #505050;
}

.review-card-last textarea {
    height: 100px;
    resize: none;
    font-family: "Roboto", sans-serif;
    border: none;
    outline: none;
    padding: 16px;
}

.review-card-last .card-img {
    width: 80px;
    height: 80px;
}

.review-card-last .card-text a {
    margin-top: 30px;
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    background-color: #0B1354;
    color: white;
    font-weight: 600;
}

.review-card-last .card-text a:hover {
    background-color: #0b1354c5;
}

.burger-header-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.is_vertical {
    width: 20% !important;
}

.form-btn {
    width: 100%;
    padding: 12px 0px;
    outline: none;
    border: none;
    background-color: #0B1354;
    color: white !important;
    transition: 0.2s ease;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
}

.form-btn:hover {
    background-color: #101b74;
}

.review-card-last input{
    border: none;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50; 
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    opacity: 0.9;
    z-index: 9999;
}

.notification.error {
    background-color: #f44336; 
}