/*!
Theme Name: arbowindowsuk theme
Theme URI: https://them.es/starter
Author: them.es
Author URI: https://them.es/
Description: 
Version: 3.6.1
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: arbowindowsuk-theme
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* MY CSS */

/* ===================== */
/* NAVBAR  */
/* ===================== */

.hero-section {
	position: relative;
	width: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
	overflow: hidden;
}

#header {
	background-color: rgb(37, 37, 37, 0.5) !important;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	height: 80px;
}

#header.navbar {
	background-image: none !important;
}

#header.scrolled {
	background-color: #1B1F24 !important;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.hero-content {
	width: 90%;
	margin: 0 auto;
	text-align: center;
	z-index: 2;
}

.hero-front {
	min-height: 100vh;
}

/* IEKŠLAPU HERO – mazāks, ap 40% ekrāna augstuma */
.hero-inner {
	min-height: 40vh !important;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.hero-title {
	font-size: clamp(3rem, 5vw, 5rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.07em;
	text-align: center;
	color: #fff;
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.2),
		0 4px 8px rgba(0, 0, 0, 0.2);
	text-transform: uppercase;
}

.hero-subtitle {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	color: #fff;
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.6),
		0 3px 6px rgba(0, 0, 0, 0.3);
	letter-spacing: 0.01em;
	max-width: clamp(50%, 65vw, 85%);
	margin: auto;
}

.hero-series {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	/* margin-top: 12px; */
}

.hero-series-text {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	color: #fff;
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.6),
		0 3px 6px rgba(0, 0, 0, 0.3);
	letter-spacing: 0.01em;
}

.hero-series-sep {
	width: 4px;
	height: 35px;
	background: #fff;
	opacity: 0.8;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.6),
		0 3px 6px rgba(0, 0, 0, 0.3);
}


/* Telefoniem */
@media (max-width: 768px) {
	.hero-subtitle {
		max-width: 100%;
	}
}

.navbar-brand img {
	height: 65px !important;
}

@media (max-width: 768px) {
	.navbar-brand img {
		height: 55px !important;
	}
}

.navbar-brand {
	display: inline-block;
	padding-top: .3125rem;
	padding-bottom: .3125rem;
	padding-left: clamp(0.8rem, 3vw, 5.625rem);
	margin-right: 1rem;
	font-size: 1.25rem;
	line-height: inherit;
	white-space: nowrap;
}

@media (min-width: 992px) {
	.navbar .dropdown:hover>.dropdown-menu {
		display: block;
		margin-top: 0;
		opacity: 1;
		visibility: visible;
	}

	.navbar .dropdown .dropdown-menu {
		display: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease;
	}
}

/* Galvenie linki */
.navbar .nav-link {
	position: relative;
	color: #fff !important;
	text-decoration: none;
	/* text-transform: uppercase; */
	font-weight: 400;
	font-size: 1.125rem;
	letter-spacing: 0.05rem;
}

/* Underline sākumā – no centra, neredzama */
.navbar .nav-link::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -4px;
	/* ja vajag tuvāk tekstam, pamaini uz -2px, -1px, utt. */
	width: 0;
	height: 3px;
	background-color: #5e9852 !important;
	transform: translateX(-50%);
	transition: width 0.3s ease;
}

/* Hover – līnija izaug uz malām */
.navbar .nav-link:hover::after {
	width: 100% !important;
}

/* Aktīvā lapa – līnija vienmēr redzama */
.navbar .current-menu-item>.nav-link::after {
	width: 100% !important;
}

/* Noņemam caret stilu no dropdown toggle, bet atstājam ::after dzīvu */
.navbar .dropdown-toggle::after {
	border: none !important;
	margin: 0 !important;
}

/* ===================== */
/* NAV – DROPDOWN STYLE  */
/* ===================== */

/* 1) dropdown fons + burti */
.navbar .dropdown-menu {
	margin-top: 3px !important;
	border-radius: 0 !important;
	padding: 0 !important;

	background: #1B1F24 !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.navbar .dropdown-menu .dropdown-item {
	text-transform: uppercase;
	padding: 9px 12px;
	font-size: 0.8125rem;

	color: #ffffff !important;
	background: transparent !important;
}

/* hover */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #ffffff !important;
}

/* 2) lai 2. līmeņa dropdown (child) parādās sānā, nevis uz dropdown virsū */
@media (min-width: 992px) {

	/* svarīgi: lai child pozicionējas pret savu parent <li> */
	.navbar .dropdown-menu li {
		position: relative;
	}

	/* child dropdown (dropdown iekš dropdown) */
	.navbar .dropdown-menu .dropdown-menu {
		top: -1px;
		left: 100%;
		margin-top: 0 !important;
		margin-left: 0 !important;

		background: #1B1F24 !important;
		border: 1px solid rgba(255, 255, 255, 0.08) !important;
		border-radius: 0 !important;
		padding: 0 !important;

		/* lai neiet virsū parentam */
		transform: translateX(0);
	}

	/* rādām child tikai, kad hover uz tā item */
	.navbar .dropdown-menu li:hover>.dropdown-menu {
		display: block;
		opacity: 1;
		visibility: visible;
	}

	/* lai tavs fade efekts strādā arī iekšējiem dropdown */
	.navbar .dropdown-menu .dropdown-menu {
		display: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease;
	}

}

/* 3) aktīvais dropdown items – paliek balts, ar maigu fonu */
.navbar .dropdown-menu .current-menu-item>.dropdown-item,
.navbar .dropdown-menu .current-menu-ancestor>.dropdown-item {
	background: rgba(94, 152, 82, 0.18) !important;
	color: #ffffff !important;
}

/* Aktīvais dropdown elements – maigs zaļš fons, teksts tādā pašā krāsā kā citi */
.navbar .dropdown-menu .current-menu-item>.dropdown-item {
	position: relative;
	background-color: rgba(94, 152, 82, 0.12) !important;
	/* viegls zaļš tonis */
	color: #fff;
	/* ne zaļi burti */
}

/* ===================== */
/* MOBILE OFFCANVAS MENU */
/* ===================== */

.navbar-toggler {
	border: none !important;
	box-shadow: none !important;
	padding: 0.5rem !important;
}

/* hamburger līnijas (tev jau ir, bet te ieliekam animācijai stabilu bāzi) */
.hamburger-line {
	display: block;
	width: 28px;
	height: 2px;
	background: #fff;
	margin: 6px 0;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

/* overlay */
.mobile-nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 9998;
}

/* panelis */
.mobile-nav-panel {
	/* desktopā netraucē */
}

/* ===================== */
/* MOBILE ONLY */
/* ===================== */

@media (max-width: 991.98px) {

	/* uz mobilā paneli pārvēršam par offcanvas */
	#navbar.mobile-nav-panel {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: min(86vw, 360px);
		background: #1B1F24;
		z-index: 9999;

		padding: 90px 22px 22px;
		/* vieta augšā headerim */
		overflow-y: auto;

		/* sākuma stāvoklis – paslēpts */
		transform: translateX(100%);
		transition: transform 0.28s ease;
		display: block;
		/* ignorē collapse display */
		visibility: hidden;
		opacity: 0;
	}

	/* atvērts */
	body.mobile-menu-open #navbar.mobile-nav-panel {
		transform: translateX(0);
		visibility: visible;
		opacity: 1;
	}

	/* overlay redzams, kad atvērts */
	body.mobile-menu-open .mobile-nav-overlay {
		display: block;
	}

	/* mobilajā menu linki */
	#navbar.mobile-nav-panel .navbar-nav {
		width: 100%;
		margin: 0 !important;
	}

	#navbar.mobile-nav-panel .nav-link {
		color: #fff !important;
		padding: 12px 0;
		font-size: 1.05rem;
	}

	/* dropdown list mobilajā – vienkārši vertikāli (nav hover) */
	#navbar.mobile-nav-panel .dropdown-menu {
		position: static !important;
		float: none !important;
		transform: none !important;
		box-shadow: none !important;
		border: none !important;
		background: transparent !important;
		padding-left: 12px !important;
		margin-top: 6px !important;
	}

	#navbar.mobile-nav-panel .dropdown-item {
		color: #fff !important;
		padding: 10px 0 !important;
		background: transparent !important;
	}

	#navbar.mobile-nav-panel .dropdown-item:hover {
		background: transparent !important;
		opacity: 0.85;
	}

	/* hamburger -> X, kad atvērts */
	body.mobile-menu-open .navbar-toggler .line1 {
		transform: translateY(8px) rotate(45deg);
	}

	body.mobile-menu-open .navbar-toggler .line2 {
		opacity: 0;
	}

	body.mobile-menu-open .navbar-toggler .line3 {
		transform: translateY(-8px) rotate(-45deg);
	}

	/* ✅ hamburger/X vienmēr virs visa (arī virs paneļa) */
	.navbar-toggler {
		position: relative;
		z-index: 10002;
	}

	/* overlay zem pogas */
	.mobile-nav-overlay {
		z-index: 9998;
	}

	/* panelis zem pogas */
	#navbar.mobile-nav-panel {
		z-index: 10001;
	}
}

@media (max-width: 768px) {

	/* ❌ pilnībā noņemam underline mobilajā */
	.navbar .nav-link::after {
		display: none !important;
	}

	/* visi linki mobilajā */
	#header .navbar-nav .nav-link {
		color: #ffffff !important;
	}

	/* hover / tap */
	#header .navbar-nav .nav-link:hover {
		color: #5E9852 !important;
	}

	/* ✅ AKTĪVĀ LAPA MOBILAJĀ */
	#header .navbar-nav .current-menu-item>.nav-link,
	#header .navbar-nav .current-menu-parent>.nav-link,
	#header .navbar-nav .current-menu-ancestor>.nav-link {
		color: #5E9852 !important;
		font-weight: 600;
	}

	#navbar .navbar-nav {
		padding-top: 2.5rem;
	}
}

@media (max-width: 991.98px) {

	/* Mobilajā dropdowni ir "accordion" režīmā */
	#navbar.mobile-nav-panel .dropdown-menu {
		display: none !important;
		/* ✅ piespiežam ciet */
		position: static !important;
		float: none !important;
		transform: none !important;
		visibility: visible !important;
		opacity: 1 !important;
		box-shadow: none !important;
		border: none !important;
		background: transparent !important;

		padding-left: 12px !important;
		margin: 6px 0 0 0 !important;
	}

	/* ✅ atveram jebkuru līmeņa submenu, ja parentam is-open */
	#navbar.mobile-nav-panel li.is-open>.dropdown-menu,
	#navbar.mobile-nav-panel li.is-open .dropdown-menu {
		display: block !important;
	}

	/* Parent link layout + bultiņa */
	#navbar.mobile-nav-panel li.dropdown>a.nav-link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	#navbar.mobile-nav-panel li.dropdown>a.nav-link .caret {
		display: inline-block;
		width: 10px;
		height: 10px;
		border-right: 2px solid rgba(255, 255, 255, 0.8);
		border-bottom: 2px solid rgba(255, 255, 255, 0.8);
		transform: rotate(45deg);
		transition: transform 0.2s ease;
		margin-left: auto;
	}

	#navbar.mobile-nav-panel li.is-open>a.nav-link .caret {
		transform: rotate(-135deg);
	}
}




body {
	font-family: "Montserrat", sans-serif !important;
}

/* ===================== */
/* ABOUT SECTION – WOOD DESIGN (CLEAN) */
/* ===================== */

.about-section {
	position: relative;
	padding: 4.8rem 0 4.4rem;

	/* ✅ SILTS, KOKAM ATBILSTOŠS FONS */
	background: linear-gradient(180deg,
			#f6f3ef 0%,
			#ffffff 50%,
			#ffffff 100%);

	/* ✅ “PELDOŠAIS” EFEKTS STARP BILDĒM */
	box-shadow:
		0 -35px 45px rgba(0, 0, 0, 0.22),
		0 35px 45px rgba(0, 0, 0, 0.22);

	z-index: 5;
	overflow: hidden;
}

/* ✅ SATURS VIENMĒR VIRS FONA */
.about-inner {
	position: relative;
	z-index: 2;
}

.about-title,
.gallery-title {
	color: #424242 !important;
	/* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); */
	margin-bottom: 0 !important;
}

/* Title */
.about-title,
.gallery-title {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	position: relative;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

/* Text */
.about-text,
.gallery-text {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #424242;
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

.about-text p,
.gallery-text p {
	margin: 0 auto;
	max-width: clamp(50%, 65vw, 85%);
}

/* Telefoniem – 100% platums */
@media (max-width: 768px) {

	.about-text p,
	.gallery-text p {
		max-width: 100%;
	}
}

/* --------------------------------------------------------- */
/* 📱 MOBILE */
/* --------------------------------------------------------- */

@media (max-width: 768px) {
	.about-inner {
		max-width: 100%;
		width: 100%;
		padding: 0 15px;
		text-align: center;
	}

	.about-title,
	.gallery-title {
		width: 100%;
		margin-bottom: 1rem;
	}

	.about-title::after,
	.gallery-title::after {
		width: 40%;
	}

	.about-text,
	.gallery-text {
		/* max-width: 100%;
		width: 100%; */
		font-size: 1rem;
		line-height: 1.6;
		margin: 0 auto;

	}

	/* mazāks augšējais “koka” rāmis uz telefona */
	.about-section::before {
		height: 90px;
	}
}





/* Lielā background bilde (2 bildes 50/50) */
/* Lielā background bilde (2 bildes pa pusēm, bez stretch) */
.dynamic-sections {
	position: relative;
	height: 450px;
	width: 100%;
	display: flex;
	overflow: hidden;
	/* lai nekas nelien ārā */
}

/* Kreiso pusi zīmē ::before */
.dynamic-sections::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background-image: var(--bg-1);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

/* Labo pusi zīmē ::after */
.dynamic-sections::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background-image: var(--bg-2);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

/* lai saturs ir virs background */
.dynamic-row,
.dynamic-col,
.dynamic-link,
.dynamic-overlay {
	position: relative;
	z-index: 2;
}


/* Rinda — flex bērns sadala vienādi */
.dynamic-row {
	display: flex;
	flex: 1;
	height: 100%;
}

/* Vienāda izmēra kolonnas */
.dynamic-col {
	flex: 1;
	position: relative;
	height: 100%;
	overflow: hidden;
}

/* Clickable area */
.dynamic-link {
	display: block;
	height: 100%;
	width: 100%;
	position: relative;
	text-decoration: none;
	color: #fff;
}

/* OVERLAY — 100% pa visu kolonnu */
.dynamic-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 10px;
	transition: background 0.35s ease;
}

/* Title sākumā apakšā */
.dynamic-title {
	letter-spacing: 0.07em;
	font-size: 3rem;
	font-weight: bold;
	transform: translateY(0);
	transition: transform 0.35s ease-out;
	text-transform: uppercase;
	text-shadow:
		0 2px 6px rgba(0, 0, 0, 0.45),
		0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Hover efekti */
.dynamic-col:hover .dynamic-overlay {
	background: rgba(0, 0, 0, 0.55);
}

.dynamic-col:hover .dynamic-title {
	transform: translateY(-150px);
}

/* -------------------------------------------------- */
/* 📱 MOBILE VERSION (≤ 768px) */
/* -------------------------------------------------- */

@media (max-width: 768px) {

	.dynamic-sections {
		height: auto;
		background-image: none;
		/* noņemam lielo fonu */
		padding: 0;
		display: block;
	}

	.dynamic-row {
		display: block;
		height: auto;
		margin: 0;
		padding: 0;
	}

	.dynamic-col {
		flex: none;
		height: 200px;
		width: 100%;
		background-image: var(--mobile-bg);
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		margin: 0;
		/* BEZ atstarpēm */
		padding: 0;
		/* BEZ padding */
		position: relative;
		overflow: hidden;
		border: none;
	}

	.dynamic-link {
		display: block;
		height: 100%;
		width: 100%;
	}

	.dynamic-overlay {
		inset: 0;
		background: rgba(0, 0, 0, 0.35);
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	.dynamic-title {
		text-align: center;
		font-size: 2.5rem;
		margin: 0;
		transform: none;
	}

	/* Hover nav vajadzīgs mobilajā */
	.dynamic-col:hover .dynamic-title,
	.dynamic-col:hover .dynamic-overlay {
		transform: none;
		background: rgba(0, 0, 0, 0.35);
	}
}


/* ===================== */
/* GALLERY ABOUT – WOOD DESIGN + TOP SHADOW */
/* ===================== */

.gallery-about-section,
.about-us-section {
	position: relative;
	padding: 3rem 0 3rem;

	/* ✅ SILTS, KOKAM ATBILSTOŠS FONS */
	/* background: linear-gradient(180deg,
			#f6f3ef 0%,
			#ffffff 50%,
			#ffffff 100%); */

	/* ✅ TIKAI AUGŠĒJĀ ĒNA – peldošs efekts */
	/* box-shadow:
		0 -35px 45px rgba(0, 0, 0, 0.22); */

	z-index: 5;
	overflow: hidden;
}

/* ✅ GRAFISKA “KOKA” STRUKTŪRA NO AUGŠAS (VERTIKĀLĀS LĪNIJAS) */
/* .gallery-about-section::before,
.about-us-section::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 160px;

	background:
		repeating-linear-gradient(90deg,
			rgba(94, 152, 82, 0.08) 0px,
			rgba(94, 152, 82, 0.08) 1px,
			transparent 1px,
			transparent 42px);

	z-index: 0;
} */

/* ✅ SATURS VIENMĒR VIRS FONA */
.gallery-about-inner,
.about-us-inner {
	position: relative;
	z-index: 2;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}

/* ===================== */
/* 📱 MOBILAIS           */
/* ===================== */

@media (max-width: 768px) {

	.gallery-about-section,
	.about-us-section {
		padding: 2rem 0 2rem;
		box-shadow:
			0 -22px 30px rgba(0, 0, 0, 0.22);
	}

	/* mazāks augšējais “koka” rāmis uz telefona */
	.gallery-about-section::before,
	.about-us-section::before {
		height: 90px;
	}

	.gallery-about-inner,
	.about-us-inner {
		max-width: 100%;
		padding: 0 15px;
	}
}



.gallery-section {
	background: #ffffff;
	/* maigi pelēks, lai atdalās no baltā */
}

.certificates-section {
	background: #ffffff;
}

/* Rindas atdalīšana */
.certificate-row {
	margin-bottom: 3rem;
}

/* Tekstu kolonna */
.certificate-text-col {
	display: flex;
	justify-content: center;
	align-items: center;
}

.certificate-text-inner {
	width: 100%;
	padding: 0 60px;
	/* atstarpes no sāniem desktopā */
	text-align: center;
}

.certificate-name {
	font-size: 1.8rem;
	font-weight: 700;
	color: #424242;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.certificate-logo img {
	max-height: 90px;
	width: auto;
	margin-bottom: 1rem;
}

.certificate-description {
	font-size: 1rem;
	/* line-height: 1.6; */
	color: #424242;
	text-align: justify;
}

/* Bildes puse – aizņem otru pusi, bilde ataino sevi normāli */
.certificate-image-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.certificate-side-image {
	width: 100%;
	text-align: center;
}

.certificate-side-image img {
	width: 100%;
	height: auto;
	max-height: 600px;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

/* Poga */
.certificate-btn {
	position: relative;
	display: inline-block;
	padding: .375rem .75rem;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	border: 1px solid #5E9852;
	border-radius: 0;
	background: transparent;
	color: #424242;
	text-decoration: none;
	overflow: hidden;
	z-index: 1;
	transition: color 0.25s ease, border-color 0.25s ease;
	width: 220px;
	text-align: center;
}

/* Zaļais sliding-fill fons */
.certificate-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #5E9852;
	transform: translateX(-100%);
	transition: transform 0.32s ease;
	z-index: -1;
}

/* Hover: aizpildās + teksts kļūst balts */
.certificate-btn:hover {
	color: #ffffff;
	border-color: #5E9852;
}

.certificate-btn:hover::before {
	transform: translateX(0);
}



/* ------------------------- */
/* 📱 MOBILĀ VERSIJA         */
/* ------------------------- */

@media (max-width: 768px) {
	.certificate-row {
		margin-bottom: 2rem;
	}

	/* Bilde vienmēr pirmā, lai nav šaha haoss mobilajā */
	.certificate-image-col {
		order: -1;
		margin-bottom: 1rem;
	}

	.certificate-side-image img {
		width: 100%;
		/* pilnā platumā */
		height: auto;
		/* proporcijas saglabātas */
		max-height: 340px;
		/* 🔥 balstīts uz real life — nav par lielu */
		object-fit: contain;
	}

	.certificate-text-inner {
		padding: 0 20px;
		/* mazāks padding */
		text-align: center;
		/* lasāmie teksti uz telefona bieži labāk pa kreisi */
	}

	.certificate-description {
		text-align: justify;
		/* justify mobilajā bieži izskatās dīvaini, bet ja gribi, vari atstāt */
	}

	.certificate-text-col {
		justify-content: center;
		align-items: flex-start;
	}

	.certificate-btn {
		width: 100%;
		/* tiks 100% teksta kolonnas iekšpusē */
		max-width: none;
		/* noņem ierobežojumu */
		display: block;
		/* lai poga stiepjas pareizi */
		margin-left: 0;
		margin-right: 0;
	}
}

/* ABOUT US šaha sekcija */
.aboutus-section {
	background: #ffffff;
}

/* Katras rindas atdalīšana */
.aboutus-row {
	margin-bottom: 3rem;
}

/* Tekstu kolonna */
.aboutus-text-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.aboutus-text-inner {
	width: 100%;
	/* max-width: 560px; */
	/* padding: 0 40px; */
	text-align: left;
}

.aboutus-title {
	font-size: clamp(2rem, 5vw, 3rem);
	/* 🔥 līdz 4rem, bet responsīvi */
	font-weight: 700;
	color: #424242;
	margin-bottom: 1rem;
	/* text-transform: uppercase; */
}

.aboutus-description {
	font-size: 1rem;
	line-height: 1.7;
	color: #424242;
}

/* Bildes puse */
.aboutus-image-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.aboutus-side-image {
	width: 100%;
	text-align: center;
}

.aboutus-side-image img {
	width: 100%;
	height: auto;
	max-height: 800px;
	/* ja gribi mazāk/ vairāk – maini šo */
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

/* 📱 Mobilais */
@media (max-width: 768px) {

	.aboutus-row {
		margin-bottom: 2rem;
	}

	/* Bilde augšā, teksts apakšā uz telefona */
	.aboutus-image-col {
		order: -1;
		margin-bottom: 1rem;
	}

	.aboutus-text-inner {
		padding: 0 20px;
		text-align: left;
		/* ja gribi centrēt, vari salikt center */
	}
}

/* Ja teksts ir kreisajā pusē → title pa labi */
.aboutus-row.left-text .aboutus-title {
	text-align: right;
}

/* Ja teksts ir labajā pusē → title pa kreisi */
.aboutus-row.right-text .aboutus-title {
	text-align: left;
}

/* Apraksti arī maina izlīdzinājumu, ja tu to gribi (nav obligāti) */
.aboutus-row.left-text .aboutus-description {
	text-align: right;
}

.aboutus-row.right-text .aboutus-description {
	text-align: left;
}

@media (max-width: 768px) {

	.aboutus-title {
		text-align: center !important;
	}

	.aboutus-description {
		text-align: justify !important;
	}
}

.aboutus-row.left-text .aboutus-text-inner {
	padding-left: 60px;
	/* ārējā mala */
	padding-right: 20px;
	/* iekšējā mala */
}

.aboutus-row.right-text .aboutus-text-inner {
	padding-right: 60px;
	/* ārējā mala */
	padding-left: 20px;
	/* iekšējā mala */
}

@media (max-width: 768px) {
	.aboutus-text-inner {
		padding: 0 20px !important;
		text-align: left !important;
	}
}

/* ========================================================= */
/*  HISTORY – horizontāla laika līnija (NO SCROLL, full width) */
/*  Līnija ar padding no malām, gadi virs līnijas, teksts zem */
/* ========================================================= */

.history-section {
	position: relative;
	background: #f3f1ee;
	padding: 4rem 0 4.5rem;
	z-index: 2;
}

.history-title {
	font-size: clamp(2.4rem, 5vw, 3.2rem);
	font-weight: 700;
	color: #424242;
	text-transform: uppercase;
}

/* Full-width wrapper + regulējami mainīgie */
.history-timeline-horizontal {
	position: relative;
	width: 100%;
	margin: 0;

	--side-pad: clamp(16px, 4vw, 56px);
	--line-y: 110px;
	--year-gap: 14px;
	--text-gap: 38px;

	padding-left: var(--side-pad);
	padding-right: var(--side-pad);
	padding-bottom: 2rem;
}

/* Līnija starp padding */
.history-line-full {
	position: absolute;
	left: var(--side-pad);
	right: var(--side-pad);
	top: var(--line-y);
	height: 2px;
	background: rgba(0, 0, 0, 0.15);
	z-index: 1;
	pointer-events: none;
}

/* Track */
.history-track {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-evenly;

	overflow-x: hidden;
	overflow-y: visible;

	z-index: 2;
}

/* Kartīte */
.history-card {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	max-width: 360px;

	padding-top: calc(var(--line-y) + 10px);
	min-height: calc(var(--line-y) + var(--text-gap) + 90px);
}

/* ===================== */
/*  DOT + YEAR           */
/* ===================== */

.history-mid {
	position: absolute;
	top: var(--line-y);
	left: 0;
	right: 0;
	height: 0;
	z-index: 3;
}

/* BUMBULĪTIS */
.history-dot {
	position: absolute;
	left: 50%;
	top: 0;

	width: 16px;
	height: 16px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: #5E9852;
	z-index: 4;

	/* interakcija */
	transition: transform .18s ease, box-shadow .18s ease;
}

/* PING vilnis */
.history-dot::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	background: rgba(94, 152, 82, 0.35);
	opacity: 0;
	transform: scale(0.4);
}

/* HOVER / FOCUS – TIKAI DOT */
.history-card:hover .history-dot,
.history-card:focus-visible .history-dot {
	transform: translate(-50%, -50%) scale(1.35);
	box-shadow: 0 0 0 10px rgba(94, 152, 82, 0.25);
}

.history-card:hover .history-dot::after,
.history-card:focus-visible .history-dot::after {
	animation: dot-ping 0.9s ease-out;
}

@keyframes dot-ping {
	0% {
		opacity: .6;
		transform: scale(0.4);
	}

	100% {
		opacity: 0;
		transform: scale(1.8);
	}
}

/* GADS */
.history-year {
	position: absolute;
	left: 50%;
	top: 0;

	transform: translate(-50%, calc(-100% - var(--year-gap)));
	background: #f3f1ee;
	padding: 0 12px;

	font-size: clamp(1.05rem, 1.6vw, 1.6rem);
	font-weight: 800;
	color: #5E9852;
	text-transform: uppercase;
	white-space: nowrap;
	z-index: 5;
}

/* ===================== */
/*  TEKSTS ZEM LĪNIJAS   */
/* ===================== */

.history-bottom {
	width: 100%;
	display: flex;
	justify-content: center;

	margin-top: var(--text-gap);
	padding: 0 10px;
}

.history-description {
	max-width: 320px;
	font-size: clamp(0.92rem, 1.1vw, 1rem);
	line-height: 1.6;
	color: #424242;
	text-align: center;
}

/* ===================== */
/*  MOBILE               */
/* ===================== */

@media (max-width: 768px) {
	.history-timeline-horizontal {
		--line-y: 95px;
		--text-gap: 32px;
		padding: 2rem var(--side-pad) 1.5rem;
	}

	.history-track {
		justify-content: space-between;
	}

	.history-card {
		max-width: none;
	}
}

/* ===================== */
/*  REDUCED MOTION       */
/* ===================== */

@media (prefers-reduced-motion: reduce) {

	.history-dot,
	.history-dot::after {
		transition: none;
		animation: none;
	}
}

/* ===================== */
/* GET IN TOUCH SEKCIJA  */
/* ===================== */

/* Galvenais divkolonu izkārtojums: kontakti + forma */
.getintouch-main-grid {
	display: flex;
	gap: 2rem;
	align-items: stretch;
	/* abas kolonnas vienāda augstuma */
	max-width: 1200px;
	margin: 0 auto 2.5rem auto;
	padding: 0 20px;
}

.getintouch-contacts-col,
.getintouch-form-col {
	flex: 1 1 0;
	display: flex;
	/* lai bērni var stiepties 100% augstumā */
}

/* ===================== */
/* KONTAKTU KARTĪTES     */
/* ===================== */

.getintouch-contacts-grid {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	/* stiepjas līdz kolonnas augstumam */
}

.getintouch-contacts-item {
	display: flex;
}

/* Kartīte */
.contact-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.03);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	width: 100%;
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
	border-color: rgba(94, 152, 82, 0.35);
}

/* “Initials” aplītis */
.contact-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #5E9852;
	color: #ffffff;
	font-weight: 700;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	flex-shrink: 0;
}

/* Teksta daļa kartītē */
.contact-body {
	flex: 1;
}

.contact-name {
	font-size: 1.05rem;
	font-weight: 700;
	color: #424242;
	margin-bottom: 0.15rem;
}

.contact-position {
	font-size: 0.95rem;
	color: #777;
	margin-bottom: 0.45rem;
}

.contact-line {
	font-size: 0.95rem;
	margin-bottom: 0.25rem;
}

.contact-label {
	font-weight: 600;
	margin-right: 0.25rem;
	color: #444;
}

.contact-line a {
	text-decoration: none;
	color: #5E9852;
	font-weight: 500;
}

.contact-line a:hover {
	text-decoration: underline;
	color: #3d6b3a;
}

/* ===================== */
/* KARTES BLOKS          */
/* ===================== */

.getintouch-map-section {
	margin-top: 1rem;
}

.getintouch-map-wrapper {
	margin: 0 auto;
}

.getintouch-map iframe {
	width: 100% !important;
	height: 320px !important;
	border: 0 !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.getintouch-address {
	font-size: 1rem;
	line-height: 1.7;
	color: #424242;
	background: #f6f7f8;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	display: inline-block;
	max-width: 100%;
}

/* ===================== */
/* SUBTITLE TEKSTS       */
/* ===================== */

.getintouch-subtitle {
	font-size: 1.25rem;
	font-weight: 400;
	color: #444;
	text-align: center;
	margin: 0 auto;
	max-width: 700px;
	position: relative;
}

/* ===================== */
/* FORMA                 */
/* ===================== */

.getintouch-form-wrapper {
	width: 100%;
	height: 100%;
	/* forma tik gara, cik kolonna */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 2rem 2.5rem;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.03);
}

/* CF7 konteineris */
.getintouch-form-wrapper .wpcf7 {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Forma pati */
.getintouch-form-wrapper .wpcf7 form {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Bootstrap .row iekš formas */
.getintouch-form-wrapper .wpcf7 form .row {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
}

/* Pēdējais .col (submit poga) uz leju + pa vidu */
.getintouch-form-wrapper .wpcf7 form .row>div:last-child {
	margin-top: auto;
	display: flex;
	justify-content: center !important;
	/* poga pa vidu */
}

/* Noņem liekus marginus */
.getintouch-form-wrapper .wpcf7 form p {
	margin: 0;
}

/* Label stils */
.getintouch-form-wrapper .wpcf7 form label {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #444;
	margin-bottom: 0.25rem;
}

/* Inputi & textarea (.form-control no CF7 markup) */
.getintouch-form-wrapper .wpcf7 .form-control,
.getintouch-form-wrapper .wpcf7 textarea.form-control {
	width: 100%;
	padding: 0.65rem 0.9rem;
	font-size: 0.98rem;
	border-radius: 8px;
	border: 1px solid #d6d8dd;
	background: #fafbfc;
	color: #424242;
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
	box-sizing: border-box;
}

.getintouch-form-wrapper .wpcf7 textarea.form-control {
	min-height: 140px;
	resize: vertical;
}

/* Fokusā – zaļš outline */
.getintouch-form-wrapper .wpcf7 .form-control:focus,
.getintouch-form-wrapper .wpcf7 textarea.form-control:focus {
	border-color: #5E9852;
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(94, 152, 82, 0.15);
}

/* Placeholder */
.getintouch-form-wrapper .wpcf7 ::placeholder {
	color: #999;
}

/* Virsraksts virs formas */
.getintouch-form-title {
	font-size: 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #424242;
	margin-bottom: 1.2rem;
	text-align: center;
	letter-spacing: 0.05em;
	position: relative;
}

.getintouch-form-title::after {
	content: "";
	display: block;
	width: 25%;
	height: 2px;
	background: #5e9852;
	margin: 0.6rem auto 0 auto;
	border-radius: 2px;
}

/* ===================== */
/* SUBMIT POGA – kā certificate-btn */
/* ===================== */

/* Pēdējais .col (submit poga) – pa vidu */
.getintouch-form-wrapper .wpcf7 form .row>div:last-child {
	margin-top: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	/* ✅ bāze spinnerim */
}

/* SUBMIT POGA – sliding fill no KREISĀ SĀNA */
.getintouch-form-wrapper .wpcf7 input[type="submit"] {
	position: relative;
	display: inline-block;
	padding: .375rem .75rem;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	border: 1px solid #5E9852;
	border-radius: 0;
	cursor: pointer;
	width: 220px;
	text-align: center;

	/* ✅ Sliding fons no kreisās puses */
	background:
		linear-gradient(to right, #5E9852 0%, #5E9852 50%, transparent 50%) left / 200% 100% no-repeat;
	background-position: right;

	color: #424242;
	transition:
		background-position 0.32s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}

/* ✅ Hover – zaļais iešļūc no kreisās, teksts kļūst balts */
.getintouch-form-wrapper .wpcf7 input[type="submit"]:hover {
	background-position: left;
	color: #ffffff;
	border-color: #5E9852;
}

/* ✅ SPINNERIS – TIEŠI UZ POGAS, PA VIDU */
.getintouch-form-wrapper .wpcf7-spinner {
	position: absolute;
	left: 48%;
	top: 35%;
	transform: translate(-50%, -50%);
	margin: 0;
	z-index: 5;
	pointer-events: none;
}

/* ✅ Kamēr sūta – poga kļūst nedaudz blāvāka (smuki) */
.getintouch-form-wrapper .wpcf7 form.submitting input[type="submit"] {
	opacity: 0.6;
}

/* 📱 Mobilajam – poga pilnā platumā, spinneris paliek centrā */
@media (max-width: 480px) {
	.getintouch-form-wrapper .wpcf7 input[type="submit"] {
		width: 100%;
	}
}

/* ===================== */
/* CF7 KĻŪDAS / STATUSS  */
/* ===================== */

.getintouch-form-wrapper .wpcf7-response-output {
	margin: 1rem 0 0 0;
	padding: 0.6rem 0.9rem;
	border-radius: 8px;
	font-size: 0.9rem;
}

.getintouch-form-wrapper .wpcf7-response-output.wpcf7-mail-sent-ok {
	border: 1px solid rgba(94, 152, 82, 0.5);
	background: rgba(94, 152, 82, 0.06);
	color: #305c2c;
}

.getintouch-form-wrapper .wpcf7-response-output.wpcf7-validation-errors,
.getintouch-form-wrapper .wpcf7-response-output.wpcf7-mail-sent-ng {
	border: 1px solid rgba(200, 80, 80, 0.5);
	background: rgba(200, 80, 80, 0.06);
	color: #7c2525;
}

.getintouch-form-wrapper .wpcf7-not-valid-tip {
	font-size: 0.85rem;
	color: #b33434;
	margin-top: 0.15rem;
}

.getintouch-form-wrapper .wpcf7-spinner {
	margin-left: 0.75rem;
}


/* ===================== */
/* MOBILAIS              */
/* ===================== */

@media (max-width: 768px) {
	.getintouch-main-grid {
		flex-direction: column;
		max-width: 100%;
		padding: 0 15px;
	}

	.getintouch-form-col {
		max-width: 100%;
	}

	.contact-card {
		padding: 1rem 1rem;
	}

	.getintouch-map iframe {
		height: 260px !important;
	}

	.getintouch-address {
		text-align: left;
		width: 100%;
	}

	.getintouch-form-wrapper {
		height: auto;
		/* uz mobilā nav jēgas turēt equal height */
	}
}

@media (max-width: 480px) {
	.getintouch-form-wrapper .wpcf7 input[type="submit"] {
		width: 100%;
	}
}



/* ===================== */
/* REGISTERED ADDRESS – stilā kā kartītēm */
/* ===================== */

.registered-address-card {
	position: relative;
	overflow: hidden;
	padding-right: 3.2rem;
	/* vieta ikonai */
}

/* Lielāks iekrāsotais stūris */
.registered-address-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 120px;
	/* bija ~86px */
	height: 120px;
	/* bija ~86px */
	background: rgba(94, 152, 82, 0.10);
	clip-path: polygon(100% 0, 0 0, 100% 100%);
	pointer-events: none;
}

/* pin ikona augšējā labajā stūrī */
.registered-pin {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(94, 152, 82, 0.12);
	border: 1px solid rgba(59, 138, 43, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

/* pin zīmējums ar pseudo elementiem */
.registered-pin::before {
	content: "📍";
	font-size: 19px;
	line-height: 1;
	transform: translateY(-1px);
}

/* teksts */
.registered-address-text {
	font-size: 0.98rem;
	line-height: 1.6;
	color: #424242;
}

/* hover lai sakrīt ar pārējām kartītēm */
.registered-address-card:hover {
	border-color: rgba(94, 152, 82, 0.35);
}


/* ===================== */
/* FACTORIES SECTION     */
/* ===================== */

.factories-section {
	background: #ffffff;
}

.factories-inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

/* --------------------- */
/* HEADER                */
/* --------------------- */

.factories-header {
	max-width: 80%;
	margin: 0 auto;
	text-align: center;
}

.factories-title {
	font-size: clamp(2.4rem, 5vw, 3.2rem);
	font-weight: 700;
	color: #424242;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.factories-subtitle {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #424242;
}

/* --------------------- */
/* GRID LAYOUT           */
/* --------------------- */

.factories-rows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	padding: 0;
}

/* ===================== */
/* 🧱 FACTORY CARD       */
/* ===================== */

.factory-col {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	box-shadow:
		0 10px 20px rgba(0, 0, 0, 0.10),
		0 30px 60px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.factory-col:hover {
	transform: translateY(-6px);
	box-shadow:
		0 16px 30px rgba(0, 0, 0, 0.14),
		0 45px 90px rgba(0, 0, 0, 0.16);
}

/* --------------------- */
/* CARD TOP (logo+items) */
/* --------------------- */

.factory-top {
	padding: 2rem 2rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* --------------------- */
/* LOGO (fixed height)   */
/* --------------------- */

.factory-logo {
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.factory-logo img {
	max-width: 260px;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

/* --------------------- */
/* ITEMS                 */
/* --------------------- */

.factory-items {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 500;
}

.factory-items li {
	position: relative;
	margin-bottom: 0.45rem;
	font-size: 0.98rem;
	color: #424242;
	padding-left: 1.4rem;
}

.factory-items li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	color: #5E9852;
	font-weight: 700;
}

.factory-col.factory-col-alt .factory-items li::before {
	color: #2abed4;
}

/* --------------------- */
/* 🎥 VIDEO AREA         */
/* --------------------- */

.factory-video-wrapper.factory-video-wrapper-embed {
	position: relative;
	width: 85%;
	margin: 0 auto 2rem;
	/* atstarpe no apakšas */
	padding-top: 56.25%;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.factory-video-wrapper.factory-video-wrapper-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

/* --------------------- */
/* 📱 MOBILE             */
/* --------------------- */

@media (max-width: 768px) {

	.factories-header {
		max-width: 100%;
		padding: 0 1rem;
	}

	.factories-rows {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.factory-top {
		padding: 1.5rem 1rem 1.25rem;
	}

	.factory-logo {
		height: 110px;
	}

	.factory-logo img {
		max-width: 200px;
	}

	.factory-video-wrapper.factory-video-wrapper-embed {
		width: 100%;
		margin-bottom: 1.5rem;
	}
}


/* ===================== */
/* LAYOUT – BACKGROUNDI */
/* ===================== */

/* Viss dokuments tumšs, bet saturs baltā "kārbā" */
html,
body {
	margin: 0;
	padding: 0;
	background-color: #1B1F24;
	/* tas pats, kas footer */
}

/* Saturs – gaišs taisnstūris lapas vidū */
#wrapper {
	background-color: #ffffff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Galvenais saturs stiepjas, footer sēž apakšā, bet NAV fixed */
#main {
	flex: 1 0 auto;
}

#footer {
	flex-shrink: 0;
}




/* ===================== */
/* PRODUCTS PARENT LIST  */
/* ===================== */

.products-parent-section {
	background: #ffffff;
}

.products-parent-rows {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* ===================== */
/* GRID RINDA            */
/* ===================== */

.product-row {
	display: grid;
	grid-template-columns: 1fr 6px 1fr;
	grid-template-areas: "text divider image";
	align-items: stretch;

	border: 1px solid rgba(0, 0, 0, 0.06);
	background: #ffffff;
	overflow: hidden;
}

/* šaha rinda */
.product-row-reverse {
	grid-template-areas: "image divider text";
}

/* grid areas */
.product-side-text {
	grid-area: text;
}

.product-divider {
	grid-area: divider;
	background: #5e9852;
}

.product-side-image {
	grid-area: image;
}

/* ===================== */
/* TEXT SIDE (VIENĀDS FONS) */
/* ===================== */

.product-side-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	padding: 2rem;

	/* vienāds maigs fons visām rindām */
	background: rgba(94, 152, 82, 0.06);
}

/* teksts atkarībā no puses */
.product-row:not(.product-row-reverse) .product-side-text {
	text-align: right;
	align-items: flex-end;
}

.product-row.product-row-reverse .product-side-text {
	text-align: left;
	align-items: flex-start;
}

/* virsraksts / teksts */
.product-title {
	margin: 0;
	font-size: clamp(1.5rem, 2.2vw, 2.1rem);
	font-weight: 800;
	color: #424242;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.product-desc {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #424242;
	max-width: 44rem;
}

/* poga tikai pozicionēšana (stils jau globāli) */
.product-btn-wrap {
	display: flex;
	width: 100%;
}

.product-row:not(.product-row-reverse) .product-btn-wrap {
	justify-content: flex-end;
}

.product-row.product-row-reverse .product-btn-wrap {
	justify-content: flex-start;
}

/* ===================== */
/* IMAGE SIDE (bez shadow) */
/* ===================== */

.product-side-image {
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	background: #ffffff;
}

.product-image-wrapper {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: transparent;
}

.product-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===================== */
/* 📱 MOBILE             */
/* ===================== */

@media (max-width: 768px) {

	.product-row,
	.product-row-reverse {
		grid-template-columns: 1fr;
		grid-template-areas:
			"text"
			"image";
	}

	.product-divider {
		display: none;
	}

	.product-side-text {
		text-align: left !important;
		align-items: flex-start !important;

		/* mazs padding pa kreisi, pārējais minimāls */
		padding-left: 1rem;
		padding-right: 0;
		padding-top: 1rem;
		padding-bottom: 1rem;

		/* kreisā akcenta līnija mobilajā */
		background-image: linear-gradient(to right, #5e9852 0 5px, transparent 5px);
		background-repeat: no-repeat;
		background-size: 100% 100%;
	}

	.product-btn-wrap {
		justify-content: flex-start !important;
	}

	.product-image-wrapper {
		aspect-ratio: 16 / 9;
	}

	.product-image-wrapper img {
		height: 100%;
	}
}

/* ===================== */
/* TEAM SECTION          */
/* ===================== */

.team-section {
	background: #f3f1ee;
	padding: 4rem 0 4.5rem;
}

/* Virsraksts - stils kā factories-title, tikai pārsaukts */
.team-title {
	font-size: clamp(2.4rem, 5vw, 3.2rem);
	font-weight: 700;
	color: #424242;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

/* Subtitle - stils kā factories-subtitle, tikai pārsaukts */
.team-subtitle {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #424242;
	margin: 0 auto;
	max-width: clamp(60%, 80vw, 100%);
}

/* 5 kartītes rindā (desktop) */
.team-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Kartītes vienādā izmērā */
.team-card {
	background: #fff;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;

	height: 100%;
}

/* Bilde lielāka */
.team-image {
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 14px;
	margin-bottom: 18px;
}

.team-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;

	filter: grayscale(100%);
	transition: filter 0.35s ease, transform 0.35s ease;
}

/* Hover → krāsains + viegls zoom */
.team-card:hover .team-image img {
	filter: grayscale(0%);
	transform: scale(1.03);
}

.team-name {
	font-weight: 800;
	font-size: 1.2rem;
	color: #424242;
	margin-bottom: 6px;
}

.team-job-title {
	font-size: 1rem;
	color: #666;
}

/* ===================== */
/* RESPONSIVE            */
/* ===================== */

@media (max-width: 1400px) {
	.team-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.team-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {

	/* ✅ telefonā 1 persona rindā */
	.team-grid {
		grid-template-columns: 1fr;
		padding: 0 16px;
	}

	.team-subtitle {
		text-align: justify;

		/* padding: 0 16px; */
		/* lai subtitle neiziet līdz malām */
	}
}

/* ===================== */
/* PRODUCT – SET WRAPPER */
/* ===================== */

.product-set-section {
	background: #ffffff;
}

.product-set-title {
	font-size: clamp(2.2rem, 4vw, 2.8rem);
	font-weight: 700;
	color: #424242;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

/* ===================== */
/* PRODUCT – MAIN SET TABS (set_name / f_set_name) */
/* ===================== */

.product-set-tabs {
	margin-top: 0.5rem;
}

/* Desktop tabu navigācija */
.set-tabs-nav-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.set-tabs-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0;
}

.set-tabs-nav-item {
	margin: 0;
}

.set-tab-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.9rem;
	border-radius: 0;
	border: 1px solid #d3d7dd;
	background: #f1f3f6;
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #444;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

/* lai vidū nav dubulta bordo */
.set-tabs-nav-item+.set-tabs-nav-item .set-tab-link {
	margin-left: -1px;
}

/* aktīvais lielais tabs */
.set-tab-link.is-active {
	background: #5E9852;
	border-color: #5E9852;
	color: #ffffff;
	box-shadow: 0 6px 14px rgba(94, 152, 82, 0.35);
}

/* lielo tabu paneļi */
.set-tabs-panes {
	margin-top: 1rem;
}

.set-tab-pane {
	display: none;
}

.set-tab-pane.is-active {
	display: block;
}

/* ===================== */
/* MOBILE DROPDOWN LARGE TABS */
/* ===================== */

/* desktopā select nerādām */
.set-tabs-select-wrapper {
	display: none;
}

/* dropdown stils */
.set-tabs-select {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.6rem 0;

	/* vairāk vietas bultiņai labajā pusē */
	padding: 0.7rem 2.2rem 0.7rem 1rem;

	border-radius: 0;
	border: 1px solid #d3d7dd;
	background: #f7f8fa;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #444;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
	text-align: center;

	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;

	/* custom bultiņa */
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path d='M1 1l6 6 6-6' stroke='%23444' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: calc(100% - 12px) center;
	background-size: 14px 8px;
}

/* mazliet iekšējais padding no malām uz mobilā */
.set-tabs-select-wrapper {
	padding: 0 15px;
}

/* ===================== */
/* RESPONSIVE – SWITCH BETWEEN TABS & DROPDOWN */
/* ===================== */

@media (max-width: 768px) {

	/* uz telefona slēpjam tab pogas un rādām dropdown */
	.set-tabs-nav-wrapper {
		display: none;
	}

	.set-tabs-select-wrapper {
		display: block;
	}

	/* mazāka atstarpe no bildes līdz dropdown */
	.product-set-section {
		padding-top: 1.5rem !important;
	}

	.product-set-tabs {
		margin-top: 0.2rem;
	}
}

@media (min-width: 769px) {

	/* desktopā slēpjam dropdown, rādām tab pogas */
	.set-tabs-select-wrapper {
		display: none;
	}
}

/* ===================== */
/* PRODUCT – WOOD / PROFILE TABS (SET 1) */
/* ===================== */

/* mazās tabu navigācija (wood_name) */

.product-wood-tabs {
	margin-top: 1rem;
}

/* Tabs nav */
.wood-tabs-nav-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.wood-tabs-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0;
}

.wood-tabs-nav-item {
	margin: 0;
}

.wood-tab-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.4rem;
	border-radius: 0;
	border: 1px solid #d3d7dd;
	background: #f7f8fa;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #555;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

/* noņemam dubultborderu starp wood tabiem */
.wood-tabs-nav-item+.wood-tabs-nav-item .wood-tab-link {
	margin-left: -1px;
}

.wood-tab-link.is-active {
	background: #5E9852;
	border-color: #5E9852;
	color: #ffffff;
	box-shadow: 0 6px 14px rgba(94, 152, 82, 0.35);
	transform: none;
	/* NEPACEĻAS */
}

.wood-tab-link:hover:not(.is-active) {
	background: #eceff3;
	border-color: #c4cad4;
}

/* wood paneļi */

.wood-tabs-panes {
	margin-top: 1.5rem;
}

.wood-tab-pane {
	display: none;
}

.wood-tab-pane.is-active {
	display: block;
}

/* --------------------- */
/* PROFILU KOLONNAS      */
/* --------------------- */

/* 2 kolonnas, centrētas, ne pa visu ekrānu */
.profiles-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.6rem;
	max-width: 1400px;
	margin: 0 auto;
}

/* lieliem ekrāniem vēl mazliet platāk */
/* @media (min-width: 1400px) {
	.profiles-grid {
		max-width: 1280px;
	}
} */

/* Katra kolonna */
.profile-column {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	padding: 1.5rem 1.6rem;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

/* profila nosaukums – pa vidu */
.profile-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: #424242;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.4rem 0;
	text-align: center;
}

/* profila bilde */
.profile-image {
	margin-bottom: 0.6rem;
}

.profile-image img {
	max-width: 100%;
	max-height: 600px;
	height: auto;
	display: block;
	border-radius: 10px;
	object-fit: contain;
	margin: 0 auto;
}

/* --------------------- */
/* TECH TABULA           */
/* --------------------- */

.tech-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.tech-name-cell,
.tech-value-cell {
	padding: 0.45rem 0 0.45rem 0;
	vertical-align: middle;
	font-size: 0.95rem;
	color: #424242;
}

/* Name šūna */
.tech-name-cell {
	padding-right: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

/* zaļais bumbulis ar ķeksīti */
.tech-bullet {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #5E9852;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.tech-bullet-tick {
	width: 8px;
	height: 8px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg) translate(-1px, -1px);
	display: block;
}

/* Value šūna – ar i ikonu aiz vērtības */

.tech-value-cell {
	text-align: right;
	color: #424242;
}

/* iekšējais flex, lai vērtība + ikona turas vienā rindā */
.tech-value-inner {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	justify-content: flex-end;
}

/* bold iekš value */
.tech-value-text b,
.tech-value-text strong {
	font-weight: 700;
}

/* --------------------- */
/* POPUP (i) info        */
/* --------------------- */

.tech-info-wrapper {
	position: relative;
	display: inline-block;
}

.tech-info-icon {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #000000;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* Popover */

.tech-popover {
	position: absolute;
	right: 0;
	top: 120%;
	transform: translateY(6px);
	min-width: 220px;
	max-width: 280px;
	background: #ffffff;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.24);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 50;
}

.tech-info-wrapper:hover .tech-popover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tech-popover-text {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #424242;
	margin-bottom: 0.5rem;
}

.tech-popover-image img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

/* --------------------- */
/* RESPONSIVE            */
/* --------------------- */

@media (max-width: 992px) {
	.profiles-grid {
		grid-template-columns: 1fr !important;
		/* uz medium jau pa vienai, lai ir platākas */
		max-width: 640px !important;
	}
}

@media (max-width: 768px) {
	.profiles-grid {
		grid-template-columns: 1fr !important;
		/* kā col-12 uz mazajiem */
		max-width: 100% !important;
	}

	.profile-column {
		padding: 1.2rem 1.2rem;
	}

	.tech-name-cell,
	.tech-value-cell {
		font-size: 0.92rem;
	}

	.tech-value-cell {
		text-align: left;
	}

	.tech-value-inner {
		justify-content: flex-start;
	}
}

/* ===================== */
/* PRODUCT – F SET (GALLERY + VIDEO) */
/* ===================== */

/* mazās tabu navigācija (f_wood_name) */

.product-fwood-tabs {
	margin-top: 1rem;
}

.f-wood-tabs-nav-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.f-wood-tabs-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0;
}

.f-wood-tabs-nav-item {
	margin: 0;
}

.f-wood-tab-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.4rem;
	border-radius: 0;
	border: 1px solid #d3d7dd;
	background: #f7f8fa;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #555;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

/* dubultborder fix */
.f-wood-tabs-nav-item+.f-wood-tabs-nav-item .f-wood-tab-link {
	margin-left: -1px;
}

.f-wood-tab-link.is-active {
	background: #5E9852;
	border-color: #5E9852;
	color: #ffffff;
	box-shadow: 0 6px 14px rgba(94, 152, 82, 0.35);
}

.f-wood-tab-link:hover:not(.is-active) {
	background: #eceff3;
	border-color: #c4cad4;
}

/* paneļi */

.f-wood-tabs-panes {
	margin-top: 1.5rem;
}

.f-wood-tab-pane {
	display: none;
}

.f-wood-tab-pane.is-active {
	display: block;
}

/* ===================== */
/* LAYOUT – GALLERY LEFT, VIDEO RIGHT (CLEAN) */
/* ===================== */

/* divas kolonnas pa puslapu, bez rāmjiem, bez ēnām, full width konteinerā */
.f-wood-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: flex-start;
	width: 100%;
}

/* FooGallery kolonna (kreisā) */
.f-wood-gallery-col {
	min-width: 0;
}

/* Video kolonna (labā) */
.f-wood-video-col {
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Video wrappers – pilnīgi tīrs, bez rāmjiem un ēnām */
.f-wood-video-wrapper {
	width: 100%;
	max-width: 100%;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
	background: #000;
	/* tikai fona krāsa, lai video ar attiecībām izskatās korekti */
}

/* Video pats – aizņem visu savu kolonnu, bez dekoratīvām lietām */
.f-wood-video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 600px;
	object-fit: cover;
}

/* ===================== */
/* 📱 MOBILAIS F SET     */
/* ===================== */

@media (max-width: 992px) {

	/* uz mazākiem ekrāniem – vienā kolonnā, bet joprojām clean */
	.f-wood-layout {
		grid-template-columns: 1fr;
	}

	.f-wood-video-wrapper {
		max-width: 100%;
		margin-top: 1rem;
	}
}

.fiv-ctrls {
	display: none !important;
}


/* ===================== */
/* PRODUCTS CARDS         */
/* ===================== */

.products-section {
	background: #ffffff;
}

.products-grid {
	display: grid;
	/* grid-template-columns: repeat(4, minmax(0, 1fr)); */
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.8rem;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Kartīte = links */
.product-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;

	/* ✅ vienots backgrounds visai kartītei */
	background: #f7f8fa;

	/* ✅ kantaini stūri */
	border-radius: 0;

	border: 1px solid rgba(0, 0, 0, 0.06);
	overflow: hidden;

	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
	border-color: rgba(94, 152, 82, 0.35);
}

/* Bilde */
.product-card-image {
	aspect-ratio: 4 / 3;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.product-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(94, 152, 82, 0.10), rgba(0, 0, 0, 0.05));
}

/* Nosaukums */
.product-card-title {
	padding: 1rem 1.1rem;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #424242;
	text-align: center;
}

/* ===================== */
/* SERIES (under title)   */
/* ===================== */

.product-card-series {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* pa vidu zem title */
	gap: .55rem;

	padding: 0 1.1rem 1.05rem;
	/* turpina kartītes padding loģiku */
	margin-top: -0.65rem;
	/* vizuāli tuvāk title */

	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.85rem;
	line-height: 1.2;

	color: #424242;
	text-align: center;
}

.product-card-series-label,
.product-card-series-value {
	/* identisks stils abiem */
	font: inherit;
	color: inherit;
}

/* melna vertikālā līnija pa vidu */
.product-card-series-value {
	position: relative;
	padding-left: .75rem;
	/* vieta līnijai */
}

.product-card-series-value::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12%;
	height: 76%;
	width: 2px;
	background: #111;
	opacity: 0.85;
}

.series-sigma {
	color: #5e9852 !important;
}

.series-vision {
	color: #2abed4 !important;
}

.series-eco-line {
	color: #F78F4D !important;
}

.series-solid-line {
	color: #5569EE !important;
}

.technical-series-first {
	font-weight: 800;
}

.technical-pdf {
	color: #222;
}

/* ===================== */
/* RESPONSIVE             */
/* ===================== */

@media (max-width: 992px) {
	.products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 900px;
	}
}

@media (max-width: 576px) {
	.products-grid {
		grid-template-columns: 1fr;
		max-width: 520px;
	}
}

/* ===================== */
/* PRODUCT – DOCUMENTS TAB (CLEAN, FULL-BLEED) */
/* ===================== */

/* ✅ Full-bleed tikai šai sadaļai (lai bilde iet līdz ekrāna malām) */
.product-docs-layout {
	width: 100% !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;

	display: grid;
	grid-template-columns: 1fr 1fr;
	/* pa puslapu */
	gap: 0;
	align-items: stretch;
	min-height: 520px;
}

/* Kreisā puse – bilde */
.product-docs-left {
	position: relative;
	width: 100%;
	min-height: 520px;
	overflow: hidden;
}

.product-docs-image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	/* aizpilda savu pusi */
}

/* Labā puse – saturs */
.product-docs-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* vertikāli pa vidu pretī bildei */
	padding: clamp(1.6rem, 1.8vw, 3.2rem);
}

/* Virsraksts */
.product-docs-title {
	font-size: clamp(1.35rem, 1.1vw + 1rem, 1.8rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1rem 0;
	color: #424242;
}

/* Apraksts */
.product-docs-desc {
	font-size: 1.2rem;
	line-height: 1.7;
	color: #424242;
	max-width: 80%;
	margin: 0 0 1.5rem 0;
}

/* Failu saraksts */
.product-docs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.product-docs-item {
	margin: 0;
	padding: 0;
}

.product-docs-link {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: #424242 !important;
	text-decoration: none !important;
	cursor: pointer;
	font-weight: 400;
	font-size: 1.05rem;
}

.product-docs-link:hover {
	opacity: 0.75;
}

/* ✅ FontAwesome PDF ikona (tieši tava HTML klase: .product-docs-icon) */
.product-docs-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.product-docs-icon i {
	font-size: clamp(22px, 1.2vw + 18px, 34px);
	line-height: 1;
	display: block;
}

/* ===================== */
/* 📱 MOBILE – bilde centrā ar padding, teksts pa kreisi */
/* ===================== */

@media (max-width: 992px) {
	.product-docs-layout {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	/* bilde ar padding no sāniem + centrā */
	.product-docs-left {
		min-height: 0;
		padding: 0 16px;
	}

	.product-docs-image {
		height: auto;
		width: 100%;
		aspect-ratio: 16 / 10;
		object-fit: cover;
	}

	/* teksts pa kreisi */
	.product-docs-right {
		padding: 1.75rem 16px 2rem;
		text-align: left;
		align-items: flex-start;
	}

	.product-docs-desc {
		max-width: 100%;
	}
}

/* ===================== */
/* SET 1 – TABLE LEFT, IMAGES RIGHT */
/* ===================== */

.set1-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.6rem;
	max-width: 1400px;
	margin: 0 auto;
	align-items: stretch;
}

/* labā kolonna – stack bildes */
.set1-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* ⭐ GALVENAIS */
	gap: 1.2rem;
}

/* bildes bez kartiņas */
.set1-image img {
	width: 100%;
	height: auto;
	max-height: 600px;
	display: block;
	border-radius: 10px;
	object-fit: contain;
}

/* 📱 uz medium un mazākiem – viena kolonna (tavs dizains jau tā dara līdzīgi) */
@media (max-width: 992px) {
	.set1-layout {
		grid-template-columns: 1fr;
		max-width: 640px;
	}
}

@media (max-width: 768px) {
	.set1-layout {
		max-width: 100%;
	}
}

/* ===================== */
/* SET 1 – Slider labajā pusē */
/* ===================== */

.set1-right {
	min-width: 0;
}

/* slider konteineris */
.set1-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 10px;
	padding-bottom: 34px;
	/* vieta punktiem */
}

/* slīdošā lente */
.set1-slider-track {
	display: flex;
	transition: transform 0.28s ease;
	will-change: transform;
}

/* katra slide */
.set1-slide {
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.set1-slide img {
	width: 100%;
	height: auto;
	max-height: 400px;
	display: block;
	object-fit: contain;
}

/* bultiņas */
.set1-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	cursor: pointer;

	/* glassy look */
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(6px);

	color: #2b2b2b;
	font-size: 18px;
	font-weight: 700;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.18),
		inset 0 0 0 1px rgba(255, 255, 255, 0.35);

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

	z-index: 3;
}


.set1-prev {
	left: 14px;
}

.set1-next {
	right: 14px;
}

/* hover efekts */
.set1-nav:hover {
	background: #5E9852;
	color: #ffffff;
	box-shadow:
		0 12px 26px rgba(94, 152, 82, 0.45),
		inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.05);
}

/* active (klikšķis) */
.set1-nav:active {
	transform: translateY(-50%) scale(0.97);
	box-shadow:
		0 6px 14px rgba(94, 152, 82, 0.35);
}

/* punkti */
.set1-dots {
	position: static;
	margin-top: 14px;

	display: flex;
	justify-content: center;
	gap: 10px;
}

.set1-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;

	background: rgba(255, 255, 255, 0.55);

	box-shadow:
		0 2px 6px rgba(0, 0, 0, 0.25);

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

/* aktīvais punkts */
.set1-dot.is-active {
	background: #5E9852;
	transform: scale(1.35);
	box-shadow:
		0 4px 12px rgba(94, 152, 82, 0.55);
}

/* hover */
.set1-dot:hover {
	transform: scale(1.25);
	background: rgba(255, 255, 255, 0.9);
}

/* ===================== */
/* MOBILAIS */
/* ===================== */

@media (max-width: 768px) {
	.set1-nav {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.set1-prev {
		left: 10px;
	}

	.set1-next {
		right: 10px;
	}

	.set1-dots {
		bottom: 10px;
	}
}

/* ===================== */
/* SET 1 – TECH TABLE IMPROVEMENTS */
/* ===================== */

/* .tech-table {
	margin-top: 0.6rem;
} */

.tech-row+.tech-row td {
	border-top: 1px solid #e6e9f0;
}

/* vairāk vertikālā paddinga */
.tech-name-cell,
.tech-value-cell {
	padding: 0.75rem 0;
	font-size: 0.95rem;
}

/* name puse – mazliet vairāk elpas */
.tech-name-cell {
	gap: 0.55rem;
}

/* uz hover – ļoti viegls fons (desktop only) */
@media (hover:hover) {
	.tech-row:hover td {
		background: rgba(94, 152, 82, 0.04);
	}
}

/* mobilajā vēl nedaudz kompaktāk */
@media (max-width: 768px) {

	.tech-name-cell,
	.tech-value-cell {
		padding: 0.65rem 0;
		font-size: 0.92rem;
	}
}

/* ===================== */
/* SET 1 – FontAwesome arrows */
/* ===================== */

.set1-nav {
	font-size: 0;
}

.set1-prev::before,
.set1-next::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 16px;
}

.set1-prev::before {
	content: "\f053";
	/* chevron-left */
}

.set1-next::before {
	content: "\f054";
	/* chevron-right */
}

/* ===================== */
/* SET 2 – Video slider (2 videos) */
/* ===================== */

.f-video-slider {
	width: 100%;
	max-width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	padding-bottom: 34px;
	/* vieta dotsiem zem video */
}

.f-video-track {
	display: flex;
	transition: transform 0.28s ease;
	will-change: transform;
}

.f-video-slide {
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* dots zem video */
.f-video-dots {
	position: static;
	margin-top: 14px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.f-video-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.15);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.f-video-dot.is-active {
	background: #5E9852;
	transform: scale(1.35);
	box-shadow: 0 4px 12px rgba(94, 152, 82, 0.35);
}

/* premium pogas (tādas pašas sajūtas kā set1) */
.f-video-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	cursor: pointer;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(6px);
	color: #2b2b2b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
	z-index: 3;
}

.f-video-prev {
	left: 80px;
}

.f-video-next {
	right: 80px;
}

.f-video-nav:hover {
	background: #5E9852;
	color: #fff;
	box-shadow: 0 12px 26px rgba(94, 152, 82, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.05);
}

.f-video-nav:active {
	transform: translateY(-50%) scale(0.97);
}

/* smukie chevroni (bez teksta) */
.f-video-nav {
	font-size: 0;
}

.f-video-nav::before {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	display: block;
}

.f-video-prev::before {
	transform: rotate(135deg);
}

.f-video-next::before {
	transform: rotate(-45deg);
}

@media (max-width: 768px) {
	.f-video-nav {
		width: 40px;
		height: 40px;
	}

	.f-video-prev {
		left: 10px;
	}

	.f-video-next {
		right: 10px;
	}
}

/* ===================== */
/* SET 2 – Custom image gallery (left) */
/* ===================== */

.f-image-gallery {
	width: 100%;
	min-width: 0;
}

/* lielā bilde */
.f-image-main {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #ffffff;
}

.f-image-track {
	display: flex;
	transition: transform 0.28s ease;
	will-change: transform;
}

.f-image-slide {
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.f-image-slide img {
	width: 100%;
	height: auto;
	max-height: 500px;
	/* līdzīgi kā video */
	display: block;
	object-fit: contain;
	border-radius: 10px;
}

/* thumbnails */
.f-image-thumbs {
	margin-top: 14px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
}

.f-image-thumb {
	flex: 0 0 auto;
	width: 92px;
	height: 70px;
	/* border-radius: 10px; */
	border: 1px solid rgba(0, 0, 0, 0.10);
	background: #ffffff;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.f-image-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.f-image-thumb:hover {
	/* transform: translateY(-3px); */
	border-color: #5E9852;
	box-shadow:
		0 14px 28px rgba(15, 23, 42, 0.22);
}

.f-image-thumb.is-active {
	border-color: rgba(94, 152, 82, 0.75);
	box-shadow: 0 10px 22px rgba(94, 152, 82, 0.18);
}

/* bultiņas (tāds pats “premium” stils kā citur) */
.f-image-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	cursor: pointer;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(6px);
	color: #2b2b2b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
	z-index: 3;
}

.f-image-prev {
	left: 50px;
}

.f-image-next {
	right: 50px;
}

.f-image-nav:hover {
	background: #5E9852;
	color: #ffffff;
	box-shadow: 0 12px 26px rgba(94, 152, 82, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.05);
}

/* smukie chevroni */
.f-image-nav {
	font-size: 0;
}

.f-image-nav::before {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	display: block;
}

.f-image-prev::before {
	transform: rotate(135deg);
}

.f-image-next::before {
	transform: rotate(-45deg);
}

@media (max-width: 768px) {
	.f-image-nav {
		width: 40px;
		height: 40px;
	}

	.f-image-prev {
		left: 10px;
	}

	.f-image-next {
		right: 10px;
	}

	.f-image-thumb {
		width: 84px;
		height: 64px;
	}
}

/* ===================== */
/* SET 2 – Align image + video to same "stage" height */
/* ===================== */

/* viena kopīga augstuma vērtība (vari pamainīt) */
:root {
	--set2-stage-h: 520px;
}

/* uz mazākiem ekrāniem – zemāks stage */
@media (max-width: 1200px) {
	:root {
		--set2-stage-h: 480px;
	}
}

@media (max-width: 992px) {
	:root {
		--set2-stage-h: 420px;
	}
}

@media (max-width: 768px) {
	:root {
		--set2-stage-h: 360px;
	}
}

/* bilde: stage */
.f-image-main {
	height: var(--set2-stage-h);
}

/* bilde: lai slīd un centrējas pareizi */
.f-image-slide {
	height: var(--set2-stage-h);
}

.f-image-slide img {
	width: 100%;
	height: 100%;
	max-height: none;
	/* svarīgi – lai nepārtrauc augstumu */
	object-fit: contain;
	/* lai vienmēr ielien */
	border-radius: 10px;
}

/* video: stage (ar vietu dotsiem zemāk jau ir padding-bottom) */
.f-video-slider {
	height: var(--set2-stage-h);
	padding-bottom: 0;
	/* stage augstums tagad fiksēts */
}

/* ja gribi, lai dots paliek zem video – ietinām iekš wrapper (bez PHP varam vienkārši atstāt dots iekš video un neoverlay) */
.f-video-dots {
	margin-top: 12px;
}

/* video slides vienāda augstuma */
.f-video-slide {
	height: var(--set2-stage-h);
}

.f-wood-video {
	width: 100%;
	height: 100%;
	max-height: none;
	/* svarīgi */
	object-fit: cover;
	/* ja gribi contain, nomaini uz contain */
	border-radius: 10px;
}

/* bultiņas abiem vienā augstumā, jo abi stage ir vienādi */
.f-image-nav,
.f-video-nav {
	top: 50%;
	transform: translateY(-50%);
}

/* ===================== */
/* SET 2 – VIDEO DOTS */
/* ===================== */

.f-video-dots {
	margin-top: 14px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.f-video-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;

	background: rgba(0, 0, 0, 0.25);

	box-shadow:
		0 2px 6px rgba(0, 0, 0, 0.25);

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

.f-video-dot.is-active {
	background: #5E9852;
	transform: scale(1.35);
	box-shadow:
		0 4px 12px rgba(94, 152, 82, 0.55);
}

.f-video-dot:hover {
	transform: scale(1.25);
	background: rgba(0, 0, 0, 0.45);
}

/* VIDEO kolonna – saliekam slider + dots vertikāli */
.f-wood-video-col {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	/* lai dots centrējas pēc sava wrappera */
}

/* dots centrā zem video */
.f-video-dots {
	margin-top: 14px;
	display: flex;
	justify-content: center;
	gap: 10px;
}



/* ===================== */
/* SET 1 – COLORS SECTION */
/* ===================== */

.set1-colors {
	max-width: 1400px;
	margin: 2.4rem auto 0;
}

.set1-colors-title {
	font-size: 1.15rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #424242;
	margin: 0 0 0.75rem 0;
	text-align: left;
}

.set1-colors-subtitle {
	font-size: 1rem;
	line-height: 1.65;
	color: #424242;
	max-width: 820px;
	margin: 0 0 0.8rem 0;
}

.set1-colors-name {
	font-size: 0.95rem;
	color: rgba(0, 0, 0, 0.55);
	font-style: italic;
	letter-spacing: 0.02em;
	margin: 0 0 1.2rem 0;
}

/* grid */
.set1-color-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	align-items: flex-start;
	/* justify-content: center; */
}

/* item */
.set1-color-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

/* 100x100 swatch */
.set1-color-swatch {
	width: 100px;
	height: 100px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.10);
	border-radius: 0;
	/* kantaini */
	overflow: hidden;

	/* lai hover “palielinās turpat” */
	transform-origin: center;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.set1-color-swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* swatcham parasti ok; ja vajag contain, pasaki */
	display: block;
}

/* hover: palielinās vietā (nelec uz centru) */
.set1-color-item:hover .set1-color-swatch {
	transform: scale(1.08);
	border-color: rgba(94, 152, 82, 0.70);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

/* label apakšā */
.set1-color-label {
	font-size: 0.92rem;
	font-weight: 600;
	color: #424242;
	text-align: center;
	max-width: 120px;
}

/* responsīvi */
@media (max-width: 992px) {
	.set1-colors {
		max-width: 640px;
	}
}

@media (max-width: 768px) {
	.set1-colors {
		max-width: 100%;
	}

	.set1-color-grid {
		gap: 5px;
	}

	.set1-color-swatch {
		width: 92px;
		height: 92px;
	}
}

/* ===================== */
/* SET 1 – COLORS mobile centering */
/* ===================== */

@media (max-width: 768px) {

	.set1-colors {
		text-align: center;
	}

	.set1-colors-title {
		text-align: center;
	}

	.set1-colors-subtitle {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.set1-colors-name {
		text-align: center;
	}

	.set1-color-grid {
		justify-content: center;
		/* centrē krāsas */
	}
}

/* ===================== */
/* SET 1 – Thumbnails instead of dots */
/* ===================== */

.set1-slider {
	padding-bottom: 0;
	/* vairs nevajag vietu dotiem */
}

/* thumbs rinda */
.set1-thumbs {
	margin-top: 14px;
	display: flex;
	justify-content: center;
	/* centrē */
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
}

/* katrs thumb */
.set1-thumb {
	flex: 0 0 auto;
	width: 92px;
	height: 70px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0;
	/* kantaini (kā tu gribēji citur) */
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.set1-thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	/* ✅ lai nezoomējas */
	background: #fff;
}

/* hover pamanāms */
.set1-thumb:hover {
	/* transform: translateY(-3px); */
	border-color: #5E9852;
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

/* active */
.set1-thumb.is-active {
	border-color: rgba(94, 152, 82, 0.80);
	box-shadow: 0 10px 22px rgba(94, 152, 82, 0.18);
}

/* mobilais */
@media (max-width: 768px) {
	.set1-thumb {
		width: 84px;
		height: 64px;
	}
}

/* ===================== */
/* SET 1 – VARNISH SECTION */
/* ===================== */

.set1-varnish {
	max-width: 1400px;
	margin: 2.2rem auto 0;
}

.set1-varnish-title {
	font-size: 1.15rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #424242;
	margin: 0 0 0.75rem 0;
	text-align: left;
}

.set1-varnish-subtitle {
	font-size: 1rem;
	line-height: 1.65;
	color: #424242;
	max-width: 820px;
	margin: 0 0 1.2rem 0;
}

.set1-varnish-group {
	margin-top: 1.2rem;
}

/* šis ir “color_name” analogs, ko tu gribi: mazāks, vājāks, italic, lowercase */
.set1-varnish-name {
	font-size: 0.95rem;
	color: rgba(0, 0, 0, 0.55);
	font-style: italic;
	letter-spacing: 0.02em;
	margin: 0 0 1rem 0;
}

/* responsīvi – kā colors */
@media (max-width: 992px) {
	.set1-varnish {
		max-width: 640px;
	}
}

@media (max-width: 768px) {
	.set1-varnish {
		max-width: 100%;
		text-align: center;
	}

	.set1-varnish-title,
	.set1-varnish-subtitle,
	.set1-varnish-name {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	/* reuse: centrē grid */
	.set1-varnish .set1-color-grid {
		justify-content: center;
	}
}

/* ja ir thumbnails, bultas slēpjam */
.set1-slider:has(.set1-thumbs) .set1-nav {
	display: none;
}

/* font-size: clamp(1.6rem, 3vw, 2.3rem); */

/* ===================== */
/* ARBO IN NUMBERS */
/* ===================== */

.arbo-numbers-section {
	background: #ffffff;
	/* padding: clamp(2.4rem, 3.2vw, 4.2rem) 0; */
}

.arbo-numbers-title {
	margin: 0 0 0.9rem 0;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #424242;
	text-align: center;
}

.arbo-numbers-subtitle {
	max-width: clamp(50%, 65vw, 85%);
	margin: 0 auto 2.2rem auto;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #424242;
	text-align: center;
}

@media (max-width: 768px) {
	.arbo-numbers-subtitle {
		max-width: 100%;
	}
}


/* vienā rindā (līdz ekrānam pietiek), automātiski salūzt zemāk */
.arbo-numbers-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.4rem;
	align-items: stretch;
}

/* kartīte */
.arbo-number-card {
	background: #f7f8fa;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	padding: 1.2rem 1.1rem 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.arbo-number-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
	border-color: rgba(94, 152, 82, 0.35);
}

/* bilde augšā */
.arbo-number-image {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.9rem;
}

.arbo-number-image img {
	width: 100%;
	max-width: 140px;
	height: auto;
	display: block;
	object-fit: contain;
}

/* name lielāks */
.arbo-number-name {
	font-size: 1.12rem;
	font-weight: 800;
	color: #424242;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 0.45rem 0;
	min-height: 50px;
}

/* text mazāks */
.arbo-number-text {
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(0, 0, 0, 0.72);
	margin: 0;
	max-width: 28ch;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 1100px) {
	.arbo-numbers-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.arbo-numbers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.arbo-numbers-grid {
		grid-template-columns: 1fr;
	}
}

/* ===================== */
/* Reveal on scroll (premium + slower) */
/* ===================== */

/* start state */
.js-reveal-stagger .reveal-item {
	opacity: 0;
	transform: translateY(22px) scale(0.98);
	filter: blur(2px);
	transition:
		opacity 0.95s ease,
		transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
		filter 1.05s ease;
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform, filter;
}

/* visible */
.js-reveal-stagger.is-visible .reveal-item {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.js-reveal-stagger .reveal-item {
		transition: none;
		opacity: 1;
		transform: none;
		filter: none;
	}
}


/* ===================== */
/* WHY SECTION – GLASS (FINAL, MOBILE TIGHT) */
/* ===================== */

.why-section {
	background: #ffffff;
}

.why-section .container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.why-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

/* CARD */
.why-card {
	position: relative;
	overflow: hidden;
	min-height: clamp(360px, 42vw, 540px);
	background: #000;
}

/* IMAGE */
.why-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.6s ease;
	z-index: 0;
}

@media (hover:hover) {
	.why-card:hover .why-image {
		transform: scale(1.07);
	}
}

/* LOCAL DARKENING */
.why-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background: radial-gradient(circle at center,
			rgba(0, 0, 0, 0.50) 0%,
			rgba(0, 0, 0, 0.26) 42%,
			rgba(0, 0, 0, 0.10) 65%,
			rgba(0, 0, 0, 0.00) 80%);
}

/* GLASS */
.why-glass {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;

	width: min(560px, calc(100% - 48px));
	padding: clamp(16px, 1.6vw, 26px);
	border-radius: 0;

	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);

	backdrop-filter: blur(18px) saturate(150%);
	-webkit-backdrop-filter: blur(18px) saturate(150%);

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
	.why-glass {
		background: rgba(0, 0, 0, 0.48);
	}
}

/* TEXT */
.why-title {
	margin: 0 0 0.8rem 0;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #ffffff;
	text-align: center;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.why-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.55rem;
	text-align: left;
}

.why-list li {
	position: relative;
	padding-left: 1.45rem;
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.96);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.why-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.52em;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

/* ===================== */
/* MOBILE – SHORTER IMAGE, STILL FITS TEXT */
/* ===================== */

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

	/* ✅ SHORTER image but still enough for glass */
	.why-card {
		height: clamp(600px, 120vw, 760px);
		min-height: 0;
	}

	/* glass still identical and fits everything */
	.why-glass {
		width: calc(100% - 32px);
		padding: 16px;
		height: 420px;

		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.why-card::after {
		background: radial-gradient(circle at center,
				rgba(0, 0, 0, 0.62) 0%,
				rgba(0, 0, 0, 0.36) 46%,
				rgba(0, 0, 0, 0.14) 66%,
				rgba(0, 0, 0, 0.00) 82%);
	}
}

@media (max-width: 520px) {

	/* vēl nedaudz īsāks mazā ekrānā */
	.why-card {
		height: clamp(560px, 135vw, 700px);
	}

	.why-glass {
		width: calc(100% - 24px);
		padding: 14px;
		height: 420px;
		/* nemainām, lai abi vienādi */
	}

	.why-title {
		font-size: clamp(1.35rem, 6vw, 1.9rem);
	}
}

.why-image {
	transform: none;
	transition: none;
}

@media (hover:hover) {
	.why-card:hover .why-image {
		transform: none;
	}
}

/* ===================== */
/* MAP SECTION – 40/60 + 500px height desktop */
/* + Button styles */
/* ===================== */

.map-section {
	background: linear-gradient(135deg, #eef2ee 0%, #e2e8e2 100%);
	width: 100%;
	/* padding-bottom: clamp(1.6rem, 3vw, 3.2rem); */
	display: flex;
	justify-content: center;
	overflow-x: clip;
	/* lai nekad nerodas horizontālais scroll */
}

/* ✅ 40/60 bez overflow: fr, ne % + gap */
.map-split {
	width: 80%;
	margin: 0;

	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	/* 40/60 */
	column-gap: clamp(0.8rem, 1.4vw, 1.6rem);

	height: 500px;
	/* desktop fiksēts augstums */
	align-items: stretch;
}

/* ===================== */
/* LEFT – TEXT: pa vidu savā pusē, bet teksts no kreisās */
/* ===================== */

.map-content {
	padding: clamp(1.6rem, 2.4vw, 3rem);

	display: flex;
	flex-direction: column;
	justify-content: center;
	/* vertikāli pa vidu */
	align-items: center;
	/* horizontāli pa vidu (kā bloks) */

	text-align: left;
	min-width: 0;

	overflow-wrap: anywhere;
	word-break: break-word;
}

/* teksta bloka platums – centrēts, bet lasāms */
.map-content>* {
	width: min(520px, 100%);
}

/* TITLE */
.map-title {
	margin: 0 0 0.9rem 0;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #424242;
}

/* SUBTITLE */
.map-subtitle {
	margin: 0;
	font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.18rem);
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.68);
}

/* ===================== */
/* BUTTON */
/* ===================== */

.map-button-wrap {
	width: min(520px, 100%);
	margin-top: 1.1rem;
	/* zem subtitle */
}

.map-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	background: #5e9852;
	color: #fff;
	text-decoration: none;

	/* NE apaļi stūri */
	border-radius: 0;

	padding: 0.95rem 1.25rem;
	min-height: 48px;

	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.95rem;

	border: 2px solid #5e9852;

	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.map-button:hover {
	background: #548a49;
	border-color: #548a49;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.map-button:active {
	transform: translateY(0);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.map-button:focus-visible {
	outline: 3px solid rgba(94, 152, 82, 0.35);
	outline-offset: 3px;
}

/* ===================== */
/* RIGHT – IMAGE */
/* ===================== */

.map-media {
	height: 100%;
	/* 100% strādā, jo parentam ir height:500px */
	min-width: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	overflow: hidden;
}

.map-image {
	width: 100%;
	height: 100%;
	display: block;

	object-fit: contain;
	/* rāda visu bildi */
	object-position: center;
}

/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width: 992px) {
	.map-split {
		grid-template-columns: 1fr;
		height: auto;
		row-gap: 1rem;
		column-gap: 0;
		width: 100%;
	}

	.map-content {
		padding: 1.4rem 1.2rem;
		align-items: flex-start;
	}

	.map-content>* {
		width: 100%;
	}

	.map-button-wrap {
		width: 100%;
	}

	.map-button {
		width: 100%;
	}

	.map-media {
		height: 380px;
	}
}

@media (max-width: 520px) {
	.map-media {
		height: 320px;
	}
}


/* =========================================================
   PRODUCT TEMPLATE – Series subtitle under hero title
   ========================================================= */

body[data-template*="product"] .hero-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* the "Series" badge */
body[data-template*="product"] .hero-series {
	display: inline-flex;
	align-items: center;
	gap: .8rem;
	padding: .6rem 1.1rem;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	text-align: left;
}

/* IDENTISKS STILS LABEL + VALUE */
body[data-template*="product"] .hero-series-label,
body[data-template*="product"] .hero-series-value {
	font-size: clamp(1.2rem, 1.2vw + 1rem, 1.65rem);
	font-weight: bold;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
	color: #fff;
}

body[data-template*="product"] .hero-series-label {
	font-weight: 600;
}

/* VALUE akcentā */
body[data-template*="product"] .hero-series-value {
	color: #5e9852;
	position: relative;
	padding-left: 1rem;

	/* 🔑 paceļ virs blur */
	z-index: 1;

	/* 🔑 atgriež kontrastu */
}

/* vertikālā līnija */
body[data-template*="product"] .hero-series-value::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10%;
	height: 80%;
	width: 4px;
	background: #fff;
	opacity: 0.8;
}

/* Mobile */
@media (max-width: 520px) {
	body[data-template*="product"] .hero-series {
		max-width: min(520px, 92vw);
	}
}

/* ===================== */
/* SET 2 – when NO videos: center gallery */
/* ===================== */

/* kad nav video, layout lai ir 1 kolonna un galerija pa vidu */
.f-wood-layout.is-no-videos {
	display: grid;
	/* ja jau ir grid, tas pārrakstīs ar šo */
	grid-template-columns: 1fr;
	justify-items: center;
}

/* galerijas kolonna pa vidu + saprātīgs max-width */
.f-wood-layout.is-no-videos .f-wood-gallery-col {
	width: min(900px, 100%);
	margin: 0 auto;
}

/* video kolonna vispār pazūd (ja gadījumā HTML paliek tukša) */
.f-wood-layout.is-no-videos .f-wood-video-col {
	display: none;
}

/* =========================================================
   FINAL OVERRIDE – THUMBS (WRAP + center last row) ✅
   ========================================================= */

.f-image-gallery .f-image-thumbs {
	display: grid !important;

	/* 🔑 fiksētas kolonnas, kas pašas laužas rindās */
	grid-template-columns: repeat(auto-fit, 92px) !important;

	/* 🔑 centrē visas rindas, arī pēdējo */
	justify-content: center !important;

	gap: 2px !important;
	margin-top: 15px !important;
	padding: 0 !important;

	overflow: hidden !important;
}

.f-image-gallery .f-image-thumbs .f-image-thumb {
	width: 92px !important;
	height: 70px !important;

	margin: 0 !important;
	padding: 0 !important;

	box-shadow: none !important;
}

/* tablet */
@media (max-width: 768px) {
	.f-image-gallery .f-image-thumbs {
		grid-template-columns: repeat(auto-fit, 84px) !important;
		gap: 2px !important;
	}

	.f-image-gallery .f-image-thumbs .f-image-thumb {
		width: 84px !important;
		height: 64px !important;
	}
}

/* mobile */
@media (max-width: 480px) {
	.f-image-gallery .f-image-thumbs {
		grid-template-columns: repeat(auto-fit, 78px) !important;
	}

	.f-image-gallery .f-image-thumbs .f-image-thumb {
		width: 78px !important;
		height: 58px !important;
	}
}

/* =========================================================
   FINAL REAL FIX – force max 4 thumbs per row
   ========================================================= */

/* ierobežojam thumbs zonu */
.f-image-gallery .f-image-thumbs {
	max-width: calc((92px * 4) + (2px * 3)) !important;
	/* 4 thumbs + 3 gaps */
	margin-left: auto !important;
	margin-right: auto !important;

	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;

	gap: 2px !important;
}

/* fiksēts thumb izmērs */
.f-image-gallery .f-image-thumb {
	width: 92px !important;
	height: 70px !important;
	flex: 0 0 92px !important;
}

/* =========================================================
   FINAL LOGIC:
   <=6  = one row
   >=7  = multi-row (max 4 per row)
   ========================================================= */

/* common */
.f-image-gallery .f-image-thumbs {
	gap: 2px !important;
}

/* -------------------------
   ONE ROW (1–6 thumbs)
   ------------------------- */
.f-image-gallery .f-image-thumbs.thumbs-one-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	justify-content: center !important;

	max-width: none !important;
}

/* -------------------------
   MULTI ROW (7+ thumbs)
   ------------------------- */
.f-image-gallery .f-image-thumbs.thumbs-multi-row {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;

	/* 🔑 piespiež max 4 vienā rindā */
	max-width: calc((92px * 4) + (2px * 3)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* thumbs sizing */
.f-image-gallery .f-image-thumb {
	width: 92px !important;
	height: 70px !important;
	flex: 0 0 92px !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

/* tablet */
@media (max-width: 768px) {
	.f-image-gallery .f-image-thumbs.thumbs-multi-row {
		max-width: calc((84px * 3) + (2px * 2)) !important;
	}

	.f-image-gallery .f-image-thumb {
		width: 84px !important;
		height: 64px !important;
		flex-basis: 84px !important;
	}
}

/* mobile */
@media (max-width: 480px) {
	.f-image-gallery .f-image-thumbs.thumbs-multi-row {
		max-width: calc((78px * 2) + (2px * 1)) !important;
	}

	.f-image-gallery .f-image-thumb {
		width: 78px !important;
		height: 58px !important;
		flex-basis: 78px !important;
	}
}

/* =========================================================
   TECHNICAL TEMPLATE – Premium table layout (multi-series)
   ========================================================= */

.technical-section {
	background: #ffffff;
	padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.technical-container {
	width: min(1400px, 94vw);
	margin: 0 auto;
}


/* SPLIT ALU / WOOD */
.technical-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 3vw, 3rem);
	margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

/* COLUMN CARD */
.technical-col {
	background: #fafafa;
	border: 1px solid rgba(0, 0, 0, .06);
	padding: 1.8rem 1.9rem 2rem;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

/* TYPE GROUP TITLE */
.technical-type-title {
	margin: 0 0 .9rem;
	font-size: clamp(1.2rem, 1.6vw, 1.55rem);
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #111;
	min-height: 3.6rem;
}



/* SERIES LINE */
.technical-series {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin: 0 0 1rem;
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #424242;
}

.technical-series-sep {
	width: 2px;
	height: 18px;
	background: #111;
	opacity: .55;
}

/* series block spacing */
.technical-series-divider {
	height: 1px;
	background: rgba(0, 0, 0, .10);
	margin: 1.25rem 0 1.35rem;
}

/* TABLE WRAPPER */
.technical-table {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* HEADER */
.technical-head {
	display: grid;
	grid-template-columns: 1fr 92px 92px;
	padding: .45rem .6rem;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #666;
}

/* ROW */
.technical-row {
	display: grid;
	grid-template-columns: 1fr 92px 92px;
	align-items: center;
	background: #ffffff;
	padding: .6rem .6rem;
	transition: background .15s ease;
}

.technical-row:nth-child(even) {
	background: #f1f3f7;
}

.technical-row:hover {
	background: #e9edf4;
}

/* CELLS */
.technical-cell {
	font-size: .95rem;
	color: #424242;
}

.technical-name {
	padding-right: .8rem;
}

.technical-file {
	text-align: center;
}

/* PDF LINK */
.technical-pdf {
	font-size: .85rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	/* color: #5e9852; */
	text-decoration: none;
	cursor: pointer;
}

.technical-pdf:hover {
	text-decoration: underline;
}

/* EMPTY */
.technical-empty {
	color: #aaa;
	font-size: .85rem;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 992px) {
	.technical-split {
		grid-template-columns: 1fr;
	}

	.technical-col {
		padding: 1.5rem 1.3rem 1.6rem;
	}
}

@media (max-width: 520px) {

	.technical-head,
	.technical-row {
		grid-template-columns: 1fr 74px 74px;
	}

	.technical-type-title {
		font-size: 1.1rem;
	}

	.technical-cell {
		font-size: .92rem;
	}
}

.technical-series-first {
	/* color: #5e9852; */
}

.technical-series-first.is-sigma,
.technical-pdf.is-sigma {
	color: #5e9852;
}

.technical-series-first.is-vision,
.technical-pdf.is-vision {
	color: #2abed4;
}


.technical-series-rest {
	color: #424242;
}





/* ===================== */
/* FOOTER (final) */
/* Full-width background, max-width content */
/* ===================== */

#footer {
	background-color: #1B1F24 !important;
	color: #fff;
	width: 100%;
	position: relative;
	margin: 0;
	border: none;
	box-shadow: none;
	padding: 0;
	font-size: 0.95rem;
}

#footer::before,
#footer::after {
	content: none !important;
	display: none !important;
	height: 0 !important;
}

#footer .footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2.2rem 2.2rem;
}

/* Links */
#footer a {
	color: #fff;
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease, background .2s ease, transform .2s ease;
}

#footer a:hover {
	color: #5E9852;
	opacity: 1;
}

/* Headings + text */
#footer .footer-heading {
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: .02em;
	margin: 0 0 .8rem;
	text-transform: uppercase;
	opacity: .9;
}

#footer .footer-text {
	line-height: 1.55;
	opacity: .95;
}

/* Ensure the main row is TOP-aligned (prevents Follow vertically centering) */
#footer .footer-info-row {
	align-items: flex-start !important;
}

/* Logo column: center logo vertically ONLY within its own left block */
#footer .footer-brand-col {
	display: flex;
	align-items: center;
}

#footer .footer-brand {
	display: inline-flex;
	align-items: center;
}

#footer .footer-site-logo {
	max-height: 110px;
	width: auto;
	display: block;
}

/* Social */
#footer .footer-social {
	display: flex;
	gap: .8rem;
	align-items: center;
	justify-content: flex-start;
}

#footer .footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
}

#footer .footer-social__link:hover {
	background: rgba(94, 152, 82, .22);
	transform: translateY(-1px);
}

#footer .footer-social__link svg {
	display: block;
	fill: currentColor;
}

/* Certificates */
#footer .footer-certs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	justify-content: center;
	padding-top: .9rem;
	border-top: 1px solid rgba(255, 255, 255, .10);
}

#footer img.footer-cert-logo {
	width: 100px;
	height: 100px;
	object-fit: contain;
	display: block;
	opacity: .92;
}

#footer img.footer-cert-logo:hover {
	opacity: 1;
}

/* Mobile */
@media (max-width:768px) {
	#footer .footer-inner {
		padding: 2rem 1.4rem;
		text-align: center;
	}

	#footer .footer-social {
		justify-content: center;
	}

	#footer .footer-brand-col {
		justify-content: center;
	}

	#footer .footer-certs {
		justify-content: center;
	}
}


/* =========================================================
   TECHNICAL PARENT – refined cards (2 per row)
   ========================================================= */

.tech-parent-section {
	background: #ffffff;
	padding: clamp(2.6rem, 4vw, 3.8rem) 0;
}

.tech-parent-container {
	width: min(1200px, 94vw);
	margin: 0 auto;
}

/* GRID – 2 columns desktop, 1 mobile */
.tech-parent-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.6rem;
}

/* CARD */
.tech-parent-card {
	position: relative;
	background: #ffffff;
	border-radius: 14px;
	padding: 1.8rem 1.4rem 1.9rem;
	text-align: center;

	box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
	transition: transform .18s ease, box-shadow .18s ease;
}

/* INNER TECH FRAME */
.tech-parent-card::before {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, .08);
	opacity: .35;
	transition: opacity .18s ease, border-color .18s ease;
	pointer-events: none;
}

/* HOVER */
.tech-parent-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 46px rgba(15, 23, 42, .12);
}

.tech-parent-card:hover::before {
	opacity: 1;
	border-color: rgba(94, 152, 82, .35);
}

/* TITLE */
.tech-parent-title {
	margin: 0 0 .75rem;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #111;
	line-height: 1.25;
}

/* DESCRIPTION (ACF) */
.tech-parent-desc {
	margin: 0 0 1.4rem;
	font-size: .95rem;
	line-height: 1.5;
	color: rgba(17, 17, 17, .65);
}

/* BUTTON CENTER */
.tech-parent-actions {
	display: flex;
	justify-content: center;
}

.tech-parent-actions .map-button {
	padding: .8rem 1.25rem;
	min-height: 46px;
	font-size: .9rem;
}

/* MOBILE */
@media (max-width: 640px) {
	.tech-parent-grid {
		grid-template-columns: 1fr;
	}
}


.gi-gallery-item {
	font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* HERO wrap: bez radius */
.gi-hero-image-wrap {
	width: 100%;
	overflow: hidden;
	background: rgba(17, 17, 17, 0.06);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gi-hero-image {
	width: 100%;
	height: auto;
	display: block;
}

/* Empty */
.gi-hero-image-empty {
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gi-empty-note {
	opacity: 0.7;
	font-weight: 500;
}

/* Specification box (var palikt ar radius, bet ja arī tam nevajag, pasaki) */
.gi-spec-box {
	border-radius: 18px;
	padding: 22px;
	border: 1px solid rgba(17, 17, 17, 0.12);
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.gi-spec-title {
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.gi-spec-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.gi-spec-item {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
	align-items: baseline;
}

.gi-spec-label {
	opacity: 0.7;
	font-weight: 600;
}

.gi-spec-value {
	font-weight: 600;
}

/* Notes */
.gi-notes {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(17, 17, 17, 0.10);
}

.gi-notes-title {
	font-weight: 700;
	margin-bottom: 8px;
}

.gi-notes-text p {
	margin: 0 0 10px 0;
}

/* Bottom image grid: 2 columns, FULL SIZE (no crop), bez radius */
.gi-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.gi-grid-item {
	overflow: hidden;
	background: rgba(17, 17, 17, 0.06);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gi-grid-image {
	width: 100%;
	height: auto;
	/* <- svarīgākais */
	display: block;
	/* <- lai nav apakšā white gap */
	object-fit: unset;
	/* <- drošībai */
}

/* Responsive */
@media (max-width: 991px) {
	.gi-spec-item {
		grid-template-columns: 120px 1fr;
	}

	.gi-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.gi-spec-item {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

/* Gallery parent template */
.gy-gallery {
	font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Grid */
.gy-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

/* Card */
.gy-card {
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

/* Image */
.gy-image-wrap {
	width: 100%;
	background: rgba(17, 17, 17, 0.06);
}

.gy-image {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
}

.gy-image-placeholder {
	height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.6;
	font-weight: 600;
}

/* Card body – centrēts */
.gy-card-body {
	padding: 18px 16px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

/* Title – lielāks, pa vidu */
.gy-title {
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.25;
	text-align: center;
}

/* Button style (override for gallery) */
.map-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	background: #5e9852;
	color: #fff;
	text-decoration: none;

	border-radius: 0;

	padding: 0.95rem 1.25rem;
	min-height: 48px;

	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.95rem;

	border: 2px solid #5e9852;

	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.map-button:hover {
	background: #548a49;
	border-color: #548a49;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* Gallery-specific button sizing */
.gy-card .map-button {
	padding: 0.75rem 1.1rem;
	min-height: 44px;
	font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991px) {
	.gy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gy-image,
	.gy-image-placeholder {
		height: 240px;
	}
}

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

	.gy-image,
	.gy-image-placeholder {
		height: 220px;
	}
}

.technical-h-file {
	text-align: center;
}

/* @media (max-width: 768px) {
	.technical-h-file {
		text-align: right;
	}
} */

/* =========================================
   BIM MODELS – COMING SOON PAGE
   ========================================= */

.bim-coming-soon {
	padding: clamp(3rem, 6vw, 6rem) 0;
	background: #fff;
}

.bim-coming-soon-inner {
	width: min(1200px, 94vw);
	margin: 0 auto;
	text-align: center;
}

.bim-coming-soon-title {
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
}

/* =========================================
   PRIVACY POLICY FOOTER
   ========================================= */

.footer-privacy a {
	color: #ffffff;
	font-size: 14px;
	text-decoration: none;
	opacity: 0.8;
}

.footer-privacy a:hover {
	text-decoration: underline;
	opacity: 1;
}

.single-article .single-wrap {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

.single-article .entry-header {
	text-align: center;
}

.single-article .post-thumbnail img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 20px;
}


/* ==========================================================
   Newest Blog Posts grid
   - 4 kartītes vienādā izmērā
   - vienāda “title josla” sākumā (fixed height)
   - title sākumā centrā gan horizontāli, gan vertikāli
   - hover: apakšējais panelis paceļas un parāda excerpt + Read more
========================================================== */

/* Grid */
.newest-posts-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 0 24px;
}

/* Responsive */
@media (max-width: 992px) {
	.newest-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 576px) {
	.newest-posts-grid {
		grid-template-columns: 1fr;
	}
}

/* Card (link reset + shadow) */
.newest-post-card {
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;

	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	overflow: hidden;

	transition: transform .25s ease, box-shadow .25s ease;
}

.newest-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* Image area (equal size for all) */
.newest-post-card__media {
	width: 100%;
	aspect-ratio: 16 / 12;
	/* bišķ garāks nekā 16/10 */
	overflow: hidden;
	background: #f0f0f0;
}

.newest-post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.newest-post-card__placeholder {
	width: 100%;
	height: 100%;
	background: #e8e8e8;
}

/* ===========================
   Bottom overlay (2-part)
=========================== */

/* Whole overlay */
.newest-post-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.95);
	overflow: hidden;

	/* Rāda tikai title joslu sākumā */
	transform: translateY(calc(100% - 92px));
	transition: transform .3s ease;
}

.newest-post-card:hover .newest-post-card__overlay {
	transform: translateY(0);
}

/* Title bar (perfectly centered) */
.newest-post-card__bar {
	height: 92px;
	/* ŠIS kontrolē title zonas augstumu */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	text-align: center;
}

/* Title */
.newest-post-card__title {
	font-weight: 600;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;

	line-height: 1.25;
	max-height: calc(1.25em * 2);
}

/* Hidden body (appears on hover) */
.newest-post-card__body {
	padding: 0 14px 16px;
	opacity: 0;
	transition: opacity .2s ease .15s;
}

.newest-post-card:hover .newest-post-card__body {
	opacity: 1;
}

/* Excerpt */
.newest-post-card__excerpt {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.4;
}

/* Read more */
.newest-post-card__more {
	display: inline-block;
	margin-top: 10px;
	font-weight: 600;
	text-decoration: underline;
}

/* ===== Compact CTA menu item ===== */

.menu-cta > a.nav-link{
    background: rgba(94,152,82,0.70);
    color: #fff !important;

    /* Saglabā bootstrap proporcijas */
    padding: .35rem .7rem;   /* tas pats, kas parasti nav-link */
    line-height: 1.5;
    border-radius: 4px;

    font-weight: 500;       /* ne bold */
    display: block;         /* kā citiem */
}

/* Hover – tikai nedaudz tumšāks */
.menu-cta > a.nav-link:hover{
    background: #4b7f42;
    color: #fff !important;
    text-decoration: none;
}

/* Noņem underline efektu */
.menu-cta > a.nav-link::after,
.menu-cta > a.nav-link::before{
    display: none !important;
    content: none !important;
}

.menu-cta > a.nav-link:hover,
.menu-cta > a.nav-link:focus,
.menu-cta > a.nav-link.active{
    border-bottom: none !important;
    box-shadow: none !important;
}

.menu-cta > a.nav-link{
    transform: translateY(3px);
}

/* ja atrodamies CPD lapā */
.menu-cta.current-menu-item > a.nav-link,
.menu-cta.current_page_item > a.nav-link,
.menu-cta > a.nav-link.active{
    color: #ffffff !important;
}

.menu-cta > a.nav-link:focus,
.menu-cta > a.nav-link:active{
    color:#fff !important;
}

/* MOBILE ONLY */
@media (max-width: 991px){

  .menu-cta{
    width: 100%;
  }

  .menu-cta > a.nav-link{
    text-align: center;
    justify-content: center;
    width: 100%;
    display: block;
  }

}

#header .navbar-nav .menu-cta.current-menu-item > .nav-link,
#header .navbar-nav .menu-cta.current-menu-parent > .nav-link,
#header .navbar-nav .menu-cta.current-menu-ancestor > .nav-link{
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* CPD poga footerī */
.footer-cpd-btn{
    margin-top: 14px;
}

.footer-cpd-link{
    display: inline-block;
    background: #5E9852;
    color: #fff !important;
    padding: .6rem 1.1rem;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: 500;
    transition: background .2s ease, transform .15s ease;
}

/* hover */
.footer-cpd-link:hover{
    background: #4b7f42;
    color:#fff !important;
    transform: translateY(-1px);
}

/* Mobile – mazāks padding formai */
@media (max-width: 768px){

  .getintouch-form-wrapper{
    padding: 1.25rem 1.1rem;
  }

}