/* ==========================================================================
   TITANROLL COMMERCIAL SYSTEMS - INDUSTRIAL CSS THEME
   Domain: commercialrollupdoors.us
   Niche: Heavy-Duty Commercial Roll-Up Doors, Rolling Steel & Loading Docks
   Anti-Footprint: Unique Industrial Carbon & Safety Orange Design System
   ========================================================================== */

:root {
  --primary: #0f172a;        /* Carbon Dark */
  --primary-card: #1e293b;   /* Slate Card */
  --accent: #ea580c;         /* High-Vis Blaze Orange */
  --accent-hover: #c2410c;   /* Deep Orange */
  --accent-soft: rgba(234, 88, 12, 0.12);
  --dark-bg: #090d16;
  --surface: #ffffff;
  --bg-subtle: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border: #e2e8f0;
  --border-dark: #334155;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-subtle);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Top B2B Dispatch Bar --- */
.top-dispatch-bar {
  background: var(--dark-bg);
  border-bottom: 1px solid var(--border-dark);
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 88, 12, 0.2);
  color: #fdba74;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(234, 88, 12, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px var(--accent); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.top-hotline {
  color: #f8fafc;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-hotline:hover {
  color: var(--accent);
  text-decoration: none;
}

/* --- Main Site Header --- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  font-size: 20px;
  border: 2px solid var(--accent);
}

.brand-text h1, .brand-text .brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-text span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.header-cta-btn {
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.header-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

/* --- Hero Banner Section --- */
.hero-industrial {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary) 100%);
  color: var(--text-light);
  padding: 60px 0 50px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.chip-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chip-icon {
  color: var(--accent);
}

/* --- Hero Dispatch Card --- */
.dispatch-card {
  background: var(--primary-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dispatch-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.dispatch-header h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.dispatch-header p {
  color: #94a3b8;
  font-size: 13px;
}

.dispatch-phone-box {
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid var(--accent);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 18px;
}

.dispatch-phone-num {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: block;
}

.dispatch-subtext {
  font-size: 12px;
  color: #fed7aa;
  font-weight: 600;
  text-transform: uppercase;
}

.dispatch-specs-list {
  list-style: none;
  font-size: 13px;
  color: #cbd5e1;
}

.dispatch-specs-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
}

.spec-label {
  color: #94a3b8;
}

.spec-val {
  color: #f8fafc;
  font-weight: 600;
}

/* --- Main Content Layout --- */
.main-section {
  padding: 50px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

.content-article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.content-article h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin: 32px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.content-article h2:first-of-type {
  margin-top: 0;
}

.content-article h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin: 22px 0 10px 0;
}

.content-article p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
}

.content-article ul, .content-article ol {
  margin: 14px 0 20px 22px;
  color: #334155;
}

.content-article li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* --- Technical Slat Specifier Table --- */
.spec-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.spec-table th {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: #334155;
}

.spec-table tr:nth-child(even) {
  background: var(--bg-subtle);
}

.badge-gauge {
  background: rgba(15, 23, 42, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* --- Local Logistics Corridor Card --- */
.corridor-box {
  background: #f1f5f9;
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
}

.corridor-box h4 {
  font-size: 16px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 8px;
}

.corridor-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #475569;
}

/* --- Sidebar --- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.coi-badge-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: 8px;
  padding: 22px;
  text-align: center;
  border: 1px solid var(--accent);
}

.coi-amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  margin: 8px 0;
  display: block;
}

/* --- FAQ Accordion --- */
.faq-block {
  margin: 30px 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
}

.faq-question:hover {
  background: var(--bg-subtle);
}

.faq-answer {
  padding: 0 20px 16px 20px;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

/* --- Locations Grid (State Hubs & City Grids) --- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.location-pill {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s ease;
}

.location-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  background: #fff7ed;
  transform: translateY(-1px);
}

/* --- Site Footer --- */
.site-footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 50px 0 20px 0;
  border-top: 4px solid var(--accent);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-widget h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-widget p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* --- Floating Mobile Emergency Call Bar --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  border-top: 2px solid var(--accent);
  padding: 12px 16px;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 16px;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    display: none;
  }
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}

/* --- Authentic Commercial Door Photography & Figure Blocks --- */
.job-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.job-photo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.job-photo-card picture img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.job-photo-caption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.job-photo-caption strong {
  color: var(--text-main);
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.hero-content {
  flex: 1;
}
