:root {
  --ink: #152026;
  --muted: #5d6973;
  --line: #dce4ea;
  --surface: #ffffff;
  --soft: #f4f7f8;
  --teal: #0a7c7d;
  --blue: #1769aa;
  --green: #3c8d54;
  --amber: #d9902f;
  --graphite: #24313a;
  --shadow: 0 18px 44px rgba(20, 35, 45, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.nav-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(18, 32, 42, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(10, 124, 125, 0.28);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
  color: var(--amber);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(10, 124, 125, 0.25);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82vh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 18, 24, 0.82) 0%, rgba(10, 18, 24, 0.56) 42%, rgba(10, 18, 24, 0.16) 100%),
    linear-gradient(0deg, rgba(10, 18, 24, 0.26), rgba(10, 18, 24, 0.08));
}

.hero-content {
  width: min(700px, 92vw);
  margin-left: clamp(20px, 6vw, 84px);
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-band h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.hero-actions,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.btn.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(10, 124, 125, 0.27);
}

.btn.primary.dark {
  background: var(--graphite);
}

.btn.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(62px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-intro.compact {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-intro p:not(.eyebrow),
.split-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.platform {
  background: var(--soft);
}

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

.platform-card,
.solution-card {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(20, 35, 45, 0.06);
}

.platform-card h3,
.solution-card h3,
.tab-panel h3 {
  margin: 18px 0 10px;
  color: var(--graphite);
  font-size: 1.16rem;
}

.platform-card p,
.solution-card p,
.tab-panel p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.split-section.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.85fr);
  background: #fbfcfd;
}

.split-copy {
  max-width: 640px;
}

.split-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.08;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--graphite);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.solutions {
  background: var(--graphite);
  color: #fff;
}

.solutions .section-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

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

.solution-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.solution-card h3 {
  color: #fff;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-table div {
  padding: 18px;
  background: #fff;
}

.feature-table div + div {
  border-left: 1px solid var(--line);
}

.feature-table span,
.feature-table strong {
  display: block;
}

.feature-table span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.feature-table strong {
  margin-top: 4px;
  color: var(--teal);
}

.services {
  background: var(--soft);
}

.tabs {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #edf3f5;
}

.tab-btn {
  min-height: 58px;
  padding: 10px 12px;
  color: var(--graphite);
  background: transparent;
  border: 0;
  border-right: 1px solid #d8e2e7;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.tab-btn:last-child {
  border-right: 0;
}

.tab-btn.active {
  color: #fff;
  background: var(--teal);
}

.tab-panel {
  display: none;
  padding: clamp(24px, 4vw, 44px);
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  margin-top: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 5vw, 56px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue) 54%, var(--green));
}

.cta-band .eyebrow {
  color: #ffe2a9;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  margin-top: 24px;
}

.contact-details a {
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid #ced9df;
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(217, 144, 47, 0.36);
  outline-offset: 2px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #172229;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    color: currentColor;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .main-nav a:last-child {
    border-bottom: 0;
  }

  .metrics-strip,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .split-section.reverse,
  .contact {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .image-panel {
    order: 2;
  }

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

@media (max-width: 680px) {
  .brand span:last-child {
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 96px 20px 46px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 18, 24, 0.86), rgba(10, 18, 24, 0.52));
  }

  .hero-actions,
  .cta-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics-strip,
  .platform-grid,
  .solution-grid,
  .feature-table,
  .tab-list {
    grid-template-columns: 1fr;
  }

  .feature-table div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .tab-btn {
    border-right: 0;
    border-bottom: 1px solid #d8e2e7;
  }

  .tab-btn:last-child {
    border-bottom: 0;
  }
}
