:root {
    --color-primary: #193d6e;
    --color-border: #e2e2e267;
    --text-color: #333;
    --color-red: #C00000;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

p {
    margin: 0;
}

h2 {
    margin: 0;
}

body {
    font-family: "Roboto", serif;
    padding: 0;
    margin: 0;
    color: var(--text-color);
    font-size: 16px;
}

.conteiner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    z-index: 99;
    background-color: #fff;
    padding: 0;
}

.flex {
    display: flex;
}

.contact {
    gap: 30px;
}

header .contact a {
    display: block;
    color: var(--text-color) !important;
    font-weight: 400;
    transition: all .3s;
}

header .contact a:hover {
    color: var(--color-red) !important;
}

header .contact a .fa-at {
    padding-right: 3px;
}

header .contact a i {
    vertical-align: bottom;
}

.cont-btn {
    gap: 30px;
}

.flex-hed {
    justify-content: space-between;
}

.hed1 {
    padding-bottom: 17px;
    border-bottom: 1px solid var(--color-border);
    padding-top: 20px;
    background-color: #ffffff;
}

.hed2 {
    padding-top: 15px;
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    position: sticky;
    top: 0;
    z-index: 10;
}

.hed2 .nav {
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

/* Ссылки меню */
.hed2 .nav a {
    font-size: 16px;
    font-weight: 400;
    color: #fff !important;
    transition: all .3s;
    text-transform: uppercase;
}

.hed2 .nav a:hover {
    color: var(--color-red) !important;
}

/* Адаптивное меню */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    width: 170px;
}

.btn {
    display: block;
    color: #fff !important;
    padding: 15px 30px;
    background-color: var(--color-primary);
    transition: all .3s;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-red);
    color: #fff !important;
}

.red {
    background-color: var(--color-red);
}

.red:hover {
    background-color: var(--color-primary);
}

.phon a:first-child {
    margin-bottom: 7px;
    margin-top: 3px;
}

.first-block {
    gap: 50px;
    justify-content: space-between;
    padding: 90px 0;
    position: relative;
}

.form-container {
    background-color: #FDFDFD;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
    width: 350px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
}

.form-group input[type="submit"] {
    background-color: var(--color-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.form-group input[type="submit"]:hover {
    background-color: var(--color-red);
}

.fon {
    background-image: url(/asset/img/33.jpg);
    margin-bottom: 90px;
    scroll-margin-top: 150px;
}

.fon2 {
    background: linear-gradient(to top, #29292975, #c2c2c21a);
}

.right-text {
    background-color: #193c6ec4;
    width: 700px;
    padding: 60px;
    position: relative;
}

.right-text h1 {
    margin-top: 0px;
    color: #fff;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 400;
}

.right-text .h2span {
    font-size: 42px;
    font-weight: 400;
    color: #fff;
}

.custom-shape-divider-top-1746564207 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: -1;
}

.custom-shape-divider-top-1746564207 svg {
    position: relative;
    display: block;
    width: calc(134% + 1.3px);
    height: 400px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1746564207 .shape-fill {
    fill: var(--color-primary);
}

ul {
    padding: 0;
    margin-bottom: 0;
}

li {
    list-style: none;
    padding-bottom: 10px;
}

.fa-check {
    padding-right: 10px;
    color: var(--color-red);
}

.too-block {
    background-color: #FDFDFD;
    padding: 50px;
    border: 1px solid var(--color-border);
}

.too-block h2,
.tr-block h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.too-block h2::after,
.tr-block h2::after {
    position: absolute;
    left: 50%;
    bottom: 0;
    content: "";
    width: 200px;
    height: 3px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

.tr-block h2 {
    margin-top: 50px;
}

.tr-block p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 60px;
}

.too-block p {
    text-align: justify;
    line-height: 1.6;
    margin-top: 10px;
}

.tr-block .nop {
    margin-bottom: 10px;
}

.block-for {
    justify-content: space-between;
    flex-wrap: wrap;
}

.block-for div {
    width: 100%;
    max-width: 285px;
    height: 500px;
    background-color: var(--color-primary);
    margin-bottom: 20px;
}


.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    margin-bottom: 15px;
}

.tab-btn {
    padding: 12px 20px;
    background: #FDFDFD;
    border: 1px solid var(--color-primary);
    margin-right: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    color: var(--color-primary);
    font-size: 18px;
}

.tab-btn.active {
    background: var(--color-primary);
    color: white;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.tab-content::before {
    content: "";
    background-image: url(/asset/img/bp.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    position: absolute;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    max-height: 400px;
    top: 10px;
    bottom: 10px;
    left: 0px;
    z-index: -1;
}


.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h2 {
    color: var(--color-primary);
    margin-top: 0;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.fa-check {
    color: var(--color-red);
    margin-right: 8px;
}

strong {
    color: var(--color-red);
}

#tab2 h2 {
    margin-bottom: 30px;
}

#tab2 p {
    line-height: 1.9;
    margin-bottom: 15px;
}

#tab3 p {
    line-height: 1.9;
    margin-bottom: 15px;
}

.regulations-block {
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
    line-height: 1.6;
}

h2 {
    color: var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

h3 {
    color: var(--color-primary);
    margin: 25px 0 15px;
}

.treb {
    margin-top: 50px;
}

.documents-section {
    margin-bottom: 30px;
}

.document-list {
    list-style: none;
    padding: 0;
}

.document-list li {
    display: flex;
    margin-bottom: 25px;
    padding: 15px;
    background: #fdfdfd;
    border-left: 4px solid var(--color-primary);
    border: 1px solid var(--color-border);
}

.doc-number {
    font-weight: bold;
    margin-right: 15px;
    color: var(--color-primary);
}

.doc-content {
    flex: 1;
}

.doc-title {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.doc-description {
    color: #666;
    font-size: 0.95em;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.document-card {
    padding: 15px;
    background: #F9F9F9;
    border: 1px solid #e0e0e0;
    display: flex;
}

.special-cases {
    margin-top: 40px;
}

.case-card {
    padding: 20px;
    margin-bottom: 30px;
    border: 1px dashed var(--color-primary);
}

.case-header {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.pvt-docs {
    margin: 0;
    padding-left: 0px;
}

.pvt-docs li {
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .document-list li {
        flex-direction: column;
    }

    .doc-number {
        margin-bottom: 5px;
    }
}



.documents-title {
    cursor: pointer;
    padding: 20px;
    background-color: var(--color-primary);
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 100px;
    margin: auto 0;
}

.documents-titlebg {
    position: absolute;
    content: url(/asset/img/7.svg);
    right: 0px;
    opacity: 0.2;
    width: 130px;
    transform: rotate(45deg);
}

.documents-title:hover {
    background-color: var(--color-red);
}

.toggle-icon {
    transition: transform 0.3s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.documents-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.documents-section.active .documents-accordion {
    max-height: 600px;
}

.documents-section.active .toggle-icon {
    transform: rotate(180deg);
}

.document-item {
    margin: 10px 0;
    border: 1px solid var(--color-border);
}

.document-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.document-header:hover {
    background-color: #f0f4f8;
}

.doc-number {
    margin-right: 12px;
    font-weight: bold;
    color: var(--color-primary);
}

.doc-title {
    flex-grow: 1;
    color: var(--color-primary);
    margin-bottom: 0px;
}

.chevron-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--color-primary);
}

.document-item.active .chevron-icon {
    transform: rotate(180deg);
}

.document-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    background-color: #fff;
}

.document-item.active .document-content {
    padding: 15px;
    max-height: 200px;
}

.doc-description {
    padding-left: 24px;
    color: #486581;
    line-height: 1.5;
}

.section3 {
    margin: 60px 0;
}

.section3:first-child {
    margin-bottom: 0;
}

.section3:last-child {
    margin-top: 30px;
}


.fon3 {
    position: relative;
    overflow: hidden;
}

.fonl {
    position: absolute;
    content: url(/asset/img/g1.png);
    left: 0px;
    bottom: 0;
    z-index: 1;
    opacity: 0.5;
}



.fonr {
    position: absolute;
    content: url(/asset/img/g2.png);
    right: 0px;
    bottom: 0;
    z-index: 1;
    opacity: 0.5;
}


.uslugi h2 {
    margin: 60px 0 30px;
    font-size: 45px;
    padding-bottom: 15px;
    text-align: center;
}

.block-uclugi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0;
}

.uclugi-hov {
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.uclugi-hov:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.block-uclugi-h {
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(/asset/img/33.jpg);
    background-size: contain;
    position: relative;
}

.block-uclugi-h::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #193c6eb7;
    top: 0;
    left: 0;
    z-index: 1;
}


.block-uclugi-h h4 {
    width: 100%;
    z-index: 2;
}

.block-uclugi-t {
    padding: 20px 20px 0;
    overflow: hidden;
}

.block-uclugi-t li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.block-uclugi-t li::before {
    content: "\f872";
    position: absolute;
    left: -15px;
    color: var(--color-red);
    font-weight: bold;
    font-size: 1.2em;
    font-family: var(--fa-style-family, "Font Awesome 6 Pro");
    font-weight: var(--fa-style, 500);
}

.block-bttn .btn {
    width: 350px;
    display: block;
    margin: 90px auto;
}

.business-plan-steps {
    max-width: 1200px;
    margin: 0 auto;
}

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-header h3 {
    color: var(--color-primary);
    font-size: 28px;
    margin-bottom: 10px;
}

.steps-container {
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(25, 61, 110, 0.2);
}

.step-content {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    flex-grow: 1;
    border-left: 4px solid #193D6E;
}

.step-content h4 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
}

.connector-lines {
    position: absolute;
    top: 25px;
    bottom: 40px;
    left: 24px;
    width: 4px;
    background: linear-gradient(to bottom, #193D6E, #4a89dc);
    z-index: 1;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .step {
        flex-direction: column;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .connector-lines {
        left: 50%;
        transform: translateX(-50%);
    }
}




.advantages-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.advantages-title {
    text-align: center;
    color: var(--color-primary);
    font-size: 36px;
    margin-bottom: 10px;
}

.advantages-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.advantage-card {
    background: white;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 40px;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--color-red);
}

.advantage-content h3 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.advantage-content p {
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        flex-direction: column;
        text-align: center;
    }

    .advantage-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


.diagram-with-labels {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 90px;
    display: flex;
    align-items: top;
    justify-content: center;
    gap: 50px;
    text-align: center;
}

.element {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    margin-top: 10px;
}

.circle {
    font-size: 65px;
    color: var(--color-red);
    margin-bottom: 30px;
}

.arrow {
    font-size: 55px;
    color: #333333e1;
}

.label {
    font-size: 16px;
}

.color {
    color: var(--color-primary);
}

.colorpad {
    padding-bottom: 20px;
}

.mnogotecsta {
    line-height: 1.5;
}

.advantage-icon {
    margin-bottom: 15px;
}


.business-plan-package {
    max-width: 1200px;
    margin: 0 auto 90px;
}

.package-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.package-item {
    background: white;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
}

.package-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.package-icon {
    font-size: 40px;
    margin-right: 20px;
    color: var(--color-red);
    flex-shrink: 0;
}

.package-content h3 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.package-content p {
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .package-items {
        grid-template-columns: 1fr;
    }

    .package-item {
        flex-direction: column;
        text-align: center;
    }

    .package-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.faq-section {
    background: #f8fafc;
    padding: 60px 0;
}

.faq-title {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-size: 45px;
    position: relative;
}

.faq-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-red);
    margin: 15px auto 0;
}

.faq-accordion {
    overflow: hidden;
}

.faq-item {
    margin-bottom: 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    border: none;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 18px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(25, 61, 110, 0.05);
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;

}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }

    .faq-title {
        font-size: 28px;
    }
}

.pricing-section {
    padding: 60px 0 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--color-primary);
    font-size: 45px;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-primary);
    margin: 15px auto 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background: var(--color-primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.pricing-title {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

.pricing-price {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0 0;
}

.pricing-body {
    padding: 25px;
}

.pricing-description {
    font-size: 16px;
    margin-top: 0;
    text-align: center;
    font-weight: 500;
}

.pricing-features {
    margin: 25px 0;
    padding: 0;
    list-style: none;
    margin-bottom: 60px;
}

.pricing-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.pricing-features li:before {
    content: "✓";
    color: var(--color-red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--color-primary);
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    position: absolute;
    bottom: 25px;
    max-width: 330px;
    right: 25px;
}

.pricing-button:hover {
    background: var(--color-red);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }
}


.fon3 .form-container {
    max-width: 400px;
    margin: 90px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-primary);
}


.fon3 {
    background-color: #F8FAFC;
    margin-top: 90px;
}

.fonr footer {
    background-color: #f5f5f5;
    border-top: 3px solid var(--color-primary);
    padding: 60px 0 30px;
}

.foo-h {
    font-weight: 600;
}

.foo-h2 {
    font-size: 12px;
    padding-top: 15px;
}

.foo-h3 {
    font-size: 12px;
    padding-top: 30px;
    text-align: center;
}

footer {
    background-color: #F8FAFC;
}

.footer {
    justify-content: space-between;
    margin-top: 90px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}

.footer .foo-cont a {
    color: rgb(51, 51, 51) !important;
    margin-bottom: 7px;
    display: inline-block;
    font-weight: 600;
}

.footer .fa-viber {
    color: #7360F2;
    padding-right: 12px;
    font-size: 16px;
}

.footer .fa-phone {
    padding-right: 12px;
}

.footer .fa-telegram {
    color: #279FDA;
    padding-right: 12px;
    font-size: 16px;
}

.footer .foo-cont a:hover {
    color: var(--color-primary) !important;
}

.footer .foo-nav li {
    margin-bottom: 5px;
}

.footer .foo-nav a {
    color: var(--text-color) !important;
}

.footer .foo-nav a:hover {
    color: var(--color-primary) !important;
}

.foo-h3 {
    padding-bottom: 30px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

.modal-close:hover {
    color: #193D6E;
}

.modal-overlay .form-container {
    max-width: 400px;
}

html {
    scroll-behavior: smooth;
}

.fooo {
    background-color: #fdfdfd00;
    padding: 20px;
    padding-right: 110px;
    border-right: 1px solid var(--color-border);
}

.footer ul {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 30px;
}

.footer ul li {
    margin-bottom: 15px;
    line-height: 1;
    padding-bottom: 0px;
}

.footer .nav {
    display: flex;
    flex-direction: column;
    margin-top: 44px;
    text-transform: uppercase;
    gap: 15px;
}

.footer .nav a {
    color: var(--color-primary);
}

.footer .foo-cont {
    padding-top: 5px;
}

.fa-flag {
    margin-right: 5px;
}

.fa-chevron-right:before {
    font-size: 10px;
    color: var(--color-primary);
    margin-right: 3px;
}

.mntext {
    line-height: 1.3;
    position: relative;
}

.mntext p {
    padding-bottom: 15px;
}

.mntext p:last-child {
    margin-bottom: 65px;
}

.tabs-container li {
    line-height: 1.3;
    margin-bottom: 0;
    padding-bottom: 0;
}

#tab2 p {
    line-height: 1.3;
    margin-bottom: 0;
}

#tab3 p {
    line-height: 1.3;
    margin-top: 15px;
    margin-bottom: 0;
}

.menitext {
    background: #f8fafc;
    padding: 20px 0 80px;
}

.menitext2 {
    padding-bottom: 50px;
    margin-top: 110px;
}

.mntext {
    position: relative;
}

.mntext::after,
.mntext::before {
    content: "";
    display: block;
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--color-red);
    left: 50%; /* Сдвигаем в центр */
    transform: translateX(-50%); /* Корректируем смещение */
    margin: 0; /* Убираем старый margin */
}

.mntext::before {
    top: -35px; /* Линия сверху */
}

.mntext::after {
    bottom: -20px; /* Линия снизу */
}

.lap {
    padding-top: 40px;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    
    .lap {
        padding-top: 40px;
        color: var(--color-primary);
        text-align: center;
        padding: 20px 20px 0 20px;
    }
    
    .documents-title {
        height: 100%;
    }
    .hed2 .nav {
        flex-direction: column;
        gap: 15px;
        display: none;
        position: absolute;
        background-color: var(--color-primary);
        width: 100%;
        top: 60px;
        left: 0;
        padding: 15px 20px;
        border-bottom: 1px solid var(--color-border);
        z-index: 999;
    }

    .hed2 {
        height: 60px;
    }

    .hed2 .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .flex-hed,
    .cont-btn,
    .contact {
        text-align: center;
        flex-direction: column;
    }

    header .contact .none {
        display: none;
    }

    header {
        display: flex;
        flex-direction: column-reverse;
    }

    .hed1 {
        padding-bottom: 0px;
    }

    .left-form {
        display: none;
    }

    .right-text {
        width: 100%;
    }

    .right-text h1,
    .right-text .h2span {
        font-size: 28px;
    }

    .diagram-with-labels {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .mnogotecsta {
        padding: 0 20px;
    }

    .uslugi .faq-title,
    .faq-title {
        font-size: 28px;
        padding: 0 20px 15px;
    }

    .footer ul {
        flex-direction: column;
        text-align: center;
    }

    .form-group input {
        max-width: 288px;
    }

    .modal-close {
        top: 5px;
        right: 5px;
    }

    .hed2 .nav.active {
        text-align: center;
    }
    
    .footer {
        margin-top: 90px;
        flex-direction: column;
        text-align: center;
    }
    
    .fooo {
        padding: 20px 0 30px 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    
    .footer .nav {
        padding-bottom: 40px;
    }
    
    .mntext {
        padding: 0 20px;
        text-align: justify;
    }

}