/*
Theme Name: VMSI.lt
Theme URI: https://vmsi.lt/
Author: VMSI.lt
Description: Greita, SEO optimizuota tema fotoaparatų ir objektyvų remonto servisui. Veikia be pluginų: gedimų vedlys, kainoraštis, DUK, schema.org, 301 nukreipimai, mygtukas „į viršų“.
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: vmsi
*/

/* ==========================================================================
   Šriftai (savo serveryje – jokių užklausų į Google)
   ========================================================================== */
@font-face { font-family: "Heros Cn"; src: url("assets/fonts/heroscn-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

/* ==========================================================================
   Žymės
   ========================================================================== */
:root {
	--ink: #1B2430;
	--ink-2: #4A5563;
	--paper: #F1F4F5;
	--white: #FFFFFF;
	--teal: #0B7A75;
	--teal-d: #075E5A;
	--teal-l: #5FD3C9;
	--amber: #F5B700;
	--line: #D6DDE0;

	--f-display: "Heros Cn", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-sm: .875rem;
	--fs-body: 1.0625rem;
	--fs-lead: 1.1875rem;
	--fs-h3: 1.375rem;
	--fs-h2: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);
	--fs-h1: clamp(2.75rem, 1.6rem + 4.8vw, 5rem);

	--wrap: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--space: clamp(4rem, 3rem + 4vw, 7rem);
	--radius: 6px;
	--header-h: 72px;
}

/* ==========================================================================
   Bazė
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
h4 { font-size: var(--fs-body); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding: 0; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
small, .small { font-size: var(--fs-sm); }
.muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

.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: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: var(--white); }

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

/* ==========================================================================
   Mygtukai
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.3em; border: 2px solid transparent; border-radius: var(--radius); font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-d); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 42px; padding: .5em 1em; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .85em 1.5em; font-size: 1.0625rem; }
.link-more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--teal-l); color: var(--ink); padding-bottom: 2px; }
.link-more:hover { border-color: var(--teal); }

/* ==========================================================================
   Antraštė
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { flex: none; }
.brand img { width: 148px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; }
.main-nav a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; border-radius: var(--radius); }
.main-nav a:hover { background: var(--paper); }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }

.status { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.status[hidden] { display: none; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #9AA5B1; box-shadow: 0 0 0 3px rgba(154, 165, 177, .25); }
.status.is-open .status__dot { background: #1FA971; box-shadow: 0 0 0 3px rgba(31, 169, 113, .22); }
.status.is-soon .status__dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(245, 183, 0, .25); }
.status.is-open { color: var(--ink); }
.status--inline { margin-left: .5rem; font-weight: 600; }

@media (max-width: 1140px) {
	.status:not(.status--inline) { display: none; }
}
@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(27, 36, 48, .25); display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; }
	.main-nav a { padding: .85rem .25rem; font-size: 1.0625rem; border-bottom: 1px solid var(--paper); border-radius: 0; }
	.site-header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
	.header-call span { display: none; }
	.header-call { width: 48px; padding: 0; }
	.brand img { width: 124px; }
}

/* ==========================================================================
   Sekcijos
   ========================================================================== */
.section { padding-block: var(--space); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #DDE3E8; }
.section--ink h2 { color: var(--white); }
.section--tight { padding-block: 2.5rem 4rem; }
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head p { font-size: var(--fs-lead); color: var(--ink-2); margin: 0; }

.list-dot, .list-check { list-style: none; }
.list-dot li, .list-check li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; }
.list-dot li::before { content: ""; position: absolute; left: .35rem; top: .7em; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05em; height: 1.05em; background: var(--teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 7.6-7.6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 7.6-7.6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.list-check--cols { columns: 2 15rem; column-gap: 2rem; }
.list-check--cols li { break-inside: avoid; }

/* ==========================================================================
   Hero + vaizdo ieškiklis
   ========================================================================== */
.hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(3.5rem, 3rem + 4vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--fs-h1); margin-bottom: .35em; max-width: 13ch; }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 34rem; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero__where { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); font-size: .9375rem; margin: 0; max-width: 34rem; }
.hero__where .icon { color: var(--teal); margin-top: .2em; }

.viewfinder { margin: 0; }
.viewfinder__frame { position: relative; aspect-ratio: 4 / 3; background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.viewfinder__img { width: 100%; height: 100%; object-fit: cover; }
/* Autofokuso rėmeliai */
.af { position: absolute; width: 28px; height: 28px; border: 0 solid rgba(255, 255, 255, .9); pointer-events: none; }
.af--tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; }
.af--tr { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; }
.af--bl { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; }
.af--br { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; }
.af-point { position: absolute; left: 50%; top: 50%; width: 46px; height: 32px; translate: -50% -50%; border: 2px solid rgba(255, 255, 255, .85); border-radius: 2px; pointer-events: none; }
.readout { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: .5rem 1rem; padding: .9rem 1.1rem; background: var(--ink); color: #AEB8C2; border-radius: 0 0 var(--radius) var(--radius); font-size: .875rem; font-variant-numeric: tabular-nums; }
.readout span { white-space: nowrap; }
.readout b { color: var(--amber); font-weight: 600; margin-right: .3em; }

/* Vienintelis „įvykis“ puslapyje: diafragma atsiveria ir fokusas patvirtinamas */
@media (prefers-reduced-motion: no-preference) {
	.js .viewfinder__img { animation: vmsi-aperture 1.1s cubic-bezier(.65, 0, .35, 1) .15s both; }
	.js .af-point { animation: vmsi-focus .5s steps(1) 1.2s forwards; }
	.js .af { animation: vmsi-af .35s ease-out 1.05s both; }
}
@keyframes vmsi-aperture {
	from { clip-path: polygon(50% 46%, 53.5% 48%, 53.5% 52%, 50% 54%, 46.5% 52%, 46.5% 48%); filter: brightness(.6); }
	to { clip-path: polygon(50% -60%, 160% 0%, 160% 100%, 50% 160%, -60% 100%, -60% 0%); filter: none; }
}
@keyframes vmsi-focus {
	0% { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(245, 183, 0, .35); }
	50% { border-color: rgba(255, 255, 255, .85); box-shadow: none; }
	100% { border-color: rgba(255, 255, 255, .85); }
}
@keyframes vmsi-af { from { opacity: 0; scale: 1.3; } to { opacity: 1; scale: 1; } }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__title { max-width: 14ch; }
	.readout { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 420px) {
	.hero__cta .btn { width: 100%; }
}

/* ==========================================================================
   Gedimų vedlys
   ========================================================================== */
.finder { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.finder__list { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #F8FAFA; padding: .5rem 0; }
.finder__tab { text-align: left; background: none; border: 0; border-left: 4px solid transparent; padding: .85rem 1.25rem; font: 600 1rem/1.3 var(--f-body); color: var(--ink-2); cursor: pointer; }
.finder__tab:hover { color: var(--ink); background: var(--paper); }
.finder__tab[aria-selected="true"] { color: var(--ink); background: var(--white); border-left-color: var(--teal); }
.finder__panel { padding: clamp(1.5rem, 3vw, 2.5rem); }
.finder__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); margin-bottom: 1.25rem; }
.finder__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.finder__cols h4 { color: var(--ink-2); font-size: .9375rem; margin-bottom: .75rem; }
.finder__foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 1.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.finder__price { margin: 0; display: flex; flex-direction: column; }
.finder__price span { font-size: var(--fs-sm); color: var(--ink-2); }
.finder__price strong { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; color: var(--teal-d); font-variant-numeric: tabular-nums; }
.finder__note { margin: 0; font-size: .9375rem; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
	.finder__panel:not([hidden]) { animation: vmsi-panel .25s ease-out; }
	@keyframes vmsi-panel { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 900px) {
	.finder { grid-template-columns: 1fr; }
	.finder__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: .5rem; gap: .4rem; scrollbar-width: thin; }
	.finder__tab { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; background: var(--white); white-space: nowrap; }
	.finder__tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
	.finder__cols { grid-template-columns: 1fr; gap: 1rem; }
	.finder__foot { grid-template-columns: 1fr; }
	.finder__foot .btn { justify-self: start; }
}

/* ==========================================================================
   Paslaugos
   ========================================================================== */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.service--flip .service__media { order: 2; }
.service__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper); }
.service__body h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.05; }
.service__body > p { color: var(--ink-2); max-width: 36rem; }
.service__body .list-check { margin-bottom: 1.5rem; }
@media (max-width: 820px) {
	.service { grid-template-columns: 1fr; }
	.service--flip .service__media { order: 0; }
}
.brands { border-top: 1px solid var(--line); padding-top: 2rem; }
.brands h3 { font-size: 1rem; color: var(--ink-2); margin-bottom: 1rem; }
.brands ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; }
.brands li { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }

/* ==========================================================================
   Kainos
   ========================================================================== */
.price-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 600 .9375rem/1.2 var(--f-body); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.prices { columns: 2 30rem; column-gap: 2.5rem; }
.price-table { break-inside: avoid; margin-bottom: 2.25rem; background: var(--white); border-radius: var(--radius); }
.price-table[hidden] { display: none; }
.price-table caption { text-align: left; font-family: var(--f-display); font-weight: 700; font-size: 1.625rem; padding: 0 0 .75rem; }
.price-table tr + tr th, .price-table tr + tr td { border-top: 1px solid var(--line); }
.price-table th { text-align: left; font-weight: 400; padding: .8rem 1rem .8rem 1.25rem; vertical-align: top; }
.price-table th small { display: block; color: var(--ink-2); margin-top: .15rem; }
.price-table td { text-align: right; padding: .8rem 1.25rem .8rem .5rem; white-space: nowrap; font-weight: 600; color: var(--teal-d); font-variant-numeric: tabular-nums; vertical-align: top; }
.worth { margin-top: 1rem; display: grid; grid-template-columns: auto 1fr; gap: .25rem 2rem; align-items: baseline; padding: 1.5rem 1.75rem; border-left: 4px solid var(--amber); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; max-width: 56rem; }
.worth h3 { margin: 0; white-space: nowrap; }
.worth p { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .worth { grid-template-columns: 1fr; } }

/* ==========================================================================
   Darbo eiga
   ========================================================================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 4.25rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font-family: var(--f-display); font-weight: 700; font-size: 3.25rem; line-height: 1; color: var(--teal); }
.steps li::after { content: ""; position: absolute; top: 1.6rem; left: 2.5rem; right: -1.5rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--ink-2); font-size: .9375rem; margin: 0; }
@media (max-width: 980px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { padding: 0 0 1.75rem 4rem; }
	.steps li::before { font-size: 2.5rem; }
	.steps li::after { top: 3rem; bottom: .5rem; left: .85rem; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }
}

/* ==========================================================================
   Garantija
   ========================================================================== */
.warranty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.warranty__badge { position: relative; width: clamp(140px, 18vw, 200px); color: var(--teal); }
.warranty__badge .icon { width: 100%; height: auto; }
.warranty__badge span { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 8%; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--white); }
.warranty__text { max-width: 44rem; }
.warranty__text p { font-size: var(--fs-lead); }
.warranty__text .muted { color: #9AA5B1; font-size: .9375rem; }
@media (max-width: 640px) { .warranty { grid-template-columns: 1fr; } }

/* ==========================================================================
   Patarimai
   ========================================================================== */
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; align-items: start; }
.tip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tip summary { display: block; cursor: pointer; padding: 1.4rem 3.5rem 1.4rem 1.5rem; position: relative; list-style: none; }
.tip summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.tip summary h3 { font-size: 1.1875rem; margin-bottom: .35rem; }
.tip__lead { display: block; color: var(--ink-2); font-size: .9375rem; }
.tip__body { padding: 0 1.5rem 1.25rem; }
.tip__body p { padding-left: 1rem; border-left: 2px solid var(--teal-l); }
.tip summary::after, .faq__item summary::after { content: ""; position: absolute; right: 1.4rem; top: 1.6rem; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center/100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 100% no-repeat; transition: transform .2s; }
.tip[open] summary::after, .faq__item[open] summary::after { transform: rotate(45deg); }
@media (max-width: 760px) { .tips { grid-template-columns: 1fr; } }

/* ==========================================================================
   DUK
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.section__head--side { position: sticky; top: calc(var(--header-h) + 2rem); }
.section__head--side p { margin-bottom: 1.5rem; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; cursor: pointer; list-style: none; padding: 1.25rem 3rem 1.25rem 0; }
.faq__item summary h3 { font-size: 1.125rem; margin: 0; }
.faq__item summary::after { right: .5rem; top: 1.55rem; }
.faq__item p { margin: 0 0 1.4rem; color: var(--ink-2); max-width: 42rem; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .section__head--side { position: static; } }

/* ==========================================================================
   Kontaktai
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact__row { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; }
.contact__row .icon { color: var(--teal); margin-top: .2em; }
.contact__phone { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; text-decoration: none; color: var(--ink); }
.contact__phone:hover { color: var(--teal-d); }
.hours { margin: 1.5rem 0 .5rem; max-width: 26rem; }
.hours caption { text-align: left; font-weight: 600; margin-bottom: .5rem; align-items: center; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 1rem; }
.hours .is-closed { color: var(--ink-2); }
.hours .is-today th, .hours .is-today td { font-weight: 600; color: var(--ink); }
.hours .is-today th::after { content: " (šiandien)"; font-weight: 400; color: var(--teal-d); }
.contact__info h3 { margin-top: 2rem; font-size: 1.125rem; }
.map { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background:
	linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.9) 49.5% 51.5%, transparent 51.5%) 0 0 / 220px 220px,
	linear-gradient(0deg, transparent 49%, rgba(255,255,255,.9) 49% 52%, transparent 52%) 0 0 / 180px 180px,
	linear-gradient(32deg, transparent 48%, rgba(255,255,255,.7) 48% 50%, transparent 50%) 0 0 / 300px 300px,
	#DCE5E7; }
.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; text-align: center; gap: .75rem; padding: 2rem; }
.map__placeholder > .icon { width: 48px; height: 48px; color: var(--teal); filter: drop-shadow(0 4px 6px rgba(27,36,48,.25)); }
.map__placeholder p { margin: 0; }
.map__placeholder .muted { max-width: 18rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ==========================================================================
   Vidiniai puslapiai
   ========================================================================== */
.entry__head { padding-block: clamp(2rem, 4vw, 3.5rem) 1.5rem; background: var(--paper); margin-bottom: 2.5rem; }
.entry__title { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); margin: 0; }
.entry__intro { font-size: var(--fs-lead); color: var(--ink-2); margin: 1rem 0 0; max-width: 40rem; }
.entry__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 1rem 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.entry__media { margin-bottom: 2.5rem; }
.entry__media img { width: 100%; border-radius: var(--radius); }
.entry__content { padding-bottom: 4rem; font-size: 1.125rem; line-height: 1.7; }
.entry__content h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); margin-top: 2.5rem; }
.entry__content h3 { margin-top: 2rem; }
.entry__content img { border-radius: var(--radius); }
.entry__content ul, .entry__content ol { padding-left: 1.4rem; }
.entry__content li { margin-bottom: .4rem; }
.entry__content blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 4px solid var(--teal); font-size: 1.25rem; }
.entry__content figure { margin: 2rem 0; }
.entry__content figcaption { font-size: var(--fs-sm); color: var(--ink-2); margin-top: .5rem; }
.entry__content table td, .entry__content table th { border-bottom: 1px solid var(--line); padding: .6rem .5rem; text-align: left; }
.entry__content .wp-block-gallery, .entry__content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.entry__content .gallery img, .entry__content .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.alignwide { margin-inline: calc(-1 * min(8vw, 8rem)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: #9AA5B1; }
.crumbs a { color: var(--ink-2); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 2rem 1.75rem; }
.card { display: flex; flex-direction: column; }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.card__title { font-size: 1.25rem; margin-bottom: .25rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--teal-d); text-decoration: underline; }
.card__meta { font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: .5rem; }
.related { padding-bottom: 4rem; }
.related h2 { font-size: 2rem; }
.empty { padding-block: 2rem; }
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 3rem; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.nav-links .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

.cta-band { background: var(--ink); color: #DDE3E8; padding-block: 3rem; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.cta-band p { margin: 0; max-width: 38rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ==========================================================================
   Poraštė
   ========================================================================== */
.site-footer { background: #141B24; color: #AEB8C2; padding-top: 4rem; font-size: .9375rem; }
.site-footer a { color: #DDE3E8; }
.site-footer a:hover { color: var(--teal-l); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 150px; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 20rem; }
.site-footer__title { font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer__links { list-style: none; margin: 0; }
.site-footer__links li { margin-bottom: .45rem; }
.site-footer__links a { text-decoration: none; }
.site-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; font-size: var(--fs-sm); }
.site-footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.12); }
.site-footer__bottom p { margin: 0; }
.credits summary { cursor: pointer; }
.credits ul { list-style: none; margin: .75rem 0 0; }
.credits li { margin-bottom: .3rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Mobilioji juosta ir „į viršų“
   ========================================================================== */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -12px rgba(27,36,48,.3); }
	.mobile-bar .btn { min-height: 48px; }
	body { padding-bottom: 76px; }
}

.to-top { position: fixed; z-index: 55; right: 1.25rem; bottom: 1.25rem; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 6px 18px rgba(27,36,48,.18); opacity: 0; visibility: hidden; translate: 0 12px; transition: opacity .2s, translate .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { color: var(--teal-d); }
.to-top > .icon { position: relative; width: 26px; height: 26px; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top__track { fill: none; stroke: var(--paper); stroke-width: 3; }
.to-top__progress { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: 131.95; }
@media (max-width: 760px) { .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: .9rem; width: 48px; height: 48px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
	.site-header, .mobile-bar, .to-top, .map, .price-filter, .cta-band { display: none !important; }
	.price-table[hidden], .finder__panel[hidden] { display: block !important; }
	body { padding: 0; }
}
