/* Afrisecure LLC — rebuilt static site (2026-10-14). Hand-written, no framework. */
:root {
  --navy: #14264a;
  --navy-deep: #0d1a33;
  --navy-ink: #0a1428;
  --gold: #c9a24b;
  --gold-light: #e3c67e;
  --paper: #faf9f7;
  --ink: #2b2b2b;
  --muted: #5c6470;
  --line: #e4e0d8;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .serif {
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 24px; max-width: var(--max); margin: 0 auto;
}
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: #f2ede2; text-decoration: none; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
}
.main-nav a:hover { color: var(--gold-light); }
.btn-call {
  background: var(--gold); color: var(--navy-ink) !important;
  padding: 10px 22px; border-radius: 4px; font-weight: 700;
  white-space: nowrap;
}
.btn-call:hover { background: var(--gold-light); color: var(--navy-ink) !important; }
.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--navy-ink) url("assets/hero.png") center / cover no-repeat;
  min-height: 78vh; display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,20,40,.88) 20%, rgba(10,20,40,.45) 60%, rgba(10,20,40,.25));
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 90px 24px; width: 100%; }
.hero-kicker {
  color: var(--gold-light); letter-spacing: .35em; font-size: 14px;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 600;
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: .06em; margin-bottom: 18px; }
.hero p.lead { max-width: 640px; font-size: 1.2rem; color: #e9e4d8; margin-bottom: 32px; }

.btn {
  display: inline-block; background: var(--gold); color: var(--navy-ink);
  padding: 14px 34px; border-radius: 4px; font-weight: 700; font-size: 16px;
  text-decoration: none; letter-spacing: .03em; border: none; cursor: pointer;
}
.btn:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.band {
  background: var(--navy); color: #ece7db; text-align: center;
}
section.band h2 { color: #fff; }
section.band p { color: #d8d2c4; max-width: 720px; margin: 0 auto 26px; }
.eyebrow {
  color: var(--gold); text-transform: uppercase; letter-spacing: .28em;
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
h2.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.center { text-align: center; }
.center .lead { max-width: 760px; margin: 0 auto 18px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img.frame {
  border-radius: 8px; box-shadow: 0 24px 60px rgba(13,26,51,.18);
}
.split h2 { margin-bottom: 16px; }
.split p { margin-bottom: 16px; color: #3d4450; }
.split .btn { margin-top: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 32px 28px; box-shadow: 0 10px 30px rgba(13,26,51,.06);
  display: flex; flex-direction: column;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card .rule { width: 44px; height: 3px; background: var(--gold); margin-bottom: 16px; }

/* Books */
.books-list { margin: 26px 0 8px; padding: 0; list-style: none; }
.books-list li {
  padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line);
  position: relative; font-size: 1.05rem;
}
.books-list li::before {
  content: "◆"; color: var(--gold); position: absolute; left: 4px; top: 15px; font-size: .8rem;
}
.books-list li:last-child { border-bottom: none; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start;
}
.contact-card {
  background: var(--navy-deep); color: #ece7db; border-radius: 10px;
  padding: 44px 40px; border-top: 4px solid var(--gold);
}
.contact-card h2 { color: #fff; margin-bottom: 6px; }
.contact-card .who { color: var(--gold-light); margin-bottom: 26px; font-size: 1.05rem; }
.contact-row { display: flex; gap: 14px; align-items: baseline; margin-bottom: 16px; }
.contact-row .label { color: var(--gold); font-weight: 700; min-width: 64px; text-transform: uppercase; font-size: 13px; letter-spacing: .1em; }
.contact-row a { color: #fff; text-decoration: none; font-size: 1.15rem; }
.contact-row a:hover { color: var(--gold-light); }
.contact-card .btn { margin-top: 18px; }

/* Footer */
footer {
  background: var(--navy-ink); color: #b9b3a6; padding: 34px 0;
  font-size: 14.5px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
}
footer img { height: 40px; width: auto; opacity: .95; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  section.block { padding: 60px 0; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .nav-toggle-label {
    display: block; color: #fff; font-size: 30px; cursor: pointer; line-height: 1;
    user-select: none;
  }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; align-items: stretch;
    padding: 10px 24px 22px; gap: 0; border-bottom: 2px solid var(--gold);
  }
  .main-nav a { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .hero-inner { padding: 64px 24px; }
  .btn-call { text-align: center; }
}

/* ---------- Restored pages (2026-10-16) ---------- */
.page-hero {
  background: var(--navy-deep); color: #ece7db;
  padding: 64px 0 52px; border-bottom: 3px solid var(--gold);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 12px; }
.page-hero .lead { color: #cfc9ba; max-width: 820px; }
.prose-wrap { padding-top: 56px; }
.prose p { margin-bottom: 18px; color: #333a45; max-width: 860px; }
.prose .section-title { margin: 42px 0 14px; }
.prose .section-title:first-child { margin-top: 0; }
.sub-title { font-size: 1.45rem; margin: 30px 0 10px; }
.mini-title { font-size: 1.15rem; margin: 24px 0 8px; color: var(--navy); }
.tick-list { list-style: none; margin: 0 0 22px; max-width: 860px; }
.tick-list li {
  padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line);
  position: relative; color: #333a45;
}
.tick-list li::before {
  content: "◆"; color: var(--gold); position: absolute; left: 4px; top: 11px; font-size: .75rem;
}
.faq-item {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 6px; padding: 22px 26px; margin-bottom: 18px; max-width: 900px;
}
.faq-q { font-size: 1.2rem; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }
.areas-list {
  list-style: none; columns: 3; column-gap: 40px; margin-bottom: 10px; max-width: 960px;
}
.areas-list li { padding: 8px 0; border-bottom: 1px solid var(--line); color: #333a45; }

/* Nav dropdowns (pure CSS) */
.has-drop { position: relative; display: inline-block; }
.has-drop > a { color: #f2ede2; text-decoration: none; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.has-drop > a:hover { color: var(--gold-light); }
.drop {
  display: none; position: absolute; top: 100%; left: -14px; min-width: 300px;
  background: var(--navy-deep); border: 1px solid rgba(255,255,255,.12);
  border-top: 2px solid var(--gold); padding: 10px 0; z-index: 60;
  box-shadow: 0 18px 40px rgba(10,20,40,.35);
}
.drop a { display: block; padding: 9px 18px; font-size: 14px; text-transform: none; letter-spacing: .01em; white-space: nowrap; }
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }

/* Footer sitemap */
.foot-cols { align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-nav { display: flex; flex-direction: column; gap: 7px; }
.foot-nav h4 { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 4px; font-family: inherit; }
.foot-nav a { color: #d8d2c4; text-decoration: none; font-size: 14.5px; }
.foot-nav a:hover { color: var(--gold-light); }

/* Quote form */
.quote-form { max-width: 820px; }
.quote-form label { display: block; font-weight: 600; color: var(--navy); margin: 16px 0 6px; font-size: 15.5px; }
.quote-form input, .quote-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9c4b8; border-radius: 6px;
  background: #fff; color: var(--ink); font-size: 16px; font-family: inherit;
}
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-grid label { margin-top: 16px; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.form-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 700px; }
.form-error { color: #a12622; font-weight: 600; margin-top: 16px; }

@media (max-width: 900px) {
  .areas-list { columns: 2; }
  .foot-cols { flex-direction: column; gap: 28px; }
}
@media (max-width: 640px) {
  .areas-list { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .drop { position: static; display: block; border: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .drop a { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); white-space: normal; }
  .has-drop { display: block; }
  .has-drop > a { display: block; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); }
}
