/* Main styles */
*, *::after, *::before { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
ul, li { padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }
body { margin: 0; font-family: 'Montserrat'; }
body.overflow { overflow: hidden; }
img { display: block; }
.container { width: 1430px; margin: 0 auto; padding: 0 15px; max-width: 100%; }
.button--styles { font-family: inherit; display: flex; justify-content: center; align-items: center; padding: 18px 39px; background: #3C4A9E; border-radius: 8px; font-weight: 600; font-size: 18px; line-height: 20px; text-align: center; color: #FFFFFF; width: fit-content; cursor: pointer; border: none; transition: all 0.3s ease; }
.button--styles:hover { background: #1C2870; }
/* End Main styles */

/* Header */
.header-burger { display: none; }
.header-burger img { width: 32px; height: 100%;}
.header-wrapper { display: flex; justify-content: space-between; align-items: center; background: #232B5A; border-radius: 0px 0px 16px 16px; padding: 28px 100px; gap: 80px; }
.header-logo img { max-width: 200px; height: auto; position: relative; }
.header-logo__link { display: block; }
.header-navigation__burger { display: none; }
.header-navigation__logo { display: none; }
.header-navigation__logo img { width: 168px; height: 100%; }
.header-socials { display: flex; align-items: center; gap: 8px; }
.header-socials img { width: 32px; height: 100%; }
.header-socials a:hover { opacity: 0.7; transition: all 0.3s ease; }
#primary-menu { display: flex; align-items: center; gap: 37px; }
#primary-menu a { font-weight: 500; font-size: 17px; line-height: 20px; color: #FFFFFF; }
#primary-menu a:hover { color: #C1C5D0; transition: all 0.3s ease; }
/* End Header */

/* Banner */
.banner { background-position: center; background-repeat: no-repeat; background-size: cover; background-color: #232B5A; border-radius: 16px; padding: 168px 100px 170px 100px; margin-top: 20px; }
.banner-title { font-weight: 700; font-size: 40px; line-height: 140%; color: #FFFFFF; max-width: 800px; }
.banner-text { font-weight: 400; font-size: 21px; line-height: 150%; color: #FCFCFC; max-width: 650px; margin-top: 32px; }
.banner-button { margin-top: 76px; }
/* End Banner */

/* About */
.about { padding: 80px 100px 90px 100px; }
.about-title { font-weight: 700; font-size: 40px; line-height: 140%; color: #000000; }
.about-text { font-weight: 500; font-size: 20px; line-height: 150%; color: #1C2870; margin-top: 40px; max-width: 730px; }
.about-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; margin-top: 70px; }
.about-item { display: flex; gap: 24px; }
.about-item__icon img { width: 80px; height: 80px; }
.about-item__content-name { font-weight: 600; font-size: 24px; line-height: 125%; color: #000000; }
.about-item__content-text { font-weight: 500; font-size: 16px; line-height: 135%; color: #000000; margin-top: 12px; }
/* End About */

/* Services */
.section-services { margin-bottom: 50px; }
.services { background: #F3F6FF; border: 1px solid #EEF1FB; border-radius: 16px; padding: 80px 100px 90px 100px; }
.services-title { font-weight: 700; font-size: 40px; line-height: 140%; color: #000000; margin-bottom: 40px; }
.tabs { display: flex; margin-bottom: 32px; max-width: fit-content; }
.tabs .tab-link { display: flex; justify-content: center; align-items: center; background: #FFFFFF; user-select: none; cursor: pointer; text-align: center; color: #000000; }
#outer-tabs { border-radius: 8px; overflow: hidden; }
#outer-tabs .tab-link { font-weight: 700; font-size: 19px; line-height: 135%; padding: 17px 42px; }
.inner-tabs .tab-link { font-weight: 500; font-size: 18px; line-height: 135%; padding: 13px 42px; }
.tab-link:hover { background-color: #E4E8FF; transition: all 0.3s ease;}
.tabs .tab-link.active { background: #3C4A9E; color: #FFFFFF; }
.content-list { background-image: url('/wp-content/themes/spravki-theme/assets/images/map.svg'); background-position: top right; background-repeat: no-repeat; background-size: 640px; padding-top: 20px; padding-bottom: 40px;}
.content-list a { color: #3b4b98; }

.services-content { background-image: url('/wp-content/themes/spravki-theme/assets/images/map.svg'); background-position: top right; background-repeat: no-repeat; background-size: 640px; padding-bottom: 40px;}
.services-content a { color: #3b4b98; }

.tab-content .tab-pane p { font-weight: 600; font-size: 21px; line-height: 135%; color: #000000; margin-bottom: 16px; margin-top: 32px; }
.services-content__pane p { font-weight: 600; font-size: 21px; line-height: 135%; color: #000000; margin-bottom: 16px; margin-top: 32px; }

.tab-content .tab-pane p:first-child { margin-top: 0; }
.services-content__pane p:first-child { margin-top: 0; }
.tab-content .tab-pane ul { padding-left: 20px; }
.tab-content .tab-pane ul li { font-weight: 500; font-size: 18px; line-height: 135%; color: #000000; list-style-type: disc; }
.tab-content .tab-pane ul li:not(:last-child) { margin-bottom: 16px; }
.tab-content .tab-pane ul li::marker { color: #3C4A9E; }

.services-content__pane ul { padding-left: 20px; }
.services-content__pane ul li { font-weight: 500; font-size: 18px; line-height: 135%; color: #000000; list-style-type: disc; }
.services-content__pane ul li:not(:last-child) { margin-bottom: 16px; }
.services-content__pane ul li::marker { color: #3C4A9E; }

.tab-pane { display: none; }
.tab-pane.active { display: block; }
.inner-tabs { margin-top: 15px; flex-wrap: wrap; row-gap: 20px; column-gap: 1px; }
.services-description p { font-weight: 500; font-size: 15px; line-height: 140%; color: #3C4A9E; }
.services-contacts { margin-top: 40px; display: flex; align-items: center; gap: 60px; }
.services-contacts__socials { display: flex; align-items: center; gap: 10px; }
.services-contacts__socials img { width: 40px; height: 100%;}
.services-contacts__socials a:hover { opacity: 0.7; transition: all 0.3s ease; }
.services-contacts__socials-text { font-weight: 500; font-size: 12px; line-height: 135%; color: #000000; }
.other-countries__items { display: flex; gap: 20px; overflow-x: auto; margin-bottom: 52px; }
.other-countries__item { background: #FFFFFF; border-radius: 16px; padding: 32px 40px; }
.other-countries__item-name { font-weight: 700; font-size: 20px; line-height: 135%; color: #000000; margin-bottom: 16px; }
.other-countries__item-list { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 8px; column-gap: 48px; }
.other-countries__item-list.three-columns { grid-template-columns: repeat(3, 1fr); }
.other-countries__item-list div { display: block; font-weight: 500; font-size: 16px; line-height: 135%; color: #000000; white-space: nowrap; }
.other-countries__docs { padding-bottom: 40px; }
/* End Services */

/* Stages */
.stages { background: #232B5A; border-radius: 16px; padding: 80px 100px 85px 100px; }
.stages-title { font-weight: 700; font-size: 40px; line-height: 140%; color: #FFFFFF; }
.stages-items { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 80px; column-gap: 80px; margin-top: 40px; }
.stages-item__top { display: flex; align-items: center; gap: 20px; }
.stages-item__number { font-weight: 400; font-size: 62px; line-height: 90%; color: #FFFFFF; border-bottom: 1px solid #FFFFFF; padding: 0 20px 5px 0; min-width: 97px; max-width: 95px; }
.stages-item__name { font-weight: 600; font-size: 24px; line-height: 125%; color: #FFFFFF; }
.stages-item__text { font-weight: 400; font-size: 16px; line-height: 135%; color: #FFFFFF; margin-top: 20px; }
.stages-description { margin-top: 60px; }
.stages-description p { font-weight: 300; font-size: 14px; line-height: 135%; color: #EEF1FB; }
.stages-description p:not(:last-child) { margin-bottom: 8px; }
/* End Stages */

/* Reviews */
.reviews { padding: 80px 100px 95px 100px; }
.reviews-title { font-weight: 700; font-size: 40px; line-height: 140%; color: #000000; }
.reviews-items { margin-top: 40px; }
.es-review-info-date{ color: #000000; }
.link-google{ font-family: 'Montserrat'; font-weight: 500; font-size: 16px; line-height: 135%; color: #3D5AE6; display: block; text-align: center; margin-top: 45px; padding: 0 18px; }
/* End Reviews */

/* Block Form */
.form-wrapper { background: #F3F6FF; border: 1px solid #EEF1FB; border-radius: 16px; padding: 80px 100px 85px 100px; }
.form { display: flex; align-items: center; gap: 70px; }
.form-image img { max-width: 100%; width: 100%; height: 100%; }
.form-content { min-width: 480px; max-width: 480px; margin: 0 auto; }
.form-content__title { font-weight: 700; font-size: 40px; line-height: 140%; color: #000000; }
.form-contact { margin-top: 40px; }
.form-contact__inputs { display: flex; flex-direction: column; gap: 20px; }
.form-contact input[type="text"],
.form-contact input[type="tel"],
.form-contact input[type="email"],
.form-contact textarea { background: #FFFFFF; border-radius: 8px; padding: 17px 24px; border: none; margin-top: 4px; font-weight: 500; font-size: 16px; line-height: 135%; color: #000000; width: 100%; font-family: 'Montserrat'; }
.form-contact input[type="tel"]::placeholder { font-weight: 500; font-size: 16px; line-height: 135%; color: #A5A5A5; }
.form-contact__input-button { width: fit-content; margin-top: 20px; }
.form-contact__input-button p { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.form-contact label { font-weight: 500; font-size: 14px; line-height: 135%; color: #000000; }
.form-contact__policy { font-weight: 500; font-size: 11px; line-height: 140%; color: #666666; margin-top: 12px; }
.form-contact__policy a { text-decoration: underline; color: inherit; }
.form-contact__policy a:hover { text-decoration: none; }
/* End Block Form */

/* Footer */
.footer { margin-top: 48px; }
.footer-wrapper { background: #232b5a; border-radius: 16px 16px 0px 0px; padding: 43px 100px 65px 100px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-logo img { max-width: 212px; width: 100%; height: auto; }
.footer-logo__link { display: block; max-width: fit-content; }
.footer-info { display: flex; flex-direction: column; }
.footer-info__copyright { font-weight: 400; font-size: 12px; line-height: 135%; color: #FFFFFF; margin-top: 13px; }
.footer-info__policy { margin-top: auto; }
.footer-info__policy a { font-weight: 400; font-size: 12px; line-height: 135%; color: #FFFFFF; }
.footer-info__policy a:hover { color: #C1C5D0; transition: all 0.3s ease; }
.footer-navigation { display: flex; }
#footer-menu { display: flex; align-items: center; gap: 41px; }
#footer-menu a { font-weight: 500; font-size: 17px; line-height: 20px; color: #FFFFFF; }
#footer-menu a:hover { color: #C1C5D0; transition: all 0.3s ease; }
.footer-contacts { display: flex; flex-direction: column; }
.footer-contacts__title { font-weight: 500; font-size: 17px; line-height: 20px; color: #FFFFFF; }
.footer-contacts__info { margin-top: 20px; display: flex; gap: 25px; flex-wrap: wrap; }
.footer-contacts__qr { display: flex; gap: 25px; }
.footer-contacts__qr-item { text-align: center; }
.footer-contacts__qr-item img { max-width: 75px; border-radius: 5px;}
.footer-contacts__qr-item a { font-family: 'Montserrat'; font-weight: 500; font-size: 13px; line-height: 120%; color: #FFFFFF; margin-top: 8px; display: block; text-decoration: underline; }
.footer-contacts__qr-item a:hover { opacity: 0.7; transition: all 0.3s ease; }
.footer-contacts__socials { display: flex; flex-direction: column; gap: 8px; }
.footer-contacts__socials img { width: 100%; height: 100%; }
.footer-contacts__socials a { width: 34px; height: 34px; }
.footer-contacts__socials a:hover { opacity: 0.7; transition: all 0.3s ease; }
.footer-contacts__socials-link.mobile { display: none; }
.footer-contacts__email { display: flex; align-items: center; gap: 4px; margin-top: 15px; font-weight: 500; font-size: 12px; line-height: 135%; color: #FFFFFF; margin-right: 20px; }
.footer-contacts__email:hover { color: #C1C5D0; transition: all 0.3s ease; }
.footer-contacts__email-icon img { width: 100%; height: 100%;}
/* End Footer */

/* Modal Window */
.modalWindow { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4); overflow-y: scroll; padding: 15px; }
.modal-contentWindow { background: #F3F6FF; margin: 0 auto; padding: 80px; max-width: 1030px; border-radius: 16px; position: relative; }
.close { color: #aaa; float: right; font-size: 28px; font-weight: bold; position: absolute; right: 15px; top: 10px; z-index: 10; }
.close:hover,
.close:focus { color: black; text-decoration: none; cursor: pointer; }
/* End Modal Window */

/* Widget */
.messenger-container { position: fixed; bottom: 15px; right: 15px; z-index: 1000; } 
.messenger-toggle { display: flex; align-items: center; gap: 4px; background-color: #2e2e2e; border-radius: 8px; padding: 9px 12px; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); transition: background-color 0.2s ease; min-width: 187px; } 
.messenger-toggle:hover { background-color: #444; } 
.messenger-toggle span { font-weight: 500; font-size: 13px; line-height: 145%; color: #FFFFFF; margin-right: 4px; display: block; } 
.messenger-toggle img { width: 22px; height: 22px; } 
.messenger-panel { margin-top: 10px; background-color: #2e2e2e; color: #ffffff; border-radius: 8px; padding: 20px 16px; display: flex; gap: 32px; align-items: center; position: relative; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); animation: fadeIn 0.2s ease; justify-content: center; } 
.messenger-panel.hidden { display: none; } 
.messenger-panel a { text-decoration: none; color: white; display: flex; flex-direction: column; align-items: center; transition: opacity 0.2s; } 
.messenger-panel a:hover { opacity: 0.8; } 
.messenger-panel img { width: 36px; height: 36px; } 
.messenger-panel span { font-family: 'Montserrat'; font-weight: 500; font-size: 12px; line-height: 145%; color: #FFFFFF; margin-top: 8px; } 
.close-btn { position: absolute; top: 3px; right: 3px; font-size: 20px; background: none; border: none; color: white; cursor: pointer; } 
.close-btn:hover { opacity: 0.8; }
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* End Widget */

/* Page Document */
.document { padding: 60px 100px 20px 100px; }
.document h1 { font-weight: 700; font-size: 40px; line-height: 140%; color: #000000; max-width: 900px; }
.document-content { display: flex; gap: 35px; margin-top: 48px; }
.document-content p { font-weight: 400; font-size: 16px; line-height: 150%; color: #000000; }
.document-content p:not(:first-child) { margin-top: 20px; }
.document-content h2 { margin-top: 32px; }
.document-content ul { font-weight: 400; font-size: 16px; line-height: 150%; color: #000000; margin-top: 20px; }
.document-content ul li { margin-left: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.document-content ul .ub-block-list__layout { display: flex; flex-direction: column; gap: 13px; }
.document-content ol { font-weight: 400; font-size: 16px; line-height: 150%; color: #000000; margin-top: 20px; }
.document-content__text { width: 60%; }
.document-content__text a { color: #3b4b98; }
.document-content__text ul li a { color: #3b4b98; }
.document-content__images { width: 40%; }
.document-slider__wrapper { position: relative; max-width: 500px; margin: auto; }
.document-slider img { margin: 0 auto; box-shadow: 0 0 30px #CAD9EF; width: 100%; }
.document-slider .slick-slide { padding: 30px; }
.document-slider .slick-arrow { background: #FFFFFF; box-shadow: 0px 4px 4px rgba(36, 31, 97, 0.07), 0px 0px 10px rgba(36, 31, 97, 0.07); }
.slick-buttons { position: relative; top: 100%; display: flex; justify-content: center; width: 100%; gap: 10px; margin-top: 10px; }
.slick-prev, .slick-next { border: none; z-index: 10; cursor: pointer; }
.slick-prev { background: #FFFFFF; box-shadow: 0px 4px 4px rgba(36, 31, 97, 0.07), 0px 0px 10px rgba(36, 31, 97, 0.07); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.slick-next { background: #FFFFFF; box-shadow: 0px 4px 4px rgba(36, 31, 97, 0.07), 0px 0px 10px rgba(36, 31, 97, 0.07); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.faq { padding: 0px 100px 100px 100px; }
.faq-title { font-weight: 700; font-size: 40px; line-height: 140%; color: #000000; }
.faq-accordion { margin-top: 45px; }
.accordion-menu__item { background: #232B5A; border-radius: 16px; }
.accordion-menu__item:not(:last-child) { margin-bottom: 20px; }
.accordion-menu__item-title { font-weight: 500; font-size: 21px; line-height: 135%; color: #FFFFFF; }
.accordion-menu__item-text { font-weight: 300; font-size: 18px; line-height: 150%; color: #FFFFFF; }
.dropdownlink { padding: 32px 48px; cursor: pointer; position: relative; display: grid; grid-auto-flow: column; align-items: center; transition: all 0.3s ease; gap: 15px; justify-content: space-between; }
.submenuItems { display: none; padding: 0 48px 48px 48px; }
.block-image_plus { background-image: url('/wp-content/themes/spravki-theme/assets/images/plus-icon.svg'); background-repeat: no-repeat; background-position: center center; width: 24px; height: 24px; transition: all 0.3s ease; }
.accordion-menu__item.open .block-image_plus { background-image: url('/wp-content/themes/spravki-theme/assets/images/minus-icon.svg'); }
.slick-dots { display: flex; align-items: center; justify-content: center; gap: 6px; position: relative; top: -10px; }
.slick-dots li button { width: 4px; height: 4px; background: #CCCCD8; font-size: 0; border: none; border-radius: 50%; padding: 0;}
.slick-dots li.slick-active button { width: 6px; height: 6px; background: #3C4A9E; }
/* End Page Document */

/* Page Pravicy */
article { padding: 80px 100px 0px 100px; }
.single-post__title { font-weight: 700; font-size: 40px; line-height: 140%; color: #000000; max-width: 900px; }
.single-post__content { margin-top: 40px; }
.single-post__content p { font-weight: 500; font-size: 19px; line-height: 150%; color: #000000; }
.single-post__content p:not(:last-child) { margin-bottom: 20px; }
.single-post__content ul { padding-left: 25px; margin-bottom: 20px; }
.single-post__content ul li { font-weight: 500; font-size: 19px; line-height: 150%; color: #000000; list-style-type: disc; }
/* End Page Pravicy */

/* Page 404 */
.wrapper-404 { padding: 150px 100px; }
.title-404 { font-weight: 600; font-size: 40px; line-height: 120%; color: #000000; text-align: center; }
.text-404 { font-weight: 500; font-size: 20px; line-height: 125%; text-align: center; color: #000000; margin-top: 32px; }
.button-404 { margin: 70px auto 0 auto; }
/* End Page 404 */

/* Page Thank */
.section-thank { margin: 70px 0; }
.thank { background: #F3F6FF; border: 1px solid #EEF1FB; border-radius: 16px; padding: 80px 100px 85px 100px; max-width: 1024px; margin: 0 auto; }
.thank-icon img { margin: 0 auto; }
.thank-text { font-weight: 600; font-size: 34px; line-height: 140%; text-align: center; color: #000000; margin-top: 35px; }
.thank-button { margin: 70px auto 0 auto; }
/* End Page Thank */

/* New styles for block Services */
.services-country-select { position: relative; max-width: 428px; width: 100%; margin-bottom: 40px; }
.services-country-select__trigger { min-height: 52px; border: 1px solid #EBEBEB; border-radius: 8px; background: #fff; padding: 14px 44px 14px 16px; position: relative; display: flex; align-items: center; cursor: pointer; font-size: 18px; line-height: 1.3; color: #2a2a2a; }
.services-country-select.is-open .services-country-select__trigger { border: 1px solid #3C4A9E; }
.services-country-select__placeholder { color: #666666; font-size: 17px; font-weight: 500; line-height: 135%; }
.services-country-select__value { display: none; color: #202020; font-weight: 600; font-size: 17px; line-height: 135%; }
.services-country-select__arrow { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; background: url("../images/arrow-down-services.svg") no-repeat center/contain; transform: translateY(-50%); transition: transform .2s ease; pointer-events: none; }
.services-country-select.is-open .services-country-select__arrow { transform: translateY(-50%) rotate(180deg); }
.services-country-select__dropdown { display: none; position: absolute; top: calc(100% + 2px); left: 0; width: 100%; background: #fff; border: 1px solid #e1e1e1; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); z-index: 20; overflow: hidden; }
.services-country-select.is-open .services-country-select__dropdown { display: block; }
.services-country-select__search { position: relative; padding: 12px; }
.services-country-select__search-icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: url("../images/search-icon.svg") no-repeat center/contain; pointer-events: none; }
.services-country-select__input { width: 100%; height: 40px; border: 1px solid #d8d8d8; border-radius: 8px; padding: 0 14px 0 40px; font-size: 16px; outline: none; }
.services-country-select__input:focus { border-color: #3C4A9E; }
.services-country-select__list { max-height: 260px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cfcfd6 transparent; }
.services-country-select__list::-webkit-scrollbar { width: 6px; }
.services-country-select__list::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.services-country-select__list::-webkit-scrollbar-thumb { background: #cfcfd6; border-radius: 10px; }
.services-country-select__list::-webkit-scrollbar-thumb:hover { background: #b8b8c2; }
.services-country-select__option { padding: 10px 12px; font-size: 17px; font-weight: 500; line-height: 20px; color: #202020; cursor: pointer; transition: background .2s ease; }
.services-country-select__option:hover { background: #FAFAFF; }
.services-content__pane { display: none; }
.services-content__pane.active { display: block; }
.services-country-select__empty { padding: 10px 12px; font-size: 17px; font-weight: 500; line-height: 20px; color: #8f8f8f; }
.services-default-text { margin: 40px 0; font-size: 18px; font-weight: 500; line-height: 135%; color: #000000; max-width: 523px; }
.services-default-text.is-hidden { display: none; }
/*  */


@media(max-width: 1239px) { 
.header-wrapper{ padding: 22px 24px; gap: 40px; }
#primary-menu { gap: 30px; }
.banner { padding: 250px 24px; background-position: top; }
.banner-title { font-size: 36px; line-height: 140%; }
.banner-text { font-size: 21px; line-height: 150%; margin-top: 40px; }
.about { padding: 80px 24px; }
.about-items { grid-template-columns: repeat(2, 1fr); gap: 40px; }
.services { padding: 80px 24px; }
.inner-tabs .tab-link { font-size: 14px; line-height: 135%; padding: 16px 28px; }
.content-list { background-image: none; padding-top: 0; padding-bottom: 32px; }
.other-countries__docs { padding-bottom: 32px; }
.stages { padding: 80px 24px; }
.stages-items { grid-template-columns: repeat(2, 1fr); row-gap: 60px; column-gap: 60px; }
.reviews { padding: 80px 24px; }
.form-wrapper { padding: 80px 24px; }
.form-image { display: none; }
.footer-wrapper { padding: 40px 24px 65px 24px; }
#footer-menu { flex-direction: column; align-items: flex-start; gap: 20px; }
.modal-contentWindow { padding: 60px 24px; }
.document{ padding: 60px 24px; }
.document-content{ display: block; margin-top: 45px;}
.document-content__images{ margin-top: 50px; }
.document-content__text { width: 100%; }
.document-content__images { width: 100%; }
.slick-buttons { display: none; }
article { padding: 60px 24px 0px 24px; }
.single-post__title { font-size: 36px; line-height: 140%; }
.faq { padding: 0 24px 80px 24px; }
.dropdownlink { padding: 32px 40px; }
.submenuItems { padding: 0 40px 40px 40px; }
}

@media(max-width: 767px) { 
.container{ padding: 0 8px; }
.header-burger { display: block; }
.header-wrapper { gap: 17px; }
.header-navigation { position: fixed; top: 0; right: -100%; /* Скрыто за пределами экрана справа */ width: 95%; height: 100%; transition: right 0.3s ease; /* Плавный переход */ padding: 92px 28px; background: #FFFFFF; border-radius: 12px 0px 0px 12px; border: 1px solid #EEF1FB; }
.header-navigation__burger { display: block; position: absolute; top: 25px; left: 25px; background-image: url('/wp-content/themes/spravki-theme/assets/images/cross.svg'); background-repeat: no-repeat; background-size: contain; width: 15px; height: 15px; }
.header-navigation.active-menu { right: 0; /* Меню выезжает */ }
.header-navigation__logo { display: block; margin-bottom: 25px; }
#primary-menu { flex-direction: column; align-items: flex-start; gap: 24px; }
#primary-menu a { font-weight: 500; font-size: 17px; line-height: 20px; color: #000000; }
.header-socials { margin-left: auto; }
.banner { padding: 90px 18px; }
.banner-title { font-size: 28px; line-height: 130%; }
.banner-text { font-size: 16px; line-height: 145%; }
.about { padding: 60px 18px; }
.about-title { font-size: 28px; line-height: 130%; }
.about-text { font-size: 16px; line-height: 145%; margin-top: 24px; }
.about-items { grid-template-columns: repeat(1, 1fr); margin-top: 48px; }
.about-item { flex-direction: column; gap: 16px; }
.about-item__content-name { font-size: 21px; line-height: 125%; }
.about-item__content-text { font-size: 15px; line-height: 135%; }
.services { padding: 60px 18px; }
.services-title { font-size: 28px; line-height: 130%; margin-bottom: 36px; }
#outer-tabs .tab-link { font-size: 17px; line-height: 135%; padding: 10px 22px; }
.tabs { margin-bottom: 26px; }
.inner-tabs { row-gap: 12px; }
.inner-tabs .tab-link { font-size: 13px; line-height: 135%; padding: 10px 20px; }
.tab-content .tab-pane p { font-size: 18px; line-height: 135%; }
.services-content__pane p { font-size: 18px; line-height: 135%; }
.services-country-select { margin-bottom: 36px; }
.services-default-text { margin: 36px 0; font-size: 15px; line-height: 135%; }
.services-country-select__placeholder { font-size: 15px; line-height: 135%; }
.services-country-select__option { font-size: 15px; line-height: 20px; }
.services-content { background-image: none; }
.tab-content .tab-pane ul li { font-size: 15px; line-height: 135%; }
.services-content__pane ul li { font-size: 15px; line-height: 135%; }
.other-countries__items { margin-bottom: 26px; }
.services-description p { font-size: 13px; line-height: 140%; }
.services-contacts { flex-direction: column; align-items: flex-start; gap: 32px; }
.stages { padding: 60px 18px; }
.stages-title { font-size: 28px; line-height: 130%; }
.stages-items { grid-template-columns: repeat(1, 1fr); row-gap: 44px; margin-top: 32px; }
.stages-item__name { font-size: 21px; line-height: 125%; }
.stages-item__text { font-size: 15px; line-height: 135%; }
.stages-description { margin-top: 40px; }
.stages-description p { font-size: 13px; line-height: 140%; }
.reviews { padding: 60px 0px 72px 0px; }
.reviews-title { font-size: 28px; line-height: 130%; padding: 0 18px; }
.reviews-items { margin-top: 32px; }
.link-google { text-align: left; margin-top: 32px; font-size: 16px; }
.es-header-container { padding: 24px 18px !important; align-items: baseline !important; }
.es-review-background-container { padding: 24px 18px !important; }
.es-header-info { align-items: baseline !important; }
.es-review-align-container { margin-left: 0 !important; }
.form-wrapper { padding: 60px 18px 35px 18px; }
.form-content__title { font-size: 28px; line-height: 130%; }
.form-content { min-width: 100%; }
.form-contact { margin-top: 32px; }
.form-contact__input-button { width: 100%; }
.footer-wrapper { padding: 40px 18px 65px 18px; }
.footer-top { flex-direction: column; }
.footer-contacts__email { margin-right: 0; width: 100%; }
.footer-info__policy { width: 100%; margin-top: 13px; }
.footer-contacts__qr { display: none; }
.footer-contacts__socials { flex-direction: row; }
.footer-contacts__socials-link.mobile { display: block; }
.modal-contentWindow { padding: 60px 18px; }
.single-post__title { font-size: 28px; line-height: 130%; }
.document { padding: 32px 18px 0 18px; }
.document h1 { font-size: 28px; line-height: 130%; }
.document-content{ margin-top: 24px;}
.document-content p { font-size: 16px; }
.document-content__text h2 { font-size: 20px; }
.document-slider .slick-slide { padding: 20px; }
.document-slider img { box-shadow: 0 0 20px #CAD9EF; }
.faq { padding: 0 0 72px 0; }
.faq-title { font-size: 28px; line-height: 130%; padding: 0 18px; }
.faq-accordion { margin-top: 32px; }
.accordion-menu__item:not(:last-child) { margin-bottom: 12px; }
.accordion-menu__item-title { font-size: 17px; }
.accordion-menu__item-text { font-size: 15px; }
.dropdownlink { padding: 32px 18px; }
.submenuItems { padding: 0 18px 40px 18px; }
.wrapper-404 { padding: 150px 24px; }
.title-404 { font-size: 25px; line-height: 130%; }
.text-404 { font-size: 16px; line-height: 125%; }
.thank { padding: 80px 12px; }
.thank-text { font-size: 25px; line-height: 140%; margin-top: 26px; }
.thank-button { font-size: 16px; padding: 18px 17px; width: 100%; }
.button-404 { font-size: 16px; padding: 18px 17px; width: 100%; }
.button--styles { width: 100%; }
}