/* =====================================================
   CHUCK PRICE THEME — main.css
   Header, footer, homepage, service cards, contact form.
   ===================================================== */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: #fff;
  color: var(--color-dark);
  clip: auto;
  box-shadow: var(--shadow-md);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(15,23,42,0.06), 0 4px 16px rgba(15,23,42,0.04);
}
.admin-bar .site-header { top: 32px; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.site-branding a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-branding .site-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
}
.site-branding .site-tagline {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-slate-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-branding a:hover .site-title { color: var(--color-primary); }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-slate-dark);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current_page_item > a {
  background: var(--color-bg);
  color: var(--color-primary);
}
.primary-nav .nav-cta a {
  background: var(--color-primary);
  color: #fff !important;
  padding: 9px 18px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.28);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--color-dark);
}
.menu-toggle:hover { background: var(--color-bg); }
.menu-toggle svg { display: block; }

.site-footer {
  background: var(--color-dark);
  color: #94a3b8;
  padding: 56px 20px 32px;
}
.site-footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-title {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer-brand p,
.footer-col ul li a {
  font-size: 14px;
  color: #94a3b8;
}
.footer-brand p { line-height: 1.65; margin-bottom: 22px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a { text-decoration: none; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.hero {
  background: linear-gradient(135deg, #0b1628 0%, #0f2044 45%, #172554 100%);
  border-bottom: none;
  padding: 100px 20px 88px;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.hero::before {
  top: -160px;
  right: -80px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(26,115,232,0.22) 0%, transparent 68%);
}
.hero::after {
  bottom: -120px;
  left: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}
.hero .eyebrow { color: #60a5fa; }
.hero h1 {
  color: #fff;
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero .hero-lead {
  color: #bfdbfe;
  font-weight: 500;
  max-width: 900px;
  margin-top: 14px;
}
.hero .hero-sub {
  color: #8fb6dc;
  max-width: 980px;
}
.hero .hero-microcopy {
  margin-top: 14px;
  color: #8fb6dc;
  text-align: center;
  font-size: 14px;
}
.hero .cta-group { margin-top: 24px; }
.hero .btn { box-shadow: 0 8px 24px rgba(26,115,232,0.38); }
.hero .btn-outline {
  background: rgba(255,255,255,0.07);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.22);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.38);
}
.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  justify-content: center;
}
.hero-cards .card {
  flex: 1 1 200px;
  max-width: 265px;
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-cards .card p:first-child {
  font-size: 13px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.hero-cards .card p:last-child {
  font-size: 13px;
  color: #8fb6dc;
  margin: 0;
  line-height: 1.5;
}

.page-hero {
  background: linear-gradient(135deg, #0b1628 0%, #172554 100%);
  padding: 88px 20px;
  text-align: center;
}
.page-hero .eyebrow { color: #60a5fa; }
.page-hero h1 { color: #fff; max-width: 920px; margin: 0 auto 14px; }
.page-hero p { color: #bfdbfe; max-width: 820px; margin-left: auto; margin-right: auto; font-size: 18px; }

.section-header {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 18px; color: var(--color-slate-mid); }
.bg-alt { background: #f0f4f9; }
.bg-light { background: #eaf2fb; }
.section + .section { border-top: 1px solid var(--color-border); }

.card,
.card-light,
.service-card,
.proof-card,
.package-card,
.diagnostic-card,
.addon-card,
.measure-card,
.contact-form-wrap,
.contact-info {
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover,
.card-light:hover,
.service-card:hover,
.proof-card:hover,
.package-card:hover,
.diagnostic-card:hover,
.addon-card:hover,
.measure-card:hover {
  transform: translateY(-2px);
}
.card { box-shadow: 0 2px 8px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06); }
.card-light { background: #f4f9ff; border-color: #cfe2f7; }

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04), 0 8px 20px rgba(15,23,42,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(26,115,232,0.12), 0 20px 40px rgba(15,23,42,0.08);
  border-color: rgba(26,115,232,0.3);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.15);
}
.service-card h3 { font-size: 19px; margin: 0; }
.service-card p { font-size: 14px; margin: 0; line-height: 1.6; }
.link-arrow { font-size: 13px; font-weight: 700; margin-top: auto; text-decoration: none; }

.proof-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04), 0 8px 20px rgba(15,23,42,0.06);
}
.proof-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-slate-light);
  margin-bottom: 10px;
}
.proof-stat {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.proof-card p { font-size: 15px; margin: 0; line-height: 1.65; }
.proof-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--color-slate-light);
  line-height: 1.6;
  margin-top: 22px;
}

.cta-banner {
  background: linear-gradient(135deg, #0b1628 0%, #172554 100%);
  border-radius: var(--radius-xl);
  padding: 54px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; }
.cta-banner .lead { color: #bfdbfe; font-size: 18px; }
.cta-banner .sub { color: #94a3b8; font-size: 14px; }

.package-card,
.diagnostic-card,
.addon-card,
.measure-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  position: relative;
}
.package-price,
.diag-price,
.addon-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  margin: 10px 0;
}
.package-price span,
.diag-turnaround {
  font-size: 14px;
  color: var(--color-slate-light);
  font-weight: 700;
}
.best-for-label,
.scope-header,
.info-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.package-card ul,
.diagnostic-card ul,
.measure-card ul { color: var(--color-slate-mid); font-size: 14px; line-height: 1.65; }
.package-card li,
.diagnostic-card li,
.measure-card li { margin-bottom: 8px; }
.package-note { font-size: 13px; color: var(--color-slate-light); margin-top: 16px; }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.faq-item h3 { font-size: 19px; margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--color-slate-mid); }

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: start;
}
.contact-form-wrap,
.contact-info {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.form-group { flex: 1 1 240px; margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  color: var(--color-dark);
  background: #fff;
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-notice {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 700;
}
.form-notice.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-notice.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.info-block {
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}
.info-value { color: var(--color-slate-mid); font-size: 15px; }

.about-hero { background: #fff; padding: 82px 20px 54px; text-align: center; }
.avatar-placeholder {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 20px;
}
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.pill {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  color: var(--color-slate-mid);
  font-weight: 700;
}
.about-bio-wrap { max-width: 820px; margin: 0 auto; }
.about-bio-wrap p { font-size: 18px; }
.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.credential-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.credential-item .label { font-size: 12px; font-weight: 800; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.8px; }
.credential-item .value { color: var(--color-slate-mid); margin-top: 4px; }

.post-content { max-width: 780px; margin: 0 auto; }
.post-content h1 { margin-bottom: 16px; }
.post-content .post-meta { font-size: 14px; color: var(--color-slate-light); font-weight: 600; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.post-content h2,
.post-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.post-content p,
.post-content li { font-size: 17px; }
.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.post-card h2 { font-size: 22px; margin: 0 0 10px; }
.post-meta { font-size: 13px; color: var(--color-slate-light); font-weight: 600; margin-bottom: 10px; }
.read-more { font-size: 14px; font-weight: 700; color: var(--color-primary); }
.pagination { margin-top: 30px; text-align: center; }
.page-404 { text-align: center; padding: 80px 20px; }
.error-code { display: block; font-size: 72px; font-weight: 800; color: var(--color-primary); line-height: 1; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px; }
  .primary-nav ul li a { padding: 12px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-split { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero { padding: 72px 16px 60px; }
  .hero h1 br { display: none; }
  .hero .cta-group { justify-content: flex-start; }
  .hero .hero-microcopy { text-align: left; }
  .hero-cards .card { max-width: none; }
  .page-hero { padding: 64px 16px; }
  .credential-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .btn, .btn-outline, .btn-dark, .btn-ghost { width: 100%; text-align: center; }
  .cta-group { width: 100%; flex-direction: column; align-items: stretch; }
  .cta-group.center { align-items: stretch; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
