/*
Theme Name: Strategic IT Consulting
Theme URI: https://example.com/strategic-it-consulting
Author: Michael Bagen
Description: A professional WordPress theme for a solo IT consulting practice focused on AI integration, business integration/divestiture, IT optimization, cybersecurity audit, and process improvement.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: strategic-it-consulting
*/

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f8;
  --ink: #172033;
  --muted: #5d6b7c;
  --line: #dce4ee;
  --primary: #173b57;
  --primary-2: #0f2a3f;
  --accent: #2b7a78;
  --accent-2: #e8b44f;
  --danger: #b84a4a;
  --shadow: 0 18px 45px rgba(15, 42, 63, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 251, 0.86);
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; color: white; font-weight: 900; box-shadow: 0 8px 22px rgba(23, 59, 87, 0.25); }
.brand small { display: block; color: var(--muted); font-weight: 600; letter-spacing: 0; font-size: 12px; margin-top: -4px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; color: var(--primary); }
.nav a.cta-small { color: white; background: var(--primary); padding: 10px 14px; border-radius: 999px; }
.nav a.cta-small:hover { background: var(--accent); color: white; }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px 12px; font-weight: 800; }

.hero { position: relative; padding: 92px 0 72px; overflow: hidden; background: radial-gradient(circle at 80% 20%, rgba(43, 122, 120, .18), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 52px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--accent); display: inline-block; }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: .96; letter-spacing: -0.065em; margin: 14px 0 22px; color: var(--primary-2); }
.hero p.lede { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 730px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 20px; font-weight: 800; border: 1px solid transparent; transition: .2s ease; }
.button.primary { background: var(--primary); color: white; box-shadow: 0 12px 26px rgba(23, 59, 87, .22); }
.button.primary:hover { background: var(--accent); color: white; transform: translateY(-1px); }
.button.secondary { background: white; border-color: var(--line); color: var(--primary); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.score-row:last-child { border-bottom: 0; }
.score-row strong { color: var(--primary); }
.score-row span { color: var(--muted); font-size: 14px; }
.badge { background: rgba(43, 122, 120, .12); color: var(--accent); padding: 6px 10px; border-radius: 999px; font-weight: 900; font-size: 12px; white-space: nowrap; }

.section { padding: 76px 0; }
.section.white { background: white; }
.section-title { max-width: 760px; margin-bottom: 34px; }
.section-title h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.045em; color: var(--primary-2); margin: 8px 0 12px; }
.section-title p { color: var(--muted); font-size: 18px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; box-shadow: 0 10px 28px rgba(15, 42, 63, .06); }
.card h3 { margin: 0 0 10px; color: var(--primary); font-size: 21px; letter-spacing: -0.025em; }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-alt); color: var(--accent); font-weight: 900; margin-bottom: 18px; }
.process { counter-reset: step; }
.process .card { position: relative; padding-top: 58px; }
.process .card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 22px; left: 24px; color: var(--accent); font-weight: 900; letter-spacing: .05em; }

.band { background: linear-gradient(135deg, var(--primary-2), var(--primary)); color: white; border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; box-shadow: var(--shadow); }
.band h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.045em; }
.band p { margin: 0; color: rgba(255,255,255,.78); font-size: 18px; }
.band .button { background: white; color: var(--primary); justify-self: end; }
.band .button:hover { color: var(--accent); }

.target-list { display: grid; gap: 14px; }
.target-item { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start; }
.target-item strong { color: var(--primary); }
.target-item span { color: var(--muted); }

.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-box { background: var(--primary-2); color: white; border-radius: 28px; padding: 34px; }
.contact-box p { color: rgba(255,255,255,.75); }
.form-shell { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.form-shell input, .form-shell textarea, .form-shell select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; margin-bottom: 14px; background: #fff; }
.form-shell textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 14px; margin-top: 12px; }

.site-footer { background: #0f1722; color: white; padding: 38px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer-grid p { color: rgba(255,255,255,.65); margin: 6px 0 0; }
.footer-links { display: flex; gap: 18px; color: rgba(255,255,255,.78); font-weight: 700; font-size: 14px; }
.entry-content { background: white; padding: 48px; border-radius: 24px; border: 1px solid var(--line); margin: 42px auto; }
.entry-content h1 { font-size: clamp(34px, 5vw, 56px); }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .band, .contact-panel { grid-template-columns: 1fr; }
  .band .button { justify-self: start; }
  .target-item { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 70px; left: 20px; right: 20px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
}
.hero-consulting {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #172033 52%, #111827 100%);
  color: #fff;
}

.hero-grid-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 14px 0 22px;
}

.hero-copy .lede {
  max-width: 680px;
  font-size: 1.22rem;
  line-height: 1.65;
  color: #dbeafe;
}

.hero-profile-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.34);
  backdrop-filter: blur(16px);
}

.headshot-frame {
  width: 90%;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.profile-copy {
  padding: 22px 4px 4px;
}

.profile-copy h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.profile-copy p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.55;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #e5e7eb;
}

@media (max-width: 900px) {
  .hero-grid-photo {
    grid-template-columns: 1fr;
  }

  .hero-profile-card {
    max-width: 420px;
  }
}

.hero-consulting {
  background:
    radial-gradient(circle at 18% 18%, rgba(43, 122, 120, 0.28), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(232, 180, 79, 0.16), transparent 24%),
    linear-gradient(135deg, #0f1722 0%, #173b57 48%, #0f2a3f 100%);
}

.hero-copy h1 {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.hero-copy .lede {
  color: rgba(255,255,255,0.82);
}

.hero-copy .eyebrow {
  color: #e8b44f;
}

.hero-copy .eyebrow::before {
  background: #e8b44f;
}

.section {
  background:
    linear-gradient(180deg, rgba(246,248,251,1) 0%, rgba(238,243,248,0.72) 100%);
}

.section.white {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.card,
.target-item,
.form-shell {
  border-top: 4px solid rgba(43,122,120,0.32);
}

#offers {
  background:
    radial-gradient(circle at 90% 10%, rgba(43,122,120,0.10), transparent 28%),
    #f6f8fb;
}

#process {
  background:
    radial-gradient(circle at 8% 20%, rgba(232,180,79,0.14), transparent 26%),
    #eef3f8;
}

#contact {
  background:
    linear-gradient(135deg, #eef3f8 0%, #ffffff 100%);
}