/* The LANtech Group — lantechgroup.com. "Topology" design (chosen 2026-10-17).
   The page is drawn as a network diagram. The logo's ring-and-link language
   becomes the page structure: the firm is the root node, a trunk drops to a
   bus that feeds the three services, and a second bus gathers them into the
   final node, the enquiry form. On phones the diagram becomes a single
   vertical trunk running down the left edge. Nothing moves. */
:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --ink: #0f1a26;
  --ink-2: #4a5765;
  --ink-3: #7b8794;
  --line: #d8dee5;
  --blue: #0071bc;
  --blue-deep: #005a96;
  --btn: #0071bc;          /* button fill: white text stays readable in both modes */
  --btn-hover: #005a96;
  --err: #a3261b;
  color-scheme: light;
  --w: 3px;              /* link weight */
  --ring: 30px;          /* node ring diameter */
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
/* Dark mode follows the visitor's device setting. Same diagram, near-black
   ground, brand blue lifted so the links and rings still read. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --card: #151b23;
    --ink: #e8edf2;
    --ink-2: #a7b2bf;
    --ink-3: #7d8896;
    --line: #27303b;
    --blue: #3b9be0;
    --blue-deep: #6cb8ef;
    --btn: #0071bc;
    --btn-hover: #0a82d1;
    --err: #ff8a80;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ---------------------------------------------------------------- header */
.top { display: flex; justify-content: space-between; align-items: center; padding: 30px 0 0; }
.top img { width: 230px; }
.top .meta { font-size: 14px; color: var(--ink-2); display: flex; gap: 22px; align-items: center; }
.top .meta a { text-decoration: none; color: var(--ink); }
.top .meta a:hover { color: var(--blue); }
.top .go { display: none; }

/* ------------------------------------------------------------ diagram parts */
.ring { width: var(--ring); height: var(--ring); border-radius: 50%; border: 7px solid var(--blue); background: var(--bg); margin: 0 auto; position: relative; z-index: 1; }
.ring.lg { --ring: 54px; border-width: 9px; }
.trunk { width: var(--w); height: 40px; background: var(--blue); margin: 0 auto; }
.bus { position: relative; height: var(--w); margin: 0 calc((100% - 56px) / 6); background: var(--blue); }
.tag { font: 700 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* ------------------------------------------------------------------ root */
.root { text-align: center; padding-top: 34px; }
.root .tag { margin: 16px 0 0; }
.root h1 { font: 800 clamp(44px, 5.4vw, 74px)/1.02 var(--head); letter-spacing: -.035em; margin: 18px auto 0; max-width: none; }
.root h1 .b { color: var(--blue); }
.root .lede { max-width: 34em; margin: 20px auto 0; font-size: 18px; color: var(--ink-2); }
.root .trunk.first { margin-top: 30px; }

/* -------------------------------------------------------------- services */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.svc .node { display: flex; flex-direction: column; align-items: center; }
.svc .node::before { content: ""; width: var(--w); height: 28px; background: var(--blue); }
.svc .node::after { content: ""; width: var(--w); height: 28px; background: var(--blue); }
.svc .card { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px 24px; margin-top: -15px; flex: 1; }
.svc .ring { margin-bottom: 0; }
.svc h2 { font: 700 19px/1.3 var(--head); letter-spacing: -.01em; margin: 10px 0 8px; }
.svc p { margin: 0; font-size: 15px; color: var(--ink-2); }
.svc .tag { color: var(--blue); }

/* --------------------------------------------------------------- contact */
.contact { padding-bottom: 40px; }
.contact .ring.lg { margin-bottom: -27px; }
.panel { background: var(--card); border: 1px solid var(--line); border-top: var(--w) solid var(--blue); border-radius: 6px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.panel .intro { padding: 50px 44px 36px; border-right: 1px solid var(--line); }
.panel h2 { font: 800 32px/1.12 var(--head); letter-spacing: -.025em; margin: 14px 0 14px; }
.panel .intro p { margin: 0; color: var(--ink-2); }
.panel .lines { list-style: none; margin: 28px 0 0; padding: 0; font-size: 15px; }
.panel .lines li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.panel .lines li span { color: var(--ink-3); }
.panel .lines a { text-decoration: none; color: var(--blue-deep); font-weight: 500; }
.panel .lines a:hover { text-decoration: underline; }

form { padding: 50px 44px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; align-content: start; }
form .full { grid-column: 1 / -1; }
form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
form .opt { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
form input, form textarea { display: block; width: 100%; margin-top: 6px; font: 16px/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; }
form input:focus, form textarea:focus { outline: none; border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 3px rgba(0,113,188,.22); }
form textarea { min-height: 118px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { display: flex; align-items: center; gap: 16px; }
button { font: 700 15px/1 var(--head); color: #fff; background: var(--btn); border: 0; border-radius: 4px; padding: 15px 24px; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; }
button:hover { background: var(--btn-hover); }
button .dot { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid #fff; }
.form-err { margin: 0; color: var(--err); font-size: 14px; }

.foot { display: flex; justify-content: space-between; padding: 22px 0 30px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); }

/* =================================================================== phone
   One vertical trunk down the left. Every section hangs off it by a ring.
   Services become a compact list; the form follows directly. */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .top { padding-top: 20px; }
  .top img { width: 178px; }
  .top .meta > :not(.go) { display: none; }
  .top .go { display: inline-block; font: 700 13px/1 var(--head); color: var(--blue); text-decoration: none; border: 2px solid var(--blue); border-radius: 4px; padding: 9px 12px; }

  .flow { position: relative; padding-left: 40px; margin-top: 26px; }
  .flow::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 0; width: var(--w); background: var(--blue); }
  .trunk, .bus { display: none; }
  .ring, .ring.lg { --ring: 28px; border-width: 7px; position: absolute; left: 0; margin: 0; }

  .root { text-align: left; padding-top: 0; position: relative; }
  .root .ring { top: 0; left: -40px; }
  br.d { display: none; }
  .root .tag { margin: 8px 0 0; }
  .root h1 { font-size: 40px; margin-top: 14px; }
  .root .lede { font-size: 16px; margin: 14px 0 0; }

  .svc { display: block; margin-top: 30px; }
  .svc .node { display: block; position: relative; padding: 0 0 18px; }
  .svc .node::before, .svc .node::after { display: none; }
  .svc .ring { --ring: 16px; border-width: 4px; left: -34px; top: 5px; }
  .svc .card { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
  .svc .tag { display: none; }
  .svc h2 { font-size: 16px; margin: 0 0 2px; }
  .svc p { font-size: 14.5px; line-height: 1.5; }

  .contact { position: relative; padding-bottom: 28px; margin-top: 14px; }
  .contact .ring.lg { top: 0; left: -40px; margin: 0; }
  .contact::before { content: ""; position: absolute; left: -40px; top: 26px; bottom: 0; width: 30px; background: var(--bg); }
  .panel .intro .tag { display: none; }
  .panel { display: block; border-radius: 6px; }
  .panel .intro { padding: 18px 20px 2px; border-right: 0; }
  .panel h2 { font-size: 24px; margin: 8px 0 8px; }
  .panel .intro p { font-size: 15px; }
  .panel .lines { display: none; }
  form { grid-template-columns: 1fr; padding: 16px 20px 22px; gap: 12px; }
  form textarea { min-height: 100px; }
  .send { flex-direction: column; align-items: stretch; gap: 10px; }
  button { justify-content: center; }
  .foot { flex-direction: column; gap: 4px; padding: 18px 0 26px; }
}

/* ------------------------------------------------------- thanks / notice page */
.notice { text-align: center; padding: 70px 0 90px; }
.notice h1 { font: 800 clamp(36px, 4.4vw, 56px)/1.05 var(--head); letter-spacing: -.03em; margin: 22px 0 0; }
.notice p { max-width: 30em; margin: 16px auto 0; font-size: 17px; color: var(--ink-2); }
.notice .trunk { margin-top: 0; }
.notice .back { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font: 700 15px/1 var(--head); color: #fff; background: var(--btn); border-radius: 4px; padding: 15px 24px; text-decoration: none; }
.notice .back:hover { background: var(--btn-hover); }
@media (max-width: 760px) { .notice { padding: 44px 0 60px; } .notice p { font-size: 16px; } }
