
:root {
  --orange: #ef5b0c;
  --orange-dark: #c94200;
  --ink: #16191d;
  --muted: #60656d;
  --line: #dfe2e5;
  --soft: #f4f5f6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.055em;
}

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

nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 42px);
  font-size: 14px;
  font-weight: 650;
}

nav a {
  position: relative;
  padding: 31px 0 28px;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 13px 18px;
  border: 1px solid var(--orange);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 750;
}

.header-cta span,
.button span {
  margin-left: 12px;
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 82px));
  overflow: hidden;
  background-color: #e9edf0;
  background-image: url("promacci-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 29%, rgba(255,255,255,.38) 55%, rgba(255,255,255,.03) 78%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(700px, 58vw);
  min-height: 600px;
  padding: 70px clamp(24px, 5vw, 76px) 120px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--orange);
}

.hero-copy {
  max-width: 570px;
  margin: 28px 0 0;
  color: #393e44;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 214px;
  padding: 17px 20px;
  border: 1px solid var(--orange);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-secondary {
  background: rgba(255,255,255,.82);
  color: var(--orange-dark);
}

.hero-proof {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 20px clamp(24px, 5vw, 76px);
  border-top: 1px solid rgba(255,255,255,.48);
  background: rgba(20, 24, 27, 0.9);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-proof span {
  flex: 1;
  padding: 0 22px;
  border-left: 1px solid rgba(255,255,255,.24);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.hero-proof span:first-child {
  border: 0;
}

.service-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.strip-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  min-height: 188px;
  padding: 36px clamp(24px, 3.4vw, 52px);
  background: white;
  transition: background-color 180ms ease;
}

.strip-card:hover {
  background: #fff8f4;
}

.strip-number,
.solution-number {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.strip-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.strip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.arrow {
  color: var(--orange);
  font-size: 18px;
}

.section {
  padding: 110px clamp(24px, 7vw, 112px);
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(60px, 10vw, 170px);
  background: var(--soft);
}

.intro h2,
.section-heading h2,
.process-heading h2,
.contact h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 62px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.intro-copy {
  padding-top: 35px;
}

.intro-copy p {
  margin: 0 0 24px;
  color: #4d535a;
  font-size: 17px;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, transform 180ms ease;
}

.solution-card:hover {
  position: relative;
  background: var(--ink);
  color: white;
  transform: translateY(-5px);
}

.solution-card h3 {
  margin: auto 0 18px;
  font-size: 23px;
  letter-spacing: -.02em;
}

.solution-card p {
  min-height: 84px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.solution-card:hover p {
  color: #cfd2d5;
}

.solution-tags {
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}

.process {
  background: #191c20;
  color: white;
}

.process-heading {
  display: grid;
  grid-template-columns: .36fr 1fr;
  gap: 60px;
  align-items: start;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 70px;
  border-top: 1px solid #44484d;
}

.process-step {
  position: relative;
  padding: 34px 28px 0 0;
}

.process-step::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.process-step span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.process-step h3 {
  margin: 26px 0 12px;
  font-size: 19px;
}

.process-step p {
  margin: 0;
  color: #aeb3b8;
  font-size: 13px;
  line-height: 1.6;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sector-card {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: flex-end;
  overflow: hidden;
  background-color: #32383d;
  background-position: center;
  background-size: cover;
}

.sector-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(10,13,15,.88) 100%);
  content: "";
}

.sector-offshore {
  background-image: url("promacci-hero.png");
}

.sector-process {
  background-image: linear-gradient(135deg, #777d80, #181d20);
}

.sector-terminal {
  background-image: linear-gradient(145deg, #d4d8d9, #455056);
}

.sector-card div {
  position: relative;
  z-index: 1;
  padding: 34px;
  color: white;
}

.sector-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
}

.sector-card p {
  max-width: 330px;
  margin: 0;
  color: #d7dadc;
  line-height: 1.6;
}

.technology {
  padding: 72px clamp(24px, 7vw, 112px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
  color: #70757a;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
}

.tech-list span {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.tech-list span:last-child {
  border: 0;
}

.technology-note {
  max-width: 650px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
  background: var(--orange);
  color: white;
}

.contact .section-kicker {
  color: #531b00;
}

.contact-actions {
  min-width: 330px;
}

.button-light {
  width: 100%;
  border-color: white;
  background: white;
  color: var(--ink);
}

.contact-actions p {
  margin: 16px 0 0;
  font-size: 13px;
  text-align: right;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 45px clamp(24px, 5vw, 76px);
  background: #111315;
  color: #aeb2b5;
  font-size: 11px;
}

.footer-brand {
  color: white;
  font-size: 23px;
}

footer p:nth-of-type(1) {
  max-width: 520px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-content {
    width: 75vw;
  }

  .service-strip,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-card:last-child {
    grid-column: 1 / -1;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 0 20px;
  }

  .brand {
    font-size: 21px;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 11px;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    min-height: 700px;
    background-position: 65% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 48%, rgba(255,255,255,.1) 78%);
  }

  .hero-content {
    justify-content: flex-start;
    width: 100%;
    min-height: 560px;
    padding: 74px 22px 130px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 0;
    padding: 18px 12px;
  }

  .hero-proof span {
    padding: 4px 8px;
    font-size: 9px;
  }

  .service-strip,
  .intro,
  .section-heading,
  .process-heading,
  .sector-grid,
  .contact,
  footer {
    grid-template-columns: 1fr;
  }

  .strip-card:last-child {
    grid-column: auto;
  }

  .strip-card {
    min-height: 0;
  }

  .section {
    padding: 78px 22px;
  }

  .intro,
  .section-heading,
  .process-heading,
  .contact {
    gap: 38px;
  }

  .intro-copy {
    padding: 0;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 280px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding-left: 22px;
  }

  .sector-card {
    min-height: 350px;
  }

  .tech-list {
    grid-template-columns: 1fr 1fr;
  }

  .tech-list span:nth-child(2) {
    border: 0;
  }

  .contact-actions {
    min-width: 0;
  }

  .contact-actions p {
    text-align: left;
  }

  footer {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
