﻿:root {
    --accent: #ea6954;
    --text: #222222;
    --white: #ffffff;
    --text_light: #555555;
    --border_color: #d1d1d1;
    --bg_color_light: #f2f2f2;
    --text_grey_light: #a2a2a2;
    --table_thead: rgb(51, 126, 169);
    --callout_green: rgb(237, 243, 236);
    --callout_yellow: rgb(251, 243, 219);
    --callout_red: rgb(253, 235, 236);
}

.color_accent {
    color: var(--accent);
}
.white {
    color: var(--white);
}

h1 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.35;
}
.home_news__item h3 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 400;
}
.comments__wrapp .comments__form-title, .h3, h3 {
    font-weight: 400;
}
h2 {
    font-weight: 500;
}
.h2, .online-selection__title, h2 {
    font-weight: 500;
}
h4 {
    font-size: 16px;
    font-weight: 500;
}
.h4 {
    font-size: 16px;
    font-weight: 500;
}
b, strong {
    font-weight: bolder;
}

/* Buttons */
.button-round {
    border-radius: 24px;
}
.bt_link {
    padding: 12px 32px;
    text-decoration: none;
    white-space: nowrap;
}
/*Иконки*/
.fa-search {
    font-size: 18px;
}
/* Стили списков */
.r-marker li {
    position: relative;
}
.r-marker li:before {
    content: "\25cf";
    font-size: 6px;
    color: var(--accent);
    position: absolute;
    top: 8px;
    left: -12px;
}
/*Borders*/
.border-top {
    border-top: solid 1px var(--text_light);
}
/* Контент */
.content-wrapp {
   padding-top: 120px;
}
/* Тени и бэкграунды */
.box-shadow {
    box-shadow: 0 0 15px rgba(34, 34, 34, .15);
}
.bg-grey_lighte {
    background-color: var(--white);
}
.tabl_responsive table {
    white-space: normal;
}
/*reCatcha v3*/
.grecaptcha-badge {
    opacity: 0;
}
.border-r {
    border-radius: 8px;
}
/*Стили поля трансферы в форме на странице школы -------*/
.police-name {
    margin-bottom: 32px;
}
.school_mainForm_list li.form__tr-info {flex-wrap: wrap;}
.school_mainForm_list li.form__tr-info i {
    width: 100%;
    font-size: 12px;
}
.online-selection__buttons-wrapp button {
    border-radius: 48px;
    padding-right: 32px;
    padding-left: 32px;
}
.offer-wrapp__btn-wrapp button {
    border-radius: 48px;
    padding-right: 32px;
    padding-left: 32px;
}
.form-actions button {
    padding-right: 32px;
    padding-left: 32px;
}
.advantages__item ul {
    position: relative;
    padding-left: 16px;
    font-weight: 300;
}
.advantages__item ul li {
    position: relative;
    margin-bottom: 12px;
}
.advantages__item ul li:before {
    content: "\25cf";
    font-size: 6px;
    color: var(--accent);
    position: absolute;
    left: -12px;
    top: 6px;
}
.extras-item ul {
    position: relative;
    padding-left: 16px;
    font-weight: 300;
}
.extras-item ul li {
    position: relative;
    margin-bottom: 12px;
}
.extras-item ul li:before {
    content: "\25cf";
    font-size: 6px;
    color: var(--accent);
    position: absolute;
    left: -12px;
    top: 6px;
}
.footer__subscribe_form .filter-form__chekbox-item {
    padding-top: 6px;
    margin-top: 12px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.school_mainForm-politica-wrapp .filter-form__chekbox-item {
    padding-top: 6px;
    margin-top: 12px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.footer__subscribe_form .filter-form__chekbox-item label {
    color: var(--white);
}
.footer__subscribe_form .filter-form__chekbox-item label:before {
    border: 1px solid var(--white);
}
.footer__subscribe_form .school_mainForm-politica-wrapp .filter-form__chekbox-item p {
    color: var(--white);
}
.footer__subscribe_form .school_mainForm-politica-wrapp .filter-form__chekbox-item a {
    color: var(--white);
    border-bottom: 1px dotted var(--white);
}
.modal-form .filter-form__chekbox-item {
    text-align: center;
    font-weight: 300;
}
.modal-form .filter-form__chekbox-item label:before {
    border: 1px solid var(--white);
}
.modal-form .school_mainForm-politica-wrapp .filter-form__chekbox-item p {
    color: var(--white);
}
.modal-form .school_mainForm-politica-wrapp .filter-form__chekbox-item a {
    color: var(--white);
    border-bottom: 1px dotted var(--white);
}
.form-insert .check-box__politici {
    text-align: center;
}
.filter-form__chekbox-item p {
    color: var(--white);
    font-weight: 300;
    margin: 0px;
    padding: 0px;
}
.filter-form__chekbox-item a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px dotted var(--white);
    font-weight: 300;
}
.school_mainForm-politica-wrapp .filter-form__chekbox-item p {
    color: var(--text);
    font-weight: 300;
    font-size: 14px;
}
.school_mainForm-politica-wrapp .filter-form__chekbox-item p a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px dotted var(--text);
    font-weight: 300;
}
.iti {
    display: block;
}
/*Quwiz Inshurance*/
.qwiz__step-content {
    padding: 30px 30px;
}
.qwiz__howInsurance-title p {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding-bottom: 6px;
}
.qwiz__gift-img {
    overflow: hidden;
}
.qwiz__gift-img img {
    max-width: 100%;
    height: 250px;
    width: auto;
}
.qwiz__buttons button {
    padding: 20px 50px;
    border-radius: 50px;
}
.consultant-preview:before {
    background-size: auto;
    width: 100%;
}

/*Scroll Up Button*/
.scrollUpp {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 40px;
    background-color: var(--text);
    z-index: 10000;
    position: fixed;
    bottom: 30px;
    left: 90%;
    opacity: 0.5;
    display: none;
}
.scrollUpp .fa-angle-up {
    color: var(--white);
}
/* Оформление класса выделенного текста*/
.warning {
    border: 1px solid #36ccb1;
    border-radius: 6px;
    padding: 16px;
    font-weight: 500;
}
/*Страница школы*/
.school__location_info {
    display: flex;
    margin-bottom: 16px;
}
.school__location_info li {
    display: flex;
    /*align-items: center;*/
}
.school__location_info li:nth-child(1) {
    margin-right: 66px;
}
.school__location_info li span {
    margin-right: 12px;
}
.school__location_img {
    height: 32px;
    width: 32px;
    overflow: hidden;
}
.school__location_img svg {
    height: 32px;
    width: 32px;
}

/* Форма заявки на поиск аренды */
.contacts__form fieldset {
    position: relative;
    border: 1px solid #c4c4c4;
    border-radius: 6px;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 48px;
    padding-bottom: 60px;
    margin-bottom: 72px;
}
.contacts__form fieldset legend {
    font-size: 16px;
    color: var(--text);
    float: none;
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
}
.contacts__form fieldset .label {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 12px;
}
.label {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 12px;
}
.contacts__form fieldset .contacts__form-icon {
    position: absolute;
    top: -12px;
    right: 18px;
}
.contacts__form fieldset select {
    border: none;
    width: 100%;
    margin-bottom: 20px;
    height: 42px;
    border-radius: 5px;
    padding-left: 18px;
    font-size: 16px;
    color: #555555;
    background-image: url(../images/build/down-row-grey.png);
    background-repeat: no-repeat;
    background-position: 95% center;
    background-size: 16px;
    cursor: pointer;
}
.contacts__form input:focus:required:invalid {
    border: 1px solid red;
}
.contacts__form input:focus {
    border: 1px solid #555555;
}

input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0px;
    border: 1px solid #c4c4c4;
    height: 8px;
    cursor: pointer;
   /* background: -webkit-linear-gradient(left, #c4c4c4 0%, #c4c4c4 9%, #ffffff 9%, #ffffff 100%); */
}
input[type=range] + label {
    margin-bottom: 48px;
}
input[type=range]::-moz-range-track {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0px;
    border: 1px solid #c4c4c4;
    height: 8px;
    cursor: pointer;
   /* background: -moz-linear-gradient(left, #c4c4c4 0%, #c4c4c4 9%, #ffffff 9%, #ffffff 100%); */
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: var(--accent);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
input[type=range]::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    background: var(--accent);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
input[type=file] {
    padding-left: 0;
    cursor: pointer;
}
.contacts__form-alquiler .button {
    max-width: 270px;
}
.contacts__form-alquiler .filter-form__chekbox-item a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px dotted var(--text);
}
/* END Форма заявки на поиск аренды */
.form-insert__prise-wrapp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    padding-top: 18px;
}
/* Форма на странице ВАКАНСИИ */
.job-form__title {
    margin-bottom: 48px;
}
.form-wrapper {
    padding: 48px 24px 24px 24px;
}
.form__input {
    border: none;
    margin-bottom: 20px;
    width: 100%;
    height: 42px;
    color: #555555;
    font-size: 16px;
    border-radius: 5px;
}
.form__textarea {
    border: none;
    margin-bottom: 20px;
    width: 100%;
    height: 112px;
    color: #555555;
    font-size: 16px;
}
.job-form__wrapp {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}
.job-file__wrapp {
    width: 100%;
    height: 100%;
    padding-left: 24px;
}
.input__file {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
.input__file-button {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 128px;
    border: 2px dotted #0295AA;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
}
.input__file-icon-wrapper {
    position: relative;
    max-width: 72px;
    width: 72px;
    overflow: hidden;
}
.input__file-icon-wrapper img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.input__file-button-text {
    text-align: center;
    margin-left: 24px;
}
.job-form__button {
    margin-left: 24px;
}
.politici__link {
    color: var(--text) !important;
    border-bottom: 1px dotted var(--text) !important;
}
/* END Форма на странице ВАКАНСИИ */
/* Вакансии */
.job-title__wrapp {
    text-align: center;
    margin-bottom: 48px;
}
.job-title {
    display: inline;
    padding: 0px 72px 12px 72px;
    border-bottom: 1px solid #FF571E;
}
.job-content {
    padding-top: 36px;
}
.job-content__title {
    margin-bottom: 24px;
    border-bottom: 1px solid #d1d1d1;
    padding-bottom: 12px;
}
.job-content__wrapp {
    margin-bottom: 48px;
    font-size: 14px;
    padding-left: 24px;
    padding-right: 24px;
}
.job-content__wrapp p {
    font-size: 14px;
}
.job-content__wrapp ul li {
    position: relative;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 8px;
}
.job-content__wrapp ul li:before {
    content: "\25cf";
    font-size: 6px;
    color: var(--accent);
    position: absolute;
    top: 6px;
    left: -12px;
}
.job-email__wrapp {
    font-weight: 300;
}
.job-email__wrapp a {
    text-decoration: none;
}
/* END Вакансии */
/*Languig switch style*/
.lang__switcher {
    padding-top: 12px;
    display: flex;
}
.lang__switcher li {
    margin-right: 12px;
}
img.switch__flag-icon {
    max-width: 32px;
    width: 32px;
    height: auto;
}

/* Услуги */
.container__tags {
    padding: 12px;
    box-shadow:0 0 15px rgba(30, 30, 30, 0.15);
}
.wrapp__tags {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.wrapp__tags .h3 {
    margin-right: 32px;
    min-width: 150px;
}
.tags__serv-list {
    width: 100%;
}
.tags__serv-list li {
    display: inline-block;
    background-color: #f9f9f9;
    padding: 3px 12px;
    border-radius: 6px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 12px;
    transition: 0.5s ease;
}
.tags__serv-list li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 300;
    transition: 0.5s ease;
}
.tags__serv-list li:hover {
    background-color: #3c4350;
}
.tags__serv-list li:hover > a {
    color: var(--white);
}
.tags__serv-list li a span {
    margin-left: 12px;
}
.tags__serv-list li:nth-child(1) a span {
    color: #ff571e;
}
.wrapp__search-input {
    padding-top: 48px;
    margin-bottom: 12px;
}
.search-field__wrapp button {
    border-radius: 0px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.services {
    padding-bottom: 130px;
}
.service__item {
    position: relative;
    padding-top: 96px;
    padding-left: 111px;
}
.service__item-icon {
    position: absolute;
    left: 24px;
    top: 129px;
}
.service__item-tags {
    padding-bottom: 72px;
}
.service__item-icon_tags {
    position: absolute;
    left: 24px;
    top: 100px;
}
.service__item-icon svg{
    width: 48px;
    height: auto;
}
.service__item-icon_tags svg {
    width: 48px;
    height: auto;
}
.service__item-divider {
    height: 3px;
    border-radius: 1px;
    width: 100%;
}
.service__list {
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service__list-item {
    position: relative;
    padding: 12px;
    background-color: var(--white);
    max-width: 32%;
    width: 32%;
    min-height: 148px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(30, 30, 30, 0.15);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service__list-item i.fa-gripfire {
    color: #ff571e;
    font-size: 24px;
    position: absolute;
    top: 2px;
    right: 2px;
}
.service__list-item a {
    position: absolute;
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    text-decoration: none;
    white-space: normal;
    color: #222222;
    padding-right: 18px
}
.service__list {
    position: relative;
    white-space: nowrap;
}
.service__info-wrapp li {
    display: flex;
    flex-direction: row;
    margin-bottom: 16px;
    font-weight: 300;
}
.service__info-wrapp li:last-child {
    margin-bottom: 0px;
}
.service__info-wrapp li * {
    flex-shrink: 0;
}
.service__info-wrapp_divider {
    width: 100%;
    flex-shrink: 1;
    border-bottom: 1px dotted #c5c5c5;
    margin-left: 6px;
    margin-right: 6px;
}
.service__info-wrapp li span {
    flex-shrink: 1;
    line-height: 1;
}
.services__form-section {
    position: relative;
    box-shadow: 0 0 15px rgba(34, 34, 34, .25);
    padding-top: 48px;
    padding-bottom: 48px;
}
.services__form-section p {
    color: rgba(34, 34, 34, .80);
    line-height: 1;
}
.resaltar {
    color: var(--text) !important;
    font-weight: normal;
}
.services__form-section p.h3 {
    margin-top: 40px;
}
.services__form-section form .button {
    max-width: 200px;
}
.services__messendgers-icons {
    display: flex;
    justify-content: center;
    font-size: 48px;
}
.services__messendgers-icons li {
    margin: 24px;
}
.services__messendgers-icons li .fa-whatsapp {
    color: #69de6d;
}
.services__messendgers-icons li .fa-telegram {
    color: #30a5d7;
}
.services__messendgers-icons li .fa-viber {
    color: #9055a9;
}
/*Теги цвета в испановедении*/
.ispanovedenie_tags_links .tag_sin{
    background-color: #92c6f2;
}
.ispanovedenie_tags_links .tag_sin:after {
    border-color: transparent #92c6f2;
}
/* T-603: тематические услуги в коммерчески релевантных рубриках Испановедения */
.spain-category-services {
    margin: 48px 0 24px;
    padding: 0;
}
.spain-category-services__title {
    margin-bottom: 24px;
}
.spain-category-services__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.spain-category-services__list a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80px;
    padding: 18px 52px 18px 22px;
    border: 0;
    border-radius: 14px;
    background-color: #f7f1ea;
    box-shadow: 0 6px 16px rgba(34, 34, 34, .06);
    color: var(--text);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.spain-category-services__list a:after {
    content: "→";
    position: absolute;
    right: 20px;
    color: var(--accent);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}
.spain-category-services__list a:hover {
    background-color: #f2e8da;
    box-shadow: 0 10px 22px rgba(34, 34, 34, .10);
    transform: translateY(-2px);
    color: var(--text);
}
.spain-category-services__list a:hover:after {
    transform: translateX(4px);
}
.spain-category-services__list a:focus-visible {
    outline: 3px solid #bd4938;
    outline-offset: 3px;
    color: var(--text);
}
/* Омологация диплома */
.prise-wrapp {
    display: flex;
    align-items: center;
    font-size: 24px;
}
.prise-wrapp__price {
    position: relative;
    margin-left: 60px;
}
.prise-wrapp .btn-wrapp_dots:before {
    top: 18%;
    left: -50%;
}
.pay-service {
    padding-top: 60px;
    padding-bottom: 72px;
}
.pay-service__item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(34, 34, 34, .15);
    transition: 0.7s ease;
}
.pay-service__item:hover {
    box-shadow: 0 0 25px rgba(34, 34, 34, .25);
    transform: scale(1.01);
}
.pay-service__item img {
    height: 60px;
    width: auto;
}
.pay-service__item_stripe {
    background-image: url("../images/build/icons-site/delfin.png");
    background-repeat: no-repeat;
    background-position: bottom right;
}
.steps-service__list {
    padding-top: 12px;
}
.steps-service__list-item {
    margin-bottom: 42px;
    padding-left: 39px;
}
.steps-service__list span {
    position: relative;
    font-size: 18px;
    padding-bottom: 3px;
}
.steps-service__list span:before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("../images/build/icons-site/chek-box_1.png");
    background-size: cover;
    position: absolute;
    top: 1px;
    left: -39px;
}
.service-form {
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(34, 34, 34, .15);
    padding: 14px 18px;
    margin-bottom: 90px;
    transition: 0.7s ease;
}
.service-form:hover {
    box-shadow: 0 0 25px rgba(34, 34, 34, .25);
    transform: scale(1.01);
}
.service-form__step-icon {
    display: flex;
    align-items: center;
    line-height: 1;
    font-size: 24px;
    margin-bottom: 36px;
}
.service-form__step-icon img {
    width: 32px;
    height: auto;
    margin-right: 8px;
}
.service-form__step-icon span {
    padding-top: 3px;
}
.srvice-form__form-wrapp {
    padding-top: 32px;
    padding-bottom: 60px;
    max-width: 500px;
    margin: 0 auto;
}
.srvice-form__form-wrapp .button {
    max-width: 200px;
}
.srvice-form__form-wrapp .filter-form__chekbox-item .modal-form__select select+label, .filter-form__chekbox-item input+label, .modal-form__select .filter-form__chekbox-item select+label {
    display: block;
}
.srvice-form__form-wrapp .filter-form__chekbox-item a {
    color: var(--text);
    border-color: var(--text);
}
.service-text {
    overflow: hidden;
    padding-top: 18px;
}
.service-text h3 {
    margin-bottom: 18px;
    margin-top: 32px;
}
.service-text h2 {
    margin-bottom: 18px;
    margin-top: 32px;
}
.service-text img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-top: 24px;
}
.service-text ul li {
    position: relative;
    font-weight: 300;
    padding-left: 16px;
    margin-bottom: 12px;
}
.service-text ul li:before {
    content: "\25cf";
    font-size: 6px;
    color: var(--accent);
    position: absolute;
    top: 8px;
    left: 0px;
}
.service-linkes {
    padding-top: 72px;
    padding-bottom: 72px;
}
.service-linkes ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-weight: 300;
}
.service-linkes ul li {
    width: 49%;
    margin-bottom: 18px;
}
.service-linkes ul li a {
    color: #222222;
    text-decoration: none;
    border-bottom: 1px dotted var(--text);
}
.service-linkes ul li a:hover {
    color: var(--accent);
    border-bottom: 1px dotted var(--accent);
}
.aside__divider {
    width: 100%;
    height: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    margin-bottom: 40px;
}
.service-aside {
    margin-top: 72px;
    border-radius: 6px;
    padding: 18px 18px 36px 18px;
    box-shadow: 0 0 5px rgba(34, 34, 34, .15);
    transition: 0.7s ease;
}
.service-aside__title {
    margin-bottom: 36px;
}
.service-aside__messengers {
    padding-top: 24px;
}
.input_light_grey {
    border: none;
    background-color: #f2f2f2;
    width: 100%;
    max-width: 400px;
}
.button_insert_form {
    margin-top: 20px;
}
.form-insert_2 {
    margin-top: 36px;
}
.fieldset__item {
 margin-bottom: 24px;
}
/* Страница отзывов */
.reiews-link__list {
    padding: 90px 80px 72px 80px;
    display: flex;
    flex-wrap: wrap;
}
.reiews-link__item {
    position: relative;
    margin-right: 24px;
    font-size: 16px;
}
.reiews-link__icon {
    width: 24px;
    height: auto;
    margin-right: 12px;
}
.reiews-link__link {
    position: relative;
    color: var(--text);
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    text-decoration: none;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.reiews-link__link:hover {
    color: var(--text);
    box-shadow: 0 0 15px rgba(34, 34, 34, .25);
}
.reviews__list {
    padding: 24px 80px 0px 80px;
}
.reviews__item {
    display: flex;
    margin-bottom: 72px;
}
.reviews-photo__img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
}
.reviews-content__wrapp {
    position: relative;
    border-radius: 8px;
    background-color: #FFF7E2;
    padding: 18px 24px;
}
.reviews-content__wrapp-left {
    margin-left: 78px;
}
.reviews-content__wrapp-right {
    margin-right: 78px;
}
.reviews-content__wrapp-left:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 50px solid #FFF7E2;
    border-bottom: 25px solid transparent;
    position: absolute;
    top: 50px;
    left: -50px;
}
.reviews-content__wrapp-right:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 50px solid #FFF7E2;
    border-bottom: 25px solid transparent;
    position: absolute;
    top: 50px;
    right: -50px;
}
.reviews-photo__img img {
    max-width: 100%;
    width: 100%;
    height: 100%;
}
.reviews-photo__name {
    text-align: center;
}
.reviews-content__item {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.reviews-content__date {
    font-size: 14px;
}
.reviews-content__link-wrapp {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.reviews-content__link-wrapp a {
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px dotted var(--text);
    margin-right: 12px;
}
.reviews-company__wrapp {
    margin-top: 96px;
}
.reviews-company__comments {
    border: 1px solid #d1d1d1;
    border-radius: 8px;
}
.reviews-company__comments .ec-message  {
    background-color: #FFF7E2;
    border: none;
}
/* EasyComm renders the modern header with legacy float styles. Keep review
   metadata in normal flow so the following rating cannot overlap it. */
.reviews-company__comments .ec-message__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-bottom: 8px;
}
.reviews-company__comments .ec-message__meta {
    display: flex;
    flex: 1 1 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 20px;
    min-width: 0;
    margin: 0;
    line-height: 1.5;
}
.reviews-company__comments .ec-message__meta .ec-message__author,
.reviews-company__comments .ec-message__meta .ec-message__date {
    float: none;
}
.reviews-company__comments .ec-message__meta .ec-message__author {
    overflow-wrap: anywhere;
}
.reviews-company__comments .ec-message__meta .ec-message__date {
    padding-left: 0;
}
.pdf-wrapp {
    position: relative;
    margin-top: 48px;
    margin-bottom: 48px;
    padding-top: 48px;
    padding-bottom: 48px;
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
}
.pdf-wrapp__title {
    margin-bottom: 48px;
}
.pdf-wrapp__link {
    position: relative;
    padding: 12px 32px;
    text-decoration: none;
}
/* END Страница отзывов */
/*Оформление блока FAQ на  странице блога*/
.qst-article__wrapp {
    padding-top: 24px;
}
.qst-article__wrapp ul li {
    list-style: none !important;
}

/* Вставляемые в текст блоки */
.opinion {
    position: relative;
    margin-top: 36px;
    margin-bottom: 36px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
}
.opinion__user {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 24px;
}
.opinion__user-img {
    flex-basis: 120px;
    border-radius: 50%;
    overflow: hidden;
}
.opinion__user-img img {
    display: block;
    min-width: 100%;
    width: 100%;
    min-height: 100%;
    height: 100%;
    margin-bottom: 0px !important;
}
.opinion__user-data {
    margin-left: 20px;
}
.opinion__user-name {
    font-size: 20px;
    font-weight: 400;
}
.opinion__content {
    font-style: italic;
}
.article__blockquote {
    font-style: italic;
    margin-top: 48px;
    margin-bottom: 48px;
}
/*Новая страница услуги*/
.aside-article__list {
    margin-top: 32px;
}
.aside-article__item {
    margin-bottom: 32px;
    transition: all 0.3s ease-out;
}
.aside-article__item:hover {
    transform: translateX(3px);
}
.aside-article__item:last-child {
    margin-bottom: 0px;
}
.aside__img-wrapp {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
}
.aside__img-wrapp img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
h3.aside-item__title {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 0px;
}
.aside-article__link {
    display: block;
    text-decoration: none;
}
.aside-item__date {
    font-size: 12px;
    color: var(--text_light);
}
.aside-item__price {
    padding: 4px 8px;
    font-size: 12px;
    color: var(--white);
    background-color: var(--accent);
    margin-top: 12px;
}
.service-cta-wrapp {
    margin-top: 48px;
    margin-bottom: 48px;
}
.cta__steps-wrapp h2 {
    font-weight: 500;
    margin-bottom: 36px;
    font-weight: bold;
}
.cta-steps__list {
    border-bottom: 1px solid var(--border_color);
}
.cta-steps__item {
    margin-bottom: 32px;
}
.cta-manager__name-wrapp {
    margin-left: 8px;
}
.cta__manager {
    border-top: 1px solid var(--border_color);
    border-bottom: 1px solid var(--border_color);
    padding-top: 24px;
    padding-bottom: 24px;
    margin-bottom: 48px;
}
.cta__text {
    text-align: right;
    font-style: italic;
    margin: 0px;
}
.cta__manager-flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.cta-manager__name {
    display: block;
    font-size: 16px;
    font-weight: bold;
    line-height: 0.5;
}
.cta-manager__position {
    font-size: 12px;
    color: var(--text_light);
}
.cta-manager__photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}
.cta-manager__photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.cta-steps__item-flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}
.cta-steps__item-flex .h2 {
    margin: 0px;
}
.cta-steps__item-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: var(--border_color);
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}
.cta__form-wrapp {
    padding-top: 48px;
}
.cta__form-wrapp .filter-form__chekbox-item a {
    color: var(--text);
    border-bottom: 1px dotted var(--text);
}
.cta__form-bg {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 40px 60px;
    border-radius: 12px;
}
.cta__form-bg .contacts__form {
    max-width: 480px;
    margin: 0 auto;
    margin-top: 24px;
}
.cta__form-bg .contacts__form .bg_light_grey {
    background-color: var(--white);
}
.cta__form-bg .contacts__form textarea {
    background-color: var(--white);
}
.cta__form-title {
    font-weight: bold;
    margin-bottom: 8px;
}
.cta__form-description {
    font-size: 18px;
    margin-bottom: 24px;
}
.news-item__data_mrg {
    margin-bottom: 19px;
}

/*Блок пакетов в услугах*/
.service-packages-item {
    border-radius: 8px;
    padding: 12px 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}
.title_pq, .price_pq {
    font-weight: bold;
    margin-top: 12px;
}
.service-packages-item .h2 {
    margin-bottom: 0;
}

.service-packages-item .divider {
    border-top: 1px solid var(--border_color);
    margin-top: 24px;
    margin-bottom: 24px;
}

.title_pq-wrapp {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.item_pq-title {
    font-weight: bold;
    margin-bottom: 24px;
}

.body_pq {
    margin-top: 24px;
    margin-bottom: 24px;
}

.body_pq ul {
    list-style: disc;
    padding-left: 16px;
}

.btn_pq {
    border: none;
    border-radius: 6px;
    padding: 10px 32px;
    color: var(--white);
}
.telegramm__news_wrapp {
    margin-top: 48px;
    padding-top: 24px;
}
/*Ссылка на источник*/
.sourse_content {
    font-style: italic;
}
figcaption {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    color: var( --text_grey_light);
    font-size: 14px;
    margin-top: 4px;
}
/*Table style*/
thead th {
    color: var(--table_thead);
    font-weight: bold;
}
/* Callouts styles */
.callout_green { background-color: var(--callout_green);}
.callout_yellow { background-color: var(--callout_yellow)}
.callout_red { background-color: var(--callout_red)}
.callout {
    display: flex;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 16px 16px 16px 12px;
    border-radius: 4px;
}

/* Exit PoPup стили ----------------------- */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
}

.popup-content {
    background: white;
    border-radius: 8px;
    width: 900px;
    max-width: 900px;
    min-width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 32px;
    font-weight: bolder;
    cursor: pointer;
    color: var(--accent);
}
.exit-content__wrapp {
    display: flex;
}
.exit-content__item {
    align-self: stretch;
    flex-basis: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
.exit-popup__form-wrapp input {
    border: 1px solid var(--text_grey_light);
}
.exit-popup__form-wrapp input[type=submit] {
    border-color: var(--accent);
}
.exit-popup__text {
    padding: 40px;
}
.exit-content__item-image {
    max-width: 100%;
}
.exit-content__list {
    font-size: 14px;
}
.exit-content__cta {
    font-size: 14px;
}
.exit-content__list ul li {
    margin-bottom: 12px;
}
/* END Exit PoPup стили ----------------------- */

/* Новый блок автора ----------------------------*/
.author_new-blok {
    margin: 48px 18px 36px;
    background-color: #f8f8f8;
    border-radius: 16px;
    padding: 12px;
}
.author_new__img {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 24px;
}
.author_new__img picture {
    width: 100%;
    height: 100%;
}
.author_new__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author_new__wrapp {
    display: flex;
    flex-direction: row;
}
.author_new__position {
    font-size: 14px;
    font-style: italic;
}
.article__wrapp .news-item__data {
    padding-left: 0px !important;
}
.article_meta-wrapp {
    display: flex;
}
.news-item__data_mrg {
    margin-bottom: 0px;
}
.toc {
    background-color: #fff;
}

/* END Новый блок автора ----------------------------*/

/* Страница автора =================================*/
.author-head__wrapp {
    display: flex;
}
.author-head__img {
    width: 270px;
    height: 270px;
    min-width: 270px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    margin-right: 48px;
}
.author-head__img picture {
    width: 100%;
    height: 100%;
}
.author-head__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-head__name {
    font-size: 32px;
    font-weight: bold;
}
.author-head__position {
    font-size: 18px;
}
.author-head__discription {
    padding-top: 24px;
    font-style: italic;
    position: relative;
}
.author-head__discription span {
    position: absolute;
    top: -10px;
    left: -24px;
    font-weight: 500;
    font-style: normal;
    font-size: 48px;
    color: var(--accent);
}
.author-body__wrapp {
    margin-top: 48px;
}
.author-head__social {
    display: flex;
}
.author-head__social li {
    margin-right: 12px;
}
.author-articls__wrapp {
    margin-top: 48px;
}
/* END Страница автора =================================*/
/* Контейнер для статей автора */
.author-articls__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

/* Карточка статьи */
.author-articls__item {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-articls__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Ссылка занимает всю карточку */
.author-articls__item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

/* Блок изображения */
.author-articls__item-img {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 = 9/16 * 100 */
    background: #f0f0f0;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.author-articls__item-img picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.author-articls__item-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.author-articls__item:hover .author-articls__item-img img {
    transform: scale(1.05);
}

/* Блок с текстом */
.author-articls__item-meta {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.author-articls__item-meta b {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #1a1a1a;
    display: block;
}

.author-articls__item-meta p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/*SIDEBAR ======================================== */
.sidebar__all-services {
    margin-bottom: 24px;
}
.sidebar__all-services a {
    padding: 12px 24px;
}
.sidebar__service-list {
    margin-bottom: 48px;
}
.sidebar__service-list li {
    margin-bottom: 12px;
}
/*END SIDEBAR ======================================== */

/* Адаптивность */
@media (max-width: 1200px) {
    .author-articls__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .article_meta-wrapp {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .author-articls__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .article_meta-wrapp {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .author-articls__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .author-articls__item-meta {
        padding: 16px;
    }
    
    .author-articls__item-meta b {
        font-size: 16px;
    }
    
    .author-articls__item-meta p {
        font-size: 13px;
    }
    .article_meta-wrapp {
        flex-direction: column;
    }
    .author-head__wrapp {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .author-articls__list {
        margin: 20px 0;
    }
}
/* END СТРАНИЦА АВТОРА =================================================*/

/* Digital Nomad Services =============================================*/
.prise-wrapp_ .button {
    border-radius: 25px;
}

/* Two Column List */
.two-column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 48px;
    margin-bottom:32px;
}

.two-column-list li {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    transition: all .3s ease-in-out;
}

.two-column-list li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.two-column-list .icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    flex-shrink: 0;
    order: 2;
    margin-left: auto;
}

.two-column-list p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .two-column-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .two-column-list li {
        padding: 16px;
        gap: 15px;
    }

    .two-column-list .icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .two-column-list p {
        font-size: 14px;
    }
}
/* END Two Column List */

/* END Digital Nomad Services =============================================*/

/*ABOUT PAGE =================================================================*/
.section__about {
    padding-top: 36px;
    padding-bottom: 48px;
}
.about__content {
    margin-bottom: 32px;
}
.about__ferst {
    background: linear-gradient(to right, rgba(21, 69, 117, 1), rgba(21, 69, 117, 0.3)), url(../../images/madrid.jpg);
    background-size: cover;
    background-position: center;
    padding: 60px 24px;
    border-radius: 12px;
}
.about__ferst h1 {
    margin-bottom: 24px;
}
.section__about .service-aside {
    margin-top: 0px;
    border-radius: 12px;
}
.about-section__head {
    margin-bottom: 24px;
}
.about-section__head p {
    margin: 0;
    color: var(--text_light);
}
.about-section__head--center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits */
.about-benefits {
    margin-bottom: 48px;
}
.about-benefits__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-benefits__item {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    height: 100%;
}
.about-benefits__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(234, 105, 84, .12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.about-benefits__icon svg {
    width: 26px;
    height: 26px;
}
.about-benefits__item h3 {
    margin-bottom: 12px;
}

/* Founder Block */
.about-founder {
    margin-bottom: 24px;
}
.about__second {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 24px;
}
.about__quote {
    position: relative;
    display: block;
    height: 0;
}
.about__quote::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -32px;
    font-size: 72px;
    line-height: 1;
    color: var(--accent);
}
.about__second p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
}
.about__second-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text);
}
.about__second-item img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}
.media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ececec 0%, #f5f5f5 45%, #e8e8e8 100%);
    border: 1px dashed #d8d8d8;
}

/* Stats */
.about-stats {
    margin-top: 36px;
    margin-bottom: 48px;
}
.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.about-stats__item {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px;
}
.about-stats__value {
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
}
.about-stats__label {
    color: var(--text_light);
    font-size: 14px;
}

/* Partners */
.about-partners {
    margin-bottom: 48px;
}
.about-partners__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    overflow: hidden;
    max-height: 9999px;
    transition: max-height 0.4s ease;
}
.about-partners__grid .about-partners__item:nth-child(n+7) {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.about-partners--expanded .about-partners__grid .about-partners__item:nth-child(n+7) {
    opacity: 1;
    transform: translateY(0);
}
.about-partners__item {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.about-partners__item .media-placeholder {
    min-height: 64px;
    border-radius: 10px;
}
.about-partners__toggle {
    margin-top: 16px;
    text-align: center;
}
.about-partners__link {
    display: inline-block;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px dotted var(--text_light);
    font-size: 14px;
}
.about-partners__link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Certificates */
.about-certificates {
    margin-bottom: 48px;
}
.about-certificates__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.about-certificates__item {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 16px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.about-certificates__item .media-placeholder {
    min-height: 140px;
    border-radius: 10px;
}

/* Process */
.about-process {
    margin-bottom: 48px;
}
.about-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.about-process__item {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}
.about-process__step {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(234, 105, 84, .12);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.about-process__item h3 {
    margin-bottom: 10px;
}
.about-process__item p {
    color: var(--text_light);
    margin: 0;
}

/* Video */
.about-video {
    margin-bottom: 48px;
}
.about-video__frame {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.about-video__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.about-video__embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.about-video__embed::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(234, 105, 84, .9);
    pointer-events: none;
}
.about-video__embed::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 18px solid #ffffff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transform: translateX(3px);
    pointer-events: none;
}

/* Team */
.about-team {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}
.about-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.about-team__card {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.about-team__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    overflow: hidden;
}
.about-team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-team__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.about-team__role {
    color: var(--accent);
    font-weight: 500;
    margin: 0;
}
.about-team__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--text_light);
}
.about-team__meta-item {
    display: block;
}
.about-team__desc {
    color: var(--text_light);
    margin: 0;
}
.about-team__list {
    margin: 6px 0 0 0;
    padding-left: 18px;
    color: var(--text);
    font-size: 14px;
}
.about-team__list li {
    position: relative;
    margin-bottom: 6px;
}
.about-team__list li:before {
    content: "\25cf";
    font-size: 6px;
    color: var(--accent);
    position: absolute;
    left: -12px;
    top: 6px;
}
.about-team__links {
    margin-top: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.about-team__link {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px dotted var(--text_light);
}
.about-team__link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.about-team__cta {
    margin-top: 32px;
}
.about-team__cta-inner {
    background: var(--white);
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.about-team__cta-inner p {
    color: var(--text_light);
    margin: 0;
}

/* Адаптивность About Page */
@media (max-width: 1199px) {
    .about-team__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 991px) {
    .about-benefits__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .about__second {
        grid-template-columns: 1fr;
    }
    .about-team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-partners__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-certificates__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .about__ferst {
        padding: 40px 20px;
    }
    .about-benefits__list {
        grid-template-columns: 1fr;
    }
    .about-team__grid {
        grid-template-columns: 1fr;
    }
    .about-stats__grid {
        grid-template-columns: 1fr;
    }
    .about-partners__grid {
        grid-template-columns: 1fr;
    }
    .about-certificates__grid {
        grid-template-columns: 1fr;
    }
    .about-process__grid {
        grid-template-columns: 1fr;
    }
    .about__quote::before {
        font-size: 56px;
        top: -24px;
    }
}
@media (max-width: 576px) {
    .about-team {
        padding: 48px 0;
    }
    .about-benefits__item {
        padding: 18px;
    }
}
/*END ABOUT PAGE =================================================================*/

@media (max-width: 1199px) {
    .aside__form school-filter .filter-form__chekbox-item .modal-form__select select:checked+label::before {
        background-color: #3c4350;
        background-image: url(../images/build/checked.png);
    }
    .pay-service__item img {
        height: 50px;
    }
    .reiews-link__list, .reviews__list {
        padding-right: 0px;
        padding-left: 0px;
    }
}
@media (max-width: 1000px) {
    .qwiz__gift {
        display: none;
    }
}
@media (max-width: 991px) {
    .wrapp__tags {
        flex-direction: column;
        align-items: flex-start;
    }
    .service__list-item {
        max-width: 49%;
        width: 49%;
        margin-bottom: 12px;
    }
    .service-aside {
        margin-top: 0px;
    }
    .job-file__wrapp {
        padding-left: 0px;
        padding-bottom: 24px;
    }
    .job-form__button {
        margin-left: 0px;
    }
    .job-title {
        border-bottom: none;
        padding: 0px;
        display: block;
    }
    .popup-content {
        width: 100%;
    }
    .exit-content__item {
        background-position-x: center;
    }
}
@media (max-width: 766px) {
    .cta__manager-flex {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .cta-manager__name-wrapp {
        text-align: center;
        margin-top: 8px;
    }

}

@media (max-width: 1399px) {
    .cta-manager__name {
        line-height: 1;
    }
}

@media (max-width: 767px) {
    .spain-category-services {
        margin-top: 36px;
    }
    .spain-category-services__list {
        grid-template-columns: 1fr;
    }
    .service__list-item {
        max-width: 100%;
        width: 100%;
    }
    .service-linkes ul li {
        width: 100%;
    }
    .reviews-photo__img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .filter-form__chekbox-item .modal-form__select select+label, .filter-form__chekbox-item input+label, .modal-form__select .filter-form__chekbox-item select+label {
        display: block;
    }
    .form-insert__prise-wrapp {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .form-insert__prise {
        margin-bottom: 32px;
    }
    .tabl_responsive table {
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .job-content__wrapp ul {
        padding-left: 24px;
    }
    .article__wrapp blockquote, p {
        font-size: 16px;
    }
    .bredcrumbs {
        font-size: 14px !important;
    }
    .cta__text {
        text-align: center;
    }
    .exit-popup__image {
        display: none;
    }
    .exit-popup__text {
        flex-grow: 1;
        background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url("/assets/build/images/exit-popup/HTS_Avatar_Circle.gif");
        background-repeat: no-repeat;
        background-size: cover;
    }
    .exit-popup__text h2 {
        color: var(--table_thead);
    }
}

@media (max-width: 500px) {
    .service__item-icon {
        display: none;
    }
    .service__item {
        padding-left: 0;
    }
    .service__list {
        white-space: normal;
    }
    .reviews-photo__img {
        width: 72px;
        height: 72px;
    }
    .reviews-photo__name {
        font-size: 14px;
        line-height: 1.2;
    }
    .reviews-content__wrapp-left {
        margin-left: 36px;
    }
    .reviews-content__wrapp-right {
        margin-right: 36px;
    }
    .fa-search {
        font-size: 24px;
    }
    .cta__form-bg {
        padding: 20px 30px;
    }
    .title_pq-wrapp {
        flex-direction: column;
    }
}

@media (max-width: 380px) {}

/* ============================================
   Quiz Styles
   ============================================ */

/* Обертка квиза - две колонки */
.nomad_quwiz-form_wrapp {
    display: flex;
    gap: 30px;
    align-items: center;
    background: linear-gradient(270deg, #c5d5e0 0%, #163e66 30%, #163e66 100%);
    border-radius: 16px;
    padding: 40px;
}

/* Элементы квиза - колонки */
.nomad_quwiz-form_item {
    flex: 1;
}

/* Первая колонка (заголовок) - 40% ширины */
.nomad_quwiz-form_item:first-child {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Белый текст в левой колонке */
.nomad_quwiz-form_item:first-child h2,
.nomad_quwiz-form_item:first-child p {
    color: #ffffff;
}

/* Вторая колонка (форма) - 60% ширины */
.nomad_quwiz-form_item:last-child {
    flex: 0 0 calc(60% - 30px);
}

/* Контейнер квиза */
.quiz_form {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(34, 34, 34, .15);
    padding: 40px;
    margin: 40px 0;
}

/* Скрываем все шаги квиза по умолчанию */
.quiz__item {
    display: none;
    animation: fadeIn 0.4s ease;
}

/* Показываем только активный шаг */
.quiz__item.is-active {
    display: block;
}

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

/* Заголовок вопроса */
.quiz__title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 30px;
    line-height: 1.4;
}

.quiz__title b {
    color: var(--accent);
}

/* Контейнер для вариантов ответа */
.quiz-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

/* Вариант ответа (label) */
.quiz-items__item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Скрываем стандартный radio */
.quiz-items__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Текст варианта */
.quiz-items__txt {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: var(--bg_color_light);
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    color: var(--text);
    font-weight: 400;
    transition: all 0.3s ease;
    min-height: 60px;
}

/* Иконка чекмарка */
.quiz-items__txt i {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border_color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* При наведении */
.quiz-items__item:hover .quiz-items__txt {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(234, 105, 84, .2);
}

.quiz-items__item:hover .quiz-items__txt i {
    border-color: var(--accent);
}

/* Когда выбран */
.quiz-items__input:checked ~ .quiz-items__txt {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(234, 105, 84, .25);
}

.quiz-items__input:checked ~ .quiz-items__txt i {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.quiz-items__input:checked ~ .quiz-items__txt i:before {
    content: "\2713";
    font-weight: bold;
}

/* Навигация квиза */
.quiz-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.quiz-actions__item {
    flex: 1;
}

/* Базовые стили для кнопок квиза */
.quiz-actions__btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.quiz-actions__btn span {
    display: inline-block;
}

/* Черная кнопка (Далее) */
.quiz-actions__btn.btn--black {
    background: var(--text);
    color: var(--white);
}

.quiz-actions__btn.btn--black:hover {
    background: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    transform: translateY(-2px);
}

.quiz-actions__btn.btn--black:active {
    transform: translateY(0);
}

/* Прозрачная кнопка (Назад) */
.quiz-actions__btn.btn--transparent {
    background: transparent;
    color: var(--text_light);
    border: 2px solid var(--border_color);
}

.quiz-actions__btn.btn--transparent:hover {
    background: var(--bg_color_light);
    border-color: var(--text_light);
    color: var(--text);
}

/* ============================================
   Quiz Progress Bar Styles
   ============================================ */

.quiz-progress {
    margin-bottom: 35px;
    padding: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid var(--border_color);
}

.quiz-progress__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text);
}

.quiz-progress__text {
    font-weight: 500;
    color: var(--text_light);
}

.quiz-progress__current {
    font-weight: 700;
    color: rgba(21, 69, 117, 1);
    font-size: 16px;
}

.quiz-progress__total {
    font-weight: 500;
    color: var(--text);
}

.quiz-progress__percent {
    font-weight: 700;
    font-size: 18px;
    color: rgba(21, 69, 117, 1);
}

.quiz-progress__bar-wrap {
    width: 100%;
    height: 10px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .1);
}

.quiz-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(21, 69, 117, 1) 0%, rgba(51, 126, 169, 1) 100%);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 6px rgba(21, 69, 117, .3);
}

.quiz-progress__bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}
/* MP3 Player ==========================*/
.media-player_wrapp {
    padding: 28px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(234, 105, 84, 0.08) 0%, rgba(234, 105, 84, 0.12) 100%);
    border: 2px solid var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(234, 105, 84, 0.15);
    margin: 24px 0;
}

.media-player_wrapp:hover {
    background: linear-gradient(135deg, rgba(234, 105, 84, 0.12) 0%, rgba(234, 105, 84, 0.18) 100%);
    border-color: #d04000;
    box-shadow: 0 8px 28px rgba(234, 105, 84, 0.25);
    transform: translateY(-3px);
}

.media-player_wrapp:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 105, 84, 0.2);
}

.media-player_wrapp a.jouele {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.media-player_wrapp a.jouele:before {
    content: "\1F3B5";
    font-size: 28px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(234, 105, 84, 0.3);
}

.media-player_wrapp:hover a.jouele:before {
    background: #d04000;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(212, 64, 0, 0.4);
}

.media-player_wrapp a.jouele:after {
    content: "\00BB";
    font-size: 20px;
    color: var(--accent);
    margin-left: auto;
    transition: all 0.3s ease;
    font-weight: bold;
}

.media-player_wrapp:hover a.jouele:after {
    color: #d04000;
    transform: translateX(4px);
}
/* END MP3 Player ==========================*/

/* ============================================
   Изображения в статьях (figure.image)
   ============================================ */

.content figure.image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    margin: 24px 0;
    cursor: pointer;
}

.content figure.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.content figure.image:hover img {
    transform: scale(1.02);
}

.content figure.image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    color: #fff;
    font-size: 13px;
}

/* ============================================
   Lightbox
   ============================================ */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-overlay.is-active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    /* Колонки становятся вертикальными */
    .nomad_quwiz-form_wrapp {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        border-radius: 12px;
    }

    .nomad_quwiz-form_item:first-child,
    .nomad_quwiz-form_item:last-child {
        flex: 1 1 100%;
    }

     .quiz_form {
        padding: 24px;
    }

    .quiz__title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .media-player_wrapp {
        padding: 20px 16px;
        flex-direction: column;
        text-align: center;
    }

    .media-player_wrapp a.jouele {
        gap: 12px;
    }

    .media-player_wrapp a.jouele:before {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .media-player_wrapp a.jouele:after {
        display: none;
    }

    .quiz-items__txt {
        padding: 14px 18px;
        font-size: 15px;
    }

    .quiz-actions {
        flex-direction: column;
    }

    .quiz-actions__item {
        width: 100%;
    }

    .quiz-progress {
        padding: 18px;
    }

    .quiz-progress__info {
        font-size: 13px;
    }

    .quiz-progress__percent {
        font-size: 16px;
    }
}

/* Quiz Progress - Responsive */
@media (max-width: 768px) {
    .quiz-progress {
        padding: 15px;
        margin-bottom: 20px;
    }
    .quiz-progress__info {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .quiz-progress__percent {
        font-size: 15px;
    }
    .quiz-progress__bar-wrap {
        height: 10px;
    }
}

@media (max-width: 480px) {
    .quiz-progress {
        padding: 12px;
        margin-bottom: 15px;
    }
    .quiz-progress__info {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .quiz-progress__percent {
        font-size: 14px;
    }
    .quiz-progress__bar-wrap {
        height: 8px;
    }
}

/* ============================================================
   E-01 — Таблицы в контенте статей (.article .content)
   Fix 1: распределение колонок. Нейтрализуем глобальное
          td,th{width:100%} из main.min.css, из-за которого
          первая колонка растягивалась, а остальные сжимались.
          table-layout:auto распределяет ширину по содержимому.
   Fix 2: горизонтальный скролл на телефонах. Таблица остаётся
          обычной (display:table → перенос текста и колонки
          работают штатно), скролл даёт обёртка .table-scroll,
          которую на произвольные таблицы из TinyMCE навешивает
          JS из чанка n_scripts.tpl. Без обёртки (no-JS) таблица
          просто остаётся обычной — graceful degradation.
   ============================================================ */
.article .content table {
    width: 100%;
    table-layout: auto;
}
.article .content th,
.article .content td {
    width: auto;
}

/* Обёртка горизонтального скролла вокруг таблиц контента */
.article .content .table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* Внутри обёртки таблица занимает минимум всю ширину, но может
   быть шире контейнера — тогда обёртка скроллится по горизонтали,
   а текст в ячейках при этом переносится нормально. */
.article .content .table-scroll > table {
    width: auto;
    min-width: 100%;
}

/* T-CWV-02: до DOMContentLoaded Mmenu ещё не перенёс исходный nav из шапки.
   Скрываем только этот промежуточный вариант при наличии JavaScript: когда Mmenu
   добавляет .mm-menu, селектор тут же перестаёт совпадать, а offcanvas-меню
   продолжает работать штатно. При отключённом JavaScript навигация остаётся видимой. */
html.js #my-menu:not(.mm-menu) {
    display: none;
}
