/* ─── Capital City Coatings — Shared Design System ──────────
   Source of truth: design_handoff_brand_kit/README.md
   Do not introduce gradients-as-decoration, extra accent colors, or emoji. */

:root {
  --charcoal:   #2a2b2d;
  --blue:       #2288c4;
  --blue-light: #52ace0;
  --slate-dark: #3e4145;
  --slate:      #828284;
  --chalk:      #e9eaea;
  --section-bg: #d7d9da;
  --border:     #cccecf;
  --border-2:   #c5c8c9;
  --muted:      #5b5e61;
  --muted-2:    #80868a;
  --radius:     3px;
  --radius-lg:  8px;
  --shadow-card: 0 18px 40px -16px rgba(22,25,29,0.5);
  --shadow-hero: 0 20px 50px -22px rgba(22,25,29,0.4);
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-label:   'Barlow Semi Condensed', sans-serif;
  --flake-img: url('../images/epoxy-flake.png');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--chalk); color: var(--charcoal); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.kicker {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.kicker.on-light { color: var(--blue); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section-title em { font-style: normal; color: var(--blue); }

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 28px;
  transition: background 0.18s, transform 0.15s;
}
.btn-primary:hover { background: #1e7ab0; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(34,136,196,0.35);
  border-radius: var(--radius);
  padding: 12px 20px;
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline:hover { border-color: var(--blue); background: rgba(34,136,196,0.06); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk);
  border: 1px solid rgba(233,234,234,0.35);
  border-radius: var(--radius);
  padding: 14px 26px;
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline-light:hover { border-color: var(--chalk); background: rgba(233,234,234,0.08); }

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #fff;
  color: var(--blue);
  border-radius: var(--radius);
  padding: 16px 32px;
  white-space: nowrap;
  transition: background 0.18s, transform 0.15s;
}
.btn-cta-white:hover { background: var(--chalk); transform: translateY(-1px); }

/* ─── NAV ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(32,34,36,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nav-logo-slot { display: flex; align-items: center; height: 100%; }
.nav-logo-slot img { height: 58px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233,234,234,0.75);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--chalk); }
.nav-links a.active { color: var(--blue-light); }
.nav-cta {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background 0.18s;
  white-space: nowrap;
}
.nav-cta:hover { background: #1e7ab0; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--chalk);
  border-radius: 1px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(30,32,34,0.98);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 24px 28px;
}
.nav-mobile a {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233,234,234,0.75);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
  display: block;
}
.nav-mobile a:last-child { border: none; margin-top: 12px; }
.nav-mobile a.mobile-cta {
  text-align: center;
  background: var(--blue);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius);
}
#nav.open .nav-mobile { display: flex; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── PAGE HERO (secondary pages) ────────────────────────── */
#page-hero {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  padding: 140px 0 60px;
}
#page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--flake-img);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.page-hero-text { display: flex; flex-direction: column; gap: 14px; }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--chalk);
}
.page-hero-title em { font-style: normal; color: var(--blue-light); }
.page-hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(233,234,234,0.58);
  max-width: 480px;
  font-weight: 300;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,136,196,0.15);
  border: 1px solid rgba(34,136,196,0.3);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
  white-space: nowrap;
}

/* ─── CARDS ───────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.card-dark {
  background: var(--slate-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: var(--chalk);
}

/* ─── CTA STRIP ───────────────────────────────────────── */
.cta-strip {
  background: var(--blue);
  padding: 64px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-text .kicker { color: rgba(255,255,255,0.65); }
.cta-strip-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 40px);
  text-transform: uppercase;
  color: #fff;
  margin-top: 10px;
  line-height: 1.0;
}

/* ─── FOOTER ──────────────────────────────────────────── */
#footer {
  background: var(--charcoal);
  border-top: 3px solid var(--blue);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(233,234,234,0.45); max-width: 280px; }
.footer-col-title {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(233,234,234,0.55); transition: color 0.15s; }
.footer-links a:hover { color: var(--chalk); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(233,234,234,0.55); }
.footer-contact-item svg { fill: var(--blue); flex-shrink: 0; }
.footer-contact-item a { transition: color 0.15s; }
.footer-contact-item a:hover { color: var(--chalk); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(233,234,234,0.3); font-family: var(--font-label); letter-spacing: 0.06em; }
.footer-badge { display: flex; align-items: center; gap: 8px; }
.footer-badge-item {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233,234,234,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: var(--radius);
}

/* ─── FORMS ───────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--charcoal);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ─── UTILITIES ───────────────────────────────────────── */
.eyebrow-rule { width: 40px; height: 3px; background: var(--blue); border-radius: 2px; }
.text-muted { color: var(--muted); }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  #page-hero { padding: 118px 0 48px; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; }
}
