:root {
  --bg: #101010;
  --surface: #171717;
  --surface-2: #24211c;
  --line: #4a4034;
  --text: #f4f1ea;
  --muted: #b8b1a4;
  --soft: #857c70;
  --accent: #ff9900;
  --accent-dark: #b66500;
  --paper: #eee7da;
  --ink: #171717;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Aptos", "IBM Plex Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

@keyframes fade-up {
  from {
    opacity: 0.96;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(16, 16, 16, 0.94);
  border-top: 1px solid rgba(255, 153, 0, 0.74);
  border-bottom: 1px solid rgba(255, 153, 0, 0.74);
}

.brand img {
  width: 118px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a,
.social-links a,
.site-footer a,
.text-link {
  transition: color 160ms ease;
}

.main-nav a:hover,
.social-links a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  line-height: 1;
}

.social-links .phone-link {
  width: 22px;
}

.phone-link svg {
  width: 18px;
  height: 18px;
}

.phone-link span {
  display: none;
}

.social-links svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-links a:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  width: 38px;
  height: 38px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 153, 0, 0.58);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  display: grid;
  gap: 18px;
  padding: 20px;
  background: #101010;
  border-bottom: 1px solid rgba(255, 153, 0, 0.74);
}

.mobile-menu-panel nav {
  display: grid;
  gap: 14px;
  color: var(--text);
  font-weight: 800;
}

.mobile-menu-panel .button {
  justify-self: start;
}

.mobile-phone {
  color: var(--text);
  font-weight: 800;
}
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.98) 0%, rgba(16, 16, 16, 0.9) 28%, rgba(16, 16, 16, 0.24) 58%, rgba(16, 16, 16, 0.12) 100%),
    linear-gradient(0deg, rgba(16, 16, 16, 0.28), rgba(16, 16, 16, 0.04)),
    url("public/assets/hero2.png") center / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 148px clamp(20px, 5vw, 64px) 150px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6.1vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
  animation: fade-up 520ms ease both;
}

.hero-copy p {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  animation: fade-up 520ms ease 90ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: fade-up 520ms ease 170ms both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button.primary {
  background: var(--accent);
  color: #17120a;
}

.button.primary:hover {
  background: #ffad28;
}

.button.secondary {
  border-color: #5a534a;
  color: var(--text);
  background: rgba(16, 16, 16, 0.42);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-specs {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 5vw, 64px);
  bottom: 34px;
  z-index: 2;
  display: flex;
  max-width: 860px;
  border: 1px solid rgba(238, 231, 218, 0.22);
  background: rgba(16, 16, 16, 0.72);
}

.hero-specs div {
  flex: 1 1 0;
  padding: 16px;
  border-right: 1px solid rgba(238, 231, 218, 0.16);
}

.hero-specs div:last-child {
  border-right: 0;
}

.hero-specs strong,
.hero-specs span {
  display: block;
}

.hero-specs strong {
  color: var(--accent);
  font-size: 18px;
}

.hero-specs span {
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 681px) {
  .hero-specs {
    flex-direction: row;
  }
}

.pain-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.pain-strip div {
  padding: 18px clamp(14px, 3vw, 28px);
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-weight: 700;
}

.pain-strip div:last-child {
  border-right: 0;
}

.section {
  padding: 76px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(255, 153, 0, 0.34);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(280px, 0.52fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

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

.section-head h2,
.product-copy h2,
.client-list h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.product-copy p,
.contact p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.services {
  background: #111;
}

.service-card {
  min-height: 340px;
  padding: 26px;
  background: #191919;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-card h3 {
  min-height: 64px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 28px 0 0;
  padding-left: 18px;
  color: var(--paper);
}

.service-card li::marker {
  color: var(--accent);
}

.product-shot {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 34px;
  align-items: center;
  background: #111;
}

.product-copy p {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  border: 0;
  background: transparent;
  padding: 0;
  margin-top: 26px;
  color: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.product-image {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.08), transparent 38%),
    #111;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  object-fit: contain;
}

.equipment {
  background: #18140f;
}

.equipment-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.equipment-list,
.brand-cloud {
  border: 1px solid var(--line);
  background: var(--surface);
}

.equipment-list {
  padding: 28px;
}

.equipment-list h3 {
  margin-bottom: 24px;
  font-size: 28px;
}

.rows {
  display: grid;
  border-top: 1px solid var(--line);
}

.rows div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.rows span {
  color: var(--accent);
  font-weight: 700;
}

.rows strong {
  font-weight: 600;
}

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

.brand-cloud span {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.brand-cloud span:nth-child(3n) {
  border-right: 0;
}

.client-fit {
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: 44px;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
}

.client-image {
  min-height: 360px;
  display: flex;
  align-items: center;
}

.client-list h2 {
  margin-bottom: 28px;
}

.fit-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid #c7baa6;
}

.fit-row:last-child {
  border-bottom: 1px solid #c7baa6;
}

.fit-row strong {
  color: #2c251c;
  font-size: 18px;
}

.fit-row span {
  color: #5f574c;
}

.about-us {
  background: #141414;
}

.about-grid,
.solution-grid,
.review-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.about-item,
.solution-item,
.review-item {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.about-item:last-child,
.solution-item:last-child,
.review-item:last-child {
  border-right: 0;
}

.about-item strong,
.about-item span,
.solution-item strong,
.solution-item span,
.review-item strong,
.review-item span {
  display: block;
}

.about-item strong,
.solution-item strong {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 23px;
  line-height: 1.14;
}

.about-item span,
.solution-item span,
.review-item span {
  color: var(--muted);
}

.solutions {
  background: #191714;
}

.solution-item {
  transition: background-color 160ms ease, color 160ms ease;
}

.solution-item:hover {
  background: #211f1a;
}

.reviews {
  background: #111;
}

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

.review-item p {
  min-height: 132px;
  margin: 0 0 22px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.35;
}

.review-item strong {
  margin-bottom: 6px;
  color: var(--accent);
}

.why-us {
  background: #0f0f0f;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.why-item {
  min-height: 220px;
  padding: 28px;
  background: #191919;
  border-right: 1px solid var(--line);
}

.why-item:last-child {
  border-right: 0;
}

.why-item strong,
.why-item span {
  display: block;
}

.why-item strong {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 23px;
  line-height: 1.14;
}

.why-item span {
  color: var(--muted);
}

.references {
  background: #111;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.reference-item {
  min-height: 260px;
  padding: 28px;
  background: #191919;
  border-right: 1px solid var(--line);
}

.reference-item:last-child {
  border-right: 0;
}

.reference-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--soft);
  font-weight: 800;
}

.reference-item strong {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
}

.reference-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: #211a11;
}

.evidence-item {
  min-height: 180px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.evidence-item:last-child {
  border-right: 0;
}

.evidence-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 24px;
}

.evidence-item span {
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
  border: 1px solid var(--line);
}

.process {
  background: #0f0f0f;
}

.about-us,
.solutions,
.reviews {
  background: #151515;
}

.about-item,
.solution-item,
.review-item,
.process-list li,
.equipment-list,
.brand-cloud {
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 153, 0, 0.08);
}

.service-card,
.about-item,
.solution-item,
.review-item,
.why-item,
.reference-item,
.evidence-item,
.process-list li,
.brand-cloud span,
.rows div {
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-card:hover,
.about-item:hover,
.solution-item:hover,
.review-item:hover,
.why-item:hover,
.reference-item:hover {
  background: #211f1b;
  border-color: rgba(255, 153, 0, 0.58);
  transform: translateY(-2px);
}

.button {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.solution-item {
  position: relative;
}

.solution-item em {
  display: block;
  margin-top: 22px;
  color: var(--soft);
  font-size: 12px;
  font-style: normal;
}

.cta-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: #211a11;
}

.cta-strip h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.cta-strip p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

.cta-strip-dark {
  background: #151515;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

.process-list li {
  position: relative;
  min-height: 230px;
  padding: 64px 24px 24px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  counter-increment: steps;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--accent);
  font-weight: 800;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 12px;
  font-size: 24px;
}

.process-list span {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 52px;
  padding: 78px clamp(20px, 5vw, 64px);
  background: var(--paper);
  color: var(--ink);
}

.contact p {
  margin-top: 22px;
  color: #5f574c;
}

.contact-panel {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 18px;
}

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

.form-message {
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 700;
}

.form-message.success {
  background: #e4f3df;
  border: 1px solid #9bc58e;
  color: #24451d;
}

.form-message.error {
  background: #f6ded7;
  border: 1px solid #d59b8b;
  color: #6a2116;
}

.request-form label {
  display: grid;
  gap: 7px;
  color: #3d372f;
  font-weight: 700;
}

.request-form label:nth-child(4),
.request-form .field-full {
  grid-column: 1 / -1;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid #c8bda9;
  border-radius: 6px;
  background: #fffaf1;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  resize: vertical;
}

.file-field span {
  color: #5f574c;
  font-size: 14px;
  font-weight: 600;
}

.file-field input {
  padding: 10px;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(255, 153, 0, 0.42);
  border-color: var(--accent-dark);
}

.request-form button {
  justify-self: start;
}

.request-modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  border: 1px solid var(--line);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}

.request-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 26px;
  border-bottom: 1px solid #c8bda9;
}

.modal-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.modal-head p {
  margin: 12px 0 0;
  color: #5f574c;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid #c8bda9;
  background: #fffaf1;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.request-modal .request-form,
.request-modal .form-message {
  margin: 22px 26px;
}

.legal-check {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #3d372f;
  font-weight: 600;
}

.legal-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.legal-check a {
  color: #9a5a00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-legal-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #5f574c;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: #0d0d0d;
}

.site-footer img {
  width: 98px;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px clamp(20px, 5vw, 64px) 72px;
}

.legal-brand {
  display: inline-flex;
  margin-bottom: 42px;
}

.legal-page h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
}

.legal-updated,
.legal-intro,
.legal-source {
  color: var(--muted);
}

.legal-updated {
  margin: 18px 0 0;
  font-weight: 800;
}

.legal-intro {
  margin: 24px 0 36px;
  font-size: 19px;
}

.legal-page section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-page section h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 26px;
}

.legal-page section p {
  margin: 0;
  color: var(--paper);
}

.legal-source {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-bg {
    background:
      linear-gradient(0deg, rgba(16, 16, 16, 0.96) 0%, rgba(16, 16, 16, 0.82) 34%, rgba(16, 16, 16, 0.16) 100%),
      url("public/assets/hero2.png") 84% 58% / auto 112% no-repeat;
  }

  .hero-copy {
    padding-top: 320px;
    padding-bottom: 168px;
  }

  .section-head,
  .product-shot,
  .equipment-layout,
  .client-fit,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list,
  .evidence,
  .why-grid,
  .about-grid,
  .solution-grid,
  .review-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-card,
  .process-list li,
  .evidence-item,
  .why-item,
  .reference-item,
  .about-item,
  .solution-item,
  .review-item {
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(2n),
  .process-list li:nth-child(2n),
  .evidence-item:nth-child(2n),
  .why-item:nth-child(2n),
  .about-item:nth-child(2n),
  .solution-item:nth-child(2n),
  .review-item:nth-child(2n) {
    border-right: 0;
  }

  .reference-item {
    border-right: 0;
  }

  .client-image {
    min-height: 0;
  }
}

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

  .brand img {
    width: 98px;
  }

  .social-links {
    gap: 9px;
  }

  .social-links .phone-link span {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-copy {
    padding: 415px 20px 56px;
  }

  .hero-bg {
    inset: 0 0 auto;
    height: 560px;
    background:
      linear-gradient(0deg, rgba(16, 16, 16, 0.46) 0%, rgba(16, 16, 16, 0.18) 45%, rgba(16, 16, 16, 0.06) 100%),
      url("public/assets/hero2.png") 92% center / auto 70% no-repeat;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    margin-top: 58px;
  }

  .cta-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-grid,
  .process-list,
  .evidence,
  .why-grid,
  .about-grid,
  .solution-grid,
  .review-list,
  .reference-list,
  .brand-cloud,
  .request-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-list li,
  .evidence-item,
  .why-item,
  .reference-item,
  .about-item,
  .solution-item,
  .review-item,
  .brand-cloud span {
    border-right: 0;
  }

  .review-item p {
    min-height: 0;
  }

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

  .rows div,
  .fit-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-image {
    min-height: 240px;
  }

  .request-form label:nth-child(4),
  .request-form .field-full {
    grid-column: auto;
  }

  .legal-check,
  .form-legal-note {
    grid-column: auto;
  }

  .site-footer {
    justify-items: start;
  }

  .request-modal .request-form {
    grid-template-columns: 1fr;
  }
}
