/* ==========================================================================
   AMŽINAS TAKAS — pagrindiniai stiliai
   Spalvos paimtos iš logotipo: granitas, samana, smiltainis, varis.
   Dizaino kryptis: aštrūs kampai, plonos linijos, klasikinė tipografija.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Kintamieji */

:root {
	/* Granitas — logotipo kristalai */
	--granite-900: #1C2126;
	--granite-800: #262D33;
	--granite-700: #3A4249;
	--granite-500: #5C666E;
	--granite-300: #9AA3AA;

	/* Samana — žalioji tako pusė */
	--moss-900: #24331F;
	--moss-700: #3A5230;
	--moss-500: #55743F;
	--moss-300: #8CA678;

	/* Smiltainis — šviesioji tako pusė */
	--sand-700: #8A6242;
	--sand-500: #B08A5E;
	--sand-300: #D6BC97;
	--sand-100: #EFE6D7;

	/* Varis — žvaigždutė wordmark'e, akcentas */
	--copper: #C4703A;
	--copper-dark: #A75B2B;

	/* Akmuo — fonai */
	--stone-50:  #F3F2EE;
	--stone-100: #EAE8E2;
	--stone-200: #E4E2DC;
	--stone-300: #CFCCC4;

	--white: #FFFFFF;

	--font-display: "Montserrat", "Segoe UI", Tahoma, Arial, sans-serif;
	--font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--container: 1440px;
	--gutter: 32px;
	--gap: 32px;
	--section-y: clamp(48px, 5.5vw, 84px);

	--line: 1px solid var(--stone-200);
	--line-dark: 1px solid rgba(255, 255, 255, .14);

	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-sharp: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------------ 2. Bazė */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.72;
	color: var(--granite-900);
	background: var(--white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--granite-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.2;
	color: var(--granite-900);
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 {
	font-size: 1.22rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.32;
}
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }

::selection { background: var(--copper); color: var(--white); }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999;
	width: auto; height: auto; clip: auto; clip-path: none;
	background: var(--granite-900); color: var(--white);
	padding: 12px 20px;
}

/* --------------------------------------------------- 3. Fono formos (motyvai) */

/* Šešiakampė akmens mūro tekstūra — iš logotipo fono */
.bg-shapes {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}
.bg-shapes::before {
	content: "";
	position: absolute;
	inset: -10%;
	background-image:
		linear-gradient(30deg, transparent 47.5%, currentColor 47.5%, currentColor 48%, transparent 48%),
		linear-gradient(-30deg, transparent 47.5%, currentColor 47.5%, currentColor 48%, transparent 48%),
		linear-gradient(90deg, transparent 47.5%, currentColor 47.5%, currentColor 48%, transparent 48%);
	background-size: 120px 208px;
	opacity: .05;
	color: var(--granite-700);
}

/* Aštrus rombas / kristalo siluetas */
.shape-crystal {
	position: absolute;
	width: clamp(280px, 34vw, 560px);
	aspect-ratio: 1;
	background: linear-gradient(150deg, var(--moss-500), transparent 60%);
	clip-path: polygon(50% 0%, 100% 26%, 84% 100%, 16% 100%, 0% 26%);
	opacity: .09;
	animation: float-slow 22s var(--ease) infinite alternate;
}
.shape-crystal--tr { top: -14%; right: -8%; }
.shape-crystal--bl { bottom: -20%; left: -10%; background: linear-gradient(150deg, var(--sand-500), transparent 60%); animation-delay: -8s; }

@keyframes float-slow {
	from { transform: translate3d(0, 0, 0) rotate(0deg); }
	to   { transform: translate3d(0, -34px, 0) rotate(6deg); }
}

/* Plona varinė linija — sekcijų skirtukas */
.rule {
	width: 56px; height: 2px;
	background: var(--copper);
	margin-bottom: 22px;
}

/* --------------------------------------------------------- 4. Scroll animacijos */

[data-reveal] {
	opacity: 0;
	transform: translate3d(0, 26px, 0);
	transition: opacity .7s var(--ease-sharp), transform .7s var(--ease-sharp);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal="left"]  { transform: translate3d(-28px, 0, 0); }
[data-reveal="right"] { transform: translate3d(28px, 0, 0); }
[data-reveal="scale"] { transform: scale(.96); }

/* ------------------------------------------------------------- 5. Mygtukai */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 32px;
	border: 1px solid var(--granite-900);
	border-radius: 0;
	background: var(--granite-900);
	color: var(--white);
	font: 600 .92rem/1 var(--font-body);
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	transition: color .3s var(--ease), border-color .3s var(--ease);
	isolation: isolate;
}
.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--copper);
	transform: translate3d(-101%, 0, 0);
	transition: transform .42s var(--ease-sharp);
	z-index: -1;
}
.btn:hover { color: var(--white); border-color: var(--copper); }
.btn:hover::before { transform: translate3d(0, 0, 0); }
.btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.btn--ghost { background: transparent; color: var(--granite-900); border-color: var(--granite-300); }
.btn--ghost:hover { color: var(--white); }

.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--light:hover { color: var(--white); border-color: var(--copper); }

.btn--sm { padding: 12px 22px; font-size: .84rem; }
.btn--block { width: 100%; }

/* Nuoroda su varine pabraukimo animacija */
.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .85rem; font-weight: 500;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--granite-900); text-decoration: none;
	padding-bottom: 4px;
	background-image: linear-gradient(var(--copper), var(--copper));
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .4s var(--ease-sharp), color .3s var(--ease);
}
.link-arrow:hover { color: var(--copper); background-size: 100% 1px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------- 6. Topbar */

.topbar {
	background: var(--granite-900);
	color: #C3CBD2;
	font-size: .86rem;
	letter-spacing: .01em;
}
.topbar__inner {
	display: flex; align-items: center; gap: 26px;
	min-height: 40px; flex-wrap: wrap;
}
.topbar__phone {
	margin-left: auto;
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	letter-spacing: .06em;
}
.topbar__phone:hover { color: var(--copper); }

@media (max-width: 700px) { .topbar__item--hours { display: none; } }

/* ------------------------------------------------------------- 7. Antraštė */

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: var(--line);
	transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--stone-300); }

.site-header__inner {
	display: flex; align-items: center; gap: 26px;
	min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 58px; height: 58px; flex: none; position: relative; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
	font-family: var(--font-body);
	font-size: 1.12rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--granite-900);
}
.brand__tagline {
	font-size: .76rem; color: var(--granite-700);
	letter-spacing: .06em; text-transform: uppercase;
	margin-top: 3px;
}

.custom-logo-link { display: block; }
.custom-logo { max-height: 58px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu li { position: relative; }
.site-nav .menu > li > a {
	position: relative;
	display: block;
	padding: 12px 16px;
	font-size: .92rem; font-weight: 600;
	letter-spacing: .02em;
	color: var(--granite-900);
	text-decoration: none;
}
.site-nav .menu > li > a::after {
	content: "";
	position: absolute; left: 16px; right: 16px; bottom: 6px;
	height: 1px; background: var(--copper);
	transform: scaleX(0); transform-origin: left;
	transition: transform .35s var(--ease-sharp);
}
.site-nav .menu > li > a:hover::after,
.site-nav .current-menu-item > a::after { transform: scaleX(1); }
.site-nav .menu a:hover { color: var(--copper); }

.site-nav .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 230px;
	background: var(--white);
	border: var(--line);
	list-style: none; margin: 0; padding: 8px 0;
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a {
	display: block; padding: 10px 20px;
	font-size: .88rem; color: var(--granite-800); text-decoration: none;
}
.site-nav .sub-menu a:hover { background: var(--stone-100); color: var(--copper); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.cart-link {
	position: relative;
	display: inline-flex; align-items: center;
	padding: 8px; text-decoration: none; font-size: 1.05rem;
	transition: transform .25s var(--ease);
}
.cart-link:hover { color: var(--copper); }
.cart-link__count {
	position: absolute; top: 2px; right: 0;
	min-width: 17px; height: 17px;
	display: grid; place-items: center;
	padding: 0 4px;
	background: var(--copper); color: var(--white);
	font-size: .64rem; font-weight: 700;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px; height: 44px;
	border: var(--line);
	background: var(--white);
	cursor: pointer; position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	position: absolute; left: 50%; transform: translateX(-50%);
	width: 20px; height: 1.5px;
	background: var(--granite-900);
	transition: transform .3s var(--ease-sharp), opacity .2s;
}
.nav-toggle__bar { top: 50%; margin-top: -.75px; }
.nav-toggle__bar::before { content: ""; top: -7px; }
.nav-toggle__bar::after  { content: ""; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* Mobiliajame meniu rodo tik šoninis skydelis. */
@media (max-width: 980px) {
	.nav-toggle { display: block; order: 2; }
	.site-header__actions { order: 3; margin-left: auto; }
	.site-header__inner { gap: 14px; }
	.site-nav { display: none; }
}

/* Hero stiliai gyvena assets/css/front.css — čia jų nebėra, kad nesikirstų. */

/* ------------------------------------------------------------ 9. Sekcijos */

.section { position: relative; padding: var(--section-y) 0; }
.section > .container { position: relative; z-index: 2; }

.section--alt { background: var(--stone-50); }
.section--dark { background: var(--granite-900); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 760px; margin: 0 0 clamp(28px, 3.2vw, 44px); }
.section-head__eyebrow {
	font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
	color: var(--copper); margin-bottom: 16px;
}
.section-head__title { margin-bottom: .35em; max-width: 20ch; }
.section-head__text { color: var(--granite-700); margin: 0; font-size: 1.05rem; }
.section--dark .section-head__text { color: rgba(255, 255, 255, .65); }
.section__more { margin-top: 48px; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ------------------------------------------------------------ 10. Kortelė */

.card {
	display: flex; flex-direction: column;
	overflow: hidden;
}
.card::after {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 2px;
	background: var(--copper);
	transform: scaleX(0); transform-origin: left;
	transition: transform .5s var(--ease-sharp);
}

.card:hover::after { transform: scaleX(1); }

.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-sharp); }

.card__body { padding: 30px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.25rem; margin-bottom: .4em; }
.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--copper); }
.card__text { color: var(--granite-700); font-size: 1rem; }
.card__text p:last-child { margin-bottom: 0; }
.card__price {
	margin: 22px 0 0; padding-top: 18px;
	border-top: var(--line);
	font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
	color: var(--granite-900);
}
.card__price span {
	display: block; margin-top: 2px;
	font-family: var(--font-body); font-size: .78rem; font-weight: 400;
	letter-spacing: .05em; color: var(--granite-500);
}

/* --------------------------------------------------------- 11. Žingsniai */

.steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: var(--gap);
	grid-template-columns: 1fr;
}
/* Keturi žingsniai desktope visada vienoje eilutėje — auto-fit siauresniame
   konteineryje juos išskaidydavo į kelias eilutes. */
@media (min-width: 700px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.steps__item {
	position: relative;
	padding: 26px 0 0;
	border-top: 2px solid var(--stone-200);
	transition: border-color .5s var(--ease);
}
.steps__item::before {
	content: "";
	position: absolute; top: -2px; left: 0; width: 0; height: 2px;
	background: var(--copper);
	transition: width .8s var(--ease-sharp);
	transition-delay: var(--reveal-delay, 0ms);
}
.steps__item.is-visible::before { width: 100%; }
.steps__num {
	display: block;
	font-family: var(--font-display); font-size: 2.8rem; font-weight: 600;
	color: var(--sand-500); line-height: 1; margin-bottom: 16px;
}
.steps__title { font-size: 1.2rem; margin-bottom: .35em; }
.steps__text { color: var(--granite-500); font-size: .92rem; margin: 0; }

/* ---------------------------------------------------------- 12. Galerija */

.gallery {
	display: grid; gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.gallery__item {
	position: relative; margin: 0; overflow: hidden;
	background: var(--granite-900);
}
.gallery__item img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	transition: transform .9s var(--ease-sharp), opacity .5s var(--ease);
}
.gallery__item:hover img { opacity: .84; }
.gallery__item figcaption {
	position: absolute; inset: auto 0 0 0;
	padding: 40px 20px 18px;
	background: linear-gradient(transparent, rgba(28, 33, 38, .9));
	color: var(--white); font-size: .88rem;
	letter-spacing: .03em;
	transform: translateY(6px); opacity: .9;
	transition: transform .45s var(--ease-sharp), opacity .45s var(--ease);
}
.gallery__item:hover figcaption { transform: none; opacity: 1; }

/* ------------------------------------------------------- 13. Atsiliepimai */

.quote {
	position: relative;
	margin: 0; padding: 36px 32px;
	background: var(--white);
	border: var(--line);
}
.quote::before {
	content: "„";
	position: absolute; top: 12px; right: 24px;
	font-family: var(--font-display); font-size: 4.5rem; line-height: 1;
	color: var(--stone-200);
}
.quote__text { color: var(--granite-500); font-size: 1rem; }
.quote__text p:last-child { margin-bottom: 0; }
.quote__author {
	display: block; margin-top: 22px; padding-top: 18px;
	border-top: var(--line);
	font-style: normal; font-weight: 600; font-size: .84rem;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--granite-900);
}

/* --------------------------------------------------------- 14. Kontaktai */

.section--contact { background: var(--granite-900); color: rgba(255, 255, 255, .8); overflow: hidden; }
.section--contact .section-head__title { color: var(--white); }
.section--contact .section-head__text { color: rgba(255, 255, 255, .62); }

.contact__layout {
	display: grid; gap: clamp(36px, 5vw, 72px);
	grid-template-columns: 1fr;
	position: relative; z-index: 2;
}
@media (min-width: 940px) {
	.contact__layout { grid-template-columns: 1fr 1.05fr; align-items: start; }
}

.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li {
	display: flex; flex-direction: column; gap: 3px;
	padding: 16px 0;
	border-bottom: var(--line-dark);
}
.contact__list strong {
	font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--sand-300); font-weight: 500;
}
.contact__list a { color: var(--white); text-decoration: none; font-size: 1.08rem; }
.contact__list a:hover { color: var(--copper); }

.contact-form {
	display: grid; gap: 20px;
	grid-template-columns: repeat(2, 1fr);
	background: var(--white);
	padding: clamp(28px, 4vw, 48px);
	border-top: 3px solid var(--copper);
	color: var(--granite-800);
	position: relative;
}
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 7px; margin: 0; }
.field--half { grid-column: span 1; }
@media (max-width: 580px) { .field--half { grid-column: 1 / -1; } }
.field--hp { position: absolute; left: -9999px; }

.field label {
	font-size: .74rem; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--granite-500);
}
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	font: 400 .96rem/1.5 var(--font-body);
	color: var(--granite-900);
	background: var(--stone-50);
	border: 1px solid var(--stone-200);
	border-radius: 0;
	transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--copper);
	background: var(--white);
	box-shadow: inset 0 -2px 0 var(--copper);
}
.field textarea { resize: vertical; min-height: 130px; }
.field__error { font-size: .78rem; color: #B3261E; }
.field.has-error input,
.field.has-error textarea { border-color: #B3261E; }

.contact-form button { grid-column: 1 / -1; }
.contact-form__status { grid-column: 1 / -1; margin: 0; font-size: .9rem; }
.contact-form__status.is-ok { color: var(--moss-700); font-weight: 500; }
.contact-form__status.is-error { color: #B3261E; }
.contact-form__privacy { grid-column: 1 / -1; margin: 0; font-size: .76rem; color: var(--granite-500); }
.is-loading { opacity: .55; pointer-events: none; }

/* ----------------------------------------------------- 15. Puslapio head */

.page-head {
	max-width: 820px;
	margin: clamp(48px, 6vw, 84px) 0 40px;
	padding-bottom: 28px;
	border-bottom: var(--line);
}
.page-head__title { margin-bottom: .2em; font-weight: 400; }
.page-head__text { color: var(--granite-500); }

.entry { padding-bottom: var(--section-y); }
.entry__media { margin: 0 0 42px; overflow: hidden; }
.entry__price {
	font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
	color: var(--granite-900); margin: 12px 0 0;
}
.entry__price span {
	font-family: var(--font-body); font-size: .82rem; font-weight: 400;
	color: var(--granite-500); letter-spacing: .05em;
}
.entry__cta { margin-top: 44px; }
.entry-meta { font-size: .82rem; letter-spacing: .05em; color: var(--granite-500); }

.prose { max-width: 62ch; font-size: 1.05rem; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
	margin: 1.8em 0; padding: 6px 0 6px 26px;
	border-left: 2px solid var(--copper);
	font-family: var(--font-display); font-size: 1.35rem; 
	color: var(--granite-800);
}
.prose img { margin: 1.6em 0; }

.error-404 { padding: clamp(72px, 11vw, 140px) 0; max-width: 640px; }
.error-404 .btn { margin: 0 10px 10px 0; }
.empty { color: var(--granite-500); padding: 48px 0; }

/* -------------------------------------------------------- 16. Pagination */

.pagination { margin: 60px 0 var(--section-y); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: var(--line);
	text-decoration: none; font-size: .88rem;
	color: var(--granite-800);
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pagination .page-numbers:hover { background: var(--stone-100); border-color: var(--stone-300); }
.pagination .page-numbers.current {
	background: var(--granite-900); border-color: var(--granite-900); color: var(--white);
}

.search-form { display: flex; gap: 8px; }
.search-form__input {
	flex: 1; padding: 12px 16px;
	border: var(--line); border-radius: 0;
	font: 400 .95rem var(--font-body);
	background: var(--stone-50);
}
.search-form__input:focus { outline: none; border-color: var(--copper); }

/* ------------------------------------------------------ 17. WooCommerce */

.shop__layout {
	display: grid; gap: 48px;
	grid-template-columns: 1fr;
	padding-bottom: var(--section-y);
}
@media (min-width: 1040px) {
	body.archive.woocommerce .shop__layout { grid-template-columns: 260px 1fr; }
	body.archive.woocommerce .shop__sidebar { order: -1; }
}
.shop__sidebar .widget { margin-bottom: 36px; font-size: .92rem; }
.shop__sidebar .widget__title {
	font-family: var(--font-body); font-size: .78rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--granite-500);
	padding-bottom: 12px; margin-bottom: 14px;
	border-bottom: var(--line);
}
.shop__sidebar ul { list-style: none; margin: 0; padding: 0; }
.shop__sidebar li { padding: 8px 0; border-bottom: 1px solid var(--stone-100); }
.shop__sidebar a { text-decoration: none; color: var(--granite-800); }
.shop__sidebar a:hover { color: var(--copper); }

.woocommerce ul.products,
.products {
	display: grid !important;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	list-style: none; margin: 0; padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

.woocommerce ul.products li.product,
.products li.product {
	width: 100% !important; margin: 0 !important; float: none !important;
	display: flex; flex-direction: column;
	overflow: hidden; text-align: left;
}
.woocommerce ul.products li.product::after {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 2px;
	background: var(--copper);
	transform: scaleX(0); transform-origin: left;
	transition: transform .5s var(--ease-sharp);
}
.woocommerce ul.products li.product:hover::after { transform: scaleX(1); }

.product-card__media {
	display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone-100);
}
.product-card__media img {
	width: 100%; height: 100%; object-fit: cover; margin: 0 !important;
}
.product-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
	padding: 0; margin: 0 0 10px; color: var(--granite-900);
}
.woocommerce ul.products li.product .price {
	font-family: var(--font-display);
	font-size: 1.3rem; font-weight: 700; color: var(--granite-900);
	margin: 0 0 20px;
}
.woocommerce ul.products li.product .price del { color: var(--granite-300); font-weight: 400; }
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.added_to_cart { margin-top: auto; align-self: flex-start; }

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
	background: var(--copper); color: var(--white);
	border-radius: 0; padding: 5px 14px;
	min-height: 0; min-width: 0; line-height: 1.6;
	font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	top: 0; left: 0; right: auto; margin: 0; z-index: 3;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--granite-900);
	color: var(--white);
	border-radius: 0;
	padding: 13px 26px;
	font: 500 .8rem/1 var(--font-body);
	letter-spacing: .08em; text-transform: uppercase;
	transition: background .3s var(--ease);
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--copper); color: var(--white); }

.woocommerce div.product .product_title { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 400; }
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--granite-900);
	font-size: 1.9rem; font-weight: 700;
	font-family: var(--font-display);
}
.woocommerce div.product form.cart div.quantity input.qty {
	border: var(--line); border-radius: 0; padding: 13px 8px; height: auto;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--stone-100); border-color: var(--stone-200); border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--white); border-bottom-color: var(--white); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--stone-200); }

.product-note {
	margin-top: 22px; padding: 16px 18px;
	background: var(--stone-50); border-left: 2px solid var(--copper);
	font-size: .88rem; color: var(--granite-500);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--copper);
	background: var(--stone-50);
	border-radius: 0;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--copper); }

.woocommerce table.shop_table { border-radius: 0; border-color: var(--stone-200); }
.woocommerce-cart .cart-collaterals .cart_totals > h2,
.woocommerce .cart_totals h2 { font-size: 1.5rem; }

/* --------------------------------------------------------- 18. Poraštė */

.site-footer {
	position: relative;
	background: var(--granite-900);
	color: rgba(255, 255, 255, .7);
	font-size: .92rem;
	overflow: hidden;
}
.site-footer::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--moss-700) 0 50%, var(--sand-500) 50% 100%);
}
.site-footer__grid {
	position: relative; z-index: 2;
	display: grid;
	gap: clamp(32px, 4vw, 56px);
	grid-template-columns: 1fr;
	padding-top: clamp(48px, 6vw, 72px);
	padding-bottom: clamp(36px, 4vw, 52px);
}

@media (min-width: 720px) {
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
	.site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.site-footer__title {
	color: var(--white);
	font-family: var(--font-body); font-size: .76rem; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase;
	margin-bottom: 20px;
}
.site-footer__text { max-width: 38ch; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { padding: 6px 0; }
.site-footer__list a,
.site-footer__social { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer__list a:hover,
.site-footer__social:hover { color: var(--copper); }
.site-footer__social {
	display: inline-block; margin-top: 16px; padding-bottom: 2px;
	border-bottom: 1px solid rgba(255, 255, 255, .28);
	font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
}
.site-footer__legal {
	position: relative; z-index: 2;
	border-top: var(--line-dark);
	padding: 26px 0;
}
.requisites {
	display: grid;
	gap: 18px 36px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 0;
}
.requisites__item { display: flex; flex-direction: column; gap: 3px; }
.requisites dt {
	font-size: .66rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sand-300);
}
.requisites dd {
	margin: 0;
	font-size: .88rem;
	color: rgba(255, 255, 255, .82);
}

.site-footer__bottom {
	position: relative; z-index: 2;
	border-top: var(--line-dark);
	padding: 22px 0;
	font-size: .8rem; color: rgba(255, 255, 255, .5);
}
.site-footer__bottom p { margin: 0; }

/* ------------------------------------------------- 19. Prieinamumas */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
	[data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ================================================= Antraščių variantai ==
   Auditas: aštuonios identiškos sekcijų antraštės vienoje vertikalioje
   linijoje. Šviesiai pilkose ir tamsiose sekcijose antraštė perskeliama į
   dvi dalis — antraštė kairėje, paaiškinimas dešinėje.
   ====================================================================== */

@media (min-width: 940px) {
	.section--alt > .container > .section-head,
	.section--dark > .container > .section-head {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		grid-template-areas:
			"rule    rule"
			"eyebrow eyebrow"
			"title   text";
		column-gap: clamp(32px, 4vw, 64px);
		align-items: end;
		max-width: none;
	}

	.section--alt > .container > .section-head > .rule,
	.section--dark > .container > .section-head > .rule { grid-area: rule; }

	.section--alt > .container > .section-head > .section-head__eyebrow,
	.section--dark > .container > .section-head > .section-head__eyebrow { grid-area: eyebrow; }

	.section--alt > .container > .section-head > .section-head__title,
	.section--dark > .container > .section-head > .section-head__title {
		grid-area: title;
		margin-bottom: 0;
		max-width: none;
	}

	.section--alt > .container > .section-head > .section-head__text,
	.section--dark > .container > .section-head > .section-head__text {
		grid-area: text;
		padding-bottom: .35em;
		border-left: 2px solid var(--sand-500);
		padding-left: 22px;
	}

	.section--dark > .container > .section-head > .section-head__text {
		border-left-color: var(--copper);
	}
}

/* ==================================================== Antraštės juosta ==
   Auditas: antraštė be jokio charakterio — baltas fonas ir viena linija.
   ====================================================================== */

.site-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 2px;
	background: linear-gradient(90deg, var(--moss-700) 0 50%, var(--sand-500) 50% 100%);
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.site-header.is-stuck::after { opacity: 1; }

/* Trys tamsios sekcijos buvo identiškos — teritorija gauna kitą atspalvį. */
.section--coverage { background: var(--granite-800); }

/* ================================================ Kortelių paviršius ==
   Vienas šaltinis visiems kortelės tipams. Struktūrą (maketą, tarpus,
   proporcijas) kiekvienas komponentas aprašo pats — čia tik paviršius.
   ====================================================================== */

.card,
.shopcat,
.plan,
.ba-case,
.woocommerce ul.products li.product,
.products li.product {
	position: relative;
	background: var(--white);
	border: var(--line);
	border-radius: 0;
	transition: border-color .3s var(--ease), background .3s var(--ease);
}

/* Gyliui — tik rėmelio ir fono kaita. Jokių pakilimų ir šešėlių. */
.card:hover,
.shopcat:hover,
.plan:hover,
.woocommerce ul.products li.product:hover,
.products li.product:hover {
	border-color: var(--granite-500);
}

.card:hover,
.shopcat:hover,
.woocommerce ul.products li.product:hover {
	background: var(--stone-50);
}

/* Tamsi kortelė — išimtis, jai fonas nesikeičia. */
.plan--featured:hover { border-color: var(--copper); background: var(--granite-900); }

@media (prefers-reduced-motion: reduce) {
	.card, .shopcat, .plan, .ba-case,
	.woocommerce ul.products li.product { transition: none; }
}
/* ================================================= Skirtukų variantai ==
   Auditas: aštuonios vienodos varinės brūkšnės — „vieno triuko" efektas.
   at_section_head() juos kaitalioja automatiškai.
   ====================================================================== */

.rule {
	display: block;
	flex: none;
	/* Grid'e antraštės skirtukas neturi būti tempiamas per visą plotį. */
	justify-self: start;
	align-self: start;
}

/* 1. Paprasta varinė linija (numatytoji). */
.rule--line { width: 56px; height: 2px; background: var(--copper); }

/* 2. Šešiakampis iš logotipo fono. */
.rule--hex {
	width: 24px;
	max-width: 24px;
	height: 22px;
	max-height: 22px;
	background: none;
	color: var(--copper);
	overflow: hidden;
}
.rule--hex svg { width: 24px; height: 22px; display: block; }

/* 3. Sekcijos numeris. */
.rule--num {
	width: auto;
	height: auto;
	background: none;
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	color: var(--sand-500);
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
	position: relative;
	padding-bottom: 10px;
}
.rule--num::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 2px;
	background: var(--copper);
}

/* 4. Ilga gradientinė juosta — dvi tako pusės iš logotipo. */
.rule--long {
	width: clamp(120px, 18vw, 240px);
	height: 2px;
	background: linear-gradient(90deg, var(--moss-700) 0 50%, var(--sand-500) 50% 100%);
}

/* Ant tamsaus fono. */
.section--dark .rule--hex { color: var(--sand-300); }
.section--dark .rule--num { color: var(--sand-300); }

/* ==================================================== SEO numeracija ==
   Ilgas tekstas be jokių orientyrų — skyriai gauna numerius.
   ====================================================================== */

.seo-body { counter-reset: seo-h2; }

.seo-body > h2 {
	counter-increment: seo-h2;
	position: relative;
	padding-left: 0;
	border-top: 2px solid var(--granite-900);
}

.seo-body > h2::before {
	content: counter(seo-h2, decimal-leading-zero);
	display: block;
	margin-bottom: .35em;
	font-family: var(--font-display);
	font-size: .95rem;
	font-weight: 700;
	color: var(--sand-500);
	font-variant-numeric: tabular-nums;
	letter-spacing: .06em;
}

.seo-body > h2:first-child { border-top: 0; }

@media (min-width: 1000px) {
	.seo-body > h2 { padding-left: 62px; }
	.seo-body > h2::before {
		position: absolute;
		left: 0;
		top: 1.05em;
		margin: 0;
		font-size: 1.05rem;
	}
	.seo-body > h2:first-child::before { top: 0; }
}

/* ============================== Antraštės tamsiuose blokuose ==========
   Tamsus blokas gali atsidurti bet kokiame turinyje, todėl jo antraštės
   spalva fiksuojama čia, o ne kiekvienoje sekcijoje atskirai.
   ====================================================================== */

.at-cta h2,
.at-cta h3,
.at-cta h4,
.cta-band h2,
.cta-band h3,
.section--dark .at-cta h3,
.seo-body .at-cta h2,
.seo-body .at-cta h3,
.plan--featured h3,
.seo-aside__card p {
	color: var(--white);
}

.at-cta p,
.cta-band p { color: rgba(255, 255, 255, .82); }
.at-cta strong,
.cta-band strong { color: var(--white); }

/* ==================================================== Poraštė (v2) =====
   Logotipas, socialiniai tinklai, aiškesnė stulpelių hierarchija.
   ====================================================================== */

/* Poraštė savo viršutinės juostos neturi: virš jos beveik visada stovi
   .cta-final arba kita sekcija su varine riba, o dvi juostos viena virš
   kitos atrodė kaip klaida. */
.site-footer { border-top: 0; }
.site-footer::before { content: none; }

.footer-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	margin-bottom: 20px;
}
.footer-brand__logo {
	width: 72px;
	height: 72px;
	flex: none;
	object-fit: contain;
}
.footer-brand__name {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--white);
	line-height: 1.25;
}

.site-footer__col--brand .site-footer__text {
	max-width: 42ch;
	margin-bottom: 22px;
}

/* Socialiniai tinklai */
.footer-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.footer-social a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 16px;
	border: var(--line-dark);
	color: rgba(255, 255, 255, .86);
	text-decoration: none;
	font-size: .9rem;
	font-weight: 600;
	transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.footer-social a:hover {
	border-color: var(--copper);
	background: rgba(196, 112, 58, .12);
	color: var(--white);
}
.footer-social .at-icon { flex: none; }

/* Kontaktų stulpelis */
.footer-contact {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.footer-contact a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.footer-contact a:hover { color: var(--copper); }
.footer-contact__phone {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--white) !important;
}
.footer-contact__phone:hover { color: var(--copper) !important; }

.site-footer__col .btn {
	background: transparent;
	border-color: rgba(255, 255, 255, .4);
	color: var(--white);
}
.site-footer__col .btn:hover { border-color: var(--copper); color: var(--white); }

/* Nuorodų sąrašai */
.site-footer__title {
	padding-bottom: 12px;
	margin-bottom: 16px;
	border-bottom: var(--line-dark);
}
.site-footer__list li { padding: 5px 0; }
.site-footer__list a {
	display: inline-block;
	position: relative;
	padding-left: 0;
	transition: padding-left .25s var(--ease), color .25s var(--ease);
}
.site-footer__list a:hover { padding-left: 8px; }

/* Apatinė juosta */
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
}
.site-footer__made { margin: 0; color: rgba(255, 255, 255, .4); }

@media (max-width: 719px) {
	.footer-brand__logo { width: 56px; height: 56px; }
	.site-footer__bottom-inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.site-footer__list a, .footer-social a { transition: none; }
}

/* ============================ Kontaktų sekcija (šviesi) ================
   Buvo granito spalvos ir susiliedavo su tokia pat tamsia porašte.
   ====================================================================== */

.section--contact {
	background: var(--stone-50);
	color: var(--granite-800);
	border-top: 3px solid var(--copper);
}

.section--contact .section-head__title { color: var(--granite-900); }
.section--contact .section-head__text { color: var(--granite-700); }

.section--contact .contact__list li { border-bottom: var(--line); }
.section--contact .contact__list strong { color: var(--copper); }
.section--contact .contact__list a { color: var(--granite-900); }
.section--contact .contact__list a:hover { color: var(--copper); }

/* Forma — balta kortelė ant šviesaus fono, su aiškiu rėmeliu. */
.section--contact .contact-form {
	border: var(--line);
	border-top: 3px solid var(--copper);
	box-shadow: none;
}

/* Antraštės tamsiuose blokuose — didesnis specifiškumas, kad jų neperrašytų
   .prose ir .seo-body taisyklės, kraunamos vėliau. */
.at-cta.at-cta h2,
.at-cta.at-cta h3,
.at-cta.at-cta h4,
.cta-band.cta-band h2,
.cta-band.cta-band h3 { color: var(--white); }

.at-cta.at-cta p,
.cta-band.cta-band p { color: rgba(255, 255, 255, .82); }

/* ======================================================================
   ILGO TEKSTO MAKETAS
   Naudojamas ir tituliniame, ir vidiniuose puslapiuose, todėl gyvena
   main.css, o ne front.css — kitaip vidiniuose puslapiuose tinklelio
   nebūtų ir tekstas liktų siauru stulpeliu.
   ====================================================================== */
/* --------------------------------------------------------- SEO tekstas */

.section--seo { background: var(--white); }

.seo-layout {
	display: grid;
	gap: clamp(28px, 3vw, 52px);
	grid-template-columns: 1fr;
	align-items: start;
}
@media (min-width: 1000px) {
	.seo-layout { grid-template-columns: 260px minmax(0, 1fr); }
	.seo-toc { position: sticky; top: 120px; }
}

.seo-toc {
	border-top: 3px solid var(--granite-900);
	padding-top: 20px;
}
.seo-toc__title {
	font-family: var(--font-body);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--granite-500);
	margin-bottom: 14px;
}
.seo-toc ol {
	list-style: none;
	counter-reset: toc;
	margin: 0;
	padding: 0;
}
.seo-toc li { counter-increment: toc; }
.seo-toc a {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--stone-100);
	font-size: .97rem;
	color: var(--granite-900);
	text-decoration: none;
	transition: color .25s var(--ease);
}
.seo-toc a::before {
	content: counter(toc, decimal-leading-zero);
	color: var(--sand-500);
	font-weight: 700;
	font-size: .85rem;
	padding-top: 2px;
	font-variant-numeric: tabular-nums;
}
.seo-toc a:hover { color: var(--copper); }

.seo-body { max-width: 76ch; font-size: 1.05rem; }
.seo-body > h2 {
	margin-top: 1.9em;
	padding-top: 1em;
	border-top: var(--line);
	scroll-margin-top: 110px;
}
.seo-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.seo-body > h3 { margin-top: 1.6em; color: var(--granite-800); font-size: 1.22rem; }
.seo-body > ul { padding-left: 0; list-style: none; }
.seo-body > ul > li {
	position: relative;
	padding-left: 28px;
	margin-bottom: .65em;
}
.seo-body > ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .72em;
	width: 14px;
	height: 2px;
	background: var(--copper);
}

.prose--wide { max-width: 82ch; }

/* ==================================== Ilgo teksto trys stulpeliai ======
   Tekstas laikomas siauras (iki 68 ženklų), nes ilga eilutė blogai skaitoma.
   Likusi pločio dalis atiduodama kontaktams, o ne tuščiai erdvei.
   ====================================================================== */

@media (min-width: 1240px) {
	.seo-layout {
		grid-template-columns: 240px minmax(0, 1fr) 300px;
		column-gap: clamp(32px, 3vw, 56px);
	}

	.seo-aside {
		position: sticky;
		top: 120px;
	}
}

/* Iki 1240 px šoninė skiltis keliauja po tekstu ir tampa horizontali. */
@media (max-width: 1239px) {
	.seo-aside {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: var(--gap);
		margin-top: 16px;
	}
}

.seo-body { max-width: 68ch; }

.seo-aside__card {
	background: var(--granite-900);
	color: rgba(255, 255, 255, .82);
	padding: 28px 26px 26px;
	border-top: 3px solid var(--copper);
}

.seo-aside__eyebrow {
	margin: 0 0 10px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sand-300);
}

.seo-aside__title {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--white);
}

.seo-aside__text {
	margin: 0 0 22px;
	font-size: .95rem;
	line-height: 1.6;
}

.seo-aside__card .btn {
	background: var(--white);
	border-color: var(--white);
	color: var(--granite-900);
}
.seo-aside__card .btn:hover { color: var(--white); border-color: var(--copper); }

.seo-aside__phone {
	display: block;
	margin-top: 20px;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--white);
	text-decoration: none;
}
.seo-aside__phone:hover { color: var(--copper); }

.seo-aside__hours {
	margin: 4px 0 0;
	font-size: .84rem;
	color: var(--granite-300);
}

.seo-aside__facts {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	border-top: var(--line);
}
.seo-aside__facts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 0;
	border-bottom: var(--line);
}
.seo-aside__facts strong {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--granite-900);
}
.seo-aside__facts span {
	font-size: .88rem;
	color: var(--granite-700);
}

@media (max-width: 1239px) {
	.seo-aside__facts { margin-top: 0; border-top: 0; }
}


/* Kontaktų puslapyje forma eina iškart po antraštės bloko, kuris jau turi
   dvispalvę juostą apačioje — savos varinės ribos tada nereikia. */
.page-hero + .section--contact { border-top: 0; }

/* ====================================================== Mega meniu =====
   Platus skydelis po antrašte. Rodomas užvedus pele arba perėjus klaviatūra.
   ====================================================================== */

.site-nav .menu > li.has-mega { position: static; }

.mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	background: var(--white);
	border-top: var(--line);
	border-bottom: 3px solid var(--copper);
	box-shadow: 0 24px 48px rgba(28, 33, 38, .1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.has-mega:hover > .mega,
.has-mega:focus-within > .mega {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mega__inner {
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	grid-template-columns: 1fr;
	padding-top: clamp(28px, 3vw, 40px);
	padding-bottom: clamp(28px, 3vw, 40px);
}

@media (min-width: 900px) {
	.mega__inner { grid-template-columns: minmax(0, 1.9fr) minmax(260px, 320px); }
}

.mega__label {
	margin: 0 0 16px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--copper);
}

.mega__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.mega__list { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 48px); }
}

.mega__list a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--stone-100);
	text-decoration: none;
	color: var(--granite-900);
	transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.mega__list a:hover {
	color: var(--copper);
	padding-left: 6px;
}

.mega__name { font-weight: 600; font-size: .98rem; }

.mega__price {
	flex: none;
	font-family: var(--font-display);
	font-size: .92rem;
	font-weight: 700;
	color: var(--granite-500);
	white-space: nowrap;
}
.mega__list a:hover .mega__price { color: var(--copper); }

.mega__all { margin-top: 20px; }

/* Dešinė kortelė */
.mega__col--card {
	background: var(--granite-900);
	color: rgba(255, 255, 255, .8);
	padding: 26px 24px;
	border-top: 3px solid var(--copper);
	align-self: start;
}
.mega__col--card .mega__label { color: var(--sand-300); }
.mega__text { margin: 0 0 20px; font-size: .93rem; line-height: 1.6; }

.mega__col--card .btn {
	background: var(--white);
	border-color: var(--white);
	color: var(--granite-900);
}
.mega__col--card .btn:hover { color: var(--white); border-color: var(--copper); }

.mega__phone {
	display: block;
	margin-top: 16px;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--white);
	text-decoration: none;
}
.mega__phone:hover { color: var(--copper); }

/* Mobiliajame skydelis tampa įprastu sąrašu. */
@media (max-width: 980px) {
	.mega {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--stone-200);
		background: var(--stone-50);
		margin: 0 0 10px 4px;
	}
	.mega__inner { padding: 16px 14px; gap: 20px; }
	.mega__col--card { padding: 20px 18px; }
	.mega__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.mega, .mega__list a { transition: none; }
}

/* ================================================ Šoninis skydelis =====
   Išslenka iš dešinės. Mobiliajame pakeičia išskleidžiamą meniu, dideliame
   ekrane atidaromas mygtuku šalia „Užsakyti".
   ====================================================================== */

.sidecar {
	position: fixed;
	inset: 0;
	z-index: 200;
}
.sidecar[hidden] { display: none; }

.sidecar__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	border: 0;
	padding: 0;
	background: rgba(28, 33, 38, .55);
	cursor: pointer;
	opacity: 0;
	transition: opacity .3s var(--ease);
}

.sidecar__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-left: 3px solid var(--copper);
	transform: translateX(100%);
	transition: transform .35s var(--ease-sharp);
	overflow-y: auto;
}

.sidecar.is-open .sidecar__backdrop { opacity: 1; }
.sidecar.is-open .sidecar__panel { transform: none; }

.sidecar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border-bottom: var(--line);
	position: sticky;
	top: 0;
	background: var(--white);
	z-index: 2;
}
.sidecar__brand {
	font-family: var(--font-display);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.sidecar__close {
	width: 44px;
	height: 44px;
	flex: none;
	border: var(--line);
	background: var(--white);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--granite-900);
	transition: border-color .2s var(--ease), color .2s var(--ease);
}
.sidecar__close:hover { border-color: var(--copper); color: var(--copper); }

.sidecar__body { padding: 24px; display: flex; flex-direction: column; gap: 28px; }

.sidecar__menu,
.sidecar__nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sidecar__nav a {
	display: block;
	padding: 13px 0;
	border-bottom: var(--line);
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--granite-900);
	text-decoration: none;
	transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.sidecar__nav a:hover { color: var(--copper); padding-left: 6px; }

/* Skydelyje mega meniu nereikia — jis turi savo paslaugų sąrašą. */
.sidecar__nav .mega { display: none; }

.sidecar__label {
	margin: 0 0 12px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--copper);
}

.sidecar__services { list-style: none; margin: 0; padding: 0; }
.sidecar__services a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--stone-100);
	font-size: .95rem;
	color: var(--granite-800);
	text-decoration: none;
}
.sidecar__services a:hover { color: var(--copper); }
.sidecar__services em {
	font-style: normal;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .88rem;
	color: var(--granite-500);
	white-space: nowrap;
}

.sidecar__block--contact {
	background: var(--granite-900);
	color: rgba(255, 255, 255, .8);
	padding: 24px 22px;
	border-top: 3px solid var(--copper);
}
.sidecar__block--contact .sidecar__label { color: var(--sand-300); }

.sidecar__phone {
	display: block;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--white);
	text-decoration: none;
}
.sidecar__phone:hover { color: var(--copper); }

.sidecar__mail {
	display: block;
	margin-top: 6px;
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
	font-size: .95rem;
}
.sidecar__mail:hover { color: var(--copper); }

.sidecar__hours {
	margin: 10px 0 18px;
	font-size: .86rem;
	color: var(--granite-300);
}

.sidecar__block--contact .btn {
	background: var(--white);
	border-color: var(--white);
	color: var(--granite-900);
}
.sidecar__block--contact .btn:hover { color: var(--white); border-color: var(--copper); }

/* Mygtukas matomas ir dideliame ekrane. */
/* Desktope meniu yra antraštėje, todėl mygtuko nerodome. */
@media (min-width: 981px) {
	.nav-toggle { display: none; }
}

body.sidecar-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.sidecar__panel, .sidecar__backdrop { transition: none; }
}
