/* Signworks of Wisconsin — Styles
   Deep navy + bright white + safety orange accent, bold professional sign shop */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --bg: #F8F9FA;
  --bg-alt: #EEF0F2;
  --bg-card: #FFF;
  --bg-dark: #0F1828;
  --text: #0F1828;
  --text-muted: #4A5568;
  --text-faint: #7A8898;
  --primary: #0F1828;
  --primary-rgb: 15, 24, 40;
  --primary-light: #E0E5EC;
  --accent: #E87020;
  --accent-rgb: 232, 112, 32;
  --accent-light: #FEF0E0;
  --border: #D0D5DA;
  --border-light: #EEF0F2;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --transition: .3s ease;
}

/* ── Dark Mode ── */
[data-theme="sw-theme"] {
  --bg: #0F1828;
  --bg-alt: #1A2438;
  --bg-card: #1E2A40;
  --bg-dark: #F8F9FA;
  --text: #F0F2F5;
  --text-muted: #A0AAB8;
  --text-faint: #6A7888;
  --primary: #F0F2F5;
  --primary-rgb: 240, 242, 245;
  --primary-light: #1A2438;
  --accent: #F08030;
  --accent-rgb: 240, 128, 48;
  --accent-light: #1A2438;
  --border: #2A3A50;
  --border-light: #1A2438;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  padding-bottom: 2.25rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
ul, ol { list-style: none; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: #D06018; color: #fff; }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { opacity: .85; color: #fff; }
[data-theme="sw-theme"] .btn-primary { background: #F0F2F5; color: #0F1828; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  transition: all var(--transition);
}
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 1rem;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ── Mobile Nav ── */
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 200;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .mobile-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text);
  }
}
@media (min-width: 768px) {
  .mobile-close { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .25;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
}
[data-theme="sw-theme"] .hero { background: #080E18; }
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero h1 .accent-text { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  opacity: .8;
  margin-bottom: 2rem;
  line-height: 1.7;
  text-transform: none;
}

/* ── Section Shared ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: #F0F2F5;
}
[data-theme="sw-theme"] .section-dark { background: #080E18; }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: .75rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  text-transform: none;
  font-weight: 400;
}
.text-center { text-align: center; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.card p { color: var(--text-muted); font-size: .9rem; text-transform: none; font-weight: 400; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-6 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Trust / Stats ── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 0;
}
.stat { text-align: center; }
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500;
}

/* ── CTA ── */
.cta-section {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
[data-theme="sw-theme"] .cta-section { background: #080E18; }
.cta-section h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
}
.cta-section p {
  opacity: .75;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-transform: none;
  font-weight: 400;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-dark);
  color: #F0F2F5;
  padding: 3rem 0 1.5rem;
}
[data-theme="sw-theme"] .site-footer { background: #060C14; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-size: .85rem;
  margin-bottom: 1rem;
  color: inherit;
  letter-spacing: .05em;
}
.footer-col a {
  display: block;
  color: rgba(240,242,245,.5);
  font-size: .85rem;
  margin-bottom: .5rem;
  text-transform: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p { text-transform: none; font-weight: 400; }
.footer-bottom {
  border-top: 1px solid rgba(240,242,245,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(240,242,245,.4);
  text-transform: none;
  font-weight: 400;
}
.zg-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  opacity: .4;
  color: inherit;
  text-decoration: none;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}
.zg-credit:hover { opacity: .7; }
.zg-credit strong { font-weight: 700; font-size: 12px; letter-spacing: -.02em; text-transform: none; }
.zg-credit .dot { color: #F15822; }

/* ── Contact Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .375rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .9rem;
  display: none;
  text-transform: none;
  font-weight: 400;
}
.form-message.success { background: #e6f9e8; color: #1a7a2a; display: block; }
.form-message.error { background: #fde8e8; color: #9a2020; display: block; }
[data-theme="sw-theme"] .form-message.success { background: #0a2a0a; color: #6ae66a; }
[data-theme="sw-theme"] .form-message.error { background: #2a0a0a; color: #e66a6a; }

/* ── Disclaimer ── */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  text-align: center;
  font-size: .7rem;
  padding: .5rem 1rem;
  line-height: 1.4;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

/* ── Page Header ── */
.page-header {
  padding: 6rem 0 3rem;
  text-align: center;
  background: var(--bg-alt);
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: .75rem; }
.page-header p { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; text-transform: none; font-weight: 400; }

/* ── Prose ── */
.prose {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  text-transform: none;
  font-weight: 400;
}
.prose h2 { margin: 2.5rem 0 1rem; color: var(--text); font-size: 1.35rem; }
.prose p { margin-bottom: 1.25rem; }
.prose strong { color: var(--text); }

/* ── 404 ── */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.page-404 h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: .5rem;
}
.page-404 h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}
.page-404 p { color: var(--text-muted); margin-bottom: 2rem; text-transform: none; font-weight: 400; }

/* ── Utilities ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
