/* ==========================================================================
   Ekogruntas – pagrindiniai stiliai
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo.woff2") format("woff2");
	font-weight: 400 800;
	font-stretch: 75% 100%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}

/* Numatytosios reikšmės. Tikrosios spalvos skaičiuojamos inc/dizainas.php */
:root {
	--accent: #00a437;
	--accent-strong: #00862d;
	--accent-deep: #006b24;
	--accent-tint: #e6f6eb;
	--accent-on-light: #00a437;
	--accent-on-dark: #00a437;
	--button-bg: #00862d;
	--button-bg-hover: #006b24;
	--button-text: #fff;

	--ink: #141815;
	--text: #2c312d;
	--muted: #5c635d;
	--line: #dcd9d1;
	--line-strong: #c4c1b8;
	--sand: #f2f0ea;
	--white: #fff;
	--dark: #151a16;
	--dark-deep: #101410;
	--dark-2: #1d231e;
	--dark-line: rgba(255, 255, 255, .16);
	--dark-text: #c3c9c3;

	--wrap: 1240px;
	--gutter: 24px;
	--header-h: 84px;
	--section: clamp(64px, 9vw, 120px);

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-heading: var(--font);
	--narrow: 82%;

	--logo-akcentas: var(--accent-on-light);
	--logo-tekstas: var(--ink);
}

/* Bazė
   ========================================================================== */

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--accent-strong);
	text-underline-offset: .18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--accent-deep);
}

:focus-visible {
	outline: 3px solid var(--accent-strong);
	outline-offset: 2px;
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-heading);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: 1.05;
	letter-spacing: -.01em;
	text-wrap: balance;
}

p,
ul,
ol,
dl {
	margin: 0;
}

p + p {
	margin-top: 1em;
}

[hidden] {
	display: none !important;
}

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

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--white);
	color: var(--ink);
}

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

.icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
}

/* Mygtukai ir nuorodos
   ========================================================================== */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	padding: 14px 26px;
	border: 2px solid var(--button-bg);
	background: var(--button-bg);
	color: var(--button-text);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}

.button:hover {
	background: var(--button-bg-hover);
	border-color: var(--button-bg-hover);
	color: var(--button-text);
}

.button--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .55);
	color: var(--white);
}

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

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

.button--white:hover {
	border-color: var(--sand);
	background: var(--sand);
	color: var(--ink);
}

.button--outline {
	border-color: var(--accent-strong);
	background: transparent;
	color: var(--accent-strong);
}

.button--outline:hover {
	background: var(--button-bg);
	border-color: var(--button-bg);
	color: var(--button-text);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-weight: 700;
	text-decoration: none;
}

.text-link .icon {
	transition: transform .15s;
}

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

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

.text-link--light {
	color: var(--white);
}

.text-link--light:hover {
	color: var(--white);
}

/* Antraštė
   ========================================================================== */

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

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

.site-header__logo {
	flex: none;
	display: block;
}

.logo {
	width: 228px;
	height: auto;
}

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

.site-nav__list {
	display: flex;
	gap: 30px;
	margin: 0 auto 0 0;
	padding: 0;
	list-style: none;
}

.site-nav__link {
	display: block;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.site-nav__link:hover {
	color: var(--accent-strong);
}

.site-nav__link[aria-current="page"] {
	border-bottom-color: var(--accent-on-light);
}

.site-nav__phone {
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__phone:hover {
	color: var(--accent-strong);
}

.site-nav__cta {
	padding: 12px 22px;
	white-space: nowrap;
}

.menu-toggle {
	display: none;
}

/* Permatoma antraštė virš tamsaus pirmo ekrano */
.site-header--overlay {
	position: fixed;
	inset: 0 0 auto;
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, .14);
	transition: background-color .2s, border-color .2s;
	--logo-tekstas: var(--white);
	--logo-akcentas: var(--accent-on-dark);
}

.site-header--overlay .site-nav__link[aria-current="page"] {
	border-bottom-color: var(--accent-on-dark);
}

.site-header--overlay .site-nav__link,
.site-header--overlay .site-nav__phone,
.site-header--overlay .menu-toggle {
	color: var(--white);
}

.site-header--overlay.is-solid {
	background: var(--white);
	border-bottom-color: var(--line);
	--logo-tekstas: var(--ink);
	--logo-akcentas: var(--accent-on-light);
}

.site-header--overlay.is-solid .site-nav__link[aria-current="page"] {
	border-bottom-color: var(--accent-on-light);
}

.site-header--overlay.is-solid .site-nav__link,
.site-header--overlay.is-solid .site-nav__phone,
.site-header--overlay.is-solid .menu-toggle {
	color: var(--ink);
}

.site-header--overlay.is-solid .site-nav__link:hover,
.site-header--overlay.is-solid .site-nav__phone:hover {
	color: var(--accent-strong);
}

/* Pirmas ekranas
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(100svh, 880px);
	background: var(--dark);
	color: var(--white);
	isolation: isolate;
}

.hero__bg,
.page-head__bg,
.contact-band__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__video {
	opacity: 0;
	transition: opacity .8s ease;
}

.hero__video.is-playing {
	opacity: 1;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(12, 15, 13, .86) 0%, rgba(12, 15, 13, .6) 48%, rgba(12, 15, 13, .2) 100%),
		linear-gradient(0deg, rgba(12, 15, 13, .7) 0%, rgba(12, 15, 13, 0) 40%);
}

.hero__inner {
	padding-top: calc(var(--header-h) + 72px);
	padding-bottom: 72px;
}

.hero__title {
	max-width: 20ch;
	color: var(--white);
	font-size: clamp(2.25rem, min(4.2vw, 7.5vh), 4rem);
	line-height: 1.02;
}

.hero__title span {
	display: block;
	color: var(--accent-on-dark);
}

.hero__lead {
	max-width: 38rem;
	margin-top: 28px;
	color: #e3e7e3;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 40px;
}

.hero__facts {
	border-top: 1px solid var(--dark-line);
	background: rgba(12, 15, 13, .55);
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.facts__item {
	padding: 22px 24px 24px;
	border-left: 1px solid var(--dark-line);
}

.facts__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.facts dt {
	color: #9ea79f;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.facts dd {
	margin: 4px 0 0;
	color: var(--white);
	font-weight: 600;
}

.facts a {
	color: var(--white);
	text-decoration: none;
}

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

/* Vidinio puslapio viršus */
.page-head {
	position: relative;
	background: var(--dark);
	color: var(--white);
	isolation: isolate;
}

.page-head::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(12, 15, 13, .9) 0%, rgba(12, 15, 13, .7) 55%, rgba(12, 15, 13, .45) 100%);
}

.page-head__inner {
	padding-top: calc(var(--header-h) + 64px);
	padding-bottom: 64px;
}

.page-head__title {
	color: var(--white);
	font-size: clamp(2.4rem, 5.2vw, 4.25rem);
}

.page-head__lead {
	max-width: 44rem;
	margin-top: 18px;
	color: #dfe4df;
	font-size: 1.15rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	color: #aab2ab;
	font-size: .875rem;
}

.breadcrumbs li + li::before {
	content: "/";
	margin: 0 .6em;
	color: #6f786f;
}

.breadcrumbs a {
	color: #dfe4df;
	text-decoration: none;
}

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

/* Skiltys
   ========================================================================== */

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

.section--sand {
	background: var(--sand);
}

.section__more {
	margin-top: 48px;
}

.section-head {
	margin-bottom: 48px;
}

.section-head__nr {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
	color: var(--accent-strong);
	font-size: .875rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: .06em;
}

.section-head__nr::after {
	content: "";
	flex: 1;
	max-width: 280px;
	border-top: 1px solid var(--line-strong);
}

.section-head__title {
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

.section-head__lead {
	max-width: 44rem;
	margin-top: 16px;
	color: var(--muted);
	font-size: 1.125rem;
}

.subhead {
	margin: 36px 0 12px;
	font-size: 1.25rem;
}

/* Apie */
.intro {
	display: grid;
	grid-template-columns: 4fr 7fr;
	gap: 64px;
	align-items: start;
}

.intro .section-head {
	margin-bottom: 0;
}

.intro__statement {
	margin-bottom: 28px;
	color: var(--ink);
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 600;
	font-stretch: 90%;
	line-height: 1.3;
}

.intro__body .text-link {
	margin-top: 28px;
}

/* Produkcijos sąrašas
   ========================================================================== */

.catalog {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 56px;
	padding: 0;
	list-style: none;
}

.catalog__item {
	display: grid;
	grid-template-columns: 168px 1fr;
	gap: 24px;
	padding: 28px 0;
	border-bottom: 1px solid var(--line-strong);
}

.catalog__item:nth-child(-n + 2) {
	border-top: 1px solid var(--line-strong);
}

.catalog--detail .catalog__item {
	grid-template-columns: 220px 1fr;
}

.catalog__img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.catalog__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.catalog__fraction {
	margin-bottom: 6px;
	color: var(--accent-strong);
	font-size: .8125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.catalog__name {
	font-size: 1.5rem;
}

.catalog__text {
	margin-top: 10px;
}

.catalog__use {
	margin-top: 10px;
	color: var(--muted);
	font-size: .9375rem;
}

.catalog__use span {
	color: var(--ink);
	font-weight: 600;
}

.catalog__price {
	margin-top: 10px;
	color: var(--ink);
	font-size: .9375rem;
	font-weight: 600;
}

.catalog__doc {
	margin-top: 6px;
	font-size: .9375rem;
}

.catalog .text-link {
	margin-top: auto;
	padding-top: 16px;
}

/* Lentelės */
.table-wrap {
	overflow-x: auto;
}

.spec-table,
.people {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.spec-table th,
.spec-table td,
.people th,
.people td {
	padding: 16px 20px 16px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.spec-table thead th {
	padding-top: 0;
	border-bottom: 2px solid var(--ink);
	color: var(--muted);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.spec-table tbody th,
.people tbody th {
	color: var(--ink);
	font-weight: 700;
}

.spec-table tbody th a {
	color: var(--ink);
	text-decoration: none;
}

.spec-table tbody th a:hover {
	color: var(--accent-strong);
	text-decoration: underline;
}

.spec-table td:nth-child(2),
.spec-table td:last-child {
	white-space: nowrap;
}

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

.people th span {
	display: block;
	color: var(--muted);
	font-weight: 400;
}

.notes {
	margin-top: 24px;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: .9375rem;
}

.notes li {
	position: relative;
	padding-left: 18px;
}

.notes li + li {
	margin-top: 4px;
}

.notes li::before {
	content: "–";
	position: absolute;
	left: 0;
}

/* Sąrašai ir duomenys */
.rule-list {
	margin: 28px 0 36px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.rule-list li {
	position: relative;
	padding: 14px 0 14px 28px;
	border-bottom: 1px solid var(--line);
}

.rule-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.45em;
	width: 14px;
	border-top: 2px solid var(--accent-on-light);
}

.data-list > div {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.data-list > div:first-child {
	border-top: 1px solid var(--line);
}

.data-list dt {
	color: var(--muted);
}

.data-list dd {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
}

.data-list--light > div {
	border-color: var(--dark-line) !important;
}

.data-list--light dt {
	color: var(--dark-text);
}

.data-list--light dd {
	color: var(--white);
}

.contact-columns,
.columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

.columns__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.columns .button {
	margin-top: 4px;
}

/* Tamsi dviejų dalių skiltis
   ========================================================================== */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--dark);
	color: var(--dark-text);
}

.split__img {
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
}

.split__body {
	align-self: center;
	max-width: 640px;
	padding: var(--section) clamp(24px, 6vw, 88px);
}

.split--reverse .split__img {
	order: 2;
}

.split .section-head__nr {
	color: var(--accent-on-dark);
}

.split .rule-list li::before {
	border-color: var(--accent-on-dark);
}

.split .section-head__nr::after {
	border-color: var(--dark-line);
}

.split .section-head__title {
	color: var(--white);
}

.split .rule-list,
.split .rule-list li {
	border-color: var(--dark-line);
}

.split .rule-list li {
	color: var(--white);
}

/* Užsakymo eiga */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 40px 32px;
	padding: 0;
	list-style: none;
}

.steps__nr {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	color: var(--accent-strong);
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 800;
	font-stretch: var(--narrow);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.steps__nr::after {
	content: "";
	flex: 1;
	border-top: 1px solid var(--line-strong);
}

.steps__title {
	font-size: 1.2rem;
}

.steps__text {
	margin-top: 8px;
	color: var(--muted);
}

/* Vieta ir žemėlapis
   ========================================================================== */

.location {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 64px;
	align-items: start;
}

.contact-list {
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.contact-list__item {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.contact-list__item .icon {
	margin-top: .2em;
	color: var(--accent-strong);
}

.contact-list a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.contact-list a:hover {
	color: var(--accent-strong);
	text-decoration: underline;
}

.contact-list--light,
.contact-list--light .contact-list__item {
	border-color: var(--dark-line);
}

.contact-list--light .contact-list__item {
	color: var(--white);
}

.contact-list--light .icon {
	color: var(--accent-on-dark);
}

.contact-list--light a,
.contact-list--light a:hover {
	color: var(--white);
}

.coords {
	margin: 24px 0 28px;
}

.coords dt {
	color: var(--muted);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.coords dd {
	margin: 4px 0 0;
	color: var(--accent-strong);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.map {
	margin: 0;
}

.map__frame {
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--line-strong);
	background: var(--sand);
}

.map__caption {
	margin-top: 8px;
	color: var(--muted);
	font-size: .8125rem;
}

.map__caption a {
	color: inherit;
}

/* Galerija */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	background: var(--dark);
}

.gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Kontaktų juosta su forma
   ========================================================================== */

.contact-band {
	position: relative;
	background: var(--dark);
	color: var(--dark-text);
	isolation: isolate;
}

.contact-band__bg {
	opacity: .22;
	filter: grayscale(.4);
}

.contact-band--video::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--dark);
	opacity: .7;
}

.contact-band--video .contact-band__bg {
	opacity: 1;
	filter: grayscale(.25);
}

.contact-band--video .contact-band__video {
	opacity: 0;
	transition: opacity .8s ease;
}

.contact-band--video .contact-band__video.is-playing {
	opacity: 1;
}

.contact-band__inner {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 64px;
	align-items: start;
	padding-block: var(--section);
}

.contact-band__title {
	color: var(--white);
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

.contact-band__lead {
	margin: 20px 0 32px;
	font-size: 1.125rem;
}

/* Forma */
.quote {
	position: relative;
	padding: clamp(24px, 4vw, 44px);
	background: var(--white);
	color: var(--text);
}

.quote-page .quote {
	border: 1px solid var(--line-strong);
}

.quote__title {
	margin-bottom: 24px;
	font-size: 1.75rem;
}

.quote__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.quote__types {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 0 28px;
	padding: 0;
	border: 0;
}

.quote__legend {
	margin-bottom: 10px;
	padding: 0;
	color: var(--ink);
	font-weight: 700;
}

.quote__type {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid var(--line-strong);
	margin-left: -1px;
	cursor: pointer;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.quote__type:first-of-type {
	margin-left: 0;
}

.quote__type input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--accent-strong);
}

.quote__type:has(input:checked) {
	z-index: 1;
	border-color: var(--accent-strong);
	background: var(--accent-tint);
	color: var(--ink);
}

.quote__type:has(input:focus-visible) {
	outline: 3px solid var(--accent-strong);
	outline-offset: 2px;
}

.quote__type input:focus-visible {
	outline: none;
}

.quote__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}

.field {
	margin: 0 0 18px;
}

.field--wide {
	grid-column: 1 / -1;
}

.field label {
	display: block;
	margin-bottom: 6px;
	color: var(--ink);
	font-size: .9375rem;
	font-weight: 600;
}

.field input,
.field select,
.field textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}

.field select {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141815' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.field textarea {
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--accent-strong);
	outline: 2px solid var(--accent-strong);
	outline-offset: -1px;
}

.quote__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin-top: 6px;
}

.quote__note {
	flex: 1 1 240px;
	color: var(--muted);
	font-size: .875rem;
}

.notice {
	margin-bottom: 24px;
	padding: 14px 18px;
	border-left: 3px solid;
}

.notice--ok {
	border-color: var(--accent-strong);
	background: var(--accent-tint);
	color: var(--accent-deep);
}

.notice--error {
	border-color: #b3261e;
	background: #fbeceb;
	color: #8a1f17;
}

.quote-page {
	display: grid;
	grid-template-columns: 8fr 4fr;
	gap: 56px;
	align-items: start;
}

.quote-page__aside .subhead:first-child {
	margin-top: 0;
}

.quote-page__phone {
	font-family: var(--font-heading);
	font-size: 1.9rem;
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: 1.1;
}

.quote-page__phone a {
	color: var(--ink);
	text-decoration: none;
}

.prose {
	max-width: 800px;
}

.prose h1 {
	margin-bottom: 24px;
	font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

.prose > * + * {
	margin-top: 1em;
}

.prose h2 {
	margin-top: 56px;
	font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.prose h3 {
	margin-top: 36px;
	font-size: 1.25rem;
}

.prose h2 + *,
.prose h3 + * {
	margin-top: 14px;
}

.prose h2:first-child,
.prose h3:first-child {
	margin-top: 0;
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
}

.prose li + li {
	margin-top: .4em;
}

.prose li::marker {
	color: var(--accent-strong);
}

.prose figure {
	margin-inline: 0;
	margin-bottom: 0;
}

.prose .wp-block-table {
	overflow-x: auto;
}

.prose table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: .9375rem;
}

.prose th,
.prose td {
	padding: 12px 20px 12px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose thead th {
	padding-top: 0;
	border-bottom: 2px solid var(--ink);
	color: var(--muted);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.prose tbody td:first-child {
	color: var(--ink);
	font-weight: 700;
	white-space: nowrap;
}

.prose .data-list {
	max-width: 560px;
}

.prose__meta {
	color: var(--muted);
	font-size: .9375rem;
}

@media (max-width: 720px) {
	.prose table,
	.prose tbody,
	.prose tr {
		display: block;
		min-width: 0;
	}

	.prose thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.prose tr {
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
	}

	.prose tbody tr:first-child {
		border-top: 2px solid var(--ink);
	}

	.prose th,
	.prose td {
		display: inline;
		padding: 0;
		border: 0;
	}

	.prose tbody td:first-child {
		display: block;
		margin-bottom: 2px;
		white-space: normal;
	}

	.prose tbody td + td:not(:nth-child(2))::before {
		content: " · ";
		color: var(--muted);
	}
}

/* Poraštė
   ========================================================================== */

.site-footer {
	background: var(--dark-deep);
	color: #aab2ab;
	font-size: .9375rem;
	--logo-tekstas: var(--white);
	--logo-akcentas: var(--accent-on-dark);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
	gap: 48px;
	padding-top: 80px;
	padding-bottom: 56px;
}

.site-footer__logo {
	display: block;
	margin-bottom: 20px;
}

.site-footer__logo .logo {
	width: 200px;
}

.site-footer__about p {
	max-width: 26rem;
}

.site-footer__title {
	margin-bottom: 16px;
	color: var(--white);
	font-size: .8125rem;
	font-stretch: 100%;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.site-footer ul {
	padding: 0;
	list-style: none;
}

.site-footer li + li {
	margin-top: 8px;
}

.site-footer a {
	color: #e4e8e4;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--white);
	text-decoration: underline;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 24px;
	padding-bottom: 32px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .875rem;
}

.site-footer .site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.site-footer .site-footer__legal li {
	margin-top: 0;
}

.site-footer__cookies {
	padding: 0;
	border: 0;
	background: none;
	color: #e4e8e4;
	font: inherit;
	cursor: pointer;
}

.site-footer__cookies:hover {
	color: var(--white);
	text-decoration: underline;
}

.call-bar {
	display: none;
}

/* Prisitaikymas
   ========================================================================== */

@media (max-width: 1180px) {
	.site-nav__phone {
		display: none;
	}

	.site-header__inner {
		gap: 28px;
	}

	.site-nav__list {
		gap: 22px;
	}
}

@media (max-width: 1020px) {
	:root {
		--header-h: 72px;
	}

	.logo {
		width: 190px;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		margin-left: auto;
		padding: 10px 0;
		border: 0;
		background: none;
		color: var(--ink);
		font: inherit;
		font-weight: 600;
		cursor: pointer;
	}

	.menu-toggle__bars,
	.menu-toggle__bars::before,
	.menu-toggle__bars::after {
		display: block;
		width: 22px;
		border-top: 2px solid currentColor;
	}

	.menu-toggle__bars {
		position: relative;
	}

	.menu-toggle__bars::before,
	.menu-toggle__bars::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.menu-toggle__bars::before {
		top: -9px;
	}

	.menu-toggle__bars::after {
		top: 5px;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 32px;
		background: var(--white);
		overflow-y: auto;
	}

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

	.site-nav__list {
		flex-direction: column;
		gap: 0;
		margin: 0 0 24px;
	}

	.site-nav__link,
	.site-header--overlay .site-nav__link {
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
		color: var(--ink);
		font-size: 1.25rem;
	}

	.site-nav__link[aria-current="page"],
	.site-header--overlay .site-nav__link[aria-current="page"] {
		border-bottom-color: var(--line);
		color: var(--accent-strong);
	}

	.site-nav__phone,
	.site-header--overlay .site-nav__phone {
		display: block;
		margin-bottom: 16px;
		color: var(--ink);
		font-size: 1.25rem;
	}

	.site-header.is-open {
		background: var(--white);
		border-bottom-color: var(--line);
		--logo-tekstas: var(--ink);
		--logo-akcentas: var(--accent-on-light);
	}

	.site-header.is-open .menu-toggle {
		color: var(--ink);
	}

	.intro,
	.location,
	.contact-band__inner,
	.quote-page,
	.columns,
	.contact-columns {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.catalog {
		grid-template-columns: 1fr;
	}

	.catalog__item:nth-child(2) {
		border-top: 0;
	}

	.split {
		grid-template-columns: 1fr;
	}

	.split__img {
		min-height: 0;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.split--reverse .split__img {
		order: 0;
	}

	.split__body {
		max-width: none;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	:root {
		--gutter: 16px;
	}

	body {
		padding-bottom: 56px;
	}

	.hero {
		min-height: 0;
	}

	.hero__inner {
		padding-top: calc(var(--header-h) + 48px);
		padding-bottom: 48px;
	}

	.hero__actions .button {
		flex: 1 1 100%;
	}

	.facts {
		grid-template-columns: 1fr;
	}

	.facts__item,
	.facts__item:first-child {
		padding: 14px 0;
		border-left: 0;
		border-top: 1px solid var(--dark-line);
	}

	.facts__item:first-child {
		border-top: 0;
	}

	.page-head__inner {
		padding-top: calc(var(--header-h) + 40px);
		padding-bottom: 44px;
	}

	.section-head {
		margin-bottom: 32px;
	}

	.catalog__item,
	.catalog--detail .catalog__item {
		grid-template-columns: 104px 1fr;
		gap: 16px;
		padding: 22px 0;
	}

	.catalog__name {
		font-size: 1.3rem;
	}

	.spec-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.spec-table,
	.spec-table tbody,
	.spec-table tr,
	.spec-table th,
	.spec-table td {
		display: block;
	}

	.spec-table tr {
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
	}

	.spec-table tbody tr:first-child {
		border-top: 2px solid var(--ink);
	}

	.spec-table th,
	.spec-table td {
		padding: 2px 0;
		border: 0;
	}

	.spec-table tbody th {
		margin-bottom: 4px;
		font-size: 1.125rem;
	}

	.spec-table td::before {
		content: attr(data-label) ": ";
		color: var(--muted);
	}

	.spec-table td:nth-child(2),
	.spec-table td:last-child {
		white-space: normal;
	}

	.people tr {
		display: grid;
		grid-template-columns: 1fr;
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
	}

	.people th,
	.people td {
		padding: 2px 0;
		border: 0;
	}

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

	.gallery {
		grid-template-columns: 1fr 1fr;
	}

	.gallery img:last-child {
		grid-column: 1 / -1;
	}

	.quote__types {
		grid-template-columns: 1fr;
	}

	.quote__type {
		margin: -1px 0 0;
	}

	.quote__type:first-of-type {
		margin-top: 0;
	}

	.quote__grid {
		grid-template-columns: 1fr;
	}

	.quote__footer .button {
		width: 100%;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-top: 56px;
	}

	.call-bar {
		position: fixed;
		inset: auto 0 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 1fr 1fr;
		background: var(--ink);
	}

	.call-bar__link {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 56px;
		color: var(--white);
		font-weight: 700;
		text-decoration: none;
	}

	.call-bar__link:hover {
		color: var(--white);
	}

	.call-bar__link--primary,
	.call-bar__link--primary:hover {
		background: var(--button-bg);
		color: var(--button-text);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

/* WordPress administravimo juosta prisijungus */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 1020px) {
	.admin-bar .site-nav {
		top: calc(var(--header-h) + 32px);
	}
}

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

	.admin-bar .site-nav {
		top: calc(var(--header-h) + 46px);
	}
}

/* Slapukų sutikimo juosta
   ========================================================================== */

.cookie-bar {
	position: fixed;
	inset: auto 0 0;
	z-index: 160;
	max-height: 100vh;
	max-height: 100dvh;
	overflow-y: auto;
	border-top: 3px solid var(--accent-on-dark);
	background: var(--dark);
	color: var(--dark-text);
	font-size: .9375rem;
}

.cookie-bar__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px 48px;
	align-items: center;
	padding-top: 24px;
	padding-bottom: 24px;
}

.cookie-bar__title {
	margin-bottom: 6px;
	color: var(--white);
	font-size: 1.125rem;
}

.cookie-bar__text p {
	max-width: 54rem;
}

.cookie-bar a {
	color: var(--white);
}

.cookie-bar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.cookie-bar__actions .button {
	padding: 11px 22px;
}

.cookie-bar__link {
	padding: 11px 6px;
	border: 0;
	background: none;
	color: var(--white);
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .18em;
	cursor: pointer;
}

.cookie-bar__link:hover {
	color: var(--accent-on-dark);
}

.cookie-bar.is-settings .cookie-bar__inner {
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.cookie-bar.is-settings .cookie-bar__actions {
	justify-content: flex-start;
}

.cookie-bar__options {
	max-width: 54rem;
	border-top: 1px solid var(--dark-line);
}

.cookie-option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--dark-line);
}

.cookie-option input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--accent-on-dark);
}

.cookie-option label {
	cursor: pointer;
}

.cookie-option input:disabled + label {
	cursor: default;
}

.cookie-option strong {
	display: block;
	color: var(--white);
}

@media (max-width: 1020px) {
	.cookie-bar__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.cookie-bar__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {
	.cookie-bar {
		font-size: .875rem;
	}

	.cookie-bar__inner {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.cookie-bar__actions .button {
		flex: 1 1 40%;
	}

	.cookie-bar__link {
		flex: 1 1 100%;
		padding-block: 6px;
	}
}
