/*
Theme Name: Anderson Consulting 2026
Theme URI: https://andersonconsulting.us/
Author: Anderson Consulting
Description: Lightweight, conversion-focused WordPress theme for Anderson Consulting.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: anderson-consulting
*/

:root {
  --blue: #08a9e6;
  --blue-dark: #0367b2;
  --navy: #071b2c;
  --ink: #172331;
  --muted: #596979;
  --line: #dce5ec;
  --soft: #f2f8fc;
  --white: #fff;
  --success: #16764a;
  --danger: #a52828;
  --shadow: 0 18px 55px rgba(7, 27, 44, .12);
  --radius: 18px;
  --wrap: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0 0 .65em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.55rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 9999; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.eyebrow { margin: 0 0 14px; color: var(--blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.section { padding: 84px 0; }
.section.soft { background: var(--soft); }
.section.dark { color: #dce8f0; background: var(--navy); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: #63cdf4; }
.grid { display: grid; gap: 24px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(7, 27, 44, .05); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.card-link:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow); }
.icon-chip { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); font-weight: 900; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 2px solid var(--blue-dark); border-radius: 10px; color: #fff; background: var(--blue-dark); font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.button.secondary { color: var(--navy); background: #fff; border-color: var(--line); }
.button.secondary:hover { color: var(--navy); background: var(--soft); }
.button.light { color: var(--navy); background: #fff; border-color: #fff; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(220,229,236,.85); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 210px; }
.brand img { display: block; width: 220px; max-height: 66px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 11px; border-radius: 8px; color: var(--ink); font-size: .94rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue-dark); background: var(--soft); }
.site-nav .nav-cta { margin-left: 6px; color: #fff; background: var(--blue-dark); }
.site-nav .nav-cta:hover { color: #fff; background: var(--navy); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 9px 12px; font-weight: 800; }

.hero { position: relative; overflow: hidden; padding: 104px 0 94px; background: linear-gradient(135deg, #f8fcff 0%, #e9f7fd 58%, #fff 100%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -210px; border: 90px solid rgba(8,169,230,.09); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 54px; align-items: center; }
.hero h1 { max-width: 860px; }
.hero h1 span { color: var(--blue-dark); }
.hero-proof { padding: 28px; border: 1px solid rgba(3,103,178,.18); border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.proof-item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.proof-item:last-child { border-bottom: 0; }
.proof-number { color: var(--blue-dark); font-size: 1.55rem; font-weight: 900; }
.proof-item strong { display: block; color: var(--navy); }
.proof-item small { color: var(--muted); }

.proof-bar { border-block: 1px solid var(--line); background: #fff; }
.proof-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-stat { padding: 22px 18px; border-right: 1px solid var(--line); text-align: center; }
.proof-stat:last-child { border-right: 0; }
.proof-stat strong { display: block; color: var(--navy); font-size: 1.18rem; }
.proof-stat span { color: var(--muted); font-size: .88rem; }

.steps { counter-reset: steps; }
.step { position: relative; padding-left: 72px; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: var(--blue-dark); font-size: 1.2rem; font-weight: 900; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding: 8px 0 8px 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.quote { margin: 0; padding: 28px; border-left: 5px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: #fff; box-shadow: 0 8px 24px rgba(7,27,44,.06); }
.quote cite { display: block; margin-top: 12px; color: var(--muted); font-style: normal; font-weight: 700; }

.cta-band { padding: 60px 0; background: linear-gradient(135deg, var(--blue-dark), var(--navy)); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #d8e9f4; margin: 0; }

.page-hero { padding: 82px 0 70px; color: #fff; background: linear-gradient(135deg, var(--navy), #0a3754); }
.page-hero h1 { max-width: 900px; color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.page-hero .lead { color: #d7e7f1; }
.breadcrumbs { margin-bottom: 24px; color: #bcd3e1; font-size: .88rem; }
.breadcrumbs a { color: #fff; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 26px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 14px 16px 14px 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.feature-list li::before { content: "✓"; position: absolute; left: 16px; color: var(--success); font-weight: 900; }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.faq details p { padding-top: 12px; color: var(--muted); }

.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; color: var(--navy); font-weight: 800; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid #b8c7d3; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(8,169,230,.2); border-color: var(--blue-dark); }
.lead-form textarea { min-height: 145px; resize: vertical; }
.lead-form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.lead-form .consent input { width: auto; margin-top: 5px; }
.form-notice { padding: 14px 16px; margin-bottom: 20px; border-radius: 9px; font-weight: 700; }
.form-notice.success { color: var(--success); background: #e9f8f1; }
.form-notice.error { color: var(--danger); background: #fff0f0; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.site-footer { padding: 64px 0 24px; color: #b8cad6; background: #051520; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 42px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: #e8f5fb; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.footer-brand img { width: 230px; padding: 12px; border-radius: 10px; background: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

@media (max-width: 900px) {
  .hero-grid, .cta-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .proof-bar .wrap { grid-template-columns: 1fr 1fr; }
  .proof-stat:nth-child(2) { border-right: 0; }
  .proof-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 74px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav .nav-cta { margin-left: 0; }
}

@media (max-width: 620px) {
  :root { --wrap: min(100% - 28px, 1160px); }
  .section { padding: 64px 0; }
  .grid.two, .grid.three, .feature-list, .lead-form { grid-template-columns: 1fr; }
  .lead-form .full { grid-column: auto; }
  .proof-bar .wrap { grid-template-columns: 1fr; }
  .proof-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 72px; }
  .brand img { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

