:root {
  --ink: #101820;
  --ink-2: #182330;
  --ink-3: #243141;
  --paper: #f6f8f9;
  --white: #ffffff;
  --muted: #617080;
  --line: rgba(16, 24, 32, 0.12);
  --cyan: #00a6b2;
  --green: #16a34a;
  --amber: #f5b11a;
  --red: #dc2626;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.14);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.section-shell {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100vw - 24px));
  margin: 12px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.86);
  color: var(--white);
  box-shadow: 0 16px 50px rgba(16, 24, 32, 0.18);
  backdrop-filter: blur(16px);
}

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

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.15;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  padding: 10px 13px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.main-nav__cta {
  background: var(--white);
  color: var(--ink) !important;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 0 46px;
}

.hero__content {
  max-width: 680px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1.04;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.hero__lead {
  max-width: 620px;
  color: #3e4d5c;
  font-size: 20px;
}

.hero__actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.18);
}

.button--ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button--more {
  display: flex;
  width: fit-content;
  margin: 34px auto 0;
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button.is-hidden {
  display: none;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0 0;
}

.hero__stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero__stats dt {
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero__stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero__visual {
  position: relative;
  min-height: 590px;
  min-width: 0;
}

.cover-stack {
  position: relative;
  height: 560px;
}

.cover-stack img {
  position: absolute;
  width: min(78%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cover-stack img:nth-child(1) {
  top: 30px;
  left: 4%;
  z-index: 4;
}

.cover-stack img:nth-child(2) {
  top: 122px;
  right: 0;
  z-index: 3;
}

.cover-stack img:nth-child(3) {
  bottom: 64px;
  left: 0;
  z-index: 2;
}

.cover-stack img:nth-child(4) {
  right: 8%;
  bottom: 0;
  z-index: 1;
}

.hero-card {
  position: absolute;
  right: 8px;
  bottom: 26px;
  z-index: 8;
  width: 260px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 20px;
}

.hero-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
  line-height: 1.1;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  background: var(--ink);
  color: var(--white);
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.split-section,
.featured-section,
.services-section,
.process-section,
.contact-section,
.module-band {
  padding: 86px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

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

.solution-grid article,
.process-list li,
.module-grid article,
.service-card,
.featured-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.06);
}

.solution-grid article {
  padding: 24px;
}

.solution-grid span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e9f8f6;
  color: var(--cyan);
  font-weight: 900;
}

.solution-grid p,
.section-heading p,
.module-band__intro p,
.process-list p,
.service-card p,
.featured-card p,
.module-grid p,
.contact-card p {
  color: var(--muted);
}

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

.section-heading--wide {
  max-width: 860px;
}

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

.featured-card {
  overflow: hidden;
}

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

.featured-card__body {
  padding: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  background: rgba(0, 166, 178, 0.1);
  color: #087984;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.module-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.module-band__intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

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

.module-grid article {
  overflow: hidden;
}

.module-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.module-grid div {
  padding: 18px;
}

.service-tools {
  position: sticky;
  top: 82px;
  z-index: 10;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 248, 249, 0.92);
  padding: 14px;
  backdrop-filter: blur(14px);
}

.search-box {
  display: block;
  margin-bottom: 12px;
}

.search-box span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 166, 178, 0.12);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 11px;
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--ink);
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.service-card h3,
.featured-card h3 {
  margin-top: 12px;
}

.service-card p {
  flex: 1;
  font-size: 14px;
}

.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-card__actions a,
.service-card__actions button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.service-card__actions a:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.process-list li {
  padding: 24px;
}

.process-list span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card .button--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.contact-card .button--primary {
  background: var(--white);
  color: var(--ink);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  padding: 13px 14px;
}

.lead-form textarea {
  min-height: 136px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 166, 178, 0.18);
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
}

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

.site-footer p {
  margin: 4px 0 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__visual {
    min-height: 470px;
  }

  .cover-stack {
    height: 460px;
  }

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

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

@media (max-width: 780px) {
  .site-header {
    width: calc(100vw - 16px);
    margin-top: 8px;
  }

  .brand {
    flex: 1;
  }

  .brand strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 8px;
    left: 8px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(16, 24, 32, 0.98);
    padding: 10px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__stats,
  .split-section,
  .module-band__intro,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 360px;
  }

  .cover-stack {
    height: 350px;
  }

  .cover-stack img {
    width: 70%;
  }

  .hero-card {
    right: 0;
    bottom: 0;
    width: min(250px, 76vw);
  }

  .solution-grid,
  .featured-grid,
  .module-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-tools {
    top: 76px;
  }

  .split-section,
  .featured-section,
  .services-section,
  .process-section,
  .contact-section,
  .module-band {
    padding: 62px 0;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(calc(100vw - 20px), 1180px);
  }

  .hero__content {
    max-width: 360px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.12;
  }

  h2 {
    font-size: 32px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions,
  .contact-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__stats div {
    padding: 15px;
  }

  .site-footer {
    flex-direction: column;
  }
}
