/* BIG Website - bettisindustrial.com */
:root {
  --green: #2DB54A;
  --green-dark: #25A03F;
  --dark: #0A0A0A;
  --charcoal: #1A1A1A;
  --gray: #2A2A2A;
  --light: #E8E8E8;
  --muted: #888888;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--green); color: white; }
html { scroll-behavior: smooth; }
body { background: var(--dark); color: white; font-family: var(--font-body); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* NAV */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.4s; padding: 0 40px; border-bottom: 1px solid transparent; }
#navbar.scrolled { background: rgba(10,10,10,0.95); backdrop-filter: blur(12px); border-bottom-color: #222; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 2px; display: block; line-height: 1.1; }
.logo-tag { font-size: 9px; letter-spacing: 3px; color: var(--green); font-weight: 600; text-transform: uppercase; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--muted); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--green); text-decoration: none; }
.nav-dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; top: 100%; left: -20px; background: var(--charcoal); border: 1px solid #333; min-width: 280px; padding: 8px 0; margin-top: 12px; z-index: 200; }
.nav-dropdown:hover .dropdown-content, .nav-dropdown.open .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 12px 20px; color: var(--light); font-size: 14px; text-decoration: none; transition: all 0.2s; border-left: 3px solid transparent; }
.dropdown-content a:hover { background: var(--gray); color: var(--green); border-left-color: var(--green); text-decoration: none; }
.nav-cta { padding: 10px 24px !important; font-size: 12px !important; box-shadow: 0 2px 12px rgba(45,181,74,0.3); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: white; transition: 0.3s; }

/* BUTTONS */
.cta-btn { display: inline-block; background: var(--green); color: white; border: 2px solid var(--green); padding: 14px 32px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all 0.3s; font-family: var(--font-body); text-decoration: none; box-shadow: 0 4px 16px rgba(45,181,74,0.25); }
.cta-btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(45,181,74,0.4); text-decoration: none; }
.outline-btn { display: inline-block; background: transparent; color: white; border: 2px solid white; padding: 14px 32px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all 0.3s; font-family: var(--font-body); text-decoration: none; }
.outline-btn:hover { border-color: var(--green); color: var(--green); text-decoration: none; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 40px 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; display: block; }
.hero-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 1; }
.hero-glow-1 { right: -100px; top: -100px; background: rgba(45,181,74,0.08); }
.hero-glow-2 { left: -200px; bottom: -200px; background: rgba(45,181,74,0.04); }
.hero-content { max-width: 900px; text-align: center; position: relative; z-index: 2; }
.hero-badge { display: inline-block; border: 1px solid var(--green); padding: 6px 20px; margin-bottom: 32px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--green); font-weight: 600; }
.hero h1 { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1.05; margin-bottom: 24px; text-transform: uppercase; letter-spacing: -1px; }
.hero h1 .green { color: var(--green); }
.hero p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 600px; margin: 0 auto 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* PAGE HERO (interior pages) */
.page-hero { padding: 140px 40px 60px; text-align: center; position: relative; border-bottom: 1px solid #222; }
.page-hero .hero-badge { margin-bottom: 20px; }
.page-hero h1 { font-family: var(--font-display); font-size: 42px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; line-height: 1.1; }
.page-hero p { color: var(--muted); max-width: 650px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* SECTIONS */
section { padding: 80px 0; }
.section-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 16px; }
h2 { font-family: var(--font-display); font-size: 36px; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; line-height: 1.1; }
h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

/* STATS BAR */
.stats-bar { background: var(--charcoal); border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--green); line-height: 1; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--charcoal); border: 1px solid #333; padding: 32px 28px; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--green); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--light); margin-bottom: 8px; }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; }
.service-card .card-link { display: inline-block; margin-top: 16px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dark-section { background: var(--charcoal); position: relative; }
.dark-section .accent-top { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), transparent); }
.diff-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.diff-item { display: flex; align-items: flex-start; gap: 12px; }
.diff-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.diff-item span { color: var(--light); font-size: 14px; line-height: 1.5; }
.quote-box { background: var(--dark); border: 1px solid #333; padding: 48px; position: relative; }
.quote-box .accent { position: absolute; top: -2px; left: 32px; right: 32px; height: 4px; background: var(--green); }
.quote-box blockquote { font-family: var(--font-display); font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.2; margin-bottom: 24px; }
.quote-box .divider { width: 48px; height: 2px; background: var(--green); margin-bottom: 16px; }
.quote-box cite { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-style: normal; }

/* INDUSTRIES */
.industries-bar { border-top: 1px solid #333; padding: 60px 0; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.tag { padding: 10px 24px; border: 1px solid #333; font-size: 13px; color: var(--light); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all 0.3s; }
.tag:hover { border-color: var(--green); color: var(--green); text-decoration: none; }

/* CTA SECTION */
.cta-section { padding: 80px 0; background: var(--charcoal); position: relative; }
.cta-section .accent-top { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.cta-section h2 { margin-bottom: 16px; }

/* CONTACT FORM */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 800px; margin: 0 auto; }
.form-grid input, .form-grid textarea, .form-grid select { background: var(--dark); border: 1px solid #333; padding: 14px 16px; color: white; font-size: 14px; font-family: var(--font-body); outline: none; width: 100%; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--green); }
.form-grid textarea { resize: vertical; }
.full-width { grid-column: 1 / -1; }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-item { border-bottom: 1px solid #222; padding: 24px 0; }
.faq-item h3 { font-size: 16px; text-transform: none; letter-spacing: 0; margin-bottom: 8px; color: white; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* CONTENT SECTIONS (service pages) */
.content-section { padding: 60px 0; }
.content-section h2 { font-size: 28px; margin-bottom: 16px; }
.content-section p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; max-width: 800px; }
.content-section ul { list-style: none; margin: 16px 0; }
.content-section ul li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: var(--light); font-size: 15px; }
.content-section ul li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.codes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.code-card { background: var(--charcoal); border: 1px solid #333; padding: 20px; }
.code-card h4 { font-family: var(--font-display); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.code-card p { color: var(--muted); font-size: 13px; margin: 0; }
.callout { background: var(--charcoal); border-left: 4px solid var(--green); padding: 24px 28px; margin: 24px 0; }
.callout p { color: var(--light); margin: 0; }

/* TEAM GRID */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.value-card { background: var(--charcoal); border: 1px solid #333; padding: 28px; position: relative; }
.value-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--green); }
.value-card h3 { font-size: 16px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* FOOTER */
footer { padding: 64px 0 32px; border-top: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; color: var(--green); }
.footer-col a { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; text-decoration: none; }
.footer-col a:hover { color: var(--green); }
.footer-col p { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.footer-desc { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 300px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom span { color: #555; font-size: 12px; }
.footer-tagline { color: var(--green); font-size: 11px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; background: var(--green); color: white; border: none; cursor: pointer; font-size: 20px; z-index: 90; opacity: 0; visibility: hidden; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* HERO LOGO */
.hero-logo { width: 240px; height: auto; margin: 0 auto 32px; display: block; border-radius: 4px; }

/* FOCUS STATES */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* SMOOTH CARD TRANSITIONS */
.service-card { transition: border-color 0.3s, transform 0.2s; }
.service-card:hover { border-color: var(--green); transform: translateY(-4px); }

/* SKIP LINK (accessibility) */
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--green); color: white; padding: 8px 16px; z-index: 999; font-size: 14px; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 30px; }
  h2 { font-size: 28px; }
  .services-grid, .about-grid, .stats-grid, .codes-grid, .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,10,10,0.98); flex-direction: column; padding: 20px 40px; border-top: 1px solid #222; }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }
  .nav-dropdown .dropdown-content { position: static; border: none; background: transparent; display: block; padding-left: 16px; min-width: auto; margin-top: 4px; }
  .container { padding: 0 20px; }
  #navbar { padding: 0 20px; }
}


/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card { background: var(--charcoal); border: 1px solid #333; text-decoration: none; display: block; transition: all 0.3s; overflow: hidden; }
.blog-card:hover { border-color: var(--green); transform: translateY(-2px); text-decoration: none; }
.blog-card-inner { padding: 28px; }
.blog-date { font-size: 12px; color: var(--green); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.blog-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: white; margin: 10px 0; text-transform: uppercase; line-height: 1.2; letter-spacing: 0.5px; }
.blog-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.blog-card .card-link { font-size: 13px; color: var(--green); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.blog-date-hero { font-size: 13px; color: var(--green); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }

/* BLOG ARTICLE */
.blog-article { padding: 60px 0; }
.blog-article h2 { font-size: 24px; margin-top: 40px; margin-bottom: 12px; }
.blog-article h3 { font-size: 18px; margin-top: 32px; margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.blog-article p { color: var(--light); line-height: 1.8; margin-bottom: 16px; font-size: 15px; }
.blog-article ul { list-style: none; margin: 16px 0; }
.blog-article ul li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: var(--light); font-size: 15px; line-height: 1.6; }
.blog-article ul li::before { content: '•'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.blog-article strong { color: white; }
.article-footer { margin-top: 48px; padding-top: 32px; text-align: center; }
.article-footer p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.divider-green { width: 60px; height: 3px; background: var(--green); margin: 0 auto 24px; }
.related-posts h3 { font-size: 18px; text-transform: uppercase; }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}
