/* InfraLab — engineering landing page.
   One look (light, white ground). Tokens first, then layout, then sections. */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --ink: #0b1220;
  --ink-2: #3b4658;
  --muted: #667085;
  --line: #e3e8ef;
  --line-strong: #cfd6e1;

  --accent: #1447e6;
  --accent-ink: #0f35b0;
  --accent-soft: #eaf0ff;

  --navy: #0b1b3f;
  --navy-2: #13275a;
  --on-navy: #ffffff;
  --on-navy-2: #b9c4dc;

  --ok: #067a3a;
  --ok-soft: #e3f6ea;
  --alarm: #d03b3b;

  /* chart series — validated (dataviz validator, light, surface #fff, all pairs) */
  --s1: #2a78d6;
  --s2: #eb6834;
  --s3: #1baf7a;

  --font-sans: "Inter", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --track-head: -0.02em;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 8px 24px rgba(11, 18, 32, 0.06);
}

:root:lang(ka) {
  --font-sans: "Noto Sans Georgian", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track-head: 0;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: var(--track-head); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; color: #fff; }

.draft-banner {
  background: #fff4d6; color: #5c4200; border-bottom: 1px solid #f1d88f;
  font-size: 0.875rem; line-height: 1.4; text-align: center;
  padding-block: 8px; padding-inline: var(--gutter);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn:active { transform: translateY(1px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.01em; font-family: "Inter", var(--font-sans); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang a { padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }

@media (max-width: 1080px) { .nav { display: none; } .header-actions { margin-inline-start: auto; } }
@media (max-width: 480px) { .header-call { display: none; } .header-inner { gap: 12px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(20, 71, 230, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 71, 230, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-block: clamp(48px, 8vw, 104px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--accent-ink);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; }
:root:lang(ka) .hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.875rem); line-height: 1.25; }
.hero h1 .h1-b { display: block; color: var(--accent); }
.hero .lead { margin-top: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ink-2); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }

/* monitor illustration */
.monitor {
  margin: 0; background: var(--navy); color: var(--on-navy); border-radius: 18px;
  padding: 20px; box-shadow: 0 30px 60px -20px rgba(11, 27, 63, 0.45);
  font-family: var(--font-mono);
}
.monitor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.75rem; color: var(--on-navy-2); }
.monitor-live { display: inline-flex; align-items: center; gap: 8px; }
.monitor-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2); }
.monitor-tag { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 2px 8px; }
.monitor-object { margin-top: 10px; font-family: var(--font-sans); font-size: 0.875rem; color: var(--on-navy); }
.monitor-plot { margin-top: 14px; background: var(--navy-2); border-radius: 10px; padding: 8px; }
.monitor-plot svg { width: 100%; height: auto; }
.monitor-readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.readout { background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.readout-label { display: block; font-size: 0.6875rem; color: var(--on-navy-2); font-family: var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.readout-value { display: block; margin-top: 2px; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.readout-value small { font-size: 0.6875rem; color: var(--on-navy-2); font-weight: 400; margin-inline-start: 3px; }
.monitor-status { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--font-sans); font-size: 0.875rem; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(61, 220, 132, 0.14); color: #7ff0b0; border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.status-pill svg { width: 14px; height: 14px; }
.monitor figcaption { margin-top: 12px; font-size: 0.6875rem; color: var(--on-navy-2); font-family: var(--font-sans); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .monitor { max-width: 560px; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--accent-ink); margin-bottom: 12px; }
.section h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); }
:root:lang(ka) .section h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.3; }
.section-lead { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1875rem; margin-top: 18px; }
.card p { margin-top: 10px; color: var(--ink-2); }

/* risks */
.risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.risk-card .icon { background: #fdecec; color: var(--alarm); }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-num { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted); }
.service-tag { display: inline-block; margin-top: 18px; font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; align-self: flex-start; }
.service-card h3 { margin-top: 12px; font-size: 1.3125rem; }
.checks { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.service-card p + .checks { margin-top: 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink); }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
.section-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-cta p { color: var(--muted); font-size: 0.9375rem; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--accent);
  color: var(--accent); font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; z-index: 1;
}
.step::after { content: ""; position: absolute; top: 21px; left: 52px; right: -12px; height: 2px; background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.125rem; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }

/* trust */
.trust-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.trust-list { display: grid; gap: 16px; }
.trust-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.trust-item h3 { margin-top: 0; font-size: 1.0625rem; }
.trust-item p { margin-top: 4px; font-size: 0.9375rem; }
.scheme { margin: 0; display: flex; flex-direction: column; }
.scheme-art { flex: 1; display: grid; place-items: center; background: var(--bg-alt); border-radius: 10px; padding: 12px; min-height: 240px; }
.scheme-art svg, .scheme-art img { width: 100%; height: auto; border-radius: 6px; }
.scheme figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.scheme figcaption strong { color: var(--ink); display: block; font-size: 0.9375rem; }
.scheme .credit { display: block; font-size: 0.75rem; margin-top: 4px; }

.spec-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.spec { padding: 18px 20px; border-inline-start: 1px solid var(--line); min-width: 0; }
.spec:first-child { border-inline-start: 0; }
.spec-value { display: block; font-family: var(--font-mono); font-size: 1.25rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-value small { font-size: 0.8125rem; color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
.spec-label { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }

/* DIN chart */
.din-card { margin-top: 24px; }
.din-card h3 { margin-top: 0; font-size: 1.25rem; }
.din-card .chart-sub { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 0.875rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend-key { width: 18px; height: 3px; border-radius: 2px; background: currentColor; flex: none; }
.chart-wrap { position: relative; margin-top: 12px; }
.chart-scroll { overflow-x: auto; }
.din-chart { width: 100%; min-width: 560px; height: auto; font-family: var(--font-mono); touch-action: pan-y; }
.din-chart--compact { display: none; min-width: 0; }
@media (max-width: 640px) {
  .din-chart--full { display: none; }
  .din-chart--compact { display: block; }
}
.din-chart .grid line { stroke: var(--line); stroke-width: 1; }
.din-chart .axis line, .din-chart .axis path { stroke: var(--line-strong); stroke-width: 1; }
.din-chart .tick text { fill: var(--muted); font-size: 12px; }
.din-chart .axis-title { fill: var(--muted); font-size: 12px; font-family: var(--font-sans); }
.din-chart .series { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.din-chart .end-dot { stroke: #fff; stroke-width: 2; }
.din-chart .direct-label { fill: var(--ink-2); font-size: 12px; font-family: var(--font-sans); }
.din-chart .crosshair { stroke: var(--ink-2); stroke-width: 1; }
.din-chart .hover-dot { stroke: #fff; stroke-width: 2; }
.din-chart .hit { fill: transparent; cursor: crosshair; }
.chart-tooltip {
  position: absolute; pointer-events: none; z-index: 5; min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  padding: 10px 12px; font-size: 0.8125rem; color: var(--ink);
}
.chart-tooltip .tt-head { font-family: var(--font-mono); color: var(--muted); margin-bottom: 6px; }
.chart-tooltip .tt-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; line-height: 1.6; }
.chart-tooltip .tt-key { width: 10px; height: 10px; border-radius: 50%; }
.chart-tooltip .tt-val { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; }
.chart-note { margin-top: 12px; font-size: 0.8125rem; color: var(--muted); }
.chart-table { margin-top: 12px; }
.chart-table summary { cursor: pointer; font-size: 0.875rem; color: var(--accent); font-weight: 600; }
.table-scroll { overflow-x: auto; margin-top: 12px; }
.chart-table table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.chart-table th, .chart-table td { text-align: start; padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.chart-table td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.chart-table th[scope="row"] { font-family: var(--font-sans); font-weight: 500; white-space: normal; }

/* faq */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding-block: 20px; font-weight: 600; font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-inline-end: 4px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item p { padding-bottom: 20px; color: var(--ink-2); max-width: 68ch; }

/* contact */
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-dark .kicker { color: #9db5ff; }
.section-dark .section-lead { color: var(--on-navy-2); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-layout .section-head { margin-bottom: 0; }
.contact-price { margin-top: 24px; display: inline-flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 8px 16px; font-size: 0.9375rem; color: var(--on-navy); }
.contact-list { display: grid; gap: 12px; }
.contact-link {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius);
  padding: 14px 18px; color: var(--on-navy); text-decoration: none; transition: border-color .15s, background-color .15s;
}
a.contact-link:hover { border-color: rgba(255, 255, 255, 0.35); color: var(--on-navy); }
.contact-link .icon { background: rgba(255, 255, 255, 0.08); color: #fff; }
.contact-label { display: block; font-size: 0.8125rem; color: var(--on-navy-2); }
.contact-value { display: block; font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.contact-arrow { width: 20px; height: 20px; color: var(--on-navy-2); }
.contact-link.is-static .contact-arrow { display: none; }

/* footer */
.site-footer { background: #07122b; color: var(--on-navy-2); font-size: 0.875rem; padding-block: 40px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.site-footer .brand { color: #fff; }
.site-footer p { margin-top: 10px; }
.footer-langs { display: flex; gap: 16px; }
.footer-langs a { color: var(--on-navy-2); }
.footer-langs a:hover { color: #fff; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.8125rem; }

/* mobile sticky call bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 76px; }
}

/* ---------- responsive grids ---------- */
@media (max-width: 960px) {
  .risk-grid, .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .step:nth-child(2)::after { display: none; }
  .trust-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { border-inline-start: 0; border-top: 1px solid var(--line); }
  .spec:nth-child(-n+2) { border-top: 0; }
  .spec:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .spec:last-child { grid-column: 1 / -1; border-inline-start: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 0; padding-inline-start: 64px; min-height: 44px; }
  .step::after { display: none; }
  .cta-row .btn { flex: 1 1 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .monitor { padding: 14px; }
  .readout { padding: 8px 10px; }
  .readout-value { font-size: 1rem; }
}

@media print {
  .site-header, .mobile-bar, .draft-banner, .monitor { display: none; }
  .section-dark, .site-footer { background: #fff; color: #000; }
}

/* ---------------- accreditation badge ---------------- */
.acc-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 10px 16px;
  background: var(--accent-soft); border: 1px solid #c9d8ff; border-radius: 999px;
  color: var(--accent-ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.35;
}
.acc-badge svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px) { .acc-badge { border-radius: var(--radius); } }

/* ---------------- request page ---------------- */
.request-section { padding-top: clamp(32px, 5vw, 56px); }
.request-layout { display: grid; gap: clamp(20px, 3vw, 28px); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.request-layout .section-head { grid-column: 1 / -1; max-width: 820px; margin-bottom: 8px; }
.request-layout h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
@media (max-width: 900px) { .request-layout { grid-template-columns: 1fr; } }

.field-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9375rem; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.field-tag { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.field-tag.is-required { color: var(--accent-ink); }

.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9aa4b5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--alarm); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { color: var(--muted); font-size: 0.9375rem; margin: 0; flex: 1 1 220px; }
.form-error { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecec; border: 1px solid #f3c2c2; color: #9b2222; font-size: 0.9375rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.request-aside { background: var(--bg-alt); position: sticky; top: calc(var(--header-h) + 16px); }
.request-aside h2 { font-size: 1.125rem; }
.request-aside .checks { margin-top: 16px; }
.aside-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.aside-contact p { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 14px; }
.aside-contact .cta-row { gap: 10px; }
@media (max-width: 900px) { .request-aside { position: static; } }

.request-done { grid-column: 1 / -1; text-align: center; padding: clamp(32px, 6vw, 56px); }
.request-done .icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.request-done .icon svg { width: 28px; height: 28px; }
.request-done h2 { margin-top: 18px; font-size: 1.5rem; }
.request-done p { margin: 12px auto 24px; color: var(--ink-2); max-width: 46ch; }
.request-done:focus { outline: none; }

/* contact section call-to-action (dark) */
.contact-cta { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.contact-cta p { color: var(--on-navy-2); font-size: 0.9375rem; margin: 0; flex: 1 1 260px; }
.field-grid { align-items: end; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.back-link:hover { color: var(--accent-ink); }
.back-link .back-arrow { width: 18px; height: 18px; transform: rotate(180deg); }

/* Top menu: one line, never wrapped. Georgian labels are the longest, so that
   language gives up the inline menu a little earlier than the others. */
.nav a { white-space: nowrap; }
.nav ul { flex-wrap: nowrap; }
@media (max-width: 1240px) { :root:lang(ka) .nav { display: none; } :root:lang(ka) .header-actions { margin-inline-start: auto; } }
