@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #111827;
  --navy: #081526;
  --navy-2: #163b65;
  --steel: #4b5563;
  --line: #dbe3ec;
  --mist: #eef3f8;
  --paper: #f8fafc;
  --white: #ffffff;
  --orange: #f28c28;
  --orange-dark: #d97314;
  --green: #5f7d68;
  --shadow: 0 22px 60px rgba(8, 21, 38, 0.11);
  --max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display,
h1,
h2,
h3 {
  margin-top: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(48px, 5vw, 80px);
}

h2 {
  font-size: clamp(34px, 3.2vw, 42px);
}

h3 {
  font-size: clamp(23px, 2vw, 28px);
}

p {
  margin: 0 0 1rem;
}

.topbar {
  background: #050d18;
  color: #cbd6dc;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.topbar .container {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar a {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 21, 38, 0.98);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(3, 10, 20, 0.16);
}

.nav-shell {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1;
}

.brand-mark {
  display: inline-block;
  color: var(--orange);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-name {
  display: block;
  max-width: 390px;
  font-size: 15px;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: #aebfc9;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.8vw, 27px);
}

.nav-links a {
  position: relative;
  padding: 33px 0 30px;
  color: #dbe4e9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  min-height: 50px;
  padding: 14px 22px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--white);
}

.nav-links .nav-cta:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4, 12, 23, 0.97) 0%, rgba(8, 21, 38, 0.84) 46%, rgba(8, 21, 38, 0.2) 82%),
    url("assets/images/hero-rig.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.12);
  transform: scale(1.025);
}

.hero::after {
  position: absolute;
  right: -7%;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  content: "";
  transform: rotate(45deg);
}

.hero > .container {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 860px;
  align-content: center;
  padding-top: 96px;
  padding-bottom: 150px;
}

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

.hero h1 {
  max-width: 980px;
  margin-bottom: 32px;
  font-size: clamp(56px, 6.2vw, 80px);
  letter-spacing: -0.045em;
}

.hero .company-line {
  max-width: 760px;
  margin-bottom: 24px;
  color: #f4f7f8;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-lead {
  max-width: 780px;
  color: #d9e2ec;
  font-size: 20px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button.dark {
  border-color: var(--navy);
  background: var(--navy);
}

.button.outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 14, 26, 0.84);
  backdrop-filter: blur(12px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  min-height: 128px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: 26px;
}

.stat span {
  color: #9fb1bc;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section {
  padding: 120px 0;
}

.section.compact {
  padding: 88px 0;
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section.ink {
  background: var(--navy);
  color: var(--white);
}

.section.white {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 64px;
}

.section-head h2 {
  max-width: 730px;
  margin-bottom: 0;
}

.section-head p:not(.eyebrow) {
  max-width: 560px;
  color: var(--steel);
}

.dark .section-head p:not(.eyebrow),
.ink .section-head p:not(.eyebrow) {
  color: #b6c5cd;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 32px;
}

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

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

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

.product-card,
.service-card,
.application-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(8, 21, 38, 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover,
.service-card:hover,
.application-card:hover,
.info-card:hover {
  border-color: #bdcbd9;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card {
  min-height: 520px;
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.card-body {
  padding: 36px;
}

.card-number {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card-body h3 {
  margin-bottom: 16px;
}

.card-body p {
  color: var(--steel);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link::after {
  color: var(--orange);
  content: "→";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: stretch;
}

.split-media {
  min-height: 720px;
  background-position: center;
  background-size: cover;
}

.split-copy {
  display: grid;
  align-content: center;
  padding: clamp(72px, 8vw, 128px);
  background: var(--navy);
  color: var(--white);
}

.split-copy p {
  color: #c0cdd4;
}

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

.feature-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-list li::before {
  color: var(--orange);
  content: "01";
  font-size: 0.68rem;
  font-weight: 800;
}

.feature-list li:nth-child(2)::before { content: "02"; }
.feature-list li:nth-child(3)::before { content: "03"; }
.feature-list li:nth-child(4)::before { content: "04"; }

.service-card,
.application-card,
.info-card {
  padding: 40px;
}

.service-card .icon,
.application-card .icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 44px;
  place-items: center;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-weight: 900;
}

.service-card p,
.application-card p,
.info-card p {
  color: var(--steel);
}

.principle-card {
  padding: 44px;
  border-top: 3px solid var(--orange);
  background: var(--white);
}

.principle-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dark .service-card,
.ink .service-card {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.dark .service-card p,
.ink .service-card p {
  color: #b8c5cc;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--orange);
  color: var(--white);
}

.cta-band::after {
  position: absolute;
  top: -180px;
  right: -40px;
  width: 440px;
  height: 440px;
  border: 80px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-band .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.page-hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 23, 0.96), rgba(8, 21, 38, 0.78), rgba(8, 21, 38, 0.38)),
    var(--hero-image, url("assets/images/hero-equipment.jpg")) center / cover;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  padding-bottom: 88px;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(44px, 4.5vw, 56px);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  color: #cfdae0;
  font-size: 20px;
}

.breadcrumb {
  margin-bottom: 28px;
  color: #aebdc5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--orange);
}

.portfolio-scope {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.6fr);
  gap: 48px;
  align-items: start;
  margin-top: 64px;
  padding: 44px;
  background: var(--navy);
  color: #fff;
  border-left: 4px solid var(--orange);
}

.portfolio-scope h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.source-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.source-category-grid a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 15px 18px;
  background: #102a48;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.source-category-grid a::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 10px;
  background: var(--orange);
}

.source-category-grid a:hover {
  background: var(--navy-2);
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.filter-button {
  min-height: 50px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.catalog-item[hidden] {
  display: none;
}

.system-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 500px;
  margin-bottom: 40px;
  border: 1px solid var(--line);
  background: var(--white);
}

.system-row:nth-child(even) .system-image {
  order: 2;
}

.system-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.system-content {
  display: grid;
  align-content: center;
  padding: clamp(44px, 6vw, 80px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.tag {
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.parts-toolbar {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  margin-bottom: 40px;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid #bcc8cf;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 14px 16px;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

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

.part-card {
  min-height: 260px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
}

.part-card .part-family {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.part-card h3 {
  margin: 34px 0 14px;
}

.part-card p {
  color: var(--steel);
  font-size: 16px;
}

.parts-empty {
  display: none;
  padding: 40px;
  border: 1px solid var(--line);
  text-align: center;
}

.parts-empty.visible {
  display: block;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 300px;
  padding: 40px;
  background: var(--white);
}

.step strong {
  display: block;
  margin-bottom: 52px;
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0.12em;
}

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

.audience-list div {
  min-height: 180px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.audience-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.contact-panel {
  padding: 52px;
  background: var(--navy);
  color: var(--white);
}

.contact-panel p {
  color: #becbd2;
}

.contact-item {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-item small {
  display: block;
  margin-bottom: 7px;
  color: #8fa4b0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.contact-form .full {
  grid-column: 1 / -1;
}

.form-note {
  color: var(--steel);
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  padding: 92px 0 30px;
  background: #050d18;
  color: #b9c5cc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
  gap: 64px;
  padding-bottom: 72px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 24px;
  color: #94a6b0;
}

.footer-col h3 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin: 12px 0;
  color: #9eafb8;
  font-size: 15px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  justify-content: space-between;
  gap: 20px;
  color: #758a96;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 112px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-content: start;
    padding: 25px 30px;
    background: var(--navy);
  }

  .brand-name {
    max-width: 320px;
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 13px 0;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .grid-4,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .parts-grid,
  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar .container {
    justify-content: center;
  }

  .topbar span:first-child {
    display: none;
  }

  .brand-name {
    max-width: 205px;
    font-size: 12px;
  }

  .brand small {
    font-size: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    font-size: 17px;
  }

  .nav-toggle {
    width: 52px;
    height: 48px;
    flex: 0 0 auto;
    font-size: 15px;
  }

  .hero,
  .hero > .container {
    min-height: 0;
  }

  .hero > .container {
    align-content: start;
    padding-top: 118px;
    padding-bottom: 88px;
  }

  .hero-media {
    transform: none;
  }

  .hero-stats {
    position: relative;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 54px);
  }

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

  .stat {
    min-height: 95px;
    padding: 17px;
  }

  .section {
    padding: 88px 0;
  }

  .section-head,
  .cta-inner {
    display: block;
  }

  .section-head h2,
  .cta-inner h2 {
    margin-bottom: 22px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .parts-grid,
  .steps,
  .audience-list,
  .contact-layout,
  .contact-form,
  .parts-toolbar {
    grid-template-columns: 1fr;
  }

  .portfolio-scope,
  .source-category-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .system-row {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 380px;
  }

  .system-row:nth-child(even) .system-image {
    order: initial;
  }

  .system-image img {
    min-height: 280px;
    max-height: 340px;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    display: block;
  }
}
