:root {
  color-scheme: light;
  --bg: #fbfcfd;
  --surface: #f1f6f8;
  --surface-strong: #e7f1f3;
  --ink: #111b21;
  --muted: #61727b;
  --line: #d7e4e8;
  --green: #0d8f8a;
  --green-strong: #0a6f7a;
  --lime: #b8f05d;
  --blue: #173b57;
  --graphite: #101820;
  --danger: #ba3434;
  --shadow: 0 18px 48px rgba(17, 27, 33, 0.12);
  --radius: 8px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dark {
  color-scheme: dark;
  --bg: #091115;
  --surface: #111d24;
  --surface-strong: #172a32;
  --ink: #eef8f7;
  --muted: #a5b8bf;
  --line: #263c45;
  --green: #38c7bd;
  --green-strong: #b8f05d;
  --blue: #8ac7e8;
  --graphite: #0c1218;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  background: var(--ink);
  color: var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(220, 230, 223, 0.72);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 0.92rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.7rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-strong);
}

.theme-toggle {
  position: relative;
  width: 46px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.theme-toggle span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--lime);
  transition: transform 180ms ease;
}

.dark .theme-toggle span {
  transform: translateX(18px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 32px);
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 14, 19, 0.94), rgba(9, 29, 39, 0.76) 46%, rgba(9, 29, 39, 0.22)),
    linear-gradient(180deg, rgba(6, 14, 19, 0.16), rgba(6, 14, 19, 0.82));
}

.hero-content {
  display: grid;
  min-height: calc(100svh - var(--header-height) - 32px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: 58px;
  padding-block: 70px;
  color: #ffffff;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-strong);
  font-size: 0.84rem;
  font-weight: 900;
}

.hero .eyebrow,
.cta .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p,
label,
strong {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-size: 5.35rem;
}

h2 {
  font-size: 3.16rem;
}

h3 {
  font-size: 1.14rem;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.14rem;
}

.hero-actions,
.cta-layout,
.footer-layout {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.hero-command {
  display: grid;
  gap: 6px;
  width: min(620px, 100%);
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-command span {
  color: #8cf0b7;
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-command strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.hero-command p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.hero-dashboard {
  display: grid;
  gap: 18px;
  align-self: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 21, 28, 0.64);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-dashboard > p {
  margin: 0;
  color: var(--lime);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-dashboard > strong {
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1.18;
}

.dashboard-grid {
  display: grid;
  gap: 10px;
}

.dashboard-grid div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.dashboard-grid span {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 900;
}

.dashboard-grid small {
  max-width: 120px;
  color: rgba(255, 255, 255, 0.66);
  text-align: right;
}

.flow-map {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.flow-map span {
  display: grid;
  place-items: center;
  min-width: 54px;
  min-height: 38px;
  border: 1px solid rgba(184, 240, 93, 0.34);
  border-radius: var(--radius);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.flow-map i {
  display: block;
  height: 1px;
  background: rgba(184, 240, 93, 0.35);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  background: var(--lime);
  color: #102019;
  box-shadow: 0 14px 30px rgba(184, 240, 93, 0.24);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 52px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-metrics div {
  padding: 21px 22px 0 0;
}

.hero-metrics dt {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 108px 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.service-grid,
.reference-grid,
.testimonials {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
}

.command-section {
  position: relative;
  background: #101820;
  color: #ffffff;
}

.command-section .eyebrow {
  color: var(--green-strong);
}

.command-section .section-heading p,
.command-section .service-card p,
.command-section .service-panel p,
.command-section .check-list li {
  color: rgba(255, 255, 255, 0.7);
}

.command-section .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.command-section .service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  column-gap: 18px;
  align-items: start;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.command-section .service-card h3,
.command-section .service-card p {
  grid-column: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  border: 1px solid rgba(184, 240, 93, 0.34);
  border-radius: var(--radius);
  background: rgba(184, 240, 93, 0.1);
  color: var(--lime);
}

.service-icon svg {
  width: 31px;
  height: 31px;
}

.service-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-icon.storage {
  color: #7fe7ff;
  border-color: rgba(127, 231, 255, 0.32);
  background: rgba(127, 231, 255, 0.09);
}

.service-icon.engineering {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.card,
.service-card,
.service-explorer,
.about-panel,
.reference-card,
.testimonial-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.service-card {
  padding: 24px;
  min-height: 100%;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--green) 40%, var(--line));
}

.card-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.service-card p,
.service-panel p,
.benefit-item p,
.process-list p,
.about-panel p,
.reference-card p,
.testimonial-card figcaption,
.contact-list li {
  color: var(--muted);
}

.service-explorer {
  margin-top: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.command-section .service-explorer {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.command-section .service-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.command-section .service-tabs button {
  border-right-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
}

.command-section .service-tabs button[aria-selected="true"] {
  background: var(--lime);
  color: #102019;
}

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

.service-tabs button {
  min-height: 56px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

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

.service-tabs button[aria-selected="true"] {
  background: var(--green);
  color: #ffffff;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: 32px;
  padding: 32px;
}

.check-list,
.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.contact-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.check-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.benefits,
.about,
.contact {
  background: var(--surface);
}

.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 18px;
}

.benefit-item {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line);
}

.benefit-item:first-child {
  padding-top: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.about-panel {
  padding: 30px;
  box-shadow: var(--shadow);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.about-stats div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-stats strong,
.about-stats span {
  display: block;
}

.about-stats strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.reference-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.reference-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reference-visual {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(13, 143, 138, 0.25), rgba(16, 24, 32, 0.96)),
    #101820;
  color: #ffffff;
}

.reference-visual span {
  color: var(--lime);
  font-weight: 900;
}

.reference-visual strong {
  max-width: 180px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.05;
}

.reference-card > div:not(.reference-visual) {
  padding: 22px;
}

.reference-card > div:not(.reference-visual) > span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-strong);
  font-size: 0.9rem;
  font-weight: 900;
}

.testimonials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.testimonial-card {
  margin: 0;
  padding: 28px;
  background: var(--surface);
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.cta {
  padding: 70px 0;
  background: var(--graphite);
  color: var(--bg);
}

.cta-layout {
  justify-content: space-between;
}

.cta h2 {
  max-width: 700px;
  font-size: 2.75rem;
}

.contact-list {
  margin-top: 26px;
}

.contact-list strong {
  display: block;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 143, 138, 0.14);
}

[aria-invalid="true"] {
  border-color: var(--danger) !important;
}

.hidden-field {
  display: none;
}

.field-error,
.form-status {
  min-height: 1.25em;
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.form-status.success {
  color: var(--green-strong);
}

.button.full {
  width: 100%;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
}

.footer-layout {
  justify-content: space-between;
}

.footer-layout p {
  margin: 0;
}

.footer-layout a {
  color: var(--green-strong);
  font-weight: 900;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1080px) {
  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.62rem;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .contact-layout,
  .hero-content,
  .service-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 14px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    transform: translateY(-120%);
    transition: transform 220ms ease;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .theme-toggle {
    margin-top: 16px;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - var(--header-height) - 28px);
  }

  .hero-content {
    padding-block: 52px;
  }

  h1 {
    font-size: 2.78rem;
  }

  h2,
  .cta h2 {
    font-size: 2.06rem;
  }

  .hero-metrics,
  .service-grid,
  .service-tabs,
  .process-list,
  .reference-grid,
  .testimonials,
  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics div {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .service-tabs button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 78px 0;
  }

  .service-panel,
  .about-panel,
  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .brand-text strong {
    font-size: 0.82rem;
  }

  .brand-text span {
    font-size: 0.64rem;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2,
  .cta h2 {
    font-size: 1.82rem;
  }

  .button {
    width: 100%;
  }
}
