/* ============================================================
   ABC Computers — site stylesheet
   Color scheme drawn from the original site: vermillion red
   logo, dark text, light warm-gray background.
   Edit-friendly: colors and fonts are set once in :root below.
   ============================================================ */
:root {
  --brand: #d43a1f;          /* vermillion — the ABC Computers red */
  --brand-dark: #a92a14;
  --brand-light: #f0502e;
  --ink: #23272e;
  --muted: #5d636e;
  --line: #e7e2da;
  --bg: #ffffff;
  --bg-soft: #f7f4ef;
  --dark: #1d2126;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --script: "Brush Script MT", "Segoe Script", cursive;
  --shadow: 0 10px 30px rgba(29, 33, 38, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--brand);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 16px;
}

.brand { text-decoration: none; line-height: 1.1; }
.brand .name {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--brand);
  letter-spacing: 0.5px;
}
.brand .tagline {
  display: block;
  font-family: var(--script);
  font-size: 1rem;
  color: var(--ink);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { border-color: var(--line); background: var(--bg-soft); color: var(--brand); }
.main-nav a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--dark) 0%, #2b3138 60%, #3a2a24 100%);
  color: #fff;
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 800;
  max-width: 700px;
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-graphic {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: #000; color: #fff; }

/* Smaller hero for inner pages */
.page-hero {
  background: linear-gradient(120deg, var(--dark) 0%, #2b3138 70%, #3a2a24 100%);
  color: #fff;
  padding: 60px 0 52px;
}
.page-hero .eyebrow {
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero h1 { font-family: var(--serif); font-size: 2.3rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 680px; font-size: 1.08rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }

.section-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-title .accent { color: var(--brand); }
.section-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 40px;
}
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(29, 33, 38, 0.13); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; color: var(--ink); margin-bottom: 10px; }
.card p { color: var(--muted); flex: 1; margin-bottom: 18px; font-size: 0.98rem; }
.card .card-link { font-weight: 700; color: var(--brand); text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }

/* ---------- Two-column content ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col h2 { font-family: var(--serif); color: var(--ink); font-size: 1.7rem; margin-bottom: 16px; }
.two-col p { margin-bottom: 16px; }

/* Check list */
.check-list { list-style: none; margin: 20px 0; }
.check-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Info panel */
.panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.panel .kicker {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.panel h3 { font-family: var(--serif); color: var(--ink); font-size: 1.5rem; margin-bottom: 12px; }
.panel ul { list-style: none; }
.panel li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.97rem;
}
.panel li:last-child { border-bottom: none; }
.panel li strong { color: var(--ink); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--brand);
  position: relative;
}
.price-card .plan { font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.price-card.featured .plan { color: var(--brand); }
.price-card .price { font-family: var(--serif); font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.price-card .per { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.price-card .save { display: inline-block; background: #e8f5e9; color: #2e7d32; font-weight: 700; font-size: 0.85rem; border-radius: 20px; padding: 4px 14px; margin-bottom: 16px; }
.price-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.price-note { color: var(--muted); font-size: 0.95rem; text-align: center; max-width: 720px; margin: 0 auto; }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-band blockquote::before { content: "\201C"; color: var(--brand-light); }
.quote-band blockquote::after { content: "\201D"; color: var(--brand-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-family: var(--serif); font-size: 1.9rem; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; font-size: 1.08rem; }
.cta-band .btn { background: #fff; color: var(--brand-dark); }
.cta-band .btn:hover { background: var(--bg-soft); color: var(--brand-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-grid a:hover { color: var(--brand-light); }
.footer-brand { font-family: var(--serif); color: var(--brand-light); font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; }
.footer-tag { font-family: var(--script); color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info .method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info .method .badge {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info .method strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-info .method a { color: var(--ink); text-decoration: none; }
.contact-info .method a:hover { color: var(--brand); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 18px;
  background: var(--bg-soft);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .two-col, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero-graphic { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 0 4px; }
  .main-nav a { display: block; padding: 10px 4px; }
  .header-inner { flex-wrap: wrap; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .section { padding: 52px 0; }
  .quote-band blockquote { font-size: 1.3rem; }
}
