/* ── Harwick General Contracting — Trades Template 03 ── */
:root {
  --white: #ffffff;
  --offwhite: #f5f5f3;
  --light: #eeede9;
  --dark: #1c1c1c;
  --charcoal: #2e2e2e;
  --accent: #D94F2B;
  --accent-dark: #b83d1f;
  --muted: #777777;
  --border: #e0ddd8;
  --text: #3a3a3a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); line-height: 1.6; }

h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
h1 { font-size: clamp(3.2rem, 7vw, 6rem); line-height: 0.95; color: var(--dark); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--dark); }
h3 { font-size: 1.1rem; color: var(--dark); }
p { color: var(--text); }
a { text-decoration: none; color: inherit; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-img { width: 130px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); transition: color 0.2s; }
.nav-link:hover { color: var(--accent); }
.btn-nav { background: var(--accent); color: var(--white); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.6rem 1.5rem; border-radius: 0; transition: background 0.2s; }
.btn-nav:hover { background: var(--accent-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--dark); border-radius: 0; transition: all 0.3s; }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: var(--white); border-bottom: 2px solid var(--accent);
  padding: 1.5rem 2rem; flex-direction: column; gap: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark); }
.mobile-nav a:hover { color: var(--accent); }

/* ── HERO — SPLIT SCREEN ── */
.hero {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-left {
  background: var(--offwhite);
  display: flex; align-items: center;
  padding: 5rem 4rem;
}
.hero-left-inner { max-width: 520px; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.8rem; }
.hero-tag::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--accent); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: var(--accent); display: block; }
.hero-sub { font-size: 1rem; color: var(--muted); max-width: 420px; margin-bottom: 2.5rem; line-height: 1.75; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: var(--white); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2rem; border-radius: 0; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border: 2px solid var(--dark); color: var(--dark); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2rem; border-radius: 0; transition: all 0.2s; display: inline-block; }
.btn-secondary:hover { background: var(--dark); color: var(--white); }
.hero-right { position: relative; overflow: hidden; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; }

/* ── STATS BAR ── */
.stats-bar { background: var(--dark); padding: 3rem; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 700; color: var(--accent); line-height: 1; display: block; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.4rem; display: block; }

/* ── SECTIONS ── */
.section { padding: 7rem 3rem; }
.section-alt { background: var(--offwhite); }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.section-tag::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--accent); }

/* ── SERVICES — NUMBERED LIST ── */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 3rem; border-top: 1px solid var(--border); }
.service-item { display: flex; align-items: flex-start; gap: 1.5rem; padding: 2.2rem 0; border-bottom: 1px solid var(--border); }
.service-item:nth-child(odd) { padding-right: 3rem; border-right: 1px solid var(--border); }
.service-item:nth-child(even) { padding-left: 3rem; }
.service-num { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0; margin-top: 0.15rem; }
.service-item h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.service-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── FULL WIDTH BANNER ── */
.project-banner { width: 100%; height: 55vh; min-height: 320px; position: relative; overflow: hidden; }
.project-banner img { width: 100%; height: 100%; object-fit: cover; }
.project-banner::after {
  content: 'BUILT IN ALBERTA';
  position: absolute; bottom: 2rem; right: 3rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
}

/* ── PROCESS ── */
.process-list { margin-top: 3rem; counter-reset: steps; }
.process-row { display: grid; grid-template-columns: auto 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.process-row:first-child { border-top: 1px solid var(--border); }
.process-num { font-family: 'Barlow Condensed', sans-serif; font-size: 3.5rem; font-weight: 700; color: var(--light); line-height: 1; width: 80px; text-align: right; }
.process-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; padding-top: 0.4rem; }
.process-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; max-width: 600px; }

/* ── FAQ ACCORDION ── */
.faq-list { margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.6rem 0; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; gap: 1rem;
}
.faq-q span { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--dark); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent); font-weight: 700; transition: all 0.2s; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--white); }
.faq-a { display: none; padding: 0 0 1.6rem; font-size: 0.92rem; color: var(--muted); line-height: 1.75; max-width: 700px; }
.faq-item.open .faq-a { display: block; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-img-stack { position: relative; }
.about-img-main { width: 100%; height: 500px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--accent); color: var(--white);
  width: 130px; height: 130px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
}
.badge-num { font-size: 2.8rem; font-weight: 700; line-height: 1; }
.badge-text { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; line-height: 1.3; margin-top: 0.2rem; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.about-list { list-style: none; margin-top: 1.5rem; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.65rem; }
.about-list li { font-size: 0.9rem; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 0.75rem; }
.about-list li::before { content: ''; display: inline-block; width: 18px; height: 2px; background: var(--accent); flex-shrink: 0; }

/* ── CONTACT ── */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; }
.contact-left { background: var(--dark); padding: 5rem 4rem; }
.contact-left h2 { color: var(--white); margin-bottom: 1rem; }
.contact-left p { color: rgba(255,255,255,0.5); margin-bottom: 2.5rem; line-height: 1.8; }
.contact-detail { margin-bottom: 2rem; }
.contact-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
.contact-value { font-size: 1.05rem; color: var(--white); }
.contact-value a { color: var(--white); }
.contact-value a:hover { color: var(--accent); }
.contact-right { background: var(--accent); padding: 5rem 4rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact-right h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; color: var(--white); margin-bottom: 1rem; text-transform: uppercase; }
.contact-right p { color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; line-height: 1.75; font-size: 0.95rem; }
.btn-white { background: var(--white); color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 2.2rem; border-radius: 0; transition: background 0.2s; display: inline-block; }
.btn-white:hover { background: var(--offwhite); }

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); padding: 2.5rem 3rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { width: 100px; filter: brightness(0) invert(1); opacity: 0.6; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-credit { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-credit a { color: rgba(255,255,255,0.4); }
.footer-credit a:hover { color: var(--accent); }
.footer-bottom { max-width: 1100px; margin: 1.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 50vw; min-height: 260px; }
  .hero-left { padding: 4rem 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { right: 1rem; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 4rem 2.5rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .site-header { padding: 0 1.5rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .service-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .service-item:nth-child(even) { padding-left: 0; }
  .section { padding: 4.5rem 1.5rem; }
  .hero-left { padding: 3rem 1.5rem; }
  .about-img-main { height: 280px; }
  .about-badge { width: 100px; height: 100px; bottom: -1rem; right: 0.5rem; }
  .badge-num { font-size: 2rem; }
}
