:root {
  --bg: #030714;
  --bg-soft: #070d1d;
  --panel: rgba(14, 22, 42, 0.78);
  --panel-strong: #0b1224;
  --line: rgba(129, 166, 217, 0.16);
  --text: #f8fbff;
  --muted: #9cadc8;
  --blue: #15a7ee;
  --blue-soft: #63d7ff;
  --amber: #f7a327;
  --white: #ffffff;
  --ink: #111827;
  --gray-text: #697386;
  --light-bg: #f5f7fb;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.container {
  width: min(100% - 72px, 1360px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: rgba(4, 8, 20, 0.93);
  border-bottom: 1px solid rgba(124, 152, 193, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--white);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(248, 251, 255, 0.76);
  font-size: 1rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px !important;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(21, 167, 238, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100svh - 58px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 7, 20, 0.98) 0%, rgba(3, 7, 20, 0.88) 34%, rgba(3, 7, 20, 0.42) 100%),
    url("assets/hero-automation.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 33%, rgba(21, 167, 238, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(3, 7, 20, 0.12), rgba(3, 7, 20, 0.96));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
  gap: 7vw;
  align-items: center;
  padding: 88px 0 112px;
}

.hero-copy h1 {
  max-width: 830px;
  margin: 28px 0 24px;
  font-size: clamp(3rem, 5.2vw, 4.95rem);
  line-height: 1.08;
  font-weight: 820;
}

.hero-text {
  max-width: 760px;
  margin: 0 0 32px;
  color: #d8e2f4;
  font-size: clamp(1.06rem, 1.7vw, 1.36rem);
}

.eyebrow {
  margin: 0;
  color: var(--blue-soft);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 18px;
  text-transform: none;
  color: #7ee4ff;
  background: rgba(8, 76, 113, 0.45);
  border: 1px solid rgba(99, 215, 255, 0.24);
  border-radius: 999px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(21, 167, 238, 0.22);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
}

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

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(145, 176, 218, 0.18);
  border-radius: 8px;
  background: rgba(15, 22, 40, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mini-card,
.solution-card {
  min-height: 176px;
  padding: 26px 24px;
  border-radius: 8px;
  background: rgba(15, 24, 46, 0.78);
  border: 1px solid rgba(137, 167, 213, 0.16);
}

.mini-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

.mini-card strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.22;
}

.solution-card {
  grid-column: 1 / -1;
  min-height: 160px;
  background: linear-gradient(135deg, rgba(8, 75, 112, 0.82), rgba(12, 31, 57, 0.94));
  border-color: rgba(99, 215, 255, 0.22);
}

.solution-card p {
  margin: 18px 0 0;
  color: #e8f3ff;
  font-size: 1.08rem;
}

.section {
  padding: 106px 0;
  background: var(--bg);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 72px;
  align-items: end;
  margin: 18px 0 38px;
}

.section-heading.compact {
  max-width: 850px;
  display: block;
}

.section h2,
.page-hero h1,
.about-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.14;
}

.section-heading p,
.split-copy p,
.process-card p,
.service-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 280px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 22, 42, 0.86), rgba(9, 15, 31, 0.92));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14);
}

.icon-badge {
  width: 54px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: #77ddff;
  font-size: 1.18rem;
  font-weight: 850;
  background: rgba(10, 82, 123, 0.42);
  border-radius: 8px;
}

.service-card h3,
.feature-item h3,
.process-card h3,
.value-card h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.25;
}

.split-section {
  background: linear-gradient(115deg, #082033 0%, #060a18 48%, #030714 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.media-frame,
.process-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(141, 181, 224, 0.18);
  box-shadow: var(--shadow);
}

.media-frame img {
  aspect-ratio: 1.17 / 1;
  object-fit: cover;
}

.split-copy h2 {
  margin: 18px 0 22px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.feature-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 24, 45, 0.84);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #9ae7ff;
  font-weight: 900;
  background: rgba(12, 96, 145, 0.38);
  border-radius: 8px;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-top: 42px;
}

.process-list {
  display: grid;
  gap: 20px;
}

.process-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 20, 40, 0.9);
}

.process-card span {
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #78ddff;
  font-weight: 850;
  background: rgba(10, 82, 123, 0.42);
  border-radius: 8px;
}

.process-image {
  position: sticky;
  top: 120px;
}

.process-image img {
  aspect-ratio: 0.92 / 1;
  height: auto;
  object-fit: cover;
}

.cta-section {
  padding-top: 60px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(99, 215, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 58, 90, 0.94), rgba(13, 24, 49, 0.96));
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin: 18px 0 16px;
  max-width: 760px;
}

.cta-card p {
  max-width: 860px;
  color: #d9e7f8;
  font-size: 1.12rem;
}

.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin-top: 24px;
  color: #e8f4ff;
}

.align-right {
  justify-content: flex-end;
  min-width: 330px;
}

.site-footer {
  background: #030714;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.85fr 1.2fr;
  gap: 54px;
  padding: 72px 0;
}

.site-footer h2 {
  margin: 0 0 24px;
  font-size: 1.55rem;
}

.site-footer h3 {
  margin: 0 0 22px;
  color: var(--blue-soft);
  text-transform: uppercase;
  font-size: 0.92rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 14px;
  color: #93a6c4;
}

.footer-button {
  width: max-content;
  margin-top: 22px !important;
  padding: 12px 20px;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 760;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: #6f82a5;
  padding: 24px 0 30px;
}

.page-hero {
  position: relative;
  padding: 118px 0 98px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(4, 8, 20, 0.72), rgba(4, 8, 20, 0.84)),
    url("assets/hero-automation.png") center / cover no-repeat;
}

.page-hero .container {
  max-width: 980px;
}

.page-hero h1 {
  margin: 22px 0 18px;
}

.page-hero p:not(.eyebrow) {
  color: #d4ddeb;
  font-size: 1.18rem;
}

.about-body {
  padding: 72px 0 0;
  background: #545966;
}

.white-panel {
  padding: clamp(28px, 4vw, 42px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.white-panel h2 {
  margin: 0 0 20px;
  font-size: 1.75rem;
}

.white-panel p {
  color: var(--gray-text);
  font-size: 1.05rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 72px 0;
}

.value-card {
  min-height: 242px;
  padding: 34px 26px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  text-align: center;
}

.value-card h3 {
  color: var(--ink);
}

.value-card p {
  margin: 0;
  color: var(--gray-text);
}

.round-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--ink);
  background: #eef1f5;
  border-radius: 999px;
  font-size: 1.4rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 42px 28px;
  margin-bottom: 72px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  text-align: center;
}

.stats-strip strong {
  display: block;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.stats-strip span {
  color: #6d7482;
}

.about-cta {
  margin: 0 auto;
  padding: 68px 0 82px;
  text-align: center;
}

.about-cta h2,
.about-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta p {
  color: #d4d9e3;
  font-size: 1.16rem;
}

.contact-page {
  color: var(--ink);
  background: var(--white);
}

.contact-hero {
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 92px);
}

.contact-copy {
  padding: clamp(38px, 5vw, 72px) clamp(28px, 5vw, 68px);
}

.contact-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.1;
}

.contact-copy > p {
  max-width: 680px;
  margin: 0 0 42px;
  color: #5d6676;
  font-size: 1.08rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 38px;
}

.contact-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  background: #f5f7fa;
  border: 1px solid #edf0f5;
  border-radius: 8px;
}

.contact-card.wide {
  grid-column: 1 / -1;
}

.contact-card > div {
  min-width: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #101820;
  background: #e9edf2;
  border-radius: 999px;
  font-size: 1.22rem;
}

.contact-card span:not(.contact-icon) {
  display: block;
  color: #677388;
}

.contact-card strong {
  color: #111827;
  font-weight: 700;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
  word-break: normal;
}

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

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

label span {
  display: block;
  margin: 0 0 8px;
  color: #b31218;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 167, 238, 0.12);
}

textarea {
  resize: vertical;
}

.dark-submit {
  width: 100%;
  color: var(--white);
  background: #151d26;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: #167e4d;
  font-weight: 700;
}

.map-panel {
  position: sticky;
  top: 92px;
  min-height: calc(100svh - 92px);
  background: #edf3eb;
  overflow: hidden;
}

.map-panel iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 92px);
  border: 0;
  background: transparent;
}

.map-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: calc(100svh - 92px);
  height: 100%;
  background:
    radial-gradient(circle at 66% 50%, rgba(255, 255, 255, 0.88) 0 6%, transparent 6.5%),
    radial-gradient(circle at 31% 35%, rgba(255, 255, 255, 0.75) 0 4%, transparent 4.4%),
    linear-gradient(118deg, transparent 0 64%, rgba(204, 230, 212, 0.9) 64.2% 100%),
    linear-gradient(18deg, #f6f1e5 0 46%, #e7eee6 46.2% 100%);
}

.map-water {
  position: absolute;
  right: 0;
  top: -4%;
  width: 34%;
  height: 110%;
  background:
    repeating-linear-gradient(76deg, rgba(72, 111, 80, 0.12) 0 2px, transparent 2px 28px),
    #d5ead8;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.road {
  position: absolute;
  height: 10px;
  background: #d4d0c5;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(126, 137, 149, 0.15);
}

.road-one {
  left: 6%;
  top: 25%;
  width: 76%;
  transform: rotate(-18deg);
}

.road-two {
  left: 8%;
  top: 58%;
  width: 70%;
  transform: rotate(14deg);
}

.road-three {
  left: 20%;
  top: 42%;
  width: 46%;
  transform: rotate(-45deg);
}

.road-four {
  left: 3%;
  top: 72%;
  width: 76%;
  transform: rotate(-8deg);
}

.road-five {
  left: 42%;
  top: 16%;
  width: 24%;
  transform: rotate(52deg);
}

.map-label {
  position: absolute;
  z-index: 2;
  color: #66737f;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.label-one {
  left: 20%;
  top: 35%;
}

.label-two {
  left: 39%;
  top: 41%;
}

.label-three {
  left: 37%;
  top: 63%;
}

.label-four {
  right: 15%;
  top: 39%;
  color: #9b6ed0;
}

.map-pin {
  position: absolute;
  z-index: 4;
  left: 51%;
  top: 48%;
  width: 34px;
  height: 34px;
  background: #e5362d;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 20px rgba(177, 35, 31, 0.34);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: #b71f1c;
  border-radius: 999px;
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-grid,
  .process-grid,
  .cta-card,
  .contact-content {
    grid-template-columns: 1fr;
  }

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

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

  .process-image,
  .map-panel {
    position: static;
  }

  .map-panel,
  .map-visual {
    min-height: 460px;
  }

  .align-right {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 34px, 1360px);
  }

  .site-header {
    min-height: 76px;
    padding: 0 18px;
  }

  .brand {
    max-width: calc(100% - 58px);
    white-space: normal;
    line-height: 1.2;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(4, 8, 20, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 8px;
  }

  .nav-cta {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 70px 0 80px;
    gap: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 4.1rem);
  }

  .hero-panel,
  .section-heading,
  .contact-cards,
  .form-row,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .mini-card,
  .solution-card {
    min-height: auto;
  }

  .section {
    padding: 72px 0;
  }

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

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

  .process-card,
  .feature-item {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding-top: 52px;
  }
}

@media (max-width: 520px) {
  .button,
  .footer-button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }

  .hero-panel,
  .cta-card,
  .white-panel,
  .value-card,
  .stats-strip {
    padding: 24px;
  }
}
