/**
 * Gedarta pradinio puslapio sekcijos (2026 redizainas)
 */

.gh-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 24px;
}
.gh-eyebrow {
	display: inline-block;
	font-family: "Montserrat", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--g-blue);
	margin-bottom: 16px;
}
.gh-h2 {
	font-size: clamp(1.6rem, 3.2vw, 2.2rem);
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 16px;
}
.gh-sub {
	color: var(--g-slate);
	font-size: 1.05rem;
	line-height: 1.6;
	max-width: 640px;
	margin: 0 0 44px;
}
.gh-center { text-align: center; }
.gh-center .gh-sub { margin-left: auto; margin-right: auto; }

/* ================= HERO ================= */
.gh-hero {
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(22, 104, 227, 0.35), transparent 60%),
		radial-gradient(700px 500px at 10% 90%, rgba(255, 138, 0, 0.12), transparent 55%),
		linear-gradient(160deg, #0a1628 0%, #0e2140 55%, #0a1628 100%);
	color: #fff;
	overflow: hidden;
}
.gh-hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 72px 24px 64px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}
.gh-hero .gh-eyebrow { color: #7fb1ff; }
.gh-hero h1 {
	color: #fff;
	font-size: clamp(2rem, 4.2vw, 2.9rem);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 24px;
}
.gh-hero h1 em {
	font-style: normal;
	color: #7fb1ff;
}
.gh-hero-text p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 1.1rem;
	line-height: 1.7;
	margin: 0 0 34px;
	max-width: 520px;
}
.gh-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 38px;
}
.gh-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 12px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.gh-btn-primary {
	background: var(--g-orange);
	color: #fff !important;
	box-shadow: 0 10px 26px rgba(255, 138, 0, 0.35);
}
.gh-btn-primary:hover {
	background: var(--g-orange-d);
	transform: translateY(-2px);
	color: #fff;
}
.gh-btn-ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.25);
}
.gh-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}
.gh-btn-blue {
	background: var(--g-blue);
	color: #fff !important;
}
.gh-btn-blue:hover {
	background: var(--g-blue-d);
	transform: translateY(-2px);
	color: #fff;
}
.gh-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.gh-hero-trust li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.92rem;
	font-weight: 600;
}
.gh-hero-trust .star { color: #ffb800; }
.gh-hero-visual { position: relative; }
.gh-hero-visual img {
	width: 100%;
	height: auto;
	border-radius: 22px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	display: block;
}
.gh-hero-card {
	position: absolute;
	left: -22px;
	bottom: 24px;
	background: rgba(255, 255, 255, 0.97);
	color: var(--g-ink);
	border-radius: 14px;
	padding: 14px 18px;
	box-shadow: var(--g-shadow-lg);
	font-size: 0.9rem;
	line-height: 1.45;
}
.gh-hero-card strong {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: 1rem;
}
.gh-hero-card span { color: var(--g-slate); }

/* ================= USP juosta ================= */
.gh-usp-wrap { background: #fff; border-bottom: 1px solid var(--g-line); }
.gh-usp {
	max-width: 1200px;
	margin: 0 auto;
	padding: 26px 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.gh-usp-item {
	display: flex;
	align-items: center;
	gap: 14px;
}
.gh-usp-item svg {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	padding: 9px;
	border-radius: 12px;
	background: var(--g-sky);
	color: var(--g-blue);
}
.gh-usp-item strong {
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: 0.94rem;
	line-height: 1.25;
}
.gh-usp-item span {
	color: var(--g-slate);
	font-size: 0.84rem;
}

/* ================= Kategorijos ================= */
.gh-cats-wrap { background: var(--g-bg); }
.gh-cats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	/* Kadence p:last-child nunulina .gh-sub margin-bottom, todel tarpa laiko tinklelis */
	margin-top: 44px;
}
.gh-cat-card {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #fff;
	border: 1px solid var(--g-line);
	border-radius: var(--g-radius);
	padding: 22px;
	text-decoration: none;
	color: var(--g-ink);
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.gh-cat-card:hover {
	box-shadow: var(--g-shadow-lg);
	transform: translateY(-3px);
	border-color: rgba(22, 104, 227, 0.35);
	color: var(--g-ink);
}
.gh-cat-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-self: stretch;
}
.gh-cat-card h3 {
	font-size: 1.08rem;
	font-weight: 700;
	margin: 0 0 5px;
	line-height: 1.3;
}
.gh-cat-card p {
	color: var(--g-slate);
	font-size: 0.85rem;
	line-height: 1.45;
	margin: 0 0 12px;
}
.gh-cat-link {
	margin-top: auto;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--g-blue);
}
.gh-cat-card:hover .gh-cat-link { text-decoration: underline; }
.gh-cat-img {
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	border-radius: 14px;
	background: linear-gradient(160deg, var(--g-sky) 0%, #f2f7ff 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	overflow: hidden;
}
.gh-cat-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.25s ease;
}
.gh-cat-card:hover .gh-cat-img img { transform: scale(1.07); }
.gh-cat-icon svg {
	width: 46px;
	height: 46px;
	color: var(--g-blue);
	transition: transform 0.25s ease;
}
.gh-cat-card:hover .gh-cat-icon svg { transform: scale(1.1); }

/* ================= Prekiu blokai ================= */
.gh-products-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}
.gh-products-head .gh-sub { margin-bottom: 0; }
.gh-products-all {
	white-space: nowrap;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	color: var(--g-blue);
	text-decoration: none;
	font-size: 0.95rem;
}
.gh-products-all:hover { text-decoration: underline; }

/* ================= Paslaugos ================= */
.gh-services-wrap {
	background:
		radial-gradient(700px 400px at 90% 10%, rgba(22, 104, 227, 0.28), transparent 60%),
		var(--g-navy);
	color: #fff;
}
.gh-services-wrap .gh-h2, .gh-services-wrap h2 { color: #fff; }
.gh-services-wrap .gh-sub { color: rgba(255, 255, 255, 0.7); }
.gh-services-wrap .gh-eyebrow { color: #7fb1ff; }
.gh-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-bottom: 34px;
}
.gh-service-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--g-radius);
	padding: 26px;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
	display: block;
}
.gh-service-card:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-3px);
	color: #fff;
}
.gh-service-card svg {
	width: 40px;
	height: 40px;
	color: #7fb1ff;
	margin-bottom: 16px;
}
.gh-service-card h3 {
	color: #fff;
	font-size: 1.08rem;
	margin: 0 0 8px;
}
.gh-service-card p {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0;
}
.gh-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ================= Atsiliepimai ================= */
.gh-reviews-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}
.gh-score {
	font-family: "Montserrat", sans-serif;
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
}
.gh-stars { color: #ffb800; font-size: 1.2rem; letter-spacing: 2px; }
.gh-reviews-head small { display: block; color: var(--g-slate); margin-top: 4px; }
.gh-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.gh-review-card {
	background: #fff;
	border: 1px solid var(--g-line);
	border-radius: var(--g-radius);
	padding: 26px;
	box-shadow: var(--g-shadow);
}
.gh-review-card p {
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 12px 0 16px;
}
.gh-review-card cite {
	font-style: normal;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
}

/* ================= Naujienos ================= */
.gh-news-wrap { background: var(--g-bg); }
.gh-news-wrap .wp-block-latest-posts.is-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	padding: 0;
	margin: 40px 0 0;
}
.gh-news-wrap .wp-block-latest-posts.is-grid li {
	background: #fff;
	border: 1px solid var(--g-line);
	border-radius: var(--g-radius);
	overflow: hidden;
	margin: 0;
	width: auto;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.gh-news-wrap .wp-block-latest-posts.is-grid li:hover {
	box-shadow: var(--g-shadow-lg);
	transform: translateY(-3px);
}
.gh-news-wrap .wp-block-latest-posts__featured-image img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;
}
.gh-news-wrap .wp-block-latest-posts.is-grid li > a {
	display: block;
	padding: 18px 20px 4px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--g-ink);
	text-decoration: none;
}
.gh-news-wrap .wp-block-latest-posts.is-grid li > a:hover { color: var(--g-blue); }
.gh-news-wrap .wp-block-latest-posts__post-date {
	padding: 0 20px 18px;
	color: var(--g-slate);
	font-size: 0.84rem;
}

/* ================= Pabaigos CTA ================= */
.gh-cta {
	background:
		radial-gradient(600px 300px at 15% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
		linear-gradient(135deg, var(--g-blue) 0%, var(--g-blue-d) 100%);
	border-radius: 20px;
	color: #fff;
	padding: 52px 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.gh-cta h2 {
	color: #fff;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	margin: 0 0 8px;
	max-width: 560px;
}
.gh-cta p {
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	max-width: 560px;
}
.gh-cta-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.gh-cta .gh-btn-ghost { border-color: rgba(255, 255, 255, 0.4); }

/* ================= Mobilus vaizdas ================= */
@media (max-width: 1024px) {
	.gh-usp { grid-template-columns: repeat(2, 1fr); }
	.gh-cats-grid, .gh-services-grid, .gh-reviews-grid { grid-template-columns: repeat(2, 1fr); }
	.gh-news-wrap .wp-block-latest-posts.is-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.gh-section { padding: 44px 18px; }
	.gh-hero-inner {
		grid-template-columns: 1fr;
		padding: 48px 18px 44px;
		gap: 32px;
	}
	.gh-hero-card { left: 10px; bottom: 12px; }
	.gh-usp { grid-template-columns: 1fr; gap: 14px; padding: 20px 18px; }
	.gh-cats-grid, .gh-services-grid, .gh-reviews-grid { grid-template-columns: 1fr; }
	.gh-news-wrap .wp-block-latest-posts.is-grid { grid-template-columns: 1fr; }
	.gh-cta { padding: 34px 24px; }
	.gh-products-head { flex-direction: column; align-items: flex-start; }
}

/* Du gretimi prekiu blokai: 80px apacioje + 80px virsuje susidedavo i ~214px
   tuscios vietos. Gretimybes atveju tarpa dalinam per puse. */
.gh-section:has(+ .gh-section) {
	padding-bottom: 44px;
}
.gh-section + .gh-section {
	padding-top: 44px;
}
.gh-section ul.products {
	margin-bottom: 0;
}
