:root {
  --ink: #14202e;
  --muted: #607082;
  --line: #dce5ec;
  --paper: #f5f8fb;
  --white: #ffffff;
  --green: #11845d;
  --teal: #0f7784;
  --blue: #2556a4;
  --gold: #c98b20;
  --coral: #c95b46;
  --deep: #111b29;
  --shadow: 0 20px 54px rgba(20, 32, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f8fbfd;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(248, 251, 253, 0.92);
  border-bottom: 1px solid rgba(220, 229, 236, 0.86);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(37, 86, 164, 0.25);
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
  color: #314257;
  font-size: 14px;
  font-weight: 700;
}

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

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

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

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 29, 0.94), rgba(8, 17, 29, 0.62) 48%, rgba(8, 17, 29, 0.28)),
    linear-gradient(180deg, transparent 62%, rgba(8, 17, 29, 0.62));
}

.fresh-hero .hero-media::after {
  background:
    linear-gradient(90deg, rgba(8, 17, 29, 0.92), rgba(8, 17, 29, 0.58) 54%, rgba(8, 17, 29, 0.18)),
    linear-gradient(180deg, transparent 68%, rgba(8, 17, 29, 0.42));
}

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

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 760px) minmax(280px, 420px);
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto clamp(42px, 7vw, 86px);
}

.hero-content {
  color: white;
}

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

.hero .eyebrow {
  color: #8de6bf;
}

h1,
h2,
h3,
p,
li,
span {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions,
.filter-bar,
.project-tabs,
.assistant-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.button,
.filter,
.project-tab,
.mini-button,
.chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.chat-form button {
  color: white;
  background: var(--green);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero-console {
  padding: 20px;
  color: white;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.console-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.console-header span:nth-child(2) {
  background: var(--gold);
}

.console-header span:nth-child(3) {
  background: var(--green);
}

.console-header strong {
  margin-left: 8px;
}

.console-row {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-row b {
  color: #94e9c8;
  font-size: 12px;
  text-transform: uppercase;
}

.console-row span,
.console-status span {
  color: rgba(255, 255, 255, 0.82);
}

.console-status {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 16px;
}

.console-status i {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(17, 132, 93, 0.18);
}

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

.metrics div {
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 30px;
}

.metrics span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.center-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.center-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.centered {
  justify-content: center;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: 42px;
  background: var(--white);
}

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

.solution-map article {
  min-height: 188px;
  padding: 22px;
  background: #f1f6f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-map span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 800;
}

.solution-map p,
.industry-card p,
.industry-card li,
.service-card p,
.project-panel p,
.project-panel li,
.about-section p,
.assistant-copy p {
  color: var(--muted);
}

.industry-section {
  background: #eef4f8;
}

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

.industry-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(20, 32, 46, 0.07);
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0), rgba(17, 132, 93, 0.09));
  pointer-events: none;
}

.category-symbol {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 14px 34px rgba(17, 132, 93, 0.22);
}

.category-symbol.cloud {
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.category-symbol.pharma {
  background: linear-gradient(135deg, var(--green), var(--gold));
}

.category-symbol.enabled {
  background: linear-gradient(135deg, var(--coral), var(--blue));
}

.industry-card ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.filter {
  color: #334256;
  border-color: var(--line);
  background: var(--white);
}

.filter.active,
.project-tab.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

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

.calm-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.service-card {
  min-height: 250px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(20, 32, 46, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.feature-card {
  min-height: 360px;
  padding: 30px;
}

.feature-card p {
  font-size: 17px;
}

.feature-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 132, 93, 0.45);
}

.service-card.hidden {
  display: none;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  background: var(--teal);
  border-radius: 8px;
}

.service-card:nth-child(3n) .service-icon {
  background: var(--gold);
}

.service-card:nth-child(4n) .service-icon {
  background: var(--blue);
}

.service-card:nth-child(5n) .service-icon {
  background: var(--coral);
}

.project-section {
  background: #edf3f6;
}

.expertise-section {
  background: white;
}

.refined-map article {
  background: white;
  box-shadow: 0 8px 28px rgba(20, 32, 46, 0.05);
}

.quiet-tags span {
  background: white;
}

.project-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.project-tabs {
  flex-direction: column;
}

.project-tab {
  justify-content: flex-start;
  width: 100%;
  color: #334256;
  border-color: var(--line);
  background: var(--white);
}

.project-panel {
  min-height: 292px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(17, 132, 93, 0.08), transparent 45%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.assistant-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--deep);
  color: white;
}

.assistant-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.assistant-highlights span {
  padding: 10px 12px;
  color: #dff7ee;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-weight: 800;
}

.chatbot {
  overflow: hidden;
  background: #f9fbfc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.chatbot-header strong,
.chatbot-header span {
  display: block;
}

.chatbot-header span {
  color: var(--muted);
  font-size: 13px;
}

.mini-button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--blue);
  border-color: var(--line);
  background: var(--paper);
}

.chat-log {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 400px;
  padding: 18px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(37, 86, 164, 0.05), rgba(17, 132, 93, 0.06)),
    #f8fbfd;
}

.chat-message {
  max-width: 86%;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(20, 32, 46, 0.06);
}

.chat-message.user {
  justify-self: end;
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.chat-message.bot strong {
  display: block;
  margin-bottom: 4px;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-replies button {
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: #334256;
  background: white;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.platform-section {
  background: var(--white);
}

.platform-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-marquee span {
  padding: 12px 16px;
  color: #243246;
  background: #f0f4f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.8fr);
  gap: 34px;
  background: #17212f;
  color: white;
}

.about-section p {
  color: rgba(255, 255, 255, 0.72);
}

.value-stack {
  display: grid;
  gap: 16px;
}

.value-stack article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.contact-section {
  background: var(--paper);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2e3e52;
  font-weight: 800;
}

.contact-form label:nth-child(4),
.contact-form .button,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
}

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

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

.site-footer strong {
  color: white;
}

@media (max-width: 1100px) {
  .service-grid,
  .industry-grid,
  .solution-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .intro,
  .project-shell,
  .assistant-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .project-tabs {
    flex-direction: row;
  }

  .project-tab {
    width: auto;
  }

  .hero-console {
    max-width: 560px;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 760px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(8, 17, 29, 0.44), rgba(8, 17, 29, 0.94));
  }

  h1 {
    font-size: 40px;
  }

  .metrics,
  .service-grid,
  .calm-grid,
  .industry-grid,
  .solution-map,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .chat-form {
    grid-template-columns: 1fr;
  }
}

/* ── Logo overrides ── */
.brand-logo {
  display: block;
  height: 88px;
  width: auto;
  object-fit: contain;
  /* Compensate for whitespace padding inside the PNG */
  margin: -16px -12px;
}

.brand {
  min-width: auto;
  gap: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  /* white-ish tint so it shows on dark footer */
  filter: brightness(0) invert(1) opacity(0.85);
}
