/*
Theme Name: Nuotekų Meistras
Theme URI: https://nuotekumeistras.lt/
Author: nuotekumeistras.lt
Description: Greita, SEO optimizuota tema lietaus nuotekų, drenažo ir valymo įrenginių paslaugoms. Veikia be papildomų įskiepių: struktūrizuoti duomenys (LocalBusiness, FAQPage, BreadcrumbList), Open Graph, interaktyvi sistemos schema, kainų skaičiuoklė, drenažo testas, darbo laiko indikatorius, mygtukas „į viršų“, 301 nukreipimai.
Version: 1.0.0
Requires at least: 6.2
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: nuotekumeistras
Tags: one-column, custom-menu, accessibility-ready, translation-ready, business
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #0b2a3f;
	--ink-2: #12405e;
	--water: #0e7490;
	--water-2: #0891b2;
	--sky: #38bdf8;
	--accent: #f59e0b;
	--accent-2: #d97706;
	--accent-ink: #2a1800;
	--bg: #ffffff;
	--bg-alt: #f2f7fa;
	--line: #d9e5ec;
	--text: #1b2a35;
	--muted: #5a6b78;
	--ok: #15803d;
	--no: #b91c1c;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(11, 42, 63, .06), 0 8px 24px rgba(11, 42, 63, .08);
	--shadow-lg: 0 20px 50px rgba(11, 42, 63, .18);
	--wrap: 1180px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--water); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.light { color: rgba(255, 255, 255, .86) !important; }
.anchor-only { display: block; height: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.3em; border-radius: 999px; font-weight: 750; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(245, 158, 11, .35); }
.btn-accent:hover { background: #fbbf24; color: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--water); color: var(--water); }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--accent)); }
.admin-bar .progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .progress { top: 46px; } }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .85); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar strong { color: #fff; }
.topbar-facts { display: none; list-style: none; margin: 0; padding: 0; gap: 20px; }
.topbar-facts li { display: flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar .ico { color: var(--sky); }
@media (min-width: 960px) { .topbar-facts { display: flex; } }

.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.6; background: rgba(148, 163, 184, .2); color: inherit; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.status-pill.is-open { background: rgba(34, 197, 94, .16); color: #15803d; }
.status-pill.is-open::before { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
.status-pill.is-closed { background: rgba(239, 68, 68, .12); color: #b91c1c; }
.status-pill.is-closed::before { background: #ef4444; }
.topbar .status-pill.is-open, .section-cta .status-pill.is-open, .hero .status-pill.is-open { color: #86efac; }
.topbar .status-pill.is-closed, .section-cta .status-pill.is-closed, .hero .status-pill.is-closed { color: #fca5a5; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 42, 63, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { margin: 0; font-size: 1rem; }
.brand a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 850; font-size: 1.18rem; letter-spacing: -.02em; }
.brand-tld { color: var(--water); }
.brand-tag { font-size: .7rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.logo-mark { flex: none; }

.main-nav { display: none; }
.main-nav .nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .nav-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .96rem; }
.main-nav .nav-menu a:hover, .main-nav .current-menu-item > a { background: var(--bg-alt); color: var(--water); }
.main-nav .sub-menu { list-style: none; padding: 6px; margin: 0; position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 220px; display: none; }
.main-nav li { position: relative; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call span { display: none; }
.header-call { padding: .7em; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline; }

@media (max-width: 1199px) {
	.nav-open .main-nav { display: block; position: fixed; top: calc(var(--header-h) + 40px); left: 0; right: 0; bottom: 0; background: #fff; padding: 16px; overflow-y: auto; z-index: 99; border-top: 1px solid var(--line); }
	.nav-open .main-nav .nav-menu { flex-direction: column; }
	.nav-open .main-nav .nav-menu a { font-size: 1.15rem; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-open .main-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding-left: 16px; }
	.nav-open .nav-cta-mobile { display: flex; margin-top: 20px; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
@media (min-width: 560px) { .header-call span { display: inline; } .header-call { padding: .75em 1.15em; } }
@media (min-width: 1200px) {
	.main-nav { display: block; }
	.nav-toggle { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .88); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-sub { color: rgba(255, 255, 255, .75); }
.section-head-title { margin-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--water); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.section-dark .eyebrow, .eyebrow.light { color: var(--sky); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: rgba(14, 116, 144, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #155e75 0%, transparent 60%), linear-gradient(160deg, #0b2a3f 0%, #0d3550 55%, #0b2a3f 100%); color: #fff; overflow: hidden; padding: 56px 0 72px; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 80px 0 100px; } .hero-inner { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero h1 { color: #fff; }
.hero .hl { background: linear-gradient(90deg, #7dd3fc, #fcd34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: #7dd3fc; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 40em; }
.hero-badges { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; }
.hero-badges li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.badge-num { font-size: 1.35rem; font-weight: 850; color: #fff; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.hero-visual { margin: 0; }
.scheme { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .2); }
.scheme svg { display: block; width: 100%; height: auto; }
.scheme .rain line { animation: rain 1.2s linear infinite; }
.scheme .rain line:nth-child(2n) { animation-delay: .4s; }
.scheme .rain line:nth-child(3n) { animation-delay: .8s; }
@keyframes rain { from { transform: translateY(-20px); opacity: 0; } 30% { opacity: .8; } to { transform: translateY(60px); opacity: 0; } }
.scheme .flow path { animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.hotspot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; background: var(--accent); color: var(--accent-ink); font-weight: 850; font-size: .95rem; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); transition: transform .15s ease, background .2s; }
.hotspot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(245, 158, 11, .7); animation: ring 2s infinite; }
.hotspot:hover, .hotspot.is-active { transform: translate(-50%, -50%) scale(1.15); background: #fff; }
.hotspot.is-active::after { animation: none; border-color: transparent; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.scheme-panel { margin-top: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 14px 16px; min-height: 92px; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.scheme-panel strong { display: block; color: #fff; margin-bottom: 4px; }
.scheme-panel .price-tag { display: inline-block; margin-top: 6px; color: #fcd34d; font-weight: 750; }

/* ---------- Chips nav ---------- */
.chips-nav { position: sticky; top: var(--header-h); z-index: 90; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.admin-bar .chips-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .chips-nav { top: var(--header-h); } }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--bg-alt); color: var(--ink); text-decoration: none; font-weight: 650; font-size: .88rem; border: 1px solid transparent; transition: background .2s, color .2s; }
.chips a:hover { border-color: var(--line); }
.chips a.is-active { background: var(--ink); color: #fff; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 24px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bcd4e1; }
.card-featured { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 158, 11, .15); }
.card-featured::before { content: "Populiariausia"; position: absolute; top: -12px; right: 18px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, #e0f2fe, #ccfbf1); color: var(--water); margin-bottom: 16px; }
.card p { color: var(--muted); }
.card .ticks { font-size: .95rem; flex: 1; }
.card-price { margin: 8px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.card-price strong { color: var(--ink); font-size: 1.15rem; }

/* ---------- Signs ---------- */
.signs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.sign { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.sign:hover { border-color: #a5c7d8; }
.sign input { position: absolute; opacity: 0; pointer-events: none; }
.sign-box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #9fb8c6; display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s; margin-top: 2px; }
.sign input:checked + .sign-box { background: var(--water); border-color: var(--water); color: #fff; }
.sign input:focus-visible + .sign-box { outline: 3px solid var(--sky); outline-offset: 2px; }
.sign:has(input:checked) { border-color: var(--water); background: #f0fbff; }
.sign-text strong { display: block; color: var(--ink); line-height: 1.35; }
.sign-text span { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.signs-result { margin-top: 20px; padding: 18px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.signs-result p { margin: 0; }
.signs-result.level-1 { border-color: #fcd34d; background: #fffbeb; }
.signs-result.level-2 { border-color: #f87171; background: #fef2f2; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: s; position: relative; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 850; font-family: var(--mono); margin-bottom: 14px; }
.steps li:nth-child(2) .step-n { background: var(--accent); color: var(--accent-ink); }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Tabs / prices ---------- */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.tab-list { display: flex; gap: 4px; overflow-x: auto; padding: 8px; background: #f7fafc; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.tab-list button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: .94rem; cursor: pointer; }
.tab-list button:hover { color: var(--ink); background: #fff; }
.tab-list button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel { padding: 8px 8px 12px; }
.price-table th, .price-table td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--mono); font-weight: 700; }
.price-table tbody th { font-weight: 650; color: var(--ink); }
.price-table .price { font-weight: 850; color: var(--water); white-space: nowrap; font-size: 1.05rem; }
.price-table .note { color: var(--muted); font-size: .9rem; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody tr:hover { background: #f8fcfe; }
@media (max-width: 640px) {
	.price-table thead { display: none; }
	.price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
	.price-table th, .price-table td { border: 0; padding: 0 8px; }
	.price-table .note { grid-column: 1 / -1; }
	.price-table .note:empty { display: none; }
}
.price-examples { margin-top: 40px; }
.price-examples h3 { text-align: center; margin-bottom: 20px; }
.examples { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.example { background: #fff; border: 1px dashed #a9c4d3; border-radius: var(--radius); padding: 20px; }
.example p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.example-title { display: flex; align-items: center; gap: 8px; color: var(--ink) !important; font-weight: 750; font-size: 1rem !important; }
.example-title .ico { color: var(--water); }
.example-price { font-size: 1.4rem !important; font-weight: 850; color: var(--ink) !important; margin-top: 10px !important; }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .calc-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } .calc-grid .section-head { position: sticky; top: calc(var(--header-h) + 80px); } }
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .calc { padding: 32px; } }
.calc-field { border: 0; margin: 0 0 22px; padding: 0; }
.calc-field legend, .calc-field > label { display: block; font-weight: 750; color: var(--ink); margin-bottom: 10px; }
.calc-field output { color: var(--water); font-weight: 850; }
.calc-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .calc-row { grid-template-columns: 1fr 1fr; } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg-alt); padding: 5px; border-radius: 14px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 10px; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--muted); line-height: 1.25; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11, 42, 63, .12); }
.seg input:focus-visible + span { outline: 3px solid var(--sky); }
select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--text); }
input[type="range"] { width: 100%; accent-color: var(--water); height: 28px; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 650 !important; margin-bottom: 14px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--water); }
.calc-extra { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; }
.calc-result { margin-top: 8px; border-radius: var(--radius); padding: 22px; background: linear-gradient(140deg, var(--ink), #0e4a66); color: #fff; }
.calc-label { margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #7dd3fc; }
.calc-total { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 850; margin: 4px 0 6px; letter-spacing: -.02em; }
.calc-meta { color: rgba(255, 255, 255, .78); font-size: .92rem; }
.calc-meta strong { color: #fcd34d; }

/* ---------- Quiz ---------- */
.quiz-wrap { max-width: 820px; }
.quiz { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 640px) { .quiz { padding: 36px; } }
.quiz-progress { height: 6px; background: rgba(255, 255, 255, .12); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--accent)); transition: width .3s ease; }
.quiz-q { font-size: 1.3rem; color: #fff; margin-bottom: 18px; }
.quiz-step { font-family: var(--mono); font-size: .78rem; color: #7dd3fc; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opts button { text-align: left; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .18); color: #fff; font: inherit; font-weight: 650; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.quiz-opts button:hover { background: rgba(255, 255, 255, .12); border-color: #7dd3fc; transform: translateX(4px); }
.quiz-result h3 { font-size: 1.5rem; }
.quiz-result .verdict { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .82rem; margin-bottom: 12px; }
.verdict.high { background: #fecaca; color: #7f1d1d; }
.verdict.mid { background: #fde68a; color: #78350f; }
.verdict.low { background: #bbf7d0; color: #14532d; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.quiz-actions .btn-ghost { border-color: rgba(255, 255, 255, .35); }

/* ---------- Knowledge ---------- */
.compare { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.compare-table { min-width: 620px; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--ink); color: #fff; font-size: 1rem; }
.compare-table thead th .ico { vertical-align: -3px; margin-right: 6px; color: var(--sky); }
.compare-table tbody th { width: 22%; color: var(--ink); font-weight: 750; background: #f9fbfc; }
.compare-table tr:last-child > * { border-bottom: 0; }
.facts { margin: 40px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact { border-radius: var(--radius-lg); padding: 24px; background: linear-gradient(150deg, #e0f2fe, #f0fdfa); border: 1px solid #cde7ef; }
.fact-num { font-size: 2.6rem; font-weight: 850; color: var(--ink); margin: 0; line-height: 1; letter-spacing: -.03em; }
.fact-unit { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--water); margin: 6px 0 10px; font-weight: 700; }
.fact p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.mistakes { background: #fff; border-left: 5px solid var(--accent); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 24px 28px; box-shadow: var(--shadow); }
.mistakes ol { margin: 0; padding-left: 1.3em; }
.mistakes li { margin: 10px 0; color: var(--muted); }
.mistakes li strong { color: var(--ink); }

/* ---------- Legal ---------- */
.legal-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .legal-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } .legal-grid .section-head { position: sticky; top: calc(var(--header-h) + 80px); } }
.legal-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 20px; }
.legal-card { background: #fff; border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--line); border-top: 5px solid var(--ok); }
.legal-card.no { border-top-color: var(--no); }
.legal-card ul { margin: 0; padding-left: 1.1em; }
.legal-card li { margin: 8px 0; font-size: .96rem; }
.legal-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ok); margin-bottom: 8px; }
.legal-card.no .legal-tag { color: var(--no); }
.legal-more { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; }
.legal-more summary { cursor: pointer; padding: 16px 0; font-weight: 750; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.legal-more summary::-webkit-details-marker { display: none; }
.legal-more summary::after { content: "+"; font-size: 1.4rem; color: var(--water); line-height: 1; }
.legal-more[open] summary::after { content: "−"; }
.legal-more > *:last-child { padding-bottom: 16px; }
.legal-more li { margin: 8px 0; }
.disclaimer { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-top: 16px; }
.disclaimer .ico { flex: none; color: var(--accent-2); margin-top: 3px; }

/* ---------- Seasons ---------- */
.seasons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.season { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; position: relative; transition: transform .2s, box-shadow .2s; }
.season-head { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.season-head span { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--muted); font-weight: 600; }
.season-head .ico { color: var(--water); }
.season .ticks { font-size: .95rem; margin: 0; }
.season.is-current { border: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(245, 158, 11, .18); transform: translateY(-4px); }
.season.is-current::before { content: "Dabar"; position: absolute; top: -12px; left: 20px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Photos ---------- */
.photos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.photo { min-width: 0; margin: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.photo img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; background: linear-gradient(140deg, #dbeafe, #ccfbf1); }
.photo figcaption { padding: 16px 18px 18px; font-size: .93rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.photo figcaption strong { color: var(--ink); font-size: 1rem; }
.photo .credit { font-size: .75rem; color: var(--muted); }
.photo.is-missing { display: none; }

/* ---------- Why ---------- */
.why { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.why-item { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-alt); }
.why-item > .ico { color: var(--water); margin-bottom: 10px; }
.why-item p { color: var(--muted); margin: 0; }

/* ---------- Posts ---------- */
.posts-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-media img, .post-card-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-ph { display: grid; place-items: center; background: linear-gradient(140deg, #0b2a3f, #0e7490); color: rgba(255, 255, 255, .7); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card-title { font-size: 1.15rem; margin-bottom: 8px; }
.post-card-body p { color: var(--muted); font-size: .95rem; }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--water); font-weight: 750; }
.post-card:hover .more .ico { transform: translateX(4px); }
.more .ico { transition: transform .2s; }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .75fr 1.25fr; gap: 56px; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 80px); } }
.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: 18px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.08rem; }
.faq-item summary .ico { flex: none; color: var(--water); transition: transform .2s; }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-a { padding: 0 0 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- Contact CTA ---------- */
.section-cta { background: radial-gradient(800px 400px at 10% 120%, #0e7490 0%, transparent 60%), var(--ink); color: #fff; }
.section-cta h2 { color: #fff; }
.contact-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; } }
.hours-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius-lg); padding: 22px 24px; }
.hours-title { display: flex; align-items: center; gap: 8px; font-weight: 800; flex-wrap: wrap; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: #fcd34d; font-weight: 800; }
.light-card { background: #fff; border-color: var(--line); color: var(--text); }
.light-card .hours th, .light-card .hours td { border-bottom-color: var(--line); }
.light-card .hours tr.is-today th, .light-card .hours tr.is-today td { color: var(--accent-2); }
.section-cta .muted { color: rgba(255, 255, 255, .6); }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(160deg, #0b2a3f 0%, #0d3550 100%); color: #fff; padding: 40px 0 52px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(125, 211, 252, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .06) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 760px; }
.page-hero .eyebrow { color: #7dd3fc; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.post-meta.light { color: rgba(255, 255, 255, .7); }
.page-hero .search-form { max-width: 520px; margin-top: 20px; }

.single-grid { display: grid; gap: 40px; }
@media (min-width: 1040px) { .single-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } .single-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.aside-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.aside-card .btn { margin-top: 10px; }
.aside-title { font-weight: 800; color: var(--ink); }

.entry-thumb { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; }
.entry-content { font-size: 1.06rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img { border-radius: 12px; height: auto; }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--water); background: var(--bg-alt); border-radius: 0 12px 12px 0; }
.entry-content table { margin: 1.5em 0; font-size: .96rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--bg-alt); }
.entry-content .wp-block-gallery, .entry-content .gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.entry-content .wp-block-gallery figure, .entry-content .gallery-item { margin: 0; }
.entry-content .wp-block-gallery img, .entry-content .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry-content figcaption, .wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 6px; }
.alignwide { max-width: 1100px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.toc { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; border-left: 4px solid var(--water); }
.toc-title { font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc .toc-sub { margin-left: 1em; font-size: .94rem; list-style: circle; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt); text-decoration: none; font-size: .85rem; }
.post-navigation .nav-links { justify-content: space-between; margin-top: 32px; }
.post-navigation a { display: flex; flex-direction: column; text-decoration: none; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); max-width: 48%; }
.nav-label { font-size: .8rem; color: var(--muted); }
.nav-title { font-weight: 750; color: var(--ink); }

.cta-inline { margin: 48px 0 0; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(140deg, var(--ink), #0e4a66); color: rgba(255, 255, 255, .85); padding: 24px 28px; border-radius: var(--radius-lg); }
.cta-inline p { margin: 0; }
.cta-inline-title { font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: 4px !important; }
.cta-inline strong { color: #fcd34d; }

.search-form { display: flex; gap: 0; background: #fff; border-radius: 999px; padding: 5px; border: 1px solid var(--line); }
.search-form input { flex: 1; min-width: 0; border: 0; padding: 10px 16px; font: inherit; background: transparent; color: var(--text); }
.search-form input:focus { outline: none; }
.search-form:focus-within { outline: 3px solid var(--sky); }
.search-form button { border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); width: 46px; cursor: pointer; display: grid; place-items: center; }

.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.empty .ico { color: var(--water); }

.contact-page { display: grid; gap: 28px; }
@media (min-width: 980px) { .contact-page { grid-template-columns: 1.3fr .7fr; } }
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-content: start; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); text-decoration: none; color: inherit; background: #fff; transition: transform .2s, box-shadow .2s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 10px; }
.contact-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--water); font-weight: 700; }
.contact-value { font-size: 1.25rem; font-weight: 850; color: var(--ink); word-break: break-word; }
.contact-sub { color: var(--muted); font-size: .92rem; }
.page-hero .status-pill.is-open { color: #86efac; }
.page-hero .status-pill.is-closed { color: #fca5a5; }

.notfound { padding: 80px 0 100px; }
.nf-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 900; color: var(--ink); line-height: 1; margin: 0 0 12px; display: flex; justify-content: center; align-items: center; letter-spacing: -.04em; }
.nf-code span { color: var(--water); display: inline-flex; animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { 50% { transform: translateY(10px); } }
.notfound .search-form { max-width: 480px; margin: 24px auto; }
.nf-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #071d2c; color: rgba(255, 255, 255, .72); padding: 64px 0 110px; font-size: .95rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 30px; } }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer .brand a { color: #fff; }
.site-footer .brand-tag { color: rgba(255, 255, 255, .55); }
.footer-brand > p { margin-top: 16px; }
.footer-title { color: #fff; font-weight: 800; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .ico { color: var(--sky); flex: none; margin-top: 3px; }
.site-footer .muted { color: rgba(255, 255, 255, .5); }
.footer-social { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Mobile bar & to top ---------- */
.mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 120; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; background: rgba(11, 42, 63, .96); padding: 6px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border-radius: 12px; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 700; }
.mobile-bar .mobile-bar-call { background: var(--accent); color: var(--accent-ink); flex-direction: row; gap: 8px; font-size: .95rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

.to-top { position: fixed; right: 16px; bottom: 90px; z-index: 110; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(11, 42, 63, .35); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition: opacity .25s, transform .25s, visibility .25s, background .2s; text-decoration: none; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--water); color: #fff; }
.to-top > .ico { position: relative; z-index: 1; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 144.5; stroke-dashoffset: 144.5; stroke-linecap: round; }
@media (min-width: 900px) { .to-top { bottom: 28px; right: 28px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Comments ---------- */
.comments { margin-top: 48px; }
.comment-list { padding-left: 0; list-style: none; }

/* ---------- Print ---------- */
@media print {
	.topbar, .site-header, .chips-nav, .mobile-bar, .to-top, .progress, .hero-visual, .calc, .quiz, .site-footer { display: none !important; }
	.section { padding: 20px 0; }
	.tab-panel[hidden] { display: block !important; }
}
@media (max-width: 420px) { .site-header .brand-tag { display: none; } .brand-name { font-size: 1.08rem; } }
.hero-inner > *, .calc-grid > *, .legal-grid > *, .faq-grid > *, .contact-grid > *, .single-grid > *, .contact-page > *, .footer-grid > * { min-width: 0; }
.page-hero .lead a { color: #fcd34d; font-weight: 700; }
