/*
Theme Name: Oksaneira
Author: Oksaneira
Author URI: https://oksaneira.com.ua
Description: A modern and lightweight WordPress theme.
Requires at least: 6.7
Template: blocksy
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oksana-spirit
*/

:root{
    --color-accent-rose: #A23673;
    --color-accent-beige: #BB8C6A;
    --color-accent-lavender: #D5C5FA;
    --color-accent-sky: #98bcd8;
    --text-expand-bg: var(--theme-palette-color-8);
    --theme-narrow-container-max-width: 1280px;
    --theme-border-radius: 16px;
    --theme-narrow-container-max-width:800px;
    --theme-overlay-color: rgba(25, 20, 23, 0.68);
}

@media (min-width: 1000px) {
  .ct-container-fluid {
    --theme-container-edge-spacing: 90vw;
  }
}

body.popup-open {
    overflow: hidden;
}

.header-contacts {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    min-width: 42px;
    height: 42px;

    padding: 0 !important;

    font-size: 0;
    line-height: 1;

    border-radius: 50%;

    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.3 11.3 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.3 11.3 0 0 0 .57 3.57 1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.mobile{
    display: none;
}

.section-heading{
    font-family: var(--theme-font-family-header);
    font-weight: 400;
    line-height:.95;
    margin:0 0 50px;
}

nav[class*="menu"] li.current-menu-item > .ct-menu-link[href*="/#"], 
nav[class*="menu"] li.current-menu-item > .ct-sub-menu-parent[href*="/#"],
nav[class*="menu"] li.current_page_item.menu-item-195 > a{
    color: var(--theme-link-initial-color, inherit);
}

[data-menu] > ul > li[class*="current-menu-"] > .ct-menu-link[href*="/#"]::before, 
[data-menu] > ul > li[class*="current-menu-"] > .ct-menu-link[href*="/#"]::after,
nav[class*="menu"] li.current_page_item.menu-item-195 > a::before, 
nav[class*="menu"] li.current_page_item.menu-item-195 > a::after {
    background-color: inherit;
}

#header-menu-1 .menu-item-type-custom.current_page_item > .ct-menu-link.is-active,
#header-menu-1 .menu-item-type-custom.current_page_item > .ct-menu-link:hover,
nav[class*="menu"] li.current_page_item.menu-item-195 > a:hover {
    color: var(--theme-link-hover-color, var(--theme-palette-color-2));
}

#header-menu-1 .menu-item-type-custom.current_page_item > .ct-menu-link.is-active[href*="/#"]::after,
#header-menu-1 .menu-item-type-custom.current_page_item > .ct-menu-link[href*="/#"]:hover::after,
nav[class*="menu"] li.current_page_item.menu-item-195 > a:hover::after {
    background-color: var(--theme-link-hover-color, var(--theme-palette-color-2));
}

[data-device="mobile"] nav[class*="menu"] li[class*="current-menu-"] > .ct-menu-link[href*="/#"]{
    color: var(--theme-palette-color-8);
}

.is-sticky{
    position: sticky;
    top: var(--theme-content-vertical-spacing);
}

.sub-heading {
    margin-bottom: 16px;
    color: var(--theme-palette-color-1);
    text-transform: uppercase;
}

.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

.wpcf7 form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 13px;
    font-weight: normal;
    display: block;
    position: absolute;
    bottom: -10px;
    right: 10px;
    background-color: var(--theme-palette-color-8);
    padding: 0 5px;
}
.wpcf7 form .wpcf7-response-output {
    border-radius: 5px;
    margin-left: 220px;
    margin-right: 0;
    margin-bottom: -20px;
    margin-top: -60px;
    font-size: 16px;
}
.wpcf7 form label:not(.wpcf7-form-control-wrap){
    font-size: 16px;
    font-weight: 400;
}
.cf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cf7-col {
    flex: 1;
}

.cf7-row.full {
    display: block;
}
.cf7-hint{
    font-size: 13px;
    font-weight: normal;
    display: block;
    position: absolute;
    bottom: -7px;
    right: 10px;
    background-color: var(--theme-palette-color-8);
    padding: 0 5px;
    max-width: 90%;
}
.cf7-row.accept label {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.cf7-row.submit {
    text-align: right;
    margin-bottom: 0;
}

.fld {
    position: relative;
    margin: 10px 0;
}

.fld label {
    position: absolute;
    left: 10px;      /* подгони под свои отступы темы */
    top: 20px;        /* будет примерно по центру поля */
    transform: translateY(-50%);
    transition: 0.2s ease;
    pointer-events: none;
}
/* когда есть фокус или значение — поднимаем метку */
.fld.is-focused label,
.fld.is-filled label {
    top: -18px;       /* над полем */
    transform: none;
    left: 10px;
    padding: 0 5px;
    opacity: 1;
    background-color: var(--theme-palette-color-8);
}

/* Показать */
.fld.show, .fld .show,
.cf7-row.show {
    position: relative;
    height: auto;
    opacity: 1;
    overflow: visible;
    background-color: var(--theme-palette-color-8);
}

.wpcf7 input[type="file"] {
  cursor: pointer;
  border-bottom: 1px solid var(--theme-border-color);
  width: 100%;
  padding: 8px 0;
  height: 40px;
}

/* Адаптив */
@media (max-width: 768px) {

    .fld {
        margin: 5px 0;
    }

    .cf7-row {
        flex-direction: column;
    }

    .full.show p{display: flex;}
    .full.show p .wpcf7-list-item{margin: 0;}
    img.alignleft, img.alignright {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
   }
}

a.underline-slide, a.entry-button,
[data-column="widget-area-2"] a,
[data-column="widget-area-3"] a {
    position: relative;
    text-decoration: none;
}

a.underline-slide::after, a.entry-button::after,
[data-column="widget-area-2"] a::after,
[data-column="widget-area-3"] a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;          /* отступ от текста */
    width: 100%;
    height: 1px;           /* толщина линии */
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

a.underline-slide:hover::after, a.entry-button:hover::after,
[data-column="widget-area-2"] a:hover::after,
[data-column="widget-area-3"] a:hover::after {
    transform: scaleX(1);
}


.text-expand__content {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    transition: max-height .35s ease;
}
.text-expand__content h1, .text-expand__content h2, .text-expand__content h3, .text-expand__content h4, .text-expand__content h5, .text-expand__content h6{
    --theme-line-height:1;
}
.text-expand__content.is-open {
    max-height: 10000px;
}

.text-expand__content::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 64px;
    pointer-events: none;
    background: linear-gradient(
        transparent,
        var(--text-expand-bg, var(--theme-palette-color-8))
    );
}

.text-expand__content.is-open::after {
    opacity: 0;
}

.text-expand .text-expand__toggle {
    color: var(--theme-palette-color-3);
    margin-top: 12px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-transform: none;
    text-decoration: underline;
}
.text-expand .text-expand__toggle:hover{
    text-decoration: none;
    background: none;
}
.text-expand .text-expand__toggle:focus{
    background: none;
}

.entry-content p img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: var(--theme-border-radius);
}

.post-edit-link{
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: auto !important;
}


.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .75s cubic-bezier(.22, 1, .36, 1),
        transform .75s cubic-bezier(.22, 1, .36, 1);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}





.home-hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid var(--theme-border-color);
    background: var(--theme-palette-color-8);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: calc(
        100svh
        - var(--shrink-height, var(--header-height, 0px))
        - var(--admin-bar, 0px)
    );
    min-height: 0;
}


/* Контент */

.home-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: var(--theme-content-vertical-spacing) clamp(25px, 5vw, 110px);
}

.home-hero__inner {
    width: 100%;
    max-width: 680px;
}

.home-hero__heading {
    margin-bottom: 32px;
}

.home-hero__title {
    margin: 0;
    font-size: clamp(3.5rem, 4.5vw, 6rem);
    line-height: .95;
    text-transform: uppercase;
}

.page-template-page-reviews .home-hero__title {
    text-transform: none;
    font-size: clamp(3rem, 4vw, 4.5rem);
}

.home-hero__subtitle {
    margin-top: 18px;
    font-family: var(--theme-font-family-header);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.25;
    font-weight: 600;
    text-transform: none;
}

.home-hero__description {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.65;
}

.home-hero__description > *:first-child {
    margin-top: 0;
}

.home-hero__description > *:last-child {
    margin-bottom: 0;
}


/* Социальные сети */

.home-hero__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.home-hero__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--theme-palette-color-1);
    text-decoration: none;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.home-hero__socials a:hover {
    opacity: .8;
    transform: translateY(-2px);
}

.home-hero__socials svg {
    display: block;
    width: 100%;
    height: 100%;
}


/* Кнопка */

.home-hero__action {
    margin-top: 36px;
    display: flex;
    gap: 30px;
}

.home-hero__button {
    min-width: 230px;
}


/* Изображение */

.home-hero__media {
    position: relative;
    min-width: 0;
    min-height: 680px;
    overflow: hidden;
}

.home-hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Планшет */

@media (max-width: 1024px) {

    .home-hero__grid {
        min-height: 650px;
    }

    .home-hero__content {
        padding: 70px 40px;
    }

    .home-hero__title {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }

    .page-template-page-reviews .home-hero__title{
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .home-hero__description {
        font-size: 17px;
    }

    .home-hero__media {
        min-height: 650px;
    }

    .home-hero__action {
        flex-direction: column-reverse;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .home-hero {
        min-height: auto;
        background: var(--theme-palette-color-8);
        overflow: visible;
    }

    .home-hero__grid {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .home-hero__media {
        position: relative;
        order: 1;
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .home-hero__media::after {
        display: none;
    }

    .home-hero__image {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: none !important;
    }

    .home-hero__content {
        position: relative;
        order: 2;
        display: block;
        min-height: auto;
        width: 100%;
        padding: 36px 25px;
        background: var(--theme-palette-color-8);
    }

    .home-hero__inner {
        display: block;
        width: 100%;
        max-width: none;
    }

    .home-hero__heading {
        width: 100%;
        margin: 0 0 24px;
        padding: 0;
        text-align: left;
        background: none;
    }

    .home-hero__title {
        margin: 0;
        font-size: clamp(2.7rem, 13vw, 4rem);
        line-height: .95;
        white-space: normal;
        text-transform: uppercase;
    }

    .home-hero__subtitle {
        margin-top: 12px;
        font-size: clamp(1.1rem, 5.5vw, 1.5rem);
        line-height: 1.25;
        font-weight: 600;
    }

    .home-hero__description {
        max-width: none;
        margin: 0;
        padding: 0;
        font-size: 15px;
        line-height: 1.6;
    }

    .home-hero__socials {
        justify-content: center;
        gap: 24px;
        margin: 26px 0;
    }

    .home-hero__socials a {
        width: 40px;
        height: 40px;
    }

    .home-hero__action {
        margin: 0;
        padding: 0;
    }

    .page-template-page-reviews .home-hero__action {
        margin-top: 36px;
    }

    .home-hero__button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        border-radius: 999px;
    }

}










.home-services {
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--theme-palette-color-7);
}


/* Заголовок секции */

.section-header-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 90px);
    margin-bottom: clamp(42px, 6vw, 72px);
}

.home-services__heading {
    min-width: 0;
    max-width: 900px;
}

.home-services__title {
    margin: 0;
}

.home-services__intro {
    max-width: 900px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.7;
}

.home-services__intro > *:first-child {
    margin-top: 0;
}

.home-services__intro > *:last-child {
    margin-bottom: 0;
}


/* Общие текстовые ссылки */

header .text-arrow-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
}

header .text-arrow-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;

    height: 1px;
    background: currentColor;

    transform: scaleX(1);
    transform-origin: left center;
    transition: transform .25s ease;
}

header .text-arrow-link:hover::after {
    transform: scaleX(0);
    transform-origin: right center;
}

header .text-arrow-link svg {
    flex: 0 0 auto;
    transition: transform .25s ease;
}

header .text-arrow-link:hover svg {
    transform: translateX(4px);
}

.home-services__archive-link {
    flex: 0 0 auto;
    margin-top: 54px;
}


/* Сетка карточек */

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
    align-items: stretch;
}


/* Карточка */

.home-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;

    overflow: hidden;
    background: var(--theme-palette-color-8);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 3px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, .1);
    box-shadow: 0 16px 38px rgba(74, 60, 53, .06);
}


/* Изображение */

.home-service-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--theme-palette-color-6);
}

.home-service-card__image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .5s ease;
}

.home-service-card:hover .home-service-card__image {
    transform: scale(1.025);
}


/* Контент карточки */

.home-service-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;

    padding: clamp(28px, 3vw, 42px);
}

.home-service-card__title {
    margin: 0 0 18px;
    line-height: 1.2;
}

.home-service-card__title a {
    color: inherit;
    text-decoration: none;
}

.home-service-card__text {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
}

.home-service-card__text > *:first-child {
    margin-top: 0;
}

.home-service-card__text > *:last-child {
    margin-bottom: 0;
}

.home-service-card__link {
    align-self: flex-start;
    margin-top: auto;
}


/* Нижняя кнопка */

.home-services__footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(42px, 5vw, 64px);
}

.home-services__footer .all-services__link {
    min-width: 230px;
}


/* Планшет */

@media (max-width: 1024px) {

    .section-header-link {
        gap: 36px;
    }

    .home-services__archive-link {
        margin-top: 56px;
    }

    .home-service-card__media {
        aspect-ratio: 4 / 3;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .home-services {
        padding: 60px 0;
    }

    .section-header-link {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-bottom: 38px;
    }

    .home-services__heading {
        max-width: none;
    }

    .home-services__label {
        margin-bottom: 10px;
    }

    .home-services__intro {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.65;
    }

    header .text-arrow-link {
        align-self: flex-start;
        margin-top: 0;
    }

    .home-services__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .home-service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .home-service-card__media {
        aspect-ratio: 16 / 10;
    }

    .home-service-card__content {
        padding: 26px 22px 28px;
    }

    .home-service-card__title {
        margin-bottom: 14px;
        font-size: 26px;
    }

    .home-service-card__text {
        margin-bottom: 24px;
        font-size: 15px;
    }

    .home-services__footer {
        margin-top: 36px;
    }

    .home-services__footer .all-services__link {
        width: 100%;
        min-width: 0;
    }

}














.home-about {
    padding: 0;
    background: var(--theme-palette-color-8);
}

.home-about__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 720px;
}


/* Изображение */

.home-about__media {
    position: relative;
    min-height: 720px;
    overflow: hidden;
}

.home-about__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}


/* Контент */

.home-about__body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--theme-content-vertical-spacing) clamp(25px, 5vw, 110px);
}

.home-about__inner {
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.home-about__label {
    margin-bottom: 16px;
    color: var(--theme-palette-color-1);
    text-transform: uppercase;
}

.home-about__title {
    margin: 0;
}

.home-about__content {
    margin-top: 32px;
    font-size: 17px;
    line-height: 1.75;
}

.home-about__content > *:first-child {
    margin-top: 0;
}

.home-about__content > *:last-child {
    margin-bottom: 0;
}

.home-about__content strong {
    color: var(--theme-palette-color-3);
}

.home-about__action {
    margin-top: 36px;
}

.home-about__action .button {
    min-width: 210px;
}


/* Планшет */

@media (max-width: 1024px) {

    .home-about__grid {
        min-height: 640px;
    }

    .home-about__media {
        min-height: 640px;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .home-about__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-about__media {
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

    .home-about__image {
        min-height: 0;
    }

    .home-about__inner {
        max-width: none;
        text-align: left;
    }

    .home-about__content {
        margin-top: 26px;
        font-size: 16px;
    }

    .home-about__action {
        margin-top: 32px;
    }

    .home-about__action .button {
        width: 100%;
    }

}








.home-reviews {
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--theme-palette-color-7);
}

.home-reviews .section-header {
    margin-bottom: 70px;
}

.home-reviews__grid,
.reviews-all__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.home-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 460px;
    padding: 36px;
    background: var(--theme-palette-color-8);
    border: 1px solid rgba(146, 112, 188, 0.3);
    border-radius: 3px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.home-review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, .1);
    box-shadow: 0 16px 38px rgba(74, 60, 53, .06);
}

.home-review-card__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.home-review-card__avatar {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(146, 112, 188, 0.12);
}

.home-review-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-review-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--theme-palette-color-1);
    font-family: "Lora", serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
}

.home-review-card__author {
    min-width: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.home-review-card__quote {
    flex: 1;
    color: inherit;
    font-style: italic;
    line-height: 1.7;
    overflow: hidden;
}

.home-review-card__quote.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-review-card__quote p {
    margin: 0;
}

.home-review-card__expand {
    display: none;
    margin-top: 14px;
}

.home-review-card__expand.is-visible {
    display: block;
}

.home-review-card__toggle {
    padding: 0;
    border: 0;
    color: var(--theme-palette-color-1);
    background: transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.home-review-card__toggle:hover {
    color: var(--theme-palette-color-3);
}

.home-review-card .inline__edit-link {
    top: 12px;
    right: 14px;
    bottom: auto;
    margin-top: 0;
}

.home-reviews__actions {
    margin-top: 56px;
    text-align: center;
}

.review-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.review-modal__overlay {
    position: absolute;
    inset: 0;
    background: var(--theme-overlay-color);
    backdrop-filter: blur(5px);
}

.review-modal__content {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.review-modal__content .home-review-card {
    height: auto;
    padding: clamp(30px, 5vw, 48px);
    border: 0;
    border-radius: 3px;
    background: var(--theme-palette-color-8);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.review-modal__content .home-review-card__quote {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.review-modal__content .inline__edit-link {
    display: none;
}

.review-modal__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    color: var(--theme-palette-color-3);
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.review-modal__close:hover {
    color: var(--theme-palette-color-1);
}

body.review-modal-open {
    overflow: hidden;
}


.home-review-card__artwork {
    position: relative;
    display: block;
    width: calc(100% + 72px);
    height: 150px;
    margin: 25px -36px -36px;
    overflow: hidden;
    border-top: 1px solid rgba(177, 142, 198, .18);
    color: var(--theme-palette-color-8);
    text-decoration: none;
    border-radius: 0 0 3px 3px;
}

.home-review-card__artwork-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.home-review-card__artwork::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(35, 28, 31, .08);
    transition: background-color .25s ease;
}

.home-review-card__artwork-icon {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 14px;

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

    width: 38px;
    height: 38px;
    border-radius: 50%;

    color: #fff;
    background: rgba(35, 28, 31, .42);
    backdrop-filter: blur(5px);

    opacity: 0;
    transform: translateY(5px);
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.home-review-card__artwork:hover .home-review-card__artwork-image {
    transform: scale(1.035);
}

.home-review-card__artwork:hover::after {
    background: rgba(35, 28, 31, .16);
}

.home-review-card__artwork:hover .home-review-card__artwork-icon {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {

    .home-review-card__artwork {
        width: calc(100% + 48px);
        margin: 28px -24px -28px;
    }

    .home-review-card__artwork-icon {
        opacity: 1;
        transform: none;
    }

}

@media (max-width: 1024px) {

    .home-reviews__grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }

    .reviews-all__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {

    .reviews-all__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-reviews .section-header {
        margin-bottom: 40px;
    }

    .home-review-card {
        padding: 28px 24px;
    }

    .home-review-card__header {
        gap: 14px;
        margin-bottom: 24px;
    }

    .home-review-card__avatar {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .home-review-card__initial {
        font-size: 27px;
    }

    .home-review-card__author {
        font-size: 17px;
    }

    .home-reviews__actions .button {
        width: 100%;
    }

    .review-modal {
        align-items: center;
        padding: 12px;
    }

    .review-modal__content {
        width: 100%;
        max-height: calc(100vh - 24px);
    }

    .review-modal__content .home-review-card {
        padding: 32px 24px;
    }

}





.review-modal .home-review-card__artwork{
    margin: 30px 0 0;
    width: 100%;
    height: auto;
}

.review-modal .home-review-card__artwork-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 3px;
}











.home-contact {
    padding: 0;
}

.home-contact .ct-container {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}

.home-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.home-contact__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: var(--theme-content-vertical-spacing) clamp(25px, 5vw, 110px);
}

.home-contact__title {
    margin: 0;
}

.home-contact__description {
    max-width: 680px;
    margin: 32px 0 0;
}

.home-contact__description > *:first-child {
    margin-top: 0;
}

.home-contact__description > *:last-child {
    margin-bottom: 0;
}


/* Контакты и график */

.home-contact__info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 5vw, 50px);
    margin-top: clamp(42px, 5vw, 64px);
}

.home-contact__info-column {
    min-width: 0;
}

.home-contact__subtitle {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.home-contact__contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-contact__contact-item a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
    transition:
        color .2s ease,
        opacity .2s ease;
}

.home-contact__contact-item a:hover {
    color: var(--theme-palette-color-1);
}

.home-contact__contact-item span {
    overflow-wrap: anywhere;
}

.home-contact__contact-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}


/* Мессенджеры */

.home-contact__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.home-contact__messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 50%;
    color: var(--theme-palette-color-3);
    background: var(--theme-palette-color-7);
    text-decoration: none;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.home-contact__messenger:hover {
    color: var(--theme-palette-color-8);
    background: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);
    transform: translateY(-2px);
}

.home-contact__messenger svg {
    display: block;
    width: 100%;
    height: 100%;
}


/* График */

.home-contact__schedule-text {
    line-height: 1.65;
}

.home-contact__schedule-text p {
    margin: 0;
}

.home-contact__schedule-text p + p {
    margin-top: 7px;
}


/* Кнопка */

.home-contact__action {
    margin-top: clamp(42px, 5vw, 64px);
}

.home-contact__action .button {
    min-width: 230px;
}


/* Правая колонка */

.home-contact__aside {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 0;
}

.home-contact__photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}


/* Планшет */

@media (max-width: 1024px) {

    .home-contact__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-contact__info {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .home-contact__aside {
        min-height: 640px;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .home-contact__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .home-contact__description {
        margin-top: 24px;
    }

    .home-contact__info {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 38px;
    }

    .home-contact__subtitle {
        margin-bottom: 18px;
    }

    .home-contact__action {
        margin-top: 38px;
    }

    .home-contact__action .button {
        width: 100%;
        min-width: 0;
    }

    .home-contact__aside {
        position: relative;
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

    .home-contact__photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

}


/* Узкие экраны */

@media (max-width: 420px) {

    .home-contact__messenger {
        width: 44px;
        height: 44px;
        padding: 11px;
    }

}



.section-content{
    padding: var(--theme-content-vertical-spacing) 0;
}



.mobile-offcanvas-contact {
    display: flex;
    flex-direction: column;
    gap: 26px;
    width: 100%;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: inherit;
}

.mobile-offcanvas-contact__section {
    display: flex;
    flex-direction: column;
}

.mobile-offcanvas-contact__title {
    margin-bottom: 14px;
    color: var(--theme-palette-color-6);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
}

.ct-panel-actions .ct-panel-heading{
    color: var(--theme-palette-color-6);
    font-size: 17px;
}

.mobile-offcanvas-contact__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-offcanvas-contact__link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    color: var(--theme-palette-color-8);
}

.mobile-offcanvas-contact__link:hover {
    color: var(--theme-palette-color-7);
}

.mobile-offcanvas-contact__link svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.mobile-offcanvas-contact__link span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mobile-offcanvas-contact__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mobile-offcanvas-contact__messengers a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    background: var(--theme-palette-color-1);
    text-decoration: none;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.mobile-offcanvas-contact__messengers a:hover {
    color: #fff;
    opacity: .85;
    transform: translateY(-2px);
}

.mobile-offcanvas-contact__messengers svg {
    display: block;
    width: 100%;
    height: 100%;
}

.mobile-offcanvas-contact__schedule {
    font-size: 15px;
    line-height: 1.65;
    color: var(--theme-palette-color-8);
}

.mobile-offcanvas-contact__schedule p {
    margin: 0;
}

.mobile-offcanvas-contact__schedule p + p {
    margin-top: 5px;
}

.mobile-offcanvas-contact__button {
    width: 100%;
    text-align: center;
}















.service-hero {
    padding: 0;
}

.service-hero .ct-container {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}

.service-hero__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: calc( 100svh - var(--shrink-height, var(--header-height, 0px)) - var(--admin-bar, 0px) );
    background: transparent;
    border-radius: 0;
    overflow: visible;
    align-items: stretch;
    min-height: 0;
}


/* Изображение */

.service-hero__media {
    position: relative;
    min-height: calc(100vh - var(--header-height,0) - var(--admin-bar,0));
    overflow: hidden;
}

.service-hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Контент */

.service-hero__content {
    display: flex;
    align-items: center;
    min-width: 0;
    padding:
        var(--theme-content-vertical-spacing)
        clamp(50px, 7vw, 110px);
}

.service-hero__inner {
    width: 100%;
    max-width: 720px;
}

.service-breadcrumbs{
    margin: -40px 0 48px;
}
.service-hero__label {
    margin-bottom: 18px;
    color: var(--theme-palette-color-1);
    font-size: 16px;
    line-height: 1.4;
    text-transform: uppercase;
}

.service-hero__title {
    margin: 0;
    font-size: clamp(42px, 4vw, 68px);
    line-height: 1.08;
}

.service-hero__description {
    max-width: 640px;
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.65;
}

.service-hero__description > *:first-child {
    margin-top: 0;
}

.service-hero__description > *:last-child {
    margin-bottom: 0;
}


/* Цена и длительность */

.service-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 640px;
    margin-top: 42px;
}

.service-hero__meta-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 18px;
    border-top: 1px solid color-mix(
        in srgb,
        var(--theme-palette-color-1) 28%,
        transparent
    );
}

.service-hero__meta-label {
    display: block;
    margin-bottom: 8px;
    color: var(--theme-palette-color-2);
    line-height: 1.4;
}

.service-hero__meta-value {
    font-family: var(--theme-font-family-header);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.25;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.service-hero__meta-value--long {
    font-family: inherit;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 400;
}

/* Кнопка */

.service-hero__action {
    margin-top: 42px;
}

.service-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 52px;
    padding-inline: 32px;
}


/* Планшет */

@media (max-width: 1024px) {

    .service-hero__wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 640px;
    }

    .service-hero__media {
        min-height: 640px;
    }

    .service-hero__content {
        padding:
            70px
            50px
            70px
            50px;
    }

    .service-hero__title {
        font-size: clamp(38px, 5vw, 56px);
    }

    .service-hero__description {
        font-size: 17px;
    }
    
    .service-hero__meta-value--long{
        font-size: 15px;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .service-hero__wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-hero__media {
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

    .service-hero__content {
        padding:
            52px
            20px
            60px;
    }

    .service-hero__content {
        order: 1;
    }

    .service-hero__media {
        order: 2;
    }

    .service-hero__inner {
        max-width: none;
    }

    .service-hero__label {
        margin-bottom: 14px;
        font-size: 12px;
        letter-spacing: .16em;
    }

    .service-hero__title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .service-hero__description {
        margin-top: 22px;
        font-size: 16px;
    }

    .service-hero__meta {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 34px;
    }

    .service-hero__action {
        margin-top: 34px;
    }

    .service-hero__button {
        width: 100%;
        min-width: 0;
    }

}

.single-service .service-comments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

.single-service .service-comments-heading .ct-comments-title {
    margin: 0;
}

.single-service .comments-add-link {
    flex: 0 0 auto;
    color: var(--theme-palette-color-1);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.single-service .comments-add-link:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {

    .single-service .service-comments-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }

}










.reviews-voices {
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--theme-palette-color-7);
}

.reviews-voices .section-header {
    margin-bottom: clamp(42px, 6vw, 70px);
}

.reviews-voices .section-title {
    margin: 0;
}


/* Swiper */

.reviews-slider {
    overflow: hidden;
}

.reviews-slider .swiper-wrapper {
    align-items: stretch;
}

.reviews-slider .swiper-slide {
    display: flex;
    height: auto;
}

.reviews-slider .home-review-card {
    width: 100%;
    height: 100%;
}


/* Пагинация */

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 40px;
}

.reviews-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 !important;

    opacity: .25;
    background: var(--theme-palette-color-1);

    transition:
        width .25s ease,
        border-radius .25s ease,
        opacity .25s ease;
}

.reviews-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 10px;
    opacity: 1;
}

.reviews-slider.swiper{
    overflow: hidden;
    padding: 20px 20px 24px;
    margin: -20px -20px -24px;
}

.reviews-slider .swiper-wrapper {
    align-items: stretch;
}

.reviews-slider .swiper-slide {
    display: flex;
    height: auto;
}

.reviews-slider .home-review-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 460px;
    min-height: 0;
}

.reviews-slider .home-review-card__header {
    flex: 0 0 auto;
}

.reviews-slider .home-review-card__quote {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.reviews-slider .home-review-card__quote p {
    margin-bottom: 0;
}

.reviews-slider .home-review-card__expand {
    display: none;
    flex: 0 0 auto;
    margin-top: 16px;
}

.reviews-slider
.home-review-card.is-overflowing
.home-review-card__expand {
    display: block;
}

.reviews-slider .home-review-card__artwork {
    flex: 0 0 auto;
}

.home-review-card.is-overflowing
.home-review-card__quote {
    mask-image: linear-gradient(
        to bottom,
        #000 calc(100% - 50px),
        transparent 100%
    );
}
/* Мобильная версия */

@media (max-width: 767px) {

    .reviews-voices {
        padding: 60px 0;
    }

    .reviews-voices .section-header {
        margin-bottom: 36px;
    }

    .reviews-pagination {
        margin-top: 30px;
    }

}

@media (hover: none) {
    .reviews-slider .home-review-card:hover {
        transform: none;
        box-shadow: none;
    }
}





/* =========================================================
   Stories
========================================================= */

.reviews-stories {
    background: var(--theme-palette-color-8);
        padding: var(--theme-content-vertical-spacing) 0 0;
}


/* Заголовок всей секции */

.reviews-stories .section-header {
    max-width: 760px;
    margin: 0 auto 100px;
    text-align: center;
}

.reviews-stories .section-title {
    margin-bottom: 24px;
}

.reviews-stories .section-description {
    max-width: 680px;
    margin: 0 auto;
    color: var(--theme-text-color);
    line-height: 1.8;
}

.reviews-stories .section-description p:last-child {
    margin-bottom: 0;
}


/* Список историй */

.reviews-stories__list {
    width: 100%;
}


/* Одна полноширинная история */

.review-story {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: clamp(560px, 48vw, 760px);
    background: var(--theme-palette-color-8);
}

/* Изображение */

.review-story__media {
    position: relative;
    min-width: 0;
    min-height: inherit;
    overflow: hidden;
}

.review-story__image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Текстовая колонка */

.review-story__content {
    display: flex;
    align-items: center;
    min-width: 0;

    padding:
        clamp(60px, 7vw, 120px)
        5vw;
}

.review-story__content-inner {
    width: 100%;
}

.review-story__content .sub-heading {
    margin-bottom: 14px;
}

.review-story__title {
    margin: 0 0 clamp(24px, 3vw, 36px);
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.15;
}

.review-story__text {
    font-size: 17px;
    line-height: 1.75;
}

.review-story__text > *:first-child {
    margin-top: 0;
}

.review-story__text > *:last-child {
    margin-bottom: 0;
}


/* Чётные истории: текст слева, фото справа */

.review-story--reverse .review-story__media {
    order: 2;
}

.review-story--reverse .review-story__content {
    order: 1;
    justify-content: flex-end;
}


/* Ссылка редактирования */

.review-story__edit-link {
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 20px;

    margin: 0;
    padding: 7px 12px;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(5px);

    bottom: auto;
    border-radius: 20px;
}

.review-story--reverse .review-story__edit-link {
    right: auto;
    left: 20px;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1024px) {

    .review-story {
        min-height: 560px;
    }

    .review-story__content {
        padding:
            clamp(50px, 6vw, 80px)
            5vw;
    }

    .review-story__title {
        font-size: clamp(30px, 4vw, 40px);
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {

    .reviews-stories__header {
        padding:
            0
            0
            40px;
    }

    .review-story {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    /*
     * На мобильном у всех историй сначала изображение,
     * затем текст.
     */

    .review-story__media,
    .review-story--reverse .review-story__media {
        order: 1;
    }

    .review-story__content,
    .review-story--reverse .review-story__content {
        order: 2;
    }

    .review-story__media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .review-story__image {
        object-position: center;
    }

    .review-story__content {
        display: block;
        padding: 42px 5vw 52px;
    }

    .review-story__content-inner {
        max-width: none;
    }

    .review-story__title {
        margin-bottom: 22px;
        font-size: 30px;
    }

    .review-story__text {
        font-size: 16px;
        line-height: 1.7;
    }

    .review-story__edit-link,
    .review-story--reverse .review-story__edit-link {
        top: 12px;
        right: 12px;
        left: auto;
    }

}






.reviews-all__results {
    transition: opacity .2s ease;
}

.reviews-all.is-loading .reviews-all__results {
    opacity: .45;
    pointer-events: none;
}

.reviews-all.is-loading {
    cursor: progress;
}

#reviews {
    scroll-margin-top: calc(var(--shrink-height, 0px) + var(--admin-bar, 0px) + 20px);
}



/* =========================================================
   All reviews section
========================================================= */

.reviews-all {
    position: relative;
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--theme-palette-color-7);
}


/* Заголовок секции */

.reviews-all .section-header {
    max-width: 780px;
    margin: 0 auto clamp(48px, 6vw, 76px);
    text-align: center;
}

.reviews-all .sub-heading {
    margin-bottom: 12px;
}

.reviews-all .section-title {
    margin: 0;
}


/* Область результатов */

.reviews-all__results {
    position: relative;
    min-height: 300px;
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.reviews-all.is-loading .reviews-all__results {
    opacity: .45;
    transform: translateY(4px);
    pointer-events: none;
    user-select: none;
}


/* Индикатор AJAX-загрузки */

.reviews-all.is-loading::after {
    content: "";
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;

    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;

    border: 3px solid rgba(0, 0, 0, .12);
    border-top-color: var(--theme-palette-color-1);
    border-radius: 50%;

    animation: reviews-loading-spin .7s linear infinite;
}

@keyframes reviews-loading-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Пагинация */

.reviews-all__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: clamp(42px, 5vw, 64px);
}

.reviews-all__pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 44px;
    padding: 0 12px;

    color: var(--theme-text-color);
    background: var(--theme-palette-color-8);
    border: 1px solid var(--theme-border-color);
    border-radius: 50%;

    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

a.reviews-all__pagination-link:hover {
    color: var(--theme-palette-color-8);
    background: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);
    transform: translateY(-2px);
}

.reviews-all__pagination-link.is-current {
    color: var(--theme-palette-color-8);
    background: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);
    cursor: default;
}

.reviews-all__pagination-link--prev,
.reviews-all__pagination-link--next {
    font-size: 20px;
}

.reviews-all__pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 44px;
    color: var(--theme-text-color);
    opacity: .55;
}


/* Пустое состояние */

.reviews-all__empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 40px;

    text-align: center;
    background: var(--theme-palette-color-8);
    border: 1px solid var(--theme-border-color);
}

.reviews-all__empty p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1024px) {

    .reviews-all .section-header {
        margin-bottom: 52px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {

    .reviews-all .section-header {
        max-width: none;
        margin-bottom: 38px;
    }

    .reviews-all__pagination {
        gap: 6px;
        margin-top: 38px;
    }

    .reviews-all__pagination-link {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }

    .reviews-all__pagination-link--prev,
    .reviews-all__pagination-link--next {
        font-size: 18px;
    }

    .reviews-all__pagination-dots {
        min-width: 22px;
        height: 40px;
    }

}


.reviews-form {
    padding: var(--theme-content-vertical-spacing) 0;
}

.reviews-form__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.reviews-form__inner .section-title {
    margin-bottom: 30px;
}

.reviews-form__description {
    max-width: 620px;
    margin: 0 auto 40px;
}

@media (max-width:767px) {

    .reviews-form {
        padding: 60px 0;
    }

    .reviews-form__description {
        margin-bottom: 32px;
    }

    .reviews-form .button {
        width: 100%;
    }

}






.reviews-final-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--color-accent-sky);
}

.reviews-final-cta__inner {
    position: relative;
    z-index: 1;

    max-width: 760px;
    margin: 0 auto;

    text-align: center;
    color: var(--theme-palette-color-7);
}

.reviews-final-cta .section-title {
    margin-bottom: 28px;
    color: var(--theme-palette-color-7);
}

.reviews-final-cta__description {
    max-width: 680px;
    margin: 0 auto 40px;
    color: var(--theme-palette-color-7);
}

.reviews-final-cta__description p:last-child {
    margin-bottom: 0;
}

.reviews-final-cta .button-light {
    background: var(--theme-palette-color-7);
    color: var(--theme-palette-color-4);
}

@media (max-width: 767px) {
    .reviews-final-cta {
        padding: var(--theme-content-vertical-spacing) 0;
    }

    .reviews-final-cta .button {
        width: 100%;
    }
}












.about-service {
    padding: 0;
    background: var(--theme-palette-color-8);
    overflow: hidden;
}

.section-content.text-expand {
    padding: var(--theme-content-vertical-spacing) 0;
}


/* Убираем ограничение Blocksy только внутри этой секции */

.about-service > .ct-container {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}


/* Сетка */

.about__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    min-height: 680px;
    align-items: stretch;
}

.about__container.section__grid--no-image {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 800px;
    margin: 0 auto;
}
/* Контент */

.about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;

    padding:
        var(--theme-content-vertical-spacing)
        clamp(25px, 5vw, 110px);
}

.section__grid--no-image .about__content{
    padding: var(--theme-content-vertical-spacing) 0;
}

.about__content .section-heading {
    margin: 0;
}

.about__text {
    width: 100%;
    max-width: 760px;
    margin-top: 34px;
    font-size: var(--theme-font-size);
}

.section__grid--no-image .about__text{
    max-width: 100%;
    margin-top: 26px;
}

.about__text > *:first-child {
    margin-top: 0;
}

.about__text > *:last-child {
    margin-bottom: 0;
}

.about__text strong {
    color: var(--theme-palette-color-2);
    font-weight: 600;
}


/* Изображение */

.about__media {
    position: relative;
    min-width: 0;
    min-height: 680px;
    overflow: hidden;
}

.about__media img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 0;
}


/* Планшет */

@media (max-width: 1024px) {


    .about__container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about__content {
        width: var(--theme-container-width);
        margin-inline: auto;
        padding: var(--theme-content-vertical-spacing) 0;
    }

    .about__media {
        min-height: 620px;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .about__text {
        max-width: none;
        margin-top: 26px;
    }

    .about__media {
        order: 2;
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

}













.service-materials {
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--theme-palette-color-7);
}

.service-materials__header {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.service-materials__header .section-heading {
    margin: 0;
}

.service-materials__grid {
    display: grid;
    gap: 24px;
}

.service-materials__grid--1 {
    grid-template-columns: minmax(0, 1fr);
}

.service-materials__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-materials__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-materials__grid.grid-1{
    grid-template-columns:1fr;
}

.service-materials__grid.grid-2{
    grid-template-columns:repeat(2,1fr);
}

.service-materials__grid.grid-3{
    grid-template-columns:repeat(3,1fr);
}

.service-materials__grid.grid-2x2{
    grid-template-columns:repeat(2,1fr);
}

.service-materials__grid.grid-3x2{
    grid-template-columns:repeat(3,1fr);
}

.service-materials__card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-width: 0;
    min-height: 170px;
    padding: 28px;
    background: var(--theme-palette-color-8);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 3px;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.service-materials__card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, .1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}

.service-materials__image-wrap {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--theme-palette-color-6);
}

.service-materials__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-materials__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--theme-font-family-header);
    font-size: 30px;
    line-height: 1;
    color: var(--theme-palette-color-3);
}

.service-materials__text {
    min-width: 0;
    color: var(--theme-palette-color-3);
}

.service-materials__item-title {
    display: block;
    margin-bottom: 10px;
    font-family: var(--theme-font-family-header);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.service-materials__item-description {
    font-size: 16px;
    line-height: 1.6;
}

.service-materials__item-description > *:first-child {
    margin-top: 0;
}

.service-materials__item-description > *:last-child {
    margin-bottom: 0;
}


/* Примечание */

.service-materials__note {
    position: relative;
    margin-top: 36px;
    padding: 24px 28px 24px 62px;
    color: var(--theme-palette-color-3);
    background: var(--theme-palette-color-8);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 3px;
    font-size: 16px;
    line-height: 1.65;
}

.service-materials__note::before {
    content: "i";
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--theme-palette-color-1);
    border-radius: 50%;
    color: var(--theme-palette-color-1);
    font-family: serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.service-materials__note > *:first-child {
    margin-top: 0;
}

.service-materials__note > *:last-child {
    margin-bottom: 0;
}


/* Планшет */

@media (max-width: 1024px) {

    .service-materials__grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .service-materials__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .service-materials__grid.grid-1{
        grid-template-columns:1fr;
    }

}

/* Мобильная версия */

@media (max-width: 767px) {

    .service-materials {
        padding: 60px 0;
    }

    .service-materials__header {
        margin-bottom: 34px;
    }

    .service-materials__grid{
        grid-template-columns:1fr !important;
        gap: 18px;
    }


    .service-materials__card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 18px;
        min-height: 0;
        padding: 22px;
    }

    .service-materials__image-wrap {
        width: 72px;
        height: 72px;
    }

    .service-materials__item-title {
        margin-bottom: 7px;
        font-size: 17px;
    }

    .service-materials__item-description {
        font-size: 14px;
    }

    .service-materials__note {
        margin-top: 28px;
        padding: 22px 22px 22px 56px;
        font-size: 15px;
    }

    .service-materials__note::before {
        top: 22px;
        left: 20px;
    }

}






.service-result {
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--theme-palette-color-7);
}

.service-result__header {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.service-result__header .section-heading {
    margin: 0;
}


/* Сетка */

.service-result__grid {
    display: grid;
    gap: 24px;
}

.service-result__grid.grid-1 {
    grid-template-columns: minmax(0, 1fr);
}

.service-result__grid.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-result__grid.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-result__grid.grid-2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-result__grid.grid-3x2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* Карточка */

.service-result__card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 24px;

    min-width: 0;
    min-height: 170px;
    height: 100%;
    padding: 28px;

    background: var(--theme-palette-color-8);
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 3px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.service-result__card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, .1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}


/* Изображение */

.service-result__image-wrap {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--theme-palette-color-6);
}

.service-result__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-result__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: var(--theme-palette-color-3);
    font-family: var(--theme-font-family-header);
    font-size: 30px;
    line-height: 1;
}


/* Контент */

.service-result__content {
    min-width: 0;
}

.service-result__sub-title {
    display: block;
    margin-bottom: 12px;

    color: var(--theme-palette-color-3);
    font-family: var(--theme-font-family-header);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.service-result__text {
    color: var(--theme-palette-color-3);
    font-size: 16px;
    line-height: 1.6;
}

.service-result__text > *:first-child {
    margin-top: 0;
}

.service-result__text > *:last-child {
    margin-bottom: 0;
}



/* Планшет */

@media (max-width: 1024px) {

    .service-result__grid,
    .service-result__grid.grid-2,
    .service-result__grid.grid-3,
    .service-result__grid.grid-2x2,
    .service-result__grid.grid-3x2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-result__grid.grid-1 {
        grid-template-columns: minmax(0, 1fr);
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .service-result {
        padding: 60px 0;
    }

    .service-result__header {
        margin-bottom: 34px;
    }

    .service-result__grid,
    .service-result__grid.grid-1,
    .service-result__grid.grid-2,
    .service-result__grid.grid-3,
    .service-result__grid.grid-2x2,
    .service-result__grid.grid-3x2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .service-result__card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 18px;

        min-height: 0;
        padding: 22px;
    }

    .service-result__image-wrap {
        width: 72px;
        height: 72px;
    }

    .service-result__image-placeholder {
        font-size: 25px;
    }

    .service-result__sub-title {
        margin-bottom: 8px;
        font-size: 17px;
    }

    .service-result__text {
        font-size: 14px;
    }

}


/* Очень узкие экраны */

@media (max-width: 420px) {

    .service-result__card {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 15px;
        padding: 18px;
    }

    .service-result__image-wrap {
        width: 62px;
        height: 62px;
    }

}


.service-result__after {
    position: relative;
    margin-top: clamp(32px, 4vw, 48px);
    padding: clamp(30px, 4vw, 48px);
    background: var(--theme-palette-color-8);
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 3px;
}

.service-result__after::before {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(30px, 4vw, 48px);
    width: 72px;
    height: 3px;
    background: var(--theme-palette-color-1);
}

.service-result__after-title {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--theme-palette-color-3);
    font-family: var(--theme-font-family-header);
    line-height: 1.2;
    font-weight: 600;
}

.service-result__after-text {
    max-width: 980px;
    color: var(--theme-palette-color-3);
    font-size: 17px;
    line-height: 1.7;
}

.service-result__after-text > *:first-child {
    margin-top: 0;
}

.service-result__after-text > *:last-child {
    margin-bottom: 0;
}

.service-result__after-text ul,
.service-result__after-text ol {
    padding-left: 1.25em;
}

.service-result__after-text li + li {
    margin-top: 8px;
}

.service-result__after-text strong {
    color: inherit;
    font-weight: 600;
}

@media (max-width: 767px) {

    .service-result__after {
        margin-top: 28px;
        padding: 28px 22px;
    }

    .service-result__after::before {
        left: 22px;
        width: 56px;
    }

    .service-result__after-title {
        margin-bottom: 18px;
        font-size: 24px;
    }

    .service-result__after-text {
        font-size: 15px;
        line-height: 1.65;
    }

}












.service-cta {
    padding: var(--theme-content-vertical-spacing) 0;
    background: var(--color-accent-sky);
}

.service-cta__container {
    max-width: 1010px;
}

.service-cta__content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--theme-palette-color-7);
}

.service-cta__content h2{
    color: var(--theme-palette-color-7);
}

.service-cta__content .entry-content {
    margin-bottom: 36px;
}


.service-cta__content .button{
    background: var(--theme-palette-color-7);
    color: var(--theme-palette-color-4);
}

.service-cta__image-wrap {
    height: 110px;
    border-radius: 32px;
    overflow: hidden;
    display: none;
}

.service-cta__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .service-cta {
        padding-top: 56px;
    }

    .service-cta__content {
        margin-bottom: 56px;
    }

    .service-cta__image-wrap {
        height: 82px;
        border-radius: 24px;
    }
}








/* Контейнер галереи внутри SEO-блока */
/* ===== Галерея внутри SEO-блока ===== */

.gallery {
    column-count: 3;
    column-gap: 16px;
    margin: 24px 0;
}
.gallery.gallery-columns-2{
    column-count: 2;
    column-gap: 20px;
}
.gallery.gallery-columns-4{
    column-count: 4;
    column-gap: 10px;
}
.gallery.gallery-columns-5{
    column-count: 5;
    column-gap: 10px;
}
.gallery.gallery-columns-6{
    column-count: 6;
    column-gap: 10px;
}
.gallery.gallery-columns-7{
    column-count: 7;
    column-gap: 10px;
}
.gallery.gallery-columns-8{
    column-count: 8;
    column-gap: 10px;
}
.gallery.gallery-columns-9{
    column-count: 9;
    column-gap: 10px;
}
/* Элемент галереи */
.gallery-item {
    break-inside: avoid;
    margin: 0 0 16px;
}

.gallery.gallery-columns-2 .gallery-item{
    margin: 0 0 20px;
}

.gallery.gallery-columns-4 .gallery-item,
.gallery.gallery-columns-5 .gallery-item,
.gallery.gallery-columns-6 .gallery-item,
.gallery.gallery-columns-7 .gallery-item,
.gallery.gallery-columns-8 .gallery-item,
.gallery.gallery-columns-9 .gallery-item{
    margin: 0 0 10px;
}

/* Контейнер изображения */
.gallery-icon {
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

/* Картинка */
.gallery-icon img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
    transition: transform .35s ease;
}

/* Hover эффект */
.gallery-icon:hover img {
    transform: scale(1.05);
}

/* Убираем стандартные inline-стили WP */
.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
    width: 100% !important;
}

/* ===== Планшет ===== */
@media (max-width: 1024px) {
    .gallery {
        column-count: 3 !important;
    }
}

/* ===== Мобильные ===== */
@media (max-width: 640px) {
    .gallery {
        column-count: 2 !important;
    }
}





































.contact-page__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-page__block p {
    margin: 0 0 16px;
}

.contact-page__block p:last-child {
    margin-bottom: 0;
}

.contact-page__separator {
    height: 1px;
    background: var(--theme-palette-color-5);
    opacity: .5;
}

.contact-page__map {
    display: block;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 25px;
}

.contact-page__map-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 25px;
}

.contact-page__map > img {
    display: block;
    border-radius: none;
    width: 100%;
    height: auto;
    transition: transform .3s ease;
}

.contact-page__map:hover img {
    transform: scale(1.02);
}

.contact-page__address {
    margin-top: 24px;
}

.contact-page__note {
    margin-top: 16px;
    opacity: .8;
    font-size: 14px;
}

.contact-page__sticky {
    padding: 48px;
    border-radius: 25px;

    background: var(--theme-palette-color-6);
}

.contact-page__sticky h2 {
    margin-bottom: 12px;
}

.contact-page__sticky > p {
    margin-bottom: 24px;
}

.contact-page__sticky .wpcf7 form .wpcf7-not-valid-tip{
    background-color: var(--theme-palette-color-6);
}

@media (max-width: 999px) {

    .contact-page__sticky {
        padding: 36px;
    }

}



.service-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--theme-content-vertical-spacing) 0;
    background:  var(--color-accent-sky);
}

.service-cta__container {
    position: relative;
    z-index: 2;
}

.service-cta__content {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.service-cta__title {
    margin: 0;
    color: var(--theme-palette-color-8);
}

.service-cta__description {
    max-width: 660px;
    margin: 24px auto 0;
    color: var(--theme-palette-color-8);
}

.service-cta__description > *:first-child {
    margin-top: 0;
}

.service-cta__description > *:last-child {
    margin-bottom: 0;
}

.service-cta__action {
    margin-top: 32px;
}

.service-cta__action .button {
    min-width: 220px;
    color: var(--theme-palette-color-3);
    background: var(--theme-palette-color-8);
}

.service-cta__action .button:hover {
    color: var(--theme-palette-color-8);
    background: var(--theme-palette-color-1);
}


/* Декоративное изображение */

.service-cta__decor {
    --cta-parallax-y: 0px;

    position: absolute;
    z-index: 1;
    right: clamp(-170px, -8vw, -80px);
    bottom: clamp(-190px, -10vw, -100px);

    width: clamp(380px, 38vw, 700px);
    aspect-ratio: 1 / 1;

    pointer-events: none;
    transform: translate3d(0, var(--cta-parallax-y), 0);
    will-change: transform;

    border-radius: 50%;
    overflow: hidden;
}

.service-cta__decor::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(159, 196, 223, .22),
        rgba(159, 196, 223, .68)
    );
}

.service-cta__decor-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    opacity: .16;
    filter:
        grayscale(1)
        contrast(1.15)
        brightness(1.45);
    mix-blend-mode: luminosity;
}


/* Дополнительная мягкая сфера */

.service-cta::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -180px;
    top: -220px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, .18) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
}


/* Планшет */

@media (max-width: 1024px) {

    .service-cta__decor {
        right: -160px;
        bottom: -150px;
        width: 520px;
    }

}


/* Мобильная версия */

@media (max-width: 767px) {

    .service-cta {
        padding: 70px 0;
    }

    .service-cta__content {
        max-width: none;
    }

    .service-cta__description {
        margin-top: 20px;
        font-size: 15px;
    }

    .service-cta__action {
        margin-top: 28px;
    }

    .service-cta__action .button {
        width: 100%;
        min-width: 0;
    }

    .service-cta__decor {
        right: -150px;
        bottom: -110px;
        width: 360px;
        opacity: .8;
    }

    .service-cta::after {
        left: -200px;
        top: -250px;
        width: 420px;
        height: 420px;
    }

}


/* Отключение движения */

@media (prefers-reduced-motion: reduce) {

    .service-cta__decor {
        transform: none !important;
    }

}


/* Общая секция */

.single-service .ct-comments-container {
    padding: calc(var(--theme-content-vertical-spacing) / 2) 0;
    background: var(--theme-palette-color-7);
}

.single-service .ct-comments-container > .ct-container-narrow {
    width: min(90vw, 980px);
}

.single-service .ct-comments .comment-respond{
    padding-top: 0;
    border: none;
}

.single-service .ct-comments .comment-respond #reply-title{
    font-size: 18px;
}

/* Заголовок */

.single-service .ct-comments-title {
    margin: 0 0 42px;
    padding: 0;
    line-height: 1.2;
    font-weight: 600;
    text-transform: capitalize;
}


/* Список */

.single-service .ct-comment-list,
.single-service .ct-comment-list .children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-service .ct-comment-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* Комментарий верхнего уровня */

.single-service .ct-comment-list > .comment > .ct-comment-inner {
    padding: clamp(26px, 3vw, 38px);
    background: var(--theme-palette-color-8);
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 3px;
    box-shadow: 0 12px 32px rgba(74, 60, 53, .045);
}


/* Общая сетка комментария */

.single-service .ct-comment-inner {
    position: relative;
}

.single-service .ct-comment-meta {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    grid-template-areas:
        "avatar author date";
    align-items: center;
    gap: 8px 16px;
    margin: 0 0 24px;
}

.single-service .ct-has-avatar .ct-comment-meta {
    padding-inline-start: 0;
}

.single-service .ct-comment-meta .ct-media-container {
    grid-area: avatar;
    width: 54px;
    height: 54px;
    margin: 0;
    overflow: hidden;
    border-radius: 50%;
}

.single-service .ct-comment-meta .ct-media-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-service .ct-comment-author {
    grid-area: author;
    margin: 0;
    font-family: var(--theme-font-family-header);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.single-service .ct-comment-author cite {
    font-style: normal;
}

.single-service .ct-comment-author a {
    color: inherit;
    text-decoration: none;
}

.single-service .ct-comment-meta-data {
    grid-area: date;
    font-size: 12px;
    line-height: 1.4;
    opacity: .65;
    white-space: nowrap;
}

.single-service .ct-comment-meta-data a {
    color: inherit;
    text-decoration: none;
}

.single-service .ct-comment-meta-data a:hover {
    color: var(--theme-palette-color-1);    
}

/* Текст комментария */

.single-service .ct-comment-content {
    padding-left: 70px;
    color: var(--theme-palette-color-3);
    font-size: 17px;
    line-height: 1.7;
}

.single-service .ct-comment-content > *:first-child {
    margin-top: 0;
}

.single-service .ct-comment-content > *:last-child {
    margin-bottom: 0;
}


/* Ответ администратора */

.single-service .ct-comment-list .children {
    margin: 18px 0 0 clamp(26px, 5vw, 72px);
}

.single-service .ct-comment-list .children .ct-comment-inner {
    padding: 24px 26px;
    background: color-mix(
        in srgb,
        var(--theme-palette-color-1) 8%,
        var(--theme-palette-color-8)
    );
    border-left: 3px solid var(--theme-palette-color-1);
    border-radius: 3px;
}

.single-service .ct-comment-list .children .ct-comment-meta {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    margin-bottom: 18px;
}

.single-service .ct-comment-list .children .ct-media-container {
    width: 46px;
    height: 46px;
}

.single-service .ct-comment-list .children .ct-comment-author {
    font-size: 17px;
}

.single-service .ct-comment-list .children .ct-comment-content {
    padding-left: 62px;
    font-size: 16px;
}


/* Форма */

.single-service .comment-respond {
    margin-top: 42px;
    padding: clamp(28px, 4vw, 44px);
    background: var(--theme-palette-color-8);
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 3px;
    box-shadow: 0 12px 32px rgba(74, 60, 53, .04);
}

.single-service .comment-reply-title {
    margin: 0 0 14px;
    font-family: var(--theme-font-family-header);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
}

.single-service .comment-notes {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.55;
    opacity: .75;
}

.single-service .comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.single-service .comment-form > p {
    margin: 0;
}

.single-service .comment-form-field-textarea,
.single-service .comment-form-cookies-consent,
.single-service .form-submit,
.single-service .comment-notes {
    grid-column: 1 / -1;
}

.single-service .comment-form input[type="text"],
.single-service .comment-form textarea {
    width: 100%;
    background: var(--theme-palette-color-8);
    border-color: rgba(0, 0, 0, .12);
}

.single-service .comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.single-service .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.single-service .comment-form-cookies-consent input {
    margin-top: 3px;
}

.single-service .form-submit {
    margin-top: 6px;
}

.single-service .form-submit .submit {
    min-width: 220px;
}


/* Мобильная версия */

@media (max-width: 767px) {

    .single-service .ct-comments-container {
        padding: 60px 0;
    }

    .single-service .ct-comments-container > .ct-container-narrow {
        width: 90vw;
    }

    .single-service .ct-comments-title {
        margin-bottom: 30px;
    }

    .single-service .ct-comment-list {
        gap: 18px;
    }

    .single-service .ct-comment-list > .comment > .ct-comment-inner {
        padding: 22px;
    }

    .single-service .ct-comment-meta {
        grid-template-columns: 46px minmax(0, 1fr);
        grid-template-areas:
            "avatar author"
            "avatar date";
        gap: 4px 14px;
        margin-bottom: 18px;
    }

    .single-service .ct-comment-meta .ct-media-container {
        width: 46px;
        height: 46px;
    }

    .single-service .ct-comment-meta-data {
        white-space: normal;
    }

    .single-service .ct-comment-content {
        padding-left: 0;
        font-size: 16px;
        line-height: 1.65;
    }

    .single-service .ct-comment-list .children {
        margin: 14px 0 0 18px;
    }

    .single-service .ct-comment-list .children .ct-comment-inner {
        padding: 20px;
    }

    .single-service .ct-comment-list .children .ct-comment-meta {
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-areas:
            "avatar author"
            "avatar date";
    }

    .single-service .ct-comment-list .children .ct-media-container {
        width: 42px;
        height: 42px;
    }

    .single-service .ct-comment-list .children .ct-comment-content {
        padding-left: 0;
        font-size: 15px;
    }

    .single-service .comment-respond {
        margin-top: 32px;
        padding: 24px 20px;
    }

    .single-service .comment-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .single-service .comment-form > p {
        grid-column: 1;
    }

    .single-service .form-submit .submit {
        width: 100%;
        min-width: 0;
    }

}


















.ct-footer [data-column="widget-area-1"] .widget_media_image{
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
    max-width: 350px;
    gap: 15px;
}

.ct-footer [data-column="widget-area-1"] .widget-title{
    font-size: 20px;
    line-height: 1.3;
    color: var(--theme-palette-color-1);
    max-width: 250px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 72px);
    flex-wrap: wrap;
}

.footer-socials__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: var(--theme-text-color);
    text-decoration: none;
}

.footer-socials__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    border-radius: 50%;
    background: color-mix(
        in srgb,
        var(--theme-palette-color-1) 22%,
        transparent
    );

    color: var(--theme-text-color);

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.footer-socials__icon svg {
    width: 28px;
    height: 28px;
}

.footer-socials__item:hover .footer-socials__icon {
    transform: translateY(-3px);

    background: color-mix(
        in srgb,
        var(--theme-palette-color-1) 35%,
        transparent
    );
}

.footer-socials__label {
    font-size: 15px;
    line-height: 1.4;
}

@media (max-width: 767px) {

    .footer-socials {
        gap: 24px;
    }

    .footer-socials__icon {
        width: 54px;
        height: 54px;
    }

    .footer-socials__icon svg {
        width: 24px;
        height: 24px;
    }

    .footer-socials__label {
        font-size: 14px;
    }

}

/* =========================
   FOOTER — middle row
   ========================= */

[data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
    --grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 45px;
    padding-bottom: 30px;
}

/* Оба блока занимают всю ширину */
[data-footer*="type-1"] .ct-footer [data-row="middle"] [data-column] {
    width: 100%;
}


/* =========================
   SOCIALS
   ========================= */

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(34px, 5vw, 70px);
    flex-wrap: wrap;
}

.footer-socials__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: var(--theme-text-color);
    text-decoration: none;
}

.footer-socials__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    border-radius: 50%;
    background: color-mix(
        in srgb,
        var(--theme-palette-color-1) 20%,
        transparent
    );

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.footer-socials__icon svg {
    width: 27px;
    height: 27px;
}

.footer-socials__item:hover {
    color: var(--theme-text-color);
}

.footer-socials__item:hover .footer-socials__icon {
    transform: translateY(-3px);

    background: color-mix(
        in srgb,
        var(--theme-palette-color-1) 32%,
        transparent
    );
}

.footer-socials__label {
    font-size: 15px;
    line-height: 1.4;
}


/* =========================
   FOOTER MENU
   ========================= */

.ct-footer [data-column="widget-area-3"] {
    max-width: 1000px;
    margin-inline: auto;
    padding: 24px 0;

    border-top: 1px solid var(--theme-border-color);
    border-bottom: 1px solid var(--theme-border-color);
}

.ct-footer [data-column="widget-area-3"] .widget-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.ct-footer [data-column="widget-area-3"] .widget-menu > li {
    display: flex;
    align-items: center;
    margin: 0;
}

/* Декоративная точка между пунктами */
.ct-footer [data-column="widget-area-3"] .widget-menu > li:not(:last-child)::after {
    content: "";
    width: 5px;
    height: 5px;
    margin: 0 18px;

    border-radius: 50%;
    background: var(--theme-palette-color-1);

    opacity: .75;
}

.ct-footer [data-column="widget-area-3"] .widget-menu a {
    color: var(--theme-text-color);
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
}

.ct-footer [data-column="widget-area-3"] .widget-menu a:hover,
.ct-footer [data-column="widget-area-3"] .current-menu-item > a {
    color: var(--theme-palette-color-1);
}

@media (max-width: 767px) {

    [data-footer*="type-1"] .ct-footer [data-row="middle"] > div > .ct-container {
        gap: 30px;
        padding-top: 35px;
        padding-bottom: 25px;
    }

    .footer-socials {
        gap: 26px;
    }

    .footer-socials__icon {
        width: 54px;
        height: 54px;
    }

    .footer-socials__icon svg {
        width: 23px;
        height: 23px;
    }

    .footer-socials__label {
        font-size: 14px;
    }

    .ct-footer [data-column="widget-area-3"] {
        padding: 20px 0;
    }

    .ct-footer [data-column="widget-area-3"] .widget-menu {
        gap: 10px 18px;
    }

    .ct-footer [data-column="widget-area-3"] .widget-menu > li:not(:last-child)::after {
        display: none;
    }

    .ct-footer [data-column="widget-area-3"] .widget-menu a {
        font-size: 14px;
    }

}

/* Не выводим второстепенные служебные страницы в футере */
.ct-footer [data-column="widget-area-3"] .widget-menu > li:has(a[href*="/konfidenczijnist/"]),
.ct-footer [data-column="widget-area-3"] .widget-menu > li:has(a[href*="/avtorstvo-zahyshheno/"]) {
    display: none;
}

@media (max-width: 999.98px) {
  [data-footer*="type-1"] .ct-footer {
    background-position: 30% 0%;
    background-size: auto;
  }
}

@media (max-width: 689.98px) {
  [data-footer*="type-1"] .ct-footer {
    background-position: 25% 0%;
    background-size: 350%;
  }
}



















.custom-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: rgba(138,147,163,.0);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .25s ease, visibility .25s ease;
}

.custom-popup.active {
    opacity: 1;
    visibility: visible;
    background: var(--theme-overlay-color);
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

/* Контент */
.custom-popup-content {
    background: var(--theme-palette-color-8);
    padding: 40px;
    max-width: 500px;
    width: 90%;

    max-height: calc(100vh - 64px);
    overflow-y: auto;
    overflow-x: hidden;

    border-radius: 3px;
    box-shadow: 0 10px 25px 4px rgba(138,147,163,.8);

    transform: translateY(40px) scale(.96);
    opacity: 0;

    transition: 
        transform .35s cubic-bezier(.22,.61,.36,1),
        opacity .3s ease;
}

#send-review .custom-popup-content {
    max-width: 800px;
}

.custom-popup.active .custom-popup-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

    .custom-popup-content .title3{
        color: var(--theme-palette-color-1);
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 24px;
    }

    .custom-popup-content .title3 .item-title{
        display: block;
        width: 100%;
        margin-top: 10px;
        font-size: 20px;
        line-height: 22px;
        color: var(--theme-text-color);
    }

    .custom-popup-content .wpforms-container{
        margin: 0;
        position: relative;
    }

    .custom-popup-content .wpforms-confirmation-container{
        margin: -50px -2px 0;
    }

.custom-popup-close {
    position: absolute;
    height: 28px;
    line-height: 24px;
    top: 14px;
    right: 15px;
    font-size: 24px;
    text-decoration: none;
    color: var(--theme-palette-color-1);
    width: 28px;
    text-align: center;
}
.custom-popup-close:hover{color: var(--theme-palette-color-2);}
    
.cf7-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--theme-palette-color-1);
    color: var(--theme-palette-color-8);
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    opacity: 0;
    transition: .3s ease;
    z-index: 10000;
    pointer-events: none;
}

.cf7-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#contact-me .custom-popup-content {
    max-width: 320px;
    padding: 0;
}

.contact-popup__list {
    display: flex;
    flex-direction: column;
}

.contact-popup__item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    font-size: 20px;
    text-decoration: none;
    padding: 15px 20px;
    border-bottom: 1px solid var(--theme-palette-color-5);
}

.contact-popup__item:hover {
    color: var(--theme-palette-color-1);
}

.contact-popup__item svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--theme-palette-color-1);
}

.contact-popup__item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-popup__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 20px;
    justify-content: space-around;
}

.contact-popup__messengers a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 8px;
    border-radius: 50%;
    color: var(--theme-palette-color-8);
    background: var(--theme-palette-color-1);
    text-decoration: none;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.contact-popup__messengers a:hover {
    color: var(--theme-palette-color-8);
    opacity: .85;
    transform: translateY(-2px);
}

.contact-popup__messengers svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 767px) {

    .custom-popup-content {
        padding: 24px;
    }
    
}

.review-files label{
    cursor: pointer;
    transition: color .2s ease
}

.review-files label:hover{
    color: var(--theme-palette-color-1);
}

.custom-file {
    min-width: 0;
}

.custom-file__control {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-width: 0;
    padding-bottom: 10px;

    border-bottom: 1px solid var(--theme-border-color);
    cursor: pointer;
}

.custom-file__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;

    padding: 9px 14px;

    color: var(--theme-palette-color-8);
    background: var(--theme-palette-color-1);
    border-radius: 4px;

    font-size: 14px;
    line-height: 1;
    font-weight: 600;

    transition:
        background-color .2s ease,
        transform .2s ease;
}

.custom-file__control:hover .custom-file__button {
    transform: translateY(-1px);
}

.custom-file__name {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    font-size: 14px;
    line-height: 1.4;
    color: var(--theme-text-color);

    border-bottom: 1px solid var(--theme-border-color);
    padding: 10px;
}

label:hover .custom-file__name {
    color: var(--theme-text-color);
}

.custom-file .wpcf7-form-control-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    clip-path: none;
}

.custom-file__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.wpcf7 form .custom-file .wpcf7-not-valid-tip {
    bottom: -2px;
}

.custom-file small {
    display: block;
    margin-top: 12px;
    opacity: 0.8;
    font-size: 14px;
}

.review-form-note{
    margin-top: 12px;
    font-size: 14px;
    color: var(--theme-palette-color-3);
    border-left: 3px solid var(--theme-palette-color-1);
    padding-left: 15px;
}

@media screen and (max-width: 767px) {

    .custom-file small {
        font-size: 14px;
    }
    
}

.parallax-media {
    overflow: visible;
	aspect-ratio: auto;
}

.parallax-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: initial;
    transform: none !important;
    transition: none;
    will-change: auto;
	min-height: auto;
	position:relative;
}

/*
.parallax-media {
    position: relative;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
}

.parallax-media img {
    position: absolute;
    top: -10px;
    left: 50%;

    display: block;
    width: auto;
    max-width: none;
    height: calc(100% + 20px);

    translate: -50% 0;

    object-fit: initial;

    transform: translateY(0);
    will-change: transform;
    transition: transform .08s linear;
}

@media (max-width: 767px) {

    .fullwidth-section .parallax-media {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .fullwidth-section .parallax-media img {
        position: absolute;
        top: 0;
        left: 50%;

        width: auto;
        max-width: none;
        height: 100%;

        translate: -50% 0;
    }
}
*/

.ct-sidebar .current-menu-item > a,
.ct-sidebar .current-cat > a {
    color: var(--theme-palette-color-1);
}

.ct-sidebar .widget-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ct-sidebar #text-2 {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--theme-palette-color-6);
}

.site-map {
    display: grid;
    gap: 50px;
}

.site-map__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

.site-map__section {
    padding-top: 24px;
    border-top: 1px solid var(--theme-border-color);
}

.site-map__title {
    margin-bottom: 22px;
}

.site-map__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-map__link {
    color: var(--theme-text-color);
    text-decoration: none;
    transition: color .2s ease;
}

.site-map__link:hover {
    color: var(--theme-palette-color-1);
}


@media (max-width: 767px) {

    .site-map,
    .site-map__columns {
        gap: 36px;
    }

    .site-map__columns,
    .site-map__list--posts {
        grid-template-columns: 1fr;
    }

}

.site-map__admin-help {
    margin-bottom: 40px;
    padding: 20px 24px;
    border: 1px dashed var(--theme-palette-color-1);
    background: var(--theme-palette-color-6);
    font-size: 15px;
}

.site-map__admin-help > strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.site-map__admin-help p:last-child,
.site-map__admin-help ul:last-child {
    margin-bottom: 0;
}



/* =========================================
   Fullwidth sections — wide screens
   ========================================= */

@media (min-width: 1921px) {

    :root {
        --theme-normal-container-max-width: clamp(1290px, 67vw, 1600px);
    }    

    .ct-container-fluid {
        --theme-container-edge-spacing: 66vw;
    }    

    /*
     * На широких экранах увеличиваем высоту секции
     * вместе с шириной viewport.
     *
     * 1920px  → около 700px
     * 2560px  → около 920px
     * 3440px  → около 1240px
     * 3840px  → максимум 1300px
     */
    .fullwidth-section__inner:not(.home-hero__grid),
    .fullwidth-section .parallax-media {
        min-height: clamp(700px, 37.5vw, 1440px);
    } 

    .fullwidth-section__content {
        padding-left: clamp(
            110px,
            calc((100vw - 1920px) / 2 + 110px),
            500px
        );

        padding-right: 110px;
    }    

    .fullwidth-section--reverse .fullwidth-section__content {
        padding-left: 110px;

        padding-right: clamp(
            110px,
            calc((100vw - 1920px) / 2 + 110px),
            500px
        );
    }    
}


   
@media (min-width: 3200px) {

    .service-hero__wrapper,
    .home-hero__grid{
        min-height: clamp(700px, 37.5vw, 1440px);
    }

    .ct-container-fluid {
        --theme-container-edge-spacing: 50vw;
    }

    /* Контент слева, изображение справа */
    .fullwidth-section__content {
        padding-left: calc(
            110px + (100vw - 1920px) / 2 + 0vw
        );
    }

    /* Контент справа, изображение слева */
    .fullwidth-section--reverse .fullwidth-section__content {
        padding-left: 110px;
        padding-right: calc(
            110px + (100vw - 1920px) / 2 + 0vw
        );
    }
}


.archive [data-sidebar] {
    --theme-normal-container-max-width: 90vw;
    --sidebar-width: 25%;
    --sidebar-gap: 30px;
}

.archive [data-sidebar] > aside{
    padding-top: 20px;
}

@media (max-width: 999px) {

    .archive [data-sidebar] > aside{
        padding-top: 0px;
    }

}

.archive [data-cards="boxed"] .entry-card {
    transition-property: box-shadow, border-color;
    transition-duration: .25s, .25s;
    transition-timing-function:
        ease,
        ease
}

.archive [data-cards="boxed"] .entry-card:hover {
    border-color: rgba(0, 0, 0, .1);
    box-shadow: 0 16px 38px rgba(74, 60, 53, .06);
}

.archive [data-cards="boxed"] .entry-card:hover img {
    transition: transform .5s ease;
}

.archive [data-cards="boxed"] .entry-card:hover img {
    transform: scale(1.025);
}

.archive .section-content{
    padding-top: 0;
}

@media (max-width: 1599px) {
    .archive [data-sidebar] .entries {
        --grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 689.98px) {
  .archive [data-sidebar] .entries {
    --grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}