/* ===================================================================
   IRONSCOUT SOURCING — SHARED STYLESHEET
   =================================================================== */

:root {
  --charcoal: #16181a;
  --charcoal-light: #22262a;
  --steel: #3a4048;
  --steel-light: #5a626c;
  --iron-yellow: #f5a623;
  --iron-yellow-dark: #d68c12;
  --off-white: #f7f7f5;
  --white: #ffffff;
  --border: #e3e2de;
  --text-dark: #1c1e21;
  --text-muted: #6b7076;
  --success: #2e7d46;
  --sold: #b23b3b;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.14);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 { font-size: 3rem; text-transform: uppercase; }
h2 { font-size: 2.2rem; text-transform: uppercase; }
h3 { font-size: 1.4rem; }

p { color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--iron-yellow-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--iron-yellow);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--iron-yellow-dark); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--iron-yellow); color: var(--iron-yellow); }

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--steel); }

.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 10px 18px; font-size: 0.75rem; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 3px solid var(--iron-yellow);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}
.logo span { color: var(--iron-yellow); }
.logo-img { height: 56px; width: auto; display: block; }
.logo-img-footer { height: 74px; width: auto; display: block; margin-bottom: 4px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--iron-yellow); }
.nav-phone {
  color: var(--iron-yellow);
  font-weight: 700;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--charcoal-light); }
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2b2f33 100%);
  color: var(--white);
  padding: 90px 0 70px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--iron-yellow); }
.hero p.lead {
  color: #cfd3d6;
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--iron-yellow);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 26px 0;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--charcoal);
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--charcoal);
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #b7bcc0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head p { margin-top: 12px; }

/* ---------- PROCESS STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--iron-yellow);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--iron-yellow);
  margin-bottom: 8px;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- CARD GRIDS (services / industries) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--iron-yellow);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.why-item { display: flex; gap: 16px; }
.why-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--iron-yellow);
  min-width: 44px;
}
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- INVENTORY GRID ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-chip {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-chip.active, .filter-chip:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 940px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .listing-grid { grid-template-columns: 1fr; } }

.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.listing-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #ddd; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-available { background: var(--success); color: var(--white); }
.badge-sold { background: var(--sold); color: var(--white); }
.badge-offmarket { background: var(--iron-yellow); color: var(--charcoal); }

.listing-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.listing-title { font-size: 1.15rem; margin-bottom: 6px; }
.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.listing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.listing-price.call { color: var(--iron-yellow-dark); font-size: 1.05rem; }
.listing-body .btn { margin-top: auto; }

/* ---------- LISTING DETAIL PAGE ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 20px 0;
}
.breadcrumb a:hover { color: var(--iron-yellow-dark); }
.listing-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 46px;
  align-items: start;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--border);
  cursor: pointer;
}

.spec-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td { padding: 12px 6px; font-size: 0.92rem; }
.spec-table td:first-child { color: var(--text-muted); font-weight: 600; width: 45%; }
.spec-table td:last-child { color: var(--text-dark); font-weight: 600; }

.detail-sidebar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow);
}
.detail-sidebar .listing-price { font-size: 1.9rem; }
.sidebar-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ---------- FORMS ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  color: var(--steel);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--iron-yellow);
}
.field textarea { resize: vertical; min-height: 100px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px; } }

.cta-banner {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: #c7cbce; }

/* ---------- CATEGORY / PILLAR PAGE ---------- */
.pillar-hero {
  background: var(--off-white);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}
.pillar-content { max-width: 760px; }
.pillar-content h2 { margin-top: 40px; margin-bottom: 14px; }
.pillar-content p { margin-bottom: 16px; color: var(--text-dark); opacity: 0.85; }
.pillar-content ul { margin: 0 0 20px 22px; color: var(--text-dark); opacity: 0.85; }
.pillar-content li { margin-bottom: 8px; }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h4 { margin-bottom: 8px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal);
  color: #c7cbce;
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--charcoal-light);
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--iron-yellow); }
.footer-bottom {
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 700px) { .footer-grid { grid-temp