/*
Theme Name: Fototaisykla
Theme URI: https://fototaisykla.lt/
Author: Fototaisykla
Description: Greita, SEO optimizuota fotoaparatų remonto serviso tema be papildinių: gedimų vadovas, kainoraštis, skaičiuoklė „Taisyti ar pirkti naują?“, gyvas darbo laiko indikatorius, DUK su schema.org duomenimis, mygtukas į viršų, logotipas ir favicon.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
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: fototaisykla
Tags: one-column, custom-logo, custom-menu, featured-images, accessibility-ready, translation-ready, blog, business
*/

/* ==========================================================================
   1. Spalvos, šriftai, mastelis
   ========================================================================== */

:root {
	--paper: #F2F4F5;
	--surface: #FFFFFF;
	--ink: #1A2028;
	--body: #3B4552;
	--muted: #5F6B7A;
	--line: #D7DCE1;
	--line-soft: #E6E9EC;
	--signal: #D7262E;
	--signal-dk: #B81E25;
	--ok: #1F8A5B;
	--ok-light: #4ED79A;
	--amber: #C98A12;
	--vf: #1E252E;
	--vf-2: #262E38;
	--vf-line: #36404C;
	--vf-text: #C9D1DA;

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

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--sec: clamp(64px, 9vw, 120px);
	--r-s: 6px;
	--r-m: 12px;
	--r-l: 20px;
	--header-h: 72px;
}

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

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.62;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-stretch: 108%;
	text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.22rem; font-stretch: 100%; letter-spacing: 0; }
h4 { font-size: 1rem; font-stretch: 100%; letter-spacing: 0; }

p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

a { color: var(--signal-dk); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

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

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

::selection { background: var(--ink); color: #FFFFFF; }

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

.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;
	background: var(--ink); color: #FFFFFF;
	padding: 12px 18px; border-radius: var(--r-s);
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

.site-main:focus { outline: none; }

/* ==========================================================================
   3. Mygtukai
   ========================================================================== */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 44px;
	padding: .6em 1.15em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.06rem; }

.btn-primary { background: var(--signal); color: #FFFFFF; }
.btn-primary:hover { background: var(--signal-dk); color: #FFFFFF; }

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

.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #FFFFFF; }
.btn-ghost-light:hover { background: #FFFFFF; color: var(--ink); }

.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #000000; color: #FFFFFF; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .4em;
	font-weight: 650; text-decoration: none; color: var(--signal-dk);
}
.link-arrow:hover { color: var(--ink); }
.link-arrow .ico { transition: transform .15s ease; }
.link-arrow:hover .ico { transform: translateX(3px); }

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

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(242, 244, 245, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }

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

.brand, .custom-logo-link { display: inline-flex; flex: none; }
.brand img { width: 176px; height: auto; }
.custom-logo { max-height: 44px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list {
	display: flex; gap: 4px;
	margin: 0; padding: 0; list-style: none;
}
.nav-list a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--r-s);
	color: var(--ink);
	font-weight: 550; font-size: .97rem;
	text-decoration: none;
}
.nav-list a:hover { background: var(--line-soft); color: var(--ink); }
.nav-list a[aria-current], .nav-list .current-menu-item > a { color: var(--signal-dk); }
.nav-list .sub-menu { display: none; }
.nav-call { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.status {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .86rem; font-weight: 550; color: var(--muted);
	white-space: nowrap;
}
.status[hidden] { display: none; }
.status-dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: #9AA4B0;
	box-shadow: 0 0 0 3px rgba(154, 164, 176, .2);
}
.status.is-open { color: var(--ok); }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 138, 91, .2); }

.btn-call { background: var(--ink); color: #FFFFFF; padding: .55em 1.05em; }
.btn-call:hover { background: var(--signal); color: #FFFFFF; }

.menu-toggle {
	display: none;
	width: 46px; height: 46px;
	align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: var(--r-s);
	background: var(--surface); color: var(--ink);
	cursor: pointer;
}
.menu-close { display: none; }
.menu-is-open .menu-open { display: none; }
.menu-is-open .menu-close { display: inline-flex; }

/* ==========================================================================
   5. Pirmas ekranas: vaizdo ieškiklis
   ========================================================================== */

.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.hero-title {
	font-size: clamp(2.4rem, 4.9vw, 4rem);
	font-weight: 800;
	font-stretch: 118%;
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin-bottom: .45em;
}

.hero-lead {
	font-size: clamp(1.08rem, 1.5vw, 1.22rem);
	max-width: 34em;
	margin-bottom: 1.8em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-facts {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0; margin: 0;
	border-top: 2px solid var(--ink);
}
.hero-facts div { padding: 14px 16px 0 0; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: .88rem; color: var(--muted); }
.hero-facts dd {
	margin: 2px 0 0;
	color: var(--ink);
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 750; font-stretch: 112%;
}

/* Vaizdo ieškiklis */
.vf {
	margin: 0;
	background: var(--vf);
	border-radius: var(--r-l);
	padding: 14px;
	box-shadow: 0 30px 60px -30px rgba(26, 32, 40, .55);
}
.vf-screen {
	position: relative;
	aspect-ratio: 560 / 400;
	border-radius: 10px;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 40% 55%, #2E3846 0%, #1A2028 70%);
}
.vf-art { display: block; width: 100%; height: 100%; }

/* Fokusavimo rėmeliai – vienintelis animuotas momentas puslapyje */
.af {
	position: absolute;
	width: 26px; height: 26px;
	border: 0 solid var(--ok-light);
	animation-duration: 1.2s, .25s;
	animation-delay: .35s, 1.55s;
	animation-timing-function: cubic-bezier(.22, .9, .25, 1), ease;
	animation-fill-mode: both;
}
.af-tl { border-top-width: 3px; border-left-width: 3px; --x0: 5%; --y0: 7%; --x1: 28%; --y1: 33%; left: var(--x1); top: var(--y1); }
.af-tr { border-top-width: 3px; border-right-width: 3px; --x0: 5%; --y0: 7%; --x1: 35%; --y1: 33%; right: var(--x1); top: var(--y1); }
.af-bl { border-bottom-width: 3px; border-left-width: 3px; --x0: 5%; --y0: 7%; --x1: 28%; --y1: 13%; left: var(--x1); bottom: var(--y1); }
.af-br { border-bottom-width: 3px; border-right-width: 3px; --x0: 5%; --y0: 7%; --x1: 35%; --y1: 13%; right: var(--x1); bottom: var(--y1); }

.af-tl { animation-name: af-tl, af-lock; }
.af-tr { animation-name: af-tr, af-lock; }
.af-bl { animation-name: af-bl, af-lock; }
.af-br { animation-name: af-br, af-lock; }
@keyframes af-tl { from { left: var(--x0); top: var(--y0); opacity: .45; } to { left: var(--x1); top: var(--y1); opacity: 1; } }
@keyframes af-tr { from { right: var(--x0); top: var(--y0); opacity: .45; } to { right: var(--x1); top: var(--y1); opacity: 1; } }
@keyframes af-bl { from { left: var(--x0); bottom: var(--y0); opacity: .45; } to { left: var(--x1); bottom: var(--y1); opacity: 1; } }
@keyframes af-br { from { right: var(--x0); bottom: var(--y0); opacity: .45; } to { right: var(--x1); bottom: var(--y1); opacity: 1; } }
@keyframes af-lock { from { border-color: rgba(255, 255, 255, .85); } to { border-color: var(--ok-light); } }

.af-point {
	position: absolute;
	left: 46.8%; top: 60%;
	width: 12px; height: 12px;
	margin: -6px 0 0 -6px;
	border: 2px solid var(--ok-light);
	border-radius: 2px;
	animation: af-dot .3s ease 1.55s both;
}
@keyframes af-dot { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: scale(1); } }

.vf-lcd {
	display: flex; flex-wrap: wrap; gap: 6px 20px;
	align-items: center;
	padding: 12px 6px 2px;
	color: var(--vf-text);
	font-size: .9rem; font-weight: 550;
	font-stretch: 88%;
	letter-spacing: .01em;
}
.lcd-item { display: inline-flex; align-items: center; gap: 8px; }
.lcd-status::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%;
	background: #8692A0;
}
.lcd-status.is-open { color: #FFFFFF; }
.lcd-status.is-open::before { background: var(--ok-light); }
.lcd-item:last-child { margin-left: auto; }

/* ==========================================================================
   6. Skyriai
   ========================================================================== */

.section { padding: var(--sec) 0; }
.section-tight { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--sec); }

.section-head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.1rem; color: var(--body); margin-bottom: 0; }
.section-head p + p { margin-top: .8em; }
.section-head-row {
	max-width: none;
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px;
}
.section-head-row h2 { margin: 0; }

/* --- Gedimų vadovas --- */
.section-symptoms { background: var(--surface); border-block: 1px solid var(--line); }

.symptoms {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}
.symptom-list { display: flex; flex-direction: column; gap: 4px; }
.symptom-btn {
	display: block; width: 100%;
	padding: 13px 16px 13px 18px;
	border: 0; border-left: 3px solid transparent;
	border-radius: 0 var(--r-s) var(--r-s) 0;
	background: transparent;
	color: var(--ink);
	font: inherit; font-weight: 550; text-align: left;
	cursor: pointer;
}
.symptom-btn:hover { background: var(--paper); }
.symptom-btn[aria-selected="true"] {
	background: var(--paper);
	border-left-color: var(--signal);
	font-weight: 700;
}

.symptom-panel {
	background: var(--paper);
	border-radius: var(--r-m);
	padding: clamp(22px, 3vw, 36px);
}
.symptom-panel + .symptom-panel { margin-top: 16px; }
.js .symptom-panel[data-inactive] { display: none; }
.js .symptom-panel + .symptom-panel { margin-top: 0; }
.symptom-panel h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-stretch: 106%; margin-bottom: 18px; }
.symptom-panel h4 { display: flex; align-items: center; gap: 6px; margin-bottom: .35em; }
.symptom-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.symptom-now {
	background: var(--surface);
	border-radius: var(--r-s);
	padding: 16px 18px;
	border-left: 3px solid var(--amber);
}
.symptom-now h4 { color: var(--ink); }
.symptom-now .ico { color: var(--amber); }
.symptom-now p { margin: 0; }
.symptom-meta {
	display: flex; flex-wrap: wrap; gap: 8px 40px;
	margin: 22px 0 18px; padding-top: 18px;
	border-top: 1px solid var(--line);
}
.symptom-meta dt { font-size: .86rem; color: var(--muted); }
.symptom-meta dd { margin: 0; color: var(--ink); font-weight: 700; font-size: 1.15rem; }

/* --- Paslaugos --- */
.services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	margin: 0; padding: 0; list-style: none;
	background: var(--line);
	border: 2px solid var(--line);
	border-radius: var(--r-m);
	overflow: hidden;
}
.service {
	display: flex; flex-direction: column;
	background: var(--surface);
	padding: clamp(22px, 2.6vw, 32px);
}
.service-ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; margin-bottom: 18px;
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
}
.service p { margin-bottom: 14px; }
.service-price {
	margin: auto 0 0 !important;
	color: var(--signal-dk); font-weight: 700;
}

.brands {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
	margin-top: 28px;
}
.brands-label { margin: 0; color: var(--muted); font-weight: 550; }
.brands-list {
	display: flex; flex-wrap: wrap; gap: 6px 22px;
	margin: 0; padding: 0; list-style: none;
	color: var(--ink); font-weight: 650; font-stretch: 110%;
}
.brands-list li:last-child { color: var(--muted); font-weight: 450; font-stretch: 100%; }

/* --- Kainos --- */
.section-prices { background: var(--surface); border-block: 1px solid var(--line); }

.tab-list {
	display: inline-flex; flex-wrap: wrap; gap: 4px;
	padding: 4px;
	background: var(--paper);
	border-radius: 999px;
	margin-bottom: 24px;
}
.tab {
	min-height: 42px;
	padding: 8px 18px;
	border: 0; border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: inherit; font-weight: 600;
	cursor: pointer;
}
.tab:hover { background: var(--line-soft); }
.tab[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.js .tab-panel[data-inactive] { display: none; }
.tab-panel + .tab-panel { margin-top: 32px; }
.js .tab-panel + .tab-panel { margin-top: 0; }

.price-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.02rem;
}
.price-table caption {
	text-align: left; font-weight: 700; color: var(--ink);
	padding-bottom: 10px;
}
.js .price-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.price-table th, .price-table td {
	padding: 15px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left; vertical-align: top;
}
.price-table thead th {
	padding-top: 0;
	font-size: .88rem; font-weight: 550; color: var(--muted);
	border-bottom: 2px solid var(--ink);
}
.price-table tbody th { font-weight: 550; color: var(--ink); width: 55%; }
.price-table tbody tr:hover { background: var(--paper); }
.price-cell { font-weight: 750; color: var(--ink); white-space: nowrap; }
.time-cell { color: var(--muted); }
.price-table th:first-child, .price-table td:first-child { padding-left: 0; }
.price-note { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }

/* --- Darbo eiga --- */
.steps-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.steps {
	margin: 0; padding: 0; list-style: none;
	counter-reset: step;
}
.step {
	position: relative;
	padding: 0 0 28px 64px;
	counter-increment: step;
}
.step::before {
	content: counter(step);
	position: absolute; left: 0; top: -4px;
	width: 42px; height: 42px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--ink); color: #FFFFFF;
	font-weight: 750; font-stretch: 112%;
}
.step::after {
	content: "";
	position: absolute; left: 20px; top: 42px; bottom: 2px;
	width: 2px; background: var(--line);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step:last-child::before { background: var(--ok); }
.step h3 { margin-bottom: .25em; }
.step p { margin: 0; }

.bring {
	position: sticky; top: calc(var(--header-h) + 24px);
	background: var(--vf);
	color: var(--vf-text);
	border-radius: var(--r-l);
	padding: clamp(24px, 3vw, 36px);
}
.bring h3 { color: #FFFFFF; font-size: 1.4rem; font-stretch: 108%; }
.checklist { margin: 0 0 18px; padding: 0; list-style: none; }
.checklist li {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 11px 0;
	border-bottom: 1px solid var(--vf-line);
}
.checklist .ico { flex: none; color: var(--ok-light); margin-top: 2px; }
.bring-note { margin: 0; font-size: .93rem; color: #9DA8B5; }

/* --- Skaičiuoklė --- */
.section-calc { background: var(--surface); border-block: 1px solid var(--line); }
.calc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.calc-grid .section-head { margin-bottom: 0; }
.calc-hint { font-size: .98rem !important; color: var(--muted) !important; }

.calc {
	background: var(--paper);
	border-radius: var(--r-l);
	padding: clamp(22px, 3vw, 36px);
	--meter: var(--ok);
}
.calc[data-level="mid"] { --meter: var(--amber); }
.calc[data-level="bad"] { --meter: var(--signal); }
.calc-field {
	display: grid; grid-template-columns: 1fr auto;
	gap: 6px 12px; align-items: baseline;
	margin-bottom: 22px;
}
.calc-field label { font-weight: 600; color: var(--ink); }
.calc-field output { font-weight: 750; font-size: 1.25rem; color: var(--ink); font-stretch: 110%; }
.calc-field input { grid-column: 1 / -1; }

input[type="range"] {
	-webkit-appearance: none; appearance: none;
	width: 100%; height: 28px;
	background: transparent;
	cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 24px; height: 24px; margin-top: -9px;
	border-radius: 50%; border: 3px solid #FFFFFF;
	background: var(--ink);
	box-shadow: 0 1px 4px rgba(26, 32, 40, .35);
}
input[type="range"]::-moz-range-thumb {
	width: 18px; height: 18px;
	border-radius: 50%; border: 3px solid #FFFFFF;
	background: var(--ink);
	box-shadow: 0 1px 4px rgba(26, 32, 40, .35);
}

.calc-meter {
	height: 10px; border-radius: 5px;
	background: var(--line);
	overflow: hidden;
	margin: 6px 0 16px;
}
.calc-meter span {
	display: block; height: 100%; width: 15%;
	background: var(--meter);
	border-radius: 5px;
	transition: width .2s ease, background-color .2s ease;
}
.calc-result { margin: 0; min-height: 3.2em; }
.calc-result strong { color: var(--ink); }

/* --- Patarimai --- */
.tips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px clamp(32px, 5vw, 64px);
	margin: 0; padding: 0; list-style: none;
}
.tip { display: flex; gap: 18px; align-items: flex-start; }
.tip-ico {
	flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px;
	border-radius: var(--r-s);
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink);
}
.tip h3 { margin-bottom: .3em; }
.tip p { margin: 0; }

/* --- Kortelės (tinklaraštis) --- */
.section-posts { padding-top: 0; }
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 24px;
}
.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	overflow: hidden;
}
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--line-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-empty { display: flex; align-items: center; justify-content: center; }
.card-media-empty img { width: 56px; height: 56px; opacity: .35; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.card-meta { font-size: .86rem; color: var(--muted); }
.card-title { margin: 0; font-size: 1.2rem; }
.card-link:hover .card-title { color: var(--signal-dk); }
.card-excerpt { color: var(--body); font-size: .98rem; }

/* --- DUK --- */
.section-faq { background: var(--surface); border-block: 1px solid var(--line); }
.faq-grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.1rem; }
.faq-item summary::after {
	content: "";
	flex: none;
	width: 28px; height: 28px;
	border-radius: 50%;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
		var(--paper);
	transition: transform .2s ease;
}
.faq-item[open] summary::after {
	background:
		linear-gradient(#FFFFFF, #FFFFFF) center / 12px 2px no-repeat,
		var(--ink);
}
.faq-item summary:hover h3 { color: var(--signal-dk); }
.faq-item p { margin: -4px 0 22px; max-width: 40em; }

/* --- Kontaktai --- */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: stretch;
}
.contact-address { font-style: normal; margin-bottom: 20px; }
.contact-street {
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 750; font-stretch: 110%;
	color: var(--ink);
	margin-bottom: .2em;
}
.contact-points { margin: 0 0 28px; padding: 0; list-style: none; }
.contact-points li { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.contact-points .ico { color: var(--muted); flex: none; }

.hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; color: var(--ink); font-size: 1.1rem; padding-bottom: 8px; }
.hours th, .hours td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 450; }
.hours td { text-align: right; }
.hours tr[data-day="6"], .hours tr[data-day="7"] { color: var(--muted); }
.hours tr.is-today { background: var(--ink); color: #FFFFFF; }
.hours tr.is-today th { font-weight: 700; color: #FFFFFF; }
.hours tr.is-today th::after { content: " (šiandien)"; font-weight: 450; color: var(--vf-text); }
.hours-note { font-size: .92rem; color: var(--muted); margin: 10px 0 28px; }

.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.reviews-link { margin: 20px 0 0; }

.map {
	position: relative;
	min-height: 420px;
	border-radius: var(--r-l);
	overflow: hidden;
	background: #E4E8EC;
	border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	text-align: center; padding: 24px;
}
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card {
	position: relative;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	padding: 20px 24px;
	background: rgba(255, 255, 255, .94);
	border-radius: var(--r-m);
	box-shadow: 0 10px 30px -12px rgba(26, 32, 40, .35);
}
.map-addr { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.map-addr .ico { color: var(--signal); }
.map-note { margin: 0; font-size: .86rem; color: var(--muted); max-width: 22em; }

/* --- Puslapio turinys (pasirinktinai) --- */
.section-content { padding-top: 0; }

/* ==========================================================================
   7. Vidiniai puslapiai
   ========================================================================== */

.page-head {
	padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}
.page-title { font-size: clamp(2rem, 4.2vw, 3.2rem); font-stretch: 114%; font-weight: 780; max-width: 22em; margin-bottom: .3em; }
.page-intro { font-size: 1.15rem; max-width: 40em; margin: 0; }
.page-search { margin-top: 24px; max-width: 520px; }

.crumbs ol {
	display: flex; flex-wrap: wrap; gap: 4px;
	margin: 0 0 18px; padding: 0; list-style: none;
	font-size: .9rem; color: var(--muted);
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.entry-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .95rem; margin: 0; }

.entry-hero { margin: 0 auto 40px; max-width: 1000px; }
.entry-hero img { width: 100%; border-radius: var(--r-m); }

.entry-content { max-width: 760px; margin: 0 auto; font-size: 1.1rem; line-height: 1.72; }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.entry-content h3 { margin-top: 1.5em; font-size: 1.3rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--signal); }
.entry-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 24px;
	border-left: 3px solid var(--signal);
	font-size: 1.2rem; color: var(--ink);
}
.entry-content img, .entry-content figure img { border-radius: var(--r-s); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption, .wp-caption-text { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content thead th { border-bottom: 2px solid var(--ink); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content code { background: var(--line-soft); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.entry-content pre { background: var(--vf); color: var(--vf-text); padding: 18px; border-radius: var(--r-s); overflow: auto; }
.entry-content .alignwide { max-width: 1000px; margin-left: 50%; transform: translateX(-50%); width: calc(100vw - var(--gutter) * 2); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-button__link { background: var(--signal); color: #FFFFFF; border-radius: 999px; padding: .7em 1.4em; font-weight: 650; text-decoration: none; }
.entry-content .wp-block-gallery img, .entry-content .gallery img { border-radius: var(--r-s); }

.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky, .gallery-caption, .bypostauthor { outline: 0; }

.entry-footer { max-width: 760px; margin: 40px auto 0; }
.tags a {
	display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px;
	border: 1px solid var(--line); border-radius: 999px;
	font-size: .9rem; color: var(--ink); text-decoration: none;
}
.tags a:hover { border-color: var(--ink); }

.related { margin-top: var(--sec); }

.page-links { margin: 2em 0; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.empty { max-width: 560px; }

/* Paieška */
.search-form { display: flex; gap: 8px; }
.search-field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}
.search-field:focus, .comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.search-form .btn { border-radius: var(--r-s); flex: none; }

/* 404 */
.page-404 { padding-block: clamp(48px, 8vw, 96px); }
.big-404 {
	margin: 0 0 12px;
	font-size: clamp(3rem, 10vw, 7rem);
	font-weight: 800; font-stretch: 125%;
	line-height: 1;
	color: var(--signal);
}
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.quick-links a {
	display: inline-block; padding: 10px 18px;
	border: 2px solid var(--ink); border-radius: 999px;
	color: var(--ink); font-weight: 600; text-decoration: none;
}
.quick-links a:hover { background: var(--ink); color: #FFFFFF; }

/* Komentarai */
.comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: .9rem; color: var(--muted); }
.comment-author img { display: inline-block; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.comment-form .submit { background: var(--ink); color: #FFFFFF; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 650; cursor: pointer; }

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

.cta-band { background: var(--ink); color: var(--vf-text); padding: clamp(40px, 6vw, 64px) 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #FFFFFF; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--vf); color: var(--vf-text); padding-top: clamp(48px, 7vw, 80px); }
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 48px;
}
.footer-brand .brand img { width: 196px; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; }
.footer-warranty { display: flex; align-items: center; gap: 8px; color: #FFFFFF; font-weight: 600; }
.footer-warranty .ico { color: var(--ok-light); }
.footer-h { color: #FFFFFF; font-size: 1rem; font-stretch: 100%; margin-bottom: 14px; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { padding: 4px 0; }
.footer-list a { color: var(--vf-text); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.footer-list a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-note { font-size: .92rem; color: #9DA8B5; }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-top: 22px; padding-bottom: 28px;
	background: linear-gradient(var(--vf-line), var(--vf-line)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat;
	font-size: .9rem; color: #9DA8B5;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9DA8B5; }

/* ==========================================================================
   9. Mygtukas „Į viršų“ ir mobilioji skambučio juosta
   ========================================================================== */

.to-top {
	--progress: 100;
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--ink); color: #FFFFFF;
	box-shadow: 0 8px 24px -8px rgba(26, 32, 40, .6);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .15s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--signal); color: #FFFFFF; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle {
	fill: none; stroke: var(--signal); stroke-width: 3;
	stroke-dasharray: 100; stroke-dashoffset: var(--progress);
	transition: stroke-dashoffset .1s linear;
}
.to-top:hover .to-top-ring circle { stroke: #FFFFFF; }

.callbar { display: none; }

/* ==========================================================================
   10. Prisitaikymas
   ========================================================================== */

@media (max-width: 1080px) {
	.nav-list a { padding: 10px 9px; font-size: .93rem; }
	.status { display: none !important; }
}

@media (max-width: 920px) {
	:root { --header-h: 64px; }
	/* backdrop-filter sukurtų naują „fixed“ elementų konteinerį – mobiliajame meniu jo atsisakome */
	.site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.menu-toggle { display: inline-flex; }
	.btn-call span { display: none; }
	.btn-call { width: 46px; height: 46px; padding: 0; }

	.main-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
		margin: 0;
		background: var(--paper);
		padding: 16px var(--gutter) 32px;
		overflow-y: auto;
		display: none;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.menu-is-open .main-nav { display: block; }
	.menu-is-open body { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 16px 4px; font-size: 1.25rem; font-weight: 650; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-list .sub-menu { display: block; list-style: none; padding-left: 16px; }
	.nav-call {
		display: flex; align-items: center; justify-content: center; gap: 10px;
		margin-top: 24px; padding: 16px;
		border-radius: 999px;
		background: var(--signal); color: #FFFFFF;
		font-weight: 700; font-size: 1.1rem; text-decoration: none;
	}

	.hero-grid, .steps-grid, .calc-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
	.hero { padding-top: 20px; }
	.bring, .faq-grid .section-head { position: static; }

	.symptoms { grid-template-columns: minmax(0, 1fr); }
	.symptom-list {
		flex-direction: row; flex-wrap: nowrap;
		overflow-x: auto; gap: 8px;
		margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
		scrollbar-width: none;
	}
	.symptom-list::-webkit-scrollbar { display: none; }
	.symptom-btn {
		flex: none; width: auto;
		border: 1px solid var(--line); border-radius: 999px;
		padding: 10px 16px; white-space: nowrap;
	}
	.symptom-btn[aria-selected="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }

	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	body { font-size: 1rem; }
	.hero-title { font-stretch: 108%; }
	.hero-facts { grid-template-columns: minmax(0, 1fr); }
	.hero-facts div, .hero-facts div + div {
		display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
		padding: 10px 0; border-left: 0; border-bottom: 1px solid var(--line);
	}
	.hero-facts dd { font-size: 1.1rem; margin: 0; }
	.hero-cta .btn { flex: 1 1 100%; }
	.lcd-hide-sm { display: none !important; }
	.vf { padding: 8px; border-radius: var(--r-m); }

	.symptom-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.services, .tips { grid-template-columns: minmax(0, 1fr); }
	.tab-list { display: flex; border-radius: var(--r-m); }
	.tab { flex: 1 1 auto; border-radius: var(--r-s); padding: 8px 12px; }

	.price-table thead { display: none; }
	.price-table, .price-table tbody, .price-table tr { display: block; }
	.price-table tr {
		display: grid; grid-template-columns: 1fr auto;
		gap: 2px 12px; padding: 14px 0;
		border-bottom: 1px solid var(--line);
	}
	.price-table th, .price-table td { padding: 0; border: 0; }
	.price-table tbody th { width: auto; grid-column: 1; }
	.price-cell { grid-column: 2; grid-row: 1; text-align: right; }
	.time-cell { grid-column: 1 / -1; font-size: .92rem; }

	.map { min-height: 320px; }
	.contact-cta .btn { flex: 1 1 auto; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

	.callbar {
		display: grid; grid-template-columns: 1.4fr 1fr;
		gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(242, 244, 245, .96);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
		transform: translateY(110%);
		transition: transform .25s ease;
	}
	.callbar.is-visible { transform: none; }
	.callbar-btn {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 48px; border-radius: 999px;
		border: 2px solid var(--ink);
		color: var(--ink); font-weight: 700; text-decoration: none;
	}
	.callbar-call { background: var(--signal); border-color: var(--signal); color: #FFFFFF; }
	.callbar-call:hover { color: #FFFFFF; }
	.to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; }
	.site-footer { padding-bottom: 72px; }
}

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

@media print {
	.site-header, .to-top, .callbar, .map, .cta-band, .symptom-list, .tab-list, .section-calc { display: none !important; }
	.js .symptom-panel[data-inactive], .js .tab-panel[data-inactive] { display: block !important; }
	body { background: #FFFFFF; }
}
