@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

:root {
    --primary-dark: #00132D;
    --secondary-dark: #09203E;
    --main-light-color: #F9F9F9;
    --main-lines-color: #D1D3D7;
    --accent-color: #ebb021;
    --main-text-color: #1A304D;
}

.body {
    background: #ffffff;
    /*color: var(--main-text-color);*/
    color: var(--secondary-dark);
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.site-header,
.site-footer {
    background: var(--main-light-color);
    outline: 1px solid var(--secondary-dark);
    z-index: 1;
    position: relative;
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}

.site-footer {
    padding: 20px 0px;
    background: var(--primary-dark);
    color: var(--main-light-color);
}

.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 1rem;
    flex: 1 1 10%;
    min-width: 100px;
}

.site-branding > * {
    margin: 0;
}

.site-branding a {
    width: fit-content;
}

.site-footer .site-branding {
    max-width: 100px;
    margin-right: 2rem;
}

.site-info {
    row-gap: 2rem;
}

.site-info > * {
    margin: 0;
}

.container {
    max-width: 1200px; /* Stops the layout from getting too wide */
    margin: 0 auto; /* Centers the container horizontally */
    padding: 0 20px; /* Prevents content from touching screen edges */
    width: 100%; /* Ensures responsiveness on small screens */
}

.post-thumbnail {
    overflow: hidden;
    border-radius: 2rem;
    text-align: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
    position: relative;
}

.flex-column {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-start;
}

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

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-start {
    align-items: flex-start;
}

.flex-auto {
    flex: 1 1 auto;
}

.flex-half {
    flex: 1 1 calc(50% - 40px);
    /*flex: 1 1 auto;*/
}

.flex-auto {
    /*flex: 1 1 calc(50% - 40px);*/
    flex: 1 1 auto;
}

.custom-logo {
    height: 100px;
    width: auto;
}

.site-footer .custom-logo {
    height: 160px;
}

.nav-menu {
    height: 100%;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    column-gap: 2rem;
}

/*.footer-navigation{
    flex: 1 1 40%;
}*/
/*.footer-navigation .nav-menu ul{
    flex-direction: column;
}*/
.nav-menu li {
    text-align: center;
    position: relative;
}

.nav-menu li .sub-menu li:after {
    content: none;
}

.nav-menu li:not(:last-child):after {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1rem;
    background: var(--accent-color);
}

.nav-menu li:hover > a {
    color: var(--accent-color);
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    white-space: nowrap;
}

.site-footer .nav-menu a {
    color: var(--main-light-color);
}

.nav-toggle {
    padding: 5px;
    width: 30px;
    display: none;
}

.lines {
    row-gap: 5px;
}

.lines span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
}

.lang-switcher {
    padding: 10px 20px;
    min-width: 60px;
    flex: 1 1 10%;
}

.lang-switcher > * {
    margin: 0;
    padding: 0;
}

.hero-home {
    height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    z-index: 0;
}

.hero-home_content {
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
    width: 100%;
    background: var(--primary-dark);
    border-radius: 2rem;
    overflow: hidden;
    color: #ffffff;
    font-family: "EB Garamond", serif;
    column-gap: 2rem;
    align-items: center;
}

.hero-home__logo {
    flex: 0 1 20%;
    max-width: 140px;
}

.hero-home__text {
    flex: 0 1 80%;
    max-width: 44%;
    row-gap: 2rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
}

.hero-home__text > * {
    margin: 0;
}

.hero-home__text h1 {
    position: relative;
}

.hero-home__text .hero-home__subtitle {
    font-size: 22px;
}

.hero-home__text h1:after {
    content: '';
    position: absolute;
    width: 4rem;
    height: 1px;
    background: var(--accent-color);
    left: 0;
    bottom: -1rem;
}

.section {
    padding: 60px 0;
    position: relative;
    z-index: 0;
    background: #ffffff;
}

.section_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
}

.hero .section_bg {
    /*opacity: 0.3;*/
    /*filter: sepia(100%);*/
    max-width: 1160px;
    border-radius: 2rem;
    overflow: hidden;
    margin: 0 auto;
    background: var(--primary-dark);
}

.hero-content {
    max-width: 65%;
    text-align: left;
    padding: 0 2rem;
    color: var(--main-light-color);
}

.hero-home_bg {
    position: fixed;
    /*inset: 0;*/
    height: 100%;
    left: 55%;
    top: 106px;
}

.section_bg img {
    position: absolute;
    right: 0;
    height: 150%;
    top: -6%;
}

.hero-home_bg img {
    width: auto;
    height: 100%;
    max-width: unset;
}

.hero {
    margin-top: 2rem;
}


.card {
    padding: 2rem;
    border: 2px solid;
    border-color: var(--secondary-dark);
    overflow: hidden;
    border-radius: 2rem;
    background: var(--main-light-color);
}

.card-accent {
    border-color: var(--accent-color);
}

.card-dark {
    background: var(--primary-dark);
}

.card-light {
    border-color: #d2d3d7;
}

.section-title {
    font-size: 2rem;
    /*margin-bottom: 1.5rem;*/
    /*margin-top: 0;*/
    /*margin-left: 2rem;*/
    /*margin-right: auto;*/
    font-family: "EB Garamond", serif;
    position: relative;
    letter-spacing: 0.08rem;
    display: block;
    margin: 0 auto 1.5rem auto;
    width: max-content;
    max-width: 100%;
}

h1.section-title {
    font-size: 3rem;
}

.hero-content .section-title {
    margin-left: 0;
}

.hero-content p {
    margin: 0;
}

/*h2.section-title{
    font-size: 1.5rem;
}*/
/*.direction-item_title:after,
.section-title:after{
    content: '';
    position: absolute;
    width: 4rem;
    height: 1px;
    background: var(--accent-color);
    left: 0;
    bottom: -0.5rem;
}*/
.accent-line {
    position: relative;
    font-family: "EB Garamond", serif;
}

.accent-line:after {
    content: '';
    position: absolute;
    width: 6rem;
    height: 1px;
    background: var(--accent-color);
    left: 0;
    bottom: -0.5rem;
    max-width: 80%;
}

/* mission */
.mission-item {
    /*padding: 20px 0;*/
    column-gap: 40px;
    margin-bottom: 20px;
}

.mission-item:last-child {
    margin-bottom: 0;
    /*padding-bottom: 0;*/
}

.mission-item:nth-child(even) {
    flex-direction: row-reverse;
}

.is-style-asterisk:before {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    background: var(--accent-color, currentColor);
    clip-path: path('M11.93.684v8.039l5.633-5.633 1.216 1.23-5.66 5.66h8.04v1.737H13.2l5.701 5.701-1.23 1.23-5.742-5.742V21h-1.737v-8.094l-5.77 5.77-1.23-1.217 5.743-5.742H.842V9.98h8.162l-5.701-5.7 1.23-1.231 5.66 5.66V.684h1.737Z');
    display: block;
}

.mission-item_image {
    border-radius: 20px;
    overflow: hidden;
    max-height: 300px;
}

.mission-item_image img {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.mission-item_title {
    margin-left: 0;
    font-size: 1.75rem;
}

/* mission */
/* directions */
.directions-title {
    text-align: center;
}

.directions-items {
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 40px;
    margin: 40px auto;
}

.direction-item {
    row-gap: 1rem;
    position: relative;
}

@media screen and (min-width: 768px) {
    .direction-item:nth-child(4n + 1),
    .direction-item:nth-child(4n) {
        background: var(--secondary-dark);
        color: var(--main-light-color);
    }

    .direction-item:nth-child(5n) {
        background: #D1D3D7;
        color: var(--secondary-dark);
    }
}

@media screen and (max-width: 767px) {
    .direction-item:nth-child(even) {
        background: var(--secondary-dark);
        color: var(--main-light-color);
    }
}

.direction-item ul {
    margin: 0;
}

.direction-item.is-style-asterisk:before {
    margin: 0 auto;
}

.direction-item_title {
    position: relative;
    font-family: "EB Garamond", serif;
}

.direction-bg-icon {
    position: absolute;
    /* width: 25%; */
    height: calc(100% - 2rem);
    right: 1rem;
    bottom: 1rem;
}

.direction-bg-icon img {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* directions */
/* callback */
.callback-row {
    gap: 40px;
}

.callback-row .contacts-card {
    margin: 0;
}

.callback-row .contacts-card-icon {
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
    text-align: left;
}

.contacts-card_icon {
    width: 8rem;
}

.metodologia-contacts_left .contacts-card_icon {
    width: 6rem;
    height: 6rem;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    padding: 1rem;
    aspect-ratio: 1 / 1;
}

.callback-form {
    width: 100%;
    background: #ffffff;
}

/* callback */
/* partners */
.partner-item {
    /*width: 250px;*/
    min-height: 300px;
    justify-content: space-between;
    row-gap: 1rem;
    align-items: center;
}

.partners-image {
    border-radius: 1.5rem;
    overflow: hidden;
    width: 100%;
}

.partners-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partners-title {
    text-align: center;
    /*display: inline-block;*/
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: auto;
    font-family: "EB Garamond", serif;
    /*width: 100%;*/
}

.partners-slider {
    margin-top: 40px;
}

.partners-slider .swiper-slide {
    width: 250px;
}

.partners-pagination {
    position: relative;
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.button-wrapper {
    margin-top: 40px;
}

.button-wrapper__accent {
    margin-top: 0;
}

.btn {
    padding: 20px 40px;
    border-radius: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn:active,
.btn:focus,
.btn:visited {
    color: var(--main-text-color);
}

.primary-btn {
    border: 2px solid var(--primary-dark);
    color: var(--main-text-color);
    background: var(--main-light-color);
    transition: all 0.4s linear;
}

.primary-btn:hover {
    background: var(--primary-dark);
    color: var(--main-light-color);
}

.secondary-btn {
    border: 2px solid var(--primary-dark);
    color: var(--main-light-color);
    background: var(--primary-dark);
    transition: all 0.4s linear;
}

.secondary-btn:hover {
    background: var(--main-light-color);
    color: var(--main-text-color);
}

.accent-btn {
    border: 2px solid var(--accent-color);
    color: var(--primary-dark);
    background: var(--accent-color);
    transition: all 0.4s linear;
}

.accent-btn:hover {
    /*background: var(--main-light-color);*/
    color: #ffffff;
}

.partners-archive_wrapper {
    flex-wrap: wrap;
    gap: 40px;
}

.partner-item_archive {
    height: auto;
    flex: 1 1 calc(33% - 40px);
}

/* partners */
/* cases */
.cases-item_archive {
    gap: 40px;
    align-items: center;
}

.cases-item_archive:nth-child(even) {
    flex-direction: row-reverse;
}

.cases-image {
    overflow: hidden;
    max-height: 100%;
    border-radius: 1rem;
}

.cases-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-label {
    padding: 0.5rem;
    background: rgb(235 176 33 / 60%);
    text-transform: uppercase;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

/* cases */
/* team */
.members-title {
    /*margin-bottom: 40px;*/
    text-align: left;
}

.members-subtitle {
    margin-bottom: 2rem;
}

.member-position {
    margin-left: 0;
    margin-right: auto;
    color: var(--accent-color);
    position: relative;
    margin-bottom: 0.5rem;
}

.accent-team-block {
    background: #fffbf1;
    padding: 2rem 3rem;
}

.partner-item_mkr {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 calc(33% - 2rem);
    position: relative;
}

.partner-item_mkr:after {
    content: '';
    width: 2px;
    height: 90%;
    right: calc(-1.5rem + 1px);
    top: 5%;
    background: #d2d3d7;
    position: absolute;

}

.partner-item_mkr .partners-image {
    max-width: 220px;
    max-height: 220px;
    border-radius: 50%;
}

.accent-team-block .partners-archive_wrapper {
    gap: 3rem;
}

/* team */
/* reports */
.reports-wrapper {
    gap: 2rem;
}

.report-wrapper {
    width: 100%;
    /*margin-top: 1rem;*/
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border: 2px solid;
    border-color: #d2d3d7;
    border-radius: 2rem;
}

@media screen and (max-width: 767px) {
    .report-wrapper {
        flex-direction: column;
    }
}

.report-link {
    width: 100%;
    display: inline-block;
}

.report-button {
    width: auto;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    border: 2px solid;
    color: var(--main-light-color);
    white-space: nowrap;
    padding: 1rem;
    transition: all .4s linear;
}

.report-wrapper:nth-child(even) {
    background: var(--primary-dark);
    color: var(--main-light-color);
}

.report-wrapper:nth-child(even) .report-button {
    color: var(--primary-dark);
    border-color: var(--main-light-color);
    background: var(--main-light-color);
}

.report-button:active,
.report-button:focus,
.report-button:visited {
    color: var(--main-light-color);
}

.report-button:hover {
    background: var(--main-light-color);
    color: var(--primary-dark);
}

.report-wrapper:nth-child(even) .report-button:hover {
    background: var(--primary-dark);
    /*border-color: var(--primary-dark);*/
    color: var(--main-light-color);
}

.report-link__title {
    /*text-align: center;*/
    display: inline-block;
    width: 100%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.report-link__description {
    /*text-align: center;*/
    font-size: 0.75rem;
    text-transform: none;
    display: inline-block;
    width: 100%;
    font-size: 1rem;
}

.report-icon {
    width: 6rem;
    min-width: 6rem;
}

/* reports */

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/*lang switcher*/
.wpm-switcher-list {
    display: flex;
    gap: 0.5rem;
    font-weight: 600;
}

.wpm-switcher-list a {
    text-decoration: none;
}

.wpm-switcher-list .active {
    opacity: 0.6;
}

/*lang switcher*/

/*metodologia*/
.metodologia-items {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin: 2rem auto;
}

.metodologia-item {
    flex: 1 1 calc(33.33% - 2rem);
    border-radius: 1.5rem;
    border: 2px solid var(--accent-color);
    background: var(--main-light-color);
    overflow: hidden;
}

.metodologia-item_title {
    padding: 1rem;
    /*background: rgba(235, 176, 33, 0.5);*/
    width: 100%;
    gap: 0.5rem;
}

.metodologia-item_icon {
    width: 2rem;
    height: 2rem;
}

.metodologia-item_number {
    line-height: 0.7;
    font-family: 'EB GARAMOND', serif;
    font-size: 5rem;
    color: var(--accent-color);
}

.metodologia-item_content {
    padding: 0 1rem 1rem;
}

.metodologia-item_content ul,
.metodologia-item_content ol {
    margin: 0;
    padding-left: 1.5rem;;
}

.contacts-card {
    /*border-radius: 1rem;*/
    /*background: var(--secondary-dark);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /*padding: 2rem;*/
    color: var(--main-light-color);
    /*margin: 2rem auto;*/
    width: 100%;
}

.metodologia-contacts {
    border-radius: 2rem;
    background: var(--secondary-dark);
    padding: 2rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    color: var(--main-light-color);
}

.metodologia-contacts_left {
    align-items: center;
    column-gap: 2rem;
    flex: 1 1 auto;
    text-align: left;
    padding-right: 1rem;
}

.metodologia-contacts_right {
    align-items: center;
    justify-content: center;
    column-gap: 2rem;
    flex: 1 1 320px;
    border-left: 2px solid var(--accent-color);
    padding-left: 1rem;
    gap: 1rem;
    min-width: 320px;
}

.email-link {
    display: flex;
    gap: 0.5rem;
    color: var(--main-light-color);
    align-items: center;
}

.email-link img {
    width: 2rem;
    height: auto;
}

.metodologia-contacts h1,
.metodologia-contacts .h1,
.metodologia-contacts h2,
.metodologia-contacts .h2,
.metodologia-contacts h3,
.metodologia-contacts .h3,
.site-info h1,
.site-info .h1,
.site-info h2,
.site-info .h2,
.site-info h3,
.site-info .h3,
.contacts-card h2,
.contacts-card .h2,
.contacts-card h3,
.contacts-card .h3 {
    font-family: "EB Garamond", serif;
    margin-bottom: 0;
    letter-spacing: 0.08rem;
}

@media screen and (max-width: 991px) {
    .metodologia-contacts_left {
        flex-direction: column;
    }
}

@media screen and (max-width: 767px) {
    .metodologia-contacts {
        flex-direction: column;
    }

    .metodologia-contacts_left {
        padding: 0;
    }

    .metodologia-contacts_right {
        flex: 1 1 auto;
        border-left: unset;
        border-top: 2px solid var(--accent-color);
        padding: 2rem 0 0;
        min-width: unset;
    }

    .metodologia-contacts_left .contacts-card_icon {
        width: 3rem;
        height: 3rem;
        padding: 0.5rem;
    }

    .email-link {
        font-size: 0.75rem;
    }

    .email-link img {
        width: 1.5rem;
    }
}

/*metodologia*/

.menu-item-has-children {
    position: relative;
}


.menu-item-has-children > .sub-menu {
    position: absolute;
    left: -0.5rem;
    top: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s linear;
    z-index: -1;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
}

.menu-item-has-children > .sub-menu li {
    text-align: left;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .nav-menu li {
        text-align: left;
        width: 100%;
    }

    .nav-menu > ul > li {
        border-bottom: 1px solid rgba(0, 18, 45, 0.2);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .has-icon {
        padding-left: 2rem;
    }

    .has-icon:before {
        content: '';
        width: 1.25rem;
        height: 1.5rem;
        position: absolute;
        left: 0;
    }

    .has-icon.icon-home:before {
        background: url("../img/icons/nav/home.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }

    .has-icon.icon-team:before {
        background: url("../img/icons/nav/team.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }

    .has-icon.icon-justice:before {
        background: url("../img/icons/nav/justice.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }

    .has-icon.icon-report:before {
        background: url("../img/icons/nav/report.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }

    .has-icon.icon-news:before {
        background: url("../img/icons/nav/news.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }

    .has-icon.icon-mail:before {
        background: url("../img/icons/nav/mail.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50% 50%;
    }
}

@media screen and (max-width: 767px) {
    .menu-item-has-children > a{
        font-weight: 600;
    }
    .menu-item-has-children > .sub-menu {
        padding: 0.5rem 0.5rem 0 0.5rem;
        list-style: disc;
    }

    .menu-item-has-children > .sub-menu li{
        margin: 0.25rem 0;
    }

    .menu-item-has-children > .sub-menu li::marker {
        color: var(--accent-color); /* Changes only the bullet color */
    }
    .menu-item-has-children > .sub-menu a{
        font-weight: 400;
    }
}


.footer-content {
    column-gap: 1rem;
}

@media screen and (max-width: 991px) {
    .container {
        max-width: 768px;
    }

    .hero-home__text h1 {
        font-size: 1.25rem;
    }

    .hero-home__text .hero-home__subtitle {
        font-size: 1rem;
    }

    .hero-home_bg {
        left: 60%;
    }

    .site-info h1, .site-info .h1, .site-info h2, .site-info .h2, .site-info h3, .site-info .h3, .contacts-card h2, .contacts-card .h2, .contacts-card h3, .contacts-card .h3 {
        font-size: 1rem;
    }

    .site-info {
        row-gap: 1rem;
    }

    .site-info > p {
        font-size: 0.75rem;
    }
}


@media screen and (max-width: 767px) {
    .main-navigation {
        padding: 1rem;
        position: absolute;
        flex: 1 1 100%;
        width: 100%;
        bottom: 0;
        background: #f9f9f9;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        border: 1px solid rgba(9,32,62,.2);
        transform: translateY(-100%);
        transition: all 0.8s ease-in-out;
        z-index: -1;
    }

    .main-navigation.active {
        transform: translateY(100%);
        z-index: 1;
        box-shadow: 0px 8rem 4rem 4rem rgba(9,32,62, 0.5);
    }

    .flex-row,
    .mission-item:nth-child(even) {
        flex-direction: column;
    }

    .hero-home_bg {
        display: none;
    }

    .section {
        padding: 30px 0;
    }

    .hero-home {
        height: auto;
    }

    .hero-home_content {
        row-gap: 1rem;
    }

    .hero-home__text {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .hero-home__logo img {
        height: 100px;
    }

    .mission-item_image img {
        max-height: 200px;
    }

    .contacts-card p {
        font-size: 0.75rem;
    }

    .footer-content {
        row-gap: 1rem;
    }

    .site-footer .site-branding {
        margin-right: 0;
    }

    .lang-switcher {
        align-items: center;
    }

    .main-navigation .nav-menu ul {
        flex-direction: column;
        row-gap: 0.5rem;
        width: 100%;
    }

    .nav-toggle {
        /*padding: 5px;*/
        /*width: 30px;*/
        display: block;
        order: 2;
    }

    /*.site-header .nav-menu li:not(:last-child):after {
        width: 100%;
        height: 1px;
        top: unset;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 1;
    }*/
    .site-header .nav-menu li:not(:last-child):after {
        content: unset;
    }

    .menu-item-has-children > .sub-menu {
        position: relative;
        z-index: 1;
        opacity: 1;
        visibility: visible;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    ul, ol {
        margin: 0;
    }

    .nav-menu a {
        font-size: .75rem;
    }

    .card {
        padding: 1rem;
    }

    .callback-row {
        row-gap: 1rem;
    }

    .callback-row .contacts-card-icon {
        flex-direction: column;
    }

    .contacts-card_icon {
        width: 3rem;
    }
}

.contacts {
    color: var(--main-light-color);
}

.contacts-block {
    gap: 2rem;
}

.contacts-heading .contacts-title {
    margin: 0;
}

.contacts-button {
    padding: 1rem;
}

.contacts-title {
    font-family: "EB Garamond", serif;
    font-size: 2rem;
    letter-spacing: 0.08rem;
}

.contacts-wrapper {
    flex: 1 1 50%;
    justify-content: center;
}

.contacts-items {
    gap: 1rem;
}

.contact-item {
    padding: 0.5rem 1rem;
    border: 1px solid var(--main-light-color);
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
    border-radius: 1.5rem;
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-height: 4rem;
}

.contact-label {
    font-family: "EB Garamond", serif;
    font-size: 1.5rem;
    margin: 0;
}

.contact-value {
    color: var(--accent-color);
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .contact-icon {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
        min-height: 3rem;
    }
}

/* На десктопі стрілку не показуємо */
.submenu-toggle {
    display: none;
}

@media (max-width: 767px) {
    .menu-item-has-children {
        position: relative;
    }

    .menu-item-has-children > .submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 1.5rem;
        height: 1.5rem;
        padding: 0;

        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 2;
    }

    .menu-item-has-children > .submenu-toggle svg {
        width: 18px;
        height: 18px;

        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;

        transition: transform 0.3s ease;
    }

    /* Підменю за замовчуванням закрите */
    .menu-item-has-children > .sub-menu {
        display: none;
    }

    /* Відкрите підменю */
    .menu-item-has-children.submenu-open > .sub-menu {
        display: block;
    }

    /* Поворот стрілки */
    .menu-item-has-children.submenu-open > .submenu-toggle svg {
        transform: rotate(180deg);
    }

    /* Щоб текст не заходив під стрілку */
    .menu-item-has-children > a {
        padding-right: 50px;
    }
}