/* Wysoko.org — site styles. No framework, no web fonts: fast first paint. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --text: #0f1b33;
  --muted: #4c5b78;
  --line: #dfe6f2;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --brand-ink: #1d4ed8;
  --accent: #f59e0b;
  --ok: #059669;
  --err: #dc2626;
  --hero-1: #0b1b3f;
  --hero-2: #10307a;
  --on-hero: #e8eefc;
  --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 8px 24px rgba(15, 27, 51, .07);
  --shadow-lg: 0 2px 6px rgba(15, 27, 51, .08), 0 24px 48px rgba(15, 27, 51, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1224;
    --bg-alt: #0e182e;
    --surface: #111d36;
    --surface-2: #16244a;
    --text: #e6ecf8;
    --muted: #a3b1cc;
    --line: #22325a;
    --brand: #5b8cff;
    --brand-2: #22d3ee;
    --brand-ink: #8fb0ff;
    --hero-1: #060d1f;
    --hero-2: #0c2160;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
main:focus { outline: none; }

/* ── buttons & links ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent;
  background: linear-gradient(135deg, var(--brand), #3b5bfd 55%, var(--brand-2)); color: #fff; font-weight: 650; font-size: .98rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .28); transition: transform .15s ease, box-shadow .15s ease; font-family: inherit; line-height: 1.2; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 99, 235, .36); }
.btn-ghost { background: transparent; color: var(--brand-ink); border-color: currentColor; box-shadow: none; }
.btn-ghost:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); box-shadow: none; }
.btn-light { background: #fff; color: #10307a; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn-light:hover { color: #0b1b3f; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.04rem; }
.link { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; text-decoration: none; color: var(--brand-ink); }
.link svg { transition: transform .15s; }
.link:hover svg, .card:hover .link svg { transform: translateX(3px); }
.tag { display: inline-block; font-size: .76rem; font-weight: 650; letter-spacing: .02em; padding: .18em .65em; border-radius: 999px; background: var(--surface-2); color: var(--brand-ink); }

/* ── header ──────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-name span { color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: block; padding: .5em .8em; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 560; font-size: .97rem; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--brand-ink); background: var(--surface-2); }
.sub-toggle { background: none; border: 0; color: var(--muted); padding: 6px 4px; margin-left: -6px; cursor: pointer; border-radius: 6px; display: inline-flex; }
.sub { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; }
.sub a { display: flex; align-items: center; gap: 10px; padding: .55em .7em; font-size: .94rem; }
.sub svg { color: var(--brand); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .88rem; text-decoration: none; color: var(--muted); padding: .4em .6em; border-radius: 8px; }
.lang:hover { color: var(--brand-ink); background: var(--surface-2); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 7px; cursor: pointer; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 68px 0 auto 0; max-height: calc(100dvh - 68px); overflow: auto; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .18s ease; }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-list > li > a { flex: 1; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; width: 100%; background: transparent; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub-toggle { padding: 10px; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .nav-actions { justify-content: space-between; }
}

/* ── hero ────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; color: var(--on-hero); background:
  radial-gradient(900px 500px at 85% -10%, rgba(6, 182, 212, .35), transparent 60%),
  radial-gradient(700px 500px at -10% 110%, rgba(91, 140, 255, .35), transparent 60%),
  linear-gradient(160deg, var(--hero-1), var(--hero-2)); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-hero); font-size: 1.15rem; max-width: 36em; opacity: .92; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 650; letter-spacing: .02em; padding: .4em .9em; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #cfe3ff; margin-bottom: 18px; }
.eyebrow svg { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.hero .btn-ghost { color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.hero-visual { position: relative; }
.mock { background: rgba(255, 255, 255, .96); border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); overflow: hidden; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #eef2f9; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-left: 10px; font-size: .78rem; color: #64748b; background: #fff; border-radius: 6px; padding: 2px 10px; }
.mock-body { padding: 22px; }
.mock-line { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #2563eb, #06b6d4); margin-bottom: 10px; }
.mock-line.w70 { width: 70%; } .mock-line.w45 { width: 45%; opacity: .35; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.mock-cards div { height: 64px; border-radius: 10px; background: #eef3fb; }
.mock-chart { color: #2563eb; height: 70px; background: linear-gradient(180deg, rgba(37,99,235,.08), transparent); border-radius: 10px; padding: 6px; }
.mock-chart svg { width: 100%; height: 100%; }
.badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: .55em .9em; border-radius: 12px; background: #fff; color: #0f1b33; font-weight: 700; font-size: .88rem; box-shadow: 0 16px 32px rgba(0,0,0,.25); }
.badge svg { color: #2563eb; }
.badge.b1 { left: -18px; bottom: 26px; } .badge.b2 { right: -10px; top: -14px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 460px; } .badge.b1 { left: 8px; } .badge.b2 { right: 8px; } }

/* ── sections ────────────────────────────────────────────────────── */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section.tight { padding: clamp(32px, 4vw, 48px) 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head.row h2 { margin: 0; display: inline-flex; align-items: center; gap: 10px; }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card.soft { background: var(--bg-alt); box-shadow: none; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px rgba(37, 99, 235, .28); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched { color: var(--text); text-decoration: none; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-n { position: absolute; right: 22px; top: 14px; font-size: 3.2rem; font-weight: 900; line-height: 1; color: var(--surface-2); }
.step p { color: var(--muted); }

.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .16s ease, border-color .16s; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.service-card:hover h3 a { color: var(--brand-ink); }

/* ── page head ───────────────────────────────────────────────────── */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); background:
  radial-gradient(800px 300px at 90% -40%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 70%),
  linear-gradient(180deg, var(--bg-alt), var(--bg)); border-bottom: 1px solid var(--line); }
.page-head-row { display: flex; align-items: center; gap: 16px; }
.page-head-row h1 { margin: 0; }
.head-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.page-head .lead { font-size: 1.16rem; color: var(--muted); max-width: 46em; margin: 18px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .9rem; margin: 16px 0 0; }
.meta span, p.meta { display: inline-flex; align-items: center; gap: 6px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.notice { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); font-size: .95rem; }
.notice svg { color: var(--accent); margin-top: 3px; }

/* ── packages / prose / tables ───────────────────────────────────── */
.packages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.packages.count-6 { grid-template-columns: repeat(3, 1fr); }
.package { display: flex; flex-direction: column; }
.package p { color: var(--muted); flex: 1; }
.package .btn { align-self: flex-start; }
.package.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.package.featured::before { content: "★"; position: absolute; top: -14px; right: 22px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: .9rem; }

.prose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px 40px; }
.prose-block h2 { font-size: 1.45rem; }
.prose-block p { color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--ok) 15%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.process { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; gap: 10px; }
.process li { counter-increment: p; position: relative; padding: 10px 14px 10px 54px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.process li::before { content: counter(p); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .9rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.compare th, .compare td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { background: var(--hero-2); color: #fff; font-weight: 700; }
.compare th[scope=row], .compare .label { text-align: left; font-weight: 560; }
.compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th[scope=row] { background: color-mix(in srgb, var(--bg-alt) 70%, transparent); }
.compare tr.group th { text-align: left; background: var(--surface-2); color: var(--brand-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.compare tr.price th, .compare tr.price td { font-weight: 800; font-size: 1.05rem; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); } .compare .no { color: var(--line); }
.extras { margin-top: 24px; }
.extras h3 { font-size: 1.05rem; }
.extras dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0; }
.extras dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.extras dd { margin: 0; font-weight: 750; white-space: nowrap; }
.fine { color: var(--muted); font-size: .86rem; margin-top: 14px; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); }

/* ── portfolio ───────────────────────────────────────────────────── */
.portfolio-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.work figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.work figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.work img, .work-ph { aspect-ratio: 800 / 697; width: 100%; object-fit: cover; object-position: top; background: var(--surface-2); }
.work-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); color: #fff; font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }
.work figcaption { padding: 20px 22px 22px; }
.work figcaption h3 { margin-bottom: 2px; }
.work-domain { color: var(--brand-ink); font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.work figcaption p { color: var(--muted); font-size: .95rem; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }

/* ── news ────────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card h3 a { color: var(--text); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card:hover h3 a { color: var(--brand-ink); }
.news-body { padding: 20px 22px 22px; }
.news-body p:last-child { color: var(--muted); font-size: .96rem; margin: 0; }
.news-cover { height: 120px; display: grid; place-items: center; color: rgba(255,255,255,.95);
  background: radial-gradient(300px 120px at 80% 0, rgba(6,182,212,.55), transparent 70%), linear-gradient(135deg, var(--hero-1), var(--hero-2)); }
.news-cover.cat-seo { background: radial-gradient(300px 120px at 80% 0, rgba(245,158,11,.5), transparent 70%), linear-gradient(135deg, #0b1b3f, #1e3a8a); }
.news-cover.cat-webdev { background: radial-gradient(300px 120px at 80% 0, rgba(52,211,153,.5), transparent 70%), linear-gradient(135deg, #062e3f, #0e5a7a); }
.news-card.is-archived .news-cover { filter: saturate(.35); }
.news-cover.big { height: 100%; min-height: 220px; border-radius: var(--radius-sm); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.news-lead { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.news-lead h2 a { color: var(--text); text-decoration: none; }
.news-lead h2 a:hover { color: var(--brand-ink); }
.news-lead p { color: var(--muted); }
@media (max-width: 760px) { .news-lead { grid-template-columns: 1fr; } .news-cover.big { min-height: 140px; } }

.article .page-head h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.prose { font-size: 1.08rem; padding: 28px 0 56px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose code { font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }

/* ── contact ─────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.contact-aside { display: grid; gap: 20px; }
.contact-aside h2, .contact-form h2 { font-size: 1.3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .7em .85em; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field [aria-invalid=true], .check [aria-invalid=true] { border-color: var(--err); }
.field-err { color: var(--err); font-size: .86rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 4px 0 20px; }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.alert.ok { background: color-mix(in srgb, var(--ok) 12%, var(--bg)); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line)); }
.alert.err { background: color-mix(in srgb, var(--err) 10%, var(--bg)); color: var(--err); border: 1px solid color-mix(in srgb, var(--err) 35%, var(--line)); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { color: var(--brand); margin-top: 3px; }
.contact-list span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.mini-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-links a { text-decoration: none; }

/* ── CTA / footer / errors ───────────────────────────────────────── */
.cta-band { color: #fff; background: radial-gradient(700px 300px at 100% 0, rgba(6, 182, 212, .45), transparent 70%), linear-gradient(135deg, #10307a, #2563eb); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.cta-inner h2 { color: #fff; margin-bottom: .25em; }
.cta-inner p { margin: 0; opacity: .9; font-size: 1.08rem; }

.site-footer { background: var(--hero-1); color: #b8c4dd; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer a { color: #dbe5fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-h { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #8ea0c4; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; display: grid; gap: 8px; }
.site-footer address a, .site-footer address span, .rss { display: inline-flex; align-items: center; gap: 8px; }
.footer-news li { display: grid; gap: 2px; }
.footer-news time { font-size: .8rem; color: #8ea0c4; }
.rss { margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.langs { display: flex; gap: 14px; }
.langs a[aria-current] { color: #fff; font-weight: 700; }

.error-page .err-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .lead { color: var(--muted); }

@media (max-width: 900px) {
  .steps, .packages, .packages.count-6 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 900px) {
  .packages.count-6 { grid-template-columns: 1fr 1fr; }
}
@media print {
  .site-header, .site-footer, .cta-band, .hero-visual { display: none; }
  body { font-size: 12pt; }
}

/* ── articles with images ───────────────────────────────────────── */
.news-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.news-lead-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
.cat-nav a { display: inline-flex; align-items: center; gap: 6px; padding: .4em .9em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cat-nav a span { color: var(--muted); font-weight: 500; font-size: .85em; }
.cat-nav a:hover { border-color: var(--brand); color: var(--brand-ink); }
.cat-nav a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cat-nav a[aria-current] span { color: rgba(255,255,255,.8); }
a.tag { text-decoration: none; }
.article-head { border-bottom: 0; }
.hero-figure { margin-top: -8px; margin-bottom: 8px; }
.hero-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.tldr { margin: 28px 0 8px; padding: 20px 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); }
.tldr h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-ink); margin-bottom: 12px; }
.toc { margin: 20px 0 0; padding: 18px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt); }
.toc h2 { font-size: 1.05rem; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2 { scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); }
.article-faq { margin: 8px 0 32px; }
.article-services { margin: 0 0 32px; }
.article-services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.article-services a { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.article-services a:hover { border-color: var(--brand); transform: translateY(-1px); }
.article-services small { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.card-icon.sm { width: 38px; height: 38px; border-radius: 10px; margin: 0; flex: none; }
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin: 0 0 56px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.author-box p { margin: 0; color: var(--muted); font-size: .96rem; }
.author-box .author-name { color: var(--text); font-weight: 750; margin-bottom: 4px; }
