/*
Theme Name: VilniusGospel Siurbliai
Theme URI: https://vilniusgospel.lt/
Author: VilniusGospel.lt
Description: Greita, SEO optimizuota tema dulkių siurblių remonto dirbtuvei Vilniuje. Veikia be įskiepių: struktūrizuoti duomenys, Open Graph, 301 nukreipimai, favicon, gedimų vedlys, kainoraštis, „taisyti ar pirkti“ skaičiuoklė, mygtukas į viršų.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vilniusgospel
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #14213d;
	--ink-2: #24345a;
	--paper: #f4f6f9;
	--white: #ffffff;
	--line: #d9e0ea;
	--muted: #56627a;
	--tag: #ffc93c;
	--tag-deep: #e9ad12;
	--tag-soft: #fff4d1;
	--clean: #2bb3a3;
	--clean-ink: #0d6e64;
	--danger: #b42318;
	--display: "Unbounded", "Segoe UI", system-ui, sans-serif;
	--body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
	--r-lg: 28px;
	--r-md: 16px;
	--r-sm: 10px;
	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 32px);
	--head-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clean-ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--tag-deep); outline-offset: 3px; border-radius: 4px; }
.sr { 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); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap--text { max-width: calc(720px + var(--gut) * 2); }
.wrap--page { max-width: calc(960px + var(--gut) * 2); }
.wrap--wide { max-width: calc(1000px + var(--gut) * 2); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--tag); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	min-height: 46px; padding: .6em 1.25em;
	border-radius: 999px; border: 2px solid transparent;
	font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--call { background: var(--tag); color: var(--ink); border-color: var(--tag); }
.btn--call:hover { background: var(--tag-deep); border-color: var(--tag-deep); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); color: var(--white); }
.btn--sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .75em 1.5em; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-head {
	position: sticky; top: 0; z-index: 50;
	background: rgba(244, 246, 249, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head__in { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font: 700 1.05rem/1.1 var(--display); letter-spacing: -0.02em; }
.brand__tld { color: var(--clean-ink); }
.brand__sub { font-size: .8rem; color: var(--muted); margin-top: 3px; }

.nav { margin-left: auto; }
.nav__list, .nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a, .nav .menu a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav__list a:hover, .nav .menu a:hover, .nav .current-menu-item > a { background: var(--white); color: var(--ink); }
.nav .sub-menu { display: none; }

.site-head__actions { display: flex; align-items: center; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.status.is-open .status__dot { background: var(--clean); box-shadow: 0 0 0 4px rgba(43, 179, 163, .2); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink); transform: translateX(-50%); transition: transform .2s, opacity .2s; }
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; transform: none; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) { .status { display: none !important; } }
@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 8px var(--gut) 20px; display: none;
	}
	.nav.is-open { display: block; }
	.nav__list, .nav .menu { flex-direction: column; }
	.nav__list a, .nav .menu a { padding: 12px 8px; border-radius: var(--r-sm); font-size: 1.05rem; }
	.site-head__actions { margin-left: auto; }
}
@media (max-width: 520px) {
	.site-head__actions .btn--call { display: none; }
	.brand__sub { display: none; }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec__head { max-width: 680px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.sec__head p { color: var(--muted); font-size: 1.1rem; }
.sec__head--left { margin-left: 0; text-align: left; }
.sec__head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; text-align: left; flex-wrap: wrap; }
.note { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 24px auto 0; color: var(--danger); font-weight: 500; font-size: .98rem; }
.note .ico { margin-top: .25em; }

.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li, .crosses li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--clean-ink); border-bottom: 2.5px solid var(--clean-ink); transform: rotate(-45deg); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: 3px; top: .75em; width: 14px; height: 2.5px; background: var(--danger); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__place { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-weight: 500; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 4.3rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: .4em; text-wrap: balance; hyphens: manual; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 34em; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border-top: 2px solid var(--ink); }
.hero__facts li { padding: 14px 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.hero__facts li:last-child { border-right: 0; margin-right: 0; }
.hero__facts strong { font: 700 1.35rem/1.15 var(--display); letter-spacing: -0.02em; }
.hero__facts span { color: var(--muted); font-size: .9rem; }

.hero__visual { position: relative; }
.floor { display: block; width: 100%; height: auto; }
.tag {
	position: absolute; right: -5%; bottom: -12%;
	width: min(260px, 60%);
	padding: 30px 20px 18px;
	background: var(--tag);
	border-radius: 14px 14px 14px 14px;
	clip-path: polygon(14% 0, 86% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
	transform: rotate(4deg);
	transform-origin: 50% 0;
	box-shadow: 0 18px 30px -18px rgba(20, 33, 61, .55);
}
.tag__hole { position: absolute; top: 10px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--tag-deep); }
.tag__title { font: 700 .95rem/1.2 var(--display); margin: 0 0 4px; }
.tag__status { font-size: .92rem; margin: 0 0 12px; font-weight: 500; }
.tag__status.is-open::before, .tag__status.is-closed::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--clean-ink); }
.tag__status.is-closed::before { background: var(--danger); }
.tag__rows { margin: 0; border-top: 1.5px dashed rgba(20, 33, 61, .45); padding-top: 8px; }
.tag__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: .92rem; }
.tag__rows dt { margin: 0; }
.tag__rows dd { margin: 0; font-weight: 600; }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; margin: 0 auto 40px; width: 100%; }
	.tag { right: 3%; bottom: -14%; }
}
@media (max-width: 560px) {
	.hero__facts { grid-template-columns: 1fr 1fr; }
	.hero__facts li { border-right: 0; margin-right: 0; padding-right: 12px; }
	.hero__cta .btn { width: 100%; justify-content: center; }
	.tag { width: 64%; padding: 26px 14px 12px; }
	.tag__rows div { font-size: .85rem; }
}

/* ---------- Segmented tabs ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.seg__btn { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 600 .98rem/1.2 var(--body); color: var(--ink); cursor: pointer; }
.seg__btn:hover { background: var(--paper); }
.seg__btn[aria-selected="true"] { background: var(--ink); color: var(--white); }

/* ---------- Wizard ---------- */
.sec--wizard { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wizard { max-width: 1040px; margin: 0 auto; }
.wizard > .seg { display: flex; width: max-content; max-width: 100%; margin: 0 auto 24px; }
.wizard__cols { display: grid; grid-template-columns: minmax(240px, 0.85fr) 1.15fr; gap: 24px; align-items: start; }
.sym { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sym__btn {
	width: 100%; text-align: left; cursor: pointer;
	padding: 14px 16px; border-radius: var(--r-sm);
	border: 1.5px solid var(--line); background: var(--paper);
	font: 500 1rem/1.35 var(--body); color: var(--ink);
	transition: border-color .15s, background-color .15s;
}
.sym__btn:hover { border-color: var(--ink); }
.sym__btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.answer { background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); border: 1.5px solid var(--line); }
.answer__q { font-size: 1.25rem; margin-bottom: 18px; }
.answer__block { margin-bottom: 16px; }
.answer__block p:last-child { margin-bottom: 0; }
.answer__k { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--muted); margin-bottom: 4px; }
.answer__block--diy { background: var(--white); border-left: 4px solid var(--clean); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 12px 16px; }
.answer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.answer__price { margin: 0; display: flex; flex-direction: column; }
.answer__price span { font-size: .88rem; color: var(--muted); }
.answer__price strong { font: 700 1.25rem/1.25 var(--display); }
.answer:not([hidden]) { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.wizard__cols { grid-template-columns: 1fr; }
	.wizard > .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: var(--r-md); }
	.wizard > .seg .seg__btn { border-radius: var(--r-sm); padding: 10px 6px; font-size: .9rem; }
	.sym { grid-template-columns: 1fr; }
}

/* ---------- Prices ---------- */
.prices { max-width: 1040px; margin: 0 auto; }
.prices__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.filter { display: flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; flex: 1 1 260px; max-width: 340px; }
.filter:focus-within { border-color: var(--ink); }
.filter input { border: 0; outline: 0; background: transparent; font: 400 1rem var(--body); color: var(--ink); width: 100%; padding: 10px 0; }
.prices__note { color: var(--muted); font-size: .95rem; margin: 0 0 10px; }
.ptable { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; }
.ptable thead th { text-align: left; font-size: .85rem; font-weight: 600; color: var(--muted); padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.ptable tbody th, .ptable td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody tr:hover { background: #fbfcfd; }
.ptable tbody th { font-weight: 400; }
.ptable__name { display: block; font-weight: 600; }
.ptable__when { display: block; color: var(--muted); font-size: .9rem; }
.ptable__price { white-space: nowrap; }
.ptable__price strong { font: 700 1.1rem var(--display); }
.ptable__part { white-space: nowrap; color: var(--ink-2); }
.ptable tr.is-hidden { display: none; }
.prices__empty { padding: 20px; background: var(--white); border-radius: var(--r-md); border: 1px dashed var(--line); text-align: center; }
@media (max-width: 640px) {
	.ptable thead { display: none; }
	.ptable, .ptable tbody, .ptable tr, .ptable tbody th, .ptable td { display: block; }
	.ptable tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
	.ptable tbody tr:last-child { border-bottom: 0; }
	.ptable tbody th, .ptable td { padding: 0; border: 0; }
	.ptable td { display: flex; justify-content: space-between; padding-top: 6px; }
	.ptable td::before { content: attr(data-label); color: var(--muted); font-size: .9rem; }
	.filter { max-width: none; }
}
.assure { list-style: none; padding: 0; margin: 28px auto 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.assure li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.assure .ico { width: 26px; height: 26px; color: var(--clean-ink); }
@media (max-width: 760px) { .assure { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.sec--calc { background: var(--ink); color: var(--white); }
.sec--calc .muted { color: #aeb8cc; }
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.calc__intro p { color: #d5dbe7; font-size: 1.08rem; }
.calc__box { background: var(--ink-2); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.field { margin-bottom: 20px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 8px; }
.field output { font-family: var(--display); color: var(--tag); }
.field select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.25); background: var(--ink); color: var(--white); font: 1rem var(--body); }
.field input[type="range"] { width: 100%; accent-color: var(--tag); height: 28px; }
.meter { position: relative; margin: 26px 0 18px; }
.meter__track { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.meter__zone--ok { flex: 40; background: var(--clean); }
.meter__zone--maybe { flex: 20; background: var(--tag); }
.meter__zone--no { flex: 40; background: #e5675c; }
.meter__pin { position: absolute; top: -7px; left: 0; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--white); transition: left .3s ease; }
.meter__labels { position: relative; height: 1.2em; font-size: .8rem; color: #aeb8cc; margin-top: 8px; }
.meter__labels span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.meter__labels span:first-child { transform: none; }
.meter__labels span:last-child { transform: translateX(-100%); }
.verdict { background: var(--ink); border-radius: var(--r-md); padding: 16px 18px; border-left: 5px solid var(--clean); }
.verdict.is-maybe { border-left-color: var(--tag); }
.verdict.is-no { border-left-color: #e5675c; }
.verdict__title { font: 700 1.2rem var(--display); margin-bottom: 4px; }
.verdict p:last-child { margin-bottom: 0; color: #d5dbe7; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Devices ---------- */
.devices { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.device { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 48px); padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.device__art { width: 100%; height: auto; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); }
.device__body h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.device__body > p { max-width: 62ch; color: var(--ink-2); }
.device .ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; max-width: 640px; }
@media (max-width: 640px) {
	.device { grid-template-columns: 1fr; }
	.device__art { max-width: 220px; }
	.device .ticks { grid-template-columns: 1fr; }
}
.brands { margin-top: 40px; }
.brands__t { font-weight: 600; margin-bottom: 12px; }
.brands__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands__list li { padding: 6px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }

/* ---------- Steps ---------- */
.sec--steps { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: calc((100% - 80px) / 5 - 23px); top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); }
.step { position: relative; counter-increment: st; padding-top: 64px; }
.step::before { content: counter(st); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--tag); border: 2px solid var(--ink); display: grid; place-items: center; font: 700 1.1rem var(--display); }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
	.step { padding: 0 0 24px 66px; }
}

/* ---------- Care ---------- */
.care { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ctable { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; }
.ctable th, .ctable td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .98rem; }
.ctable thead th { font-size: .85rem; color: var(--muted); background: var(--paper); font-weight: 600; }
.ctable tbody th { font-weight: 600; }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable td:last-child { color: var(--muted); }
.pill { display: inline-block; padding: 3px 10px; background: var(--tag-soft); border-radius: 999px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.care__side { background: var(--tag-soft); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.care__side h3 { font-size: 1.1rem; }
.care__side h3 + .ticks, .care__side h3 + .crosses { margin-bottom: 1.6em; }
@media (max-width: 900px) { .care { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.ctable thead { display: none; }
	.ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; }
	.ctable tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
	.ctable th, .ctable td { padding: 2px 0; border: 0; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__text p { max-width: 62ch; color: var(--ink-2); }
.about__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); }
.about__list .ico { width: 26px; height: 26px; color: var(--clean-ink); margin-top: 2px; }
.about__list strong { display: block; }
.about__list span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.sec--faq { background: var(--white); border-top: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .sec__head { position: sticky; top: calc(var(--head-h) + 24px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 2px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.05rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.qa summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center/12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 12px no-repeat; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--tag); }
.qa p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .sec__head { position: static; } }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); transition: border-color .15s; }
.card__link:hover { border-color: var(--ink); color: var(--ink); }
.card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__img--blank { display: grid; place-items: center; background: var(--tag-soft); }
.card__mark { width: 64px; height: 64px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.card__meta { font-size: .85rem; color: var(--muted); }
.card__title { font: 500 1.15rem/1.3 var(--display); }
.card__excerpt { color: var(--ink-2); font-size: .98rem; }
.link-more { font-weight: 600; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.nav-links .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Contact ---------- */
.sec--contact { background: var(--paper); }
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.contact__addr { font: 500 1.2rem/1.4 var(--display); margin-bottom: 24px; }
.contact__addr span { font-family: var(--body); font-size: 1rem; color: var(--muted); }
.hours { max-width: 420px; margin-bottom: 8px; }
.hours th, .hours td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--tag-soft); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map { position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; background: #e3e9f1; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__btn { position: relative; z-index: 1; margin-top: 130px; box-shadow: 0 10px 24px -12px rgba(20, 33, 61, .7); }
.map__hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: .85rem; color: var(--muted); margin: 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.bring { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.bring h2 { font-size: 1.5rem; }
@media (max-width: 760px) { .bring { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); }
.page-hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.025em; text-wrap: balance; }
.page-hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44em; }
.page-hero--404 { padding-bottom: 0; }
.page-hero + .sec { padding-top: clamp(16px, 3vw, 32px); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.article__meta { color: var(--muted); }
.article__cover img { width: 100%; border-radius: var(--r-lg); display: block; }
.jump { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-block; padding: 10px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.jump a:hover { border-color: var(--ink); }
.empty { padding: 40px; background: var(--white); border-radius: var(--r-lg); border: 1px dashed var(--line); text-align: center; }
.empty__title { font: 700 1.3rem var(--display); }

.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; margin: 8px 0 32px; }
.toc__title { font-weight: 600; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 4px; }

.prose { font-size: 1.1rem; line-height: 1.7; padding-bottom: 32px; }
.prose > * { max-width: 72ch; }
.prose--page > * { max-width: none; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose img { border-radius: var(--r-md); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--tag); font-style: italic; }
.prose table { background: var(--white); border: 1px solid var(--line); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.prose .wp-block-gallery, .prose .gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; max-width: none; }
.prose .gallery-item { margin: 0; width: auto !important; max-width: none !important; }
.prose .gallery img, .prose .wp-block-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); border: 0 !important; }
.prose .gallery br { display: none; }
.prose .wp-block-gallery figure { width: auto !important; margin: 0 !important; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.wp-caption { max-width: 100%; }

.cta-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; margin: 24px 0 56px; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); background: var(--tag); border-radius: var(--r-lg); }
.cta-strip p { margin: 0; }
.cta-strip__title { font: 700 1.3rem var(--display); margin-bottom: 4px !important; }
.cta-strip .btn--call { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta-strip .btn--call:hover { background: var(--ink-2); color: var(--white); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #d5dbe7; padding: clamp(48px, 6vw, 72px) 0 calc(24px + env(safe-area-inset-bottom)); }
.site-foot a { color: var(--white); }
.site-foot a:hover { color: var(--tag); }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot .brand { color: var(--white); margin-bottom: 16px; }
.site-foot .brand__sub { color: #aeb8cc; }
.site-foot .brand__tld { color: var(--clean); }
.site-foot .brand__mark circle:first-child { fill: #24345a; }
.site-foot__brand p { max-width: 34ch; }
.site-foot__h { font: 700 .95rem var(--display); color: var(--white); margin-bottom: 12px; }
.site-foot__addr { font-style: normal; margin-bottom: 1em; }
.site-foot__tel { font: 700 1.25rem var(--display); text-decoration: none; }
.site-foot__menu { list-style: none; padding: 0; margin: 0; }
.site-foot__menu li { margin-bottom: 6px; }
.site-foot .muted { color: #aeb8cc; font-size: .92rem; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: #aeb8cc; }
.site-foot__base p { margin: 0; }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
	.callbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(244, 246, 249, .96); border-top: 1px solid var(--line);
		transform: translateY(110%); transition: transform .25s ease;
	}
	.callbar.is-visible { transform: none; }
	.callbar .btn { justify-content: center; }
	body.vg { padding-bottom: 72px; }
}

/* ---------- Back to top ---------- */
.totop {
	position: fixed; right: 18px; bottom: 18px; z-index: 70;
	width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center;
	background: var(--ink); color: var(--white);
	box-shadow: 0 10px 24px -10px rgba(20, 33, 61, .6);
	opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s, background-color .15s;
}
.totop.is-visible { opacity: 1; transform: none; }
.totop:hover { background: var(--ink-2); }
.totop .ico { width: 20px; height: 20px; position: relative; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: var(--tag); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: var(--p, 100); stroke-linecap: round; }
@media (max-width: 760px) { .totop { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; } }

/* ---------- Lightbox ---------- */
.lb { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lb::backdrop { background: rgba(20, 33, 61, .88); }
.lb img { display: block; max-width: 94vw; max-height: 86vh; border-radius: var(--r-sm); }
.lb__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--tag); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }

@media print {
	.site-head, .callbar, .totop, .map, .site-foot__menu { display: none !important; }
	body { background: #fff; }
}
