/* ===== UI26 consent checkbox ===== */
.ui26-consent {
  margin-bottom: 14px;
  user-select: none;
}
.text_form_p{
	color:#f57c00 !important;
	font-weight: 900 !important;
}
.ui26-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  line-height: 1.35; 
}

.ui26-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ui26-check__box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  margin-top: 2px;

  /* стекло/тёмная тема */
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
  position: relative;
}

.ui26-check__text {
  color: rgba(255,255,255,0.82);
}

/* hover */
.ui26-check:hover .ui26-check__box {
  border-color: rgba(245,124,0,0.45);
}

/* focus (клавиатура) */
.ui26-check input[type="checkbox"]:focus + .ui26-check__box {
  box-shadow: 0 0 0 3px rgba(245,124,0,0.20), 0 6px 18px rgba(0,0,0,0.25);
}

/* checked state */
.ui26-check input[type="checkbox"]:checked + .ui26-check__box {
  background: rgba(245,124,0,0.20);
  border-color: rgba(245,124,0,0.75);
}

/* галочка */
.ui26-check input[type="checkbox"]:checked + .ui26-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #F57C00;
  border-bottom: 2px solid #F57C00;
  transform: rotate(45deg);
}

/* error state */
.ui26-consent--error .ui26-check__box {
  border-color: rgba(255,70,70,0.85);
  box-shadow: 0 0 0 3px rgba(255,70,70,0.15), 0 6px 18px rgba(0,0,0,0.25);
}

.ui26-consent--error .ui26-check__text {
  color: rgba(255,170,170,0.95);
}
/* Видеоблок — обёртка как у изображений */
.block_video_case {
    width: 100%;
    margin: clamp(20px, 2vw, 30px) auto;
    background: linear-gradient(106deg, rgb(158 158 158 / 0%) 0%, rgb(189 189 189 / 5%) 60%, rgb(255 123 0 / 6%) 100%);
    overflow: hidden;
    backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow);
    border: 1px solid #2b2e36;
    position: relative;
    border-radius: 15px;
}

/* Сам iframe с видео — адаптивный */
.block_video_case iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}

/* Подпись под видео — как у изображений */
.block_video_case .title_video {
    display: block;
    padding: 20px;
    text-align: center;
    font-size: clamp(13px, 1.2vw, 18px);
    color: #828282;
    line-height: 1.3;
    font-family: "bold";
}
/* Тема для панели контактов */
.ui26 .ui26-panel-contacts {
    display: none;
    justify-content: center;
    gap: 12px;
    border-radius: 16px;
    /*position: fixed;*/
    bottom: calc(var(--button_size) / 2 - 12px);
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px 0 calc(12px + env(safe-area-inset-bottom));
}
.co_bg.ui26-panel-bg {
    background: #00000099;
    width: 100%;
    position: fixed;
    bottom: 0;
    backdrop-filter: blur(2px);
    height: 0;
}
/* Брендовые акценты иконок */
.ui26 .ui26-icon-phone:hover {
    background: rgba(0, 200, 0, 0.2);
}
.ui26 .ui26-icon-mail:hover {
    background: rgba(0, 123, 255, 0.2);
}
.ui26 .ui26-icon-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}
.ui26 .ui26-icon-telegram:hover {
    background: rgba(0, 136, 204, 0.2);
}

/* =========================
   Жидкое стекло для верхнего меню
   ========================= */

.ui26 .ui26-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ui26 .ui26-nav-inner {
    display: flex
;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin: 20px auto;
    padding: 15px 30px;
    border-radius: 20px;
    background: linear-gradient(19deg, #00000047, #06041600);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border: 2px solid #86868617;
    /* box-shadow: 0 0px 34px rgb(145 135 135 / 35%); */
    transition: transform 0.3s 
ease, background 0.3s 
ease;
    transition: 0.5s;
}
.social_img_h{
	transition: 0.5s;
}
img.social_img_h:hover {
   transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(245, 124, 0, 0.5));
}

/* Наведение на весь блок */
.ui26 .ui26-nav-inner:hover {
    backdrop-filter: blur(5px) saturate(160%);
    transform: scale(1.02);
    background: rgba(30, 40, 50, 0.45);
}
/* Список меню */
.ui26 .ui26-nav-list {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "medium";
}

/* Пункт меню */
.ui26 .ui26-nav-item {
    position: relative;
}

/* Ссылка */
.ui26 .ui26-nav-link {
    position: relative;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: clamp(14px, 1.9vw, 30px);
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Плашка при наведении на пункт */
.ui26 .ui26-nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.ui26 .ui26-nav-link:hover::before {
    opacity: 1;
}

.ui26 .ui26-nav-link:hover {
    color: #f57c00;
}
.block_sl {
    position: relative;
}
/* Разделитель */
.ui26 .ui26-nav-divider {
    display: inline-block;
    width: 2px;
    height: 70%;
    background: rgba(255, 255, 255, 0.25);
}

/* Блок контактов справа */
.ui26 .ui26-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ui26 .ui26-footer {
    background: rgba(20, 30, 40, 0.65);

    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form-container.section.glass {
    width: 950px;
	max-height: 90vh;
    overflow-y: scroll;
}
/* Иконки */
.ui26 .ui26-contacts-icons {
    display: flex;
    gap: 12px;
}
.ui26 .ui26-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--button_size);
    height: var(--button_size);
    border-radius: 50%;
    background: rgb(139 139 139 / 27%);
    backdrop-filter: blur(2px);
    transition: /*transform 0.2s ease,*/ background 0.3s ease;
}
.ui26 .ui26-icon-btn:hover {
    /*transform: scale(1.15);*/
    background: rgba(245, 124, 0, 0.25);
}

/* Телефон и email */
.ui26 .ui26-phone,
.ui26 .ui26-email {
    font-size: clamp(18px, 1.2vw, 20px);
    color: #fff;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}
.info.ui26-contacts-info {
    display: block;
    flex-wrap: wrap;
}
.ui26 .ui26-phone:hover,
.ui26 .ui26-email:hover {
    color: #f57c00;
}

/* Метка NEW */
.ui26 .ui26-badge {
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    color: #fff;
    background: rgba(245, 124, 0, 0.85);
    backdrop-filter: blur(6px);
}
/* Footer: Toast */
.ui26-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(10px);
    background: var(--ui26-surface-strong);
    border: 1px solid var(--ui26-stroke);
    padding: 10px 14px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: var(--ui26-z-toast);
    color: var(--ui26-text);
}
.ui26-toast.success {
    background: rgba(40, 160, 120);
    border-color: rgba(40, 160, 120, 0.45);
}
.ui26-toast.error {
    background: rgba(200, 60, 60);
    border-color: rgba(200, 60, 60, 0.52);
}
.ui26-toast.info {
    background: rgba(90, 120, 210);
    border-color: rgba(90, 120, 210, 0.46);
}
.ui26-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* Кнопка «Наверх» */
.ui26 .ui26-to-top {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 1500;
}
.ui26 .ui26-to-top:hover {
    background: rgba(245, 124, 0, 0.25);
    transform: scale(1.1);
}
.ui26 .ui26-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Cookie-баннер */
.ui26 .ui26-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgb(0 0 0 / 87%);
    color: #fff;
    font-size: clamp(12px, 16px, 16px);
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2500;
    cursor: pointer;
}
.ui26 .ui26-cookie-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.ui26 .ui26-cookie-text {
    flex: 1;
    font-size: clamp(12px, 1.2vw, 16px);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}
.ui26 .ui26-cookie-close {
    background: transparent;
    border: none;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    margin-left: 12px;
    transition: color 0.3s;
}
.ui26 .ui26-cookie-close:hover {
    color: #fff;
}

/* =========================
   Contacts footer (contacts_2025.php)
   ========================= */

.ui26 .ui26-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ui26 .ui26-footer-title {
    margin-bottom: 12px;
}
a.ui26-link.error {
    color: red;
}
.ui26 .ui26-footer-phone,
.ui26 .ui26-footer-mail {
    margin: 8px 0;
}

.ui26 .ui26-footer-phone a,
.ui26 .ui26-footer-mail a {
    color: var(--ui26-accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--ui26-accent);
    transition: color 0.3s, border-color 0.3s;
}
.ui26 .ui26-footer-links a {
    color: var(--ui26-accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--ui26-accent);
    font-size: clamp(14px, 20px, 20px);
    transition: color 0.3s, border-color 0.3s;
}

.ui26 .ui26-footer-phone a:hover,
.ui26 .ui26-footer-mail a:hover,
.ui26 .ui26-footer-links a:hover {
    color: #ddd;
    border-color: #ddd;
}

.ui26 .ui26-footer-social {
    margin: 16px 0;
    display: flex;
    gap: 14px;
}

.ui26 .ui26-social-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.2s, filter 0.3s;
}
.ui26 .ui26-social-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(245, 124, 0, 0.5));
}

.ui26 .ui26-footer-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.ui26 .ui26-icon-copy {
    width: 25px;
    height: 25px;
    margin-left: 6px;
    opacity: 0.6;
    transition: opacity 0.2s;
    cursor: pointer;
}
.ui26 .ui26-icon-copy:hover {
    opacity: 1;
}

.ui26 .ui26-input-hidden {
    position: absolute;
    left: -9999px;
}
/* ===== Hero block ===== */
.ui26 .ui26-hero {
    position: relative;
    min-height: 100%;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.ui26 .ui26-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Вуаль */
.ui26 .ui26-hero-veil-premium {
    position: absolute;
    inset: 0;
    /*background: radial-gradient(
            60% 40% at 30% 15%,
            rgba(10, 100, 140, 0.35),
            transparent 70%
        ),
        radial-gradient(
            60% 40% at 70% 20%,
            rgba(0, 120, 100, 0.28),
            transparent 70%
        ),
        rgba(0, 0, 0, 0.45);*/
    z-index: -1;
    opacity: 1;
}
.no_view_p{
	display:none;
}
.ui26 .ui26-hero-inner {
    position: relative;
    z-index: 2;
    width: clamp(90%, 90%, 1200px);
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 1px solid #494949;
    border-radius: 20px;
    background: #0000000f;
    transition: 0.5s;
}
.ui26-hero-inner:hover {
    backdrop-filter: blur(8px);
    transform: scale(1.01);
}

.ui26 .ui26-hero-cta {
    display: flex;
    gap: var(--gap_button);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.ui26 .ui26-hero-cta .ui26-btn-primary,
.ui26 .ui26-hero-cta .ui26-btn-secondary {
    min-width: 180px;
}

/* Свечение */
.ui26 .ui26-hero-glow {
    position: absolute;
    bottom: 0;
    width: 42%;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(245, 124, 0, 0.22),
        transparent 70%
    );
    filter: blur(60px);
    z-index: -1;
}
.ui26 .ui26-hero-glow.hero__glow--left {
    left: -10%;
}
.ui26 .ui26-hero-glow.hero__glow--right {
    right: -10%;
}
.z_cal {
	display:none;
}

/* Адаптив */
@media (max-width: 640px) {
    .ui26 .ui26-hero {
        /*min-height: calc(100dvh - var(--ui26-nav-h, 60px));*/
		 min-height: 100%;
    }
    .ui26 .ui26-card-glass {
        padding: clamp(16px, 5vw, 28px);
    }
    .ui26 .ui26-hero-cta {
        gap: 12px;
    }
	.case-wrapper {
		width: clamp(50%, 94%, 1366px) !important;
	}
	#story-text {
		  border-radius: 35px;
	}
	#story-modal-content {
        padding: 2vw !important;
    }
	.knowledge_block  {
		border: none !important;
		background: none !important;
		BOX-SHADOW: NONE !important;
		padding-block: 0 !important;
	}
     section#about {
        PADDING-BOTTOM: 3VW;
    }
	section#pricing{
		padding-bottom: 3vw;
	}
	.pricing__grid.ui26-grid-3, .pricing__grid.ui26-grid-4 {
		 gap: 3vw !important;
	}
	li.ben_bl {
		border-left: none !important;
		border-right: none !important;
		border-top: none !important;
		border-bottom: 2px solid #3e3e3e !important;
		list-style-type: none;
		border-radius: 0 !important;
		padding: 35px 30px;
		background: none !important;
		transition: 0.5s;
		box-shadow: none !important;
		backdrop-filter: none !important;
	}
	.ui26 .ui26-icon-copy {
		display:none !important;
	}
	section2 h2.ui26-h2 {
		margin: 0 4% !important;
	}
	section2 .par_case_2 {
        margin: 15px 4% 30px 4% !important;
    }
	.nav-btn, .nav-btn_home {
		font-size:  3vw !important;
	}
	.block_img_case .title_img, .slider-caption, .slide2-description,.title_video {
		padding: 15px !important;;
		font-size: clamp(14px, 1.2vw, 18px) !important;;
	}	
	
}
.ui26 .ui26-input {
    margin-top: 12px;
}
/* ===== Mobile menu ===== */
#menuDim {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9;
    width: 100%;
    height: 130%;
    background: #000000a1;
    backdrop-filter: blur(2px);
    display: none;
}
.button_menu_2025 {
    padding: 5vw 5vw var(--padding_button) var(--padding_button);
    right: 0;
    top: -12px;
    position: fixed;
    display: none;
    z-index: 999;
    margin-top: calc(12px + env(safe-area-inset-top));
}
#menuClose {
    position: absolute;
    top: var(--padding_button);
    right: var(--padding_button);
}
.ui26 .ui26-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    /* width: 80%; */
    width: 50%;
    height: 110%;
    background: rgb(22 28 35 / 74%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    transition: right 0.35s ease;
    z-index: 999999999999999;
    display: none;
    flex-direction: column;
    gap: 24px;
	padding-bottom: 10%;
	    overflow-y: scroll;
}
.ui26 .ui26-mobile-menu.active {
    display: flex;
}

.ui26 .ui26-menu-close {
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    position: absolute;
    top: 12px;
    right: 16px;
}

.ui26 .ui26-menu-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: calc(var(--padding_button) * 1);
    padding-top: calc(
        var(--padding_button) + var(--button_size) + var(--padding_button)
    );
    font-size: var(--ui26-h2_my);
	padding-bottom: calc(
        var(--padding_button) + var(--button_size) + var(--padding_button)
    );
}

.ui26 .ui26-menu-group {
	display: flex;
    flex-direction: column;
    gap: 0.4vh;
    border: 1px solid #333;
    background: #020c1e54;
    padding: 10px 15px;
    border-radius: 10px;
}
.dropdown-menu li a {
    border-radius: 14px;
}
.ui26 .ui26-link {
    text-decoration: none;
    transition: color 0.3s;
	
}
.ui26 .ui26-menu-group a{
	font-size: 24px;
	padding: 7px 10px;
}
.line_n_m {
    border-bottom: 1px solid #333;
}
.line_n_m_2 {
    border-top: 1px solid #333 !important;
}
.ui26 .ui26-link:hover {
    color: #f57c00;
}
h1.hero__title.ui26-heading-xl.ui26-h1 {
    margin-bottom: 20px;
}
.ui26 .ui26-badge {
    margin-left: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #f57c00;
    text-transform: uppercase;
}

.ui26 .ui26-menu-contacts {
    margin-top: auto;
    display: none;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

/* ===== ABOUT ME BLOCK ===== */
.ui26 .ui26-about {
    background: #0b0f15;
    padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 64px);
    color: #e9eef5;
}

.ui26 .ui26-about-wrap {
    /* max-width: 1600px; */
    margin: 0 auto;
    /*display: grid;*/
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}
@media (max-width: 1024px) {
    .ui26 .ui26-about-wrap {
        grid-template-columns: 1fr;
    }
    .ui26 .ui26-about-photo {
        order: -1;
    }
}
.ui26-about-photo {
    float: left;
    margin: 0 50px 50px 0;
	width: 40%;
}
.ui26 .ui26-about-photo img.ui26-img-rounded {
	width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.ui26 .ui26-about-text .ui26-heading-lg {
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}
.text_ab {
    margin-bottom: 20px !important;
}
.ui26 .ui26-about-text .ui26-text-md {
    margin: 0 0 36px;
    color: #c6ccd5;
    max-width: 700px;
}

/* Факты */
.ui26 .ui26-about-facts {
    display: grid;
    margin-top: clamp(20px, 20px, 30px);
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.6vw, 40px);
}
@media (max-width: 1100px) {
    /*.ui26 .ui26-about-facts{ grid-template-columns: repeat(2, 1fr); }*/
}
@media (max-width: 640px) {
    .ui26 .ui26-about-facts {
        grid-template-columns: 1fr;
    }
	.case-overlay {
        width: 100% !important;
        border-radius: 15px 15px 0 0 !important;
        right: 0px !important;
        border: 0 !important;
		left: 0 !important;
		top: 0!important;
    }
}

.ui26 .ui26-fact {
    position: relative;
    padding: clamp(22px, 2.8vw, 32px);
    text-align: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.ui26 .ui26-fact:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7), 0 0 22px rgba(245, 124, 0, 0.4);
}

.ui26 .ui26-fact-ring {
    position: absolute;
    inset: 10px;
    border-radius: calc(22px - 10px);
    pointer-events: none;
    background: conic-gradient(
        from 120deg,
        rgba(255, 255, 255, 0.22),
        rgba(255, 255, 255, 0) 25%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0) 75%,
        rgba(255, 255, 255, 0.22)
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    opacity: 0.35;
    transition: opacity 0.25s ease;
}
.ui26 .ui26-fact:hover .ui26-fact-ring {
    opacity: 0.6;
}

.ui26 .ui26-fact-num {
    display: block;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #ffffff, #e6ebf3 40%, #cfd6e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 24px rgba(255, 255, 255, 0.06);
}

.ui26 .ui26-fact-label {
    display: block;
    font-size: clamp(14px, 1.3vw, 18px);
    color: #c6ccd5;
    line-height: 1.5;
}
/* ===== BENEFITS ===== */
.color_1 {
    background: var(--ui26-surface);
    /*padding:clamp(30px,3vw,40px) clamp(20px,5vw,64px);*/
}
.color_2 {
}
.ui26 .ui26-benefits-head {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 56px);
}
.ui26 .ui26-benefits-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    gap: clamp(15px, 2vw, 28px);
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1366px) {
    .ui26 .ui26-benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 1100px) {
    .ui26 .ui26-benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 680px) {
    .ui26 .ui26-benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

.ui26 .ui26-badge {
    display: none;
}

.ui26 .ui26-benefit-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
    opacity: 0.85;
    margin-bottom: 12px;
}

.ui26 .ui26-benefits-cta {
    margin-top: clamp(24px, 4vw, 48px) !important;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.ui26 .ui26-benefits-cta .ui26-btn-primary,
.ui26 .ui26-benefits-cta .ui26-btn-secondary {
    min-width: 180px;
}

/* ==============================
   PORTFOLIO SLIDER (старые классы + ui26)
   ============================== */

.grecaptcha-badge {
    display: none;
}

/* Фото */
.img_sl,
.ui26-slider-img {
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}
/*.img_sl:hover {
  transform: scale(1.05);
  filter: brightness(1.08) saturate(1.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.65);
}*/

/* Подписи к фото */
.desc_photo_slider,
.ui26-slider-caption {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 15px;
    padding: 15px 20px;
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0.65),
        rgba(12, 16, 20, 0.8)
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);*/
    color: #e9eef5;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    opacity: 1;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.block_sl:hover .desc_photo_slider,
.ui26-slider-card:hover .ui26-slider-caption {
    opacity: 1 !important;
}

important_case_modify {
    padding-top: clamp(20px, 3.4vw, 36px);
    margin-bottom: 0px !important;
    margin-top: 40px;
}
important_case_modify p {
    margin-bottom: 0 !important;
}
important_case_modify p.par_case_modify {
    margin-block: clamp(30px, 3vw, 40px) !important;
}

important_case_modify {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    position: relative;
    background: radial-gradient(
            600px 280px at 50% -40px,
            rgba(245, 124, 0, 0.22),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.03)
        );
    border: 1px solid rgba(245, 124, 0, 0.35);
}
.head_page_2026 {
    font-size: var(--ui26-h1);
    font-weight: 700;
    margin: 180px 0 20px 0;
    line-height: 1.2;
}
/* Кнопки стрелок */
.str_left_main,
.str_right_main,
.ui26-slider-prev,
.ui26-slider-next {
    position: absolute;
    top: calc(50% - 25px);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* backdrop-filter: blur(10px); */
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 5;
    transition: transform 0.25s ease, background 0.25s ease;
}
.str_left_main:hover,
.str_right_main:hover,
.ui26-slider-prev:hover,
.ui26-slider-next:hover {
}
.str_left_main,
.ui26-slider-prev {
    left: 16px;
}
.str_right_main,
.ui26-slider-next {
    right: 16px;
}
.bl_ph {
    display: grid;
    gap: 10px;
}
/* Кнопка скрытия фото */
.button_hide_photo,
.ui26-slider-hide {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.block_sl:hover .button_hide_photo,
.ui26-slider-card:hover .ui26-slider-hide {
    opacity: 1;
}

/* Кнопка «смотреть все» */
.button_all_po,
.ui26-slider-all {
    text-align: center;
    margin-top: 18px;
}

/* ==============================
   PHOTO RAIL — LIQUID GLASS STRIP
   ============================== */

.ui26-photo-rail {
    background: var(--bg);
    padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 40px);
    color: var(--text);
}

.ui26-photo-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(12px, 2.2vw, 18px);
    flex-wrap: wrap;
}

.ui26-photo-rail-actions {
    display: flex;
    align-items: center;
    gap: 10px 16px;
    flex-wrap: wrap;
}

.ui26-photo-rail-nav {
    display: flex;
    gap: 8px;
}

.ui26-btn-icon {
    height: 42px;
    width: 42px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-bd);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.02)
    );
    color: var(--text);
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}
.ui26-btn-icon:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* ===== ГАЛЕРЕЯ ===== */
.ui26-photo-rail-viewport {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    border-radius: var(--radius-xl);
    padding-bottom: 4px;
}

.ui26-photo-rail-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 38vw);
    gap: clamp(10px, 1.6vw, 18px);
    list-style: none;
    margin: 0;
    padding: clamp(6px, 1vw, 10px);
}

/* ===== КАРТОЧКА ===== */
.photo-card.ui26-card-glass {
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.photo-card.ui26-card-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.photo-card__img {
    display: block;
    width: 100%;
    height: clamp(220px, 34vw, 440px);
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05) brightness(0.95);
    transition: transform 0.35s ease, filter 0.35s ease;
}
.photo-card__link:hover .photo-card__img {
    transform: scale(1.04);
    filter: brightness(1.02);
}

.ui26-card-overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--glass), rgba(16, 20, 26, 0.6));
    border: 1px solid var(--glass-bd);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pack_case {
    font-size: clamp(20px, 2vw, 30px);
    color: #0056ffad;
    margin-top: 10px;
}
/* ===== CTA ПОД ЛЕНТОЙ ===== */
.ui26-photo-rail-cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(14px, 2.6vw, 28px);
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 700px) {
    .ui26-photo-rail-track {
        grid-auto-columns: 82vw;
    }
    .ui26-photo-rail-actions {
        width: 100%;
        justify-content: space-between;
    }
}
/* Логотип клиента внутри карточки */
.ui26-client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #44444447;
}
.clients__strip.ui26-grid-6 {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}
.ui26-client-logo img {
    max-height: 28px;
    width: auto;
    filter: grayscale(100%) contrast(120%) brightness(110%);
    opacity: 0.9;
} /* Бейдж для акцента */
 

/* Цена */
.ui26-price {
    font-weight: 900;
    font-size: clamp(16px, 1.6vw, 20px);
    color: #ffe1c8;
}

/* Список с точками */
.ui26-list-dotted {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.ui26-list-dotted li {
    position: relative;
    padding-left: 22px;
}

/* Список в строку */
.ui26-list-inline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ui26-list-inline li {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    color: #e9eef5;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
}
/* ========== TOKENS ========== */
:root {
    --bg: #0b0f15;
    --text: #e9eef5;
    --muted: #b6c0ce;
    --accent: #f57c00;

    --glass: rgba(18, 22, 28, 0.55);
    --bd: rgba(255, 255, 255, 0.16);
    --ol: rgba(255, 255, 255, 0.06);

    --r-lg: 22px;
    --shadow-xl: 0 28px 80px rgba(0, 0, 0, 0.65);
}

/* ========== SECTION BASE ========== */
.pricing.ui26-section {
    background: var(--bg);
    color: var(--text);
    padding: clamp(32px, 6vw, 80px) clamp(20px, 5vw, 64px);
}

.pricing__head.ui26-text-center {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto clamp(22px, 3vw, 36px);
}

.pricing__title.ui26-heading-xl {
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(24px, 3.4vw, 38px);
}

.pricing__lead.ui26-text-md {
    margin: 0;
    color: var(--muted);
    font-size: clamp(14px, 1.3vw, 18px);
}

/* ========== GRID ========== */
.pricing__grid.ui26-grid-3, .pricing__grid.ui26-grid-4 {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    gap: clamp(16px, 2vw, 24px);

}
/*@media (min-width: 1400px) {
  .pricing__grid.ui26-grid-3 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
  .pricing__grid.ui26-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .pricing__grid.ui26-grid-3 { grid-template-columns: 1fr; }
}*/

/* ========== PLAN CARD ========== */
.plan.ui26-card-glass {
    padding-top: 50px;
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--glass), rgba(10, 14, 18, 0.78));
    border: 1px solid var(--bd);
    outline: 1px solid var(--ol);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: var(--shadow-xl);
    padding: clamp(18px, 2.4vw, 26px);
    transition: transform 0.22s ease, box-shadow 0.22s ease,
        border-color 0.22s ease;
    display: flex;
    flex-direction: column; /* кнопки прижаты вниз */
    padding-top: clamp(36px, 4.8vw, 53px);
}
.plan.ui26-card-glass:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 34px 96px rgba(0, 0, 0, 0.7), 0 0 18px rgba(245, 124, 0, 0.35);
}

/* рекомендованный */
.plan--pro {
    border-color: color-mix(in oklab, var(--accent), white 35%);
}
.plan--pro::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(
        120% 80% at 50% -10%,
        rgba(255, 255, 255, 0.14),
        transparent 60%
    );
}

/* бейдж */
.ui26-badge-accent {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 10px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 12px;
    color: #111;
    background: linear-gradient(111deg, #8e8e8e, #a8a8a8 60%, #bababa);
    border: 0px solid color-mix(in oklab, var(--accent), black 24%);
    box-shadow: 0 10px 24px rgb(193 193 193 / 45%), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    opacity: 0;
    transform: translateY(-6px);
    animation: planBadgeIn 0.6s ease-out 0.15s forwards;
}
@keyframes planBadgeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* заголовок + цена */
.plan__hdr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.plan__name.ui26-heading-md {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.1;
    font-size: clamp(18px, 1.8vw, 22px);
    background: linear-gradient(180deg, #fff, #e1e4e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ui26-price {
    font-weight: 900;
    font-size: clamp(16px, 2.6vw, 25px);
    color: var(--ui26-accent_2);
    width: 100%;
}

/* подзаголовок */
.plan__note.ui26-text-sm {
    margin: 4px 0 10px;
    /* font-size: clamp(13px, 13px, 29px); */
    color: var(--muted);
    opacity: 0.9;
    font-family: "bold";
    color: #6d6d6d;
}

/* intro */
.plan__intro.ui26-text-md {
    margin: 17px 0 12px;
    line-height: 1.5;
    font-size: clamp(14px, 1.25vw, 16px);
    flex-shrink: 0;
    font-family: "semibold";
    color: #b5b5b5;
}
.link_w {
    padding: 15px 0 40px 0;
}
/* features */
.plan__feat.ui26-list-dotted {
    list-style: none;
    margin: 10px 0 00px 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: clamp(14px, 1.2vw, 16px);
    color: #d5dbe5;
    flex-shrink: 0;
}
.plan__feat.ui26-list-dotted li {
    position: relative;
    padding-left: 22px;
}
/* CTA */
.plan__cta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap_button);
}

/* ========== BUTTONS ========== */
.ui26-btn-primary,
.ui26-btn-secondary {
    padding: 10px clamp(16px, 2vw, 24px);
    font-size: clamp(14px, 2vw, 20px);
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: transform 0.18s ease, filter 0.18s ease;
}
.ui26-btn-primary:hover,
.ui26-btn-secondary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* primary */
.ui26-btn-primary {
    color: #111;
    background: linear-gradient(
        180deg,
        color-mix(in oklab, var(--accent), white 12%),
        var(--accent) 60%,
        color-mix(in oklab, var(--accent), black 18%)
    );
    border-color: color-mix(in oklab, var(--accent), black 26%);
    box-shadow: 0 14px 36px rgba(245, 124, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* secondary (ghost) */
.ui26-btn-secondary {
    color: var(--text);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ========== ADDONS ========== */
.pricing__addons.ui26-card-glass {
    max-width: 1600px;
    margin: 24px auto;
    padding: 20px 30px;
    border: 2px solid #283038;
    border-radius: 20px;
    background: #0b0f15;
}

.addons.ui26-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.addons__title.ui26-heading-sm {
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    white-space: nowrap;
}

.addons__list.ui26-list-inline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.addons__list.ui26-list-inline li {
    padding: 9px 17px;
    border-radius: 12px;
    font-size: 15px;
    font-family: "bold";
    color: #aaa;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.pricing__note.ui26-text-sm {
    margin: 10px 2px 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}
/* ===== MODAL WINDOW (LIQUID GLASS) ===== */
.ui26-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.ui26-modal--hidden {
    display: none;
}
.ui26-modal--visible {
    display: flex;
}

/* overlay */
.ui26-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* контент */
.ui26-modal__content {
    position: relative;
    z-index: 1;
    width: min(640px, 92vw);
    padding: clamp(20px, 4vw, 40px);
    border-radius: 20px;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* кнопка закрытия */
.ui26-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}
.z_1.ui26-h2 {
    margin-bottom: 0px;
}
.z_2.ui26-h3 {
    margin-top: -7px;
}
.block_z {
    width: 90%;
    margin: 0px auto;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    /* border-bottom: 2px solid #365661; */
    padding: clamp(14px, 3vw, 36px) clamp(16px, 4vw, 48px);
    /* background: #00000026; */
    justify-content: space-between;
    align-items: center;
}
.dt {
    display: none;
}
.dop_t.ui26-small {
    margin-top: 10px;
    color: #818181c7;
    font-family: "bold";
    font-size: 18px;
	display:none;
}
.block_photo {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 1;
    z-index: 99999;
}
.bg_photo_2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    background: #1e1e1e;
    z-index: 9997;
    display: none;
}
.load_img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    /* background: #000; */
    display: none;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    z-index: 99999;
}
.load_img img {
    width: 50px;
}
.otm_load {
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    bottom: 50px;
    font-family: "medium";
    font-size: 20px;
    color: #ddd;
}
.close_slider {
    display: block;
    position: absolute;
    border-radius: 10px;
    background-repeat: no-repeat;
    width: 110px;
    height: 110px;
    opacity: 0.5;
    right: var(--padding_button);
    top: var(--padding_button);

    background-position: center center;
    z-index: 9999999;
}
.dop_block_ {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	width: 100%;
}
.download_photo {
    display: block;
    position: absolute;
    left: var(--padding_button);
    top: var(--padding_button);
    width: 110px;
    height: 110px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    opacity: 0.5;
}
.full_open,
.full_close {
    left: var(--padding_button);
    top: var(--padding_button);
    background-position: center center;
    height: 90px !important;
    display: none !important;
}
.str_left,
.str_right {
    display: none;
    position: absolute;
    border-radius: 10px;
    background-repeat: no-repeat;
    opacity: 0.5;
    padding: var(--padding_button);
    /*width: 30%;
    height: 100%;
    top: 0;*/
    width: 100px;
    height: 100px;
    top: calc(50% - 50px);
    align-items: center;
}
.img_img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    cursor: zoom-out;
    border-radius: 0px;
}
.str_right {
    right: 0px;
    justify-content: flex-end;
}
.str_left {
    left: 0px;
    justify-content: flex-start;
}
.str_left:hover,
.str_right:hover,
.close_slider:hover,
.full_open:hover,
.full_close:hover {
    opacity: 0.5 !important;
    transition: 1s;
    cursor: pointer;
}
:root {
    --pf-bg: #0f1014;
    --pf-text: #ecedf1;
    --pf-muted: #a8afbb;
    --pf-accent: #f57c00;
    --pf-border: rgba(255, 255, 255, 0.1);
    --pf-glass: rgba(20, 22, 27, 0.55);
    --pf-blur: 8px;
    --pf-wrap: max(72%, 980px);
    --pf-radius: 16px;
    --pf-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
    --pf-h1: clamp(34px, 4.8vw, 56px);
    --pf-h2: clamp(24px, 3.2vw, 36px);
    --pf-base: clamp(16px, 1.4vw, 18px);
    --pf-small: clamp(13px, 1.2vw, 15px);
}
/*.pf{padding:28px 0 80px; color:var(--pf-text);}*/
.pf-wrap {
    width: var(--pf-wrap);
    margin: 0 auto;
}
.pf-glass {
    background: var(--pf-glass);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    backdrop-filter: blur(var(--pf-blur));
    -webkit-backdrop-filter: blur(var(--pf-blur));
    box-shadow: var(--pf-shadow);
}

.pf-h1 {
    font-size: var(--pf-h1);
    margin: 0;
}
.pf-h2 {
    font-size: var(--ui26-h3);
    margin: 0;
}
.pf-lead {
    color: var(--pf-muted);
    margin: 0.6rem 0 0;
}
.pf-sub {
    color: var(--pf-muted);
    margin: -10px 0 25px 0;
}
.pf-head {
    margin: 0 0 12px;
}

.pf-intro {
    padding: 22px;
    margin: 18px auto 26px;
}
.pf-section {
    margin: 38px 0 24px;
    border: 1px solid #2e323e;
    border-radius: 15px;
    background: #1c1c1c;
    padding: 30px;
    transition: 1s;
}
.pf-section:hover {
    border: 1px solid #52555f;
    border-radius: 15px;
    background: #222;
}
/* герои */
.pf-hero {
    overflow: hidden;
}
.pf-hero__link {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.pf-hero__link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}
.pf-hero__link:hover img {
    transform: scale(1.05);
}

.pf-hero__eyebrow {
    font-size: var(--pf-small);
    opacity: 0.9;
    display: none;
}
.pf-hero__title {
    margin: 0.2rem 0 0;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
}
.pf-hero__sub {
    margin: 0.2rem 0 0;
    color: var(--pf-muted);
    display: none;
}

/* подзаголовки перед категориями */
.pf-cats-head {
    margin: 14px 2px 8px;
}
.pf-cats-eyebrow {
    font-size: var(--pf-small);
    opacity: 0.95;
    color: var(--pf-text);
    margin: 30px 0 15px !important;
}
.pf-cats-note {
    font-size: var(--pf-small);
    color: var(--pf-muted);
    margin-top: 4px;
    display: none;
}

/* гриды */
.pf-grid {
    display: grid;
    gap: 10px;
}
.pf-grid--industrial {
    grid-template-columns: repeat(5, 1fr);
}
.pf-grid--rail {
    grid-template-columns: repeat(5, 1fr);
}
.pf-grid--small {
    grid-template-columns: repeat(3, 1fr);
}
.pf-grid--cases {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1280px) {
    .pf-grid--industrial,
    .pf-grid--rail,
    .pf-grid--small,
    .pf-grid--cases {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 800px) {
    .pf-grid--small {
        grid-template-columns: repeat(1, 1fr);
    }
	.case-card { 
		background-size: cover !important;
		background-position: center !important;
	}
    
}
@media (max-width: 640px) {
    .pf-grid--small {
        grid-template-columns: repeat(1, 1fr);
    }
    .button_menu_2025 {
        padding: var(--padding_button);
    }
    
}

    
@media (max-width: 560px) {
    .pf-grid--industrial,
    .pf-grid--rail,
    .pf-grid--small,
    .pf-grid--cases {
        grid-template-columns: 1fr;
    }
}

.pf-case__title.ui26-h2 {
    margin: 2px 0 !important;
}
/* карточки */
.pf-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    opacity: 1;
}
.pf-card:hover {
    opacity: 0.8;
}
.pf-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2;
    transition: transform 0.5s ease;
}
.pf-card:hover img {
    transform: scale(1.05);
}
.pf-card__meta {
    position: absolute;
    left: 0px;
    height: 50%;
    display: flex;
    right: 0px;
    top: 0px;
    background: linear-gradient(0deg, rgb(0 0 0 / 0%) 0%, rgb(26 50 85) 90%);
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
    /* border: 1px solid rgba(255, 255, 255, .12); */
    align-items: flex-start;
    line-height: 1.6;
}
.pf-card__title {
    margin: 4px 0 0;
    font-size: 16px;
}

/* мини-карточки «Другие» */
.pf-minicard {
    position: relative; 
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;  
}
.pf-minicard img {
    width: 100%;
    display: block;
    aspect-ratio: 3/2;
	transition: 0.5s;
}
.pf-minicard__meta {
    position: absolute;
    /* left: 10px; */
    /* right: 10px; */
    width: 80%;
    text-align: center;
    /* top: 10px; */
    height: 50%;
    display: flex;
    background: rgb(0 0 0 / 32%);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    font-size: 22px;
    line-height: 1.3;
    border: 1px solid rgba(255, 255, 255, 0.12);
    align-content: center;
    align-items: center;
    color: #fff;
    justify-content: center;
	transition: 0.5s;
}
.pf-minicard:hover .pf-minicard__meta {
    transform: scale(1.1); /* увеличиваем */
    color: #fff;
    backdrop-filter: blur(8px);
}
.pf-minicard:hover img {
    transform: scale(1.05); /* увеличиваем */
	filter: blur(4px) !important;
}

.pf-note {
    font-size: var(--pf-small);
    color: var(--pf-muted);
}

/* кейсы */
.pf-case {
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid var(--pf-border);
    background: #2c2c2c;
}
.pf-case img {
    width: 100%;
    display: block;
    aspect-ratio: 16/10;
    transition: transform 0.5s ease;
}
.pf-case:hover img {
    transform: scale(1.05);
}
.pf-case:hover {
    color: #fff !important;
}
.pf-case__info {
    padding: 12px;
}
.pf-case__title {
    margin: 0 0 6px;
    font-weight: 700;
    line-height: 1.3;
}
.pf-case__desc {
    margin: 5px 0 10px 0px;
    color: var(--pf-muted);
    font-size: var(--pf-small);
    line-height: 1.3;
}

/* кнопки */
.pf-actions {
    text-align: center;
    margin: 18px 0 0;
}
.pf-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
    background: var(--pf-accent);
    color: #0f1116;
    margin: 10px 0 20px 0;
}
.pf-btn:hover {
    opacity: 0.9;
}
.pf-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pf-text);
    border: 1px solid var(--pf-border);
}

/* CTA */
.pf-cta {
    margin: 40px 0;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}
.pf-cta h3 {
    margin: 0;
}
.pf-cta p {
    margin: 0.5rem 0 0;
    color: var(--pf-muted);
}
.pf-cta__actions {
    display: flex;
    gap: 12px;
}
@media (max-width: 720px) {
    .pf-cta {
        grid-template-columns: 1fr;
    }
    .pf-cta__actions { 
        justify-content: flex-start;
    }
}
.cases_h {
}
.list_galery_main_2024 {
    padding-inline: 0 !important;
}
.head_g {
    margin: 15px 0 20px 4% !important;
    font-size: var(--ui26-h2);
}
.pf-hero__inner {
    position: relative;
    display: flex;
    align-items: center; /* центр по вертикали */
    justify-content: flex-start; /* слева */
    overflow: hidden;
}

.pf-hero__img {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.pf-hero__overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.pf-hero__title {
    color: #fff;
    font-size: 53px;
    margin: 0;
    backdrop-filter: blur(3px);
    padding: 30px;
    border-radius: 20px;
    border: 0px solid #404040;
    text-align: center;
    line-height: 1.3;
    background: #00000029;
    transition: 0.5s;
}
.pf-hero__title {
    transition: transform 0.5s ease, color 0.5s ease;
    transform: scale(1);
}

.pf-hero__inner:hover .pf-hero__title {
    transform: scale(1.1); /* увеличиваем */
    color: #fff;
    backdrop-filter: blur(8px);
}

.pf-hero__inner:hover .pf-hero__img {
    filter: blur(1px);
}
#railway .pf-glass {
    border: 2px solid #4d75a9;
}
.f_case_main {
    width: clamp(90%, 90%, 1366px);
    margin: 0 auto;
    /* border: 1px solid #333; */
    border-radius: 20px;
}
.b_v_c {
    display: flex;
    gap: var(--gap_button);
    justify-content: center;
    align-items: center;
}
.button_all_po {
    display: none;
}

li.style_li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        #fff,
        #ffd9b0 45%,
        #f57c00 60%,
        #8c3c00
    );
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
li.style_li_2::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c26e3b;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
li {
    position: relative;
    list-style-type: none;
}
li.ben_bl {
    border: 2px solid #232323;
    list-style-type: none;
    border-radius: 15px;
    padding: 35px 30px;
    background: #131c1f87;
    transition: 0.5s;
}
.benefit__title {
    color: var(--ui26-accent_2);
    line-height: 1.15;
    margin: 0 0 20px 0 !important;
}
.ben_bl:hover {
    transform: scale(1.05);
}
#form-overlay,#form-overlay_calc {
    width: 100%;
    height: calc(100% + env(safe-area-inset-top));
    position: fixed;
    background: #131313d4;
    left: 0;
    backdrop-filter: blur(6px);
    top: 120%;
    z-index: 99999999999999;
    display: flex;
    transition: 0.5s;
    justify-content: center;
    align-items: center;
}

body.no-scroll {
    overflow: hidden;
}
.active {
    top: 0 !important;
    display: flex !important;
}
p.benefit__desc.ui26-h3 {
    font-size: clamp(16px, 1.2vw, 21px);
}
.close-btn {
    position: absolute;
    top: var(--padding_button);
    right: var(--padding_button);
    z-index: 9;
}
/* ===== KNOWLEDGE BASE (LIQUID GLASS STYLE) ===== */
.kb {
    color: #e9eef5;
}
.kb__head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto clamp(24px, 3vw, 40px);
}
.kb__title {
    font-size: clamp(24px, 3.4vw, 38px);
    font-weight: 900;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.kb__lead {
    font-size: clamp(15px, 1.4vw, 18px);
    color: #b6c0ce;
    margin: 0;
}

/* сетка карточек */
.kb__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px);
    max-width: 1600px;
    margin: 0 auto;
}
@media (max-width: 1100px) {
    .kb__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .kb__grid {
        grid-template-columns: 1fr;
    }
}

/* карточка */
.kb__card {
    background: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0.55),
        rgba(10, 14, 18, 0.75)
    );
    border: 1px solid rgba(255, 255, 255, 0.16);
    outline: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.kb__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7), 0 0 18px rgba(245, 124, 0, 0.35);
}
.kb__link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* изображение */
.kb__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05) brightness(0.95);
    transition: transform 0.35s ease, filter 0.35s ease;
}
.kb__card:hover .kb__img {
    transform: scale(1.05);
    filter: brightness(1.05) saturate(1.1);
}

/* тело карточки */
.kb__body {
    padding: clamp(16px, 2vw, 24px);
}
.kb__card-title {
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #fff, #e1e4e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.kb__desc {
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.5;
    color: #c6ccd5;
    margin: 0;
}
.section__head_2 {
    display: flex;
    align-items: center;
    margin: 15px 0 30px 0 !important;
    justify-content: space-between;
}
/* CTA */
.kb__cta {
    margin-top: clamp(28px, 4vw, 40px);
    text-align: center;
}
.btn.btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(20px, 2vw, 32px);
    height: clamp(46px, 5vw, 54px);
    border-radius: 18px;
    font-weight: 800;
    font-size: clamp(15px, 1.4vw, 17px);
    text-decoration: none;
    color: #111;
    background: linear-gradient(180deg, #ffa24b, #f57c00 60%, #c85d00);
    border: 1px solid color-mix(in oklab, var(--accent, #f57c00), black 20%);
    box-shadow: 0 14px 36px rgba(245, 124, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.btn.btn--primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}
.section__head {
    display: flex;
    align-items: center;
    margin: 30px 0 16px 0 !important;
    justify-content: space-between;
}
.none {
    display: none;
}

.submit_button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn_text {
    position: relative; 
    z-index: 2;
}

/* Прогресс внутри кнопки — яркий градиент */
.btn_progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: red; /* вместо градиента задаём начальный цвет */
    z-index: 1;
    transform-origin: left;
    transition: background-color 0.2s linear; /* плавное изменение цвета */
	border-radius: 13px;
}
button.submit_button.ui26-btn-primary {
    position: relative;
}

.h_1_f {
    margin-bottom: -5px !important;
}
.h_2_f {
    margin-bottom: 12px !important;
}
.z_1.ui26-h1 {
    margin-bottom: 0;
}
.ui26-benefits,
.pricing_block {
    /*width: 80%; 
    margin-block: clamp(4vw, 3vw, 40px);*/
}
li.style_li {
    margin: 2px 0;
}
.cta-block.important_case_modify.glass.section {
    padding-block: clamp(40px, 6vw, 80px);
    padding-inline: clamp(20px, 5vw, 64px);
    margin: 0 auto;
    width: clamp(94%, 94%, 1600px);
    max-width: 1600px;
    text-align: center;
    margin-block: clamp(20px, 3vw, 40px);
}
.ui26-cases  .important_case_modify,.cta_index  .important_case_modify{
    width: clamp(100%, 100%, 1600px) !important;
} 
@media (min-width: 1600px) {
	section#about, section#pricing, section#benefits,section#knowledge {
		padding-inline: 10%;
	}
}
section#about .block_z, section#pricing .block_z, section#benefits .block_z, section#knowledge .block_z {
    width: 100%;
}
.about__text .ui26-h2 {
    margin-bottom: clamp(15px, 15px, 20px);
    margin-top: 10px;
	line-height: 1.2;
}
.cta_index {
    margin: 0 auto;
    width: clamp(50%, 94%, 1600px);
}
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}
.article-card {
    position: relative;
    display: block;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.28s ease;
    text-decoration: none;
    color: inherit;
}
.article-card:hover {
    transform: translateY(-2px);
}

/* Рамка + лёгкое свечение */
.article-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 1;
}

/* Фоновое изображение (чёткое) */
.article-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    transition: transform 0.6s ease, filter 0.6s ease;
    z-index: 0;
}
.article-card:hover .article-image {
    transform: scale(1.035);
    filter: brightness(0.9);
}

/* Плашка с текстом внизу (жидкое стекло) */
.article-content {
    position: absolute;
   /* left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
    border-radius: 12px;*/
	left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px 25px 16px;
    border-radius: 0 0 15px 15px;
    background: rgba(18, 18, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    z-index: 2;
    transition: background 0.28s ease, backdrop-filter 0.28s ease,
        -webkit-backdrop-filter 0.28s ease;
}
.article-card:hover .article-content {
    background: rgba(18, 18, 20, 0.34);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Типографика заголовка/описания статьи */
.article-title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
    /*text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);*/
}
.article-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #ededed;
    /*text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* фиксированная высота, без «расползаний» */
    overflow: hidden;
}

/* Анимация появления карточек */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section#knowledge {
    /*width: 80%;
    margin-block: clamp(20px, 3vw, 40px);
    margin-inline: auto;*/
}
.case-subtitle_cta.ui26-h1 {
    margin-bottom: 20px !important;
}
.info_my.ui26-footer-info {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

/* =================== HERO =================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    will-change: transform;
    filter: contrast(1.06) saturate(1.04) blur(1px);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(99 99 99 / 21%), rgb(0 0 0 / 10%));
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__card,
.hero__card_2 {
    width: clamp(90%, 90%, 1200px);
    max-width: 1600px;
    padding: clamp(28px, 4.2vw, 56px);
    border: 1px solid var(--glass-br);
    border-radius: clamp(16px, 2vw, 24px);
    backdrop-filter: blur(3px);
    box-shadow: var(--shadow);
    text-align: center;
    transform: translateY(12px);
    opacity: 1;
    transition: 0.8s;
    background: linear-gradient(
        191deg,
        rgb(0 0 0 / 16%),
        rgb(47 47 47 / 17%),
        rgb(0 0 0 / 9%)
    );
}
.hero__card:hover,
.hero__card_2:hover {
    backdrop-filter: blur(6px);
}
.none_cat {
    display: none;
}
.hero__title {
    font-size: var(--fs-h1);
    line-height: 1.08;
    margin: 0.1em 0 0.25em;
    font-weight: 500;
    font-family: "medium";
}

.hero__lead {
    color: #e0e0e0;
    margin: 1em 5%;
    line-height: 1.4;
    text-shadow: 0 0 19px black;
}
#story-text .case-wrapper .head_page_2026 {
    /*padding: 30px 8%;
    font-size: clamp(30px, 6vw, 45px);
    line-height: 1.25;
    border-radius: 20px;
    border: 1px solid #383838;
    background: radial-gradient(
            1100px 460px at 50% -12%,
            rgb(255 129 0 / 18%),
            transparent 60%
        ),
        linear-gradient(180deg, #2828281f, #1d1e1f);*/
}

.case-wrapper {
    margin: 0 auto;
    padding-top: var(--space-xl);
    width: clamp(50%, 90%, 1366px);
}
.case-subtitle {
    font-size: clamp(30px, 3vw, 36px);
    font-weight: 600;
    margin: 0 0 20px;
    font-family: "regular";
    color: #fff;
    line-height: 1.3;
    /* border-left: 4px solid #eee; */
    padding: 0 8%;
    border-color: #27ae60; /* зелёный акцент */
    margin-bottom: clamp(25px, 3vh, 25px);
    margin-top: clamp(40px, 3vh, 75px);
}
p.par_case {
    max-width: var(--wrap-text);
    margin: 0 4%;
    font-size: clamp(18px, 2vw, 24px); /* увеличено */
    line-height: 1.45;
    color: rgb(212 215 220);
    text-wrap: pretty;
    margin-block: clamp(30px, 3vw, 40px);
}

.case-slider {
    overflow: hidden;
    /* max-width: var(--wrap-text);
	
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.45;
    color: rgba(185, 189, 196, 0.72);
    text-wrap: pretty;
    margin-block: clamp(30px, 3vw, 40px);*/
}
.block_img_case,
.case-slider,
.slide2-wrapper {
    border: 1px solid #2b2e36;
    position: relative;
    border-radius: 15px;
}
.fullscreen-close {
    position: absolute;
    top: var(--padding_button);
    right: var(--padding_button);
}
.case-slider .slider-track {
    display: flex;
    will-change: transform;
    align-content: center;
    align-items: center;
}

.case-slider .slide img {
    display: block;
    width: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
    cursor: pointer;
}

.case-slider .slide:hover img {
    --scale: 1.03; /* дыхание на hover */
}

/* затемнение фона */
#story-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(10px);
    display: none; /* будет показываться скриптом */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* сам контейнер по центру */
#story-modal-content {
    background: rgb(113 113 113 / 4%);
    padding: 20px 90px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}
/* текст внутри скроллится */
#story-text {
    flex: 1;
    overflow-y: auto;
    margin: auto;
    width: clamp(10%, 90%, 1600px);
    background: var(--ui26-bg);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: none;
}
  
#story-text .head_page_2026 {
    margin-top: 0;
}

.wrap-media {
    margin: 0 auto;
    /*padding: 0 clamp(16px, 2vw, 24px);*/
}

.wrap-text {
    max-width: var(--wrap-text);
    margin: 0 auto;
    padding: 0 clamp(16px, 2vw, 24px);
}

section.case-wrapper {
    padding-top: 0;
}

.case-wrapper .par_case a,
.xref-check {
    text-decoration: underline;
    color: rgb(52, 152, 219) !important;
}

/* =================== ОДИНОЧНОЕ ФОТО + ПОДПИСЬ =================== */
.block_img_case {
    width: 100%;
    margin: clamp(20px, 2vw, 30px) auto;
    background: var(--glass-bg);
    overflow: hidden;
    backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow);
    background: linear-gradient(
        106deg,
        rgb(158 158 158 / 0%) 0%,
        rgb(189 189 189 / 5%) 60%,
        rgb(255 123 0 / 6%) 100%
    );
}

.block_img_case .photo_in_case {
    width: 100%;
    display: block;
    transform: translateY(var(--pary, 0px)) scale(var(--scale, 1.01)); /* scroll + hover */
    transition: transform 0.6s ease;
    will-change: transform;
    cursor: pointer;
}

.block_img_case:hover .photo_in_case {
    --scale: 1.03; /* дыхание на hover */
}

.block_img_case .title_img,
.slider-caption,
.slide2-description {
    display: block;
    padding: 20px;
    text-align: center;
    font-size: clamp(13px, 1.2vw, 18px);
    color: #828282;
    line-height: 1.3;
    font-family: "bold";
}
.case-slider .slider-caption {
    padding-top: 0px;
}
.center {
    text-align: center;
}
.hero__card .ui26-h1 {
    margin-bottom: 20px;
}
/* =================== ЦИТАТА =================== */
quote_case {
    display: block;
    /* width: 100%; */
    /* margin: var(--space-xl) auto; */
    padding: clamp(16px, 2.4vw, 48px);
    background: linear-gradient(195deg, #131313, #202020, #121212);
    border-left: 3px solid var(--accent);
    border-radius: clamp(12px, 1.6vw, 16px);
    color: #bbb;
    font-style: italic;
    line-height: 1.5;
    font-size: clamp(18px, 2vw, 24px);
    margin-top: clamp(20px, 4.6vw, 44px);
    margin-bottom: clamp(20px, 4.6vw, 44px);
    margin-left: 4%;
    margin-right: 4%;
}

.quote-author {
    display: block;
    margin-top: 0.6em;
    color: #626262;
    /* font-size: var(--fs-small); */
    font-style: normal;
    font-family: "bold";
	line-height: 140%;
}

/* =================== ФОТО НА ВЕСЬ ЭКРАН =================== */
.bg_photo,
.block_photo {
    position: fixed;
}

.bg_photo {
    display: none;
}

.close_list_reg {
    display: block;
    position: fixed;
    border-radius: 10px;
    background-repeat: no-repeat;
    width: 120px;
    height: 120px;
    opacity: 0.5;
    right: 0;
    top: 0;
    background-image: url(/images/icons/close_mini.png);
    background-position: center center;
    z-index: 9999999;
}

.close_list_reg:hover {
    opacity: 1;
}

.select_r_h {
    padding-top: 90px !important;
}

.button_obl_photo {
    background: #333;
    position: absolute;
    bottom: 5px;
    left: 5px;
    border-radius: 0 5px 0 5px;
    z-index: 4;
    cursor: pointer;
    display: none;
    font-size: 1vw;
    padding: 10px;
}

.button_obl_photo_red {
    background: #f00;
    position: absolute;
    bottom: 5px;
    left: 5px;
    border-radius: 0 5px 0 5px;
    z-index: 4;
    cursor: pointer;
    font-size: 1vw;
    padding: 10px;
    display: none;
}

.obl_slider {
    height: 80vh;
}

/* =================== ССЫЛКА-ИСТОРИЯ =================== */
.story-link {
    /* опциональные стили для ссылки */
}

/* =================== МОДАЛЬНОЕ ОКНО =================== */
#story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.story-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top: 6px solid #555;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 99999;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #fff;
    border-top: 4px solid #888;
    border-radius: 50%;
    animation: spin 1s linear infinite; 
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =================== ПЕРЕКЛЮЧАЛКА ДО/ПОСЛЕ =================== */

.slide2-wrapper {
    max-width: var(--wrap-media);
    margin: var(--space-xl) auto;
    background: var(--glass-bg);
    overflow: hidden;
    backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow);
}

.before-after-toggle {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
}

.before-after-toggle img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(var(--pary, 0px)) scale(1.01);
    will-change: transform, opacity;
}

/*
|--------------------------------------------------------------------------
| Фото "после"
|--------------------------------------------------------------------------
| Показывается по умолчанию.
|--------------------------------------------------------------------------
*/
.before-after-toggle .img-after {
    position: relative;
    opacity: 1;
    z-index: 1;
    transition: opacity 0.35s ease, transform 0.6s ease;
}

/*
|--------------------------------------------------------------------------
| Фото "до"
|--------------------------------------------------------------------------
| Скрыто по умолчанию.
|--------------------------------------------------------------------------
*/
.before-after-toggle .img-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.35s ease, transform 0.6s ease;
}

/*
|--------------------------------------------------------------------------
| Состояние "показываем ДО"
|--------------------------------------------------------------------------
*/
.before-after-toggle.is-before .img-after {
    opacity: 0;
}

.before-after-toggle.is-before .img-before {
    opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Лейблы
|--------------------------------------------------------------------------
*/
.label-before,
.label-after {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 20px;
    color: #ededed;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    pointer-events: none;
}

/*
|--------------------------------------------------------------------------
| По умолчанию видим лейбл "После"
|--------------------------------------------------------------------------
*/
.label-after {
    display: block;
    background: rgb(30 205 53);
}

.label-before {
    display: none;
    background: rgb(255 0 0 / 55%);
}

/*
|--------------------------------------------------------------------------
| Когда показываем "До" — меняем лейбл
|--------------------------------------------------------------------------
*/
.before-after-toggle.is-before .label-after {
    display: none;
}

.before-after-toggle.is-before .label-before {
    display: block;
}

/*
|--------------------------------------------------------------------------
| Мягкий градиент-оверлей
|--------------------------------------------------------------------------
*/
.before-after-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    height: calc(100% + 5px);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(200, 200, 200, 0.15) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(200, 200, 200, 0.15) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    background-position: -100% 0;
    animation: gradientMove 3s linear infinite;
    pointer-events: none;
    z-index: 4;
    border-radius: 8px 0 0 8px;
}

.before-after-toggle.no-gradient::before {
    display: none;
}

@keyframes gradientMove {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: clamp(16px, 2vw, 25px);
}

.slider-dots .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #5c5c5c;
    border: 1px solid #2c2d32;
    cursor: pointer;
    transition: 0.2s;
    transition: 0.5s;
}

.slider-dots .dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}
.slider-dots .dot:hover {
    transform: scale(1.5);
}

/* прелоадер */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #f57c00;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.slide {
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.slide img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}*/

/* Теги внизу */
.case-wrapper tags_case {
    display: none;
    margin: 30px 8%;
    font-size: 16px;
    color: #262525;
    line-height: 1.5;
}

/* Стрелки */
.case-wrapper .slider-arrow {
    position: absolute;
    top: calc(50% - (var(--padding_button) / 2));
    transform: translateY(-50%);
}

.case-wrapper .slider-arrow.prev {
    left: var(--padding_button);
	opacity: 0.3;
}

.case-wrapper .slider-arrow.next {
    right: var(--padding_button);
	opacity: 0.3;
}
#ui26-top{
	opacity: 0.5;
}
.slider-arrow.prev:hover,.slider-arrow.next:hover,#ui26-top:hover {
    transition: 0.5s;
	opacity: 1;
}

#bbcode-preview {
    position: fixed;
    top: 150px;
    right: 0;
    width: 50%;
    height: calc(100% - 236px);
    padding: 40px 0;
    background: #222;
    border: 3px solid #666;
    z-index: 9999;
    overflow-y: scroll;
}
 

/* Fullscreen */
.fullscreen-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.fullscreen-overlay img {
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    opacity: 0.3;
    transition: opacity 0.2s;
    width: 50px;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
}

.fullscreen-nav:hover {
    opacity: 1;
}

.fullscreen-prev {
    left: var(--padding_button);
    background-image: url(../images/icons/left.png);
}

.fullscreen-next {
    right: var(--padding_button);
    background-image: url(../images/icons/right.png);
}

body.no-scroll {
    overflow: hidden;
}

/* ====== Лоадер для полноэкранного режима ====== */
.fullscreen-loader {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10002;
}
.load_arts_2 {
    text-align: center;
    margin-bottom: 28px;
    color: green;
}
.fullscreen-loader .spinner {
    width: 48px;
    height: 48px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ====== Состояния загруженности изображений ====== */
.fullscreen-overlay img.loading {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.fullscreen-overlay img.loaded {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* ====== Мокап ====== */
.bb-mockup {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
}

.bb-mockup-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bb-mockup-caption {
    margin-top: 10px;
    font-size: 15px;
    color: #666;
}

/* ====== Списки в кейсах ====== */
.case-wrapper ul {
    padding-left: 35px;
    margin-left: calc(8% + 12px);
    margin-top: clamp(32px, 10vw, 32px);
    margin-bottom: clamp(32px, 10vw, 32px);
}

.case-wrapper ul li {
    font-size: clamp(18px, 2vw, 23px);
    font-family: "regular";
    color: #cec2c2;
    line-height: 1.45;
    margin-bottom: 10px;
}

.case-red-comment {
    margin: 10px 0;
    color: red;
    font-weight: bold;
}

/* ====== Подсказки для xref ====== */
.xref-tooltip {
    position: absolute;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    background-color: #2a2a2a;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease-in-out;
}

.xref-tooltip.visible {
    opacity: 1;
    transform: scale(1);
}

/* ====== Теги статей ====== */
.article_tag {
    display: none;
    margin: 5px;
    padding: 7px 12px;
    font-size: 18px;
    border-radius: 9px;
    background: #333;
    color: #636363;
}

/* ====== Сетка кейсов ====== */
.cases-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 8% !important;
}

.case-link {
    display: block;
    width: calc(50% - 10px);
    height: 24vw;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
}

.case-link:hover {
    opacity: 0.7;
    transition: 0.7s;
}

.case-block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #282828;
    background-size: cover;
    background-position: center;
}

.case-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0)
    );
    z-index: 0;
}

.case-title,
.case-desc {
    position: relative;
    z-index: 1;
}

.case-title {
    margin-bottom: 8px;
    font-size: 26px;
    font-family: "medium";
    font-weight: bold;
    color: #fff;
    /*text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);*/
}

.case-desc {
    font-size: 16px;
    color: #eee;
    text-shadow: 0 1px 12px #000;
}

/* ====== Сообщение об отсутствии кейсов ====== */
.no-cases {
    margin-top: 100px;
    text-align: center;
    font-size: 20px;
    color: #888;
}
/* Блок с финальным сообщением */
#end-message {
    display: none;
    opacity: 0;
    text-align: center;
    color: #f57c00;
    font-size: 16px;
    margin: 20px 0;
    transition: opacity 0.6s ease;
}

#end-message.show {
    display: block;
    opacity: 1;
}

/* Прелоадер-спиннер */
#loader {
    display: none;
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(245, 124, 0, 0.3);
    border-top: 4px solid #f57c00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Контейнер и вводный текст */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
        sans-serif;
}

.intro {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #ccc;
}

/* Сетка кейсов */
#cases-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ui26-gap-my);
    margin: var(--ui26-gap-my) auto 0 auto;
}

/* Карточка кейса */
.case-card {
    position: relative;
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.28s ease;
}

.case-card:hover {
    transform: translateY(-2px);
}
@media (min-width: 800px) {
	.case-card::before {
		content: "";
		position: absolute;
		inset: 0;
		background-image: inherit;
		background-size: cover;
		background-position: center;
		transition: transform 0.6s ease, filter 0.6s ease;
		z-index: 0;
	}

	.case-card:hover::before {
		transform: scale(1.03);
		filter: brightness(0.9);
	}
}


/* Плашка с описанием */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 16px 14px 16px;
    color: #fff;
    border-radius: 15px 15px 0 0;
    background: rgba(18, 18, 20, 0.47);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
   /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);*/
    z-index: 1;
    transition: background 0.28s ease, backdrop-filter 0.28s ease,
        -webkit-backdrop-filter 0.28s ease;
}

.case-card:hover .case-overlay {
    background: rgba(18, 18, 20, 0.32);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Заголовок и описание */
.case-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px 0;
}

.case-desc {
    font-size: 16px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.case-card:hover .case-desc {
    -webkit-line-clamp: 3;
}

/* Хвостики страницы */
#loader-wrapper {
    display: none;
    margin-top: 40px;
    text-align: center;
    color: #f57c00;
    font-size: 16px;
}

.pagination a {
    color: #f57c00;
    margin-right: 10px;
    text-decoration: none;
    font-weight: 700;
}

/* Анимация появления */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

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

/* Адаптив */
@media (max-width: 860px) {
    #cases-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .case-card {
        height: 320px;
    }
    /*.case-overlay {
        width: calc(100% - 24px);
        right: 12px;
    }*/
}

@media (max-width: 480px) {
    .case-card {
        height: 280px;
    }
    .case-title {
        font-size: 18px;
    }
    .case-desc {
        font-size: 15px;
    }
}

.case-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 1;
}

/* БАЗА для активных */
.nav-btn,
.nav-btn_home {
    position: relative;
    display: inline-block; /* ширина = по контенту */
    width: auto;
    max-width: max-content;
    padding: clamp(6px, 1vw, 10px) clamp(12px, 1.8vw, 16px);
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 500;
    line-height: 1.3;
    border-radius: 10px;
    color: rgba(245, 124, 0, 0.82);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease,
        transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

/* Красивое свечение при наведении */
.nav-btn::before,
.nav-btn_home::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(245, 124, 0, 0.25),
        transparent
    );
    transition: all 0.6s ease;
}

.nav-btn:hover::before,
.nav-btn_home:hover::before {
    left: 100%;
}

/* Hover-эффект */
.nav-btn:hover,
.nav-btn_home:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 124, 0, 0.6);
    color: rgba(245, 124, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 124, 0, 0.15);
}

/* Неактивная кнопка */
.nav-btn.disabled {
    pointer-events: none;
    opacity: 0.4;
    color: rgba(200, 200, 200, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
}

/* ===== Страница статей: общая сетка и типографика ===== */

/* ===== Hero (заголовок + вступление) ===== */
.hero {
    position: relative;
}
.hero .pagewidth2025 {
    display: inline-block;
    padding: 22px 28px;
    border-radius: 18px;
    background: rgba(18, 18, 20, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.hero .par_case {
    max-width: 900px;
    margin: 16px 0 0;
    color: #cfcfcf;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.55;
}

/* ===== Подразделы (заголовок + описание) ===== */

.h2_art {
    display: inline-block;
    margin: 0 0 10px;
    font-size: clamp(22px, 2.2vw, 35px);
    font-weight: 600;
    line-height: 1.2;
    font-family: "semibold";
    padding: 12px 16px;
    border-radius: 14px;
    /* background: rgba(18, 18, 20, 0.25); */
    /* border: 1px solid rgba(255, 255, 255, .14); */
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(8px);
}
.par_case_2 {
    /* width: 50%; */
    color: #bdbdbd;
    font-size: clamp(14px, 21px, 21px);
    line-height: 1.55;
    margin: 10px 0 35px 20px;
    line-height: 1.38;
}

/* ===== Сетка статей: 2 в ряд ===== */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
section2.section {
    padding-bottom: 0 !important; 
    display: block;
    padding-inline: 0 !important;
    padding-block: clamp(20px, 3vw, 40px);
}
.nav-buttons {
    padding-inline: 4%;
}

.nav-buttons {
    display: flex;
    padding-inline: 4%;
    gap: var(--ui26-gap-my);
    margin-top: clamp(26px, 33px, 39px);
}
/* ===== Карточка статьи (отличается от кейсов: плашка внизу) ===== */
.article-card {
    position: relative;
    display: block;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.28s ease;
    text-decoration: none;
    color: inherit;
}
.article-card:hover {
    transform: translateY(-2px);
}

/* Рамка + лёгкое свечение */
.article-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 1;
}

/* Фоновое изображение (чёткое) */
.article-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    transition: transform 0.6s ease, filter 0.6s ease;
    z-index: 0;
}
.article-card:hover .article-image {
    transform: scale(1.035);
    filter: brightness(0.9);
}
 

/* Типографика заголовка/описания статьи */
.article-title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.article-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #ededed;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* фиксированная высота, без «расползаний» */
    overflow: hidden;
}

/* Анимация появления карточек */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Адаптив ===== */
@media (max-width: 980px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 14px !important;
		margin-bottom:14px !important;
        margin-inline: 0px !important;
    }
    .article-card {
        height: 340px;
    }
    .hero .pagewidth2025 {
        font-size: clamp(26px, 4.4vw, 36px);
    }
}
@media (max-width: 560px) {
    .article-card {
        height: 300px;
    }
	.article-content {
        padding: 12px 14px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        border-radius: 0 0 16px 16px !important;
    }
    .article-title {
        font-size: 18px;
    }
    .article-desc {
        font-size: 14px;
        -webkit-line-clamp: 4;
    }
}

.flex_c {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap_button);
    justify-content: center;
}
important_case .case-subtitle {
    margin-top: 0 !important;
}
important_case .par_case {
    margin-bottom: 0 !important;
}
#story-close {
    position: absolute;
    top: var(--padding_button);
    right: var(--padding_button);
    z-index: 9;
}
.block_error {
    text-shadow: 0px 0px 10px black;
    width: 100%;
    height: 100%;
    background: url("/images/2023/error404.jpg") center center;
    background-size: cover;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.name404 {
    margin: 0px 20% 1vw 20%;
    font-size: 3.5vw;
    width: 100%;
}
.error404 {
    font-family: "medium";
    margin-top: 10px !important;
    color: #c00;
}
.for_error {
    width: 80%;
    max-width: 1600px;
}
.feedback-form {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 20px auto;
}

#charCount {
    font-size: 12px;
    text-align: right;
    color: #ccc;
}

.block_an {
    display: block;
}
img.img_gal {
    width: 100%;
    border-radius: 10px;
}
.desc_photo {
    display: none;
}
#id_start_1 {
    display: block;
}
div#id_start_ {
    text-align: center;
    width: 400%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.about__text .ui26-text {
    font-size: clamp(16px, 1.8vh, 23px);
    color: #aaa;
}
.block3 {
    display: block;
    width: 1px;
    height: 100%;
    position: absolute;
}
.date.ui26-h3 {
    margin-inline: 4%;
    font-size: clamp(12px, 2vw, 24px);
    color: #525252;
}
.for_art.head_page_2026 {
	margin-inline: 4% !important;
    margin-bottom: 5px !important;
    margin-top: 80px;
}
.obol_art {
    padding-bottom: 65px;
    border-bottom: 3px solid #282828;
}
.date strong {
    color: red;
    display: block;
    font-size: 0.8em;
    font-weight: 900;
}
/* ===== Контейнер статьи ===== */
.art_prew {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(18, 22, 28, 0.55),
        rgba(10, 14, 18, 0.72)
    );
    border: 1px solid rgba(255, 255, 255, 0.16);
    outline: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    aspect-ratio: 3 / 4;
}

.art_prew:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65);
}

/* ===== Ссылка с фоном ===== */
.art_link {
    display: block;
    position: relative;
    height: 100% !important;
    background-size: cover;
    background-position: center; 
    text-decoration: none;
    color: var(--text, #e9eef5);
}
.art_prew{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

/* ссылка заполняет рамку полностью */
.art_prew > .art_link{
  position: absolute;
  inset: 0;              /* top:0 right:0 bottom:0 left:0 */
  display: block;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-decoration: none;
  color: var(--text, #e9eef5);
}
/* ===== Внутренний блок ===== */
.block_prew_art {
    /*position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
   /* backdrop-filter: blur(2px);*/
    padding: 20px;
    background: linear-gradient(358deg, transparent, rgba(0, 0, 0, 0.7) 60%);
}
.block_prew_art_2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
   /* backdrop-filter: blur(2px);*/
    padding: 20px;
    background: none;
}

/* ===== Дата ===== */
.date {
    font-size: 13px;
    color: var(--muted, #b6c0ce);
    margin-bottom: 8px;
}

/* ===== Заголовок статьи ===== */
.name_art_prew {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

/* ===== Краткое описание ===== */
.prew_art_prew {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted, #cfd6e0);
    overflow: hidden;
}

/* ===== Сетка для списка статей ===== */
.articles-grid {
    display: grid;
    gap: 28px;
	margin-bottom: 28px;
}

/* десктоп — 3 в ряд */
@media (min-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* планшет — 2 в ряд */
@media (min-width: 768px) and (max-width: 1199px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* мобильный — 1 в ряд */
@media (max-width: 767px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
	.art_prew {
		aspect-ratio: 3 / 2;
	}
}
@media (max-width: 600px) {
	.art_prew {
		aspect-ratio: 3 / 4;
	}
}

.filter_burger {
    position: absolute;
    left: var(--padding_button);
    bottom: var(--padding_button);
    width: 50px !important;
    height: 50px !important;
    display: none !important;
}
span.b1 {
    width: 50% !important;
    display: block;
}
span.b2 {
    width: 40% !important;
    display: block;
}
span.b3 {
    width: 30% !important;
    display: block;
}
.filter_burger_2 {
    display: flex !important;
}
@media (min-width: 1024px)  {
  .plan__cta {
    flex-direction: column !important;   /* вертикально */
    flex-wrap: nowrap !important;        /* без переносов */
    align-items: flex-start !important;  /* НЕ растягивать по ширине */
  }

  .plan__cta .ui26-btn {
    width: auto !important;              /* ширина по содержимому */
  }
}
@media (min-width: 1280px)  {

	.pagewidth.h_div.for_art.head_page_2026{
		margin-top:180px;
	}
}
/* ================================
   НАПРАВЛЕНИЯ — PREMIUM VERSION
================================ */

.napr-block-wrapper{
    width:100%;
    padding:120px 0;
    position:relative;
    background:
        radial-gradient(800px 400px at 50% -200px,
        rgba(245,124,0,.08),
        transparent 70%);
}

.napr-block{
    width:100%;
    max-width:1600px;
    margin:0 auto;
    padding:0 6vw;
}

/* HEADER */

.napr-head{
    margin-bottom:70px;
	display:none;
}

.napr-title{
    font-size: clamp(28px,3vw,46px);
    font-weight:700;
    color:var(--ui26-text);
    margin:0;
}

.napr-line{
    width:60px;
    height:3px;
    background:var(--ui26-accent);
    margin:20px 0;
}

.napr-subtitle{
    color:var(--ui26-muted);
    font-size:clamp(15px,1.3vw,18px);
}

/* GRID */

.napr-grid{
    display:grid;
    gap:20px;
}

.napr-grid--large{
    grid-template-columns: 1.35fr 1fr;
}

.napr-card--large{
    grid-row: span 2;
}

/* CARD */

.napr-card{
    position:relative;
    overflow:hidden;
    border-radius:26px;
    border:1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(180deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all .4s ease;
    min-height:300px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
}

.napr-card--large{
    min-height:640px;
}

/* DEPTH LAYER */

.napr-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(600px 300px at 50% -100px,
        rgba(255,255,255,.06),
        transparent 70%);
    opacity:.6;
    pointer-events:none;
}

/* PHOTO MODE */

.napr-card--photo .napr-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    filter:brightness(.7);
    transition: transform .7s ease;
}

.napr-card--photo::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.65) 55%,
        rgba(0,0,0,.9) 100%);
}

/* CONTENT */

.napr-content{
    position:relative;
    padding:50px;
    z-index:3;
}

.napr-card-title{
    font-size:clamp(20px,1.6vw,26px);
    font-weight:600;
    line-height: 136%;
    margin: 0 0 10px;
    color:var(--ui26-text);
}

.napr-card-desc{
    font-size:clamp(14px,1.2vw,17px);
    color:var(--ui26-muted);
    margin:0 0 0px;
}
.my_bl_1{
	font-size: 35px;
}
.napr-arrow {
    font-size: 45px;
    color: var(--ui26-accent);
    transition: transform .3s ease;
    display: block;
    font-weight: 900;
    text-align: right;
}

/* HOVER */

.napr-card:hover{
    transform:translateY(-8px);
    border-color:rgba(245,124,0,.6);
    box-shadow:
        0 0 0 1px rgba(245,124,0,.25) inset,
        0 30px 60px rgba(0,0,0,.6),
        0 0 40px rgba(245,124,0,.15);
}

.napr-card:hover .napr-bg{
    transform:scale(1.06);
}

.napr-card:hover .napr-arrow{
    transform:translateX(8px);
}
.napr-card--icon {
    display: flex;
    justify-content: space-between;
}
img.napr-icon {
    width: 100px;
    margin: 50px 0 0 50px;
}
/* ADAPTIVE */

@media(max-width:1024px){
    .napr-grid {
		  display: grid;
		  grid-template-columns: repeat(2, 1fr);
		  gap: 20px;
		}

		.napr-grid > .napr-card:first-child { 
		  grid-column: 1 / -1;
		}
		.napr-card--large {
			height: 300px !important;
		}
	.napr-card{
		min-height:inherit;
	}
	.napr-block-wrapper {
		width: 100%;
		padding: 16px 0;
	}
}

@media(max-width:768px){
    .napr-grid {
    grid-template-columns: 1fr;
  }

  .napr-grid > .napr-card:first-child {
    grid-column: auto;
  }
	.my_bl_1 {
		font-size: 30px;
		width:80%;
	}
	.napr-card-desc {
		width: 80%;
	}
	.napr-content {
    padding: 30px;
	}
	.napr-block {
		padding: 0 15px;
	}
	.napr-grid {
        gap: 15px;
    }
	img.napr-icon {
		width: 75px;
		margin: 30px 0 0 30px;
	}
	.napr-card--large {
        height: auto !important;
    }
}
