/* ============================================================
   PC1zone Computers — shared styles
   No external fonts, libraries, or CDNs. System fonts only.
   ============================================================ */

:root {
  --brand: #A00D08;
  --brand-dark: #7d0a06;
  --brand-tint: #fbf1f0;
  --ink: #211b1a;
  --muted: #6c6360;
  --line: #e8e2e1;
  --bg: #ffffff;
  --surface: #faf7f7;

  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Cambria, serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;

  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(33, 27, 26, .05), 0 14px 30px -18px rgba(33, 27, 26, .25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Thin brand bar across the very top */
.topbar { height: 4px; background: var(--brand); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

a { color: var(--brand); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

/* Wordmark */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -.01em;
}
.brand .mark {
  font-family: var(--mono);
  font-size: .95em;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
  padding: 0 .28em;
  margin: 0 1px;
  line-height: 1.25;
  transform: translateY(-1px);
}
.brand small {
  display: inline;
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
}
.nav-links a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.nav-links a[aria-current="page"] { color: var(--brand); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 42px; height: 38px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-tint); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 88% -10%, var(--brand-tint), transparent 55%),
    linear-gradient(180deg, #fff, var(--surface));
  border-bottom: 1px solid var(--line);
}
/* faint circuit-grid texture */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(160,13,8,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160,13,8,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 80% at 80% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 80% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 35px 8px 32px; max-width: 1024px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  border: 1px solid #f1d9d7;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(160,13,8,.15);
}

h1.headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 20px 0 16px;
}
h1.headline em { color: var(--brand); font-style: normal; }

.lede { font-size: 1.12rem; color: var(--muted); margin: 0 0 28px; max-width: 56ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 32px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 36px; }
.kicker {
  font-family: var(--mono);
  font-size: .92rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 10px;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
.section h2 + p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Service detail lists ---------- */
.detail-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.panel.feature { border-color: #f0c9c7; background: linear-gradient(180deg, var(--brand-tint), #fff); }
.panel h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.panel h3 .ico { color: var(--brand); display: inline-flex; }
.panel h3 .ico svg { width: 22px; height: 22px; }
.panel .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid #f0c9c7;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.checklist { list-style: none; margin: 14px 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-top: 1px solid var(--line);
  font-size: .98rem;
}
.checklist li:first-child { border-top: 0; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 12px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 12px no-repeat;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.avatar {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
}
.member .name { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.member .role { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.thanks-note {
  margin-top: 30px;
  border-left: 4px solid var(--brand);
  background: var(--surface);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 40px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.contact-card h2 { font-family: var(--serif); margin: 0 0 8px; font-size: clamp(1.6rem,3vw,2.1rem); }
.contact-card p { color: #d8cfce; margin: 0; }
.contact-list { display: grid; gap: 16px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row .ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #fff;
}
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row .lbl { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #b9a8a6; }
.contact-row .val { font-size: 1.05rem; font-weight: 600; }
.contact-row a { color: #fff; text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 44px 0 30px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-grid .brand { font-size: 1.3rem; }
.footer-addr { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-top: 12px; }
.footer-addr a { color: var(--brand-dark); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.footer-nav a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: space-between;
  color: var(--muted);
  font-size: .82rem;
}
.footer-bottom .badge { font-family: var(--mono); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 50px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 8px; }
  .contact-card { grid-template-columns: 1fr; padding: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
