/* The Virtual CISOs — static site styles (replaces the WordPress/Divi theme) */

:root {
  --navy: #000f2b;
  --ink: #343434;
  --muted: #666;
  --blue: #35c2ff;
  --blue-dark: #0aa6e8;
  --cyan-overlay: rgba(53, 194, 250, 0.85);
  --orange: #fe7e4b;
  --dark: #202225;
  --dark-2: #2a2c30;
  --light: #f3f3f3;
  --white: #fff;
  --max: 1080px;
  --header-h: 72px;
  --font: "Open Sans", Arial, sans-serif;
  --font-head: "Poppins", "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 80%; max-width: var(--max); margin: 0 auto; }
@media (max-width: 700px) { .container { width: 100%; padding: 0 20px; } }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: var(--white); padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img { height: 52px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--white);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--navy); border-top: 3px solid var(--blue); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .nav a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-transform: uppercase;
  font-weight: 600; font-size: 14px; letter-spacing: 1px;
  padding: 16px 30px; border: 2px solid var(--blue);
  background: var(--blue); color: var(--white);
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-link {
  text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 13px;
  letter-spacing: 2px; color: var(--muted); white-space: nowrap;
}
.btn-link::after { content: " \2192"; }
.btn-link:hover { color: var(--blue-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background-color: var(--navy); background-size: cover; background-position: center;
  padding: 140px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .12) 100%);
}
.hero .container { position: relative; }
.hero h1 { color: var(--white); font-size: clamp(40px, 7vw, 70px); font-weight: 600; margin-bottom: .4em; }
.hero .lead { max-width: 560px; font-size: 17px; color: var(--white); }
.hero .btn { margin-top: 32px; }
.hero-home { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 100px 0; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-light { background: var(--light); }
.section-title {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 38px); font-weight: 400; color: var(--ink);
}
.section-title.rule::after { content: ""; display: block; width: 40px; height: 2px; background: var(--orange); margin-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
.section-head p { margin-top: 24px; }
@media (max-width: 700px) { .section-head { flex-direction: column; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Intro cards (home) */
.card {
  background: var(--light); text-align: center; padding: 50px 30px;
  font-size: 14px;
}
.card img { width: 60px; margin: 0 auto 20px; }
.card h2 { font-size: 22px; font-weight: 400; margin-bottom: .5em; }
.card h2 + h2 { margin-top: -.1em; }
.card p { margin-top: 1em; }

/* Split dark section with photo */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: #bbb; }
.split-body { padding: 90px 60px; }
.split-body h2 { color: var(--white); }
.split-media { background-size: cover; background-position: center; min-height: 420px; }
.split-blue { background: var(--blue); color: var(--white); }
.split-blue h2 { color: var(--white); }
.split-blue .section-title.rule::after { background: var(--orange); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-body { padding: 60px 20px; }
  .split-media { min-height: 280px; }
  .split .split-media.first-mobile { order: -1; }
}
.split .section-title { color: var(--white); }
.split .btn { margin-top: 24px; }

/* Service image tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tile { text-align: center; }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.tile h3 { font-size: 15px; font-weight: 600; margin: 0; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* Icon blurbs */
.blurb { display: flex; gap: 20px; align-items: flex-start; }
.blurb .icon { flex: 0 0 44px; color: var(--orange); }
.blurb .icon svg { width: 44px; height: 44px; }
.blurb h3, .blurb h4 { font-size: 18px; margin-bottom: .4em; }
.blurb-list { display: grid; gap: 40px; }
.dark-blurbs { color: #bbb; }
.dark-blurbs h3 { color: var(--white); }

.blurb-center { text-align: center; }
.blurb-center .icon { color: var(--orange); margin-bottom: 18px; }
.blurb-center .icon svg { width: 56px; height: 56px; }
.blurb-center h3 { font-size: 18px; }
.blurb-center ul { text-align: left; display: inline-block; margin: 0; padding-left: 18px; }

/* White boxed blurbs on photo (services "why") */
.boxed-blurbs { display: grid; gap: 20px; padding: 60px 40px; }
.boxed-blurbs .blurb { background: var(--white); padding: 24px; color: var(--muted); font-size: 14px; }
.boxed-blurbs .icon { color: var(--blue-dark); }

/* Call-to-action band */
.cta {
  position: relative; background: url("/assets/img/cta-bg.jpg") center / cover; color: var(--white);
  padding: 40px 0;
}
.cta::before { content: ""; position: absolute; inset: 0; background: var(--cyan-overlay); }
.cta .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-text { display: flex; align-items: center; gap: 24px; }
.cta-text img { width: 64px; }
.cta h2 { color: var(--white); font-size: 24px; margin: 0; max-width: 460px; }
@media (max-width: 700px) {
  .cta .container, .cta-text { flex-direction: column; text-align: center; }
}

/* Contact */
.contact-list { display: grid; gap: 34px; }
.contact-list .icon { color: var(--ink); }
.contact-list .icon svg { width: 28px; height: 28px; }
.contact-list h3 { font-size: 18px; }
.contact-list a { color: var(--muted); text-decoration: none; }
.contact-list a:hover { color: var(--blue-dark); }

/* Long-form text (privacy policy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #1f1f1f; color: #999; font-size: 13px; padding: 18px 0; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
