/* ============================================================
   Support Security Services — single-file design system
   Black / gold identity. Mobile-first. No frameworks.
   ============================================================ */

:root {
  --ink: #16161a;
  --ink-soft: #45454e;
  --paper: #ffffff;
  --tint: #f6f4ef;
  --dark: #0d0d0f;
  --dark-2: #17171b;
  --gold: #c9962e;
  --gold-bright: #e3b04b;
  --gold-soft: #f3e7cd;
  --line: #e6e2d8;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(13, 13, 15, .08);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }

.text-gold { color: var(--gold-bright); }
.lead { font-size: 1.15rem; }

/* ── Accessibility ─────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--dark); padding: .6em 1em; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .8em 1.6em;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(13,13,15,.18); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-bright); color: var(--dark); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-lg { padding: 1em 2em; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

/* ── Top bar ───────────────────────────────────────────────── */
.topbar { background: var(--dark); color: #cfcfd6; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; flex-wrap: wrap; }
.topbar a { color: var(--gold-bright); }
.topbar-note { opacity: .85; }

/* ── Header / nav ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 12px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand-fallback {
  width: 46px; height: 46px; border-radius: 8px; background: var(--dark);
  color: var(--gold-bright); font-family: var(--font-display); font-weight: 700;
  align-items: center; justify-content: center; font-size: 1.1rem;
}
.brand-text { font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; letter-spacing: .02em; }
.brand-text strong { color: var(--gold); }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: .55em .85em; color: var(--ink);
  font-weight: 500; font-size: .95rem; border-radius: 6px;
}
.main-nav a:hover { background: var(--tint); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--gold); font-weight: 600; }

/* Dropdown — solid background (fixes old site's transparent menu) */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 8px !important;
  display: none !important; flex-direction: column;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex !important; }
.dropdown a { padding: .5em .8em; font-size: .9rem; }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* Hero (split: quote form left, guard right) */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(108deg, var(--dark) 0%, var(--dark-2) 46%, #2b2210 72%, #8a6413 105%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: end;
}
.hero-left { padding-block: clamp(48px, 7vw, 84px); }
.hero-left h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.hero-right { align-self: end; display: flex; justify-content: center; }
.hero-right img {
  max-height: min(620px, 62vw); width: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}
.hero-quote {
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: var(--radius); padding: 22px 24px;
  margin-top: 1.6em; max-width: 560px;
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
}
.hero-quote-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.3rem; font-weight: 700; margin-bottom: .6em;
}
.hero-quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-quote-fields .field:last-child { grid-column: 1 / -1; }
.hero-quote .field { margin-bottom: 10px; }
.hero-quote-note { font-size: .76rem; color: var(--ink-soft); margin: 10px 0 0; text-align: center; }
.hero-inner { position: relative; padding-block: clamp(70px, 12vw, 140px); max-width: 760px; }
.hero-kicker {
  color: var(--gold-bright); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 1em;
}
.hero-sub { font-size: 1.15rem; color: #d8d8de; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-trust { list-style: none; display: flex; gap: 34px; flex-wrap: wrap; margin: 2em 0 0; padding: 0; }
.hero-trust li { font-size: .85rem; color: #b9b9c2; }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-bright); }

/* ── Page hero (interior pages) ────────────────────────────── */
.page-hero { background: linear-gradient(115deg, var(--dark), var(--dark-2) 70%, #23200f); color: #fff; }
.page-hero .container { padding-block: clamp(46px, 8vw, 90px); }
.page-hero-sub { color: #cfcfd6; font-size: 1.1rem; max-width: 42em; }
.page-hero .hero-actions { margin-top: 1.2em; }

.breadcrumbs { font-size: .82rem; margin-bottom: 1.4em; color: #9a9aa4; }
.breadcrumbs a { color: var(--gold-bright); }
.breadcrumbs span[aria-hidden] { margin-inline: 6px; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding-block: clamp(56px, 9vw, 96px); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #e6e6ea; }
.section-dark h2 { color: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6em; }
.eyebrow {
  color: var(--gold); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .78rem; margin-bottom: .4em;
}
.section-sub { color: var(--ink-soft); }

/* ── Cards ─────────────────────────────────────────────────── */
.cards-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.cards-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.card p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.card-icon { color: var(--gold); margin-bottom: 14px; }
.card-link { color: var(--gold); font-weight: 600; font-size: .9rem; }
.post-card time { color: var(--ink-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em; }

/* ── Split layout ──────────────────────────────────────────── */
.split { display: grid; gap: 44px; grid-template-columns: 1.2fr .8fr; align-items: start; }
.split-forms { grid-template-columns: 1fr 1.1fr; }
.check-list { list-style: none; padding: 0; margin: 1.2em 0 1.6em; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230d0d0f" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center/10px no-repeat;
}

.stat-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: var(--dark-2); border: 1px solid #2c2c33; border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.stat-num { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold-bright); }
.stat-label { font-size: .82rem; color: #b9b9c2; text-transform: uppercase; letter-spacing: .08em; }

/* ── Steps ─────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { background: var(--tint); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--dark);
  color: var(--gold-bright); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 14px;
}
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ── Areas grid ────────────────────────────────────────────── */
.areas-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.areas-grid li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 14px; font-size: .9rem; text-align: center;
}
.section-tint .areas-grid li { background: #fff; }

/* ── Three pillars (about) ─────────────────────────────────── */
.three-col { display: grid; gap: 34px; grid-template-columns: repeat(3, 1fr); }
.pillar { border-top: 3px solid var(--gold); padding-top: 18px; }
.pillar p { color: #c9c9d1; font-size: .95rem; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none;
  position: relative; padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--gold); font-weight: 400;
}
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7em .9em; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }
.form-error {
  background: #fdecea; color: #9f1c13; border: 1px solid #f5c6c0;
  border-radius: 8px; padding: 12px 16px; font-size: .92rem;
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* Contact page */
.contact-list { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; gap: 16px; }
.contact-list strong { display: block; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; color: var(--ink-soft); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* Quote box (service pages) */
.quote-box {
  background: var(--dark); color: #e6e6ea; border-radius: var(--radius); padding: 30px;
  position: sticky; top: 96px;
}
.quote-box h3 { color: #fff; }
.quote-box-alt { font-size: .88rem; margin-top: 12px; text-align: center; }
.mini-trust { list-style: none; padding: 0; margin: 18px 0 0; font-size: .82rem; color: #b9b9c2; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.mini-trust li::before { content: "✓ "; color: var(--gold-bright); }

/* ── Quote wizard ──────────────────────────────────────────── */
.wizard-progress { height: 6px; background: var(--tint); border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.wp-bar { display: block; height: 100%; width: 20%; background: var(--gold); border-radius: 3px; transition: width .25s ease; }
.wizard-step-label { font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; }
.wizard-step { border: 0; padding: 0; margin: 0 0 18px; }
.wizard-step legend {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  text-transform: uppercase; margin-bottom: 14px; padding: 0;
}
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: .92rem; transition: .15s;
}
.choice input:checked + span { border-color: var(--gold); background: var(--gold-soft); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 10px; }
.wizard-nav .btn { min-width: 130px; }

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band { background: linear-gradient(100deg, var(--gold) 0%, var(--gold-bright) 100%); color: var(--dark); }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-block: 44px;
}
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-gold { background: var(--dark); color: var(--gold-bright); }
.cta-band .btn-outline-light { border-color: rgba(13,13,15,.5); color: var(--dark); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #b9b9c2; font-size: .9rem; }
.footer-grid {
  display: grid; gap: 40px; padding-block: 60px 40px;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
.footer-col h3 {
  color: #fff; font-size: 1rem; letter-spacing: .1em; margin-bottom: 1em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5em; }
.footer-col a { color: #b9b9c2; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-areas { columns: 2; }
.brand-footer { color: #fff; margin-bottom: 1em; }
.footer-license { font-size: .8rem; color: #7c7c86; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border: 1px solid #34343c; border-radius: 8px; color: #b9b9c2;
}
.footer-social a:hover { color: var(--gold-bright); border-color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid #232329; padding-block: 20px; font-size: .82rem; color: #7c7c86;
}
.footer-bottom a { color: #9a9aa4; }

/* ── Misc ──────────────────────────────────────────────────── */
.center-note { text-align: center; margin-top: 2.5em; }
.article-body h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article-body a { text-decoration: underline; }

/* ── Reveal animation (subtle, JS-driven) ──────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .split, .split-forms { grid-template-columns: 1fr; }
  .quote-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }

  .nav-toggle { display: flex; margin-left: auto; }

  .main-nav {
    position: fixed; inset: 0; top: 0; margin: 0;
    background: var(--dark); padding: 90px 28px 28px;
    transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto; z-index: 90;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { color: #fff; font-size: 1.15rem; padding: .7em .4em; }
  .main-nav a:hover { background: var(--dark-2); }

  .dropdown {
    position: static; display: flex !important; box-shadow: none; border: 0;
    background: transparent; padding-left: 16px !important;
  }
  .dropdown a { color: #b9b9c2; font-size: .95rem; }

  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle { position: relative; z-index: 95; }
  body.nav-open .nav-toggle span { background: #fff; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .topbar-note { display: none; }
  .hero-trust { gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-right img { max-height: 380px; margin-top: 10px; }
  .hero-quote-fields { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .wizard-nav { flex-direction: column-reverse; }
  .wizard-nav .btn { width: 100%; }
}
