/* Columbus Electronics Repair — site styles */
:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --panel: #f1f5f9;
  --accent: #0e7490;
  --accent-dark: #155e75;
  --cta: #ea580c;
  --cta-dark: #c2410c;
  --ok: #16a34a;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); z-index: 50;
}
.site-bar { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.brand .mark { flex: 0 0 34px; }
nav.main { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent-dark); }
.call-btn {
  background: var(--cta); color: #fff !important; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  white-space: nowrap;
}
.call-btn:hover { background: var(--cta-dark); }

/* Hero */
.hero { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.hero .container { padding: 56px 20px 48px; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; max-width: 21ch; }
.hero p.lede { margin-top: 14px; font-size: 1.1rem; color: var(--muted); max-width: 58ch; }
.hero .actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .actions .sub { font-size: .9rem; color: var(--muted); }
.badges { margin-top: 26px; display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.badges span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* Sections */
section { padding: 44px 0; }
section.alt { background: var(--panel); }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.01em; margin-bottom: 8px; }
.section-lede { color: var(--muted); max-width: 62ch; margin-bottom: 26px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { font-size: 1.08rem; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .price { font-weight: 700; color: var(--accent-dark); font-size: .95rem; }
.card a.more { font-size: .92rem; font-weight: 600; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

/* Price table */
table.prices { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.prices th, table.prices td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.prices th { background: var(--panel); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.prices tr:last-child td { border-bottom: none; }
table.prices td.p { font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.fineprint { margin-top: 10px; font-size: .85rem; color: var(--muted); }

/* Steps */
ol.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
ol.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 56px; position: relative; color: var(--muted); font-size: .95rem; }
ol.steps li strong { display: block; color: var(--ink); margin-bottom: 4px; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; background: var(--bg); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* Visit / NAP block */
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.visit h3 { font-size: 1.02rem; margin-bottom: 8px; }
.visit p, .visit li { color: var(--muted); font-size: .95rem; }
.visit ul { list-style: none; }
.visit .today { color: var(--ok); font-weight: 600; }
address { font-style: normal; }

/* CTA band */
.cta-band { background: var(--accent-dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cffafe; margin-bottom: 18px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 90px; font-size: .92rem; color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
footer.site h3 { font-size: .95rem; color: var(--ink); margin-bottom: 8px; }
footer.site ul { list-style: none; }
footer.site a { color: var(--muted); }
footer.site .legal { margin-top: 26px; font-size: .82rem; }

/* Sticky mobile call bar */
.mobile-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--cta); color: #fff; text-align: center; padding: 14px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 -4px 12px rgba(15, 23, 42, .15);
}
@media (max-width: 720px) {
  .mobile-call { display: block; }
  nav.main { display: none; }
}

/* Breadcrumb + article pages */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
article.service .container { max-width: 800px; }
article.service h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; margin: 10px 0 14px; }
article.service .lede { font-size: 1.05rem; color: var(--muted); margin-bottom: 26px; }
article.service h2 { margin-top: 34px; }
article.service p + p { margin-top: 12px; }
article.service section { padding: 0; }
