/* === page-home.css === */
/* Premium Hero Section Styles */
.hero-section-premium {
    position: relative;
    width: 100%;
    z-index: 1;
}

@keyframes kenBurnsEffect {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.08) translate(-1%, -0.5%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Premium Button Hover States */
.hero-cta .btn-primary:hover {
    background-color: var(--wp--preset--color--secondary) !important;
    color: var(--wp--preset--color--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(196, 165, 116, 0.3) !important;
}

.hero-cta .btn-secondary:hover {
    background-color: #ffffff !important;
    color: var(--wp--preset--color--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2) !important;
}

/* Catalog Card Hover Effects */
.catalog-grid--home {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .catalog-grid--home {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .catalog-grid--home .catalog-card:nth-child(n) {
        grid-column: auto;
    }
}

/* Full product photo in card — no crop */
.catalog-grid--home .catalog-card > div:first-child {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: #F3EEE6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-grid--home .catalog-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.catalog-grid--home .catalog-card {
    height: 100%;
}

.catalog-card-link {
    cursor: pointer;
}

.catalog-card-link:focus-visible {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 4px;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 43, 31, 0.08) !important;
    border-color: rgba(61, 43, 31, 0.1) !important;
}

.custom-card:hover img {
    transform: scale(1.05);
}

.card-arrow-btn:hover {
    background-color: var(--wp--preset--color--accent) !important;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .catalog-grid--home {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .catalog-grid--home .catalog-card:nth-child(n) {
        grid-column: auto !important;
    }
    .dark-card-wrapper {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 40px !important;
    }
    .dark-card-features {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        padding-top: 32px !important;
    }
    .cta-card-wrapper {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 40px !important;
    }
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }
    .hero-features-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .dark-card-wrapper, .cta-card-wrapper {
        padding: 32px 24px !important;
        border-radius: 24px !important;
    }
}

/* === portfolio-gallery.css === */
/* Portfolio Grid Styles */
.portfolio-gallery-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.portfolio-item {
    aspect-ratio: 4 / 5;
    position: relative;
    border: none;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background-color: rgba(61, 43, 31, 0.03);
    box-shadow: 0 4px 20px rgba(61, 43, 31, 0.05);
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
}

.portfolio-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 16px;
}

.portfolio-img-first {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-img-second {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.05);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(61, 43, 31, 0.12);
}

.portfolio-item:focus-visible {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 4px;
}

.portfolio-item:hover .portfolio-img-first {
    transform: scale(1.05);
}

.portfolio-item.has-second-image:hover .portfolio-img-first {
    opacity: 0;
    transform: scale(0.95);
}

.portfolio-item.has-second-image:hover .portfolio-img-second {
    opacity: 1;
    transform: scale(1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(61, 43, 31, 0.6), rgba(61, 43, 31, 0.1));
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card-meta {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.portfolio-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--serif);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(61, 43, 31, 0.18);
}

.portfolio-card-photos {
    color: #fff;
    font-family: var(--wp--preset--font-family--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(61, 43, 31, 0.72);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.portfolio-zoom-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--wp--preset--color--primary);
    box-shadow: 0 4px 14px rgba(61, 43, 31, 0.18);
    pointer-events: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.portfolio-zoom-badge svg {
    width: 18px;
    height: 18px;
}

.portfolio-item:hover .portfolio-zoom-badge,
.portfolio-item:focus-visible .portfolio-zoom-badge {
    transform: scale(1.08);
    background: var(--wp--preset--color--accent);
}

@media (max-width: 767px) {
    .portfolio-card-meta {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .portfolio-zoom-badge {
        opacity: 1;
    }
}

.zoom-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.portfolio-item:hover .zoom-icon {
    transform: scale(1.1) rotate(90deg);
}

.zoom-text {
    color: #fff;
    font-family: var(--wp--preset--font-family--sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product-modal {
		position: fixed;
		inset: 0;
		z-index: 999999;
		display: none;
		align-items: center;
		justify-content: center;
		padding: 24px;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.product-modal.active {
		display: flex;
		opacity: 1;
	}

	.product-modal__backdrop {
		position: absolute;
		inset: 0;
		background: rgba(61, 43, 31, 0.55);
	}

	.product-modal__dialog {
		position: relative;
		z-index: 1;
		width: min(1200px, 100%);
		max-height: calc(100vh - 32px);
		background: var(--wp--preset--color--beige, #F5F0E8);
		border-radius: 24px;
		overflow: hidden;
		border: 1px solid rgba(196, 165, 116, 0.28);
	}

	.product-modal__close {
		position: absolute;
		top: 16px;
		right: 16px;
		z-index: 3;
		width: 40px;
		height: 40px;
		border: none;
		border-radius: 50%;
		background: #ffffff;
		color: var(--wp--preset--color--primary);
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
		transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
	}

	.product-modal__close:hover {
		background: var(--wp--preset--color--accent);
		color: var(--wp--preset--color--primary);
		transform: scale(1.05);
	}

	.product-modal__layout {
		display: grid;
		grid-template-columns: 1.25fr 0.75fr;
		min-height: 560px;
	}

	.product-modal__gallery {
		background: rgba(255, 255, 255, 0.45);
		padding: 28px;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.product-modal__main {
		position: relative;
		flex: 1;
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 420px;
	}

	.product-modal__main-frame {
		position: relative;
		flex: 1;
		height: 100%;
		min-height: 420px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #ffffff;
		border-radius: 16px;
		overflow: hidden;
		border: 1px solid rgba(196, 165, 116, 0.22);
		cursor: zoom-in;
	}

	.product-modal__main-img {
		max-width: 100%;
		max-height: min(72vh, 680px);
		width: auto;
		height: auto;
		object-fit: contain;
		display: block;
		opacity: 0;
		transition: opacity 0.25s ease;
	}

	.product-modal__fullscreen {
		position: absolute;
		right: 12px;
		bottom: 12px;
		width: 40px;
		height: 40px;
		border: none;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.94);
		color: var(--wp--preset--color--primary);
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		box-shadow: 0 4px 14px rgba(61, 43, 31, 0.15);
		transition: background 0.2s ease, transform 0.2s ease;
	}

	.product-modal__fullscreen svg {
		width: 18px;
		height: 18px;
	}

	.product-modal__fullscreen:hover {
		background: var(--wp--preset--color--accent);
		transform: scale(1.05);
	}

	.product-modal__main-img.loaded {
		opacity: 1;
	}

	.product-modal__nav {
		flex-shrink: 0;
		width: 44px;
		height: 44px;
		border: 1px solid rgba(196, 165, 116, 0.35);
		border-radius: 50%;
		background: #ffffff;
		color: var(--wp--preset--color--primary);
		font-size: 22px;
		cursor: pointer;
		transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

	.product-modal__nav:hover {
		background: var(--wp--preset--color--accent);
		border-color: var(--wp--preset--color--accent);
		color: var(--wp--preset--color--primary);
		transform: scale(1.05);
	}

	.product-modal__nav.hidden {
		visibility: hidden;
		pointer-events: none;
	}

	.product-modal__thumbs {
		display: flex;
		gap: 12px;
		flex-wrap: wrap;
	}

	.product-modal__thumb {
		width: 88px;
		height: 88px;
		padding: 0;
		border: 2px solid rgba(61, 43, 31, 0.1);
		border-radius: 12px;
		overflow: hidden;
		background: #fff;
		cursor: pointer;
		transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	}

	.product-modal__thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.product-modal__thumb.active,
	.product-modal__thumb:hover {
		border-color: var(--wp--preset--color--accent);
		box-shadow: 0 4px 14px rgba(196, 165, 116, 0.35);
		transform: translateY(-2px);
	}

	.product-modal__info {
		padding: 44px 36px 40px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 20px;
		background: #ffffff;
		border-left: 1px solid rgba(196, 165, 116, 0.2);
	}

	.product-modal__title {
		font-family: var(--wp--preset--font-family--serif);
		font-size: 2rem;
		font-weight: 700;
		color: var(--wp--preset--color--primary);
		margin: 0;
		line-height: 1.2;
	}

	.product-modal__descr {
		font-family: var(--wp--preset--font-family--sans);
		font-size: 0.9375rem;
		color: var(--wp--preset--color--text);
		line-height: 1.7;
		opacity: 0.88;
		max-height: 280px;
		overflow-y: auto;
		padding-right: 8px;
		scrollbar-width: thin;
		scrollbar-color: rgba(196, 165, 116, 0.65) rgba(61, 43, 31, 0.06);
	}

	.product-modal__descr::-webkit-scrollbar {
		width: 6px;
	}

	.product-modal__descr::-webkit-scrollbar-track {
		background: rgba(61, 43, 31, 0.06);
		border-radius: 999px;
	}

	.product-modal__descr::-webkit-scrollbar-thumb {
		background: rgba(196, 165, 116, 0.75);
		border-radius: 999px;
	}

	.product-modal__descr p {
		margin: 0;
	}

	.product-modal__cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		align-self: flex-start;
		padding: 16px 36px;
		border-radius: 100px;
		background: var(--wp--preset--color--accent);
		color: var(--wp--preset--color--primary) !important;
		font-family: var(--wp--preset--font-family--sans);
		font-size: 0.875rem;
		font-weight: 700;
		letter-spacing: 1px;
		text-transform: uppercase;
		text-decoration: none;
		transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
		box-shadow: 0 8px 24px rgba(196, 165, 116, 0.35);
	}

	.product-modal__cta:hover {
		background: var(--wp--preset--color--primary);
		color: #ffffff !important;
		transform: translateY(-2px);
		box-shadow: 0 10px 28px rgba(61, 43, 31, 0.2);
	}

	@media (max-width: 900px) {
		.product-modal {
			padding: 12px;
		}

		.product-modal__dialog {
			max-height: calc(100vh - 24px);
			overflow-y: auto;
			display: flex;
			flex-direction: column;
		}

		.product-modal__layout {
			grid-template-columns: 1fr;
			min-height: auto;
			display: flex;
			flex-direction: column;
			flex: 1;
		}

		.product-modal__gallery {
			padding: 16px;
			gap: 12px;
			flex-shrink: 0;
		}

		.product-modal__main {
			min-height: auto;
			height: 280px;
		}

		.product-modal__main-frame {
			min-height: auto;
			height: 100%;
		}

		.product-modal__main-img {
			max-height: 100%;
			max-width: 100%;
			object-fit: contain;
		}

		.product-modal__thumbs {
			gap: 8px;
			justify-content: center;
		}

		.product-modal__thumb {
			width: 56px;
			height: 56px;
			border-radius: 8px;
		}

		.product-modal__info {
			padding: 20px 16px 24px;
			border-left: none;
			border-top: 1px solid rgba(196, 165, 116, 0.15);
			flex-grow: 1;
			display: flex;
			flex-direction: column;
			gap: 16px;
		}

		.product-modal__title {
			font-size: 1.5rem;
		}

		.product-modal__descr {
			max-height: none;
			overflow-y: visible;
			padding-right: 0;
			font-size: 0.875rem;
			line-height: 1.6;
		}

		.product-modal__cta {
			width: 100%;
			padding: 14px 24px;
			box-sizing: border-box;
		}
	}

	.portfolio-lightbox {
		position: fixed;
		inset: 0;
		z-index: 1000000;
		display: none;
		align-items: center;
		justify-content: center;
		padding: 24px;
		background: rgba(10, 8, 6, 0.92);
		opacity: 0;
		transition: opacity 0.25s ease;
	}

	.portfolio-lightbox.active {
		display: flex;
		opacity: 1;
	}

	.portfolio-lightbox__img {
		max-width: min(96vw, 1400px);
		max-height: 92vh;
		width: auto;
		height: auto;
		object-fit: contain;
		border-radius: 8px;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
		user-select: none;
	}

	.portfolio-lightbox__close {
		position: absolute;
		top: 20px;
		right: 20px;
		width: 44px;
		height: 44px;
		border: none;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.12);
		color: #fff;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
		transition: background 0.2s ease;
	}

	.portfolio-lightbox__close:hover {
		background: rgba(255, 255, 255, 0.22);
	}

	.portfolio-lightbox__nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 48px;
		height: 48px;
		border: 1px solid rgba(255, 255, 255, 0.25);
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
		font-size: 22px;
		cursor: pointer;
		transition: background 0.2s ease, border-color 0.2s ease;
	}

	.portfolio-lightbox__nav:hover {
		background: rgba(255, 255, 255, 0.18);
		border-color: rgba(255, 255, 255, 0.45);
	}

	.portfolio-lightbox__nav--prev {
		left: 20px;
	}

	.portfolio-lightbox__nav--next {
		right: 20px;
	}

	.portfolio-lightbox__nav.hidden {
		visibility: hidden;
		pointer-events: none;
	}

	@media (max-width: 767px) {
		.portfolio-lightbox__nav {
			width: 40px;
			height: 40px;
		}

		.portfolio-lightbox__nav--prev {
			left: 10px;
		}

		.portfolio-lightbox__nav--next {
			right: 10px;
		}
	}

/* === portfolio-cost-cta.css === */
.portfolio-cost-cta {
	grid-column: 1 / -1;
	margin: 12px 0 24px;
}

.portfolio-cost-cta--standalone {
	grid-column: auto;
	margin: 40px 0 0;
}

.portfolio-cost-cta__inner {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	padding: 40px 44px;
	border: 1px solid rgba(196, 165, 116, 0.22);
	box-shadow:
		0 24px 60px rgba(26, 20, 16, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.portfolio-cost-cta__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(125deg, rgba(26, 20, 16, 0.92) 0%, rgba(45, 32, 24, 0.88) 45%, rgba(26, 20, 16, 0.95) 100%),
		repeating-linear-gradient(
			90deg,
			#3d2b1f 0,
			#4a3628 16px,
			#5c4333 32px,
			#453326 48px,
			#6b5040 64px,
			#3f2e22 80px
		);
	background-size: 100% 100%, 96px 100%;
}

.portfolio-cost-cta__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(40px);
}

.portfolio-cost-cta__glow--left {
	width: 280px;
	height: 280px;
	top: -80px;
	left: -60px;
	background: radial-gradient(circle, rgba(196, 165, 116, 0.18) 0%, transparent 70%);
}

.portfolio-cost-cta__glow--right {
	width: 220px;
	height: 220px;
	bottom: -70px;
	right: 12%;
	background: radial-gradient(circle, rgba(196, 165, 116, 0.12) 0%, transparent 70%);
}

.portfolio-cost-cta__grain {
	position: absolute;
	inset: 0;
	opacity: 0.45;
	background-image:
		repeating-linear-gradient(
			0deg,
			rgba(255, 255, 255, 0.02) 0,
			rgba(255, 255, 255, 0.02) 1px,
			transparent 1px,
			transparent 6px
		),
		repeating-linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.04) 0,
			rgba(0, 0, 0, 0.04) 1px,
			transparent 1px,
			transparent 14px
		);
	pointer-events: none;
}

.portfolio-cost-cta__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 32px 40px;
}

.portfolio-cost-cta__decor {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: rgba(196, 165, 116, 0.1);
	border: 1px solid rgba(196, 165, 116, 0.28);
	color: var(--wp--preset--color--accent);
	flex-shrink: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-cost-cta__door-icon {
	width: 44px;
	height: auto;
	opacity: 0.9;
}

.portfolio-cost-cta__content {
	min-width: 0;
}

.portfolio-cost-cta__eyebrow {
	display: inline-block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin-bottom: 12px;
	padding-bottom: 6px;
	border-bottom: 2px solid rgba(196, 165, 116, 0.45);
}

.portfolio-cost-cta__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.625rem, 3vw, 2.125rem);
	color: #ffffff;
	margin: 0 0 12px;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.portfolio-cost-cta__title i {
	font-style: italic;
	color: rgba(255, 255, 255, 0.95);
}

.portfolio-cost-cta__subtitle {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.76);
	margin: 0 0 20px;
	line-height: 1.65;
	max-width: 520px;
}

.portfolio-cost-cta__perks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.portfolio-cost-cta__perks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
	letter-spacing: 0.02em;
}

.portfolio-cost-cta__perk-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(196, 165, 116, 0.18);
	color: var(--wp--preset--color--accent);
	flex-shrink: 0;
}

.portfolio-cost-cta__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.portfolio-cost-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 34px;
	border-radius: 100px;
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary) !important;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.25s ease, background-color 0.25s ease;
	box-shadow: 0 12px 28px rgba(196, 165, 116, 0.32);
}

.portfolio-cost-cta__btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(196, 165, 116, 0.42);
	background-color: #b89560;
}

.portfolio-cost-cta__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 12px;
	line-height: 1;
	transition: transform 0.25s ease;
}

.portfolio-cost-cta__btn:hover .portfolio-cost-cta__arrow {
	transform: translateX(2px);
}

.portfolio-cost-cta__note {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.48);
	text-align: center;
	max-width: 200px;
}

@media (max-width: 991px) {
	.portfolio-cost-cta__layout {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}

	.portfolio-cost-cta__decor {
		margin: 0 auto;
	}

	.portfolio-cost-cta__subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.portfolio-cost-cta__perks {
		justify-content: center;
	}

	.portfolio-cost-cta__action {
		width: 100%;
	}

	.portfolio-cost-cta__btn {
		width: 100%;
		max-width: 320px;
	}

	.portfolio-cost-cta__note {
		max-width: none;
	}
}

@media (max-width: 575px) {
	.portfolio-cost-cta__inner {
		padding: 28px 22px;
		border-radius: 24px;
	}

	.portfolio-cost-cta__perks {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}
}

/* === faq-section.css === */
.faq-section {
	background-color: var(--wp--preset--color--beige);
	padding: 80px 20px 64px;
	border-top: 1px solid rgba(61, 43, 31, 0.05);
}

.faq-section__container {
	max-width: 900px;
	margin: 0 auto;
}

.faq-section__header {
	text-align: center;
	margin-bottom: 40px;
}

.faq-section__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(2rem, 4vw, 2.5rem);
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
	font-weight: 700;
	line-height: 1.2;
}

.faq-section__subtitle {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	color: var(--wp--preset--color--text);
	line-height: 1.7;
	margin: 0;
	opacity: 0.85;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.faq-section__card {
	background: #ffffff;
	border-radius: 28px;
	border: 1px solid rgba(196, 165, 116, 0.18);
	box-shadow: 0 20px 50px rgba(61, 43, 31, 0.04);
	padding: 8px 28px;
}

.faq-item {
	border-bottom: 1px solid rgba(61, 43, 31, 0.08);
	padding: 4px 0;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-item__question {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(196, 165, 116, 0.15);
	position: relative;
	margin-top: 2px;
	transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: var(--wp--preset--color--accent);
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease;
}

.faq-item__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__title {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	color: var(--wp--preset--color--primary);
	margin: 0;
	font-weight: 600;
	line-height: 1.45;
}

.faq-item__answer {
	padding: 0 0 20px 42px;
}

.faq-item__answer p {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	color: var(--wp--preset--color--text);
	line-height: 1.7;
	margin: 0;
	opacity: 0.92;
}

@media (max-width: 575px) {
	.faq-section {
		padding: 64px 16px 80px;
	}

	.faq-section__card {
		padding: 4px 18px;
		border-radius: 22px;
	}

	.faq-item__answer {
		padding-left: 0;
	}
}

/* === contacts-section.css === */
.contacts-section {
	position: relative;
	min-height: 420px;
	background: #e8e4de;
	overflow: hidden;
}

.contacts-section__map {
	position: absolute;
	inset: 0;
	z-index: 0;
	filter: grayscale(1) contrast(0.95);
	opacity: 0.92;
}

.contacts-section__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.contacts-map-facade {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
	background: linear-gradient(135deg, #d9d2c8 0%, #c8bfb3 100%);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.contacts-map-facade__label {
	padding: 14px 24px;
	background: #fff;
	border-radius: 100px;
	box-shadow: 0 8px 24px rgba(61, 43, 31, 0.1);
}

.contacts-section__overlay {
	position: relative;
	z-index: 1;
	min-height: 420px;
	display: flex;
	align-items: center;
	padding: 48px 20px;
	pointer-events: none;
}

.contacts-section__container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.contacts-section__card {
	pointer-events: auto;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(61, 43, 31, 0.08);
	padding: 40px 44px;
	max-width: 420px;
}

.contacts-section__title {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.75rem;
	font-weight: 700;
	color: #111111;
	margin: 0 0 28px;
	line-height: 1.2;
}

.contacts-section__phone,
.contacts-section__email {
	margin: 0 0 12px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
}

.contacts-section__phone a,
.contacts-section__email a {
	color: #111111;
	text-decoration: none;
	transition: color 0.2s ease;
}

.contacts-section__phone a:hover,
.contacts-section__email a:hover {
	color: var(--wp--preset--color--accent);
}

.contacts-section__address {
	margin: 20px 0 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	color: #5A4030;
	line-height: 1.6;
	max-width: 320px;
}

@media (max-width: 767px) {
	.contacts-section,
	.contacts-section__overlay {
		min-height: 520px;
	}

	.contacts-section__overlay {
		align-items: flex-end;
		padding: 24px 16px 32px;
	}

	.contacts-section__card {
		max-width: none;
		width: 100%;
		padding: 28px 24px;
		border-radius: 16px;
	}

	.contacts-section__title {
		font-size: 1.5rem;
		margin-bottom: 20px;
	}
}

/* === quote-popup.css === */
.quote-popup {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.quote-popup[hidden] {
	display: none !important;
	pointer-events: none !important;
}

.quote-popup:not(.is-open) {
	pointer-events: none !important;
}

.quote-popup.is-open {
	display: flex;
}

.quote-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 20, 16, 0.62);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.quote-popup.is-open .quote-popup__overlay {
	opacity: 1;
}

.quote-popup__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
	background: #ffffff;
	border-radius: 28px;
	border: 1px solid rgba(196, 165, 116, 0.22);
	box-shadow: 0 28px 70px rgba(26, 20, 16, 0.18);
	padding: 40px 36px 32px;
	transform: translateY(16px) scale(0.98);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
}

.quote-popup.is-open .quote-popup__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.quote-popup__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: var(--wp--preset--color--beige);
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.quote-popup__close:hover {
	background: rgba(196, 165, 116, 0.22);
	transform: rotate(90deg);
}

.quote-popup__header {
	text-align: center;
	margin-bottom: 28px;
	padding-right: 28px;
}

.quote-popup__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.75rem, 4vw, 2rem);
	color: var(--wp--preset--color--primary);
	margin: 0 0 10px;
	font-weight: 700;
	line-height: 1.2;
}

.quote-popup__subtitle {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	color: var(--wp--preset--color--text);
	margin: 0;
	line-height: 1.55;
	opacity: 0.82;
}

.quote-popup__honeypot {
	display: none !important;
}

.quote-popup__form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.quote-popup__label {
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	margin-bottom: 8px;
}

.quote-popup__input {
	width: 100%;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid rgba(61, 43, 31, 0.15);
	border-radius: 12px;
	padding: 15px 16px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	color: var(--wp--preset--color--primary);
	margin-bottom: 16px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-popup__input::placeholder {
	color: #5A4030;
	opacity: 1;
}

.quote-popup__input:focus {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.2);
}

.quote-popup__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #5A4030;
	margin: 4px 0 20px;
}

.quote-popup__consent input {
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: #7A5C12;
}

.quote-popup__consent a {
	color: #7A5C12;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.quote-popup__submit {
	width: 100%;
	border: none;
	border-radius: 100px;
	padding: 16px 24px;
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	box-shadow: 0 10px 24px rgba(196, 165, 116, 0.28);
}

.quote-popup__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(196, 165, 116, 0.34);
	background-color: #b89560;
}

.quote-popup__submit:disabled {
	opacity: 0.75;
	cursor: wait;
	transform: none;
}

.quote-popup__note {
	margin: 18px 0 0;
	text-align: center;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	color: rgba(61, 43, 31, 0.55);
	line-height: 1.5;
}

body.quote-popup-open {
	overflow: hidden;
}

@media (max-width: 575px) {
	.quote-popup {
		padding: 12px;
		align-items: flex-end;
	}

	.quote-popup__dialog {
		border-radius: 24px 24px 20px 20px;
		padding: 32px 22px 24px;
		max-height: calc(100vh - 24px);
		overflow-y: auto;
	}
}

/* === messenger-widget.css === */
@keyframes widgetPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}
.messenger-widget.active .messenger-popup {
    display: flex !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
}
.messenger-widget.active .icon-chat {
    display: none !important;
}
.messenger-widget.active .icon-close {
    display: block !important;
    transform: rotate(90deg);
}
.messenger-widget.active .pulse-ring {
    animation: none !important;
    opacity: 0 !important;
}
.messenger-popup a:hover {
    transform: scale(1.03);
}
@media (max-width: 768px) {
    .messenger-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
}
