:root {
  --red: #ef2b32;
  --red-dark: #b91118;
  --ink: #17171a;
  --charcoal: #333642;
  --muted: #666b78;
  --line: #dedfe4;
  --paper: #f6f6f4;
  --white: #ffffff;
  --soft-red: #ffe8e9;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(23, 23, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(246, 246, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow:
    2px 0 var(--charcoal),
    -2px 0 var(--charcoal),
    0 2px var(--charcoal),
    0 -2px var(--charcoal),
    2px 2px var(--charcoal);
}

.brand-mark {
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1;
}

.brand-sub {
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a,
.header-call {
  text-decoration: none;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 32vw, 440px);
  overflow: visible;
  padding: clamp(16px, 2.4vw, 28px) clamp(18px, 4vw, 56px);
  max-width: none;
  margin: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-card {
  position: relative;
  z-index: 3;
  width: min(405px, 35vw);
  margin-left: auto;
  margin-right: clamp(30px, calc(9vw - 50px), 85px);
  padding: clamp(22px, 2.2vw, 30px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(222, 223, 228, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(23, 23, 26, 0.28);
}

.hero h1 {
  max-width: 380px;
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 1.85vw, 1.75rem);
  line-height: 1.1;
}

.hero .eyebrow {
  position: relative;
  margin-bottom: 18px;
  color: var(--red-dark);
  font-size: 0.78rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  background: var(--red);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 10px;
  font-size: clamp(2.55rem, 6.8vw, 5.7rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.19rem, 2.625vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(0.95rem, 1.45vw, 1.25rem);
  line-height: 1.15;
}

.tagline {
  margin-bottom: 14px;
  color: var(--red);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 900;
  line-height: 1;
}

.hero-text {
  max-width: 360px;
  color: var(--charcoal);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.3;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(239, 43, 50, 0.26);
}

.button.secondary {
  background: var(--ink);
  color: var(--white);
}

.hero-visual {
  position: absolute;
  top: clamp(16px, 2.4vw, 28px);
  right: clamp(18px, 4vw, 56px);
  left: clamp(18px, 4vw, 56px);
  height: clamp(280px, 26vw, 360px);
  z-index: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 58%, rgba(255, 255, 255, 0.2) 72%, rgba(255, 255, 255, 0.76) 100%);
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: calc(100% - 245px + 340px);
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: translateX(-340px);
}

@media (min-width: 901px) {
  .hero-visual {
    top: 50%;
    height: clamp(330px, calc(26vw + 50px), 410px);
    transform: translateY(-50%);
  }
}

.positioning,
.section,
.service-area {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 56px);
}

.positioning {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.positioning-copy,
.positioning > p {
  max-width: 780px;
}

.positioning > p {
  margin-top: 18px;
}

.positioning p:last-child,
.section-heading p,
.about-copy p,
.contact-section p {
  color: var(--charcoal);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

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

.service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-item.wide {
  grid-column: 1 / -1;
}

.service-item p {
  color: var(--charcoal);
}

.spec-line {
  margin-bottom: 0;
  color: var(--red-dark) !important;
  font-weight: 800;
}

.equipment-visual {
  position: relative;
  margin: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #23252b;
  border-radius: var(--radius);
}

.equipment-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.flare-combo-visual {
  aspect-ratio: 4 / 3;
}

.flare-combo-visual img {
  object-position: center 78%;
}

.standalone-flare-item .equipment-visual img {
  object-position: center 64%;
}

.service-item.wide .equipment-visual img {
  object-position: center center;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(28px, 5vw, 64px);
}

.proof-panel {
  align-self: start;
  padding: 24px 24px 22px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.proof-panel-image {
  padding: 0;
  overflow: hidden;
  background: #000;
}

.proof-panel-image img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-panel h3 {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 14px;
  color: var(--white);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1;
  text-transform: uppercase;
}

.proof-panel h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 4px;
  background: var(--red);
}

.profile-list {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.proof-panel li {
  display: grid;
  grid-template-columns: minmax(112px, 36%) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 92px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: clamp(0.61rem, 1.2vw, 0.825rem);
  font-weight: 900;
  line-height: 1.15;
}

.profile-asset {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 62px;
}

.profile-cor-asset {
  height: 76px;
}

.profile-isn-asset {
  height: 66px;
}

.profile-logo,
.profile-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.profile-icon {
  padding: 3px;
}

.profile-logo-isn {
  width: 98px;
}

.profile-logo-isn-wide {
  width: 220px;
}

.profile-logo-complyworks {
  width: 150px;
  padding: 7px 9px;
  background: var(--white);
  border-radius: 4px;
  box-sizing: border-box;
}

.profile-logo-cor {
  width: 118px;
  padding: 6px 8px;
  background: var(--white);
  border-radius: 4px;
  box-sizing: border-box;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-note {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 18px 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.profile-note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-note-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.profile-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.35;
}

.service-area {
  background: var(--red);
  color: var(--white);
  max-width: none;
}

.service-area h2,
.service-area p {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.service-area .section-kicker {
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}

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

.contact-list a,
.contact-list div {
  display: grid;
  gap: 4px;
  padding: 17px 18px;
  background: var(--white);
  border-left: 7px solid var(--red);
  border-radius: var(--radius);
  text-decoration: none;
}

.contact-list span,
.contact-form label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--ink);
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

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

.contact-form button {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: default;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.site-footer strong {
  color: var(--red);
}

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

  .site-nav {
    display: none;
  }

  .positioning,
  .about-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: flex-end;
    min-height: clamp(600px, 92vw, 760px);
  }

  .hero-card {
    width: min(520px, 88vw);
    margin: clamp(260px, 52vw, 420px) auto 0;
  }

  .hero h1 {
    max-width: 420px;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    display: grid;
    gap: 3px;
  }

  .brand-sub {
    font-size: 0.72rem;
  }

  .header-call {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 0 18px 36px;
    background: var(--white);
  }

  .hero-visual {
    position: relative;
    inset: auto;
    z-index: auto;
    height: auto;
    aspect-ratio: 1280 / 430;
    margin: 0 -18px 18px;
    border: 0;
  }

  .hero-visual::after {
    display: none;
  }

  .hero-card {
    width: 100%;
    padding: 22px;
    margin-top: 0;
    margin-right: 0;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(23, 23, 26, 0.16);
  }

  .hero h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .equipment-visual {
    aspect-ratio: 4 / 3;
  }
}
