:root {
  --ink: #102030;
  --muted: #617083;
  --line: #d9e3ea;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --navy: #123d5d;
  --teal: #087f86;
  --green: #18a36a;
  --amber: #f3a72b;
  --shadow: 0 20px 60px rgba(21, 58, 88, .12);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

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

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

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(217, 227, 234, .75);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}

.site-header--scrolled {
  box-shadow: 0 12px 36px rgba(16, 32, 48, .1);
}

.topbar {
  color: #d8eef1;
  background: var(--navy);
  font-size: .86rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  padding: 8px 0;
}

.site-nav {
  padding: 0;
}

.site-nav__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand__logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform .2s ease;
}

.brand:hover .brand__logo {
  transform: scale(1.03);
}

.brand__logo--footer {
  height: 48px;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.28rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: .77rem;
}

.site-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 12px 14px;
}

.site-nav .nav-link:hover {
  color: var(--teal);
}

.nav-link--button {
  color: #fff !important;
  background: var(--teal);
  border-radius: 8px;
  padding: 10px 18px !important;
}

.site-nav__toggle {
  border-color: var(--line);
}

.site-nav__toggle .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2816, 32, 48, 0.82%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
  padding: 86px 0 58px;
  background:
    linear-gradient(115deg, rgba(8, 127, 134, .08), rgba(243, 167, 43, .08) 55%, rgba(24, 163, 106, .09)),
    #f8fbfd;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.section-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
}

.hero-copy h1 {
  max-width: 680px;
  margin: 14px 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.04;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-copy p,
.section-heading p,
.split-grid p,
.cta-panel p,
.site-footer p {
  color: var(--muted);
}

.hero-copy p {
  max-width: 650px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-main,
.btn-ghost {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 800;
}

.btn-main {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(8, 127, 134, .22);
}

.btn-ghost {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  color: var(--ink);
  font-weight: 700;
}

.hero-points span::before,
.why-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
}

.hero-visual {
  padding: 12px;
  border: 1px solid rgba(217, 227, 234, .9);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.stats-band {
  background: var(--navy);
}

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

.stats-grid div {
  padding: 28px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.stats-grid div:first-child {
  border-left: 0;
}

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

.stats-grid strong {
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  color: #bfe3e7;
  margin-top: 6px;
}

.content-section,
.stack-section,
.cta-section {
  padding: 86px 0;
}

.about-section,
.services-section,
.process-section {
  background: var(--soft);
}

.split-grid,
.why-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.14;
  font-weight: 800;
}

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

.section-heading--compact {
  margin-bottom: 24px;
}

.product-grid,
.service-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.product-card,
.service-card,
.process-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 32, 48, .06);
}

.product-card__icon-box {
  margin-bottom: 14px;
}

.product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: block;
  transition: transform .2s ease;
}

.product-card:hover .product-card__icon {
  transform: scale(1.08);
}

.product-card h3,
.service-card h3,
.process-grid h3,
.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.product-card p,
.service-card p,
.process-grid p {
  color: var(--muted);
  margin-bottom: 18px;
}

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

.tag-row span,
.stack-row span,
.industry-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 700;
  padding: 7px 10px;
}

.service-card span,
.process-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}

.stack-section {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #0a6f7b);
}

.stack-section .section-kicker,
.stack-section h2 {
  color: #fff;
}

.stack-row,
.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-row span {
  color: #e7fbfb;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
}

.industry-grid span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list span {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p,
.cta-panel .section-kicker {
  color: #dcfbff;
}

.cta-panel .btn-main {
  color: var(--navy);
  background: #fff;
}

.site-footer {
  color: #d2e3ec;
  background: #0d2639;
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.brand--footer {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer h3 {
  color: #fff;
}

.site-footer a,
.site-footer span {
  display: block;
  color: #d2e3ec;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.simple-page {
  max-width: 780px;
  min-height: 45vh;
}

@media (max-width: 991px) {
  .topbar__inner {
    justify-content: center;
  }

  .site-nav__inner {
    min-height: 70px;
  }

  .navbar-collapse {
    padding: 14px 0 18px;
  }

  .hero-grid,
  .split-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-shell {
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
  }

  .topbar {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-section,
  .content-section,
  .stack-section,
  .cta-section {
    padding: 56px 0;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy h1 {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    font-size: 1.95rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy p {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
  }

  .hero-visual {
    margin-top: 28px;
  }

  .section-kicker {
    display: block;
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    line-height: 1.45;
    word-break: normal;
  }

  .section-kicker::before {
    display: block;
    margin-bottom: 8px;
  }

  .stats-grid,
  .product-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding: 22px 0;
  }

  .stats-grid div:first-child {
    border-top: 0;
  }

  .product-card,
  .service-card,
  .process-grid article {
    min-height: auto;
  }

  .cta-panel,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
