/* WeldCertTest.com - Production CSS */
/* Fonts: Barlow Condensed (headings) + Barlow (body) - industrial, no-BS */

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

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --gray-dark: #1e1e1e;
  --gray-mid: #2e2e2e;
  --gray-border: #333;
  --gray-text: #999;
  --white: #f5f5f0;
  --yellow: #f5c518;
  --yellow-dark: #d4a800;
  --red: #cc2200;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; color: var(--white); }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

/* ── NAV ── */
.nav {
  background: var(--black);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: #bbb;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border: 1px solid var(--gray-border);
  min-width: 220px;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-mid);
  color: #ccc;
  font-size: 0.85rem;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--gray-mid); color: var(--yellow); }

.nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--yellow-dark) !important; text-decoration: none !important; color: var(--black) !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0; transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  border-bottom: 3px solid var(--yellow);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(135deg, transparent 0%, rgba(245,197,24,0.04) 100%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub {
  font-size: 1.15rem;
  color: #ccc;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--yellow);
  text-decoration: none;
  margin-bottom: 12px;
}
.hero-phone:hover { text-decoration: none; color: var(--yellow-dark); }
.hero-note { font-size: 0.85rem; color: var(--gray-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 28px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  line-height: 1;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover { background: var(--yellow-dark); text-decoration: none; color: var(--black); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-border);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); text-decoration: none; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ── CARDS ── */
.card {
  background: var(--dark);
  border: 1px solid var(--gray-border);
  padding: 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.card-grid .card { border: none; border-right: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }

/* ── POSITION CARDS ── */
.pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  border: 1px solid var(--gray-border);
}
.pos-card {
  background: var(--dark);
  padding: 28px 24px;
  border-right: 1px solid var(--gray-border);
  text-decoration: none;
  display: block;
  transition: background 0.15s;
}
.pos-card:last-child { border-right: none; }
.pos-card:hover { background: var(--gray-mid); text-decoration: none; }
.pos-label {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yellow);
  display: block;
  margin-bottom: 6px;
}
.pos-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.pos-desc { font-size: 0.85rem; color: var(--gray-text); line-height: 1.5; }

/* ── PROCESS STEPS ── */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gray-mid);
  line-height: 1;
}
.step h3 { color: var(--yellow); margin-bottom: 8px; }
.step p { color: #ccc; }

/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th {
  background: var(--gray-mid);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  letter-spacing: 0.05em;
}
td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-border);
  color: #ccc;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }
.table-wrap { border: 1px solid var(--gray-border); overflow-x: auto; }

/* ── FAQ ── */
details.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 4px 0;
}
details.faq-item:first-of-type { border-top: 1px solid var(--gray-border); }
details.faq-item summary.faq-q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  list-style: none;
  user-select: none;
}
details.faq-item summary.faq-q::-webkit-details-marker { display: none; }
details.faq-item summary.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.2s;
  font-weight: 400;
}
details.faq-item[open] summary.faq-q::after { transform: rotate(45deg); }
details.faq-item .faq-a {
  padding: 0 0 16px 0;
  color: #ccc;
  line-height: 1.7;
}

/* ── CALLOUT BOX ── */
.callout {
  background: var(--dark);
  border-left: 4px solid var(--yellow);
  padding: 20px 24px;
  margin: 28px 0;
}
.callout strong { color: var(--yellow); }

/* ── SECTION HEADER ── */
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: #ccc; max-width: 560px; font-size: 1.05rem; }
.section-head .eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
  display: block;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--yellow);
  padding: 20px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(0,0,0,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0,0,0,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { grid-column: 1 / -1; }
label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--gray-border);
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--yellow); }
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; cursor: pointer; }
.form-group { margin-bottom: 0; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.82rem;
  color: var(--gray-text);
}
.breadcrumb a { color: var(--gray-text); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { margin: 0 6px; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--gray-border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.footer-brand span { color: var(--yellow); }
.footer-desc { color: #888; font-size: 0.9rem; line-height: 1.6; }
.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: #888; font-size: 0.9rem; transition: color 0.15s; }
.footer ul a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--gray-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-text);
}
.footer-contact a { color: #aaa; }
.footer-contact a:hover { color: var(--yellow); }
.footer-contact { display: flex; gap: 24px; }

/* ── HIGHLIGHT ── */
.highlight { color: var(--yellow); }
.text-muted { color: var(--gray-text); }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--gray-border); margin: 48px 0; }
.tag {
  display: inline-block;
  background: var(--gray-mid);
  color: #bbb;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 6px;
  margin-bottom: 6px;
}
.tag-yellow { background: rgba(245,197,24,0.12); color: var(--yellow); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); border-bottom: 1px solid var(--gray-border); padding: 16px 0; }
  .nav-toggle { display: flex; flex-direction: column; }
  .nav-dropdown-menu { position: static; border: none; background: var(--gray-mid); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 60px 1fr; }
  .step-num { font-size: 2.5rem; }
}

/* ── DIFFERENTIATOR BAR ── */
.diff-bar {
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.3);
  border-left: 4px solid var(--yellow);
  padding: 10px 16px;
  margin: 16px 0 20px;
  display: inline-block;
  max-width: 680px;
}
.diff-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.diff-text strong { color: var(--yellow); }

/* ── HERO CTA BLOCK ── */
.hero-cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.btn-xl {
  padding: 18px 36px;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.btn-call {
  background: var(--yellow);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.btn-call:hover {
  background: var(--yellow-dark);
  color: var(--black);
  text-decoration: none;
}
.btn-call svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .btn-xl { padding: 15px 24px; font-size: 1rem; width: 100%; justify-content: center; }
  .hero-cta-block { flex-direction: column; }
  .diff-bar { display: block; }
  .diff-text { font-size: 0.78rem; }
}

/* ── TOP CONTACT BAR ── */
.top-bar {
  background: var(--yellow);
  padding: 9px 0;
  text-align: center;
  position: relative;
  z-index: 101;
}
.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.top-bar a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
}
.top-bar a:hover { text-decoration: underline; color: var(--black); }
.top-bar-divider { width: 1px; height: 16px; background: rgba(0,0,0,0.25); }
.top-bar-cta {
  background: var(--black) !important;
  color: var(--yellow) !important;
  padding: 5px 16px;
  font-size: 0.82rem !important;
  text-decoration: none !important;
}
.top-bar-cta:hover { background: #222 !important; text-decoration: none !important; }

/* ── FLOATING MOBILE CTA ── */
.float-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; }
.float-cta-inner { display: grid; grid-template-columns: 1fr 1fr; }
.float-cta a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
}
.float-cta a.call { background: var(--yellow); color: var(--black); border-right: 2px solid rgba(0,0,0,0.15); }
.float-cta a.quote { background: var(--black); color: var(--yellow); }
.float-cta a:hover { opacity: 0.9; text-decoration: none; }

@media (max-width: 768px) {
  .float-cta { display: block; }
  body { padding-bottom: 56px; }
  .top-bar-divider { display: none; }
  .top-bar-inner { gap: 12px; }
}

/* ── PRINT / PERF ── */
@media print { .nav, .footer, .btn, .top-bar, .float-cta { display: none; } body { background: white; color: black; padding-bottom: 0; } }
