/* Wiz InfoTech: colours chosen to meet WCAG AA (4.5:1) for body text. */
:root {
  --bg: #1f1d27;
  --surface: #2a2833;
  --surface-2: #33303e;
  --text: #f1f0f5;
  --muted: #c4c2cf;      /* about 9:1 on --bg */
  --accent: #8b6cf6;
  --accent-text: #b9a6ff; /* link colour, about 7:1 on --bg */
  --border: #3d3a49;
  --radius: 14px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(31, 29, 39, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; color: var(--muted); text-decoration: none; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav .nav-cta { color: #fff; background: var(--accent); }
.nav .nav-cta:hover { background: #7a59f0; }
@media (max-width: 520px) { .nav li:not(:last-child) { display: none; } }

/* Hero */
.hero { padding: 72px 0 64px; background: radial-gradient(1000px 400px at 80% -10%, rgba(139, 108, 246, .25), transparent 70%); }
.eyebrow { margin: 0 0 12px; color: var(--accent-text); font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
h1 { margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; max-width: 20ch; }
.lede { margin: 0 0 28px; color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #7a59f0; color: #fff; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }
@media (max-width: 520px) { .btn { width: 100%; text-align: center; } }

/* Sections */
section { scroll-margin-top: 72px; }
.section-title { margin: 0 0 10px; font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.2; }
.section-intro { margin: 0 0 32px; color: var(--muted); }
.services, .about, .contact { padding: 64px 0; }
.about, .contact { border-top: 1px solid var(--border); }
.about p, .contact p { color: var(--muted); }

/* Service cards */
.card { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.card:nth-of-type(even) img { order: 2; }
.card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.card-body { padding: 32px; }
.card-for { margin: 0 0 6px; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); }
.card h3 { margin: 0 0 10px; font-size: 1.4rem; line-height: 1.25; }
.card p { color: var(--muted); margin: 0 0 14px; }
.ticks { margin: 0 0 20px; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.card-link { font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .card { grid-template-columns: 1fr; }
  .card:nth-of-type(even) img { order: 0; }
  .card img { min-height: 0; aspect-ratio: 16 / 9; }
  .card-body { padding: 24px; }
}

/* Contact */
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.contact-list .label { min-width: 120px; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer p { margin: 0; }
