/* ===== PaintOps Consulting — shared stylesheet ===== */

:root {
  --navy: #0f2438;
  --navy-light: #16334f;
  --charcoal: #1c1f24;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --teal: #1f8a8a;
  --bg: #f7f5f2;
  --white: #ffffff;
  --text: #232729;
  --text-muted: #5a6169;
  --border: #e4e0da;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(15, 36, 56, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--text-muted); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* ---------- Top logo strip ---------- */

.top-logo-strip {
  background: var(--white);
  text-align: center;
  padding: 20px 0;
}

.top-logo-strip img {
  height: 300px;
  width: auto;
  display: inline-block;
}

@media (max-width: 600px) {
  .top-logo-strip img { height: 200px; }
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  min-width: 0;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 3px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-logo-badge {
  display: flex;
  justify-content: center;
  width: fit-content;
  background: var(--white);
  border-radius: 18px;
  padding: 18px 26px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  margin: 0 auto 32px;
}

.hero-logo-badge img {
  height: 96px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .hero-logo-badge img { height: 72px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--white); text-decoration: none; }

.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a.nav-cta {
    margin: 12px 24px;
    display: block;
    width: calc(100% - 48px);
    box-sizing: border-box;
    text-align: center;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 18px rgba(224, 98, 43, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-light); }

/* ---------- Hero ---------- */

.hero {
  background: radial-gradient(circle at 20% 20%, var(--navy-light), var(--navy) 60%);
  color: var(--white);
  padding: 20px 0 90px;
  text-align: center;
}

.hero .eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 { color: var(--white); max-width: 820px; margin: 0 auto 20px; }

.hero p.lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 620px; margin: 12px auto 0; }

/* ---------- Sections ---------- */

section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.eyebrow-dark {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

/* ---------- Grid / Cards ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(224, 98, 43, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

/* ---------- Method (P-A-I-N-T-O-P) ---------- */

.method-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.method-row:last-child { border-bottom: none; }

.method-letter {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}

.method-body h3 { margin-bottom: 4px; }

/* ---------- Acronym band ---------- */

.acronym-kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 22px;
  padding: 0 8px;
}

.acronym-band {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(6px, 2vw, 20px);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 44px;
  overflow-x: auto;
  padding: 4px 4px 6px;
}

.acronym-letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.acronym-letter .l {
  width: clamp(30px, 5vw, 48px);
  height: clamp(30px, 5vw, 48px);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(0.85rem, 1.8vw, 1.3rem);
}

.acronym-letter .w {
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.56rem, 1.1vw, 0.78rem);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stats.stats-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats.stats-3 { grid-template-columns: repeat(1, 1fr); } }

.stat .num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}
.stat .label { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 4px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 28px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}

.form-row { display: grid; gap: 6px; margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

input, select, textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 14px; }

#form-status {
  margin-top: 18px;
  font-weight: 600;
  display: none;
}
#form-status.success { color: var(--teal); display: block; }
#form-status.error { color: var(--accent-dark); display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 28px;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-tagline { color: rgba(255,255,255,0.8); max-width: 320px; }

.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links ul { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- Misc ---------- */

.list-check { list-style: none; display: grid; gap: 12px; }
.list-check li { padding-left: 28px; position: relative; color: var(--text-muted); }
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}

.tag {
  display: inline-block;
  background: rgba(31, 138, 138, 0.12);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
