/* ==========================================================
   KNAPP PAINTING LLC — Stylesheet
   Palette: architectural white · Cleveland slate · trade red
   Display: Barlow Condensed | Body: Inter
   ========================================================== */

:root {
  /* Color tokens */
  --white:          #F9F7F4;
  --slate-deep:     #2C3E55;
  --slate:          #3D5166;
  --slate-mid:      #5D6D7E;
  --slate-light:    #E8EDF2;
  --red:            #C0392B;
  --red-dark:       #922B21;
  --red-faint:      rgba(192, 57, 43, 0.08);
  --border:         #DDE3EA;
  --text-body:      #3A4A58;
  --text-muted:     #6B7A8A;

  /* Type */
  --font-display:   'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & shape */
  --radius-sm:      5px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --shadow-card:    0 6px 20px rgba(44, 62, 85, 0.09);
  --shadow-strong:  0 16px 40px rgba(44, 62, 85, 0.16);
  --max-w:          1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  z-index: 300;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--slate-deep);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.55em; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); margin-bottom: 0.35em; font-weight: 700; }

p { margin-bottom: 1em; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  background: var(--slate-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.logo-icon {
  color: var(--red);
  font-size: 1.6rem;
  line-height: 1;
}
.logo-name {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.logo-llc {
  color: var(--red);
  font-size: 0.85em;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: #BFC9D5;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
}
.main-nav a:hover { color: #fff; }

/* Header phone */
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: var(--red);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background 0.2s;
}
.header-phone:hover { background: var(--red-dark); }
.phone-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.phone-number { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--slate);
  padding: 6px 24px 20px;
}
.mobile-nav a {
  color: #C8D0DA;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-weight: 600;
  font-size: 1rem;
}
.mobile-phone-link {
  margin-top: 10px;
  background: var(--red) !important;
  color: #fff !important;
  text-align: center;
  padding: 13px !important;
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem !important;
  letter-spacing: 0.02em;
}
.mobile-nav.open { display: flex; }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition: transform 0.15s, background 0.2s, box-shadow 0.15s, color 0.2s;
  min-height: 52px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(192, 57, 43, 0.35);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-outline {
  background: transparent;
  color: var(--slate-deep);
  border: 2px solid var(--slate-deep);
  margin-top: 10px;
}
.btn-outline:hover { background: var(--slate-deep); color: #fff; }

.full-w { width: 100%; margin-top: 10px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  background: linear-gradient(140deg, var(--slate-deep) 0%, var(--slate) 60%, #4D6174 100%);
  color: #fff;
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(192,57,43,0.15);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero h1 { color: #fff; margin-bottom: 20px; }

.hero-lead {
  color: #B8C4CE;
  font-size: 1.06rem;
  max-width: 580px;
  margin-bottom: 30px;
}
.hero-lead a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.4); }
.hero-lead a:hover { text-decoration-color: #fff; }

.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: #A8B8C6;
  letter-spacing: 0.02em;
}
.badge::before { content: attr(data-icon); }

/* Stat panel — signature element */
.hero-stat-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(8px);
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 0;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-plus, .stat-pct {
  font-size: 1.8rem;
  color: var(--red);
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8CA0B3;
  margin-top: 6px;
}
.stat-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0 16px;
}

/* Paint-stroke clip-path divider — the signature design element */
.brush-stroke-divider {
  height: 68px;
  background: var(--white);
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0 100%);
}

/* ==========================================================
   CONTENT / ARTICLE
   ========================================================== */
.content-wrap {
  padding: 64px 0 72px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 52px;
  align-items: start;
}

/* Article body */
.article-body h2 {
  margin-top: 2em;
  padding-top: 20px;
  border-top: 4px solid var(--red);
  color: var(--slate-deep);
}
.article-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-body h3 { margin-top: 1.4em; color: var(--slate); }
.article-body p { color: var(--text-body); font-size: 1rem; }

.article-body a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(192,57,43,0.3);
  text-underline-offset: 2px;
}
.article-body a:hover { text-decoration-color: var(--red-dark); }

/* Benefit list */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--slate-light);
  border-left: 5px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px;
  margin: 20px 0 28px;
}
.benefit-list li {
  color: var(--text-body);
  font-size: 0.97rem;
  line-height: 1.55;
}
.benefit-list strong { color: var(--slate-deep); }

/* FAQ list */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 16px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  transition: background 0.15s;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { margin-top: 0; font-size: 1.1rem; color: var(--slate-deep); cursor: default; }
.faq-item p { margin-bottom: 0; font-size: 0.97rem; color: var(--text-muted); margin-top: 6px; }

/* ==========================================================
   SIDEBAR
   ========================================================== */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}
.sticky-card { position: sticky; top: 90px; }
.sidebar-heading { font-size: 1.3rem; margin-bottom: 8px; }
.sidebar-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 4px; }

.sidebar-services {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sidebar-services li {
  font-size: 0.88rem;
  color: var(--text-body);
  font-weight: 600;
}
.sidebar-services li::before { color: var(--red); margin-right: 8px; }

/* ==========================================================
   PROCESS SECTION
   ========================================================== */
.process-section {
  background: var(--slate-light);
  padding: 72px 0;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.section-title { color: var(--slate-deep); }
.section-title.light { color: #fff; }
.section-subtitle {
  color: var(--text-muted);
  max-width: 540px;
  margin: 8px 0 44px;
  font-size: 1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.process-step {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}
.process-step h3 { margin-top: 0; color: var(--slate-deep); }
.process-step p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 0; }

/* ==========================================================
   SERVICES SECTION
   ========================================================== */
.services-section {
  background: var(--slate-deep);
  padding: 72px 0;
}

.section-eyebrow.light { color: rgba(192,57,43,0.9); }
.section-title.light { color: #fff; margin-bottom: 0.4em; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 30px 22px 28px;
  transition: background 0.2s, transform 0.2s;
}
.service-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.service-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 14px;
}
.service-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: #8CA0B3; font-size: 0.9rem; margin-bottom: 0; }

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-section {
  background: var(--white);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items: center;
}

.contact-intro { color: var(--text-muted); max-width: 520px; margin-bottom: 28px; font-size: 1.01rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-mid);
  display: block;
  margin-bottom: 2px;
}
.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-deep);
  display: block;
}
a.contact-value:hover { color: var(--red); }

/* Contact panel */
.contact-panel {
  background: var(--slate-deep);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: #fff;
  box-shadow: var(--shadow-strong);
}
.panel-business {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.panel-tagline { font-size: 0.9rem; color: #8CA0B3; margin-bottom: 0; }
.panel-divider { border-top: 1px solid rgba(255,255,255,0.12); margin: 22px 0; }
.panel-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.panel-bullets li {
  font-size: 0.93rem;
  color: #B8C4CE;
  padding-left: 20px;
  position: relative;
}
.panel-bullets li::before {
  content: "&#10003;";
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--slate-deep);
  color: #8CA0B3;
  padding: 44px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 0.88rem; max-width: 460px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #B8C4CE; font-size: 0.88rem; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-address { font-size: 0.8rem; }
.footer-address a { color: #B8C4CE; }
.footer-address a:hover { color: #fff; }
.footer-copy { font-size: 0.76rem; color: #5A6A7A; margin-top: 6px; margin-bottom: 0; }

/* Sticky call bar (mobile) */
.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.2);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero-stat-panel { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 560px; }
  .stat-divider { border-top: none; border-left: 1px solid rgba(255,255,255,0.1); margin: 12px 0; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .sticky-call-bar { display: block; }
  body { padding-bottom: 60px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .hero { padding-top: 44px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; }
  .hero-stat-panel { grid-template-columns: 1fr; max-width: 100%; }
  .stat-divider { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0 16px; }
  .process-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .content-wrap { padding: 44px 0 52px; }
  .process-section, .services-section, .contact-section { padding: 48px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================
   SCROLL REVEAL (toggled by JS)
   ========================================================== */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scrolled header */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}