/*
Theme Name: Agents of Decision
Theme URI: https://agentsofdecision.com
Author: Ivan
Author URI: https://example.com
Description: Custom enterprise marketing theme for Agents of Decision — Your AI Board Member. Built to the Agents of Decision brand style guide (Strategic Orange, Graphite Gray, Deep Black, Soft White). Includes Home, About, Product & Features, and Contact templates with a working contact form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: stratega
*/

/* ==========================================================================
   0. BRAND TOKENS — Agents of Decision brand system
   ========================================================================== */
:root {
  --strat-orange: #F28C28;
  --strat-orange-80: #F3A354;
  --strat-orange-60: #F6BC81;
  --strat-orange-40: #F9D4AC;
  --strat-orange-19: #FCEBD8;

  --strat-graphite: #6D6D6D;
  --strat-graphite-80: #8A8A8A;
  --strat-graphite-60: #A8A8A8;
  --strat-graphite-40: #C5C5C5;
  --strat-graphite-19: #E3E3E3;

  --strat-black: #0F1115;
  --strat-white: #F5F6F7;
  --strat-dark-gray: #2A2D33;
  --strat-light-gray: #C9CDD2;

  --strat-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --strat-max-width: 1180px;
  --strat-radius: 14px;
  --strat-shadow: 0 8px 30px rgba(15, 17, 21, 0.08);
  --strat-transition: all 0.2s ease;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--strat-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--strat-dark-gray);
  background: var(--strat-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0 0 1rem 0; }
h1, h2, h3, h4 { color: var(--strat-black); font-weight: 600; line-height: 1.2; }
button { font-family: inherit; cursor: pointer; }

h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--strat-orange);
  margin-bottom: 0.75rem;
}

.container {
  max-width: var(--strat-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: var(--strat-transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--strat-orange);
  color: var(--strat-black);
}
.btn-primary:hover { background: #d97a1a; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--strat-black);
  border-color: var(--strat-light-gray);
}
.btn-secondary:hover { border-color: var(--strat-graphite); }
.btn-ghost-inverse {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-inverse:hover { border-color: #fff; }

/* ==========================================================================
   3. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--strat-light-gray);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-branding img { height: 40px; width: auto; }
.site-branding .brand-name {
  font-weight: 700;
  font-size: 19px;
  color: var(--strat-black);
  letter-spacing: -0.01em;
}
.site-branding .brand-tag {
  display: none;
}

.primary-nav ul { display: flex; gap: 8px; align-items: center; }
.primary-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--strat-dark-gray);
  transition: var(--strat-transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item a {
  background: var(--strat-orange-19);
  color: var(--strat-black);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 11px 22px; font-size: 14px; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--strat-light-gray);
  border-radius: 10px;
  padding: 8px 10px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--strat-black);
  margin: 4px 0;
}

@media (max-width: 900px) {
  .primary-nav { position: fixed; inset: 76px 0 0 0; background: var(--strat-white); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: var(--strat-transition); padding: 24px; overflow-y: auto; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav a { padding: 14px 16px; font-size: 17px; }
  .menu-toggle { display: block; }
  .header-actions .btn-secondary { display: none; }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--strat-black);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--strat-orange);
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: 52px; margin-bottom: 20px; }
.hero h1 em { color: var(--strat-orange); font-style: normal; }
.hero p.lede { color: var(--strat-light-gray); font-size: 19px; max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; color: var(--strat-graphite-40); font-size: 13px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--strat-orange); flex-shrink: 0; }

.hero-visual { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
.node-graphic { width: 80%; height: 80%; }
.node-graphic circle.node-line { fill: none; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-visual { height: 240px; order: -1; }
}

/* ==========================================================================
   5. GENERIC SECTIONS
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--strat-black); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-header { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-header p { color: var(--strat-graphite); font-size: 17px; }
.section-header.align-left { margin-left: 0; text-align: left; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--strat-light-gray);
  border-radius: var(--strat-radius);
  padding: 32px 28px;
  transition: var(--strat-transition);
}
.card:hover { box-shadow: var(--strat-shadow); border-color: var(--strat-graphite-40); transform: translateY(-2px); }
.card .icon-badge {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid var(--strat-orange-40);
  box-shadow: 0 2px 10px rgba(15, 17, 21, 0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-badge svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 19px; }
.card p { color: var(--strat-graphite); font-size: 15px; margin-bottom: 0; }

.card-dark {
  background: #1a1d24;
  border: 1px solid #2f333c;
}
.card-dark p { color: var(--strat-light-gray); }
.card-dark .icon-badge { background: #22262e; border-color: rgba(242,140,40,0.35); box-shadow: none; }

/* Two-column feature rows (used on Home + Features page) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--strat-light-gray);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .feature-row-media { order: 2; }
.feature-row-media {
  background: var(--strat-black);
  border-radius: var(--strat-radius);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.feature-row ul.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--strat-dark-gray);
  font-size: 15px;
}
.feature-row ul.check-list svg { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; stroke: var(--strat-orange); }
@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-row-media { order: 0; }
}

/* Stat strip */
.stat-strip { background: var(--strat-black); color: #fff; padding: 48px 0; }
.stat-strip .grid { text-align: center; }
.stat-strip .stat-number { font-size: 40px; font-weight: 700; color: var(--strat-orange); margin-bottom: 6px; }
.stat-strip .stat-label { color: var(--strat-graphite-40); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Logos / integrations strip */
.integrations-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.integrations-strip span {
  padding: 10px 20px;
  border: 1px solid var(--strat-light-gray);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--strat-graphite);
  background: #fff;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--strat-black) 0%, #1c1f26 100%);
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: var(--strat-light-gray); max-width: 52ch; margin: 0 auto 32px; }
.cta-banner .btn-primary { padding: 16px 34px; font-size: 16px; }

/* ==========================================================================
   6. ABOUT PAGE
   ========================================================================== */
.about-hero { padding: 72px 0 40px; text-align: center; }
.about-hero .section-eyebrow { display: block; }
.about-hero h1 { font-size: 42px; max-width: 20ch; margin: 0 auto 18px; }
.about-hero p.lede { max-width: 60ch; margin: 0 auto; color: var(--strat-graphite); font-size: 18px; }

.values-grid .card h3 { display: flex; align-items: center; gap: 10px; }

.team-note {
  border: 1px dashed var(--strat-graphite-40);
  border-radius: var(--strat-radius);
  padding: 24px 28px;
  color: var(--strat-graphite);
  font-size: 14px;
  background: var(--strat-orange-19);
  border-color: var(--strat-orange-60);
}

/* ==========================================================================
   7. CONTACT PAGE
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
.contact-info-card {
  background: var(--strat-black);
  color: #fff;
  border-radius: var(--strat-radius);
  padding: 40px 32px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card .contact-line { display: flex; gap: 12px; margin-bottom: 20px; color: var(--strat-light-gray); font-size: 15px; }
.contact-info-card .contact-line svg { width: 20px; height: 20px; stroke: var(--strat-orange); flex-shrink: 0; margin-top: 2px; }
.contact-info-card hr { border: none; border-top: 1px solid #2f333c; margin: 28px 0; }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--strat-dark-gray); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--strat-light-gray);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--strat-dark-gray);
  transition: var(--strat-transition);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--strat-orange);
  box-shadow: 0 0 0 3px var(--strat-orange-19);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-notice {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 15px;
}
.form-notice.success { background: #e7f6ec; color: #1f6d3b; border: 1px solid #b6e3c6; }
.form-notice.error { background: #fdeaea; color: #9c2b2b; border: 1px solid #f3bcbc; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer { background: var(--strat-black); color: var(--strat-light-gray); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: var(--strat-graphite-40); font-size: 14px; max-width: 36ch; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--strat-graphite-40); font-size: 14px; transition: var(--strat-transition); }
.footer-col a:hover { color: var(--strat-orange); }
.footer-bottom {
  border-top: 1px solid #2a2d33;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--strat-graphite);
}

/* ==========================================================================
   9. UTILITIES / MISC PAGES
   ========================================================================== */
.page-content { padding: 72px 0; }
.page-content h1 { margin-bottom: 24px; }
.entry-content { max-width: 780px; margin: 0 auto; }
