/* MetodaLab. White, near-black ink, one deep-navy accent. Assistant for text,
   Frank Ruhl Libre for display. RTL: logical properties only. */
:root {
  --ink: #14171c; --ink-2: #4a5160; --muted: #7d8492; --line: #e4e7ec; --line-2: #d3d8e0;
  --bg: #ffffff; --soft: #f5f7fa; --accent: #1f4e8c; --accent-2: #173d6f; --accent-soft: #eaf1fa;
  --ok: #23734b; --ok-soft: #e6f3ec; --warn: #8a5a10; --warn-soft: #fbf1e0; --danger: #b3261e; --danger-soft: #fbeceb;
  --serif: "Frank Ruhl Libre", "David", Georgia, serif;
  --sans: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
/* Assistant + Frank Ruhl have Hebrew and Latin only: Russian and Arabic get their own pair. */
html[lang="ru"] { --sans: "Noto Sans", system-ui, "Segoe UI", Arial, sans-serif; --serif: "Noto Serif", Georgia, serif; }
html[lang="ar"] { --sans: "Noto Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif; --serif: "Noto Naskh Arabic", "Noto Sans Arabic", serif; }
html[lang="ar"] body { line-height: 1.8; }
/* "Forward" arrows are drawn for right-to-left; mirror them on left-to-right pages. */
[dir="ltr"] .ic-arrow { transform: scaleX(-1); }
/* Language names in the switcher are shown in their own script, whatever the page language. */
a[lang="ar"] { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", sans-serif; }
a[lang="ru"] { font-family: "Noto Sans", "Segoe UI", Arial, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); letter-spacing: -.01em; }
h2 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; margin-inline: auto; }
.page-pad { padding-block: 36px 40px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.ic { flex: none; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: .92rem; letter-spacing: .02em; margin-bottom: 12px; }
.section-head:not(.start) .eyebrow, .center .eyebrow { justify-content: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { background: #2c323b; border-color: #2c323b; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--soft); border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #eef1f5; border-color: #eef1f5; }
.btn-sm { padding: 7px 16px; font-size: .92rem; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.link { background: none; border: 0; padding: 4px; font: inherit; cursor: pointer; color: var(--ink-2); text-decoration: underline; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-underline-offset: 3px; }

/* forms */
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label:not(.file-drop), .field legend, .field .label { display: block; font-weight: 600; font-size: .96rem; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; margin-inline-start: 4px; }
.field input, .field textarea, .field select, .filters select {
  width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 78, 140, .12); }
.field small.hint { display: block; margin-top: 6px; color: var(--muted); font-size: .86rem; }
.err-msg { display: block; margin-top: 8px; color: var(--danger); font-size: .9rem; font-weight: 600; }
.field.err input, .field.err select { border-color: var(--danger); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.check.row { display: flex; margin-bottom: 18px; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.pill-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-pick label { position: relative; cursor: pointer; }
.pill-pick input, .choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pill-pick span { display: block; padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 500; }
.pill-pick input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.pill-pick input:focus-visible + span, .choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.flashes { margin-top: 16px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 8px; font-weight: 500; }
.flash.ok { background: var(--ok-soft); color: #1b5a3a; }
.flash.warn { background: var(--warn-soft); color: #6b450c; }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }

/* header / footer */
.site-top { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.55rem/1 var(--serif); text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 1.25rem/1 var(--serif); padding-bottom: 3px; }
.top-links { display: flex; gap: 26px; margin-inline-end: auto; }
.top-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.top-links a:hover { color: var(--ink); }
.site-foot { background: var(--soft); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 32px; }
.foot-grid h4, .foot-h { font-size: .95rem; margin-bottom: 12px; }
.foot-grid a:not(.brand) { display: block; color: var(--ink-2); text-decoration: none; padding: 3px 0; }
.foot-grid a:not(.brand):hover { color: var(--ink); text-decoration: underline; }
.foot-brand p { color: var(--ink-2); max-width: 300px; margin-top: 14px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.foot-grid .foot-langs a { display: inline; padding: 0; }
.foot-langs a.on { color: var(--ink); font-weight: 700; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--ink); color: var(--ink); }
.lang-switch ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px -16px rgba(20, 23, 28, .3); min-width: 150px; z-index: 30; }
.lang-switch li a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 500; }
.lang-switch li a:hover { background: var(--soft); }
.lang-switch li a.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.lang-badge { background: var(--accent-soft); color: var(--accent); margin-inline-start: 4px; }
.foot-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: .88rem; }

/* ---------- landing ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font: 500 clamp(2.3rem, 4.8vw, 3.7rem)/1.1 var(--serif); letter-spacing: -.02em; margin-bottom: 20px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 24px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .95rem; }
.trust li, .checks li { display: flex; align-items: flex-start; gap: 8px; }
.trust .ic, .checks .ic { color: var(--accent); margin-top: 4px; }
.hero-visual { position: relative; padding-block-end: 44px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 18px; }
.float-card { position: absolute; bottom: 0; inset-inline-end: -28px; background: #fff; border-radius: 14px; padding: 18px 20px; width: 290px;
  box-shadow: 0 24px 50px -18px rgba(20, 23, 28, .32); border: 1px solid var(--line); }
.mc-head { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; color: var(--accent); }
.match-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 12px; font-size: .93rem; }
.match-card dt { color: var(--muted); }
.match-card dd { margin: 0; font-weight: 600; }
.mc-match { display: flex; align-items: center; gap: 8px; background: var(--ok-soft); color: var(--ok); border-radius: 8px; padding: 8px 10px; font-size: .9rem; font-weight: 600; }

.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section h2, .cta-band h2 { font: 500 clamp(1.8rem, 3.4vw, 2.5rem)/1.15 var(--serif); letter-spacing: -.015em; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head.start { text-align: start; margin: 0 0 32px; }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-decoration: none; color: var(--ink); display: grid; gap: 6px; align-content: start;
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.svc:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(31, 78, 140, .45); }
.svc b { font-size: 1.08rem; }
.svc > span:last-child { color: var(--ink-2); font-size: .93rem; }
.svc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.services.compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.services.compact .svc { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; padding: 14px 16px; }
.services.compact .svc-icon { margin: 0; width: 40px; height: 40px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.step-n { display: block; font: 500 2.4rem/1 var(--serif); color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-2); margin: 0; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-copy p { color: var(--ink-2); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks.big { font-size: 1.05rem; gap: 12px; }
.feature-visual img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-decoration: none; color: var(--ink); display: grid; gap: 8px; align-content: start; background: #fff; transition: border-color .15s; }
.guide-card:hover { border-color: var(--accent); }
.guide-card b { font-size: 1.1rem; line-height: 1.35; }
.guide-card > span:last-child { color: var(--ink-2); font-size: .93rem; }
.gc-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .85rem; font-weight: 600; }
.more { margin: 28px 0 0; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { font-weight: 600; font-size: 1.06rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }
.cta-band { position: relative; color: #fff; text-align: center; padding: 110px 0; background: #1b2230 var(--cta-img) center 30% / cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 36, .6); }
.cta-band .wrap { position: relative; }
.cta-band p { font-size: 1.15rem; opacity: .9; margin-bottom: 28px; }

/* ---------- service pages ---------- */
.svc-hero { padding: 40px 0 64px; background: linear-gradient(to bottom, var(--soft), #fff); }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.svc-hero h1 { font: 500 clamp(2rem, 4vw, 3rem)/1.15 var(--serif); }
.svc-photo { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.svc-body { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.svc-body h2, .prose h2 { font: 500 1.7rem/1.25 var(--serif); }
.svc-body .mt { margin-top: 44px; }
.muted-2 { color: var(--ink-2); font-size: 1.05rem; }
.side-cta { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; display: grid; gap: 10px; }
.side-cta b { font-size: 1.12rem; }
.side-cta p { color: var(--ink-2); margin: 0 0 6px; font-size: .95rem; }
.side-cta .svc-icon { margin: 0; }
.side-cta.sticky { position: sticky; top: 92px; }
.side-guides { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; display: grid; gap: 6px; }
.side-guides small { color: var(--muted); font-weight: 600; }
.side-guides a { color: var(--accent); font-weight: 500; text-underline-offset: 3px; }

/* ---------- guides ---------- */
.group-title { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin: 40px 0 16px; color: var(--accent); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.prose { max-width: 720px; }
.prose h1 { font: 500 clamp(2rem, 4.2vw, 2.8rem)/1.15 var(--serif); letter-spacing: -.015em; }
.prose h2 { margin-top: 44px; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; }
.prose p, .prose li { color: #2a303a; font-size: 1.07rem; line-height: 1.8; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose blockquote { margin: 20px 0; padding: 16px 20px; background: var(--soft); border-inline-start: 3px solid var(--accent); border-start-end-radius: 8px; border-end-end-radius: 8px; }
.prose blockquote p { margin: 0; font-size: 1rem; }
.prose blockquote[dir="ltr"] { text-align: left; border-radius: 8px; font-family: Georgia, "Times New Roman", serif; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose code { background: var(--soft); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.toc { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 8px 0 28px; }
.toc b { margin-bottom: 4px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 48px 0 24px; padding: 24px; border-radius: 14px; background: var(--accent); color: #fff; }
.inline-cta b { font-size: 1.15rem; }
.inline-cta p { color: #d6e2f2; margin: 4px 0 0; font-size: .98rem; }
.inline-cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.updated { color: var(--muted); font-size: .9rem; }

/* ---------- request form ---------- */
.request-page .site-top .top-links { visibility: hidden; }
.req-wrap { max-width: 760px; padding-block: 40px 64px; }
.req-head h1 { font: 500 clamp(2rem, 4vw, 2.7rem)/1.15 var(--serif); }
.progress-steps { display: grid; gap: 6px; margin: 8px 0 26px; }
.ps-bar { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.ps-bar i { display: block; height: 100%; background: var(--accent); inline-size: 0; transition: inline-size .3s; }
#ps-label { font-size: .88rem; color: var(--muted); font-weight: 600; }
.req-form { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: #fff; }
.step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.step legend { font: 500 1.6rem/1.2 var(--serif); margin-bottom: 22px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice span { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; height: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.choice span .ic { grid-row: span 2; color: var(--accent); margin-top: 2px; }
.choice span b { font-size: 1rem; }
.choice span small { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.choice:hover span { border-color: var(--accent); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.file-drop { display: flex; align-items: center; gap: 10px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--ink-2); cursor: pointer; background: var(--soft); font-weight: 500; }
.file-drop:hover { border-color: var(--accent); color: var(--accent); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* bot trap: invisible, no offset (offsets cause sideways scroll) */
.consent { font-size: .95rem; color: var(--ink-2); margin-top: 6px; }
.consent a { color: var(--accent); }
.integrity { display: flex; gap: 8px; align-items: flex-start; background: var(--soft); border-radius: 10px; padding: 12px 14px; color: var(--ink-2); font-size: .92rem; margin: 18px 0 0; }
.integrity .ic { color: var(--accent); margin-top: 3px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.step-nav .btn-lg { margin-inline-start: auto; }

.thanks { text-align: center; }
.thanks h1 { font: 500 clamp(2rem, 4vw, 2.6rem)/1.15 var(--serif); }
.done-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 16px; }
.ref { color: var(--ink-2); }
.thanks .lead { margin-inline: auto; }
.next-steps { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 12px; text-align: start; counter-reset: n; }
.next-steps li { display: grid; gap: 2px; padding: 16px 20px 16px 20px; border: 1px solid var(--line); border-radius: 12px; padding-inline-start: 58px; position: relative; counter-increment: n; }
.next-steps li::before { content: counter(n); position: absolute; inset-inline-start: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.next-steps span { color: var(--ink-2); font-size: .95rem; }

/* ---------- admin ---------- */
.admin-page { background: var(--soft); }
.admin-top .nav-row { min-height: 60px; }
.admin-top .brand { font-size: 1.3rem; }
.admin-tabs { display: flex; gap: 4px; margin-inline-end: auto; }
.admin-tabs a { padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; }
.admin-tabs a.on { background: var(--accent-soft); color: var(--accent); }
.admin-top form { margin: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 1.12rem; margin-bottom: 14px; }
.panel h3 { font-size: 1rem; margin: 20px 0 8px; }
.form-panel { max-width: 640px; }
.narrow-form { max-width: 720px; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.head-row h1 { margin: 0; display: flex; align-items: center; gap: 12px; }
.head-row p { margin: 4px 0 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.status-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.status-tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.status-tabs a span { color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
.status-tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.status-tabs a.on span { color: #c8ccd4; }
.filters { display: flex; gap: 8px; margin-bottom: 16px; }
.filters select { width: auto; padding: 8px 12px; font-size: .95rem; }
.table-wrap { padding: 0; overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
.list th, .list td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list th { font-size: .84rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.list tr:last-child td { border-bottom: 0; }
.list a { text-underline-offset: 3px; }
.list tr.is-new td:first-child { box-shadow: inset -3px 0 0 var(--accent); }
.empty { text-align: center; color: var(--ink-2); padding: 40px 24px; }
.grade { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-weight: 700; font-size: .95rem; }
.g-A { background: var(--ok-soft); color: var(--ok); }
.g-B { background: var(--warn-soft); color: var(--warn); }
.g-C { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.r-mine { background: var(--accent-soft); color: var(--accent); }
.r-partner { background: #f1ecfa; color: #5b3d99; }
.st-new { background: var(--accent); color: #fff; }
.st-contacted, .st-quoted { background: var(--warn-soft); color: var(--warn); }
.st-won, .st-sold { background: var(--ok-soft); color: var(--ok); }
.st-lost { background: var(--danger-soft); color: var(--danger); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.facts { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.desc { white-space: pre-line; background: var(--soft); border-radius: 8px; padding: 14px 16px; }
.handoff { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 8px; }
.handoff textarea { width: 100%; font: inherit; font-size: .9rem; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--soft); margin-bottom: 10px; }
.danger-zone { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }
.danger-zone summary { color: var(--danger); font-weight: 600; cursor: pointer; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; }
.stat small { color: var(--muted); font-weight: 600; font-size: .88rem; }
.stat b { font: 500 2rem/1.25 var(--serif); }
.stat span { font-size: .86rem; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.funnel td:nth-child(2) { font-weight: 700; }
.funnel td:nth-child(3) { color: var(--muted); }
.worth .big { font-size: 1.3rem; margin-top: 16px; }
.worth .big b { font: 500 2rem var(--serif); color: var(--accent); }
.src { font-size: .88rem; word-break: break-all; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; }
.bar { flex: 1; display: grid; grid-template-rows: 1fr auto; height: 100%; text-align: center; }
.bar i { align-self: end; display: block; background: var(--accent); border-radius: 4px 4px 0 0; min-block-size: 2px; }
.bar small { font-size: .7rem; color: var(--muted); }


/* ---------- accessibility ---------- */
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- direct contact (only rendered when METODA_PHONE is set) ---------- */
.head-phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-size: .94rem; white-space: nowrap; }
.head-phone b { color: var(--ink); }
.head-phone:hover b { color: var(--accent); }
.btn-wa { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.btn-wa:hover { background: #197a42; border-color: #197a42; }
.wa-float { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f8f4e; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.reach-bar { display: none; }

/* ---------- quick contact form ---------- */
.quick { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; scroll-margin-top: 90px; }
.quick h2 { font: 500 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--serif); }
.quick-copy p { color: var(--ink-2); font-size: 1.08rem; }
.quick-direct { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.quick-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.quick-form .field { margin-bottom: 16px; }
.quick-form .consent { font-size: .9rem; margin: 4px 0 16px; }
.quick-note { margin: 12px 0 0; }
.quick-note a { color: var(--accent); }

/* ---------- trust ---------- */
.stats-band { background: var(--ink); color: #fff; padding: 36px 0; }
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; text-align: center; }
.stat-item b { display: block; font: 500 2.6rem/1.1 var(--serif); }
.stat-item span { color: #c8ccd4; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.testimonial .stars { color: #e0a800; letter-spacing: 2px; }
.testimonial blockquote { margin: 0; color: var(--ink-2); line-height: 1.7; }
.testimonial figcaption { display: grid; font-size: .93rem; }
.testimonial figcaption span { color: var(--muted); }

/* ---------- field pages ---------- */
.field-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.field-chips a { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 500; }
.field-chips a:hover { border-color: var(--accent); color: var(--accent); }
.section-head + .field-chips { justify-content: center; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.contact-lines a { color: var(--accent); }
.quick-badge { background: var(--warn-soft); color: var(--warn); font-size: .75rem; vertical-align: middle; }

@media (max-width: 960px) {
  .top-links { display: none; }
  .nav-row { justify-content: space-between; gap: 12px; }
  .nav-row .brand { margin-inline-end: auto; }
  .hero-grid, .feature-row, .svc-hero-grid, .svc-body, .article-grid, .lead-grid, .grid2 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 40px; }
  .float-card { inset-inline-end: 12px; }
  .services, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
  .side-cta.sticky { position: static; }
  .quick { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .head-phone { display: none; }
  .admin-top .nav-row { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px; }
  .admin-tabs { order: 3; width: 100%; overflow-x: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .float-card { width: 250px; padding: 14px 16px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .choice-grid, .row2, .row3, .check-grid { grid-template-columns: minmax(0, 1fr); }
  .req-form { padding: 20px 16px; }
  .step legend { font-size: 1.35rem; }
  .cta-band { padding: 80px 0; }
  .panel { padding: 18px 16px; }
  .inline-cta { padding: 20px; }
}

@media (max-width: 420px) {
  /* Brand + language switcher + call-to-action must fit on one line in every language. */
  .nav-row { gap: 8px; }
  .brand { font-size: 1.3rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; font-size: 1.1rem; }
  .lang-switch summary { padding: 6px 8px; }
  .lang-switch summary span { display: none; }
  .nav-row > .btn-sm { padding: 7px 12px; font-size: .86rem; }
}
@media (max-width: 720px) {
  /* On phones: a bottom bar instead of the floating button - WhatsApp, call, quote. */
  .wa-float { display: none; }
  .reach-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 40; background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); }
  .reach-bar a { padding: 13px 6px; text-align: center; font-weight: 700; text-decoration: none; color: var(--ink); font-size: .95rem; }
  .reach-bar .rb-wa { color: #1f8f4e; }
  .reach-bar .rb-quote { background: var(--ink); color: #fff; }
  body.has-reach { padding-bottom: 52px; }
  .quick-form { padding: 20px 16px; }
}

/* Guide byline (author / reviewer, E-E-A-T) */
.byline { font-size: .9rem; color: var(--muted, #667); margin: -.25rem 0 1rem; }
.part-of { font-size: .95rem; color: var(--muted); margin: -4px 0 18px; }
.part-of a { color: var(--ink-2); font-weight: 600; }
.series { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--line, #e5e7eb); }
.series ul { columns: 2; column-gap: 32px; padding-inline-start: 18px; }
.series li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 640px) { .series ul { columns: 1; } }

/* ---------------------------------------------------------------- offers, prices, about, tools */
.early-cta { margin: 22px 0 28px; padding: 16px 18px; border: 1px solid var(--line-2); border-inline-start: 4px solid var(--accent); border-radius: 10px; background: var(--accent-soft); }
.early-cta p { margin: 0 0 10px; font-size: 1rem; }
.early-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.steps-list { padding-inline-start: 22px; display: grid; gap: 10px; color: var(--ink-2); }
.steps-list b { color: var(--ink); }
.integrity-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: 10px; background: var(--soft); color: var(--ink-2); font-size: .95rem; }
.integrity-note .ic { color: var(--accent); flex: none; margin-top: 3px; }
.price-table-wrap { overflow-x: auto; margin: 28px 0 10px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.price-table thead th { background: var(--soft); font-weight: 700; font-size: .92rem; }
.price-table tbody th { font-weight: 600; white-space: nowrap; }
.price-table tbody th a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.price-table tbody th .ic { color: var(--accent); }
.price-table .price { white-space: nowrap; }
.mt-lg { margin-top: 56px; }
.people { display: grid; gap: 16px; }
.person { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.person .ic { color: var(--accent); flex: none; margin-top: 3px; }
.person span { display: block; color: var(--muted); font-size: .92rem; }
.person p { margin: 6px 0 0; font-size: 1rem; }
.chooser { margin: 28px 0; padding: 28px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -30px rgba(31, 78, 140, .5); }
.chooser-step { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.chooser-q, .chooser-result h2 { font: 500 1.6rem/1.25 var(--serif); margin: 0 0 18px; outline: none; }
.chooser-opts { display: grid; gap: 10px; }
.chooser-opt { text-align: start; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: 500 1.02rem var(--sans); color: var(--ink); cursor: pointer; }
.chooser-opt:hover, .chooser-opt:focus-visible { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.chooser-result p { color: var(--ink-2); }
.chooser-nav { display: flex; gap: 16px; margin-top: 16px; }
@media (max-width: 560px) { .chooser { padding: 20px; } }
