:root {
  --ink: #071221;
  --navy: #081b36;
  --blue: #005bd8;
  --blue-bright: #1473f7;
  --steel: #59636e;
  --metal: #d2d8df;
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: #d7dde5;
  --shadow: 0 20px 60px rgba(7, 18, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(210px, 280px) 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  padding: 9px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: min(100%, 190px);
}

.brand-compact img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-compact span {
  display: grid;
  gap: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand-compact strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand-compact em {
  color: var(--blue);
  font-size: 1.14rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.main-nav a,
.phone-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border-radius: 0;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--blue);
}

.phone-link {
  color: var(--blue);
  background: transparent;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(0, 91, 216, 0.42);
  border-radius: 6px;
}

.phone-link:hover {
  color: var(--white);
  background: var(--blue);
}

.hero {
  min-height: calc(82vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
  padding: clamp(30px, 5vw, 62px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7, 18, 33, 0.98) 0%, rgba(8, 27, 54, 0.96) 48%, rgba(0, 91, 216, 0.78) 100%),
    radial-gradient(circle at 80% 25%, rgba(210, 216, 223, 0.24), transparent 32%);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-bright);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.35rem;
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-note {
  max-width: 720px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(0, 91, 216, 0.28);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: min(60vh, 640px);
  object-fit: cover;
  object-position: center;
}

.trust-strip {
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--navy);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.trust-strip span {
  flex: 0 0 auto;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  padding: 7px 10px;
  border: 1px solid #cfd7e2;
  border-radius: 6px;
  background: #f7f9fc;
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.two-column p:last-child {
  margin: 0;
  color: #263443;
  font-size: 1.12rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.feature-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card,
.testimonial,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(7, 18, 33, 0.08);
}

.card {
  min-height: 252px;
  padding: 24px;
}

.card-mark {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 900;
}

.card p,
.testimonial p,
.story-copy p,
.contact-panel p {
  color: #324152;
}

.dark-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #06101f 62%, #003f9d);
}

.dark-cta h2,
.dark-cta p {
  color: var(--white);
}

.cta-row {
  justify-content: space-between;
  gap: 30px;
}

.cta-row>div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 36px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #050b14;
  border-top: 1px solid rgba(20, 115, 247, 0.35);
}

.footer-brand strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--metal);
}

.site-footer a {
  font-weight: 900;
  text-decoration: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-phone {
  color: var(--white);
}

.footer-phone:hover {
  text-decoration: underline;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-social img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-social:hover span {
  text-decoration: underline;
}

.footer-social span {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 18, 33, 0.98), rgba(8, 27, 54, 0.92), rgba(0, 91, 216, 0.72)),
    url("assets/blue-collar-workflows-logo.png") center / cover no-repeat;
}

.page-hero h1,
.page-hero .lead {
  width: min(920px, 100%);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.story-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.story-copy {
  font-size: 1.1rem;
}

.story-copy p:last-child {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: clamp(24px, 3vw, 32px);
}

.big-phone {
  display: inline-block;
  max-width: 100%;
  margin: 4px 0 10px;
  color: var(--blue);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.social-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.social-link img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-link:hover {
  text-decoration: underline;
}

.contact-helper {
  max-width: 520px;
  margin-bottom: 18px;
  color: #536174;
  font-size: 0.98rem;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.contact-list span {
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--navy);
  border: 1px solid #d4dbe6;
  background: #f3f6fa;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-action-card {
  box-shadow:
    inset 0 4px 0 var(--blue),
    0 14px 35px rgba(7, 18, 33, 0.08);
  background: linear-gradient(180deg, rgba(0, 91, 216, 0.045), #ffffff 30%);
}

.contact-action-card,
.contact-prep-card {
  display: flex;
  flex-direction: column;
}

.contact-action-card .eyebrow,
.contact-prep-card .eyebrow {
  margin: 0 0 22px;
}

.contact-action-card h2,
.contact-prep-card h2 {
  margin: 0 0 28px;
  line-height: 1.05;
}

.contact-or {
  margin: 6px 0;
  color: var(--steel);
  font-weight: 800;
}

.contact-start {
  margin-top: 24px;
}

.contact-list-label {
  margin: 22px 0 10px;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-form:not(.contact-prep-card) {
  display: grid;
  gap: 16px;
}

.contact-card p {
  margin-bottom: 4px;
  color: #324152;
}

.contact-card h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
}

.contact-prep-card h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.question-list {
  margin: 0 0 8px;
  padding-left: 22px;
  color: #263443;
  font-weight: 800;
}

.question-list li+li {
  margin-top: 10px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #b7c0cb;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial {
  min-height: 250px;
  padding: clamp(24px, 4vw, 34px);
}

.testimonial p {
  font-size: 1.18rem;
}

.testimonial strong {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-size: 0.88rem;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 2px 18px;
  }

  .hero,
  .two-column,
  .story-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-visual img {
    height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding-top: 10px;
  }

  .brand img {
    width: min(100%, 220px);
  }

  .brand-compact img {
    width: 44px;
    height: 44px;
  }

  .main-nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 0 2px 2px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a,
  .phone-link,
  .button {
    font-size: 0.82rem;
  }

  .main-nav a {
    min-height: 30px;
    flex: 0 0 auto;
    padding: 4px 0;
  }

  .phone-link {
    width: min(100%, 350px);
  }

  .hero-actions {
    width: 100%;
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-contact {
    align-items: flex-start;
  }
}
