/* Ported from legacy index.php $additionalStyles; hero image path adjusted for Worker /assets mount */
:root {
  --safety-orange: #ff6b00;
  --safety-orange-hover: #e65100;
  --asphalt: #1c1c1e;
  --concrete: #f3f4f6;
  --steel: #4b5563;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
}

body.home-construction {
  background-color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
}

body.home-construction h1,
body.home-construction h2,
body.home-construction h3 {
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--asphalt);
  text-transform: uppercase;
}

body.home-construction p {
  line-height: 1.6;
}

body.home-construction .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
}

body.home-construction .btn-primary {
  background: var(--safety-orange);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.home-construction .btn-primary:hover {
  background: var(--safety-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

body.home-construction .btn-dark {
  background: var(--asphalt);
  color: white;
}

body.home-construction .btn-dark:hover {
  background: black;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.home-construction .btn-view {
  width: 100%;
  padding: 0.75rem;
  background: var(--asphalt);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

body.home-construction .btn-view:hover {
  background: var(--safety-orange);
}

body.home-construction .hero {
  background: linear-gradient(rgba(28, 28, 30, 0.7), rgba(28, 28, 30, 0.8)),
    url('/assets/images/hero-collage.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 1.5rem 8rem;
  text-align: center;
}

body.home-construction .hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

body.home-construction .hero p {
  font-size: 1.3rem;
  color: #e5e7eb;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  text-transform: none;
}

body.home-construction .highlight {
  color: var(--safety-orange);
}

body.home-construction .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

body.home-construction .hero-actions .hero-btn {
  min-width: 280px;
  padding: 1.25rem 3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 1.2rem;
  font-weight: 800;
}

body.home-construction .hero-actions .hero-btn-primary {
  background: var(--safety-orange);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
}

body.home-construction .hero-actions .hero-btn-primary:hover {
  background: var(--safety-orange-hover);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.45);
  transform: scale(1.02);
}

body.home-construction .hero-tags {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

body.home-construction .hero-tag {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  transition: 0.2s;
}

body.home-construction .hero-tag:hover {
  border-color: var(--safety-orange);
  color: var(--safety-orange);
  background: rgba(0, 0, 0, 0.3);
}

body.home-construction .partners-section {
  background: #f9fafb;
  padding: 2.5rem 0 4rem;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  position: relative;
}

body.home-construction .partners-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

body.home-construction .carousel-window {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 0 1.5rem;
}

body.home-construction .carousel-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  width: max-content;
}

body.home-construction .partner-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
}

body.home-construction .partner-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.4s ease;
  cursor: pointer;
}

body.home-construction .partner-logo-img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

body.home-construction .tracks-section {
  max-width: 900px;
  margin: -3rem auto 4rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

body.home-construction .track-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-bottom: 6px solid var(--safety-orange);
  transition: transform 0.2s;
}

body.home-construction .track-card:hover {
  transform: translateY(-5px);
}

body.home-construction .track-icon {
  font-size: 3rem;
  color: var(--asphalt);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1.5rem;
  background: var(--concrete);
  border-radius: 50%;
}

body.home-construction .track-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

body.home-construction .track-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  text-transform: none;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

body.home-construction .jobs-section {
  background: var(--concrete);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

body.home-construction .jobs-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.home-construction .jobs-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

body.home-construction .job-card {
  background: white;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

body.home-construction .job-card:hover {
  border-color: var(--safety-orange);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.home-construction .job-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

body.home-construction .badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

body.home-construction .badge-pd {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

body.home-construction .badge-loc {
  background: #f3f4f6;
  color: #4b5563;
}

body.home-construction .job-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

body.home-construction .job-co {
  font-size: 0.9rem;
  color: var(--safety-orange);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

body.home-construction .job-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 1.25rem;
}

body.home-construction .detail-item {
  font-size: 0.9rem;
  color: var(--steel);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.home-construction .seo-section {
  background: white;
  padding: 6rem 1.5rem;
}

body.home-construction .seo-content {
  max-width: 800px;
  margin: 0 auto;
}

body.home-construction .seo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

body.home-construction .seo-content p {
  font-size: 1.1rem;
  color: var(--steel);
  margin-bottom: 1.5rem;
}

body.home-construction .check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

body.home-construction .check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

body.home-construction .check-item i {
  color: var(--safety-orange);
}

@media (max-width: 768px) {
  body.home-construction .hero {
    padding: 4rem 1.25rem 5rem;
    text-align: left;
    background-position: center top;
  }

  body.home-construction .hero h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  body.home-construction .hero p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  body.home-construction .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.home-construction .hero-actions .hero-btn {
    width: 100%;
    justify-content: center;
  }

  body.home-construction .hero-tags {
    justify-content: flex-start;
  }

  body.home-construction .partners-section {
    padding: 2rem 0;
  }

  body.home-construction .carousel-track {
    gap: 2rem;
  }

  body.home-construction .partner-logo-item {
    width: 120px;
    height: 60px;
  }

  body.home-construction .tracks-section {
    margin: -2rem auto 3rem;
    padding: 0 1.25rem;
  }

  body.home-construction .track-card {
    padding: 2rem 1.5rem;
  }

  body.home-construction .jobs-section {
    padding: 3rem 1.25rem;
  }

  body.home-construction .jobs-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  body.home-construction .jobs-grid {
    grid-template-columns: 1fr;
  }

  body.home-construction .job-card {
    padding: 1.25rem;
  }

  body.home-construction .seo-section {
    padding: 3rem 1.25rem;
  }

  body.home-construction .check-grid {
    grid-template-columns: 1fr;
  }
}
