/* ============================================================
   STELLAR CONTRACTING INC. — Global Stylesheet
   team-stellar.com
   ============================================================ */

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1B3A6B;
  --steel:   #2E6DA4;
  --gold:    #C9A84C;
  --gold-lt: #F5E6C0;
  --white:   #FFFFFF;
  --off:     #F4F6F9;
  --gray:    #6B7280;
  --dark:    #111827;
  --border:  #E2E6ED;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius:  6px;
  --radius-lg: 10px;
  --shadow:  0 2px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--gray); }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--off); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .grid-auto { grid-template-columns: 1fr; }
}

/* ── Nav ── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: 1100px; margin: 0 auto; height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .nav-logo img { height: 36px; }
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem; font-weight: 500;
  padding: 6px 12px; border-radius: var(--radius);
  transition: all 0.15s; text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a.active { color: var(--white); }
.nav-links a.nav-cta {
  background: var(--gold); color: var(--white);
  font-weight: 600; margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: #b8962e; }
.nav-phone {
  color: var(--gold); font-weight: 600; font-size: 0.9rem;
  font-family: var(--font-head); letter-spacing: 0.03em;
}

/* ── Hero ── */
.hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, transparent 30%, rgba(201,168,76,0.08) 100%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem; letter-spacing: 0.12em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 580px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem; font-weight: 500;
  padding: 5px 14px; border-radius: 100px;
  font-family: var(--font-head); letter-spacing: 0.04em;
}
.hero-badge.gold { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.04em; padding: 13px 28px;
  border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: all 0.18s;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: #b8962e; border-color: #b8962e; text-decoration: none; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: #152e54; border-color: #152e54; text-decoration: none; color: var(--white); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px;
  background: #EEF3FA; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.3rem;
}
.card h3 { margin-bottom: 8px; color: var(--dark); font-size: 1.05rem; }
.card p { font-size: 0.9rem; margin: 0; }

/* ── Stats ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item { background: var(--white); padding: 28px 20px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.82rem; color: var(--gray); font-weight: 500; }

/* ── Section Labels ── */
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 8px;
}
.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; font-size: 1rem; }

/* ── Gold Accent Bar ── */
.gold-bar { width: 48px; height: 4px; background: var(--gold); border-radius: 2px; margin: 12px 0 20px; }

/* ── Info Boxes ── */
.info-box {
  background: var(--off);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid var(--gold);
}
.info-box h3 { margin-bottom: 12px; font-size: 1rem; color: var(--navy); }
.info-box ul { padding-left: 18px; }
.info-box li { font-size: 0.9rem; color: var(--gray); margin-bottom: 6px; }

/* ── CTA Band ── */
.cta-band {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 28px; font-size: 1rem; }

/* ── Checklist ── */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.92rem; color: var(--gray);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  color: var(--gold); font-weight: 700; flex-shrink: 0;
  margin-top: 1px; font-size: 0.9rem;
}

/* ── Number Steps ── */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  min-width: 36px; height: 36px;
  background: var(--navy); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.step-body h4 { color: var(--dark); margin-bottom: 4px; }
.step-body p { font-size: 0.9rem; margin: 0; }

/* ── Chips / Tags ── */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 16px;
  font-size: 0.83rem; font-weight: 500; color: var(--dark);
}

/* ── Equip Table ── */
.equip-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.equip-table tr { border-bottom: 1px solid var(--border); }
.equip-table tr:last-child { border-bottom: none; }
.equip-table td { padding: 11px 8px; color: var(--gray); vertical-align: top; }
.equip-table td:first-child { font-weight: 600; color: var(--dark); width: 38%; }

/* ── Project Cards ── */
.project-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.project-card h3 { color: var(--dark); margin-bottom: 8px; }
.project-card p { font-size: 0.9rem; margin-bottom: 14px; }
.proj-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.proj-tag { font-size: 0.75rem; padding: 3px 10px; border-radius: 100px; background: #EEF3FA; color: var(--navy); font-weight: 500; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.contact-item { background: var(--off); border-radius: var(--radius-lg); padding: 20px 24px; }
.contact-item .label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gray); text-transform: uppercase; margin-bottom: 4px; }
.contact-item .value { font-size: 1.05rem; font-weight: 600; color: var(--dark); }
.contact-item a { color: var(--navy); }

/* ── Footer ── */
footer { background: var(--dark); padding: 48px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { font-size: 0.8rem; color: var(--gold); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-phone { font-size: 0.85rem; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
}
