/* ==========================================================================
   Ozis.lt – kavos aparatų remontas
   Spalvos: espresso, crema, plienas. Šriftai: Bricolage Grotesque + Atkinson Hyperlegible Next.
   ========================================================================== */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage.woff2") format("woff2");
	font-weight: 500 800;
	font-stretch: 75% 100%;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

:root {
	--espresso: #2A1B14;
	--roast: #3A2820;
	--roast-2: #4A352D;
	--crema: #E3A857;
	--crema-soft: #F3D7A8;
	--crema-ink: #8A5314;
	--paper: #F6F8F8;
	--white: #FFFFFF;
	--steel: #E4EAEC;
	--steel-2: #C9D3D7;
	--ink: #1E2A2F;
	--mute: #55646B;
	--line: rgba(30, 42, 47, .14);
	--line-dark: rgba(255, 248, 238, .16);
	--ok: #1F8A6A;
	--off: #C2412D;

	--font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--radius-s: 8px;
	--radius: 14px;
	--radius-l: 22px;
	--header-h: 72px;
	--shadow-lift: 0 1px 0 rgba(30, 42, 47, .06), 0 10px 30px -18px rgba(42, 27, 20, .45);
}

/* --------------------------------------------------------------------------
   Pagrindas
   -------------------------------------------------------------------------- */
*, *::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;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--crema-ink); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--espresso); }
:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-stretch: 88%;
	font-weight: 720;
	line-height: 1.08;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	color: inherit;
	text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-stretch: 92%; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-stretch: 95%; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.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: 12px; top: -60px; z-index: 100;
	background: var(--crema); color: var(--espresso); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.wrap--text { max-width: 780px; }
.wrap--wide { max-width: 1140px; }
.site-main { display: block; outline: none; }

/* --------------------------------------------------------------------------
   Mygtukai
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.25em;
	border: 2px solid transparent; border-radius: 999px;
	font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--crema); color: var(--espresso); }
.btn--primary:hover { background: #EDBA6E; color: var(--espresso); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--espresso); }
.btn--light:hover { background: var(--white); color: var(--espresso); }
.btn--lg { min-height: 56px; padding-inline: 1.5em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.is-dark .btn--ghost, .hero .btn--ghost, .section--roast .btn--ghost { color: var(--paper); }
.hero .btn--ghost:hover, .section--roast .btn--ghost:hover { background: var(--paper); color: var(--espresso); border-color: var(--paper); }

/* --------------------------------------------------------------------------
   Darbo laiko būsena
   -------------------------------------------------------------------------- */
.status { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-stretch: 92%; font-size: .95rem; font-weight: 600; line-height: 1.2; }
.status__dot { width: .6em; height: .6em; border-radius: 50%; background: var(--mute); flex: none; }
.status.is-open .status__dot { background: #34C48F; box-shadow: 0 0 0 0 rgba(52, 196, 143, .5); }
.status.is-closed .status__dot { background: var(--off); }
@media (prefers-reduced-motion: no-preference) {
	.status.is-open .status__dot { animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 196, 143, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52, 196, 143, 0); } }
.status--big { font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Antraštė
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(42, 27, 20, .96);
	color: var(--paper);
	border-bottom: 1px solid var(--line-dark);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(42, 27, 20, .86); backdrop-filter: saturate(140%) blur(10px); } }
.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: 24px; min-height: var(--header-h); }

.logo a { display: inline-flex; align-items: center; gap: 2px; color: var(--paper); text-decoration: none; }
.logo__mark { width: 38px; height: 38px; color: var(--paper); }
.logo__word { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: 2.05rem; line-height: 1; letter-spacing: -.03em; transform: translateY(-1px); }
.logo__tld { color: var(--crema); font-size: .55em; font-stretch: 90%; letter-spacing: 0; margin-left: 1px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: .5em .75em; border-radius: 999px;
	color: rgba(246, 248, 248, .88); text-decoration: none; font-weight: 600; font-size: .98rem;
}
.nav__list a:hover, .nav__list a[aria-current="page"], .nav__list .current-menu-item > a { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.status--header { color: rgba(246, 248, 248, .8); font-size: .9rem; white-space: nowrap; }
.header-call {
	display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 999px;
	background: var(--crema); color: var(--espresso); font-family: var(--font-display); font-stretch: 90%; font-size: 1.05rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: #EDBA6E; color: var(--espresso); }
.nav-toggle { display: none; }

@media (max-width: 1240px) { .status--header { display: none; } }
@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.site-header { background: var(--espresso); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
		border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer;
	}
	.nav-toggle__close { display: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.header-call span { display: none; }
	.header-call { width: 48px; height: 48px; padding: 0; justify-content: center; }
	.site-header__actions { margin-left: auto; gap: 10px; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 20px var(--gutter) 32px;
		background: var(--espresso); overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility 0s .2s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; font-stretch: 85%; padding: .45em 0; border-radius: 0; border-bottom: 1px solid var(--line-dark); background: none !important; }
	.nav__mobile-extra { display: grid; gap: 16px; margin-top: 24px; color: var(--paper); }
	body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Sekcijos
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(32px, 5vw, 56px) var(--section); }
.section--steel { background: var(--steel); }
.section--roast { background: var(--roast); color: var(--paper); }
.section--roast a:not(.btn) { color: var(--crema); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { color: var(--mute); font-size: 1.1rem; }
.section--roast .section__head p { color: rgba(246, 248, 248, .78); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.section__title-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1em; }
.link-more { font-weight: 700; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(70% 90% at 85% 30%, rgba(227, 168, 87, .16), transparent 60%),
		var(--espresso);
	color: var(--paper);
	padding-top: clamp(40px, 7vw, 88px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__kicker { margin-bottom: 18px; }
.status--hero { padding: .45em .9em; border: 1px solid var(--line-dark); border-radius: 999px; color: rgba(246, 248, 248, .9); }
.hero__title {
	font-size: clamp(2.7rem, 7vw, 5.4rem);
	font-stretch: 78%;
	font-weight: 780;
	line-height: .96;
	letter-spacing: -.03em;
	margin-bottom: .32em;
	max-width: 11ch;
}
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(246, 248, 248, .82); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__facts {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; gap: 10px 28px;
	color: rgba(246, 248, 248, .75); font-size: .98rem;
}
.hero__facts strong { display: block; font-family: var(--font-display); font-stretch: 82%; font-size: 1.7rem; color: var(--crema); line-height: 1.1; }
.hero__art { position: relative; }
.machine { width: 100%; max-width: 500px; height: auto; margin-inline: auto; display: block; }
.machine__ticks text { font-family: var(--font-display); font-size: 12px; font-weight: 700; text-anchor: middle; stroke: none; }
.machine__unit { font-family: var(--font-body); font-size: 12px; fill: #6E5446; letter-spacing: .04em; }
.machine__needle { transform-origin: 260px 150px; transform: rotate(16.9deg); }
.machine__streams path { stroke-dasharray: 100; stroke-dashoffset: 0; }
.hero__caption { margin: 8px auto 0; max-width: 30em; text-align: center; font-size: .9rem; color: rgba(246, 248, 248, .6); }
.hero__address {
	display: flex; flex-wrap: wrap; gap: 8px 28px;
	margin-top: clamp(28px, 5vw, 56px); padding-block: 18px;
	border-top: 1px solid var(--line-dark); color: rgba(246, 248, 248, .82); font-size: .98rem;
}
.hero__address a, .hero__address span { font-family: var(--font-display); font-stretch: 92%; font-weight: 600; display: inline-flex; align-items: center; gap: .5em; color: inherit; text-decoration: none; }
.hero__address a:hover { color: var(--crema); }
.hero__address .icon { color: var(--crema); }

@media (prefers-reduced-motion: no-preference) {
	.js .machine__needle { animation: needle 1.9s cubic-bezier(.2, .8, .25, 1.15) .25s both; }
	.js .machine__streams path { animation: pour 1.2s ease-out 1.6s both; }
	.js .machine__steam path { animation: steam 3.6s ease-in-out 2.4s infinite; }
	.js .machine__steam path:nth-child(2) { animation-delay: 3.2s; }
	.js .machine__led { animation: led 1.9s steps(2, jump-none) 0s 1 both; }
}
@keyframes needle { from { transform: rotate(-135deg); } to { transform: rotate(16.9deg); } }
@keyframes pour { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes steam { 0%, 100% { opacity: 0; transform: translateY(6px); } 40% { opacity: .55; } 80% { opacity: 0; transform: translateY(-14px); } }
@keyframes led { from { fill: #E3A857; } to { fill: #1F8A6A; } }

@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__art { order: -1; max-width: 300px; margin-inline: auto; }
	.hero__caption { display: none; }
	.hero__title { max-width: none; }
}

/* --------------------------------------------------------------------------
   Gedimų vadovas
   -------------------------------------------------------------------------- */
.doctor { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.doctor__picks { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h) + 20px); }
.chip {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
	padding: .8em 1.05em; border: 1px solid var(--steel-2); border-radius: 12px;
	background: var(--paper); color: var(--ink); cursor: pointer; text-align: left;
	font: 600 1rem/1.3 var(--font-body);
	transition: background-color .15s, border-color .15s, color .15s;
}
.chip::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .35; flex: none; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--paper); }
.chip[aria-pressed="true"]::after { opacity: 1; color: var(--crema); }
.doctor__panel {
	background: var(--white); border-radius: var(--radius-l); padding: clamp(22px, 3.4vw, 40px);
	box-shadow: var(--shadow-lift);
}
.doctor__panel + .doctor__panel { margin-top: 16px; }
.js .doctor__panel:not(.is-active) { display: none; }
.js .doctor__panel + .doctor__panel { margin-top: 0; }
.doctor__panel h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-stretch: 86%; margin-bottom: .9em; }
.doctor__cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; }
.doctor__panel h4 { color: var(--mute); font-family: var(--font-body); font-weight: 700; font-size: .95rem; margin-bottom: .6em; }
.list-dots, .list-steps, .list-checks { margin: 0; padding: 0; list-style: none; }
.list-dots li { position: relative; padding-left: 1.1em; margin-bottom: .45em; }
.list-dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: .42em; height: .42em; border-radius: 50%; background: var(--crema); }
.list-steps { counter-reset: s; }
.list-steps li { counter-increment: s; position: relative; padding-left: 2.1em; margin-bottom: .6em; }
.list-steps li::before {
	content: counter(s); position: absolute; left: 0; top: .05em; width: 1.5em; height: 1.5em; border-radius: 50%;
	display: grid; place-items: center; background: var(--steel); color: var(--espresso); font: 700 .82rem/1 var(--font-body);
}
.list-checks li { position: relative; padding-left: 1.8em; margin-bottom: .6em; }
.list-checks li::before { content: ""; position: absolute; left: .15em; top: .35em; width: .9em; height: .5em; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.doctor__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 28px 0 20px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.doctor__meta div { background: var(--paper); padding: 14px 16px; }
.doctor__meta dt { font-size: .85rem; color: var(--mute); }
.doctor__meta dd { margin: 2px 0 0; font-family: var(--font-display); font-stretch: 85%; font-size: 1.45rem; font-weight: 720; color: var(--espresso); }
.doctor__cta { margin: 0; color: var(--mute); }
.doctor__cta a { font-weight: 700; }
@media (max-width: 900px) {
	.doctor { grid-template-columns: 1fr; }
	.doctor__picks { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.doctor__picks::-webkit-scrollbar { display: none; }
	.chip { width: auto; flex: none; white-space: nowrap; border-radius: 999px; scroll-snap-align: start; }
	.chip::after { display: none; }
	.doctor__cols { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 560px) {
	.doctor__meta { grid-template-columns: 1fr; }
	.doctor__meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
	.doctor__meta dd { font-size: 1.2rem; }
}

/* --------------------------------------------------------------------------
   Kainoraštis
   -------------------------------------------------------------------------- */
.menu-board { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px 48px; }
.menu-board__tabs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-board__tabs button {
	padding: .65em 1.15em; border-radius: 999px; border: 1px solid var(--steel-2); background: transparent;
	font: 700 1rem/1.2 var(--font-body); color: var(--ink); cursor: pointer;
}
.menu-board__tabs button:hover { border-color: var(--ink); }
.menu-board__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html:not(.js) .menu-board__tabs { display: none; }
.menu-board__panel { grid-column: 1; }
.js .menu-board__panel[data-inactive] { display: none; }
html:not(.js) .menu-board__panel + .menu-board__panel { margin-top: 40px; }
.menu-board__group { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: .2em; }
.js .menu-board__group { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-board__note { color: var(--mute); margin-bottom: 14px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list__row {
	display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: end; gap: 12px;
	padding: 14px 0; border-bottom: 1px solid var(--line);
}
.price-list__name { font-weight: 700; }
.price-list__name small { display: block; font-weight: 400; color: var(--mute); font-size: .92rem; margin-top: 2px; }
.price-list__leader { border-bottom: 2px dotted var(--steel-2); transform: translateY(-.45em); }
.price-list__price { font-family: var(--font-display); font-stretch: 85%; font-weight: 720; font-size: 1.35rem; color: var(--espresso); text-align: right; white-space: nowrap; line-height: 1.15; }
.price-list__price small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--mute); }
.price-list__row--key { background: linear-gradient(90deg, rgba(227, 168, 87, .22), rgba(227, 168, 87, 0)); margin-inline: -14px; padding-inline: 14px; border-radius: 10px; border-bottom-color: transparent; }
.price-list__row--key .price-list__price { color: var(--crema-ink); font-size: 1.6rem; }
.menu-board__aside { grid-column: 2; grid-row: 2 / span 3; display: grid; gap: 12px; align-content: start; }
.promise { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--steel); }
.promise .icon { width: 28px; height: 28px; color: var(--crema-ink); margin-top: 2px; }
.promise p { margin: 0; color: var(--mute); }
.promise strong { color: var(--ink); }
@media (max-width: 900px) {
	.menu-board { grid-template-columns: 1fr; }
	.menu-board__aside { grid-column: 1; grid-row: auto; }
}
@media (max-width: 560px) {
	.price-list__row { grid-template-columns: minmax(0, 1fr) auto; }
	.price-list__leader { display: none; }
	.menu-board__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.menu-board__tabs button { flex: none; }
}

/* --------------------------------------------------------------------------
   Eiga (žingsniai)
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 0 20px 0 0; }
.steps li::before {
	content: counter(st); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	border: 2px solid var(--crema); color: var(--crema); font: 760 1.35rem/1 var(--font-display); font-stretch: 85%;
	background: var(--roast); position: relative; z-index: 1; margin-bottom: 18px;
}
.steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: var(--line-dark); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: rgba(246, 248, 248, .75); margin: 0; font-size: .98rem; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { padding: 0 0 28px 72px; min-height: 52px; }
	.steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
	.steps li::after { top: 52px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; }
}

/* --------------------------------------------------------------------------
   Nukalkinimo skaičiuoklė ir priežiūra
   -------------------------------------------------------------------------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--white); }
.calc__inputs { padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 26px; }
.calc__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__field > label, .calc__field legend { display: block; font-weight: 700; margin-bottom: 10px; padding: 0; }
.calc__range { display: flex; align-items: center; gap: 16px; }
.calc__range input { flex: 1; accent-color: var(--crema-ink); height: 32px; }
.calc__range output { min-width: 2.4ch; font-family: var(--font-display); font-stretch: 82%; font-size: 2rem; font-weight: 760; color: var(--espresso); text-align: right; }
.calc__hint { font-size: .9rem; color: var(--mute); margin: 10px 0 0; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 5px; background: var(--steel); border-radius: 14px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: .6em .3em; border-radius: 10px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.seg input:checked + span { background: var(--white); color: var(--espresso); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.seg input:focus-visible + span { outline: 3px solid var(--crema); outline-offset: 1px; }
@media (max-width: 520px) { .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.toggle { display: flex !important; align-items: center; gap: 12px; font-weight: 600 !important; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { width: 46px; height: 28px; border-radius: 999px; background: var(--steel-2); position: relative; flex: none; transition: background-color .15s; }
.toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.toggle input:checked + .toggle__ui { background: var(--ok); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--crema); outline-offset: 2px; }
.calc__result { background: var(--espresso); color: var(--paper); padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.calc__label { color: rgba(246, 248, 248, .75); margin-bottom: 4px; }
.calc__value { font-family: var(--font-display); font-stretch: 78%; font-weight: 780; font-size: clamp(3.2rem, 7vw, 5rem); line-height: 1; letter-spacing: -.02em; color: var(--crema); margin-bottom: 18px; }
.calc__value [data-calc-unit] { font-size: .42em; font-stretch: 90%; color: var(--paper); letter-spacing: 0; }
.calc__next { margin-bottom: 14px; }
.calc__small { font-size: .88rem; color: rgba(246, 248, 248, .6); margin: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

.care { margin-top: clamp(40px, 6vw, 64px); }
.care__title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.care__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.care__list li { padding: 18px 18px 0 0; }
.care__list li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.care__list h4 { font-size: 1.1rem; margin-bottom: .35em; }
.care__list p { color: var(--mute); font-size: .96rem; margin: 0; }
@media (max-width: 960px) {
	.care__list { grid-template-columns: 1fr; }
	.care__list li, .care__list li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
	.care__list h4 { margin: 0; }
}
@media (max-width: 520px) { .care__list li, .care__list li + li { grid-template-columns: 1fr; gap: 2px; } }

/* --------------------------------------------------------------------------
   Remontuoti ar pirkti
   -------------------------------------------------------------------------- */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.verdict__col { background: var(--paper); border-radius: var(--radius-l); padding: clamp(22px, 3.2vw, 36px); }
.verdict__col h3 { display: flex; align-items: center; gap: .5em; }
.verdict__col h3 .icon { width: 30px; height: 30px; padding: 5px; border-radius: 50%; }
.verdict__col--yes h3 .icon { background: rgba(31, 138, 106, .14); color: var(--ok); }
.verdict__col--no h3 .icon { background: rgba(138, 83, 20, .12); color: var(--crema-ink); }
.verdict__col ul { padding-left: 1.1em; }
.verdict__col li { margin-bottom: .5em; }
.verdict__col p { color: var(--mute); margin: 1em 0 0; }
@media (max-width: 760px) { .verdict { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Aparatų tipai ir gamintojai
   -------------------------------------------------------------------------- */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-bottom: 40px; }
.types h3 { font-size: 1.15rem; padding-top: 14px; border-top: 3px solid var(--crema); }
.types p { color: var(--mute); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .types { grid-template-columns: 1fr; } }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands li {
	padding: .45em 1em; border-radius: 999px; border: 1px solid var(--steel-2);
	font-family: var(--font-display); font-stretch: 88%; font-weight: 650; font-size: 1.05rem; color: var(--ink); background: var(--white);
}

/* --------------------------------------------------------------------------
   Atsiliepimai
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; padding: clamp(22px, 3vw, 32px); background: var(--paper); border-radius: var(--radius-l); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.quote blockquote p::before { content: "„"; }
.quote blockquote p::after { content: "“"; }
.quote figcaption { font-weight: 700; color: var(--crema-ink); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Kortelės (straipsniai)
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { min-width: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); transition: transform .2s; }
.card__link:hover { transform: translateY(-3px); color: inherit; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: .06em; }
.card__media { aspect-ratio: 16 / 9; background: var(--roast); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { display: grid; place-items: center; height: 100%; background: radial-gradient(60% 80% at 70% 30%, rgba(227, 168, 87, .22), transparent), var(--roast); }
.card__mark { width: 64px; height: 64px; color: rgba(246, 248, 248, .9); }
.card__body { padding: 18px 20px 22px; }
.card__meta { font-size: .85rem; color: var(--mute); margin-bottom: 8px; }
.card__title { font-size: 1.25rem; font-stretch: 90%; margin-bottom: .45em; }
.card__excerpt { color: var(--mute); font-size: .97rem; margin: 0; }

/* --------------------------------------------------------------------------
   DUK
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0; font-family: var(--font-display); font-stretch: 92%; font-weight: 680; font-size: 1.18rem; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s; color: var(--crema-ink); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--crema-ink); }
.faq__item p { margin: 0 0 22px; color: var(--mute); max-width: 68ch; }

/* --------------------------------------------------------------------------
   Kontaktai
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.contact__title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.contact__status { margin-bottom: 26px; color: var(--paper); }
.contact__list { margin: 0 0 26px; display: grid; gap: 18px; }
.contact__list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.contact__list dt { display: flex; align-items: center; gap: .5em; color: rgba(246, 248, 248, .65); font-size: .95rem; height: fit-content; padding-top: 3px; }
.contact__list dt .icon { color: var(--crema); }
.contact__list dd { margin: 0; font-size: 1.12rem; font-weight: 700; }
.contact__list dd span { display: block; font-weight: 400; font-size: .92rem; color: rgba(246, 248, 248, .65); margin-top: 2px; }
.section--roast .contact__phone { color: var(--paper); text-decoration: none; font-family: var(--font-display); font-stretch: 85%; font-size: 1.6rem; }
.section--roast .contact__phone:hover { color: var(--crema); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 6px; font-size: 1rem; }
.hours td { font-family: var(--font-display); font-stretch: 92%; font-weight: 600; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line-dark); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--crema); font-weight: 700; }
.hours tr[data-day="6"] td, .hours tr[data-day="7"] td { color: rgba(246, 248, 248, .55); }
.hours__note { font-size: .9rem; color: rgba(246, 248, 248, .6); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact__list div { grid-template-columns: 1fr; gap: 2px; } }

.map { position: relative; min-height: 360px; border-radius: var(--radius-l); overflow: hidden; background: var(--roast-2); }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__overlay { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(42, 27, 20, .92) 45%); display: grid; gap: 10px; justify-items: start; }
.map__overlay p { margin: 0; }
.map__note { font-size: .82rem; color: rgba(246, 248, 248, .6); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__overlay, .map.is-loaded .map__art { display: none; }

/* --------------------------------------------------------------------------
   Vidiniai puslapiai
   -------------------------------------------------------------------------- */
.page-head { background: var(--espresso); color: var(--paper); padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 56px); }
.page-head__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-stretch: 80%; font-weight: 770; letter-spacing: -.025em; line-height: 1.02; max-width: 22ch; margin-bottom: .3em; }
.page-head__lead { font-size: 1.15rem; color: rgba(246, 248, 248, .78); max-width: 40em; margin: 0; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-head .btn--ghost { color: var(--paper); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .9rem; }
.crumbs li { color: rgba(246, 248, 248, .6); }
.crumbs li + li::before { content: "/"; margin-right: 4px; opacity: .5; }
.crumbs a { color: rgba(246, 248, 248, .85); }
.crumbs a:hover { color: var(--crema); }
.article__meta { color: rgba(246, 248, 248, .7); margin: 0; }
.article__updated { display: inline-block; margin-left: 12px; }
.article__hero { margin: 0 auto; transform: translateY(-1px); }
.article__hero img { width: 100%; border-radius: 0 0 var(--radius-l) var(--radius-l); }
.article__toc { margin: 32px 0 0; padding: 20px 22px; background: var(--steel); border-radius: var(--radius); }
.article__toc-title { font-weight: 700; margin-bottom: 8px; }
.article__toc ol { margin: 0; padding-left: 1.2em; }
.article__toc li { margin-bottom: .3em; }

.prose { padding-top: 32px; font-size: 1.1rem; line-height: 1.72; }
.prose > * { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .9rem; color: var(--mute); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--crema); font-size: 1.18rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .wp-block-image, .prose .wp-block-gallery { max-width: none; }
.prose .alignwide { max-width: none; margin-inline: calc(min(0px, (780px - 1100px) / 2)); }
.prose .wp-block-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.prose .wp-block-gallery .wp-block-image { width: 100% !important; margin: 0 !important; }
.prose .wp-block-gallery img, .prose .gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.prose .gallery-item { margin: 0; width: auto !important; }
.prose a img { cursor: zoom-in; }

.cta-band {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	margin: 48px 0 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-l);
	background: var(--espresso); color: var(--paper);
}
.cta-band__title { font-family: var(--font-display); font-stretch: 85%; font-size: 1.6rem; font-weight: 740; margin-bottom: 4px; }
.cta-band p { margin: 0; color: rgba(246, 248, 248, .8); }
.cta-band .cta-band__title { color: var(--paper); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn--ghost { color: var(--paper); }
.cta-band .btn--ghost:hover { background: var(--paper); color: var(--espresso); border-color: var(--paper); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav__link { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; }
.post-nav__link span { display: block; font-weight: 400; font-size: .85rem; color: var(--mute); }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__link:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: 1; } }

.pagination, .navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty { padding: 32px; background: var(--steel); border-radius: var(--radius); }

/* --------------------------------------------------------------------------
   Poraštė
   -------------------------------------------------------------------------- */
.site-footer { background: #1E130E; color: rgba(246, 248, 248, .78); padding-top: clamp(48px, 7vw, 80px); font-size: .98rem; }
.site-footer a { color: rgba(246, 248, 248, .9); text-decoration: none; }
.site-footer a:hover { color: var(--crema); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 32px; }
.site-footer__brand p { max-width: 30em; margin-top: 14px; }
.site-footer__facts { color: var(--crema); font-weight: 700; }
.site-footer__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--paper); margin-bottom: 14px; letter-spacing: 0; }
.site-footer__address { font-style: normal; display: grid; gap: 10px; }
.site-footer__address a { display: inline-flex; gap: .55em; align-items: center; }
.site-footer__address .icon { color: var(--crema); }
.site-footer__hours strong { color: var(--paper); font-size: 1.2rem; font-family: var(--font-display); font-stretch: 90%; }
.site-footer__muted { font-size: .9rem; color: rgba(246, 248, 248, .55); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: rgba(246, 248, 248, .5); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Mobilus veiksmų juostelė ir mygtukas į viršų
   -------------------------------------------------------------------------- */
.action-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.action-bar {
		display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		background: rgba(30, 19, 14, .97); border-top: 1px solid var(--line-dark);
	}
	.action-bar__btn { display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 48px; border-radius: 12px; color: var(--paper); text-decoration: none; font-weight: 700; background: rgba(255, 255, 255, .07); }
	.action-bar__btn--call { background: var(--crema); color: var(--espresso); }
	.action-bar__btn:hover { color: var(--paper); }
	.action-bar__btn--call:hover { color: var(--espresso); }
}

.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 45;
	width: 54px; height: 54px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	display: grid; place-items: center;
	background: var(--espresso); color: var(--crema);
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5);
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .25s, transform .25s, background-color .2s;
}
.to-top[hidden] { display: grid; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--roast-2); }
.to-top .icon { width: 22px; height: 22px; position: relative; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--crema); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
@media (max-width: 760px) { .to-top { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; } }

/* --------------------------------------------------------------------------
   Nuotraukų peržiūra
   -------------------------------------------------------------------------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 12, 8, .9); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; border-radius: var(--radius-s); }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--espresso); display: grid; place-items: center; cursor: pointer; }

/* --------------------------------------------------------------------------
   WordPress klasės
   -------------------------------------------------------------------------- */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .9rem; color: var(--mute); }
.sticky, .bypostauthor, .gallery-caption { }

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

@media print {
	.site-header, .action-bar, .to-top, .map, .site-footer nav { display: none !important; }
	body { background: #fff; color: #000; }
}
