/* ============================================================
   HCR Labs — Game Console Repair Specialists, London
   Design language: "diagnostic readout" — dark terminal-style
   surface, single signal-blue accent, monospace for identity
   and status/error codes, clean sans for reading copy.
   ============================================================ */

:root{
  --bg:        #101B33;
  --surface:   #16213E;
  --surface-2: #1C2C52;
  --line:      #2A3B60;
  --text:      #F2F5FA;
  --text-muted:#93A2C2;
  --accent:    #38BDF8;   /* signal blue — CTAs, links, focus */
  --accent-ink:#0B4C6B;
  --ok:        #22C55E;   /* status dot: minor / low-cost fix */
  --warn:      #F5A524;   /* status dot: moderate */
  --err:       #F0483E;   /* status dot: major fault */
  --radius: 4px;
  --max: 1120px;

  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --font-sans: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--accent); text-decoration-thickness: 1px; }
a:hover{ color: #7CD4FB; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; animation: none !important; }
}

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section{ padding: 48px 0; }
section + section{ border-top: 1px solid var(--line); }

/* ---------- Header / nav ---------- */
header.site{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16,27,51,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.brand-mark{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}
.brand-dot{ color: var(--accent); }
.brand-sub{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  display: none;
}
@media (min-width: 560px){ .brand-sub{ display: inline; } }

.nav-phone{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  order: 2;
}
.nav-toggle{ display: none; }
.nav-burger{
  display: none;
  order: 3;
  width: 32px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav-burger span{
  display: block;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}
nav.nav-links{
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
  order: 4;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 4px;
}
nav.nav-links a{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: var(--radius);
}
nav.nav-links a:hover, nav.nav-links a.current{
  background: var(--surface-2);
  color: #FFFFFF;
}
@media (max-width: 720px){
  .nav-burger{ display: flex; }
  nav.nav-links{ display: none; flex-direction: column; }
  .nav-toggle:checked ~ nav.nav-links{ display: flex; }
}

/* ---------- Hero ---------- */
.hero{
  padding: 56px 0 44px 0;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(56,189,248,0.14), transparent 60%),
    var(--bg);
}
.hero h1{
  font-family: var(--font-mono);
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px 0;
  max-width: 20ch;
}
.hero p.lead{
  font-size: 17px;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 22px 0;
}
.hero-ctas{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.badge b{ color: var(--accent); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary{ background: var(--accent); color: #06222F; }
.btn-primary:hover{ background: #63CBFA; color: #06222F; }
.btn-ghost{ background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- Section headings ---------- */
h2.section-title{
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  margin: 0 0 8px 0;
}
p.section-lead{
  color: var(--text-muted);
  max-width: 68ch;
  margin: 0 0 28px 0;
}

/* ---------- Brand cards (home) ---------- */
.brand-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){
  .brand-grid{ grid-template-columns: repeat(3, 1fr); }
}
.brand-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-card:hover{ border-color: var(--accent); }
.brand-card .icon{ color: var(--accent); }
.brand-card h3{
  font-family: var(--font-mono);
  font-size: 17px;
  margin: 0;
  color: #FFFFFF;
}
.brand-card p{ margin: 0; color: var(--text-muted); font-size: 14px; }
.brand-card .from{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-top: auto;
}

/* ---------- Fault / price list ---------- */
.fault-list{
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fault-list li{
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.fault-list li:last-child{ border-bottom: none; }
.fault-list .fault-name{
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--ok);
}
.dot.warn{ background: var(--warn); }
.dot.err{ background: var(--err); }
.fault-price{
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------- Info blocks ---------- */
.block{ max-width: 68ch; color: var(--text); margin: 0 0 16px 0; }
.text-muted{ color: var(--text-muted); }

/* ---------- Quote form ---------- */
.quote-panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 560px;
}
.form-row{ margin-bottom: 14px; }
.form-row label{
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.form-row-2{
  display: grid;
  gap: 14px;
}
@media (min-width: 480px){
  .form-row-2{ grid-template-columns: 1fr 1fr; }
}
.input, select.input, textarea.input{
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 11px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}
textarea.input{ resize: vertical; min-height: 90px; }
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error{
  background: rgba(240,72,62,0.12);
  border: 1px solid var(--err);
  color: #FCA5A5;
  font-size: 14px;
  padding: 11px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.submit-btn{
  width: 100%;
  background: var(--accent);
  color: #06222F;
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 13px 14px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 6px;
}
.submit-btn:hover{ background: #63CBFA; }

/* ---------- Contact strip ---------- */
.contact-strip{
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.contact-strip p{ margin: 0 0 6px 0; }
.contact-strip .addr{ font-size: 15px; }
.contact-strip .cta-line a{ font-family: var(--font-mono); font-weight: 600; }

/* ---------- Footer ---------- */
footer.site{
  border-top: 1px solid var(--line);
  padding: 26px 0 34px 0;
  margin-top: 8px;
}
footer.site .wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
}
footer.site p{
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
footer.site a{ color: var(--text-muted); }
footer.site a:hover{ color: var(--accent); }

/* ---------- Utility ---------- */
.grid-2{ display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 860px){ .grid-2{ grid-template-columns: 1.4fr 1fr; align-items: start; } }
