/* ==========================================================================
   Klaipėdos GMP – main stylesheet
   ========================================================================== */

:root {
	--ink: #0E1A2B;
	--ink-2: #13243A;
	--ink-3: #1D3452;
	--ink-soft: #2B3F59;
	--paper: #F5F6F1;
	--paper-2: #ECEEE6;
	--card: #FFFFFF;
	--line: #E2E5DC;
	--line-dark: rgba(255, 255, 255, .1);
	--text: #16212F;
	--muted: #586779;
	--muted-dark: #9DB0C4;
	--pulse: #2EE59D;
	--pulse-ink: #087A4C;
	--signal: #FFC83D;
	--signal-2: #FFB300;
	--alert: #E5394A;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 8px 24px -12px rgba(14, 26, 43, .18);
	--shadow-lg: 0 30px 60px -30px rgba(14, 26, 43, .45);
	--wrap: 1200px;
	--font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-d: 'Inter Display', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: 'cv11', 'ss01';
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pulse-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--font-d); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); letter-spacing: -.03em; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
.h4 { font-size: 1.1rem; font-weight: 700; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pulse); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { flex: none; vertical-align: middle; }
.ico.flip { transform: scaleX(-1); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--signal); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 179, 0, .75); }
.btn-primary:hover { background: #FFD465; color: var(--ink); box-shadow: 0 14px 30px -10px rgba(255, 179, 0, .9); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: var(--pulse); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 56px; font-size: 1.05rem; padding: .8em 1.6em; }
.btn-sm { min-height: 42px; padding: .5em 1.05em; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Status pill ---------- */
.status-pill {
	white-space: nowrap;
	display: inline-flex; align-items: center; gap: .55em; padding: .38em .9em .38em .75em;
	border-radius: 999px; font-size: .85rem; font-weight: 600; line-height: 1.2;
	background: var(--paper-2); color: var(--ink); border: 1px solid var(--line);
}
.status-pill.on-dark { background: rgba(255, 255, 255, .07); color: #E6EEF6; border-color: rgba(255, 255, 255, .14); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #9AA6B2; position: relative; flex: none; }
.is-open .status-dot { background: var(--pulse); box-shadow: 0 0 0 0 rgba(46, 229, 157, .7); animation: ping 2s infinite; }
.is-closed .status-dot { background: var(--alert); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46, 229, 157, .65); } 70% { box-shadow: 0 0 0 9px rgba(46, 229, 157, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 229, 157, 0); } }

/* ---------- Reading progress ---------- */
.read-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--pulse), var(--signal)); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(245, 246, 241, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14, 26, 43, .4); background: rgba(245, 246, 241, .94); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand .custom-logo { max-height: 52px; width: auto; }
.brand-mark { flex: none; border-radius: 12px; }
.brand-mark .brand-pulse { stroke-dasharray: 90; stroke-dashoffset: 0; }
.brand:hover .brand-pulse { animation: draw 1.1s var(--ease); }
.brand-text { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; line-height: 1; }
.brand-city { grid-column: 1 / 3; font-family: var(--font-d); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }
.brand-name { font-family: var(--font-d); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }
.brand-tag { align-self: end; font-size: .68rem; font-weight: 600; line-height: 1.15; max-width: 92px; opacity: .62; padding-bottom: 2px; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
@keyframes draw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }

.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; list-style: none; gap: 2px; align-items: center; }
.main-nav .menu a { display: block; white-space: nowrap; padding: .5em .7em; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); transition: background .2s; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a { background: rgba(14, 26, 43, .06); color: var(--ink); }
.main-nav .sub-menu { display: none; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-open { display: none; }

@media (max-width: 1380px) {
	.hide-sm { display: none !important; }
}
@media (max-width: 1040px) {
	.nav-toggle { display: inline-flex; }
	.header-call span { display: none; }
	.header-call { width: 46px; min-height: 46px; padding: 0; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0; padding: 18px 20px 120px;
		background: var(--paper); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; transition: opacity .25s, transform .25s var(--ease); }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu a { font-family: var(--font-d); font-size: 1.45rem; font-weight: 700; padding: .55em .2em; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .sub-menu { display: block; list-style: none; padding-left: 1em; }
	.nav-mobile-extra { display: block; margin-top: 24px; }
	.nav-hours { display: flex; gap: .5em; align-items: center; margin-top: 14px; color: var(--muted); font-size: .95rem; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
	.brand-tag { display: none; }
	.header-inner { gap: 10px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.section-lead { font-size: 1.12rem; color: var(--muted); margin: 0; }
.eyebrow {
	display: inline-flex; align-items: center; gap: .5em; margin: 0 0 14px; padding: .35em .85em;
	font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--pulse-ink); background: rgba(46, 229, 157, .12); border-radius: 999px;
}
.eyebrow.on-dark { color: var(--pulse); background: rgba(46, 229, 157, .1); }
.note { font-size: .9rem; color: var(--muted); margin-top: 28px; }
.note .ico { margin-right: .35em; vertical-align: -3px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #DCE6F0;
	background: radial-gradient(900px 500px at 78% 40%, rgba(46, 229, 157, .14), transparent 60%), radial-gradient(700px 400px at 10% 110%, rgba(255, 200, 61, .1), transparent 60%), var(--ink);
	padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.hero-grid-bg {
	position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-pulse { position: absolute; left: 0; right: 0; bottom: -18px; width: 100%; height: 120px; pointer-events: none; opacity: .5; }
.hero-pulse path, .page-hero-pulse path, .footer-pulse path { fill: none; stroke: var(--pulse); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-pulse path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw-long 3.2s .3s var(--ease) forwards, beat 4s 3.5s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(46, 229, 157, .8)); }
@keyframes draw-long { to { stroke-dashoffset: 0; } }
@keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin: 20px 0 20px; }
.hero h1 .hl { color: var(--pulse); background: linear-gradient(transparent 62%, rgba(46, 229, 157, .2) 62%); padding: 0 .06em; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #B9C8D8; max-width: 600px; margin-bottom: 30px; }
.hero-lead strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 14px 28px; justify-content: start; }
.hero-facts li { display: flex; gap: .65em; align-items: flex-start; font-size: .88rem; color: var(--muted-dark); line-height: 1.35; }
.hero-facts .ico { color: var(--pulse); margin-top: 2px; }
.hero-facts strong { display: block; color: #fff; font-size: .98rem; }

.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.phone-3d { position: relative; width: min(320px, 78vw); transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg); transform-style: preserve-3d; animation: floaty 7s ease-in-out infinite; }
.hero-phone { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(46, 229, 157, .12)); }
.hp-ecg { stroke-dasharray: 420; stroke-dashoffset: 420; animation: ecg 2.6s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 420; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.float-chip {
	position: absolute; display: inline-flex; gap: .5em; align-items: center; white-space: nowrap;
	padding: .6em .95em; border-radius: 14px; font-size: .86rem; font-weight: 600; color: var(--ink);
	background: #fff; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); transform: translateZ(60px);
}
.float-chip .ico { color: var(--pulse-ink); }
.chip-a { top: 1%; left: -24%; animation: floaty 6s 1s ease-in-out infinite; }
.chip-b { top: 52%; right: -26%; background: var(--signal); animation: floaty 6.5s .4s ease-in-out infinite; }
.chip-b .ico { color: var(--ink); }
.chip-c { bottom: 6%; left: -18%; animation: floaty 7s 1.6s ease-in-out infinite; }

@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { order: -1; display: none; }
	.hero-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.hero-ctas .btn { width: 100%; }
	.hero-facts { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink-2); color: #fff; border-top: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0; line-height: 1.05; color: var(--pulse); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { margin: 6px 0 0; color: var(--muted-dark); font-size: .92rem; }
@media (max-width: 720px) {
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
	position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; text-decoration: none; color: inherit;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(46, 229, 157, .55); color: inherit; }
.svc-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--ink); color: var(--pulse); margin-bottom: 18px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-icon { transform: rotate(-6deg) scale(1.06); }
.svc-card h3 { margin-bottom: .4em; }
.svc-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px dashed var(--line); font-size: .9rem; }
.svc-price strong { font-family: var(--font-d); font-size: 1.25rem; color: var(--ink); }
.svc-time { display: inline-flex; align-items: center; gap: .35em; color: var(--muted); }
.svc-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--pulse-ink); }
.svc-link .ico { transition: transform .2s; }
.svc-link:hover .ico { transform: translateX(4px); }
@media (max-width: 1080px) { .cards-grid, .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-grid, .cards-grid-4 { grid-template-columns: 1fr; } }

/* ---------- Estimator ---------- */
.estimator-sec { padding-top: 0; }
.services + .estimator-sec { margin-top: -24px; }
.estimator {
	position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; gap: 0;
	background: var(--ink); color: #DCE6F0; border-radius: 28px; box-shadow: var(--shadow-lg);
}
.estimator::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 0% 0%, rgba(46, 229, 157, .16), transparent 60%); pointer-events: none; }
.est-head { position: relative; padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line-dark); }
.est-head h2 { color: #fff; }
.est-head p { color: var(--muted-dark); }
.est-body { position: relative; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.est-label { display: flex; align-items: center; gap: .6em; margin: 0 0 10px; font-weight: 600; color: #fff; }
.est-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pulse); color: var(--ink); font-size: .8rem; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: .45em; padding: .55em 1em; border-radius: 999px; font-size: .92rem; font-weight: 600;
	background: rgba(255, 255, 255, .06); color: #DCE6F0; border: 1px solid rgba(255, 255, 255, .14); transition: all .18s;
}
.chip:hover { border-color: var(--pulse); color: #fff; }
.chip[aria-pressed='true'] { background: var(--pulse); color: var(--ink); border-color: var(--pulse); }
.chip .ico { color: var(--pulse); }
.chip[aria-pressed='true'] .ico { color: var(--ink); }
.chips-issues .chip { border-radius: 12px; }
.est-step[hidden] { display: none; }
.est-step.in { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.est-result { border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); min-height: 132px; display: flex; }
.est-placeholder { margin: auto; text-align: center; color: var(--muted-dark); padding: 18px; }
.est-placeholder .ico { color: var(--pulse); opacity: .6; }
.est-placeholder p { margin: 8px 0 0; }
.est-out { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; padding: 22px 24px; width: 100%; animation: rise .35s var(--ease); }
.est-out-label { margin: 0; color: var(--muted-dark); font-size: .9rem; }
.est-price { margin: 2px 0 0; font-family: var(--font-d); font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); color: #fff; line-height: 1.05; letter-spacing: -.03em; }
.est-price small { display: block; margin-top: 6px; font-size: .4em; color: var(--pulse); font-weight: 700; letter-spacing: 0; }
.est-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 0; font-size: .88rem; color: var(--muted-dark); }
.est-meta span { display: inline-flex; gap: .35em; align-items: center; }
.est-meta .ico { color: var(--pulse); }
.est-out .btn { align-self: center; }
.est-fine { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-top: 12px; }
@media (max-width: 960px) {
	.estimator { grid-template-columns: 1fr; }
	.est-head { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
	.est-out { grid-template-columns: 1fr; }
	.est-out .btn { width: 100%; }
}

/* ---------- Symptoms ---------- */
.symptoms { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sym-layout { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.sym-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.sym-btn {
	display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px;
	background: transparent; border: 1px solid transparent; font-weight: 600; font-size: .96rem; color: var(--ink); line-height: 1.3; transition: all .18s;
}
.sym-btn:hover { background: var(--paper); }
.sym-btn[aria-selected='true'] { background: var(--ink); color: #fff; }
.sym-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); color: var(--ink); flex: none; transition: all .18s; }
.sym-btn[aria-selected='true'] .sym-ico { background: var(--pulse); color: var(--ink); }
.sym-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); }
.js .sym-panel[data-hidden] { display: none; }
.sym-panel.in { animation: rise .35s var(--ease); }
.sym-panel h3 { display: flex; gap: .5em; align-items: center; font-size: 1.45rem; }
.sym-panel h3 .ico { color: var(--pulse-ink); }
.sym-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 18px 0 24px; }
.sym-sub { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.dot-list { list-style: none; }
.dot-list li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.dot-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--signal-2); }
.check-list, .cross-list { list-style: none; }
.check-list li, .cross-list li { display: flex; gap: 10px; margin-bottom: 9px; }
.check-list .ico { color: var(--pulse-ink); margin-top: 4px; }
.cross-list .ico { color: var(--alert); margin-top: 4px; }
.sym-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; border-top: 1px dashed #CFD5C8; padding-top: 18px; }
.sym-foot p { margin: 0; flex: 1 1 280px; }
.sym-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 960px) {
	.sym-layout { grid-template-columns: 1fr; }
	.sym-list { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
	.sym-list::-webkit-scrollbar { display: none; }
	.sym-btn { flex: 0 0 auto; width: auto; max-width: 250px; scroll-snap-align: start; border-color: var(--line); background: var(--paper); }
	.sym-cols { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Prices / tabs ---------- */
.tab-list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
	display: inline-flex; align-items: center; gap: .45em; padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--line);
	background: var(--card); font-weight: 600; font-size: .94rem; color: var(--ink); transition: all .18s;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs.js .tab-panel[hidden] { display: none; }
.tab-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); margin-bottom: 18px; box-shadow: var(--shadow); }
.tabs.js .tab-panel { animation: rise .3s var(--ease); }
.panel-title { font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; margin: 0 0 12px; color: var(--ink); }
.tabs.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.price-table-simple { min-width: 520px; }
.price-table th, .price-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: var(--paper); line-height: 1.3; }
.price-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-table tbody th .ico { color: var(--pulse-ink); margin-right: 6px; }
.price-table td { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.price-table tbody tr:hover { background: rgba(46, 229, 157, .07); }
.price-table th:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; }
.price-table thead th:first-child { background: var(--paper); }
.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.pn { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--paper-2); }
.pn > .ico { color: var(--pulse-ink); margin-top: 2px; }
.pn-title { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.pn p:last-child { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) { .price-notes { grid-template-columns: 1fr; } }

/* ---------- Why / about ---------- */
.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.04rem; }
.eco-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(46, 229, 157, .1); color: var(--text) !important; font-size: .95rem !important; }
.eco-note .ico { color: var(--pulse-ink); margin-top: 2px; }
.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reason { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reason-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 200, 61, .22); color: var(--ink); margin-bottom: 12px; }
.reason h3 { font-size: 1.12rem; }
.reason p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .about-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .reasons-grid { grid-template-columns: 1fr; } }

.warranty { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--card); border: 2px solid var(--ink); }
.warranty-badge { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.warranty-badge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.warranty-badge circle { fill: none; stroke: var(--paper-2); stroke-width: 10; }
.warranty-badge .wb-ring { stroke: var(--pulse); stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1.6s var(--ease); }
.warranty.visible .wb-ring { stroke-dashoffset: 0; }
.wb-num { font-family: var(--font-d); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--ink); margin-top: -10px; }
.wb-unit { position: absolute; bottom: 36px; font-weight: 600; color: var(--muted); font-size: .9rem; }
.warranty-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
@media (max-width: 760px) {
	.warranty { grid-template-columns: 1fr; justify-items: start; }
	.warranty-cols { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process { background: var(--ink); color: var(--muted-dark); overflow: hidden; }
.process h2, .process h3 { color: #fff; }
.process .section-lead { color: var(--muted-dark); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; position: relative; }
.timeline::before { content: ''; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--pulse), rgba(46, 229, 157, .1)); }
.tl-step { position: relative; padding: 0 6px; }
.tl-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--ink-3); border: 2px solid var(--pulse); color: #fff; font-family: var(--font-d); font-weight: 800; font-size: 1.35rem; margin-bottom: 18px; box-shadow: 0 0 0 8px var(--ink); }
.tl-step:last-child .tl-num { background: var(--pulse); color: var(--ink); }
.tl-step h3 { font-size: 1.08rem; }
.tl-step p { font-size: .93rem; margin: 0; }
@media (max-width: 960px) {
	.timeline { grid-template-columns: 1fr; gap: 0; }
	.timeline::before { top: 10px; bottom: 10px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--pulse), rgba(46, 229, 157, .1)); }
	.tl-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0 0 26px; }
	.tl-num { grid-row: span 2; margin: 0; }
}

/* ---------- Repair or replace ---------- */
.ror-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ror-copy p { color: var(--muted); font-size: 1.04rem; }
.ror-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-lg); }
.range-field { margin-bottom: 22px; }
.range-field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: .96rem; }
.range-field output { font-family: var(--font-d); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--fill, 50%), var(--paper-2) var(--fill, 50%)); outline: none; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--signal); border: 4px solid var(--ink); cursor: grab; box-shadow: 0 4px 12px rgba(14, 26, 43, .3); }
input[type='range']::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--signal); border: 4px solid var(--ink); cursor: grab; }
input[type='range']:focus-visible { outline: 3px solid var(--signal); outline-offset: 6px; }
.ror-meter { height: 12px; border-radius: 99px; overflow: hidden; background: linear-gradient(90deg, var(--pulse) 0 50%, var(--signal) 50% 70%, var(--alert) 70% 100%); position: relative; margin: 8px 0 18px; }
.ror-meter span { position: absolute; top: -4px; width: 4px; height: 20px; border-radius: 2px; background: var(--ink); left: var(--x, 30%); transition: left .3s var(--ease); box-shadow: 0 0 0 3px #fff; }
.ror-verdict { padding: 18px 20px; border-radius: 16px; background: rgba(46, 229, 157, .14); transition: background .3s; }
.ror-verdict.warn { background: rgba(255, 200, 61, .25); }
.ror-verdict.bad { background: rgba(229, 57, 74, .12); }
.ror-v-title { font-family: var(--font-d); font-weight: 800; font-size: 1.35rem; color: var(--ink); margin: 0 0 4px; }
.ror-v-text { margin: 0; color: var(--text); font-size: .95rem; }
@media (max-width: 900px) { .ror-grid { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.guides { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-panel { background: var(--paper); box-shadow: none; padding: clamp(22px, 4vw, 40px); }
.guide-panel h3 { font-size: 1.5rem; }
.guide-intro { color: var(--muted); max-width: 760px; }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.dd { border-radius: 18px; padding: 22px; background: var(--card); border-top: 5px solid var(--pulse); }
.dd-dont { border-top-color: var(--alert); }
.dd-title { display: flex; gap: .45em; align-items: center; font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.dd-do .dd-title .ico { color: var(--pulse-ink); }
.dd-dont .dd-title .ico { color: var(--alert); }
.dd ul { list-style: none; counter-reset: dd; }
.dd li { counter-increment: dd; position: relative; padding: 9px 0 9px 36px; border-top: 1px solid var(--line); }
.dd li::before { content: counter(dd); position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--paper-2); color: var(--ink); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; color: var(--ink); line-height: 1.4; transition: all .18s; }
.check-item:hover { border-color: var(--ink); }
.cb { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #B7C0B0; color: transparent; flex: none; transition: all .18s; }
.check-item[aria-pressed='true'] { background: rgba(46, 229, 157, .12); border-color: var(--pulse); }
.check-item[aria-pressed='true'] .cb { background: var(--pulse); border-color: var(--pulse); color: var(--ink); }
.check-item[aria-pressed='true'] > span:last-child { text-decoration: line-through; text-decoration-color: rgba(14, 26, 43, .35); }
.checklist-progress { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 8px; font-weight: 600; font-size: .92rem; }
.clp-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.clp-bar span { display: block; height: 100%; width: var(--w, 0%); background: var(--pulse); transition: width .3s var(--ease); }
@media (max-width: 760px) { .dodont, .checklist { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.carousel-nav { display: flex; gap: 8px; }
.cn-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center; transition: all .18s; }
.cn-btn:hover { background: var(--ink); color: #fff; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stars { display: flex; gap: 2px; color: var(--signal-2); margin-bottom: 12px; }
.stars .ico { fill: currentColor; }
.review blockquote { margin: 0 0 18px; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.02rem; color: var(--text); }
.review figcaption { display: flex; gap: 12px; align-items: center; line-height: 1.3; }
.review figcaption > span:last-child { display: flex; flex-direction: column; font-size: .9rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--pulse); font-family: var(--font-d); font-weight: 800; }
@media (max-width: 960px) { .carousel { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 600px) { .carousel { grid-auto-columns: 86%; } }

/* ---------- Brands marquee ---------- */
.brands { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); overflow: hidden; display: flex; align-items: center; gap: 24px; }
.brands-title { flex: none; margin: 0 0 0 max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; list-style: none; }
.marquee-list li { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--font-d); font-weight: 800; font-size: 1.35rem; color: var(--ink-soft); white-space: nowrap; }
.marquee-list li::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--pulse); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head .section-lead { margin-bottom: 22px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 4px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.faq-plus { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); flex: none; transition: background .2s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq-item[open] .faq-plus { background: var(--pulse); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover h3 { color: var(--pulse-ink); }
.faq-a { padding: 0 4px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: rise .3s var(--ease); }
@media (max-width: 900px) {
	.faq-grid { grid-template-columns: 1fr; }
	.faq-head { position: static; }
}

/* ---------- Posts ---------- */
.latest { background: var(--card); border-top: 1px solid var(--line); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pc-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.04); }
.card-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--pulse); background: radial-gradient(circle at 70% 30%, rgba(46, 229, 157, .2), transparent 60%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px, var(--ink); }
.pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.pc-title { font-size: 1.18rem; margin-bottom: 8px; }
.pc-title a { text-decoration: none; color: var(--ink); }
.pc-title a:hover { color: var(--pulse-ink); }
.pc-excerpt { color: var(--muted); font-size: .94rem; flex: 1; }
.pc-more { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: none; color: var(--pulse-ink); font-size: .92rem; }
@media (max-width: 960px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 18px; align-items: stretch; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.cc-label { display: flex; gap: .45em; align-items: center; margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.call-card { background: var(--ink); color: var(--muted-dark); border-color: var(--ink); }
.call-card .cc-label { color: var(--pulse); }
.cc-phone { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.2rem); color: #fff; text-decoration: none; letter-spacing: -.02em; line-height: 1.1; }
.cc-phone:hover { color: var(--signal); }
.call-card .status-pill { align-self: flex-start; }
.cc-small { font-size: .9rem; margin: 0; }
.call-card .btn { margin-top: auto; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours tr.today { background: rgba(46, 229, 157, .13); }
.hours tr.today th { font-weight: 700; }
.hours tr.today th::after { content: ' · šiandien'; color: var(--pulse-ink); font-size: .8rem; font-weight: 600; }
.cc-address { font-weight: 600; color: var(--ink); margin: 0; }
.map-frame { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #E8F1F7; flex: 1; min-height: 170px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-load .btn { position: relative; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } .map-card { grid-column: 1 / -1; } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--signal); padding: 40px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-title { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
.cta-text { margin: 6px 0 0; font-weight: 600; color: var(--ink-soft); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--ink); color: #fff; box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--ink-3); color: #fff; }
.cta-band .btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.cta-band .btn-ghost:hover { background: rgba(14, 26, 43, .08); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 0 0 28px; position: relative; font-size: .95rem; }
.footer-pulse { height: 60px; opacity: .55; }
.footer-pulse svg { width: 100%; height: 60px; display: block; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 28px 20px 40px; }
.f-about p { margin-top: 16px; }
.site-footer .brand-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.f-title { font-family: var(--font-d); color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--pulse); }
.f-contact p { display: flex; gap: .55em; align-items: flex-start; margin-bottom: 12px; }
.f-contact .ico { color: var(--pulse); margin-top: 3px; }
.f-phone { font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; color: #fff !important; display: inline-flex; gap: .4em; align-items: center; }
.f-social { display: flex; gap: 18px; flex-wrap: wrap; }
.f-social a { display: inline-flex; gap: .4em; align-items: center; }
.site-footer .muted { color: #7F93AA; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 22px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile bar & to-top ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 68px; }
	.mobile-bar {
		position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
		display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 20px;
		background: rgba(14, 26, 43, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
		transform: translateY(140%); transition: transform .35s var(--ease);
	}
	.mobile-bar.show { transform: none; }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 7px 4px; border-radius: 14px; color: #DCE6F0; text-decoration: none; font-size: .74rem; font-weight: 600; }
	.mobile-bar a .ico { color: var(--pulse); }
	.mobile-bar .mb-call { background: var(--signal); color: var(--ink); flex-direction: row; gap: 8px; font-size: .95rem; }
	.mobile-bar .mb-call .ico { color: var(--ink); }
	.mobile-bar .is-open .ico { color: var(--pulse); }
	.mobile-bar .is-closed .ico { color: #FF8A95; }
}
.to-top {
	position: fixed; right: 20px; bottom: 24px; z-index: 95; width: 54px; height: 54px; border-radius: 50%;
	border: 0; background: var(--ink); color: #fff; display: grid; place-items: center;
	box-shadow: 0 12px 30px -10px rgba(14, 26, 43, .6); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
	transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), background .2s; }
.to-top:hover { background: var(--ink-3); }
.to-top:hover .ico { animation: nudge .6s var(--ease); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--pulse); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); }
@keyframes nudge { 0%, 100% { transform: none; } 40% { transform: translateY(-4px); } }
@media (max-width: 760px) { .to-top { bottom: calc(88px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--muted-dark); padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); max-width: 900px; margin-top: 14px; }
.page-hero-pulse { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100px; opacity: .45; }
.page-lead { font-size: 1.12rem; max-width: 720px; margin: 0; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; }
.page-meta span { display: inline-flex; gap: .4em; align-items: center; }
.page-meta .ico { color: var(--pulse); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '›'; color: #5E7389; }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: var(--pulse); }
.crumbs [aria-current] { color: #fff; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.entry { max-width: 760px; }
.entry-page { margin: 0 auto; }
.entry-thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.entry-content { font-size: 1.07rem; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.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(--pulse-ink); font-weight: 700; }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--pulse); background: var(--card); border-radius: 0 14px 14px 0; font-size: 1.1rem; }
.entry-content img, .entry-content figure { border-radius: 14px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content a { color: var(--pulse-ink); }
.entry-content .wp-block-gallery, .entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.entry-content .gallery img, .entry-content .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.entry-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.entry-foot a { padding: .35em .85em; border-radius: 999px; background: var(--paper-2); font-size: .85rem; font-weight: 600; text-decoration: none; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 28px; }
.toc-title { display: flex; gap: .5em; align-items: center; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.toc ol { padding-left: 1.4em; }
.toc li { margin: 4px 0; }
.toc a { text-decoration: none; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.aside-card.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.aside-title { display: flex; gap: .5em; align-items: center; font-family: var(--font-d); font-weight: 800; color: var(--ink) !important; font-size: 1.2rem !important; }
.aside-title .ico { color: var(--pulse-ink); }
.aside-card .status-pill { align-self: flex-start; }
.related { background: var(--card); border-top: 1px solid var(--line); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .aside-card.sticky { position: static; } }

.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state .ico { color: var(--pulse-ink); }
.search-wrap { max-width: 620px; margin: 0 auto 36px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; }
.search-form input:focus { border-color: var(--ink); outline: none; }
.link-card h2 { margin: 0 0 6px; }

.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hero-pulse path, .hp-ecg { stroke-dashoffset: 0 !important; }
	.js .reveal { opacity: 1; transform: none; }
	.marquee-track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .mobile-bar, .to-top, .read-progress, .hero-visual, .cta-band, .footer-pulse, .estimator-sec, .ror { display: none !important; }
	body { background: #fff; padding: 0; }
	.hero, .process, .page-hero { background: #fff !important; color: #000 !important; }
	.hero h1, .page-hero h1, .process h2, .process h3 { color: #000 !important; }
	.tabs.js .tab-panel[hidden] { display: block !important; }
}
