:root {
  --ink: #18212b;
  --muted: #5f6b76;
  --line: #dfe6ec;
  --surface: #ffffff;
  --soft: #f5f8fa;
  --deep: #12343f;
  --teal: #176c75;
  --green: #6f9d48;
  --gold: #d8a733;
  --shadow: 0 18px 50px rgba(24, 33, 43, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 230, 236, 0.7);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  box-shadow: 0 10px 32px rgba(18, 52, 63, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--deep);
  white-space: nowrap;
}

.brand img {
  width: 230px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--deep);
  background: var(--soft);
}

.site-nav .language-link {
  color: var(--teal);
  border: 1px solid var(--line);
  background: #fff;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(36px, 6vw, 84px) clamp(18px, 4vw, 56px);
  background: linear-gradient(110deg, #f7faf9 0%, #ffffff 52%, #eef5f2 100%);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-content,
.page-hero > div {
  max-width: 690px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.65rem);
  line-height: 1.14;
}

.hero-content h1.hero-title-compact {
  font-size: clamp(1.4rem, 2.35vw, 2.25rem);
  line-height: 1.18;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-content p,
.page-hero p,
.section-heading p,
.prose p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--deep);
}

.button.secondary {
  color: var(--deep);
  background: #fff;
  border-color: var(--line);
}

.button.small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.92rem;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section.compact {
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--deep);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.stats-grid article {
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.stats-grid strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.45rem;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

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

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

.feature-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(24, 33, 43, 0.07);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
}

.feature-card h3,
.feature-card p {
  padding: 0 20px;
}

.feature-card h3 {
  margin-top: 20px;
}

.feature-card p {
  color: var(--muted);
  padding-bottom: 22px;
}

.values-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--deep);
  color: #fff;
}

.values-band article {
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.04);
}

.values-band span {
  display: block;
  margin-bottom: 12px;
  color: #b7e0df;
  font-weight: 800;
  text-transform: uppercase;
}

.values-band p {
  max-width: 760px;
  margin: 0;
  font-size: 1.18rem;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--soft);
}

.cta h2 {
  margin-bottom: 0;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(18px, 4vw, 56px);
  background: var(--soft);
}

.integration-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  padding-top: clamp(38px, 5vw, 58px);
  padding-bottom: clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.integration-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.integration-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.products-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.product-index {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-index a {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.product-index a:hover {
  color: var(--deep);
  background: var(--soft);
}

.product-list {
  display: grid;
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 33, 43, 0.06);
}

.product-card.featured {
  border-color: rgba(23, 108, 117, 0.32);
  background: linear-gradient(135deg, #ffffff 0%, #f3faf9 100%);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  background: #fff;
  border-radius: var(--radius);
}

.product-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.slider-track {
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3;
  transition: transform 260ms ease;
}

.slider-track figure {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
}

.slider-track img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}

.slider-track figure.slide-align-right img {
  object-position: right center;
}

.slider-track figcaption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  max-width: calc(100% - 48px);
  transform: translateX(-50%);
  padding: 0 14px;
  color: rgba(0, 0, 0, 0.68);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.slider-track figcaption.split-caption {
  left: 0;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 48px);
  transform: none;
  padding: 0 24px;
  text-align: left;
}

.split-caption span:last-child {
  margin-left: 0;
  text-align: left;
}

.slider-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(223, 230, 236, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(24, 33, 43, 0.12);
}

.slider-controls button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #a9b5be;
  cursor: pointer;
}

.slider-controls button.active {
  background: var(--teal);
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: var(--deep);
  background: #e9f3ef;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-copy ul,
.check-list {
  padding-left: 20px;
  color: var(--muted);
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

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

.contact-panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 33, 43, 0.06);
}

.contact-panel.muted {
  background: var(--soft);
  box-shadow: none;
}

.contact-form-section {
  padding-top: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 960px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-heading,
.contact-form .full {
  grid-column: 1 / -1;
}

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

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

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep);
}

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

.site-footer .copyright {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.video-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-dialog.open {
  display: flex;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 24, 0.76);
}

.video-panel {
  position: relative;
  width: min(980px, 94vw);
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
}

.video-panel video {
  width: 100%;
  max-height: 78vh;
  background: #000;
  border-radius: 6px;
}

.video-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  font-weight: 800;
  cursor: pointer;
}

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

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

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

  .hero,
  .page-hero,
  .integration-band,
  .split,
  .products-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .feature-grid,
  .values-band,
  .contact-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-index {
    grid-template-columns: 1fr;
  }
}
