:root {
  --navy: #0B1F3B;
  --navy-mid: #15325C;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --cyan: #06B6D4;
  --orange: #F59E0B;
  --orange-hot: #FB923C;
  --amber: #FBBF24;
  --green: #22C55E;
  --purple: #8B5CF6;
  --bg: #F0F4FA;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --max-width: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

/* ---- Navbar (glass) ---- */
.navbar-sitecrew {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 31, 59, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-sitecrew .container { max-width: var(--max-width); height: 100%; }

.navbar-sitecrew .navbar-brand {
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.03em;
}

.navbar-sitecrew .navbar-brand span {
  color: var(--orange);
}

.navbar-sitecrew .nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px !important;
  transition: color 0.2s;
}

.navbar-sitecrew .nav-link:hover { color: var(--amber); }

.navbar-sitecrew .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
  filter: invert(1);
}

/* ---- Buttons ---- */
.btn-sc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-sc-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 100%);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45);
}

.btn-sc-cta:hover {
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55);
  color: var(--navy);
}

.btn-sc-glass {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}

.btn-sc-glass:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-sc-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-sc-blue:hover { color: #fff; box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45); }

.btn-sc-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-sc-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-sc-ghost {
  background: #F1F5F9;
  color: var(--text);
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
}

.btn-sc-ghost:hover { background: #E2E8F0; }

.btn-sc-sm { font-size: 14px; padding: 10px 20px; border-radius: 10px; }

/* ---- Hero ---- */
.hero-home {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #071525 0%, var(--navy) 35%, #1a3a6e 70%, #1e4d8c 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px; height: 500px;
  background: rgba(37, 99, 235, 0.35);
  top: -100px; right: -80px;
}

.hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(245, 158, 11, 0.25);
  bottom: -80px; left: -60px;
}

.hero-glow-3 {
  width: 300px; height: 300px;
  background: rgba(6, 182, 212, 0.2);
  top: 40%; left: 30%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ADE80;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-home h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 20px;
}

.hero-home h1 .highlight {
  background: linear-gradient(90deg, var(--amber), var(--orange-hot));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }

.hero-cta-secondary {
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--amber);
}

.hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* Hero visual cards */
.hero-visual {
  position: relative;
  height: 420px;
}

.hero-card-float {
  position: absolute;
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.5);
}

.hero-card-main {
  top: 20px; left: 0; right: 40px;
  animation: float 6s ease-in-out infinite;
}

.hero-card-side {
  bottom: 30px; right: 0;
  width: 200px;
  animation: float 6s ease-in-out infinite 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card-float .card-trade {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 6px;
}

.hero-card-float h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.hero-card-float .card-loc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-card-float .card-rate {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
}

.hero-card-side .icon-circle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #16A34A);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-card-side p {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* ---- Sections ---- */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* How it works */
.section-how { background: var(--surface); }

.how-card {
  border-radius: 20px;
  padding: 36px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.how-card-worker {
  background: linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.how-card-company {
  background: linear-gradient(160deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.how-card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.how-card-worker .how-card-icon {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.how-card-company .how-card-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.how-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.how-steps { list-style: none; padding: 0; margin: 0; }

.how-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.step-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.how-card-worker .step-num {
  background: var(--blue);
  color: #fff;
}

.how-card-company .step-num {
  background: var(--orange);
  color: var(--navy);
}

/* Jobs */
.section-jobs { background: var(--bg); }

.job-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.job-card-header {
  padding: 20px 24px 16px;
  color: #fff;
}

.job-card-header.dryliner { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.job-card-header.labourer { background: linear-gradient(135deg, #059669, #10B981); }
.job-card-header.plasterer { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.job-card-header.apex { background: linear-gradient(135deg, #D97706, #F59E0B); }
.job-card-header.north { background: linear-gradient(135deg, #0F766E, #14B8A6); }

.job-card-header h4,
.job-card-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}

.job-card-header .job-loc {
  font-size: 13px;
  opacity: 0.85;
}

.job-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.job-rate-big {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 12px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.12);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge-live::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
}

/* Company feed */
.section-companies { background: var(--surface); }

.company-post {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s;
}

.company-post:hover { transform: translateY(-6px); }

.company-post-img {
  height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
}

.company-post-img.img-1 { background: linear-gradient(135deg, #0B1F3B, #2563EB); }
.company-post-img.img-2 { background: linear-gradient(135deg, #B45309, #F59E0B); }
.company-post-img.img-3 { background: linear-gradient(135deg, #0E7490, #06B6D4); }
.company-post-img.img-4 { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.company-post-img.img-5 { background: linear-gradient(135deg, #BE185D, #F472B6); }
.company-post-img.img-6 { background: linear-gradient(135deg, #047857, #34D399); }

/* Company carousel */
.company-carousel {
  position: relative;
  padding: 0 56px;
}

.company-carousel-viewport {
  overflow: hidden;
  border-radius: 4px;
}

.company-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.company-carousel-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}

.company-carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.carousel-btn {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--navy);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(11, 31, 59, 0.15);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.carousel-btn:hover {
  background: var(--blue);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.carousel-btn:disabled:hover {
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(11, 31, 59, 0.15);
}

.company-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #CBD5E1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--blue);
  transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
  background: var(--blue-light);
}

.company-avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
}

.company-post-body { padding: 20px 24px 24px; }

.company-post-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.company-post-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Trust */
.section-trust {
  background: linear-gradient(180deg, var(--bg) 0%, #E8EFFE 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}

.trust-item:hover { transform: translateY(-4px); }

.trust-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
}

.trust-icon.t1 { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.trust-icon.t2 { background: linear-gradient(135deg, var(--green), #16A34A); }
.trust-icon.t3 { background: linear-gradient(135deg, var(--purple), #A78BFA); }
.trust-icon.t4 { background: linear-gradient(135deg, var(--orange), var(--orange-hot)); }

.trust-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.trust-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Final CTA */
.cta-banner {
  margin: 0 20px 80px;
  max-width: calc(var(--max-width) + 40px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1e4080 50%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 50%;
  top: -150px; right: -80px;
  filter: blur(40px);
}

.cta-banner h2 {
  position: relative;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-banner p {
  position: relative;
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin-bottom: 36px;
}

.cta-banner .hero-cta {
  position: relative;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--blue), var(--orange), var(--cyan)) 1;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-brand span { color: var(--orange); }

.footer-heading {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0 36px;
  text-align: center;
  font-size: 14px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom span { margin: 0 10px; color: rgba(255,255,255,0.2); }

/* Mobile */
@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .company-carousel-slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .hero-cta .btn-sc { width: 100%; }
  .cta-banner { padding: 48px 24px; margin: 0 16px 48px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .company-carousel { padding: 0 48px; }
  .company-carousel-slide {
    flex: 0 0 100%;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

.legal-page {
  padding-top: calc(var(--nav-h) + 48px);
}

.legal-page-inner {
  max-width: 760px;
}

.legal-eyebrow,
.legal-updated {
  color: var(--text-muted);
  font-size: 14px;
}

.legal-updated {
  margin-bottom: 24px;
}

.legal-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: #334155;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-lead {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-form-card,
.contact-side {
  display: grid;
  gap: 18px;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-form-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.contact-form-card > p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

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

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-field {
  display: grid;
  gap: 8px;
}

.contact-form-field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-recaptcha-wrap {
  overflow: hidden;
}

.contact-recaptcha-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-recaptcha-note a {
  color: inherit;
  text-decoration: underline;
}

.contact-form-submit {
  justify-self: start;
  border: none;
}

.contact-form-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form-alert[data-type='error'] {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

.contact-form-alert[data-type='success'] {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
}

.contact-card {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.contact-card p {
  margin: 0 0 16px;
}

.contact-note {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 16px;
  padding: 18px 20px;
}

.section-faq {
  background: var(--surface);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #fff;
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .contact-grid,
  .contact-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

.public-jobs-empty {
  border: 1px dashed #CBD5E1;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
  background: #fff;
}

.public-jobs-empty h2 {
  margin-bottom: 8px;
  color: var(--text);
}

.public-jobs-page .public-job-card h2 {
  font-size: 1.15rem;
  margin: 0;
  color: #fff;
}

.public-job-trade,
.public-job-company {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.public-jobs-cta {
  margin-top: 40px;
  text-align: center;
  display: grid;
  gap: 12px;
}

.public-job-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--text-muted);
  text-decoration: none;
}

.public-job-detail-card {
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.public-job-detail-head {
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}

.public-job-detail-head.dryliner { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.public-job-detail-head.labourer { background: linear-gradient(135deg, #059669, #10B981); }
.public-job-detail-head.plasterer { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.public-job-detail-head.apex { background: linear-gradient(135deg, #D97706, #F59E0B); }
.public-job-detail-head.north { background: linear-gradient(135deg, #0F766E, #14B8A6); }

.public-job-detail-head h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.public-job-detail-trade {
  display: inline-block;
  font-weight: 600;
  opacity: 0.9;
}

.public-job-detail-body {
  padding: 28px;
}

.public-job-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.public-job-detail-meta div {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
}

.public-job-detail-meta strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.public-job-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.public-jobs-search {
  margin-bottom: 24px;
}

.public-jobs-search-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.public-jobs-search-field {
  display: grid;
  gap: 6px;
}

.public-jobs-search-field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.public-jobs-search-field input {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.public-jobs-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.public-jobs-browse a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
}

.public-jobs-count {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.public-job-company a,
.public-job-detail-head a {
  color: inherit;
  text-decoration: underline;
}

.public-company-page {
  padding-top: 110px;
}

.public-company-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #fff;
}

.public-company-hero-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.public-company-logo,
.public-company-logo-img {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  flex-shrink: 0;
}

.public-company-logo {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
}

.public-company-logo-img {
  object-fit: cover;
  border: 1px solid #E2E8F0;
}

.public-company-meta {
  color: var(--text-muted);
  margin: 8px 0 12px;
}

.public-company-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #047857;
  font-weight: 600;
}

.public-company-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.public-company-card {
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
}

.public-company-card h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.public-company-details {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.public-company-jobs {
  display: grid;
  gap: 12px;
}

.public-company-job {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

.public-company-job:first-child {
  border-top: 0;
  padding-top: 0;
}

.public-company-job h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.public-company-job p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.public-company-reviews {
  margin-top: 20px;
}

.public-company-review-list {
  display: grid;
  gap: 14px;
}

.public-company-review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.about-card {
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
}

.about-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.how-faq-links {
  margin-top: 40px;
  text-align: center;
}

.how-faq-links .hero-cta {
  justify-content: center;
}

.hub-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hub-link-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.hub-link-card span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hub-company-list {
  display: grid;
  gap: 14px;
}

.hub-company-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #fff;
}

.hub-company-main {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hub-company-card h2 {
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.hub-company-card p {
  margin: 0;
  color: var(--text-muted);
}

.company-carousel-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.blog-list,
.blog-post-content {
  display: grid;
  gap: 20px;
}

/* ---- Blog index ---- */
.blog-hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 72px;
  overflow: hidden;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.18), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.22), transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1e3a6e 100%);
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}

.blog-hero-copy {
  color: #fff;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.blog-hero-copy h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.blog-hero-highlight {
  background: linear-gradient(90deg, var(--amber), var(--orange-hot));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero-copy > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
}

.blog-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.blog-hero-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--amber);
}

.blog-hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.blog-featured-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 14px;
}

.blog-featured-top,
.blog-card-v2-meta,
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 12px;
  border-radius: 100px;
}

.blog-category-pill-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-featured-card h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.blog-featured-card h2 a,
.blog-card-v2 h2 a {
  color: var(--navy);
  text-decoration: none;
}

.blog-featured-card h2 a:hover,
.blog-card-v2 h2 a:hover {
  color: var(--blue);
}

.blog-featured-card p,
.blog-card-v2 p {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.blog-featured-footer,
.blog-card-v2-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.blog-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.blog-index-section {
  padding-top: 56px;
}

.blog-topic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.blog-topic-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.blog-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-topic-pill {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid #E2E8F0;
  padding: 8px 14px;
  border-radius: 100px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.blog-card-v2 {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.blog-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.blog-card-v2-2::before {
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

.blog-card-v2-3::before {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.blog-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.blog-card-v2-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 22px;
  flex-shrink: 0;
}

.blog-card-v2-2 .blog-card-v2-icon {
  background: rgba(245, 158, 11, 0.14);
  color: var(--orange);
}

.blog-card-v2-3 .blog-card-v2-icon {
  background: rgba(34, 197, 94, 0.14);
  color: var(--green);
}

.blog-card-v2-body {
  display: grid;
  gap: 10px;
}

.blog-card-v2 h2 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.blog-card-link:hover {
  color: var(--navy);
}

.blog-empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed #CBD5E1;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 36px;
}

.blog-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 28px;
}

.blog-cta-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.1));
  border: 1px solid #E2E8F0;
}

.blog-cta-copy h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 10px;
}

.blog-cta-copy p {
  color: var(--text-muted);
  margin: 0;
  max-width: 520px;
}

.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Blog article ---- */
.blog-article-hero {
  padding: calc(var(--nav-h) + 36px) 0 0;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
}

.blog-back-link:hover {
  color: var(--blue);
}

.blog-article-hero-card {
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(11, 31, 59, 0.18);
}

.blog-article-hero-card h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
}

.blog-article-lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 760px;
}

.blog-post-page {
  padding-top: 40px;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.blog-post-content {
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  background: #fff;
  padding: 32px;
}

.blog-section + .blog-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #EEF2F7;
}

.blog-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.blog-section-number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 10px;
  border-radius: 100px;
}

.blog-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.blog-section p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.blog-section p:last-child {
  margin-bottom: 0;
}

.blog-post-cta {
  margin-top: 32px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px solid #E2E8F0;
  display: grid;
  gap: 16px;
}

.blog-post-cta-copy h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.blog-post-cta-copy p {
  color: var(--text-muted);
  margin: 0;
}

.blog-post-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-post-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.blog-sidebar-card {
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #fff;
  padding: 20px;
}

.blog-sidebar-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
}

.blog-sidebar-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.blog-sidebar-card-accent {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(245, 158, 11, 0.08));
}

.blog-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.blog-toc li {
  position: relative;
  padding-left: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.blog-toc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.blog-related-list {
  display: grid;
  gap: 12px;
}

.blog-related-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #F8FAFC;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.blog-related-item:hover {
  background: #EEF2FF;
}

.blog-related-item strong {
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.4;
}

.blog-related-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .blog-hero-inner,
  .blog-post-layout,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-sidebar {
    position: static;
  }

  .blog-cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .blog-card-v2 {
    grid-template-columns: 1fr;
  }

  .blog-article-hero-card,
  .blog-post-content {
    padding: 22px;
  }
}

@media (max-width: 991px) {
  .hub-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-company-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 991px) {
  .public-jobs-search-grid,
  .public-company-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .public-company-hero {
    flex-direction: column;
  }
}

.job-not-found-page {
  padding-top: 110px;
}

.job-not-found-card {
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #fff;
  padding: 32px;
  margin-bottom: 28px;
}

.job-not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.job-not-found-section {
  margin-bottom: 24px;
}

.job-not-found-section h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
