/* E Technical public site */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #0b1530;
  --text: #3a4560;
  --muted: #64708a;
  --blue: #1f5fe0;
  --blue-dark: #174bb5;
  --tint: #eaf1fe;
  --band: #f4f6fa;
  --line: #e1e6ef;
  --field: #b9c2d3;
  --paper: #fff;
  --err: #b3261e;
  --r: 10px;
  --r-lg: 16px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, legend { color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
p, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--r); z-index: 30; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 2px solid var(--blue); border-radius: var(--r); background: var(--blue); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.15s, border-color 0.15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.97rem; }
.btn.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.btn-quiet:hover { border-color: var(--field); }
.btn.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn.btn-ghost:hover { border-color: #fff; background: transparent; }
.btn.btn-white { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn.btn-white:hover { background: var(--tint); border-color: var(--tint); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 1.15rem; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.top nav { display: flex; align-items: center; gap: 26px; }
.nav-link { color: var(--text); text-decoration: none; font-size: 0.98rem; font-weight: 500; }
.nav-link:hover { color: var(--blue); }
.tel { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tel:hover { color: var(--blue); }

/* Hero */
.hero { background: var(--ink); color: #c5cfe4; padding: 72px 0 80px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 64px; align-items: center; }
h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; max-width: 16ch; }
.lede { margin-top: 20px; font-size: 1.2rem; max-width: 40ch; }
.ticks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 10px; color: #fff; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.4l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-start { display: none; }

/* Request form */
.ticket { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 24px 60px rgba(2, 8, 28, 0.35); }
.ticket-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ticket-head h2 { font-size: 1.45rem; }
.count { color: var(--muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 22px; }
.bar i { height: 4px; background: var(--line); border-radius: 2px; }
.bar i.on { background: var(--blue); }
.sent .ticket-head, .sent .bar, .sent .step, .sent .ticket-foot, .sent .status { display: none; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: 1.15rem; margin-bottom: 12px; }
.step > * + * { margin-top: 16px; }
.step > legend + * { margin-top: 0; }
.hint { color: var(--muted); font-size: 0.94rem; }
.step > .hint { margin-top: 6px; }
legend + .hint { margin: -6px 0 14px; }

label, .group-label { display: block; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
label small { color: var(--muted); font-weight: 400; font-size: inherit; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid var(--field); border-radius: var(--r); background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; font-weight: 400;
}
textarea { resize: vertical; min-height: 100px; }
input::placeholder { color: #94a0b6; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--tint); outline-offset: 0; border-color: var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pick { position: relative; font-weight: 500; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 12px; border: 1.5px solid var(--field); border-radius: var(--r); color: var(--ink); line-height: 1.25; transition: border-color 0.15s, background-color 0.15s; }
.pick span::before { content: ''; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--field); border-radius: 5px; background: #fff; }
.pick input:checked + span { border-color: var(--blue); background: var(--tint); }
.pick input:checked + span::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3.2L14 5.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.pick:hover span { border-color: var(--blue); }
.chip span { min-height: 44px; padding: 8px 16px; border-radius: 999px; }
.chip span::before { display: none; }

.status { margin-top: 14px; font-size: 0.97rem; color: var(--muted); }
.status:empty { margin-top: 0; }
.status.err { color: var(--err); font-weight: 600; }
.ticket-foot { display: flex; gap: 10px; margin-top: 20px; }
.ticket-foot .btn:not(.btn-quiet) { flex: 1; }

.done h2 { font-size: 1.6rem; }
.done > * + * { margin-top: 14px; }
.done:focus { outline: none; }
.next-steps { margin: 20px 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 12px; }
.next-steps li { counter-increment: n; display: flex; gap: 12px; align-items: flex-start; }
.next-steps li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--blue-dark); font-weight: 700; font-size: 0.9rem; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--band); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section h2, .cta h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; }
.sub { margin-top: 12px; font-size: 1.12rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; scroll-margin-top: 96px; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.25rem; }
.card p { margin-top: 8px; }
.card ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 0.97rem; }
.card li { position: relative; padding-left: 18px; }
.card li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.card > a { margin-top: auto; font-weight: 650; text-decoration: none; }
.card > a:hover { text-decoration: underline; }

/* Who we work with */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 30px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.panel h3 { font-size: 1.3rem; }
.panel p { margin-top: 10px; }

/* Steps */
.steps { padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--blue); font-weight: 750; font-size: 1.6rem; letter-spacing: -0.02em; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px solid var(--line); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 8px; font-size: 0.98rem; }

/* Closing call to action */
.cta { background: var(--blue); color: #dfe9ff; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { margin-top: 10px; font-size: 1.1rem; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.foot { background: var(--ink); color: #aab5cd; padding: 44px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand strong { display: block; color: #fff; }
.foot-brand span { font-size: 0.95rem; }
.contact { display: grid; gap: 4px; text-align: right; }
.contact a { color: #fff; font-weight: 600; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.foot small { width: 100%; font-size: 0.9rem; color: #7f8ba6; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* Phone bar */
.dock { display: none; }

@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-in { gap: 40px; }
}
@media (max-width: 940px) {
  .hero { padding: 44px 0 56px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-start { display: inline-flex; }
  h1 { max-width: 18ch; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-link { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .tel { display: none; }
  .cards, .pair, .steps, .picks, .two { grid-template-columns: 1fr; }
  .steps { gap: 24px; }
  .ticket { padding: 22px 18px; }
  .hero-actions .btn { flex: 1; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .contact { text-align: left; }
  body { padding-bottom: 76px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 21, 48, 0.08); }
  .dock .btn { flex: 1; min-height: 48px; padding: 0 12px; }
  .dock .btn-ghost { color: var(--ink); border-color: var(--field); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pick span { transition: none; }
}
