/*
 Theme Name: vividpro
 Template: blocksy
 
 Description:  Тема для сайта vividpro.ru
 Author:       vividpro
 Author URI:   https://vividpro.ru
 Version:      1.0.0
 Text Domain:  vividpro
*/

/*  */
.ct-button,
a {
    transition: .3s !important;
}

button.my-request-button {
    transition: .3s;
    background: var(--theme-palette-color-4);
    padding: 16px 24px;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
    font-size: 15px;
}

button.my-request-button:hover {
    background: var(--theme-palette-color-1);
}

/*  */
button.my-request-button-dark {
    transition: .3s;
    background: var(--theme-palette-color-1);
    padding: 16px 24px;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
    font-size: 15px;
}

button.my-request-button-dark:hover {
    background: var(--theme-palette-color-3);
}

/* меню */
#header [data-row] {
   -webkit-backdrop-filter:blur(var(--theme-backdrop-blur));
}

/* точка в кнопке */
.ct-button.request-button {
    padding-left: 30px !important;
}

.ct-button.request-button::after {
    content: "";
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    animation: blink 1.5s infinite ease-in-out;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 17px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.sub-menu a.ct-menu-link:not(:empty) {
    padding: 6px 24px;
}

.sub-menu {
    padding-top: 15px;
    padding-bottom: 15px;
}

@media (max-width: 999.98px) {
    .sub-menu a.ct-menu-link:not(:empty) {
        padding: var(--menu-item-padding, 0px);
    }

    .sub-menu {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/*  */

@media(min-width: 690px) {
  .cookie-notification[data-type=type-1] .container {
    border-radius: 10px!important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media(max-width: 689.98px) {
  .cookie-notification[data-type=type-1] {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
}
/* главная */

.home-develop-str {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-develop-str span {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid #111;
    color: #111;
    font-size: 16px;
    text-align: center;
}

/* список */

ul.business-number {
    list-style: none;
    padding: 0;
}

ul.business-number li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

ul.business-number .number {
    font-size: 32px;
    font-weight: bold;
    color: var(--theme-palette-color-1);
    position: relative;
    width: 40px;
    clip-path: inset(0 0 0 10px);
    line-height: 1.2;
    transition: .8s;
}

ul.business-number .number span {
    display: inline-block;
}

ul.business-number .text {
    max-width: 400px;
    color: #fff;
}

/* скроллинг блок */

.scrolling-content {
    align-items: flex-start !important;
}

.sticky-column {
    position: sticky !important;
    top: 20px;
    align-self: flex-start !important;
}

@media (max-width: 1030px) {
    .sticky-column {
        position: static !important;
    }
}

/* отзывы. слайд.главная */

.custom-comments-slider {
    max-width: 400px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
}

/* Стили слайдов */
.comment-slide {
    margin: 0;
    transition: transform 0.3s ease;
    font-size: 14px;
    height: auto;
    padding: 20px;
}

.comment-author-slide {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.comment-author-slide::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2px;
    height: 0%;
    background-color: var(--theme-palette-color-1);
    transition: height 0.4s ease;
    transition-delay: 0s;
}

/* Анимация для активного слайда */
.swiper-slide-active .comment-author-slide::before {
    height: 100%;
    transition-delay: 0.4s;
}

.admin-replies-link {
    padding: 2px 17px;
    border: 1px solid var(--theme-palette-color-1);
    border-radius: 50px;
    margin-top: 10px;
    color: var(--theme-palette-color-1);
    display: inline-block;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.admin-replies-link:hover {
    border-color: #111;
    color: #111;
}

/* дополнения на страницах услуг */
.block-list-services .elementor-widget-container .elementor-icon-box-content .elementor-icon-box-description {
    margin-left: -32px;
}

.bg-mask {
  position: relative;
  /* overflow: hidden; */
}

.bg-mask.bg-mask-full::after {
   content: "";
  position: absolute;
  bottom: 0;
  left: 0px;
  width: 280%;
  height: 60%;
  background: linear-gradient(to top, #fafafa 0%, rgba(250, 250, 250, 0) 100%);
  pointer-events: none;
}

.bg-mask.bg-mask-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, #fafafa 0%, rgba(250, 250, 250, 0) 100%);
  pointer-events: none;
}

.bg-mask::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, #fafafa 0%, rgba(250, 250, 250, 0) 100%);
  pointer-events: none;
}

.bg-mask img {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.bg-mask img.animateup {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}


/* Стили для кнопки тарифы*/
.scrolls-to--btn {
    display: inline-block;
	background: none;
    border: none;
    font-size: 14px;
	color: #555;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.scrolls-to--btn:hover {
    color: #111;
}

.scrolls-to--btn::after {
    content: '→';
    position: relative;
    left: 3px;
    color: #555;
    font-weight: bold;
    opacity: 1;
    transition: all 0.3s ease;
}

.scrolls-to--btn:hover::after {
    left:8px;
}

/* Стили для кнопки тарифы на темном фоне*/
.scrolls-to--btn-dark {
    display: inline-block;
	background: none;
    border: none;
    font-size: 14px;
	color: #999;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.scrolls-to--btn-dark:hover {
    color: #eee;
}

.scrolls-to--btn-dark::after {
    content: '→';
    position: relative;
    left: 3px;
    color: #999;
    font-weight: bold;
    opacity: 1;
    transition: all 0.3s ease;
}

.scrolls-to--btn-dark:hover::after {
    left:8px;
}

/* название в тегах блога */
.archive-title-prefix {
  font-weight: 400;
}

/* иконки. высота */
.line-block-zero .elementor-icon-wrapper {
	line-height: 0;
}

/* иконки. высота */
.no-line-height {
	line-height: 0;
}


/* табы элементор */
.elementor-widget-n-tabs button.e-n-tab-title {
	cursor: pointer;
}

/* ссылка разработка лого */
.link-icon-list-service strong a {
  display: inline-block!important;
  width: auto!important;
}

/* размытие фона */
.blur-bg-block {
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* парящая img */
@keyframes gentleFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.floaty-img img {
  animation: gentleFloat 3s ease-in-out infinite;
  display: inline-block;
}

/* верт.текст */
.vertical-text-1 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    display: inline-block;
    line-height: 1;
}

.vertical-text-1 .elementor-heading-title {
    display: inline-block;
}

/* стили модал в портфолио */
.pswp__icn-shadow {
    stroke-width: 0;
}

/* цвет подписи картинок */
.wp-block-image :where(figcaption) {
  color: #888;
}

/* Обёртка галерейного элемента */
.wp-block-gallery .wp-block-image,
.wp-block-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

/* Изображение */
.wp-block-gallery .wp-block-image img,
.wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	transform: scale(1);
}

/* Увеличение и лёгкое затемнение при наведении */
.wp-block-gallery .wp-block-image:hover a img,
.wp-block-image:hover a img {
    transform: scale(1.02);
}

/* Затемнение (overlay) */
.wp-block-gallery .wp-block-image a::before,
.wp-block-image a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Аккуратная иконка лупы */
.wp-block-gallery .wp-block-image a::after,
.wp-block-image a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: 50%;
    
    /* Полупрозрачный фон с эффектом стекла */
    background-color: rgba(255, 255, 255, 0.12);
    
    /* SVG иконка лупы */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M14.5 14.5L19 19' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    
    /* Стильная тень и внутренняя обводка */
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Плавная анимация */
    transition: 
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Состояние при наведении */
.wp-block-gallery .wp-block-image:hover a::before,
.wp-block-image:hover a::before {
    opacity: 1;
}

.wp-block-gallery .wp-block-image:hover a::after,
.wp-block-image:hover a::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* список услуг на главной (шорткод) */

.services-shortcode-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-shortcode-item {
    margin-bottom: 15px;
}

.services-shortcode-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--theme-palette-color-6);
    transition: all 0.3s ease;
}

.services-shortcode-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.services-shortcode-arrow {
    display: inline-flex;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    color: var(--theme-palette-color-1);
}

.services-shortcode-link:hover .services-shortcode-arrow {
    transform: translateX(3px);
}

.services-shortcode-empty {
    margin: 0;
    color: #666;
}

/* свой виджет тегов */
.etw-tags-container {
    position: relative;
    transition: max-height 0.4s ease;
    overflow: hidden;
}

.etw-tags-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fafafa 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.etw-tags-container.etw-expanded .etw-tags-fade {
    opacity: 0;
    pointer-events: none;
}

.etw-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.etw-tag-link {
    display: inline-block;
    padding: 5px 16px;
    background: #f0f0f0;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.etw-tag-link.active {
    color:var( --e-global-color-blocksy_palette_1 );
	background: #e0e0e0;
}

.etw-tag-link.active:hover {
	background: #f0f0f0;
}

.etw-tag-link:hover {
    background: #e0e0e0;
}

.etw-toggle-tags-btn {
    margin-top: 10px;
    background: none;
    border: none;
    color: #111;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    font-size: 14px;
    position: relative;
}

.etw-toggle-tags-btn::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.etw-toggle-tags-btn.etw-active::after {
    transform: rotate(-135deg);
}

/* новые записи в сайдбаре*/

#recent-posts-2 ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* меню содержание поста */

/* содержание */

.kamatoc-wrap {
	background: #f4f4f4;
}

.kamatoc-wrap__title {
	font-weight: 600;
	font-size: 18px;
	display: block;
	padding: 2rem 1rem 0rem 2rem;
  transition: 0.48s ease;
}

ul.kamatoc {
	list-style: none;
	margin: 0px 0 20px;
	padding: 2rem;
}

ul.kamatoc .kamatoc__sub_1:before,
ul.kamatoc .kamatoc__top:before {
	display: table;
	float: left;
	margin-right: 7px;
}

ul.kamatoc li::before {
	display: inline-block;
	content: counter(point) ". ";
	margin-left: 0;
	font-weight: 400;
	color: #777;
}

ul.kamatoc .kamatoc__top {
	counter-increment: point;
	counter-reset: sublist;

}

ul.kamatoc .kamatoc__sub_1::before {
	content: counter(point) "." counter(sublist) ". ";
	counter-increment: sublist;
}

ul.kamatoc li::before {
	display: inline-block;
	content: counter(point) ". ";
}

ul.kamatoc .kamatoc__sub_1 {
	counter-reset: sublist3;
	margin-top: .3em;
	margin-bottom: .3em;
	margin-left: 30px;
}

ul.kamatoc .kamatoc__sub_1 {
	font-size: .92em;
}

ul.kamatoc li {
	margin-bottom: 10px;
}

ul.kamatoc li a {
	color: #111;
	font-weight: 400;
	transition: .3s;
	border: none;
}

ul.kamatoc li a:hover {
	color: var(--theme-palette-color-1);
	text-decoration: none;
}

a.kamatoc-gotop {
	font-size: 14px;
	border-bottom: 1px solid #d6d6d6;
}

@media (max-width: 810px) {
	.kamatoc-wrap__title {
		font-size: 16px;
	}

	ul.kamatoc li a {
		font-size: 16px;
	}
}

/* img post */
.wp-block-gallery,
.wp-block-image,
.wp-block-group.project-section--full,
.wp-block-group.project-section--boxed {
    margin-bottom: 50px;
	margin-top: 50px;
}

/* Общий стиль */
.wp-block-group.project-section--full-bg {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* parallax эффект */
    min-height: 460px; /* для десктопа */
}

/* На мобильных отключаем fixed */
@media only screen and (max-width: 768px),
only screen and (max-device-width: 2300px) and (-webkit-min-device-pixel-ratio: 2) {
    .wp-block-group.project-section--full-bg {
        background-attachment: scroll !important;
        background-position: center center !important;
		min-height: auto;
        aspect-ratio: 16/9;
    }
}

.wp-block-group.project-section--full {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
	padding-bottom: 80px;
	padding-top: 80px;
}

.wp-block-group.project-section--full >* {
    max-width: 1020px;
    margin-left: auto !important;
    margin-right: auto !important;
	width: min(100%, var(--theme-container-width-base));
}

@media only screen and (max-width: 768px),
only screen and (max-device-width: 2300px) and (-webkit-min-device-pixel-ratio: 2) {
    .wp-block-group.project-section--full {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
}

/* ul */
.wp-block-list {
	gap: 3px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .project-section--boxed {
        position: relative;
        width: 90vw;
        left: 50%;
        right: 50%;
        transform: translate(-50%);
        max-width: 1180px;
    }

    .project-section--boxed >* {
        max-width: 1180px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* страница отзывов */
.review-toggle-wrapper {
    margin-bottom: 20px;
}
/* ===== Шапка с заголовком и кнопкой ===== */
.review-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.review-count {
    color: var(--theme-palette-color-4);
    margin: 0;
}

/* ===== Кнопка ===== */
.review-toggle-header #toggleReviewForm {
    background-color: var(--theme-palette-color-1);
    color: #fff;
    border: none;
    padding: 8px 18px 8px 34px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: relative;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    overflow: hidden;

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

/* Плюс (две линии) */
.review-toggle-header #toggleReviewForm::before,
.review-toggle-header #toggleReviewForm::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    width: 14px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Горизонтальная линия */
.review-toggle-header #toggleReviewForm::before {
    transform: translateY(-50%) rotate(0deg);
}

/* Вертикальная линия */
.review-toggle-header #toggleReviewForm::after {
    transform: translateY(-50%) rotate(90deg);
}

/* Открытое состояние (крестик) */
.review-toggle-header #toggleReviewForm.open::before {
    transform: translateY(-50%) rotate(45deg);
}

.review-toggle-header #toggleReviewForm.open::after {
    transform: translateY(-50%) rotate(135deg);
}

/* Hover */
.review-toggle-header #toggleReviewForm:hover {
    background-color: var(--theme-palette-color-4);
}

/* Active */
.review-toggle-header #toggleReviewForm:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Ripple */
.review-toggle-header #toggleReviewForm .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-anim 0.55s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.collapsible {
    overflow: hidden;
    height: 0;
    transition: height 0.5s ease;
}

@media (max-width: 480px) {
    .review-toggle-wrapper h3 {
        font-size: 24px;
    }
}

/* деятельность */
.ct-comment-activity {
	font-weight: 400; 
	font-size: 0.85em; 
	color: #555;
}

/* отзыв в портфолио */
.portfolio-review {
	margin-top: 4em;
	padding:2.5em;
	background:#ededed;
	border-radius: 20px;
}

.portfolio-review-author-block {
    margin-top: 1.5em;
}

.portfolio-review-author {
    font-size: 1.1em;
    font-weight: 500;
    color: #111;
}

.portfolio-review-activity {
    font-size: 0.9em;
    color: #555;
    font-style: italic;
}

@media (max-width: 560px) {
	/* отзыв в портфолио */
	.portfolio-review {
		padding:1.5em;
	}
}

/* Общий блок под комментарием */
.work-link-portfolio {
    padding-top: 24px;
}

/* Заголовок блока */
.work-text-portfolio {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111; /* Сделали черным (три единицы) */
}

.work-icon-portfolio {
    width: 18px;
    height: 18px;
    color: #111; 
}

/* ОБЩИЙ СПИСОК */
.work-links-portfolio-list {
    display: flex;
    flex-direction: column; 
    gap: 6px; /* Расстояние между ссылками */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.work-links-portfolio-list p:empty {
    display: none !important;
}

.work-inline-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

/* ========================================= */
/* САМА ССЫЛКА (Без фона и отступов)         */
/* ========================================= */
.work-inline-link {
    position: relative; 
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Расстояние от кружка до текста */
    text-decoration: none !important;
    max-width: 100%;
}

/* Кружочек под иконку */
.work-icon-circle {
}

/* Сама стрелочка */
.work-link-icon {
    width: 12px; 
    height: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

/* ТЕКСТ КНОПКИ */
.work-inline-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--theme-palette-color-1);
    white-space: normal;
    word-break: break-word;
    background-image: 
        linear-gradient(to right, var(--theme-palette-color-1) 0%, var(--theme-palette-color-1) 100%),
        linear-gradient(to right, #e2e2e2 0%, #e2e2e2 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 0% 1px, 100% 1px;
    background-position: 0 100%, 0 100%;
    transition: background-size 0.4s ease;
}

/* НАВЕДЕНИЕ НА ССЫЛКУ */
.work-inline-link:hover .work-inline-title {
    background-size: 100% 1px, 100% 1px;
}

/* 2. Кружок красится в цвет темы */
.work-inline-link:hover .work-link-icon {
    color: var(--theme-palette-color-1);
}

/* 3. Стрелочка делает микро-рывок */
.work-inline-link:hover .work-link-icon {
    transform: translate(1px, -1px);
}

/* ========================================= */
/* ВСПЛЫВАЮЩАЯ КАРТИНКА (МИНИАТЮРА)          */
/* ========================================= */
.work-tooltip-wrap {
    position: absolute;
    bottom: calc(100% + 4px); /* Поднимаем над ссылкой */
    left: 32px; /* Выравниваем по началу текста, минуя кружок */
    width: 220px; 
    opacity: 0;
    visibility: hidden;
    pointer-events: none; 
    z-index: 100;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* Контейнер для картинки */
.work-tooltip-inner {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.work-tooltip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 !important;
}

/* Логика появления (Десктоп) */
@media (hover: hover) {
    .work-inline-link:hover .work-tooltip-wrap {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ========================================= */
/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ                */
/* ========================================= */
@media (hover: none), (max-width: 768px) {
    .work-tooltip-wrap {
        display: none !important;
    }
}
/* ------------------- */

@media (min-width: 690px) {
  .review-toggle-wrapper .comment-form {
    grid-template-columns: repeat(3, 1fr);
  }
}

.comment-form-activity {
  --grid-column: span 1;
}

/* комментарии */
.ct-comments .ct-comment-content p {
    color: #111;
}

/* выделить автора коммента */

.ws_auth_comm {
  position: relative;
  display: inline-flex;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #222;
  cursor: default;
  margin-left: 3px;
  vertical-align: middle;
  margin-bottom: 4px;
}

/* Галочка */
.ws_auth_comm::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

/* Tooltip */
.ws_auth_comm::after {
  content: attr(data-role);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.95);

  background: rgba(20,20,20,0.95);
  color: #fff;
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;

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

  transition: all 0.18s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.ws_auth_comm:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* all шоркоды */
/* готовы заказать проект */
.ready-order-section {
  padding: 90px;
  background-color: #fff;
  border-radius: 20px;
  margin-top: 100px;
}

.ready-order-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 50px;
}

.ready-order-left {
    flex: 0 1 calc(40% - 25px); 
    min-width: 300px; 
    box-sizing: border-box;
}

.ready-order-right {
    flex: 0 1 calc(40% - 25px); 
    min-width: 300px; 
}

.ready-order-title {
    font-size: 36px;
    margin: 0;
    max-width: 100%;
}

.ready-order-text {
    font-size: 18px;
    margin: 0 0 20px 0;
}

.ready-order-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.telegram-button {
    padding: 12px 17px;
    background-color: var(--theme-palette-color-1);
    color: white;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.telegram-button:hover {
    background-color: #111;
	color: #fff;
}

.telegram-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
@media (max-width: 930px) {
.ready-order-left {
    min-width: 450px; 
}

.ready-order-right {
    min-width: 450px; 
}
}
@media (max-width: 768px) {
    .ready-order-section {
        padding: 60px;
        margin-top: 60px;
    }
    
    .ready-order-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .ready-order-left,
    .ready-order-right {
        flex: 0 1 100%;
        min-width: auto;
    }
    
    .ready-order-buttons {
        justify-content: center;
    }
    
    .ready-order-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .ready-order-section {
        padding: 40px;
        margin-top: 40px;
        border-radius: 10px;
    }
    
    .ready-order-title {
        font-size: 28px;
    }
    
    .ready-order-text {
        font-size: 16px;
    }
    
    .my-request-button,
    .telegram-button {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* похожие записи портфолио */
.our-other-projects-wrapper {
  position: relative;
  margin: 60px auto 75px;
  max-width: 100%;
  border-top: 1px solid var(--theme-palette-color-6);
  padding-top: 60px;
}

@media (max-width: 1024px) {
  .our-other-projects-wrapper {
    max-width: 100%;
  }
}

.our-other-projects-slider {
    overflow: hidden;
}

.our-other-projects-slide {
    transition: transform 0.3s ease;
}

.our-other-projects-thumbnail {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.our-other-projects-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.our-other-projects-slide:hover .portfolio-hover-effect {
    background: rgba(0, 0, 0, 0.4);
}

.our-other-projects-slide:hover .portfolio-arrow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.our-other-projects-title {
    margin-top: 15px;
    font-size: 20px;
	transition: .3s;
	max-width: 450px;
}

.our-other-projects-slide:hover .our-other-projects-title {
    color: var(--theme-palette-color-1);
}

.our-other-projects-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 780px) {
	.our-other-projects-title {
    font-size: 20px;
}
}

@media (max-width: 480px) {
	.our-other-projects-title {
    font-size: 18px;
}
}


/* Портфолио. Стили для фильтра тегов */
/* шорткод портфолио */
.portfolio-shorts-grid {
    display: grid;
    gap: 40px;
}

/* Стили для 2 колонок */
.portfolio-shorts-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Стили для 3 колонок */
.portfolio-shorts-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-shorts-card {
    height: 100%;
}

.portfolio-title-shorts {
    font-weight: 600;
    font-size: 24px;
    margin-top: 15px;
	max-width: 470px;
}

.portfolio-shorts-columns-3 .portfolio-title-shorts {
	 font-size: 20px;
}

.portfolio-title-shorts a {
    color: #111;
    transition: color 0.3s;
}

.portfolio-shorts-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-shorts-thumbnail img {
    width: 100%;
    object-fit: cover;
	aspect-ratio: 4/3;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-shorts-columns-2 .portfolio-shorts-thumbnail img {
	max-height: 330px;
}

.portfolio-hover-effect {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background 0.3s ease;
}

.portfolio-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-shorts-card:hover .portfolio-hover-effect {
    background: rgba(0, 0, 0, 0.4);
}

.portfolio-shorts-card:hover .portfolio-arrow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-shorts-card:hover .portfolio-title-shorts a {
    color: var(--theme-palette-color-1);
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
    .portfolio-shorts-columns-2,
    .portfolio-shorts-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .portfolio-shorts-columns-2,
    .portfolio-shorts-columns-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-title-shorts {
        font-size: 20px;
    }
	
	.portfolio-shorts-thumbnail img {
		width: 100%;
		height: auto;
		object-fit: cover;
		max-height: 100%;
		aspect-ratio: auto;
	}
	
	.portfolio-shorts-columns-2 .portfolio-shorts-thumbnail img,
	.portfolio-shorts-columns-3 .portfolio-shorts-thumbnail img 	{
		max-height: 330px;
	}
}


/* filtr */
.portfolio-tags-filter {
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.entry-header.portfolio-archive-header h1 span {
    font-weight: 400;
}

.portfolio-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--theme-palette-color-6);
    color: var(--theme-palette-color-3);
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.portfolio-tag:hover {
    color: var(--theme-palette-color-1);
}

.portfolio-tag.active {
    background: var(--theme-palette-color-1);
    color: #fff;
    border-color: transparent;
}

/* Сетка портфолио */
.portfolio-grid {
    width: 100%;
    gap: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

.portfolio-item {
    position: relative;
    transition: transform 0.3s ease;
}

.portfolio-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.portfolio-thumbnail img {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-link {
    display: block;
    position: relative;
}

.portfolio-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
}

/* Эффект затемнения */
.portfolio-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

/* Стрелка */
.portfolio-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background: var(--theme-palette-color-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    line-height: 45px;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-hover-effect {
    background: rgba(0, 0, 0, 0.4);
}

.portfolio-item:hover .portfolio-arrow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-title {
  margin: 0 0 15px;
  font-weight: 600;
  font-size: 22px;
}

.portfolio-title a {
    text-decoration: none;
    color: inherit;
}

.project-tags {
    margin: 15px 0 0 0;
}

.project-tags a.tag {
    display: inline-block;
    margin: 3px 6px 0 0;
    border: 1px solid var(--theme-palette-color-6);
    padding: 4px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--theme-palette-color-3);
    transition: 0.3s ease;
}

.project-tags a.tag:hover {
    color: #111;
}

.portfolio-archive-header {
    margin-bottom: 40px;
}

/* пагинация */
.portfolio-pagination {
    margin-top: 90px;
    text-align: center;
	margin-bottom: 30px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Стили для кнопок/ссылок */
.nav-links a.page-numbers {
    color: var(--theme-palette-color-3);
    border: 1px solid var(--theme-palette-color-6);
}

/* Стиль для текущей страницы */
.nav-links span.page-numbers.current {
    color: #111;
}

/* Стиль для кнопки "Назад" */
.nav-links a.prev,
.nav-links a.next {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
}

/* Состояния при наведении */
.nav-links a.page-numbers:hover {
    color: #111;
}

.nav-links a.prev:hover,
.nav-links a.next:hover {
    color: #111;
}

/* описание таксономии */
.taxonomy-description {
	max-width: 800px;
}

/* Адаптив для мобилок */
@media (max-width: 868px) {

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

/* Адаптив для мобилок */
@media (max-width: 768px) {

    .portfolio-thumbnail img {
        width: 100%;
        aspect-ratio: auto;
		max-height: 100%;
    }
	
	.portfolio-grid {
        grid-template-columns: 2fr;

}
}

@media (max-width: 480px) {
    .nav-links {
        gap: 6px;
    }

    .nav-links a,
    .nav-links span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }
}

/*  */
@media (max-width: 992px) {

    .portfolio-title {
        font-size: 22px;
    }
}

/* Основные стили шапки портфолио */

/* Убираем лишние отступы у самой шапки */
.project-single-header {
    margin-bottom: 0;
    padding-top: 20px; /* Небольшой отступ сверху над крошками */
}

/* Верхний ряд: Крошки и Теги */
.project-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
	margin-top: 20px;
}

/* Теги */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.project-tag-link {
    color: var(--theme-palette-color-7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.project-tag-link:hover {
    color: #111;
}

/* Широкий контейнер для баннера */
.project-banner-wide-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Баннер (Параллакс) */
.project-banner {
    position: relative;
    width: 100%;
    min-height: 400px; /* Высота 400px */
    background-color: #666;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Градиент поверх картинки */
.project-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

/* Контейнер внутри баннера, чтобы центрировать контент по сайту */
.project-banner-inner-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.project-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding-top: 40px; 
	padding-bottom: 40px; 
    gap: 30px;
    color: #fff;
}

.project-info-left {
    flex: 1 1 65%;
}

.project-info-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Заголовок */
.project-title {
    margin: 0 0 20px 0;
    font-size: 3rem;
    line-height: 1.2;
    color: #fff;
	max-width: 760px;
}

.project-title:last-child {
    margin-bottom: 0;
}

/* Описание (теперь выше услуг) */
.project-excerpt {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px; 
	max-width: 600px;
}

.project-excerpt p {
    margin-bottom: 0px; 
}

/* Убираем отступ, если после описания нет услуг */
.project-excerpt:last-child {
    margin-bottom: 0;
}

/* Услуги */
.project-services {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}
.project-services .label {
    font-weight: 600;
    color: #fff;
}

/* Список услуг */
.project-services a {
  position: relative;
  display: inline;
  font-weight: 400;
  color: var(--theme-palette-color-1);
      background-image: 
    linear-gradient(to right, #fff 0%, #fff 100%),
    linear-gradient(to right, var(--theme-palette-color-1) 0%, var(--theme-palette-color-1) 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  transition: background-size 0.4s ease;

}

.project-services a:hover {
  background-size: 100% 1px, 100% 1px;
  color: #fff;
}

/* Кнопка сайта */
.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: #111;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.project-btn svg {
    width: 14px;
    height: 14px;
}
.project-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    color: #000;
}
.project-btn-label {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* ==========================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.35s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   АДАПТИВНОСТЬ (Отключение параллакса и мобилки)
   ========================================== */

/* Отключаем параллакс на планшетах и телефонах */
@media (max-width: 1024px) {
    .project-banner {
        background-position: center center;
    }
}

@media (max-width: 991px) {
	.project-banner-wide-wrapper {
		padding: 0px 10px;
	}
	
    .project-banner-inner {
        flex-direction: column;
    }
    .project-info-right {
        align-items: flex-start;
        margin-top: 20px;
    }
    .project-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
	.project-banner-wide-wrapper {
		padding: 0px 5px;
	}
    .project-top-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .project-title {
        font-size: 2.2rem;
    }
    .project-btn {
        width: 100%;
        justify-content: center;
    }
    .project-info-right {
        width: 100%;
        align-items: center;
    }
}


@media (max-width: 640px) {
  .project-title {
    font-size: 1.9rem;
  }
  .project-main {
    font-size: 16px;
  }
}

/* Контент проекта */
.project-main {
  margin: 0 auto;
  max-width: 1020px;
  font-size: 18px;
}

/* Адаптация для планшетов */

@media (max-width: 1024px) {
  .project-main,
  .wp-block-group.project-section--full* {
    max-width: 100%;
  }
}

/* Контейнер с постами */
.posts-animation-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: start;
}

/* Анимация постов */
.animate-item {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0.5s ease;
    transition-delay: var(--delay, 0ms);
	will-change: opacity, transform;
}

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

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

/* раздел услуги */

.services-container {
    margin: 80px auto;
}

.service-category {
    display: flex;
    flex-direction: column;
    gap: 40px;
	justify-content: space-between;
}

.service-category:not(:last-child) {
    margin-bottom: 90px;
    padding-bottom: 90px;
    border-bottom: 1px solid var(--theme-palette-color-6);
}

@media (min-width: 911px) {
    .service-category {
        flex-direction: row;
        gap: 90px;
        align-items: flex-start;
    }
}

.service-category-header,
.service-category-content {
    width: 100%;
}

@media (min-width: 911px) {
    .service-category-header {
        width: 30%;
    }

    .service-category-content {
        width: 65%;
    }
}

.service-category-title {
    margin: 0 0 20px;
    font-size: 36px;
	max-width: 300px;
}

.service-category-title a {
    color: #111;
    background-image: 
    linear-gradient(to right, var(--theme-palette-color-1) 0%, var(--theme-palette-color-1) 100%),
    linear-gradient(to right, #e2e2e2 0%, #e2e2e2 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  transition: background-size 0.4s ease;
}

.service-category-title a:hover {
  background-size: 100% 1px, 100% 1px;
  color: var(--theme-palette-color-1);
}

.page-description-services p {
	margin: 0;
    color: #555;
    font-size: 18px;
}

.service-category-header p {
    margin: 0;
    color: #555;
    font-size: 16px;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.service-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
	padding: 30px 30px 30px 30px;
}

.service-list-item {
    border: 1px solid var(--theme-palette-color-6);
    position: relative;
    border-radius: 20px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 12px;
}

.service-thumbnail img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.service-number {
    font-size: 0.9em;
    color: #111;
}

.service-number .total-number {
    color: #999;
}

.service-link h3 {
    margin: 0;
    font-size: 24px;
	font-weight: 500;
    transition: color 0.3s ease;
    margin-bottom: 25px;
}

.service-more {
    align-items: center;
    gap: 6px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.service-link .more-text {
    font-weight: 400;
  color: #555;
  font-size: 16px;
    background-image: 
    linear-gradient(to right, var(--theme-palette-color-1) 0%, var(--theme-palette-color-1) 100%),
    linear-gradient(to right, #e2e2e2 0%, #e2e2e2 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  transition: background-size 0.4s ease;
}

.service-link:hover .more-text {
  background-size: 100% 1px, 100% 1px;
  color: var(--theme-palette-color-1);
}

.service-arrow-icon {
    display: flex;
    align-items: center;
	transition: transform 0.3s ease;
    border: 1px solid #b9b9b9;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    justify-content: center;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.service-arrow-icon svg {
	stroke: #b9b9b9;
	transition: transform 0.3s ease;
}

.service-link:hover h3 {
    color: var(--theme-palette-color-1);
}

.service-link:hover .service-arrow-icon {
    transform: translate(5px, 0);
	border: 1px solid var(--theme-palette-color-1);
}

.service-link:hover .service-arrow-icon svg {
	stroke: var(--theme-palette-color-1);
}

/* блок прайс лист цен */

.excluded-service-item {
  margin-top: 30px;
}

.excluded-service-item a {
  background: var(--theme-palette-color-1);
  display: inline-block;
  border-radius: 6px;
  padding: 14px 20px;
  transition:0.3s ease;
}

.excluded-service-item a:hover {
  background: #111;
}

.excluded-service-item a h3 {
  font-size: 16px;
  color: #fff;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}

.excluded-service-item .service-arrow-icon {
    display: inline-block;
	transition: transform 0.3s ease;
    border: none;
    height: 24px;
    width: 24px;
	margin-right: 9px;
    border-radius: 0%;
	vertical-align: middle;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.excluded-service-item .service-arrow-icon svg {
	stroke: none;
	transition: transform 0.3s ease;
	fill: transparent;
	color: #fff;
}

.excluded-service-item .service-link:hover h3 {
    color: #fff;
}

.excluded-service-item .service-link:hover .service-arrow-icon {
    transform: translate(0px, 0);
	border: none;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
    .service-category-title {
        font-size: 32px;
    }
    
    .service-link h3 {
        font-size: 28px;
    }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    
    .service-category-title {
        font-size: 28px;
    }
    
    .service-link h3 {
        font-size: 24px;
    }
	
	.page-description-services p {
		font-size: 16px;
	}

}

@media (max-width: 480px) {
    .service-category-title {
        font-size: 26px;
    }
}


/* раздел таксономии услуг */

.services-taxonomy-container {
    margin: 0 auto;
    padding: 80px 0px;
}

.services-taxonomy-grid {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-taxonomy-item {
    display: grid;
    grid-template-columns: 60px 2fr 3fr 100px 40px;
    gap: 60px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--theme-palette-color-6);
}

.services-taxonomy-item:last-child {
    border-bottom: none;
}

.services-taxonomy-counter {
    font-weight: 400;
    color: #555;
}

.services-taxonomy-item-title {
    margin: 0;
}

.services-taxonomy-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-taxonomy-link:hover {
    color: var(--theme-palette-color-1);
}

.services-taxonomy-excerpt {
    color: #555;
}

.services-taxonomy-excerpt p {
    margin: 0;
}

.services-taxonomy-price {
    font-weight: 600;
}

.services-taxonomy-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.services-taxonomy-item:hover .services-taxonomy-arrow svg {
    transform: translate(5px, 0);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .services-taxonomy-item {
        grid-template-columns: 50px 2fr 2fr 1fr 40px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .services-taxonomy-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px 0;
    }
    
    .services-taxonomy-counter {
        order: 1;
    }
    
    .services-taxonomy-item-title {
        order: 2;
        font-size: 1.2rem;
    }
    
    .services-taxonomy-excerpt {
        order: 3;
    }
    
    .services-taxonomy-price {
        order: 4;
    }
    
    .services-taxonomy-arrow {
        order: 5;
        text-align: right;
    }
}

/* ==========================================================================
   КАРКАС МОДАЛЬНОГО ОКНА
   ========================================================================== */
.amw-ru-modal {
   position: fixed; top: 0; left: 0; width: 100%; height: 100%;
   display: flex; align-items: center; justify-content: center;
   z-index: 9999; visibility: hidden; opacity: 0;
   transition: all 0.4s ease;
}
.amw-ru-modal.amw-ru-active { visibility: visible; opacity: 1; }

.amw-ru-modal-overlay {
   position: absolute; top: 0; left: 0; width: 100%; height: 100%;
   background-color: rgba(0, 0, 0, 0.7); z-index: 1;
}

.amw-ru-modal-content {
   position: relative; background: #fff; color: #333; border-radius: 8px;
   z-index: 2; width: 700px; max-width: 90%; max-height: 90vh; overflow-y: auto; 
   margin: 20px; transition: all 0.4s ease;
}

.amw-ru-modal-content button.amw-ru-close {
   position: absolute; top: 15px; right: 15px; width: 40px; height: 40px;
   background: #f5f5f5; border-radius: 50%; border: none; cursor: pointer;
   display: flex; align-items: center; justify-content: center;
   transition: transform 0.3s ease, background 0.2s; z-index: 10;
}
.amw-ru-close::before, .amw-ru-close::after {
   content: ""; position: absolute; width: 18px; height: 1px;
   background-color: #111; transition: 0.3s ease;
}
.amw-ru-close::before { transform: rotate(45deg); }
.amw-ru-close::after { transform: rotate(-45deg); }
.amw-ru-close:hover { background: #e0e0e0; transform: rotate(90deg); }
.amw-ru-close:hover::before, .amw-ru-close:hover::after { background-color: #333; }

/* ==========================================================================
   ЭФФЕКТЫ ПОЯВЛЕНИЯ
   ========================================================================== */
.amw-ru-modal[data-effect="fade"] .amw-ru-modal-content { opacity: 0; transform: none; }
.amw-ru-modal.amw-ru-active[data-effect="fade"] .amw-ru-modal-content { opacity: 1; }

.amw-ru-modal[data-effect="slide-top"] .amw-ru-modal-content { transform: translateY(-100px); opacity: 0; }
.amw-ru-modal.amw-ru-active[data-effect="slide-top"] .amw-ru-modal-content { transform: translateY(0); opacity: 1; }

.amw-ru-modal[data-effect="slide-bottom"] .amw-ru-modal-content { transform: translateY(100px); opacity: 0; }
.amw-ru-modal.amw-ru-active[data-effect="slide-bottom"] .amw-ru-modal-content { transform: translateY(0); opacity: 1; }

.amw-ru-modal[data-effect="zoom"] .amw-ru-modal-content { transform: scale(1.05); opacity: 0; }
.amw-ru-modal.amw-ru-active[data-effect="zoom"] .amw-ru-modal-content { transform: scale(1); opacity: 1; }

.amw-ru-modal[data-effect="flip"] .amw-ru-modal-content { transform: perspective(1000px) rotateX(-90deg); transform-origin: top center; opacity: 0; }
.amw-ru-modal.amw-ru-active[data-effect="flip"] .amw-ru-modal-content { transform: perspective(1000px) rotateX(0); opacity: 1; }

/* ==========================================================================
   ПРЕМИУМ КОНТЕНТ МОДАЛЬНОГО ОКНА
   ========================================================================== */
.amw-modal-content {
    display: flex;
    width: 100%;
    min-height: 380px;
    overflow: hidden;
    background: #fff;
}

/* --- ЛЕВАЯ ЧАСТЬ --- */
.amw-modal-left {
    width: 40%;
    background-color: #111;           
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
/* мягкое свечение на фоне левого блока */
.amw-modal-left::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(42,157,216,0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* Крупная иконка-водяной знак */
.amw-modal-icon {
    position: absolute;
    left: 40px;
    top: 44px;
    width: 84px;
    height: 84px;
    color: #fff;
    opacity: 0;                          
}
.amw-modal-icon svg {
    width: 100%;
    height: 100%;
    opacity: 0.08;
}

.amw-premium-title-left {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.amw-premium-text-left {
    font-size: 16px;
    color: #8a8d93;
    line-height: 1.5;
    margin-bottom: 0;
}
.amw-modal-telegram-block { margin-top: auto; position: relative; z-index: 1; }

/* --- ПРАВАЯ ЧАСТЬ --- */
.amw-modal-right {
    width: 60%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.amw-premium-title-right {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #111;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.amw-modal-text { margin-bottom: 10px; }

/* ---  КНОПКИ --- */
.amw-premium-btn {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    z-index: 0;
    transition: transform .4s cubic-bezier(0.16,1,0.3,1),
                box-shadow .4s cubic-bezier(0.16,1,0.3,1),
                border-color .4s ease,
                color .35s ease;
}
.amw-premium-btn:last-child { margin-bottom: 0; }

.amw-premium-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(0.16,1,0.3,1);
}
.amw-premium-btn.telegram::before { background: linear-gradient(135deg,#2a9dd8,#1f7fb3); }
.amw-premium-btn.max::before      { background: linear-gradient(135deg,#4a2edb,#321c98); }

/* Иконки внутри кнопок */
.amw-btn-icon-wrap {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    transition: transform .45s cubic-bezier(0.16,1,0.3,1), background .35s ease;
}
.amw-premium-btn.telegram .amw-btn-icon-wrap { background: #2a9dd8; }
.amw-premium-btn.max .amw-btn-icon-wrap      { background: #321c98; }

.amw-btn-ic {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.amw-btn-label { flex: 1 1 auto; }

/* Стрелка справа */
.amw-btn-arrow {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .35s ease, transform .45s cubic-bezier(0.16,1,0.3,1);
}
.amw-btn-arrow svg { width: 100%; height: 100%; display: block; }

/* --- HOVER  --- */
.amw-premium-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}
.amw-premium-btn:hover::before { transform: scaleX(1); }

.amw-premium-btn.telegram:hover { box-shadow: 0 14px 30px -8px rgba(42,157,216,.55); border-color: transparent; }
.amw-premium-btn.max:hover      { box-shadow: 0 14px 30px -8px rgba(50,28,152,.55);  border-color: transparent; }

.amw-premium-btn:hover .amw-btn-icon-wrap {
    background: rgba(255,255,255,.2);
    transform: rotate(-8deg) scale(1.08);
}

/* стрелка выезжает */
.amw-premium-btn:hover .amw-btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ ЭЛЕМЕНТОВ ВНУТРИ ОКНА
   ========================================================================== */

.amw-modal-content .amw-modal-left > *,
.amw-modal-content .amw-modal-right > * {
    opacity: 0;
    transform: translateY(24px);
}

.amw-ru-active .amw-modal-icon {
    animation: modIconIn .7s cubic-bezier(0.16,1,0.3,1) .15s forwards,
               modpulse 4s ease-in-out 1s infinite;
}
@keyframes modIconIn {
    from { opacity: 0; transform: translateY(24px) scale(.9); }
    to   { opacity: 1; transform: translateY(0)    scale(1);  }
}
@keyframes modpulse {
    0%,100% { transform: translateY(0) scale(1); }
    50%     { transform: translateY(0) scale(1.06); }
}

.amw-ru-active .amw-modal-left  > *:not(.amw-modal-icon),
.amw-ru-active .amw-modal-right > * {
    animation: modReveal .7s cubic-bezier(0.16,1,0.3,1) forwards;
}

.amw-ru-active .amw-modal-left  > .amw-modal-telegram-block { animation-delay: .25s; }
.amw-ru-active .amw-modal-right > *:nth-child(1) { animation-delay: .30s; }
.amw-ru-active .amw-modal-right > *:nth-child(2) { animation-delay: .42s; }
.amw-ru-active .amw-modal-right > *:nth-child(3) { animation-delay: .54s; }

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

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1024px) {
    .amw-modal-left, .amw-modal-right { padding: 40px 30px; }
}
@media (max-width: 768px) {
    .amw-modal-content { flex-direction: column; }
    .amw-modal-left  { width: 100%; padding: 40px 25px; min-height: 180px; }
    .amw-modal-right { width: 100%; padding: 40px 25px; }
    .amw-premium-title-left  { font-size: 24px; }
    .amw-premium-title-right { font-size: 20px; }
    .amw-modal-icon { left: auto; top: 20px; right: 20px; width: 60px; height: 60px; }
}

/* footer */
[data-column="widget-area-1"] p {
    max-width: 330px;
    margin-top: 15px;
}

[data-column="widget-area-2"] ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-wrap-1,
.footer-contact-wrap-2 {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact-wrap-2 {
    margin-bottom: 0px;
}

.footer-contact-icon img {
    width: 24px;
    height: 24px;
    display: block;
    opacity: .5;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-contact-text a {
    text-decoration: none;
}

.footer-contact-text span {
    font-size: 0.9em;
    color: var(--theme-palette-color-7);
}