/* ==========================================================================
   North Texas Contractors Group — Design Tokens
   Palette:  Steel Charcoal #1C2B36 · Blueprint Navy #223A4F
             Safety Orange  #E96D34 · Concrete       #F2F0EB
             Slate Gray     #6B7580 · Rebar White     #FFFFFF
   Type:     Display  — 'Archivo Expanded' (headlines, bold structural feel)
             Support  — 'Oswald' (eyebrows, labels, condensed industrial)
             Body     — 'Source Sans 3'
   ========================================================================== */

:root {
  --steel: #1C2B36;
  --blueprint: #223A4F;
  --orange: #E96D34;
  --orange-dark: #C7551F;
  --concrete: #F2F0EB;
  --concrete-dark: #E6E2D8;
  --slate: #6B7580;
  --white: #FFFFFF;

  --font-display: 'Archivo Expanded', sans-serif;
  --font-support: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --radius: 4px;
  --container-w: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--steel);
  background: var(--concrete);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--steel);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; margin-top: 2.6em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; margin-top: 1.8em; color: var(--blueprint); }

p { margin: 0 0 1.1em; color: #33424D; }

ul { margin: 0 0 1.2em; padding-left: 1.3em; color: #33424D; }
ul li { margin-bottom: 0.5em; }

.eyebrow {
  font-family: var(--font-support);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-dark);
  margin: 0 0 1em;
}

.eyebrow-light { color: var(--orange); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-support);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.92rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--steel);
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--orange);
  border-radius: 2px;
  position: relative;
}
.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  background: var(--steel);
}
.logo-mark::before { width: 100%; height: 4px; top: 15px; left: 0; }
.logo-mark::after { width: 4px; height: 100%; left: 15px; top: 0; }

.logo-text {
  font-family: var(--font-support);
  font-size: 0.85rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.logo-text strong { font-weight: 700; }

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

.main-nav a {
  color: var(--white);
  font-family: var(--font-support);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  opacity: 0.88;
}
.main-nav a:hover { opacity: 1; color: var(--orange); }

.nav-cta {
  background: var(--orange);
  padding: 10px 18px;
  border-radius: var(--radius);
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--orange-dark); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* ==========================================================================
   Hero — blueprint grid backdrop with corner registration marks
   ========================================================================== */

.hero {
  position: relative;
  background: var(--blueprint);
  overflow: hidden;
  padding: 96px 0 72px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 10%, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 { color: var(--white); }

.hero-lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 24px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--orange);
}
.hero-stats span {
  font-family: var(--font-support);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   Content / Article
   ========================================================================== */

.content { background: var(--concrete); }

.prose {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 24px;
}

.prose section:first-of-type h2 { margin-top: 0; }

.prose h2 {
  border-left: 5px solid var(--orange);
  padding-left: 16px;
}

.faq-item {
  border-top: 1px solid var(--concrete-dark);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--concrete-dark); }
.faq-item h3 { margin-top: 0; margin-bottom: 0.4em; color: var(--steel); }
.faq-item p { margin: 0; }

/* Signature divider — caution-stripe seam marking the shift into the
   contact section, echoing site-barricade tape without being literal */
.content::after {
  content: "";
  display: block;
  height: 14px;
  margin-top: 40px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 22px,
    var(--steel) 22px 44px
  );
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section {
  background: var(--steel);
  padding: 64px 0 72px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-copy h2 { color: var(--white); margin-top: 0; }
.contact-copy p { color: rgba(255,255,255,0.78); max-width: 420px; }

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-family: var(--font-support);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.contact-card a,
.contact-card span {
  color: var(--white);
  text-decoration: none;
  font-size: 1.02rem;
}
.contact-card a:hover { color: var(--orange); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #14202A;
  padding: 22px 0;
}
.footer-inner p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin: 0;
  text-align: center;
}

/* Mobile sticky call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 14px 0;
  font-family: var(--font-support);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    background: var(--steel);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 24px 20px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-bottom: 3px solid var(--orange);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 56px 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }

  body { padding-bottom: 54px; } /* room for sticky call bar */
  .mobile-call-bar { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
