:root {
  --navy: #0b2545;
  --ink: #17212b;
  --muted: #5d6975;
  --line: #d7e0e8;
  --soft: #f4f7f9;
  --paper: #ffffff;
  --teal: #2a7f77;
  --teal-dark: #17635c;
  --gold: #a97821;
  --gold-soft: #fff5df;
  --green-soft: #e8f4f1;
  --rose-soft: #fff0ee;
  --shadow: 0 18px 46px rgba(9, 28, 46, 0.13);
  --header-h: 74px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 4vw, 52px);
  color: #ffffff;
  background: rgba(8, 25, 43, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(9, 28, 46, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-weight: 800;
}

.brand-logo {
  overflow: hidden;
  background: #252821;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 17% center;
}

.brand-text {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  white-space: nowrap;
}

.brand small {
  margin-top: 3px;
  font-size: 0.73rem;
  color: currentColor;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.91rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  padding: 10px 14px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 70px) 0 64px;
  color: #ffffff;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/procurex-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 32, 0.94), rgba(5, 18, 32, 0.68) 48%, rgba(5, 18, 32, 0.28)),
    linear-gradient(0deg, rgba(5, 18, 32, 0.45), rgba(5, 18, 32, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-logo {
  width: min(360px, 72vw);
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.7rem, 6.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 58px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics div {
  padding: 20px;
  background: rgba(7, 24, 40, 0.58);
  backdrop-filter: blur(10px);
}

.hero-metrics dt {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-muted {
  background: var(--soft);
}

.intro-band {
  padding: 48px 0;
  background: var(--navy);
  color: #ffffff;
}

.prospectus-section {
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 48%, var(--gold-soft) 48%, var(--gold-soft) 100%);
}

.prospectus-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(300px, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.prospectus-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.prospectus-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.prospectus-frame {
  margin: 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.prospectus-frame img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 6px;
}

.location-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.location-strip span {
  padding: 10px 12px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.intro-grid,
.split-grid,
.diagnostic-grid,
.contact-grid,
.faq-layout,
.sector-layout,
.footer-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.intro-grid {
  grid-template-columns: minmax(260px, 0.74fr) minmax(280px, 1fr);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.split-grid h2,
.diagnostic-grid h2,
.contact-grid h2,
.faq-layout h2,
.sector-layout h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro-grid h2 {
  color: #ffffff;
}

.intro-grid p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.section-heading p:last-child,
.split-grid > div > p,
.diagnostic-grid > div > p,
.contact-grid > div > p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card,
.offer-card,
.resource-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(9, 28, 46, 0.05);
}

.service-card {
  padding: 24px;
}

.service-card h3,
.offer-card h3,
.resource-card h3,
.step-item h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.22;
}

.service-card p,
.offer-card span,
.resource-card p,
.step-item p {
  color: var(--muted);
}

.service-card ul,
.offer-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.offer-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
}

.service-card li::before,
.offer-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.split-section {
  background: linear-gradient(90deg, #ffffff, #ffffff 50%, var(--green-soft) 50%);
}

.split-grid {
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1fr);
  align-items: center;
}

.visual-panel {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  border-radius: 6px;
}

.step-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.step-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.step-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
}

.step-item p {
  margin: 8px 0 0;
}

.sector-layout {
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  align-items: start;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 11px 13px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(9, 28, 46, 0.05);
}

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

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 330px;
}

.offer-card p {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 9px;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-card span {
  display: block;
  margin-top: 12px;
}

.offer-card ul {
  margin-top: auto;
  padding-top: 24px;
}

.diagnostic-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.98), rgba(23, 99, 92, 0.93)),
    var(--navy);
}

.diagnostic-grid {
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1fr);
  align-items: start;
}

.diagnostic-grid h2,
.diagnostic-grid > div > p {
  color: #ffffff;
}

.diagnostic-grid > div > p {
  opacity: 0.84;
}

.download-link,
.admin-link {
  display: inline-flex;
  margin-top: 20px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.estimator {
  display: grid;
  gap: 18px;
  padding: 26px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.estimator label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.estimator label span,
.contact-form label span {
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 127, 119, 0.14);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--teal);
}

.estimator label strong {
  color: var(--teal);
}

.estimator-result {
  padding: 18px;
  background: var(--green-soft);
  border: 1px solid rgba(42, 127, 119, 0.18);
  border-radius: 6px;
}

.estimator-result span,
.estimator-result small,
.estimator-result strong {
  display: block;
}

.estimator-result span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.estimator-result strong {
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.45rem;
}

.estimator-result small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 260px;
}

.resource-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.resource-card > div span {
  color: var(--gold);
  text-transform: uppercase;
}

.resource-card a {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
}

.faq-layout {
  grid-template-columns: minmax(260px, 0.74fr) minmax(300px, 1fr);
  align-items: start;
}

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

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  padding: 18px 20px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-section {
  background: var(--navy);
  color: #ffffff;
}

.contact-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  align-items: start;
}

.contact-grid h2,
.contact-grid > div > p {
  color: #ffffff;
}

.contact-grid > div > p {
  opacity: 0.82;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-list p {
  margin: 0;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #061729;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 1050px) {
  .service-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--navy);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .nav-cta {
    color: #ffffff;
    text-align: center;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 34px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 18, 32, 0.94), rgba(5, 18, 32, 0.74)),
      linear-gradient(0deg, rgba(5, 18, 32, 0.45), rgba(5, 18, 32, 0));
  }

  .hero-metrics,
  .prospectus-grid,
  .intro-grid,
  .split-grid,
  .diagnostic-grid,
  .contact-grid,
  .faq-layout,
  .sector-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 34px;
  }

  .split-section {
    background: #ffffff;
  }

  .prospectus-section {
    background: #ffffff;
  }

  .section {
    padding: 70px 0;
  }

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

@media (max-width: 620px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 82vh;
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: 2.28rem;
  }

  .hero-logo {
    width: min(210px, 64vw);
    margin-bottom: 18px;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-metrics {
    display: none;
  }

  .service-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    grid-template-columns: 44px 1fr;
  }

  .estimator,
  .contact-form,
  .visual-panel {
    padding: 18px;
  }
}
