/* === FONTS === */
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-light-trial.otf') format('opentype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-light-italic-trial.otf') format('opentype');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-regular-trial.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-regular-italic-trial.otf') format('opentype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-medium-trial.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-medium-italic-trial.otf') format('opentype');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-bold-trial.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-bold-italic-trial.otf') format('opentype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-black.otf') format('opentype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport';
	src: url('../fonts/Aeroport-black-italic.otf') format('opentype');
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Aeroport Mono';
	src: url('../fonts/Aeroport-monospaced-trial.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* === VARIABLES === */
:root {
	--color-red:        #e3000f;
	--color-red-hover:  #ff4652;
	--color-black:      #1a1a1a;
	--color-white:      #ffffff;
	--color-gray:       #979797;
	--color-gray-dark:  #313131;
	--color-gray-light: #f6f6f6;
	--color-border:     #d9d9d9;
	--color-border-2:     #EDEDED;

	--font-regular: 'Montserrat', sans-serif;
	--font-medium:  'Montserrat', sans-serif;
	--font-bold:    'Montserrat', sans-serif;

	--container-width: 1480px;
	--container-px:    20px;
	--section-py:      80px;
	--section-mobile-py:      40px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* === BASE === */
body {
	font-family: var(--font-regular), serif;
	font-weight: 300;
	font-size: 16px;
	color: var(--color-black);
	background: var(--color-white);
	line-height: 1.3;
}

.container {
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--container-px);
}

/* === BUTTONS === */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-medium);
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1;
	border-radius: 4px;
	padding: 15px 20px;
	transition: background .2s, color .2s, border-color .2s;
	/*white-space: nowrap;*/
}

.btn--stroke-red {
	border: 1px solid var(--color-red);
	color: var(--color-black);
	background: transparent;
}
.btn--stroke-red:hover {
	background: var(--color-red);
	color: var(--color-white);
}

.btn--fill-red {
	background: var(--color-red);
	color: var(--color-white);
	border: 1px solid var(--color-red);
}
.btn--fill-red:hover { background: var(--color-red-hover); border-color: var(--color-red-hover); }

.btn--stroke-white {
	border: 1px solid var(--color-white);
	color: var(--color-white);
	background: transparent;
}
.btn--stroke-white:hover { background: var(--color-white); color: var(--color-black); }

.btn--big { font-size: 18px; padding: 20px 30px; }

/* === SECTION TITLE === */
.section-title {
	font-family: var(--font-bold);
	font-size: clamp(32px, 3vw, 48px);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-black);
	margin-bottom: 20px;
}

.section-cta { margin-top: 40px; text-align: center; }

/* ================================================ */
/* HEADER                                           */
/* ================================================ */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--color-white); }

.header-top .container {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-block: 18px;
}

/* Logo */
.header-logo {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
}

.header-logo__brand a,
.header-logo__brand .custom-logo-link { display: flex; align-items: center; }
.header-logo__brand img { height: 56px; width: auto; display: block; }
.logo-text {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-black);
	line-height: 1.2;
}

.header-logo__sep {
	display: block;
	width: 1px;
	height: 40px;
	background: var(--color-border);
	flex-shrink: 0;
}

.header-logo__tagline {
	font-size: 16px;
	color: var(--color-gray);
	line-height: 1.35;
	max-width: 130px;
}

/* Right block */
.header-top__right {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
}

/* Language switcher */
.header-lang { display: flex; align-items: center; }

.lang-switcher { display: flex; gap: 4px; }
.lang-switcher__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-black);
	transition: background .2s, color .2s, border-color .2s;
}
.lang-switcher__item.is-active,
.lang-switcher__item:hover { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); }

/* Polylang widget inside header-lang */
.header-lang .widget { margin: 0; }
.header-lang .wp-block-navigation,
.header-lang ul { display: flex; gap: 4px; list-style: none; }
.header-lang a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-black);
	transition: background .2s, color .2s;
}
.header-lang .current-lang a,
.header-lang a:hover { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); }

/* Phone widget areas */
.header-phone-wrap { display: flex; align-items: center; }
.header-phone-wrap .widget { margin: 0; }

.header-phone { display: flex; flex-direction: column; gap: 3px; }
.header-phone__label {

	font-size: 16px; color: var(--color-gray); line-height: 1;


}
.header-phone__number {
	font-size: 17px;
	font-weight: 600;
	color: var(--color-black);
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .2s;
}
.header-phone__number:hover { color: var(--color-red); }

/* Phone widget custom HTML fallback styles */
.header-phone-wrap p { margin: 0; }

.header-top__cta { flex-shrink: 0; }

/* ── NAV ──────────────────────────────────────────── */
.site-nav { background: var(--color-red); }

.site-nav .container {
	display: flex;
	padding-block: 0;
}

.site-nav ul {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav li { flex: 1; }

.site-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 62px;
	padding-inline: 12px;
	font-size: 15px;
	/*font-weight: 700;*/
	text-transform: uppercase;
	color: var(--color-white);
	text-align: center;
	transition: background .2s;
	white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a { background: rgba(0,0,0,.2); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; flex-shrink: 0; }
.burger span { display: block; width: 24px; height: 2px; background: var(--color-black); }

/* ================================================ */
/* HERO                                             */
/* ================================================ */
.section-hero {
	position: relative;
	min-height: 100svh;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.5);
	pointer-events: none;
}

/* Decorative geometric element (brand mark) — right side */
.section-hero__deco {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 360px;
	pointer-events: none;
	z-index: 1;
}
.section-hero__deco img { width: 100%; }

/* Centered content block */
.section-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
	max-width: 860px;
	padding-block: 80px;
	text-align: center;
}

.section-hero__title {
	font-family: var(--font-bold);
	font-size: clamp(32px, 5vw, 60px);
	font-weight: 700;
	line-height: 1;
	color: var(--color-white);
}

.section-hero__subtitle {
	font-size: 18px;
	line-height: 1.3;
	color: var(--color-white);
	max-width: 440px;
}

.section-hero__btns {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

/* ================================================ */
/* ADVANTAGES                                       */
/* ================================================ */
/* ================================================ */
/* ADVANTAGES                                       */
/* ================================================ */
.section-advantages {

}


.advantages-list {
	display: flex;
	max-width: var(--container-width);
	min-height: 140px;
	margin: 0 auto;

}

.advantages-item {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1 0 0;
	min-width: 0;
	padding: 15px;
	border-right: 1px solid #cecece;
	border-top: 1px solid #cecece;
	border-bottom: 1px solid #cecece;
	justify-content: center;
}

.advantages-item:first-child {
	border-left: 1px solid #cecece;
}

/* Circular red background for icon */
.advantages-item__icon {
	flex-shrink: 0;
	width: 61px;
	height: 68px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.advantages-item__icon::before {
	content: '';
	position: absolute;
	inset: 50% auto auto 50%;
	translate: -50% -50%;
	width: 59px;
	height: 59px;
	background: var(--color-red);
	border-radius: 50%;
}
.advantages-item__icon img {
	position: relative;
	z-index: 1;
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.advantages-item__text {
	font-size: 20px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--color-black);
}

@media (max-width: 900px) {
	.advantages-list { flex-wrap: wrap; }
	.advantages-item { flex: 1 0 50%; border-left: 1px solid #cecece; }
}

@media (max-width: 480px) {
	.section-advantages {
		border-top: transparent;
		border-bottom: transparent;
		padding: 20px;
	}

	.advantages-list {
		flex-wrap: wrap;
		gap: 10px;
	}

	.advantages-item {
		flex: 1 0 47%;
		padding: 10px 10px;
		flex-direction: column;
		align-items: start;
		border: 1px solid #cecece;

	}
	.advantages-item__text{
		font-size: 16px;
	}


}

/* ================================================ */
/* PRODUCTS — WINDOWS & DOORS                       */
/* ================================================ */
/* WINDOWS & DOORS                                  */
/* ================================================ */
.section-windows-doors {
	padding-block: var(--section-py);
	display: flex;
	flex-direction: column;
}
.section-windows-doors .container {
	display: flex;
	flex-direction: column;

}

/* 3-column grid, 2 rows */
.wd-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

/* Card — fixed 520px height, image fills it */
.wd-card {
	position: relative;
	display: block;
	height: 520px;
	overflow: hidden;
}

.wd-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.wd-card:hover .wd-card__img { transform: scale(1.04); }

/* Always-visible dark overlay */
.wd-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
}

/* Text block pinned to bottom */
.wd-card__body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	z-index: 1;
}

.wd-card__title {
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-white);
	line-height: 1;
}

.wd-card__desc {
	font-size: 16px;
	line-height: 1.3;
	color: var(--color-white);
	font-weight: 400;

}

/* Grey info block */
.wd-info {
	margin-top: 40px;
	background: var(--color-gray-light);
	border-radius: 4px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wd-info__title {
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-black);
	line-height: 1.2;
}

.wd-info__text {
	font-size: 16px;
	line-height: 1.3;
	color: var(--color-black);
}
.wd-info__text p { margin-bottom: 1em; }
.wd-info__text p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
	.wd-grid { grid-template-columns: repeat(2, 1fr); }
	.wd-card { height: 400px; }
}
@media (max-width: 600px) {
	.wd-grid { grid-template-columns: 1fr; }
	.wd-card { height: 320px; }
}

/* ================================================ */
/* GLASS PACKAGES                                   */
/* ================================================ */
.section-glass-packages { padding-block: var(--section-py); background:#000; }
.section-glass-packages .section-title { color: var(--color-white); }

.packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 30px;
}

.package-card { border-radius: 4px; overflow: hidden; }

.package-card__image { aspect-ratio: 4/3; overflow: hidden; background: var(--color-white); }
.package-card__image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }

.package-card__body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }

.package-card__title {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-white);
}

.package-specs { display: flex; flex-direction: column; }

.package-specs__row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding-block: 12px;
	border-bottom: 1px solid var(--color-gray-dark);
	font-size: 15px;
	color: var(--color-gray);
}
.package-specs__label { flex: 1; }
.package-specs__value { flex-shrink: 0; font-weight: 500; }
.package-specs__row:last-child { border-bottom: none; }

/* ================================================ */
/* MARQUEE                                          */
/* ================================================ */
.section-marquee { overflow: hidden; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.marquee-track {
	display: flex;
	width: max-content;
	animation: marquee-scroll 25s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.marquee-item {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 30px 40px;
	font-size: 48px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 0.5px var(--color-border)
}

.marquee-item::after {
	content: '·';
	font-weight: 400;
}

@keyframes marquee-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ================================================ */
/* GLASS STRUCTURES                                 */
/* ================================================ */
.section-glass-structures { padding-block: var(--section-py); }

.structures-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.structure-card { display: flex; flex-direction: column; gap: 28px; }

.structure-card__image { aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.structure-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.structure-card:hover .structure-card__image img { transform: scale(1.04); }

.structure-card__body { display: flex; flex-direction: column; gap: 20px; }

.structure-card__name { font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--color-black); }

.structure-card__desc { font-size: 16px; line-height: 1.25; color: var(--color-gray); }

/* ================================================ */
/* HOW WE WORK                                      */
/* ================================================ */
.section-how-we-work { padding-block: var(--section-py); background: var(--color-white); }

.how-we-work__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 120px;
	align-items: stretch;
	padding-top: 20px;
}

/* Image column */
.how-we-work__image {
	position: relative;
	aspect-ratio:  712 / 615;
}

.how-we-work__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	--slice: 70px;
	clip-path:polygon(0 0, calc(100% - var(--slice)) 0, 100% var(--slice), 100% 100%, var(--slice) 100%, 0 calc(100% - var(--slice)));
}

/* White corner masks — top-right and bottom-left */
/*.how-we-work__image::before,
.how-we-work__image::after {
	content: '';
	position: absolute;
	width: 96px;
	height: 96px;
	background: var(--color-white);
	z-index: 1;
}
.how-we-work__image::before { top: 0; right: 0; }
.how-we-work__image::after  { bottom: 0; left: 0; }*/

/* Red circle CTA */
.hww-cta {
	position: absolute;
	top: 50%;
	right: -88px;
	transform: translateY(-50%);
	width: 176px;
	height: 176px;
	border-radius: 50%;
	background: var(--color-red);
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.5;
	padding: 24px;
	transition: background .2s;
	cursor: pointer;
	z-index: 2;
}
.hww-cta:hover { background: var(--color-red-hover); }

/* Steps list */
.how-we-work__steps { display: flex; flex-direction: column; gap: 28px; list-style: none;     justify-content: space-between; }

.work-step {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.work-step__icon {
	width: 65px;
	height: 65px;
	border-radius: 50%;
	background: var(--color-black);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.work-step__icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.lined{
	border-bottom: 1px solid #ededed;
}

.work-step__content { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; }
.work-step__title { font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.work-step__desc { font-size: 14px; color: var(--color-gray); line-height: 1.55; }

/* ================================================ */
/* PORTFOLIO                                        */
/* ================================================ */
.section-portfolio { padding-block: var(--section-py); background: var(--color-gray-light); }

.portfolio-swiper {
	overflow: hidden;
	position: relative;
	padding-top: 20px;
}

.portfolio-swiper .swiper-slide {
	width: 26%;
	opacity: 0.35;
	transition: opacity .4s;
}

.portfolio-swiper .swiper-slide-prev,
.portfolio-swiper .swiper-slide-active,
.portfolio-swiper .swiper-slide-next,
.portfolio-swiper .swiper-slide-duplicate-prev,
.portfolio-swiper .swiper-slide-duplicate-active,
.portfolio-swiper .swiper-slide-duplicate-next { opacity: 1; }

.portfolio-slide__image { aspect-ratio: 3/4; overflow: hidden; cursor: zoom-in; }
.portfolio-slide__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lightbox */
.portfolio-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0,0,0,.88);
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.portfolio-lightbox.is-open { display: flex; }
.portfolio-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 2px;
}
.portfolio-lightbox__close {
	position: fixed;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.15);
	border: none;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s;
}
.portfolio-lightbox__close:hover { background: rgba(255,255,255,.3); }

.portfolio-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 52px; height: 52px;
	border-radius: 50%;
	border: none;
	background: var(--color-white);
	box-shadow: 0 2px 16px rgba(0,0,0,.18);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: background .2s, color .2s;
	color: var(--color-black);
}
.portfolio-nav:hover { background: var(--color-red); color: var(--color-white); }
.portfolio-nav.swiper-button-disabled { opacity: .35; cursor: default; }
.portfolio-nav--prev { left: 8%; }
.portfolio-nav--next { right: 8%; }

.section-cta--row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ================================================ */
/* CLIENTS                                          */
/* ================================================ */
.section-clients { padding-block: var(--section-py); background: white; }

.clients-slider {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content:space-around;
	margin-top: 40px;

}

.client-item { display: flex; align-items: center; justify-content: center; }
.client-item__logo { max-height: 60px; max-width: 160px; object-fit: contain;  opacity: .6; transition: filter .3s, opacity .3s; }
.client-item:hover .client-item__logo { filter: none; opacity: 1; }

/* ================================================ */
/* ABOUT                                            */
/* ================================================ */
.section-about { padding-block: var(--section-py); }

.about__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.about__left { display: flex; flex-direction: column; gap: 24px; }

.about__title { margin-bottom: 0; }

.about__text { font-size: 16px; color: var(--color-gray-dark); line-height: 1.65; }
.about__text p + p { margin-top: 16px; }

.about__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.about-stat {
	background: var(--color-gray-light);
	padding: 32px 28px;
	min-width: 0;

	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.about-stat__value {
	font-size: clamp(48px, 5vw, 68px);
	font-weight: 700;
	color: var(--color-red);
	line-height: 1;
	white-space: nowrap;
	display: block;
}

.about-stat__label {
	font-size: 16px;
	color: var(--color-black);
	line-height: 1.3;
}

/* ================================================ */
/* FAQ                                              */
/* ================================================ */
.section-faq { padding-block: var(--section-py); background: var(--color-gray-light); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item { border-bottom: 1px solid var(--color-border); background: white;    padding: 0 15px; }

.faq-item__question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-block: 20px;
	font-size: 17px;
	font-weight: 500;
	text-align: left;
	color: var(--color-black);
}

.faq-item__icon {
	flex-shrink: 0;
	width: 24px; height: 24px;
	position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
	content: '';
	position: absolute;
	transition: transform .3s;
}
.faq-item__icon::before {
	width: 14px;
	height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7.4L0 1.4L1.4 0L6 4.6L10.6 0L12 1.4L6 7.4Z' fill='%231C1B1F'/%3E%3C/svg%3E%0A");
	background-size: contain;
	background-repeat: no-repeat;
}
.faq-item__question[aria-expanded="true"] .faq-item__icon::before  {
	transform: rotate(180deg);
}
.faq-item__answer {
	padding-bottom: 20px;
	font-size: 15px;
	color: var(--color-gray-dark);
	line-height: 1.6;
}
.faq-item__answer[hidden] { display: none; }

/* ================================================ */
/* FOOTER                                           */
/* ================================================ */
.site-footer { background: var(--color-black); color: var(--color-white); }

.footer-top .container {
	display: grid;
	grid-template-columns: 220px 1fr 1fr 1fr;
	gap: 60px;
	align-items: stretch;
	padding-block: 60px;
}

/* Brand */
.footer-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.footer-brand__top .custom-logo-link { display: flex; }
.footer-brand__top img { height: 56px; width: auto; }
.logo-text--white { font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--color-white); line-height: 1.2; }
.footer-brand__bottom { display: flex; flex-direction: column; gap: 6px; }
.footer-brand__privacy { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: underline; transition: color .2s; }
.footer-brand__privacy:hover { color: var(--color-white); }
.footer-brand__copy { font-size: 13px; color: rgba(255,255,255,.35); }

/* Nav */
.footer-nav { display: flex; flex-direction: column; gap: 16px; }
.footer-nav__title { font-size: 16px; letter-spacing: .05em; color: var(--color-gray); }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: 16px; text-transform: uppercase; color: var(--color-white); transition: color .2s, opacity .2s; }
.footer-nav a:hover { color: var(--color-red); opacity: 1; }

/* Phones */
.footer-phones { display: flex; flex-direction: column; gap: 24px; }
.footer-phones .header-phone__label { font-size: 16px; color: rgba(255,255,255,.5);     margin-bottom: 10px; }
.footer-phones .header-phone__number {
	font-size: 20px; font-weight: 400; color: var(--color-white); letter-spacing: -.02em;

}
.footer-phones .header-phone__number:hover { color: var(--color-red); }
.footer-phones .widget { margin: 0; }

/* Address */
.footer-address { display: flex; flex-direction: column; gap: 20px; }
.footer-address__group { display: flex; flex-direction: column; gap: 6px; }
.footer-address__label { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-gray); }
.footer-address__text { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; margin: 0; }
.footer-address__link { font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-address__link:hover { color: var(--color-red); }
.footer-address .footer-widget { margin: 0; }
.footer-address .footer-widget__title { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-gray); margin-bottom: 12px; }
.footer-address p { margin: 0; font-size: 18px; color: white; line-height: 1.6; }
.footer-address a { color: white; font-size: 18px; transition: color .2s; }
.footer-address a:hover { color: var(--color-red); }

/* Social icons */
.footer-social { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.footer-social__link {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,.7);
	transition: background .2s, border-color .2s, color .2s;
}
.footer-social__link svg{
	fill: #979797;
}
.footer-social__link:hover svg {
	fill: white;
}

/* ================================================ */
/* RESPONSIVE                                       */
/* ================================================ */
@media (max-width: 1200px) {
	:root { --container-px: 30px; }
	.structures-grid { grid-template-columns: repeat(2, 1fr); }
	/*.how-we-work__inner { grid-template-columns: 1fr; gap: 60px; }*/
	/*.hww-cta { right: 20px; transform: none; top: auto; bottom: -60px; }*/
	.how-we-work__image::before,
	.how-we-work__image::after { width: 60px; height: 60px; }
	.about__inner { grid-template-columns: 1fr; gap: 48px; }
	.footer-top .container { grid-template-columns: 1fr 1fr; gap: 40px; }
	.how-we-work__image {
		aspect-ratio: unset;
	}
}

@media (max-width: 980px) {
	.how-we-work__inner { grid-template-columns: 1fr; gap: 60px; }
}

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

@media (max-width: 768px) {
	:root {
		--section-py: 30px;
		--container-px: 16px; }

	.header-phone {
		align-items: flex-end;
	}
	.wd-info{
		padding: 20px;
	}

	/* Header */
	.header-top__right { display: none; }
	.burger { display: flex; margin-left: auto; }
	.site-nav { display: none; }
	.header-logo__sep,
	.header-logo__tagline { display: none; }

	/* Hero */
	.section-hero__deco { display: none; }
	.section-hero__inner { gap: 32px; padding-block: 60px; }
	.section-hero__btns { flex-direction: column; align-items: stretch; }
	.section-hero__btns .btn { text-align: center; }

	/* Marquee */
	.marquee-item { font-size: 28px; padding: 18px 20px; gap: 20px; }

	/* Portfolio slider — mobile */
	.portfolio-swiper .swiper-slide { width: 80%; }
	.portfolio-nav--prev { left: 8px; }
	.portfolio-nav--next { right: 8px; }

	/* Glass packages */
	.packages-grid { grid-template-columns: 1fr; }

	/* Glass structures */
	.structures-grid { grid-template-columns: 1fr; }

	/* How we work */
	.how-we-work__inner { gap: 24px; }
	.how-we-work__image::before,
	.how-we-work__image::after { display: none; }
	.hww-cta {
		width: 130px;
		height: 130px;
		font-size: 13px;
		padding: 16px;
		position: absolute;
		bottom: -50px; left: 50%;
		transform: translateX(-50%);
		border-radius: 50%;
		background: #cc1111;
		top: unset;
	}

	.how-we-work__image {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		margin-bottom: 50px;
		aspect-ratio: 4 / 4;
		top: unset;
	}

	.how-we-work__steps .work-step{
		border-top:  1px solid var(--color-border-2);
		padding: 14px 0 0;
	}

	/* About */
	.about-stat { padding: 24px 16px; }
	.about-stat__value { font-size: 40px; }

	.section-about{
		.about__inner{
			display: flex;
			flex-direction: column-reverse;
			padding-top: 30px;

		}


	}

	/* Footer */
	.footer-top .container { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 40px; }
	.footer-phones .header-phone__number { font-size: 20px; }

	.footer-phones{
		align-items: flex-start;

	}
	.footer-phones .header-phone{
		align-items: flex-start;
	}
}

/* ================================================ */
/* MODAL                                            */
/* ================================================ */
.modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.modal[hidden] { display: none; }

.modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .6);
	cursor: pointer;
}

.modal__window {
	position: relative;
	z-index: 1;
	background: var(--color-white);
	border-radius: 4px;
	width: 100%;
	max-width: 530px;
	padding: 50px 50px 60px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-height: 90svh;
	overflow-y: auto;
}

.modal__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-black);
	border-radius: 4px;
	transition: color .2s, background .2s;
}
.modal__close:hover { background: var(--color-gray-light); color: var(--color-red); }

.modal__header { display: flex; flex-direction: column; gap: 12px; }

.modal__title {
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-black);
	line-height: 1;
}

.modal__subtitle {
	font-size: 16px;
	color: var(--color-gray);
	line-height: 1.3;
}

/* ================================================ */
/* CF7 GENERIC FORM (.cf7-form)                    */
/* ================================================ */
.cf7-form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-field {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-field__label {
	font-size: 14px;
	color: var(--color-black);
	font-weight: 400;
	line-height: 1.4;
}

/* Error tip — right of the label */
.form-field .wpcf7-not-valid-tip {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--color-red);
	font-style: normal;
	pointer-events: none;
}

/* Inputs */
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	font-family: inherit;
	font-size: 15px;
	color: var(--color-black);
	background: var(--color-white);
	outline: none;
	appearance: none;
	transition: border-color .2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-gray); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--color-black); }

.form-field input.wpcf7-not-valid,
.form-field select.wpcf7-not-valid,
.form-field textarea.wpcf7-not-valid { border-color: var(--color-red); }

.form-field textarea { resize: vertical; min-height: 120px; }

/* Select arrow */
.form-field span:has(select) { position: relative; display: block; }
.form-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23979797' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}

/* Submit */
.cf7-form .wpcf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding-inline: 32px;
	background: var(--color-red);
	color: var(--color-white);
	border: none;
	border-radius: 4px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s;
	width: 100%;
}
.cf7-form .wpcf7-form input[type="submit"]:hover { background: var(--color-red-hover); }

/* Response */
.cf7-form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	border: none;
}
.cf7-form .wpcf7-mail-sent-ok { background: #e6f4ea; color: #1e7e34; }
.cf7-form .wpcf7-validation-errors,
.cf7-form .wpcf7-mail-sent-ng { background: #fdecea; color: #c62828; }

/* ── CF7 form styles inside modal ── */
.modal__body .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.modal__body .wpcf7-form p {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* All text/tel/select/textarea inputs */
.modal__body .wpcf7-form input[type="text"],
.modal__body .wpcf7-form input[type="tel"],
.modal__body .wpcf7-form input[type="email"],
.modal__body .wpcf7-form select,
.modal__body .wpcf7-form textarea {
	width: 100%;
	height: 52px;
	padding: 0 20px;
	font-family: var(--font-regular);
	font-size: 16px;
	color: var(--color-black);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 4px;
	outline: none;
	transition: border-color .2s;
	appearance: none;
}
.modal__body .wpcf7-form textarea {
	height: 100px;
	padding: 14px 20px;
	resize: vertical;
}
.modal__body .wpcf7-form input:focus,
.modal__body .wpcf7-form select:focus,
.modal__body .wpcf7-form textarea:focus { border-color: var(--color-black); }

.modal__body .wpcf7-form input.wpcf7-not-valid,
.modal__body .wpcf7-form select.wpcf7-not-valid,
.modal__body .wpcf7-form textarea.wpcf7-not-valid { border-color: var(--color-red); }

.modal__body .wpcf7-not-valid-tip {
	font-size: 13px;
	color: var(--color-red);
	margin-top: 4px;
	top: -30px;
}

.page-content form .wpcf7-response-output {
	margin: 0;
}

/* Select arrow */
.modal__body .wpcf7-form .wpcf7-select-wrap,
.modal__body .wpcf7-form span:has(select) {
	position: relative;
	display: block;
}
.modal__body .wpcf7-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23979797' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
	cursor: pointer;
}

/* Submit button */
.modal__body .wpcf7-form input[type="submit"] {
	height: 62px;
	background: var(--color-red);
	color: var(--color-white);
	border: 1px solid var(--color-red);
	font-family: var(--font-medium);
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	border-radius: 4px;
	cursor: pointer;
	transition: background .2s;
	margin-top: 10px;
}
.modal__body .wpcf7-form input[type="submit"]:hover { background: var(--color-red-hover); border-color: var(--color-red-hover); }

/* Response messages */
.modal__body .wpcf7-response-output {
	margin: 0;
	padding: 14px 20px;
	border-radius: 4px;
	font-size: 15px;
	border: none;
}
.modal__body .wpcf7-mail-sent-ok { background: #e6f4ea; color: #1e7e34; }
.modal__body .wpcf7-validation-errors,
.modal__body .wpcf7-mail-sent-ng { background: #fdecea; color: #c62828; }

/* Simple modal — narrower, 2 fields only */
.modal--simple .modal__window { max-width: 420px; padding: 50px 40px; }

/* body lock when modal open */
body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
	.modal__window { padding: 40px 24px 50px; }
	.modal__title { font-size: 22px; }
}

/* ================================================ */
/* СТАТИ ПАРТНЕРОМ                                  */
/* ================================================ */
.section-partner {
	background-color: var(--color-gray-dark);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding-block: 60px;
	background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("/wp-content/themes/kraftsklo/assets/images/form-bg.jpg");
	position: relative;




}

.section-partner__title {
	color: var(--color-white);
	margin-bottom: 32px;
}

/* CF7 form row */
.partner-form .wpcf7-form { display: contents; }

.partner-form__row {
	display: flex;
	align-items: flex-end;
	gap: 12px;
}

.partner-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 0;
	min-width: 0;
}

.partner-form__field label {
	font-size: 14px;
	color: var(--color-white);
	white-space: nowrap;
}

/* Inputs */
.partner-form .wpcf7-form input[type="text"],
.partner-form .wpcf7-form input[type="tel"],
.partner-form .wpcf7-form input[type="email"],
.partner-form .wpcf7-form select {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	font-family: var(--font-regular);
	font-size: 15px;
	color: var(--color-black);
	background: var(--color-white);
	border: 1px solid transparent;
	border-radius: 4px;
	outline: none;
	transition: border-color .2s;
	appearance: none;
}

.partner-form .wpcf7-form input:focus,
.partner-form .wpcf7-form select:focus { border-color: var(--color-red); }

.partner-form .wpcf7-form input.wpcf7-not-valid,
.partner-form .wpcf7-form select.wpcf7-not-valid { border-color: var(--color-red); }

/* Select arrow */
.partner-form .wpcf7-form span:has(select) { display: block; position: relative; }
.partner-form .wpcf7-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23979797' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}

/* Submit button */
.partner-form .wpcf7-form input[type="submit"] {
	height: 52px;
	padding: 0 24px;
	background: var(--color-red);
	color: var(--color-white);
	border: 1px solid var(--color-red);
	font-family: var(--font-medium);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	border-radius: 4px;
	cursor: pointer;
	transition: background .2s;
	white-space: nowrap;
	flex-shrink: 0;
}
.partner-form .wpcf7-form input[type="submit"]:hover { background: var(--color-red-hover); border-color: var(--color-red-hover); }

/* Validation */
.partner-form .wpcf7-not-valid-tip { font-size: 12px; color: #ff6b6b; margin-top: 4px; }

/* Note */
.partner-form__note {
	font-size: 13px;
	color: rgba(255,255,255,.5);
	margin-top: 16px;
}

/* Response */
.partner-form .wpcf7-response-output {
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	border: none;
	color: var(--color-white);
}
.partner-form .wpcf7-mail-sent-ok { background: rgba(30,126,52,.5); }
.partner-form .wpcf7-validation-errors,
.partner-form .wpcf7-mail-sent-ng { background: rgba(198,40,40,.4); }

@media (max-width: 1024px) {
	.partner-form__row { flex-wrap: wrap; }
	.partner-form__field { flex: 1 1 calc(50% - 6px); }
}

@media (max-width: 600px) {
	.partner-form__field { flex: 1 1 100%; }
	.partner-form .wpcf7-form input[type="submit"] { width: 100%; }
	.footer-top .container { grid-template-columns: 1fr; gap: 28px; }
}

/* ================================================ */
/* MOBILE MENU                                      */
/* ================================================ */
body.menu-open { overflow: hidden; }

.mobile-menu {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--color-white);
	flex-direction: column;
	overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }

/* Head row */
.mobile-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}

.mobile-menu__logo .custom-logo-link { display: flex; align-items: center; }
.mobile-menu__logo img { height: 48px; width: auto; }
.mobile-menu__logo .logo-text { font-size: 16px; font-weight: 700; text-transform: uppercase; }

.mobile-menu__head-actions { display: flex; align-items: center; gap: 8px; }

.mobile-menu__icon-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	color: var(--color-black);
	background: transparent;
	transition: background .2s, color .2s, border-color .2s;
}
.mobile-menu__icon-btn:hover {
	background: var(--color-black);
	color: var(--color-white);
	border-color: var(--color-black);
}

/* Nav */
.mobile-menu__nav { flex: 1; }
.mobile-menu__nav ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 20px;
	align-items: flex-end;
}

.mobile-menu__nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-black);
	transition: color .2s;
}
.mobile-menu__nav a:hover,
.mobile-menu__nav .current-menu-item > a { color: var(--color-red); }

/* Bottom block */
.mobile-menu__bottom {
	padding: 20px 16px 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-top: 1px solid var(--color-border);
	flex-shrink: 0;
	align-items: flex-end;
}

.mobile-menu__lang { display: flex; }

.mobile-menu__phones {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.mobile-menu__phones .header-phone__number { font-size: 20px; }

.mobile-menu__cta { width: 100%; justify-content: center; }