/*
Theme Name: Megabaitas
Theme URI: https://megabaitas.lt/
Author: Megabaitas
Description: Kompiuterių remonto dirbtuvių tema be papildomų įskiepių. Pagrindiniame puslapyje – interaktyvi „remonto kortelė“: lankytojas pasirenka gedimą ir mato dažniausią priežastį, ką daryti dabar ir ką atliks meistras. Jokių užklausos formų – visi keliai veda į skambutį. Turinys ir kontaktai keičiami per Išvaizda → Tinkinti.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: megabaitas
Tags: one-column, custom-logo, custom-menu, editor-style, featured-images, translation-ready, blog
*/

/* ==========================================================================
   1. Žymenys (tokens)
   ========================================================================== */

:root {
	--ink: #17202b;
	--ink-2: #222d3a;
	--ink-soft: #3a4654;
	--steel: #556372;
	--line: #cbd2d9;
	--alu: #e8ebee;
	--alu-2: #dce1e6;
	--white: #ffffff;
	--volt: #ffc21a;
	--volt-deep: #e5a900;
	--alert: #b8322a;
	--focus: #1d5fd1;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-md: 1.25rem;
	--fs-lg: 1.5625rem;
	--fs-xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.4375rem);
	--fs-hero: clamp(2.25rem, 1.25rem + 4vw, 3.875rem);

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 112px);
	--radius: 10px;
	--header-h: 72px;
}

/* ==========================================================================
   2. Pagrindai
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--alu);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	font-stretch: 100%;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

svg.icon {
	flex: none;
}

a {
	color: var(--ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-stretch: 125%;
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--ink);
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--volt);
	color: var(--ink);
	font-weight: 700;
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 12px;
}

.container {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ==========================================================================
   3. Mygtukai ir nuorodos
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.3em;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: inherit;
	font-size: var(--fs-base);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-call {
	background: var(--ink);
	color: var(--volt);
	font-variant-numeric: tabular-nums;
}

.btn-call:hover {
	background: var(--ink-soft);
}

.btn-call--hero {
	padding: 1em 1.5em;
	background: var(--volt);
	color: var(--ink);
	font-size: var(--fs-md);
	border-color: var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
}

.btn-call--hero:hover {
	background: var(--volt-deep);
}

.btn-call--hero:active {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--ink);
}

.btn-ghost {
	border-color: var(--ink);
	color: var(--ink);
	background: transparent;
}

.btn-ghost:hover {
	background: var(--ink);
	color: var(--white);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--volt-deep);
	padding-bottom: 2px;
}

.link-arrow .icon {
	transition: transform 0.15s ease;
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

/* ==========================================================================
   4. Antraštė
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
		position: relative;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	margin-right: auto;
}

.brand__link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--volt);
	color: var(--ink);
	border-radius: 9px;
	font-stretch: 125%;
	font-weight: 900;
	font-size: 1rem;
	letter-spacing: -0.04em;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.brand__name {
	font-stretch: 125%;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.brand__tagline {
	font-size: var(--fs-xs);
	color: var(--steel);
}

.custom-logo-link img {
	max-height: 56px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav .menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu li {
	position: relative;
}

.site-nav .menu a {
	display: block;
	padding: 10px 12px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
}

.site-nav .menu a:hover {
	background: var(--alu);
}

.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a,
.site-nav .menu .current-menu-ancestor > a {
	box-shadow: inset 0 -3px 0 var(--volt);
	border-radius: 0;
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	visibility: hidden;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.site-nav .menu li:hover > .sub-menu,
.site-nav .menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.btn-call--nav {
	padding: 0.65em 1em;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: transparent;
	color: var(--ink);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	cursor: pointer;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: inline-flex;
}

@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex;
	}

	.js .site-nav {
		display: none;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px var(--gutter) 24px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
	}

	.js .site-nav.is-open {
		display: flex;
	}

	.site-nav .menu {
		flex-direction: column;
	}

	.site-nav .menu a {
		padding: 14px 4px;
		font-size: var(--fs-md);
		border-bottom: 1px solid var(--alu-2);
		border-radius: 0;
	}

	.site-nav .sub-menu {
		position: static;
		visibility: visible;
		opacity: 1;
		transform: none;
		border: 0;
		padding: 0 0 0 16px;
	}

	.btn-call--nav {
		justify-content: center;
		padding: 1em;
	}

	/* Be JS meniu visada matomas apačioje antraštės */
	html:not(.js) .site-header__inner {
		flex-wrap: wrap;
	}

	html:not(.js) .site-nav {
		position: static;
		width: 100%;
		padding-inline: 0;
	}

	html:not(.js) .nav-toggle {
		display: none;
	}
}

/* ==========================================================================
   5. Pirmas ekranas ir remonto kortelė
   ========================================================================== */

.hero {
	position: relative;
	padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px);
	/* Dirbtuvių perforuota sienelė (pegboard) */
	background-color: var(--alu);
	background-image: radial-gradient(circle, rgba(23, 32, 43, 0.13) 1.6px, transparent 2px);
	background-size: 28px 28px;
	background-position: 14px 14px;
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.hero__title {
	max-width: 14ch;
	margin-bottom: 0.4em;
	font-size: var(--fs-hero);
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.hero__lead {
	max-width: 52ch;
	font-size: var(--fs-md);
	line-height: 1.5;
	color: var(--ink-soft);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.diag {
	margin-top: clamp(36px, 5vw, 56px);
	padding-top: 24px;
	border-top: 2px solid var(--ink);
}

.diag__title {
	margin-bottom: 0.3em;
	font-size: var(--fs-lg);
}

.diag__hint {
	max-width: 56ch;
	color: var(--steel);
	font-size: var(--fs-sm);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px;
	background: var(--white);
	color: var(--ink);
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font-family: inherit;
	font-size: var(--fs-sm);
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
	border-color: var(--ink);
}

.chip--urgent::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--alert);
}

.chip[aria-pressed="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--volt);
}

.chip[aria-pressed="true"].chip--urgent::before {
	background: var(--volt);
}

/* Kortelė */

.hero__tag {
	position: relative;
	padding-top: 72px;
	display: flex;
	justify-content: center;
}

.tag {
	--tag-cut: 34px;
	position: relative;
	width: min(100%, 440px);
	padding: 64px 30px 26px;
	background: var(--volt);
	color: var(--ink);
	border-radius: 0 0 14px 14px;
	clip-path: polygon(var(--tag-cut) 0, calc(100% - var(--tag-cut)) 0, 100% var(--tag-cut), 100% 100%, 0 100%, 0 var(--tag-cut));
	transform-origin: 50% 26px;
	transform: rotate(-2deg);
}

/* clip-path nukerpa šešėlį, todėl jį dedame tėvui */
.hero__tag {
	filter: drop-shadow(0 16px 20px rgba(23, 32, 43, 0.16));
}

.tag__hole {
	position: absolute;
	top: 16px;
	left: 50%;
	width: 22px;
	height: 22px;
	margin-left: -11px;
	border-radius: 50%;
	background: var(--alu);
	box-shadow: 0 0 0 5px var(--white), inset 0 2px 3px rgba(0, 0, 0, 0.25);
}


/* Virvelė piešiama ant tėvo, nes kortelės clip-path ją nukirptų. */
.hero__tag::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 98px;
	margin-left: -1px;
	background: linear-gradient(var(--ink-soft), var(--ink));
	transform-origin: 50% 100%;
	transform: rotate(-2deg);
	z-index: 2;
}

.hero__tag::after {
	content: "";
	position: absolute;
	top: -6px;
	left: 50%;
	width: 14px;
	height: 14px;
	margin-left: -7px;
	border-radius: 50%;
	background: var(--ink);
	box-shadow: 0 0 0 4px var(--alu-2);
}


.tag__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
	font-stretch: 75%;
	font-weight: 700;
	font-size: var(--fs-sm);
}

.tag__brand {
	font-stretch: 125%;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.tag-row {
	padding: 9px 0 10px;
	border-bottom: 1px dashed rgba(23, 32, 43, 0.4);
}

.tag-row:last-child {
	border-bottom: 0;
}

.tag-label {
	display: block;
	font-stretch: 75%;
	font-weight: 650;
	font-size: var(--fs-xs);
	color: rgba(23, 32, 43, 0.72);
	letter-spacing: 0.01em;
}

.tag-value {
	display: block;
	font-size: var(--fs-sm);
	line-height: 1.45;
}

.tag-value--title {
	font-stretch: 112%;
	font-weight: 800;
	font-size: var(--fs-md);
	line-height: 1.2;
}

.tag__body {
	position: relative;
}

.tag__stamp {
	display: none;
	position: absolute;
	top: 2px;
	right: -4px;
	z-index: 1;
	padding: 3px 10px;
	border: 3px solid var(--alert);
	border-radius: 6px;
	color: var(--alert);
	font-stretch: 75%;
	font-weight: 800;
	font-size: var(--fs-sm);
	line-height: 1.3;
	transform: rotate(6deg);
	background: rgba(255, 255, 255, 0.4);
}

.tag.is-urgent .tag__stamp {
	display: block;
}

.tag.is-urgent .tag-value--title {
	margin-top: 14px;
}

.tag__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 2px solid var(--ink);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.tag__check {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.tag__check::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid var(--ink);
	border-radius: 3px;
	background:
		linear-gradient(45deg, transparent 44%, var(--ink) 44%, var(--ink) 58%, transparent 58%) 2px 4px / 6px 6px no-repeat,
		linear-gradient(-45deg, transparent 44%, var(--ink) 44%, var(--ink) 58%, transparent 58%) 5px 1px / 8px 9px no-repeat;
}

.tag__call {
	margin-left: auto;
	font-stretch: 112%;
	font-weight: 800;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.tag__call:hover {
	text-decoration: underline;
}

/* Vienas judesys: kortelė atsikabina ir siūbuoja, kai pakeičiamas gedimas */

@keyframes mb-swing {
	0% { transform: rotate(-2deg); }
	20% { transform: rotate(4deg); }
	45% { transform: rotate(-4.5deg); }
	68% { transform: rotate(1.5deg); }
	85% { transform: rotate(-2.6deg); }
	100% { transform: rotate(-2deg); }
}

@keyframes mb-drop {
	0% { transform: translateY(-40px) rotate(8deg); opacity: 0; }
	55% { transform: translateY(0) rotate(-5deg); opacity: 1; }
	78% { transform: rotate(1deg); }
	100% { transform: rotate(-2deg); }
}

.js .tag {
	animation: mb-drop 0.9s cubic-bezier(0.3, 0.7, 0.4, 1) both;
}

.js .tag.is-swinging {
	animation: mb-swing 0.9s cubic-bezier(0.3, 0.6, 0.4, 1);
}

.tag-value.is-writing {
	animation: mb-ink 0.45s ease both;
}

@keyframes mb-ink {
	from { opacity: 0; clip-path: inset(0 100% 0 0); }
	to { opacity: 1; clip-path: inset(0 0 0 0); }
}

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

	.hero__tag {
		padding-top: 64px;
	}
}

@media (max-width: 480px) {
	.hero__tag {
		padding-inline: 10px;
	}

	.tag {
		padding-inline: 20px;
		--tag-cut: 26px;
	}
}

/* ==========================================================================
   6. Faktų juosta
   ========================================================================== */

.facts {
	background: var(--ink);
	color: var(--white);
}

.facts__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.facts__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 26px 20px 26px 0;
	font-size: var(--fs-sm);
	line-height: 1.35;
	color: #d6dce2;
}

.facts__list li + li {
	padding-left: 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.facts__list strong {
	font-stretch: 125%;
	font-weight: 850;
	font-size: 2rem;
	line-height: 1;
	color: var(--volt);
	font-variant-numeric: tabular-nums;
}

.facts__list .icon {
	color: var(--volt);
}

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

	.facts__list li:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}

	.facts__list li:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
}

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

	.facts__list li,
	.facts__list li + li {
		padding: 18px 0;
		border-left: 0;
	}

	.facts__list li + li {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
}

/* ==========================================================================
   7. Sekcijos
   ========================================================================== */

.section {
	padding-block: var(--section);
}

.section__head {
	max-width: 640px;
	margin-bottom: clamp(32px, 4vw, 52px);
}

.section__head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	max-width: none;
}

.section__head--row .section__title {
	margin-bottom: 0;
}

.section__title {
	font-size: var(--fs-xl);
	text-wrap: balance;
}

.section__intro {
	margin: 0;
	font-size: var(--fs-md);
	color: var(--steel);
	line-height: 1.5;
}

/* Paslaugos */

.services {
	background: var(--white);
}

.services__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(32px, 5vw, 72px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.service {
	display: grid;
	grid-template-columns: 56px 1fr;
	column-gap: 20px;
	padding: 28px 0 30px;
	border-top: 2px solid var(--ink);
}

.service__icon {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	background: var(--volt);
	border-radius: 12px;
}

.service__title {
	margin-bottom: 0.35em;
	font-size: var(--fs-md);
}

.service__text {
	margin: 0;
	color: var(--ink-soft);
}

.services__more {
	margin: 24px 0 0;
}

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

/* Remonto eiga – tikra seka, todėl numeruojama */

.steps__list {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.steps__list::before {
	content: "";
	position: absolute;
	top: 23px;
	left: 24px;
	right: 24px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px);
}

.step {
	position: relative;
	counter-increment: step;
}

.step::before {
	content: counter(step);
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	background: var(--ink);
	color: var(--volt);
	border-radius: 50%;
	font-stretch: 125%;
	font-weight: 850;
	font-size: 1.25rem;
	box-shadow: 0 0 0 6px var(--alu);
}

.step:last-child::before {
	background: var(--volt);
	color: var(--ink);
}

.step__title {
	font-size: var(--fs-md);
	margin-bottom: 0.4em;
}

.step__text {
	margin: 0;
	color: var(--ink-soft);
	font-size: var(--fs-sm);
}

@media (max-width: 960px) {
	.steps__list {
		grid-template-columns: 1fr;
		gap: 0;
		max-width: 560px;
	}

	.steps__list::before {
		top: 24px;
		bottom: 24px;
		left: 23px;
		right: auto;
		width: 2px;
		height: auto;
		background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px);
	}

	.step {
		display: grid;
		grid-template-columns: 48px 1fr;
		column-gap: 20px;
		padding-bottom: 28px;
	}

	.step::before {
		grid-row: span 2;
		margin: 0;
	}
}

/* Apie mus ir atsiliepimai */

.about {
	background: var(--white);
}

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.about__text {
	max-width: 58ch;
	font-size: var(--fs-md);
	line-height: 1.55;
	color: var(--ink-soft);
}

.values {
	display: grid;
	gap: 0;
	margin: 32px 0;
}

.values > div {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}

.values dt {
	font-stretch: 112%;
	font-weight: 750;
}

.values dd {
	margin: 0;
	color: var(--ink-soft);
}

.about__photo {
	margin: 0 0 32px;
}

.about__photo img {
	display: block;
	width: 100%;
	border-radius: 14px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.reviews {
	padding: 32px;
	background: var(--alu);
	border-radius: 14px;
}

.reviews__title {
	font-size: var(--fs-md);
	margin-bottom: 20px;
}

.review {
	margin: 0;
	padding: 20px 0;
	border-top: 1px solid var(--line);
}

.review blockquote {
	margin: 0 0 10px;
}

.review blockquote p {
	margin: 0;
	font-size: var(--fs-md);
	line-height: 1.45;
}

.review blockquote p::before {
	content: "„";
}

.review blockquote p::after {
	content: "“";
}

.review figcaption {
	font-weight: 700;
	font-size: var(--fs-sm);
	color: var(--steel);
}

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

	.values > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* DUK */

.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.faq__grid .section__head {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.faq__item {
	border-top: 2px solid var(--ink);
}

.faq__item:last-child {
	border-bottom: 2px solid var(--ink);
}

.faq__item summary {
	position: relative;
	display: block;
	padding: 20px 52px 20px 0;
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--fs-md);
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::before,
.faq__item summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 18px;
	height: 2.5px;
	margin-top: -1px;
	background: var(--ink);
	transition: transform 0.2s ease;
}

.faq__item summary::after {
	transform: rotate(90deg);
}

.faq__item[open] summary::after {
	transform: rotate(0deg);
}

.faq__item p {
	max-width: 62ch;
	margin: 0;
	padding: 0 0 22px;
	color: var(--ink-soft);
}

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

	.faq__grid .section__head {
		position: static;
	}
}

/* Naujausi įrašai / kortelės */

.latest {
	background: var(--white);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}

.latest .card {
	background: var(--alu);
	border-color: transparent;
}

.card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}

.card__title {
	font-size: var(--fs-md);
	line-height: 1.25;
	margin-bottom: 0.5em;
}

.card__title a {
	text-decoration: none;
}

.card__title a:hover {
	text-decoration: underline;
}

.card__excerpt {
	color: var(--ink-soft);
	font-size: var(--fs-sm);
}

.card__time {
	margin: auto 0 0;
	font-size: var(--fs-xs);
	color: var(--steel);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0 0 10px;
	font-size: var(--fs-xs);
	color: var(--steel);
}

.post-meta-cat {
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
	box-shadow: inset 0 -2px 0 var(--volt);
}

/* ==========================================================================
   8. Kontaktų juosta ir poraštė
   ========================================================================== */

.contact-band {
	background: var(--ink);
	color: var(--white);
	padding-block: var(--section);
}

.contact-band :focus-visible {
	outline-color: var(--volt);
}

.contact-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: end;
}

.contact-band__title {
	max-width: 20ch;
	color: var(--white);
	font-size: var(--fs-xl);
}

.contact-band__phone {
	display: inline-block;
	margin: 8px 0 16px;
	color: var(--volt);
	font-stretch: 125%;
	font-weight: 850;
	font-size: clamp(2.25rem, 1rem + 5vw, 5rem);
	line-height: 1;
	letter-spacing: -0.03em;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.contact-band__phone:hover {
	text-decoration: underline;
	text-decoration-thickness: 4px;
	text-underline-offset: 0.12em;
}

.contact-band__note {
	max-width: 44ch;
	margin: 0;
	color: #c3cbd3;
}

.contact-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: #dfe4e9;
	font-size: var(--fs-sm);
}

.contact-list .icon {
	color: var(--volt);
	margin-top: 2px;
}

.contact-list div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.contact-list__label {
	font-weight: 700;
	color: var(--white);
}

.contact-list a {
	color: var(--volt);
}

@media (max-width: 860px) {
	.contact-band__inner {
		grid-template-columns: 1fr;
	}
}

.site-footer {
	background: var(--ink-2);
	color: #b7c0c9;
	font-size: var(--fs-sm);
}

.site-footer :focus-visible {
	outline-color: var(--volt);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 28px;
}

.site-footer a {
	color: var(--white);
}

.site-footer__copy {
	margin: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	text-decoration: none;
}

.footer-menu a:hover {
	text-decoration: underline;
}

/* Skambinimo juosta telefonuose */

.call-bar {
	display: none;
}

@media (max-width: 760px) {
	body {
		padding-bottom: 68px;
	}

	.call-bar {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: 12px;
		z-index: 60;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 52px;
		background: var(--volt);
		color: var(--ink);
		border: 2px solid var(--ink);
		border-radius: 12px;
		box-shadow: 0 8px 24px rgba(23, 32, 43, 0.25);
		font-weight: 800;
		text-decoration: none;
		font-variant-numeric: tabular-nums;
	}
}

/* ==========================================================================
   9. Vidiniai puslapiai
   ========================================================================== */

.page-head {
	padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px);
	background-color: var(--alu);
	background-image: radial-gradient(circle, rgba(23, 32, 43, 0.12) 1.6px, transparent 2px);
	background-size: 28px 28px;
	border-bottom: 2px solid var(--ink);
}

.page-head__title {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
	font-weight: 850;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.page-head__desc {
	max-width: 60ch;
	margin-top: 14px;
	color: var(--steel);
	font-size: var(--fs-md);
}

.page-head__desc p {
	margin: 0;
}

.page-head--post .post-meta {
	font-size: var(--fs-sm);
}

.site-main:not(.front) {
	background: var(--white);
	padding-block: clamp(40px, 6vw, 80px);
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px;
}

.has-sidebar .layout {
	grid-template-columns: minmax(0, 1fr) 300px;
}

@media (max-width: 960px) {
	.has-sidebar .layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

.widget {
	margin-bottom: 36px;
}

.widget-title {
	font-size: var(--fs-md);
	padding-bottom: 8px;
	border-bottom: 2px solid var(--ink);
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px solid var(--alu-2);
}

/* Įrašo turinys */

.entry {
	max-width: 760px;
}

.layout__main > .entry {
	max-width: 760px;
}

.container.entry {
	max-width: calc(760px + var(--gutter) * 2);
}

.entry__thumb {
	margin: 0 0 36px;
}

.entry__thumb img {
	display: block;
	width: 100%;
	border-radius: 14px;
}

.entry-content {
	font-size: 1.125rem;
	line-height: 1.7;
}

.entry-content > * {
	margin-block: 0 1.1em;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: var(--fs-lg);
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: var(--fs-md);
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1.4em;
	font-size: var(--fs-base);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content li::marker {
	color: var(--steel);
	font-weight: 700;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--volt);
	font-size: var(--fs-md);
	line-height: 1.5;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 8px;
	font-size: var(--fs-sm);
	font-style: normal;
	color: var(--steel);
}

.entry-content img {
	border-radius: 8px;
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption,
.wp-element-caption {
	margin-top: 8px;
	font-size: var(--fs-sm);
	color: var(--steel);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-sm);
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	border-bottom: 2px solid var(--ink);
}

.entry-content code,
.entry-content pre {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: var(--alu);
	border-radius: 6px;
}

.entry-content code {
	padding: 0.1em 0.35em;
}

.entry-content pre {
	padding: 16px 18px;
	overflow-x: auto;
}

.entry-content hr,
.wp-block-separator {
	border: 0;
	border-top: 2px solid var(--ink);
	margin-block: 2.4em;
}

.entry-content .wp-block-button__link,
.entry-content .wp-element-button {
	padding: 0.85em 1.3em;
	background: var(--ink);
	color: var(--volt);
	border-radius: var(--radius);
	font-weight: 700;
	text-decoration: none;
}

.entry-content .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	border: 2px solid var(--ink);
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
	text-align: center;
}

.entry-content .alignwide {
	width: min(1100px, calc(100vw - var(--gutter) * 2));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.layout__main .entry-content .alignwide,
.layout__main .entry-content .alignfull {
	width: 100%;
	margin-left: 0;
	transform: none;
}

.entry-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 48px 0 32px;
	padding: 24px 28px;
	background: var(--volt);
	border-radius: 14px;
}

.entry-cta p {
	margin: 0;
	max-width: 36ch;
	font-stretch: 112%;
	font-weight: 700;
	font-size: var(--fs-md);
	line-height: 1.3;
}

.entry-tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 4px 12px;
	background: var(--alu);
	border-radius: 999px;
	font-size: var(--fs-xs);
	text-decoration: none;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 2px solid var(--ink);
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-navigation a {
	display: block;
	text-decoration: none;
}

.nav-label {
	display: block;
	font-size: var(--fs-xs);
	color: var(--steel);
}

.nav-title {
	font-weight: 700;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	font-weight: 600;
}

.page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--volt);
}

/* Paieška */

.search-form {
	display: flex;
	max-width: 520px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: var(--white);
	overflow: hidden;
}

.search-form__field {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border: 0;
	background: transparent;
	font: inherit;
	color: var(--ink);
}

.search-form__field:focus {
	outline: none;
}

.search-form:focus-within {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

.search-form__btn {
	display: grid;
	place-items: center;
	width: 52px;
	border: 0;
	background: var(--ink);
	color: var(--volt);
	cursor: pointer;
}

.search-again {
	margin-bottom: 40px;
}

.empty {
	max-width: 560px;
}

.wp-block-search__inside-wrapper {
	display: flex;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
}

.wp-block-search__input {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 0;
	font: inherit;
}

.wp-block-search__button {
	margin: 0;
	padding: 0 16px;
	border: 0;
	background: var(--ink);
	color: var(--volt);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.wp-block-search__label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

/* 404 */

.notfound {
	max-width: 720px;
	padding-block: 24px;
}

.notfound__code {
	margin: 0;
	font-stretch: 125%;
	font-weight: 900;
	font-size: clamp(5rem, 3rem + 10vw, 10rem);
	line-height: 0.9;
	color: var(--volt);
	-webkit-text-stroke: 2px var(--ink);
	letter-spacing: -0.04em;
}

.notfound__title {
	font-size: var(--fs-xl);
	margin-top: 16px;
}

.notfound .search-form {
	margin-bottom: 24px;
}

/* Komentarai */

.comments {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 2px solid var(--ink);
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	list-style: none;
	padding-left: 24px;
}

.comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.comment-author img {
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 8px;
}

.comment-metadata {
	font-size: var(--fs-xs);
	color: var(--steel);
}

.comment-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
}

.comment-form .submit {
	padding: 0.85em 1.3em;
	border: 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--volt);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.legacy-call {
	margin-block: 24px;
}

/* ==========================================================================
   10. Senas Spectra turinys (be įskiepio)
   ========================================================================== */

.entry-content .wp-block-uagb-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 40px;
}

.entry-content .wp-block-uagb-container.alignfull,
.entry-content .wp-block-uagb-container.alignwide {
	width: 100%;
	margin-left: 0;
	transform: none;
}

.entry-content .uagb-container-inner-blocks-wrap {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.entry-content .uagb-layout-grid,
.entry-content .uagb-is-root-container.uagb-layout-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.entry-content .uagb-layout-grid > .wp-block-uagb-container {
	margin: 0;
	padding: 22px;
	background: var(--alu);
	border-radius: 12px;
}

.entry-content .uagb-ifb-title-prefix,
.entry-content .uagb-desc-text {
	display: block;
	margin-bottom: 6px;
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--steel);
}

.entry-content .uagb-ifb-title,
.entry-content .uagb-heading-text {
	margin-top: 0;
}

.entry-content .uagb-ifb-separator {
	width: 48px;
	height: 3px;
	margin: 12px 0;
	background: var(--volt);
}

.entry-content .uagb-ifb-button-wrapper {
	margin-top: 8px;
}

.entry-content .uagb-ifb-button-wrapper .wp-block-button__link {
	display: inline-flex;
}

.entry-content .wp-block-uagb-image__figure {
	margin: 0;
}

.entry-content .wp-block-uagb-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
}

.entry-content .wp-block-uagb-counter {
	padding: 20px 0;
	border-top: 2px solid var(--ink);
}

.entry-content .wp-block-uagb-counter__number {
	font-stretch: 125%;
	font-weight: 850;
	font-size: 2.5rem;
	line-height: 1;
}

.entry-content .wp-block-uagb-counter__title {
	color: var(--steel);
}

.entry-content .uag-star-rating {
	color: var(--volt-deep);
	letter-spacing: 2px;
}

.entry-content .uagb-tm__desc {
	font-size: var(--fs-md);
	line-height: 1.5;
	margin-bottom: 12px;
}

.entry-content .uagb-tm__meta-inner {
	display: flex;
	align-items: center;
	gap: 12px;
}

.entry-content .uagb-tm__image img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.entry-content .uagb-tm__author-name {
	font-weight: 700;
}

.entry-content .uagb-google-map__iframe,
.entry-content iframe {
	max-width: 100%;
	border: 0;
	border-radius: 12px;
}

/* ==========================================================================
   11. Judesio mažinimas ir spausdinimas
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.call-bar,
	.chips,
	.site-footer,
	.hero__tag {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.contact-band {
		background: #fff;
		color: #000;
	}

	.contact-band__phone {
		color: #000;
	}
}