	/*
	Theme Name:    Artspan
	Description:   Custom Artspan Theme
	Author:        WGI Westman Group
	Version:       1.0.0
*/

:root {
	--bs-btn-active-bg: #0070B8;
	--bs-btn-hover-bg: #0a4c77;
	--primary: #0070B8;
	--primary-rgb: 0, 112, 184;
	--primary-housing: #6e9395;
	--primary-dark: #0a4c77;
	--secondary: #707070;
	--smooth: all .25s linear;
	--bg-light: rgba(255, 255, 255, .3);
	--roboto: 'roboto', sans-serif;
	--dark: #24203f;
	--bp-bg: #0f172a;       /* Темно-синий фон чертежа */
	--bp-line: #38bdf8;     /* Голубые линии */
	--bp-fill: rgba(15, 23, 42, 0.9); /* Заливка стен (для перекрытия задних линий) */
	--bp-glass: rgba(148, 233, 255, 0.3); /* Стекло окон */
	--bp-roof: rgba(255, 255, 255, 0.1);  /* Крыша */
	--ts-dark: #0a4c77;
	--ts-accent: #0070B8; /* Artspan  */
	--ts-gray: #f8f9fa;
	--ts-border: #0070B8;	
    /* Цветовая палитра (Monochromatic Blue) */
    --card-bg: #eaf4ff;         /* Очень светлый голубой для фона карточки */
    --card-bg-hover: #dbeafe;   /* Чуть темнее при наведении */
    --text-main: #1e3a8a;       /* Темно-синий для заголовков */
    --text-desc: #3b82f6;       /* Светлее для описания (если есть) */
}

/* Применяем шрифты ко всему документу */

* {
    font-family: var(--roboto);
	font-weight: 300;
	line-height: 1.5;
	margin-top: 0;
	margin-bottom: 0;
}

.fw-bold, bold, b {
	font-weight: 700;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
    font-family: var(--roboto);
    font-weight: 700; 
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, p {
	margin-bottom: .5rem;
}

strong, b {
	font-weight: 700;
}

/* другое пошло */
*.btn {
	border-radius: 0 !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0070B8;
    --bs-btn-border-color: #0a4c77;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0a4c77;
    --bs-btn-hover-border-color: #0070B8;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0070B8;
    --bs-btn-active-border-color: #0070B8;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--primary-rgb), var(--bs-text-opacity)) !important;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity)) !important;
}

nav.navbar .custom-logo-link img {
	filter: grayscale(10) brightness(100);
}

nav.navbar {
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}

#menu-main-menu {
	transform: translateY(10%);
}

#menu-main-menu li a {
    text-transform: uppercase;
    letter-spacing: .1px;
    font-weight: 500;
    display: inline-block;
    margin-left: 2.5rem;
    text-decoration: none;
    background: linear-gradient(to bottom, #ffffff 0%, #d3d3d3 50%, #ffffff 100%);  
    background-size: 100% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: center 100%;
    transition: background-position 0.4s ease-in-out, transform 0.3s ease;
}

#menu-main-menu li a:hover {
    background-position: center 0%;
}

#menu-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;    
    margin: 0;
    padding: 0;
}

#menu-footer-menu li a {
    text-decoration: none;
    color: inherit; 
	font-weight: 500;
}

@media all and (max-width: 960px) {
	#menu-footer-menu {
		display: block;
	}
	
	#menu-footer-menu li a {
		margin-bottom: 1rem;
		display: block;
	}
}

@media all and (min-width: 961px) {
	footer .custom-logo-link {
		margin-bottom: 1.5rem;
		display: block;
	}

	footer .list-of-data {
		margin-top: 1.5rem;
		display: block;
	}
}

.headline-block {
    /*position: absolute;*/
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 6.5rem);
    overflow: hidden;
	display: flex;
    align-items: center;
    justify-content: center;	
	margin-top: -5rem;
}

.headline-block img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
	position: absolute;
	z-index: 7;
}

.color-curtain {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(45, 25, 25, .45);
	z-index: 8;
}

.color-curtain-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 80, 130, 0.3); /* Базовое состояние */
    z-index: 8;
    pointer-events: none;
    transition: background-color 0.1s linear;
}

.headline-block .container { 
	position: relative;
	z-index: 9;
}

.main.headline {
    position: relative; 
	color: white;
}

.features-imp-section h2 {
	position: relative;
	color: white;
	text-align: center;
	margin-top: 4rem;
}

.features-imp-section h2::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #ffffff; 
	letter-spacing: 3px;
}

.features-imp-section h2::after {
	content: "";
	display: block;
	width: 4px; 
	height: 40px;
	background: #fff;
	position: absolute;
	top: -75px;
	left: 50%;
	transform: translateX(-50%) translateY(50%);
}

.main.headline::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #ffffff; 
	letter-spacing: 3px;
}

.main.headline::after {
	content: "";
	display: block;
	width: 4px; 
	height: 40px;
	background: #fff;
	position: absolute;
	top: -75px;
	left: 50%;
	transform: translateX(-50%) translateY(50%);
}

.site-header:not(.sticked) > .navbar {
    transition: background-color 0.5s ease;
}

.site-header.sticked > .navbar {
    background: rgba(0, 0, 0, .66);
}

.link {
    position: relative;
}

.link::before {
    content: attr(data-prefrace);
    position: absolute;
    left: 0;
    top: -.25rem;
    transition: opacity .3s ease, transform .3s ease;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 5px;
	font-size: 12px;
}

.link::after {
    content: attr(data-hover-prefrace);
    position: absolute;
    left: 0;
    top: -.25rem;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .3s ease, transform .3s ease;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 5px;
	font-size: 12px;
}

.link:hover::before {
    opacity: 0;
    transform: translateY(-5px);
}

.link:hover::after { 
    opacity: 1;
    transform: translateY(0);
}

.buildings {
	position: absolute;
	transform: translateY(-.5rem);
}

.title-name {
	font-size: 2.5rem;
}

.sub-menu-item {
	position: relative;
	background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity)) !important;
}

.sub-menu-item:nth-child(odd)::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	content: "";
	background: rgba(255, 255, 255, .15);
}

.sub-menu-item:nth-child(even)::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	content: "";
	background: rgba(255, 255, 255, .25);
}

.sub-menu-item.has-bg::before{
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
	opacity:.25;
}

.sub-menu-item .sub-menu-items {
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	transition: display .3s ease;
}

.sub-menu-item:hover .sub-menu-items {
	position: absolute;
	left: 0;
	top: 100%;
	display: block;
	transition: display .3s ease;
	width: 100%;
	list-style-type: none;
	padding: 0;
	margin: 0;
	z-index: 1;
	background: white;
}

.sub-menu-item:hover .sub-menu-items {
    display: flex !important; /* Гарантируем флекс-контейнер */
    flex-wrap: wrap !important; /* Разрешаем перенос, чтобы элементы встали в ряды */
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
	background-color: white;
	box-shadow: 0 0 3px rgba(0, 0, 0, .5)
}

.sub-menu-items li {
    flex: 0 0 50%; /* Запрещаем рост и сжатие, фиксируем базис 50% */
    max-width: 50%; /* Дублируем ограничение ширины */
    box-sizing: border-box; /* Важно: учитывает padding внутри 50% */
}

.sub-menu-items li a span {
	display: block;
}

/* Основной контейнер ссылки */
.sub-menu-items li a {
    display: flex;
    flex-direction: column; /* Выстраиваем элементы вертикально */
    align-items: center;    /* Центрируем иконку и текст по горизонтали */
    text-align: center;     /* Центрируем текст внутри span */
    text-decoration: none;
    padding: 10px;
    box-sizing: border-box;
}

/* Иконка */
.sub-menu-items li img.thumbnail {
    display: block;
    width: 100%;            /* Занимает всю ширину li */
    max-width: 60px;        /* Рекомендую ограничить макс. ширину, чтобы иконка не была огромной */
    height: auto;
    margin-bottom: 8px;     /* Отступ между картинкой и текстом */
    margin-right: 0;        /* Убираем старый боковой отступ */
}

/* Текст */
.sub-menu-items li a span {
    display: block;
    width: 100%;            /* Позволяет тексту занимать всю ширину и переноситься */
    font-size: 12px;        /* Настройте под ваш дизайн */
    line-height: 1.2;
	color: black;
	text-decoration: none;
}

.sub-menu-items li:hover {
	background: rgba(0, 0, 0, .05);
}

.ice-cabins-section {
    min-height: 50vh;
    display: flex;
    align-items: center; /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали (на случай, если container не на всю ширину) */
	background: url(ice-cabins.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.ice-cabins-section h2 {
	position: relative;
}

.ice-cabins-section h2::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
	letter-spacing: 3px;
}

.ice-cabins-section h2::after {
    content: "";
    display: block;
    width: 4px;
    height: 40px;
    background: #fff;
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

.ice-cabins-section .container {
	position: relative;
	z-index: 9;
}

.video-section {
    width: 100%;
    height: 50vh; /* Исходная высота-шторка */
    position: relative;
    overflow: hidden; /* Обрезает видео, которое не влезает */
    transition: height 1s ease-in-out; 
    background: #000;
}

.video-section .video-wrapper {
    width: 100%;
    position: relative;
    /* Убираем фиксированную высоту wrapper, она будет зависеть от видео */
}

.video-section video {
    width: 100%;
    height: auto; /* Видео всегда сохраняет свои пропорции */
    display: block;
}

.btn-video {
    position: absolute;
    top: 25vh; /* Центрируем кнопку относительно начальных 50vh */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
    
    height: 100px;
    width: 100px;
    background-image: url(play-button.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease, top 1s ease-in-out;
}


.btn-video:hover,
.btn-video:active,
.btn-video:focus {
	background-color: transparent;
}

/* При игре кнопка исчезает, но если захочешь оставить — 
   она плавно уедет на центр полной высоты */
.video-section.playing-mode .btn-video {
    opacity: 0;
    pointer-events: none;
    /* top: 50%; если нужно, чтобы кнопка уезжала в центр нового размера */
}

.text-section {
    display: flex;
    align-items: center; /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    min-height: 70vh; /* Используем min-height, чтобы контент не обрезался, если текста будет много */
    width: 100%;
}

.text-section {
    display: flex;
    align-items: center; /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    min-height: 70vh; /* Используем min-height, чтобы контент не обрезался, если текста будет много */
    width: 100%;
}

/* Убираем фиксированную высоту у контейнера, если она была, 
   чтобы центрирование работало корректно */
.text-section .container {
    width: 100%;
}

.text-section h2 {
    position: relative;
    margin-top: 60px; /* Отступ под полоску-декор */
}

.text-section h2::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

/* Декоративная линия сверху */
.text-section h2::after {
    content: "";
    display: block;
    width: 4px;
    height: 40px;
    background: var(--primary, #007bff); /* Добавил фолбек цвета */
    position: absolute;
    top: -75px; /* Фиксированное расстояние над текстом */
    left: 50%;
    transform: translateX(-50%);
}

.w-lg-50 {
	width: 100%;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.img-icons {
	width: 100%;
	max-width: 90px;
	margin-left: auto;
	margin-right: auto;
}

h3[data-prefrace]::before {
	content: attr(data-prefrace);
    display: block; 
    font-size: .75rem;
	color: var(--primary);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
	margin-top: 1rem;	
}

h3.prefrace[data-prefrace]::before {
	color: #000;
}

.section-end[data-number] {
    position: relative;
    display: block;
    margin-top: 5rem;
}

.section-end[data-number]::after {
    content: "";
    display: block;
    width: 4px;
    height: 40px;
    background: var(--primary, #007bff); /* Добавил фолбек цвета */
    position: absolute;
    top: -3rem; /* Фиксированное расстояние над текстом */
    left: 50%;
    transform: translateX(calc(-50% - 2px));
}

.section-end[data-number]::before {
	content: attr(data-number);
    display: block; 
    font-size: 1rem;
	color: #000;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
	margin-top: 1rem;	
}

/*carousel*/
.carousel-section h2 {
    position: relative;
    margin-top: 60px; /* Отступ под полоску-декор */
}

.carousel-section h2::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

/* Декоративная линия сверху */
.carousel-section h2::after {
    content: "";
    display: block;
    width: 4px;
    height: 40px;
    background: var(--primary, #007bff); /* Добавил фолбек цвета */
    position: absolute;
    top: -75px; /* Фиксированное расстояние над текстом */
    left: 50%;
    transform: translateX(-50%);
}

section:has(.carousel-pager) {
	overflow-X: hidden;
}

.carousel-pager {
    position: absolute;
    width: calc(100vw - 50%);
    height: 4px;
    background-color: var(--secondary);
    transform: translateY(.75rem) translateX(.75rem);
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0;
    left: 50%;
}

.carousel-pager span.cycle-pager-active {
	flex: 1; /* Каждый спан занимает равную часть ширины */
    text-align: center;
    cursor: pointer;
    display: inline-block;
	background-color: var(--primary);
	transform: translateY(-4px);
	cursor: pointer;
	border-right: 1px solid rgba(255, 255, 255, 1);
	color: transparent;
}

.carousel-pager span:not(.cycle-pager-active) {
	flex: 1; /* Каждый спан занимает равную часть ширины */
    text-align: center;
    cursor: pointer;
    display: inline-block;
	background-color: rgba(220, 220, 220, 1);
	transform: translateY(-4px);
	cursor: pointer;
	border-right: 1px solid rgba(255, 255, 255, 1);
	color: transparent;
}

.carousel-counter {
    position: absolute;
    width: calc(100vw - 50%);
    transform: translateY(.75rem) translateX(.75rem);
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0;
    left: 50%;
	padding-top: .5rem;
}


/*text icons*/
.text-icons-section h2 {
    position: relative;
    margin-top: 60px; /* Отступ под полоску-декор */
}

.text-icons-section h2::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

/* Декоративная линия сверху */
.text-icons-section h2::after {
    content: "";
    display: block;
    width: 4px;
    height: 40px;
    background: var(--primary, #007bff); /* Добавил фолбек цвета */
    position: absolute;
    top: -75px; /* Фиксированное расстояние над текстом */
    left: 50%;
    transform: translateX(-50%);
}

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

.carousel-full-slide img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

.cycle-prev:not(.cycle-controls-button) {
	position: absolute;
	top: 50%;
	left: 1rem;
	width: 30%;
	max-width: 120px;
	min-height: 120px;
	cursor: pointer;
	display: block;
	border-radius: 50%;
	background:url(next-button.png);
	z-index: 1000;
	background-repeat: no-repeat;
	background-size: cover;
	transform: rotate(180deg) translateY(60px);
	transition: background-color 0.3s ease;
}

.cycle-next:not(.cycle-controls-button) {
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 30%;
	max-width: 120px;
	min-height: 120px;
	cursor: pointer;
	display: block;
	border-radius: 50%;
	background:url(next-button.png);
	z-index: 1000;
	background-repeat: no-repeat;
	background-size: cover;
	transform: rotate(0deg) translateY(-60px);
	transition: background-color 0.3s ease;
}

.cycle-prev:not(.cycle-controls-button):hover,
.cycle-next:not(.cycle-controls-button):hover {
	background-color: rgba(0, 0, 0, .15);
	transition: background-color 0.3s ease;
}

.info-wgi {
	display: block;
	position: absolute;
	width: 220px;
}

.info-wgi::before {
    content: attr(data-info);
	display: block;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	color: white;
	font-size: .7rem;
	transform: translateY(1.25rem) translateX(1.7rem);
}

footer .info-wgi::before {
	color: black;
	transform: translateY(-2.15rem) translateX(.8rem);
}

.color-curtaine {
	background-color: var(--primary);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 101;
	opacity: .4;
}

.carousel-section-full {
	overflow: hidden;
}

.carousel-section-full + p:nth-of-type(1) {
	display: none;
	height: 0;
	margin: 0;
}


/*media queries*/
@media all and (max-width:1200px) {
	.navbar .custom-logo-link {
		margin-left: 0;
		margin-right: auto;
	}
	.sub-menu-item {
		width: 100%;
		min-width: 100%;
	}
	.video-section {
		height: auto;	
	}
	.btn-video {
		top: 50%;	
	}
	.video-section.position-relative {
		height: auto !important;
	}
	.cycle-next {
		max-width: 50px;
		min-height: 50px;
		transform: rotate(0deg) translateY(-25px);
	}	
	.cycle-prev {
		max-width: 50px;
		min-height: 50px;
		transform: rotate(180deg) translateY(25px);
	}	
	footer .info-wgi::before {
		color: black;
		transform: translateY(-0.75rem) translateX(-0rem);
		font-size: 9.3px;
	}	
}

@media all and (max-width:1580px) and (min-width:1361px) {
	#menu-main-menu li a {
		margin-left: 1vw;
	}
}

@media all and (max-width:1360px) and (min-width:1251px) {
	#menu-main-menu li a {
		margin-left: 0;
	}
}

@media all and (max-width:1250px) and (min-width:1200px) {
	#menu-main-menu li a {
		margin-left: 0;
		font-size: 1.15vw;
	}
}

@media all and (max-width:1200px) {
	.site-header {
		background-color: rgba(0, 0, 0, .65) !important;
		position: fixed;
        width: 100%;
		top: 0;
		left: 0;
	}
	
	.navbar-toggler {
		filter: brightness(100);
		border-color: white !important;
	}

	#menu-main-menu {
		transform: translateY(0);
		margin-top: 1rem;
		margin-bottom: 1rem !important;
	}
	
	header .custom-logo-link::before {
		content: "Modular Homes & Modular Steel Structures";
		display: block;
		position: absolute;
		color: white;
		font-size: 10px;
		top: calc(100% - .75rem);
		width: 200px;
		text-align: center;
		margin-left: -1.7rem;
	}
	
	header .custom-logo-link {
		position: relative;
	}
	
	header .info-wgi {
		display: none;
	}
	
	header .d-flex {
		margin-bottom: 1rem;
		padding-left: 2.5rem;
	}

	body:has(.navbar-toggler[aria-expanded="true"]) main {
		filter: blur(2.5px);
		/*transition: filter 0.3s ease;*/
	}	
}

/*forms*/
/* Контейнер для реализации Floating Label */
.artspan-form-group {
    position: relative;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

/* Базовый инпут в стиле Material */
.artspan-control {
    display: block;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    color: #1e293b;
    background-color: #f8fafc; /* Светлая подложка */
    border: none;
    border-bottom: 2px solid #cbd5e1; /* Нижняя граница */
    border-radius: 4px 4px 0 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

/* Эффект при фокусе */
.artspan-control:focus {
    background-color: #f1f5f9;
    border-bottom-color: #2563eb; /* Акцентный синий Artspan */
}

/* Стилизация Label (Floating) */
.artspan-label {
    position: absolute;
    left: 0.5rem;
    top: 1.25rem;
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Логика всплытия подписи (Placeholder Shown Trick) */
/* Для корректной работы инпут должен иметь атрибут placeholder=" " (пробел) */
.artspan-control:focus + .artspan-label,
.artspan-control:not(:placeholder-shown) + .artspan-label {
    top: 0;
    left: 0;
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 600;
}

/* Стили для Checkbox и Radio (Material Style) */
input[type="checkbox"].artspan-control,
input[type="radio"].artspan-control {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #cbd5e1;
    background-color: transparent;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 0.5rem;
    transition: all 0.2s;
}

input[type="checkbox"].artspan-control:checked {
    background-color: #2563eb;
    border-color: #2563eb;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

input[type="radio"].artspan-control { border-radius: 50%; }
input[type="radio"].artspan-control:checked {
    border-color: #2563eb;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%232563eb' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='4'/%3e%3c/svg%3e");
}

.result {
    width: 65%;
    float: right;
    font-size: 1.1rem;
    text-align: right;
    font-weight: 500;
    transform: translateY(0.2rem);
}

.crossed {
	position: relative;
	width: 100%;
	border-bottom: 2px solid var(--secondary)
}

.nav-underline .nav-link:not(.active) {
    color: var(--secondary) !important;
}

table thead tr th {
	background-color: var(--secondary) !important;
	color: white !Important;
}

/*infographic*/
.slider-example-split-line {
	--divider-width: 4px;
	--divider-color: var(--primary);
	--default-handle-opacity: 1;
}

.before,
.after {
	margin: 0;
}

.before figcaption {
	background: #fff;
	border: 1px solid #c0c0c0;
	border-radius: 12px;
	color: #2e3452;
	opacity: 0.8;
	padding: 12px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	line-height: 1.5;
	width: 40%;
	left: 7.5% !important;
	right: auto !important;
}

.after figcaption {
	background: #fff;
	border: 1px solid #c0c0c0;
	border-radius: 12px;
	color: #2e3452;
	opacity: 0.8;
	padding: 12px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	line-height: 1.5;
	width: 40%;
	left: auto !important;
	right: 7.5% !important;
}

.before figcaption {
	left: 12px;
}

.after figcaption {
	right: 12px;
}  

.coloured-slider {
	--divider-color: var(--primary);
	--default-handle-color: var(--primary);
	outline: none;
	cursor: col-resize;
}

.steps-section h2 {
    position: relative;
    margin-top: 60px;
}

.steps-section .h1::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #ffffff; 
	letter-spacing: 3px;
}

.steps-section .h1::after {
	content: "";
	display: block;
	width: 4px; 
	height: 40px;
	background: #fff;
	position: absolute;
	top: -75px;
	left: 50%;
	transform: translateX(-50%) translateY(50%);
}

.steps {
    padding: 15px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #0d77bc;
	margin-bottom: -1rem;
}

.steps .h4 {
    min-height: 3.5rem;
}

.steps-image {
    max-width: 140px;
    margin: 0 auto 1.5rem auto;
    transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    backface-visibility: hidden; 
    transform: translateZ(0); 
	filter: brightness(100) grayscale(0); 
	opacity: .5;
}

.steps:hover {
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); 
    background-color: #2685c3;
}

.steps:hover .steps-image {
    filter: brightness(50) grayscale(0); 
    transform: scale(1.15) rotate(2deg); 
	opacity: 1;
}

@media all and (max-width: 960px) {
	.steps {
		min-width: 100%;
		padding-bottom: 1.5rem !important;
	}
	
	.steps:hover {
		transform: none; 
		box-shadow: none;
	}	
	
	.steps:hover .steps-image {
		transform: none; 
	}	

	.steps .h4 {
		min-height: unset;
		padding-top: 1rem;
	}	
	
	.before figcaption {
        padding: 0;
        width: 47%;
        font-size: 11px;
        left: 1% !important;
    }
	
	.after figcaption {
        padding: 0;
        width: 47%;
        font-size: 11px;
        right: 1% !important;
    }
	
	.after figcaption h3,
	.before figcaption h3 {
		padding: 0 1rem;
		font-size: 18px;
	}
	
	.steps.active {
		background-color: #2685c3;
	}
}

.site-header.sticked {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
}
/* FEATURES LIST*/
.features-section h2 {
	position: relative;
	margin-top: 60px;
}

.features-section h2::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
	letter-spacing: 3px;
}

.features-section h2::after {
    content: "";
    display: block;
    width: 4px;
    height: 40px;
    background: var(--primary);
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

/* questioning */
/* design hub */
:root {
    /* Palette: Engineering Blue */
    --iso-stroke: #0ea5e9;       
    --iso-fill-solid: rgba(14, 165, 233, 0.15); 
    --iso-fill-ghost: rgba(14, 165, 233, 0.05); 
    --iso-roof: #0369a1;         
    --iso-glass: rgba(224, 242, 254, 0.8);
    --bg-color: #f8fafc;
}

body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* --- VISUALIZER --- */
.viz-container {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    height: 600px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.viz-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5; pointer-events: none;
}

svg#isoSvg { width: 100%; height: 100%; }

/* SVG Elements */
.wall-solid {
    fill: var(--iso-fill-solid);
    stroke: var(--iso-stroke);
    stroke-width: 2;
    transition: d 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.wall-ghost {
    fill: var(--iso-fill-ghost);
    stroke: var(--iso-stroke);
    stroke-width: 1;
    stroke-dasharray: 4, 4;
    transition: d 0.4s;
}
.wall-active {
    stroke: #0284c7 !important;
    stroke-width: 3 !important;
    fill: rgba(14, 165, 233, 0.25) !important;
}
.roof-shape {
    fill: var(--iso-roof);
    stroke: #0c4a6e;
    stroke-width: 1;
    transition: d 0.4s;
}
.foundation-pad {
    fill: #e2e8f0; stroke: #94a3b8; stroke-width: 1;
    opacity: 0; transition: opacity 0.5s;
}
.foundation-pad.visible { opacity: 1; }
.opening-glass { fill: var(--iso-glass); stroke: #0369a1; stroke-width: 1.5; }
.opening-door { fill: rgba(255,255,255,0.2); stroke: #0369a1; stroke-width: 1.5; stroke-dasharray: 3,2; }

/* --- WIZARD UI --- */
.step-progress {
    display: flex; margin-bottom: 2rem; position: relative;
}
.step-progress::before {
    content: ''; position: absolute; top: 14px; left: 0; right: 0;
    height: 2px; background: #e2e8f0; z-index: 0;
}
.step-item {
    flex: 1; text-align: center; position: relative; z-index: 1;
}
.step-circle {
    width: 30px; height: 30px; background: #fff; border: 2px solid #e2e8f0;
    border-radius: 50%; margin: 0 auto 8px; display: flex;
    align-items: center; justify-content: center; font-weight: bold;
    color: #94a3b8; transition: all 0.3s;
}
.step-item.active .step-circle {
    border-color: var(--iso-stroke); background: var(--iso-stroke); color: #fff;
}
.step-item.completed .step-circle {
    border-color: #10b981; background: #10b981; color: #fff;
}
.step-label { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; }

/* Wizard Content */
.step-pane { display: none; animation: slideUp 0.4s ease-out; }
.step-pane.active { display: block; }

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

/* Type Selection Cards */
.type-card {
    border: 2px solid #e2e8f0; border-radius: 12px; cursor: pointer;
    transition: all 0.2s; text-align: center; padding: 1.5rem;
}
.type-card:hover { border-color: var(--iso-stroke); background: #f0f9ff; }
.type-input:checked + .type-card {
    border-color: var(--iso-stroke); background: #e0f2fe; box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

/* Wall Controls */
.wall-selector label { 
	font-size: 0.8rem; 
}

g.active {
	display: block !important;
}

.interactive-svg {
	cursor: pointer;
}

/* * STRUCTURAL STYLES ONLY 
 * Colors are reverted to default Bootstrap 
 */

/* Page Hero Wrapper */
.configurator-hero {
    background-color: #212529; /* Bootstrap dark */
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

/* Viz Container - Blueprint Look */
.viz-container {
    background-color: #f8f9fa; /* Bootstrap gray-100 */
    background-image: 
        linear-gradient(#e9ecef 1px, transparent 1px),
        linear-gradient(90deg, #e9ecef 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    position: relative;
    height: 500px;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.03);
}

/* SVG Elements Styling - Using Standard Colors */
.foundation-pad { fill: #e9ecef; stroke: #adb5bd; stroke-width: 1; }
.wall-solid { fill: #fff; stroke: #343a40; stroke-width: 2; vector-effect: non-scaling-stroke; }

/* Default Bootstrap Blue for Active Elements */
.wall-active { fill: #f0f8ff; stroke: #0d6efd; stroke-width: 3; } 
.wall-ghost { fill: none; stroke: #ced4da; stroke-dasharray: 5,5; }
.roof-shape { fill: rgba(13, 110, 253, 0.1); stroke: #0d6efd; stroke-width: 1.5; }

.opening-door { fill: #e9ecef; stroke: #495057; }
.opening-glass { fill: #d1e7dd; stroke: #495057; opacity: 0.6; }

/* Cards */
.app-card {
    border: 1px solid #dee2e6;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: 0.375rem;
}

/* Steps Navigation */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.step-progress::before {
    content: '';
    position: absolute;
    top: 15px; left: 0; right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}
.step-item {
    z-index: 1;
    background: white;
    text-align: center;
    width: 80px;
    opacity: 1;
}
.step-item.active { opacity: 1; }

/* Active Step Circle - Bootstrap Primary Blue */
.step-item.completed .step-circle { background: #0d6efd; color: white; border-color: #0d6efd; }
.step-item.active .step-circle { border-color: #0d6efd; color: #0d6efd; font-weight: bold; background: #fff; }

.step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dee2e6;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 5px;
    font-size: 14px;
}
.step-label { font-size: 12px; text-transform: uppercase; font-weight: 600; }

/* Selection Cards */
.type-card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.type-input:checked + .type-card {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
    color: #0d6efd;
}
.type-input:checked + .type-card i { color: #0d6efd !important; }

/* Utility */
.step-pane { display: none; animation: fadeIn 0.3s; }
.step-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
	
#gform_wrapper_2 {
	display: none;
}

/* Layout & containers */
.configurator-section { padding: 40px 0; background: #fff; }

/* Visualization Box */
.viz-wrapper {
    background-color: #f0f2f5;
    border: 1px solid var(--ts-border);
    border-radius: 8px;
    height: 550px;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(#ced4da 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.05);
}

/* SVG Elements */
.iso-face-front { transition: fill 0.3s ease; }
.iso-face-side { transition: fill 0.3s ease; filter: brightness(0.9); } 
.iso-roof { fill: #e9ecef; stroke: #adb5bd; stroke-width: 0.5; transition: fill 0.3s ease; }
.iso-trim { fill: none; stroke-width: 2; transition: stroke 0.3s ease; }
.iso-wall-joint { fill: none; stroke-width: 1; opacity: 0.3; }
.iso-door { fill: #ffffff; stroke: #343a40; stroke-width: 1; }
.iso-skid { fill: #333; }
.iso-shadow { fill: rgba(0,0,0,0.15); stroke: none; }

/* UI Elements */
.step-nav { display: flex; justify-content: space-between; margin-bottom: 25px; position: relative; }
.step-nav::after { content: ''; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: #e9ecef; z-index: 0; }
.step-btn { 
    width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #adb5bd; 
    color: #adb5bd; font-weight: bold; z-index: 1; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; cursor: pointer;
}
.step-btn:hover { border-color: var(--ts-dark); color: var(--ts-dark); }
.step-btn.active { border-color: var(--ts-dark); color: #fff; background: var(--ts-dark); }
.step-btn.done { border-color: var(--ts-accent); color: #fff; background: var(--ts-accent); }

/* Selection Cards */
.spec-card {
    border: 1px solid var(--ts-border); border-radius: 6px; padding: 10px; text-align: center; cursor: pointer; transition: 0.2s;
}
.spec-card:hover { border-color: var(--ts-dark); }
input:checked + .spec-card { border-color: var(--ts-accent); background-color: rgba(0, 11, 120, 0.1); color: var(--ts-accent); font-weight: bold; }

/* Color Swatches */
.color-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #dee2e6; cursor: pointer; display: inline-block; margin-right: 5px; }
input:checked + .color-swatch { border-color: var(--ts-accent); transform: scale(1.1); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

/* Spec Table */
.spec-table td { padding: 3px 5px; font-size: 0.8rem; border-bottom: 1px solid #eee; }
.spec-table td:first-child { font-weight: 600; color: #6c757d; }
.spec-table td:last-child { text-align: right; font-weight: 700; color: var(--ts-dark); }

/* Options List */
.opt-group-title { font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: #adb5bd; margin-top: 10px; letter-spacing: 1px; }
.form-check-label { font-size: 0.9rem; }

/* Gravity Forms Overrides to fit panel */
.gform_wrapper { margin: 0 !important; }
.gform_wrapper input[type=text], .gform_wrapper input[type=email], .gform_wrapper textarea { font-size: 14px !important; padding: 8px !important; }
.gform_footer { padding: 0 !important; margin-top: 10px !important; }

#field_3_6, #field_3_7, #field_3_9 { display: none; }

справление для поля Name в Gravity Forms внутри узкой колонки */
#input_3_1.gform-grid-row {
    display: flex;
    flex-direction: column; /* Ставим поля друг под друга */
    gap: 10px; /* Отступ между ними */
}

#input_3_1 .gform-grid-col {
    width: 100% !important; /* Контейнер First/Last на всю ширину */
    flex: 0 0 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
}

#input_3_1 input[type="text"] {
    width: 100% !important; /* Сам инпут на всю ширину */
    box-sizing: border-box;
}

#gform_wrapper_3 .gform_footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

/* На случай, если float-left мешает (сбрасываем его) */
#gform_submit_button_3 {
    float: none !important;
}	
#trim-1, #trim-2, #trim-3, #trim-4, #trim-5, #trim-6, #trim-7, #trim-8,
#main-1, #main-2, #main-3, #main-4, #main-5, #main-6, #main-7, #main-8 {	
	mix-blend-mode: multiply;
	opacity: .7;
}

/* 1. Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--ts-gray);
}

/* 2. Для Webkit (Chrome, Edge, Safari) */

/* Ширина (для вертикального) и высота (для горизонтального) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Фон (трек) */
::-webkit-scrollbar-track {
    background: var(--ts-gray);
}

/* Ползунок (сам скролл) */
::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 4px; /* Скругление краев, можно убрать если нужно квадратно */
    border: 1px solid var(--ts-gray); /* Небольшой отступ от края, если хочется */
}

/* Ползунок при наведении (опционально, можно сделать чуть темнее) */
::-webkit-scrollbar-thumb:hover {
    opacity: 0.8; 
}



.imp-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 в ряд на мобильном */
    gap: 15px;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .imp-color-grid {
        grid-template-columns: repeat(8, 1fr); /* 8 в ряд на десктопе */
    }
}

.imp-color-wrapper {
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2;
}

.imp-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Круглые свотчи */
    border: 1px solid #dee2e6;
    margin: 0 auto 5px auto;
    background-color: #eee; /* Цвет по умолчанию, если класс не найден */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-white-white { background-color: #eff0f0; }
.color-charcoal { background-color: #726a67; }
.color-stone-grey { background-color: #c1b8af; }
.color-black { background-color: #323931; }
.color-buckskin { background-color: #83766b; }
.color-dark-red { background-color: #89031c; }
.color-heron-blue { background-color: #004264; }
.color-frontier { background: url(frontier.jpg); background-size: cover; background-repeat: no-repeat; }
.color-espresso { background: url(espresso.jpg); background-size: cover; background-repeat: no-repeat; }
.color-galvalume { background: url(galvalume.jpg); background-size: cover; background-repeat: no-repeat; }
.color-regal-white { background-color: #e5e9ec; }
.color-old-town-zinc { background-color: #828e8c; }
.color-old-zinc-grey { background-color: #7e7f7a; }
.color-weathered-copper { background-color: #6b5b4b; }
.color-sierra-tan { background-color: #ad9f85; }
.color-parchment { background-color: #d0d1c9; }
.color-champagne-metallic { background: url(champagne-metallic.jpg); background-size: cover; background-repeat: no-repeat; }
.color-mocha { background-color: #726555; }
.color-bronze { background-color: #585246; }
.color-ash-grey { background-color: #b1b0a5; }
.color-dark-bronze { background-color: #474036; }
.color-copper-penny { background: url(copper-penny.jpg); background-size: cover; background-repeat: no-repeat; }
.color-terra-cotta { background-color: #925a49; }
.color-colonial-red { background-color: #74483f; }
.color-retro-red { background-color: #963e3a; }
.color-hemlock-green { background-color: #5f7664; }
.color-forest-green { background-color: #36483c; }
.color-hatford-green { background-color: #3e4e43; }
.color-silver-metallic { background: url(silver-metallic.jpg); background-size: cover; background-repeat: no-repeat; }
.color-twilight-blue { background-color: #5a6171; }
.color-regal-blue { background-color: #3c4b60; }
.color-weathered-zinc { background: url(weathered-zinc.jpg); background-size: cover; background-repeat: no-repeat; }
.color-old-town-gray { background-color: #828e8c; }
.color-slate-grey { background-color: #5a5c5b; }

.slider-imp {
	object-fit: cover; min-height: 50vh;
}
@media all and (min-width: 980px) {
	.imp-item div {
		max-height: 600px;
	}
}

.imp-text-center ul,
.imp-text-center h2 {
	padding-left: 6rem;
	padding-right: 6rem;
}

/* Плавное изменение тени при наведении */
.hover-shadow {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    transform: translateY(-5px); /* Легкий подъем карточки */
}


/* Секция */
.features-block {
    overflow: hidden; /* Чтобы анимация не вызывала гориз. скролл */
}

/* Сама карточка */
.feature-card {
    background-color: var(--card-bg);
    border-radius: 4px; /* Легкое скругление, как на макете */
    padding: 40px 20px;
    text-align: center;
    height: 100%; /* Растягивает карточку на всю высоту колонки */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Центрирует содержимое по вертикали */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Ховер эффект */
.feature-card:hover {
    background-color: var(--card-bg-hover);
    transform: translateY(-5px); /* Легкое всплытие */
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.1); /* Тень в цвет текста */
}

/* Иконка */
.feature-icon-wrapper {
    margin-bottom: 20px;
    height: 80px; /* Фиксированная высота для иконки */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper img {
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    /* Если ваши иконки черные, этот фильтр сделает их темно-синими. 
       Если иконки уже синие - уберите эту строку. */
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.4);
}

/* Заголовок */
.feature-card h3 {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Описание (если нужно) */
.feature-card p {
    color: var(--text-desc);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Анимация появления (Fade In Up) --- */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.list-section h2 {
	position: relative;
	margin-top: 60px;
}

.list-section h2::before {
    content: attr(data-prefrace);
    display: block; 
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
	letter-spacing: 3px;
}

.list-section h2::after {
    content: "";
    display: block;
    width: 4px;
    height: 40px;
    background: #fff;
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

.list-icon-wrapper img {
	filter: grayscale(10) brightness(100);
}

/* Сетка галереи */
.random-masonry {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 300px); 
    grid-auto-flow: dense; 
    align-items: start;
    gap: 15px;
    max-height: 930px; 
    overflow: hidden;
}

.masonry-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Оверлей */
.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gallery-overlay img {
    position: relative;
    z-index: 9998;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-overlay.active img {
    transform: scale(1);
}

/* Навигационные зоны и стрелки */
.nav-zone {
    position: absolute;
    top: 0;
    height: 100%;
    width: 30%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 3.5rem;
    transition: all 0.3s ease;
}

.nav-zone i {
    pointer-events: none;
}

.nav-zone:hover {
    color: #fff;
}

.left-zone { left: 0; cursor: pointer; }
.right-zone { right: 0; cursor: pointer; }

.close-overlay {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
}

/* Адаптив */
@media (max-width: 768px) {
    .random-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-height: none;
    }
    .masonry-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 250px;
    }
    .nav-zone { width: 20%; font-size: 2.5rem; }
}

.slider-example-split-line {
	--divider-width: 4px;
	--divider-color: var(--primary);
	--default-handle-opacity: 1;
}

.before,
.after {
	margin: 0;
}

.before figcaption {
	background: #fff;
	border: 1px solid #c0c0c0;
	border-radius: 12px;
	color: #2e3452;
	opacity: 0.8;
	padding: 12px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	line-height: 1.5;
	width: 40%;
	left: 7.5% !important;
	right: auto !important;
}

.after figcaption {
	background: #fff;
	border: 1px solid #c0c0c0;
	border-radius: 12px;
	color: #2e3452;
	opacity: 0.8;
	padding: 12px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	line-height: 1.5;
	width: 40%;
	left: auto !important;
	right: 7.5% !important;
}

.before figcaption {
	left: 12px;
}

.after figcaption {
	right: 12px;
}  

.coloured-slider {
	--divider-color: var(--primary);
	--default-handle-color: var(--primary);
	outline: none;
	cursor: col-resize;
}

.child-page-thumb {
    position: relative;
    min-height: 10vw;
    height: 10vw; /* Чтобы блок имел фиксированную высоту для центрирования */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa; /* Опционально: фон, если картинка узкая */
}

@media all and (max-width: 980px) {
	.child-page-thumb {
		height: 40vh;
		min-height: 40vh;
	}
}
.child-page-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.child-page-thumb img {
    /* Перекрываем стандартные свойства img-fluid */
    width: auto !important;
    min-width: 100%;
    height: 100% !important;
    max-width: none !important;
    
    /* Эффект cover */
    object-fit: cover;
    object-position: center;
    
    /* Центрирование внутри flex-контейнера */
    display: block;
}

.cycle-controls-button.cycle-prev {
	position: absolute;
	top: 50%;
	left: 1rem;
	z-index: 10001;
	font-size: 20px;
}

.cycle-controls-button.cycle-next {
	position: absolute;
	top: 50%;
	right: 1rem;
	z-index: 10001;
	font-size: 20px;
}

.architectural-pager {
	display: block;
	text-align: center;
	margin: 1rem 0;
}

.architectural-pager span {
	width: 20px;
	height: 20px;
	display: inline-block;
	margin: 0 .2rem;
	color: transparent;
	background: #ddd;
	border-radius: 50%;
	cursor: pointer;
}

.architectural-pager span.cycle-pager-active {
	background:#999;
}

.feature-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
    background: #fff;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: #007bff; /* Или ваш фирменный цвет */
}
.feature-icon img {
    /* Фильтр, если нужно сделать иконки темными/цветными через CSS */
    opacity: 0.9;
}

	.standalone-thumbnail > div {
		width: 100%;
		height: 25rem;
		overflow: hidden;
	}

@media all and (max-width: 960px) {
	.standalone-thumbnail > div {
		width: 100%;
		height: 50vh;
		overflow: hidden;
	}
}

.standalone-thumbnail div img {
    /* Перекрываем стандартные свойства img-fluid */
    width: auto !important;
    min-width: 100%;
    height: 100% !important;
    max-width: none !important;
    
    /* Эффект cover */
    object-fit: cover;
    object-position: center;
    
    /* Центрирование внутри flex-контейнера */
    display: block;
}


@media all and (min-width: 766px) and (max-width: 2060px){
	.child-page-content {
		display: block !Important;
		text-align: left;
	}
}

@media all and (min-width: 766px) and (max-width: 1656px){
	.page-size {
		white-space: normal !important;
	}
}

@media all and (min-width: 766px) and (max-width: 1200px){
	.child-page-content,
	.page-size {
		font-size: 90%;
	}
}

.gfield_label.gform-field-label {
    font-size: 1.25rem;
}

.zoomContainer {
	z-index: 11000;
}

@media all and (min-width: 961px) {
	.zoomContainer {
		overflow: visible !important;
	}
}