/* ============================================
   UNIVERSAL SIGNS USA — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #EE1B24;
  --color-primary-hover: #d4161e;
  --color-dark: #000000;
  --color-dark-alt: #111111;
  --color-charcoal: #0F0F0F;
  --color-card-dark: #333333;
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;
  --color-text-dark: #333333;
  --color-text-muted: #888888;
  --color-text-light: #cccccc;
  --color-border: #2a2a2a;
  --font-primary: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --header-height: 80px;
  --transition: 0.3s ease;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.28);
  --radius: 4px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-primary); }
input, textarea, select { font-family: var(--font-primary); }

/* --- Utilities --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-red { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-text-muted); }
.bg-dark { background: var(--color-dark); color: var(--color-white); }
.bg-dark-alt { background: var(--color-dark-alt); color: var(--color-white); }
.bg-off-white { background: var(--color-off-white); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.section-heading { margin-bottom: 0.75rem; }
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 12px;
}
.section-heading.centered::after { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(238,27,36,0.35); }
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-outline:hover { background: var(--color-white); color: var(--color-dark); }
.btn-outline-red {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline-red:hover { background: var(--color-primary); color: var(--color-white); }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
}
.site-header.scrolled { background: rgba(0,0,0,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 45px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 28px 18px;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--color-primary); }
.nav-caret { font-size: 0.6rem; transition: transform var(--transition); }
.main-nav > li:hover .nav-caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-dark-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  min-width: 280px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.main-nav > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background var(--transition);
}
.dropdown-item:hover { background: rgba(255,255,255,0.06); }
.dropdown-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.dropdown-item-text h4 { font-size: 0.85rem; font-weight: 600; color: var(--color-white); margin-bottom: 2px; }
.dropdown-item-text span { font-size: 0.75rem; color: var(--color-text-muted); }

/* Header CTA */
.header-cta .btn { padding: 10px 22px; font-size: 0.8rem; }

/* Hamburger */
.hamburger { display: none; width: 28px; height: 20px; position: relative; cursor: pointer; z-index: 1001; }
.hamburger span {
  display: block; position: absolute; height: 2px; width: 100%;
  background: var(--color-white); border-radius: 2px;
  transition: all 0.3s ease; left: 0;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Mobile nav overlay */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: var(--color-dark-alt); z-index: 1000; overflow-y: auto;
  padding: 100px 24px 40px; transition: right 0.3s ease;
}
.mobile-nav.active { right: 0; }
.mobile-nav a {
  display: block; padding: 14px 0; color: var(--color-white);
  font-size: 1rem; font-weight: 600; border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:hover { color: var(--color-primary); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 60px 0; }
.hero-content h1 { color: var(--color-white); margin-bottom: 20px; }
.hero-content p { color: var(--color-text-light); font-size: 1.1rem; margin-bottom: 32px; }

/* Page hero (shorter, for interior pages) */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--color-dark);
  text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 16px; }
.page-hero h1::after {
  content: ''; display: block; width: 60px; height: 4px;
  background: var(--color-primary); margin: 16px auto 0;
}

/* --- Value Props Bar --- */
.value-props {
  background: var(--color-dark-alt);
  padding: 50px 0;
  border-top: 1px solid var(--color-border);
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-prop { text-align: center; }
.value-prop-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.value-prop h3 { color: var(--color-white); font-size: 1.1rem; margin-bottom: 4px; }
.value-prop p { color: var(--color-text-muted); font-size: 0.9rem; }

/* --- Section Spacing --- */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.stat-label { font-size: 0.95rem; color: var(--color-text-muted); margin-top: 8px; }

/* --- Card Styles --- */
.card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card-body p { font-size: 0.9rem; color: var(--color-text-muted); }

/* Dark overlay card (for capabilities/projects) */
.overlay-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.overlay-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.overlay-card:hover img { transform: scale(1.08); }
.overlay-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--color-white);
}
.overlay-card-content h4 { font-size: 1.1rem; margin-bottom: 4px; }
.overlay-card-content p { font-size: 0.85rem; color: var(--color-text-light); margin: 0; }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* --- CTA Section --- */
.cta-section {
  padding: 60px;
  background: var(--color-card-dark);
  border-radius: 12px;
  text-align: center;
  color: var(--color-white);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--color-text-light); max-width: 600px; margin: 0 auto 30px; }
.cta-banner {
  background: var(--color-dark);
  padding: 80px 0;
  text-align: center;
  color: var(--color-white);
}

/* --- FAQ Accordion --- */
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--color-primary);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 20px; color: var(--color-text-muted); line-height: 1.8; }

/* --- Contact Form --- */
.form-group { margin-bottom: 20px; }
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--color-white);
}
.form-input:focus { outline: none; border-color: var(--color-primary); }
textarea.form-input { min-height: 140px; resize: vertical; }

/* --- Footer --- */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.footer-logo img { height: 40px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-col h6 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.footer-col p { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.8; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* --- Blog --- */
.blog-card .card-body .category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: inline-block;
}
.blog-card .card-body h3 a:hover { color: var(--color-primary); }
.article-body { max-width: 800px; margin: 0 auto; }
.article-body h2, .article-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; list-style: disc; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 14px;
  background: var(--color-off-white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
}
.tag:hover { background: var(--color-primary); color: var(--color-white); }

/* --- Features Grid --- */
.feature-item { text-align: center; padding: 40px 24px; }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--color-primary); fill: none; stroke-width: 2; }
.feature-item h4 { margin-bottom: 10px; }
.feature-item p { font-size: 0.9rem; color: var(--color-text-muted); }

/* --- Industry Row (alternating split) --- */
.industry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 400px; }
.industry-row:nth-child(even) .industry-image { order: 2; }
.industry-image { overflow: hidden; }
.industry-image img { width: 100%; height: 100%; object-fit: cover; }
.industry-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px;
}
.industry-content h3 { margin-bottom: 8px; }
.industry-content .subtitle { color: var(--color-text-muted); margin-bottom: 16px; font-size: 0.95rem; }
.industry-content p { margin-bottom: 24px; }
.learn-more {
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.learn-more:hover { gap: 10px; }

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .industry-row { grid-template-columns: 1fr; }
  .industry-row:nth-child(even) .industry-image { order: 0; }
  .industry-content { padding: 40px 24px; }
}
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .value-props-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { padding: 40px 0; }
  .section { padding: 60px 0; }
  .cta-section { padding: 40px 24px; }
  .page-hero { padding: 120px 0 60px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}
