:root {
  --brand-blue: #00447c;
  --brand-cyan: #13b5ea;
  --ink: #10202f;
  --muted: #5a6977;
  --line: #dce5eb;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --steel: #6f7780;
  --signal: #c8322a;
  --shadow: 0 18px 45px rgba(16, 32, 47, 0.16);
  --radius: 8px;
  --container: 1180px;
  --font-sans: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

h1,
h2,
h3,
.button {
  overflow-wrap: break-word;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--surface);
  color: var(--brand-blue);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(0, 68, 124, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(14px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgb(35 101 160 / 96%);
  box-shadow: 0 12px 28px rgba(16, 32, 47, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 142px;
}

.brand img {
  width: 136px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-cyan);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  color: #fff;
}

.site-nav .nav-cta::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.language-select {
  height: 40px;
  min-width: 78px;
  padding: 0 30px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

.language-select:focus-visible {
  outline: 3px solid rgba(19, 181, 234, 0.52);
  outline-offset: 2px;
}

.language-select option {
  background: #fff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  pointer-events: none;
}

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

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background: #0c3559;
}

.hero-context-slide,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-context-slide {
  z-index: 1;
  background-image: var(--hero-context-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.35s ease, transform 7.5s ease;
}

.hero-context-slide.is-active {
  opacity: 1;
  transform: scale(1.025);
}

.hero-context-slide.motion-left.is-active {
  transform: scale(1.035) translate3d(-1.6%, 0, 0);
}

.hero-context-slide.motion-right.is-active {
  transform: scale(1.035) translate3d(1.6%, 0, 0);
}

.hero-context-slide.motion-up.is-active {
  transform: scale(1.04) translate3d(0, -1.3%, 0);
}

.hero-context-slide.motion-down.is-active {
  transform: scale(1.04) translate3d(0, 1.3%, 0);
}

.hero-fallback {
  z-index: 0;
  transition: opacity 0.7s ease;
}

.hero-media.is-animated .hero-fallback {
  opacity: 0;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 35, 65, 0.86) 0%, rgba(0, 68, 124, 0.56) 46%, rgba(16, 32, 47, 0.24) 100%),
    linear-gradient(180deg, rgba(16, 32, 47, 0.12), rgba(16, 32, 47, 0.24));
}

.hero-content {
  width: min(var(--container), calc(100% - 40px));
  margin: 76px auto 0;
  padding: clamp(56px, 8vw, 94px) 0 clamp(44px, 7vw, 74px);
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--brand-cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 650;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  background: var(--brand-cyan);
  color: #062c45;
}

.button-primary:hover {
  background: #46c9f2;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
}

.button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

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

.proof-item {
  min-height: 132px;
  padding: 28px clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.98rem;
}

.section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 112px) 0;
}

.section-intro,
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}

.section-copy h2,
.section-heading h2,
.cta-band h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.cta-band p,
.product-family p {
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-visual,
.about-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-alt {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--container)) / 2));
  padding-right: max(20px, calc((100vw - var(--container)) / 2));
  background: var(--surface-soft);
}

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

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

.solution-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.solution-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.solution-panel div {
  padding: 24px;
}

.solution-panel h3,
.product-card h3,
.process-list h3 {
  margin-bottom: 10px;
  color: var(--brand-blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.solution-panel p,
.product-card p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 6vw, 74px);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-blue);
  font-weight: 700;
}

.dashboard-stack {
  position: relative;
  min-height: 455px;
}

.dash {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.dash-main {
  inset: 0 12% 17% 0;
  width: 88%;
  height: 83%;
}

.dash-support {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 46%;
  border: 8px solid #fff;
}

.process-band {
  padding: clamp(70px, 9vw, 104px) max(20px, calc((100vw - var(--container)) / 2));
  background: #173e61;
  color: #fff;
}

.process-heading h2,
.process-heading p {
  color: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.process-list li {
  min-height: 236px;
  padding: 28px;
  background: #173e61;
}

.process-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--brand-cyan);
  font-weight: 700;
}

.process-list h3 {
  color: #fff;
}

.process-list p {
  color: rgba(255, 255, 255, 0.78);
}

.product-block {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.product-block + .product-block {
  margin-top: 48px;
}

.technical-products {
  margin-top: 56px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

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

.technical-products-heading h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
}

.technical-products-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.06rem;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.technical-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.technical-media {
  display: grid;
  min-height: 250px;
  padding: 16px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.technical-media img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}

.technical-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-type {
  margin-bottom: 8px;
  color: var(--brand-cyan);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.technical-card h4 {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: 1.55rem;
  line-height: 1.08;
}

.technical-card p {
  color: var(--muted);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.spec-list div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.2;
}

.technical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.technical-tags span {
  padding: 7px 9px;
  border: 1px solid rgba(0, 68, 124, 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 750;
}

.technical-link {
  align-self: flex-start;
  margin-top: 18px;
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(0, 68, 124, 0.28);
  text-underline-offset: 4px;
}

.technical-link:hover {
  color: #0076b6;
  text-decoration-color: currentColor;
}

.registration-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 32px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.registration-copy h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.registration-copy p:not(.section-kicker),
.form-note {
  color: var(--muted);
}

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

.registration-form label {
  display: grid;
  gap: 7px;
  color: var(--brand-blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  border: 1px solid #c8d5df;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.registration-form input,
.registration-form select {
  min-height: 44px;
  padding: 9px 11px;
}

.registration-form textarea {
  min-height: 108px;
  padding: 11px;
  resize: vertical;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  border-color: var(--brand-cyan);
  outline: 3px solid rgba(19, 181, 234, 0.22);
}

.registration-form-wide {
  grid-column: 1 / -1;
}

.privacy-field {
  display: flex !important;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 650 !important;
}

.privacy-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.registration-form .button {
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: -2px 0 0;
  font-size: 0.9rem;
}

.product-family {
  position: sticky;
  top: 100px;
}

.product-family img {
  width: min(100%, 260px);
  margin-bottom: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-card img {
  width: 100%;
  height: 190px;
  margin-bottom: 18px;
  object-fit: contain;
}

.software-block .product-card img {
  object-fit: contain;
  object-position: center;
  background: var(--surface-soft);
}

.software-block {
  margin-top: 56px;
}

.client-software {
  margin-top: 56px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

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

.client-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.client-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.client-card div {
  padding: 22px;
}

.client-card h4 {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: 1.35rem;
}

.client-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-band {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 0;
}

.gallery-band img {
  width: 100%;
  height: clamp(240px, 32vw, 430px);
  object-fit: cover;
}

.about-section {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.about-media {
  background: var(--surface-soft);
  box-shadow: none;
  border: 1px solid var(--line);
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 34px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(58px, 8vw, 92px) max(20px, calc((100vw - var(--container)) / 2));
  background:
    linear-gradient(90deg, rgba(0, 68, 124, 0.94), rgba(19, 181, 234, 0.74)),
    url("../photos/pharmacy-logistics.jpg") center / cover;
  color: #fff;
}

.cta-band h2,
.cta-band p,
.cta-band .section-kicker {
  color: #fff;
}

.cta-band p {
  max-width: 710px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 26px;
  align-items: start;
  padding: 44px max(20px, calc((100vw - var(--container)) / 2));
  background: #10202f;
  color: rgba(255, 255, 255, 0.74);
}

.footer-brand img {
  width: 132px;
  margin-bottom: 14px;
}

.footer-brand p,
.site-footer address {
  margin: 0;
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-links a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 4px;
}

@media (max-width: 1020px) {
  .proof-strip,
  .solution-grid,
  .process-list,
  .product-grid,
  .technical-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-intro,
  .platform-layout,
  .about-section,
  .product-block,
  .registration-panel,
  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .about-section .about-media {
    order: 2;
  }

  .product-family {
    position: static;
  }

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

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

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand img {
    width: 118px;
  }

  .header-actions {
    margin-left: auto;
    gap: 9px;
  }

  .language-select {
    min-width: 70px;
    height: 38px;
    padding-left: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(0, 45, 84, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(calc(-100% - 72px));
    transition: transform 0.22s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: min(100% - 32px, var(--container));
    margin-top: 68px;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.6rem);
  }

  .proof-strip,
  .solution-grid,
  .process-list,
  .product-grid,
  .technical-grid,
  .client-grid,
  .gallery-band {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-stack {
    min-height: 360px;
  }

  .dash-main {
    inset: 0 0 22% 0;
    width: 100%;
    height: 78%;
  }

  .dash-support {
    width: 70%;
  }

  .section {
    width: min(100% - 32px, var(--container));
  }

  .section-alt,
  .process-band,
  .cta-band,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-card img {
    height: 220px;
  }

  .technical-media img {
    height: 230px;
  }

  .registration-panel {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-copy h2,
  .section-heading h2,
  .cta-band h2 {
    font-size: clamp(1.85rem, 11vw, 3rem);
  }

  .dashboard-stack {
    min-height: 300px;
  }

  .dash-support {
    width: 78%;
    border-width: 5px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
