/* ==========================================================================
   Vietmap Environment Ghost Theme - Modern Eco-Tech Design System
   Powered by ui-ux-pro-max principles
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-brand-deep: #042f22;
  --color-primary: #059669;
  --color-primary-hover: #047857;
  --color-accent: #10b981;
  --color-accent-light: #d1fae5;
  --color-accent-lime: #84cc16;
  --color-accent-lime-light: #ecfccb;
  --color-accent-blue: #0284c7;

  /* Surfaces & Backgrounds */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-soft: #f1f5f9;
  --color-surface-tint: #ecfdf5;
  --color-surface-dark: #0f172a;
  --color-surface-dark-card: #1e293b;
  --color-surface-dark-hover: #334155;

  /* Typography Colors */
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-subtle: #64748b;
  --color-text-light: #ffffff;
  --color-text-dim: #94a3b8;
  --color-text-emerald: #059669;

  /* Borders & Dividers */
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --color-border-dark: #334155;
  --color-border-emerald: #a7f3d0;

  /* Shadows & Glows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(5, 150, 105, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(4, 47, 34, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 24px rgba(16, 185, 129, 0.3);

  /* Radius Scales */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography Families */
  --font-heading: var(--gh-font-heading, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  --font-body: var(--gh-font-body, 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif);
}

/* Base Reset & Globals */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility & Utility */
.skip-link {
  position: absolute;
  top: -999px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
}

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(800px, calc(100% - 40px));
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw + 1rem, 3.75rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.eyebrow--light {
  color: var(--color-accent-lime);
}

.eyebrow--badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.eyebrow--badge-light {
  background: rgba(132, 204, 22, 0.15);
  color: var(--color-accent-lime);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(132, 204, 22, 0.3);
}

/* Buttons & Interactive Components */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: all var(--transition-base);
  text-decoration: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

.button:active {
  transform: translateY(0);
}

.button--accent {
  background: linear-gradient(135deg, var(--color-accent-lime) 0%, #65a30d 100%);
  color: var(--color-brand-deep);
  box-shadow: 0 4px 14px rgba(132, 204, 22, 0.3);
}

.button--accent:hover {
  box-shadow: 0 8px 22px rgba(132, 204, 22, 0.45);
  color: var(--color-brand-deep);
}

.button--small {
  padding: 9px 18px;
  font-size: 0.84375rem;
}

.button--outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.button--outline:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-hover);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
}

.text-link svg {
  transition: transform var(--transition-fast);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link--light {
  color: #ffffff;
}

.text-link--light:hover {
  color: var(--color-accent-lime);
}

/* Icon Styling Utilities */
.icon-svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Top Header Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.site-header__bar {
  background: var(--color-brand-deep);
  color: #e2e8f0;
  font-size: 0.78125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.header-bar__info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6ee7b7;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.header-bar__contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-bar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.header-bar__contact a:hover {
  color: var(--color-accent-lime);
}

/* Main Site Header Navigation */
.site-header__main {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  flex: 0 0 auto;
  overflow: hidden;
  contain: paint;
}

.brand .brand__logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: none;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand.brand--footer .brand__logo {
  width: auto;
  height: 81px;
  max-height: 81px;
  margin-left: -24px;
}

.brand img {
  width: auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-brand-deep) 100%);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--color-brand-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand__text small {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
}

.site-nav>a:not(.button) {
  position: relative;
  padding: 6px 0;
  color: var(--color-text-main);
}

.site-nav>a:not(.button)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.site-nav>a:not(.button):hover {
  color: var(--color-primary);
}

.site-nav>a:not(.button):hover::after {
  width: 100%;
}

.site-nav>a.is-active {
  color: var(--color-primary);
  font-weight: 700;
}

.site-nav>a.is-active::after {
  width: 100%;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color var(--transition-fast);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #0d5c3f 0%, var(--color-brand-deep) 60%, #021f16 100%);
  color: #ffffff;
  padding: 110px 0 90px;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(132, 204, 22, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero h1 {
  color: #ffffff;
  margin: 16px 0 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #a7f3d0 0%, var(--color-accent-lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-item strong {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--color-accent-lime);
  line-height: 1;
}

.metric-item span {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Standard Section Layouts */
.section {
  padding: 100px 0;
}

.section--tint {
  background-color: var(--color-surface-soft);
}

.section--dark {
  background-color: var(--color-surface-dark);
  color: #ffffff;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-heading div {
  max-width: 650px;
}

.section-heading h2 {
  margin-top: 6px;
}

.section--dark h2 {
  color: #ffffff;
}

/* Solutions Grid Section */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-emerald);
}

.solution-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.solution-card__number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-surface-tint);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.solution-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--color-surface-soft);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.solution-card:hover .solution-card__icon {
  background: var(--color-primary);
  color: #ffffff;
}

.solution-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.solution-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  line-height: 1.6;
}

.solution-card__action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.solution-card__action svg {
  transition: transform var(--transition-fast);
}

.solution-card:hover .solution-card__action svg {
  transform: translateX(6px);
}

/* Product & Article Grid Layouts */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* Featured Project Spotlight Section */
.project-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 60px;
}

.project-feature__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-feature__info p:not(.eyebrow) {
  color: #94a3b8;
  font-size: 1.0625rem;
  margin: 0;
  line-height: 1.65;
}

.project-feature__card {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--color-border-dark);
  background: var(--color-surface-dark-card);
}

.project-feature__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-feature__card:hover img {
  transform: scale(1.05);
}

.project-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  z-index: 2;
}

.project-feature__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-lime);
  background: rgba(132, 204, 22, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.project-feature__card h3 {
  color: #ffffff;
  font-size: 1.625rem;
  margin-bottom: 12px;
}

.project-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

/* Article Call To Action */
.article-cta {
  padding: 0 0 96px;
}

.article-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 20%, rgba(132, 204, 22, .18), transparent 34%),
    linear-gradient(135deg, #075c42 0%, var(--color-brand-deep) 78%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(12px);
}

.article-cta__content h2 {
  color: #ffffff;
  margin-top: 8px;
}

.article-cta__content .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Archive Page Sub-Hero */
.page-hero {
  background-image:
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.28) 0%, transparent 38%),
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #021f16 0%, #063d2a 58%, #042f22 100%);
  background-position: center;
  background-size: auto, 40px 40px, 40px 40px, auto;
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.22);
}

.page-hero > .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hero h1 {
  color: #ffffff;
  margin-top: 8px;
}

.page-hero p:not(.eyebrow) {
  font-size: 1.125rem;
  color: #d1fae5;
  max-width: 640px;
  margin: 12px auto 0;
}

.page-hero .eyebrow--badge {
  background: rgba(167, 243, 208, 0.14);
  border-color: rgba(167, 243, 208, 0.32);
  color: #d9f99d;
}

/* Contact Page */
.contact-overview {
  padding-bottom: 72px;
}

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

.contact-method {
  display: flex;
  gap: 16px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-method:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 150, 105, .35);
  box-shadow: var(--shadow-md);
}

.contact-method__icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--color-primary);
  background: var(--color-accent-light);
}

.contact-method__icon .icon-svg {
  width: 21px;
  height: 21px;
}

.contact-method small,
.contact-method strong,
.contact-method em {
  display: block;
}

.contact-method small {
  margin-bottom: 5px;
  color: var(--color-text-subtle);
  font-size: .75rem;
  font-weight: 700;
}

.contact-method strong {
  color: var(--color-brand-deep);
  font-family: var(--font-heading);
  font-size: .98rem;
}

.contact-method em {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: .8rem;
  font-style: normal;
  line-height: 1.5;
}

.contact-request {
  padding: 88px 0;
}

.contact-request__grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 80px;
  align-items: start;
}

.contact-request__copy h2 {
  margin-top: 10px;
}

.contact-request__copy > p {
  max-width: 500px;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.contact-offices {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-offices div {
  padding: 14px 0 14px 16px;
  border-left: 3px solid var(--color-accent-lime);
}

.contact-offices strong,
.contact-offices span {
  display: block;
}

.contact-offices strong {
  color: var(--color-brand-deep);
  font-family: var(--font-heading);
  font-size: .85rem;
}

.contact-offices span {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: .86rem;
  line-height: 1.5;
}

.catalog-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Archive Pagination */
.site-pagination {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.site-pagination__inner {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 20px;
}

.site-pagination__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: fit-content;
  padding: 11px 18px;
  border: 1px solid var(--color-border-emerald);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.site-pagination__control--next {
  justify-self: end;
}

.site-pagination__control:not(.is-disabled):hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.site-pagination__control.is-disabled {
  border-color: var(--color-border);
  color: var(--color-text-subtle);
  box-shadow: none;
  cursor: not-allowed;
  opacity: .58;
}

.site-pagination__status {
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface-tint);
  color: var(--color-text-muted);
  font-size: .8125rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.site-pagination__status strong {
  color: var(--color-primary-hover);
  font-family: var(--font-heading);
}

/* Post / Article Details Layout */
.article {
  padding-top: 60px;
}

.article__header {
  margin-bottom: 40px;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.article__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.article__labels span {
  background: var(--color-accent-light);
  color: var(--color-primary-hover);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.article h1 {
  margin-bottom: 20px;
  color: var(--color-brand-deep);
}

.article__excerpt {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 500;
}

.article__meta {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.article__feature {
  margin: 40px auto;
}

.article__feature img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.article__feature figcaption {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  text-align: center;
  margin-top: 10px;
}

.article__content,
.page-content {
  padding: 40px 0 90px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-main);
}

.article__content p,
.page-content p {
  margin-bottom: 24px;
}

.article__content h2,
.article__content h3,
.page-content h2,
.page-content h3 {
  margin: 48px 0 20px;
  color: var(--color-brand-deep);
}

.article__content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--color-surface-tint);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-brand-deep);
}

.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.9375rem;
}

.kg-width-wide {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article__content th,
.article__content td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.article__content th {
  background: var(--color-surface-soft);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brand-deep);
}

/* Site Footer */
.site-footer {
  background: #021a12;
  color: #94a3b8;
  padding: 80px 0 0;
  font-size: 0.875rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 48px;
}

.site-footer p {
  line-height: 1.6;
  margin: 16px 0;
}

.site-footer h3 {
  font-size: 0.9375rem;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  color: #cbd5e1;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.site-footer a:not(.brand):hover {
  color: var(--color-accent-lime);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-top: 60px;
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .project-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-cta__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
  }
}

@media (max-width: 800px) {
  .site-header__bar {
    display: none;
  }

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

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

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

  .site-nav>a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-nav>.button {
    justify-content: center;
  }

  .site-nav>a:not(.button)::after {
    display: none;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }

  .solution-grid,
  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {

  .wrap,
  .wrap--narrow {
    width: calc(100% - 32px);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button,
  .hero__actions .text-link {
    justify-content: center;
  }

  .site-header__main .brand__logo {
    width: auto;
    height: 48px;
    max-height: 48px;
  }
}

/* ==========================================================================
   Single-page homepage
   ========================================================================== */

html {
  scroll-padding-top: 84px;
}

.home-template .site-header {
  position: fixed;
  width: 100%;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.home-template .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.home-template .site-header:not(.is-scrolled) .site-header__bar {
  background: transparent;
  border-bottom-color: transparent;
}

.home-template .site-header__main {
  transition: min-height var(--transition-base), background-color var(--transition-base);
}

.home-template .site-header:not(.is-scrolled) .brand__text strong,
.home-template .site-header:not(.is-scrolled) .site-nav>a:not(.button) {
  color: #ffffff;
}

.home-template .site-header:not(.is-scrolled) .brand__text small {
  color: #bef264;
}

.home-template .site-header:not(.is-scrolled) .menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.home-template .site-header:not(.is-scrolled) .menu-toggle span {
  background: #ffffff;
}

.home-template .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-border);
}

.home-template .site-header.is-scrolled .site-header__bar {
  display: none;
}

.home-template .site-header.is-scrolled .site-header__main {
  min-height: 68px;
}

.home-page .section {
  overflow: hidden;
}

.section-heading--center {
  max-width: 780px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading--center p,
.section-heading--split>p {
  color: var(--color-text-muted);
  margin: 16px 0 0;
  font-size: 1.0625rem;
}

.section-heading--split>p {
  max-width: 450px;
}

.section--dark .section-heading--split>p {
  color: #94a3b8;
}

/* Hero */
.home-page .hero {
  min-height: 820px;
  padding: 210px 0 64px;
  background:
    radial-gradient(circle at 75% 22%, rgba(5, 150, 105, 0.38), transparent 34%),
    linear-gradient(135deg, #021f16 0%, #063d2a 56%, #052e23 100%);
  background-color: #021f16;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .85fr);
  grid-template-areas:
    "content parameters"
    "visual visual";
  align-items: center;
  gap: 48px clamp(42px, 5vw, 72px);
}

.home-page .hero__content {
  grid-area: content;
  max-width: 840px;
}

.home-page .hero h1 {
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
  line-height: 1.06;
  margin: 18px 0 20px;
}

.home-page .hero h1 em {
  display: inline;
}

.hero__lead {
  color: #d9f99d;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.8vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 14px;
}

.home-page .hero__description {
  max-width: 650px;
  margin: 0 0 32px;
  font-size: 1.0625rem;
}

.hero-parameters {
  grid-area: parameters;
  position: relative;
  width: 100%;
  min-height: 530px;
  isolation: isolate;
  pointer-events: none;
}

.hero-parameters::before,
.hero-parameters::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-parameters::before {
  inset: 8% 3%;
  z-index: -2;
  opacity: .4;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .16) 0 2px, transparent 3px),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, .1) 0 1px, transparent 1px 74px);
  mask-image: radial-gradient(circle, #000 0 56%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle, #000 0 56%, transparent 78%);
}

.hero-parameters::after {
  inset: 19% 14%;
  z-index: -1;
  border: 1px dashed rgba(255, 255, 255, .14);
  animation: hero-parameter-orbit 34s linear infinite;
}

.hero-parameter {
  --parameter-bg: rgba(236, 253, 245, .96);
  --parameter-color: #065f46;
  --drift-x: 18px;
  --drift-x-negative: -13px;
  --drift-y: 14px;
  --drift-y-negative: -11px;
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: var(--parameter-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    0 12px 28px rgba(0, 24, 17, .18);
  color: var(--parameter-color);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
  will-change: transform;
  animation: hero-parameter-drift var(--drift-duration, 13s) cubic-bezier(.45, .05, .55, .95) var(--drift-delay, 0s) infinite alternate;
}

.hero-parameter sub,
.hero-parameter sup {
  position: relative;
  font-size: .56em;
  line-height: 0;
}

.hero-parameter sub {
  bottom: -.18em;
}

.hero-parameter sup {
  top: -.45em;
}

.hero-parameter--ph {
  --parameter-bg: rgba(217, 249, 157, .96);
  --parameter-color: #365314;
  top: 8%;
  left: 13%;
  width: 92px;
  height: 92px;
  font-size: 1.55rem;
  --drift-duration: 12.5s;
  --drift-delay: -4s;
  --drift-x: 22px;
  --drift-y-negative: -16px;
}

.hero-parameter--temp {
  --parameter-bg: rgba(254, 243, 199, .97);
  --parameter-color: #92400e;
  top: 3%;
  right: 2%;
  width: 112px;
  height: 58px;
  border-radius: 999px;
  --drift-duration: 15.5s;
  --drift-delay: -9s;
  --drift-x-negative: -18px;
  --drift-y: 17px;
}

.hero-parameter--cod {
  --parameter-bg: rgba(167, 243, 208, .97);
  --parameter-color: #065f46;
  top: 27%;
  left: 42%;
  width: 108px;
  height: 108px;
  font-size: 1.5rem;
  --drift-duration: 14s;
  --drift-delay: -2s;
  --drift-x: 20px;
  --drift-x-negative: -17px;
  --drift-y: 18px;
}

.hero-parameter--tss {
  --parameter-bg: rgba(207, 250, 254, .96);
  --parameter-color: #155e75;
  top: 38%;
  left: 0;
  width: 74px;
  height: 74px;
  font-size: 1.05rem;
  --drift-duration: 11.5s;
  --drift-delay: -7s;
  --drift-y-negative: -15px;
}

.hero-parameter--so2 {
  --parameter-bg: rgba(219, 234, 254, .97);
  --parameter-color: #1e40af;
  top: 47%;
  right: 0;
  width: 88px;
  height: 88px;
  font-size: 1.35rem;
  --drift-duration: 16s;
  --drift-delay: -12s;
  --drift-x-negative: -20px;
}

.hero-parameter--nox {
  --parameter-bg: rgba(224, 231, 255, .97);
  --parameter-color: #3730a3;
  top: 65%;
  left: 14%;
  width: 96px;
  height: 96px;
  font-size: 1.4rem;
  --drift-duration: 13.5s;
  --drift-delay: -8s;
  --drift-x: 24px;
  --drift-y: 16px;
}

.hero-parameter--flow {
  --parameter-bg: rgba(204, 251, 241, .97);
  --parameter-color: #115e59;
  top: 72%;
  right: 13%;
  width: 116px;
  height: 62px;
  border-radius: 999px;
  --drift-duration: 17s;
  --drift-delay: -5s;
  --drift-x-negative: -22px;
  --drift-y-negative: -13px;
}

.hero-parameter--co {
  --parameter-bg: rgba(241, 245, 249, .96);
  --parameter-color: #334155;
  bottom: 0;
  left: 0;
  width: 68px;
  height: 68px;
  font-size: 1rem;
  --drift-duration: 12s;
  --drift-delay: -10s;
  --drift-y-negative: -16px;
}

.hero-parameter--do {
  --parameter-bg: rgba(224, 242, 254, .97);
  --parameter-color: #075985;
  right: 1%;
  bottom: 1%;
  width: 66px;
  height: 66px;
  font-size: .98rem;
  --drift-duration: 14.5s;
  --drift-delay: -6s;
  --drift-x-negative: -16px;
}

.hero-parameter--nh4 {
  --parameter-bg: rgba(237, 233, 254, .97);
  --parameter-color: #5b21b6;
  bottom: 0;
  left: 45%;
  width: 76px;
  height: 76px;
  font-size: 1.02rem;
  --drift-duration: 15s;
  --drift-delay: -1s;
  --drift-y-negative: -18px;
}

@keyframes hero-parameter-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  38% {
    transform: translate3d(var(--drift-x), var(--drift-y-negative), 0);
  }

  72% {
    transform: translate3d(var(--drift-x-negative), var(--drift-y), 0);
  }

  100% {
    transform: translate3d(8px, 5px, 0);
  }
}

@keyframes hero-parameter-orbit {
  to {
    transform: rotate(360deg);
  }
}

.button--hero-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.button--hero-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-visual {
  grid-area: visual;
  position: relative;
  min-height: 0;
  border-radius: 0;
  padding: clamp(12px, 1.8vw, 28px);
  border: 1px solid #4b5563;
  box-shadow: 0 36px 76px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #303a40 0%, #101719 44%, #263136 100%);
}

.hero-led-display::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-led-display__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding: 0 2px 12px;
  color: #d1fae5;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.hero-led-display__header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-led-display__header i {
  width: 8px;
  height: 8px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .16), 0 0 12px rgba(74, 222, 128, .76);
}

.hero-led-display__header small {
  color: #a3e635;
  font-size: inherit;
  white-space: nowrap;
}

.hero-led-display__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid #050908;
  background: #050908;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(163, 230, 53, .18);
}

.hero-led-display__brand {
  margin-top: 13px;
  color: #f3f4f6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(.7rem, 1vw, .95rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  text-align: center;
  font-size: 20pt;
}

.hero-visual__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.hero-visual__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 31, 22, 0.08), rgba(2, 31, 22, 0.72));
}

.hero-dashboard {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 28px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(3, 30, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  color: #ffffff;
  opacity: 100%;
}

.hero-dashboard__head,
.hero-dashboard__stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.hero-dashboard__head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.hero-dashboard__head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84cc16;
  box-shadow: 0 0 0 5px rgba(132, 204, 22, .14);
}

.hero-dashboard__head small {
  color: #a7f3d0;
  letter-spacing: .08em;
}

.hero-dashboard__chart {
  height: 118px;
  margin: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: repeating-linear-gradient(to bottom, transparent 0 38px, rgba(255, 255, 255, .055) 39px);
}

.hero-dashboard__chart svg {
  width: 100%;
  height: 100%;
}

.hero-dashboard__area {
  fill: url(#heroChartFill);
}

.hero-dashboard__line {
  fill: none;
  stroke: #bef264;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.hero-dashboard__stats span {
  display: flex;
  flex-direction: column;
  color: #94a3b8;
  font-size: .72rem;
}

.hero-dashboard__stats b {
  color: #ffffff;
  font-size: .875rem;
}

.home-page .hero__metrics {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding-top: 30px;
  gap: 24px;
}

.home-page .metric-item {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.home-page .metric-item strong {
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
}

/* Introduction */
.home-intro__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.home-intro__copy {
  padding-top: 4px;
}

.home-intro__copy p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin: 0 0 20px;
}

.home-intro__copy .text-link {
  margin-top: 8px;
}

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

.home-solution-card {
  --card-accent: #059669;
  --card-tint: #eafaf2;
  --card-pattern: rgba(5, 150, 105, .12);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 45%, var(--card-tint) 140%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.home-solution-card::before,
.home-solution-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.home-solution-card>* {
  position: relative;
  z-index: 1;
}

.home-solution-card::before {
  width: 220px;
  height: 220px;
  right: -112px;
  bottom: -118px;
  border: 1px solid var(--card-pattern);
  border-radius: 50%;
  box-shadow: 0 0 0 80px color-mix(in srgb, var(--card-pattern) 60%, transparent), 0 0 0 160px color-mix(in srgb, var(--card-pattern) 30%, transparent);
}

.home-solution-card::after {
  width: 150px;
  height: 150px;
  right: -28px;
  top: 92px;
  opacity: .55;
  background-image: radial-gradient(var(--card-pattern) 1.25px, transparent 1.25px);
  background-size: 13px 13px;
  transform: rotate(-12deg);
}

.home-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--card-accent) 38%, white);
}

.home-solution-card--wastewater {
  --card-accent: #0284c7;
  --card-tint: #eaf7ff;
  --card-pattern: rgba(2, 132, 199, .13);
}

.home-solution-card--surface {
  --card-accent: #0891b2;
  --card-tint: #e8fafb;
  --card-pattern: rgba(8, 145, 178, .13);
}

.home-solution-card--groundwater {
  --card-accent: #2563eb;
  --card-tint: #eef3ff;
  --card-pattern: rgba(37, 99, 235, .12);
}

.home-solution-card--air {
  --card-accent: #7c3aed;
  --card-tint: #f5efff;
  --card-pattern: rgba(124, 58, 237, .12);
}

.home-solution-card--wmis {
  --card-accent: #ca8a04;
  --card-tint: #fff8df;
  --card-pattern: rgba(202, 138, 4, .14);
}

.home-solution-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.home-solution-card__number {
  color: var(--card-accent);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
}

.home-solution-card__icon {
  width: 52px;
  height: 52px;
  padding: 10px;
  color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 9%, white);
  border-radius: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-solution-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.home-solution-card>p {
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.62;
  margin: 0 0 18px;
}

.home-solution-card__value {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.home-solution-card__value strong {
  display: block;
  color: var(--color-text-main);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
}

.home-solution-card>a {
  margin-top: auto;
  color: var(--card-accent);
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
}

.home-solution-card>a span {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.home-solution-card>a:hover span {
  transform: translateX(4px);
}

/* Delivery timeline */
.delivery {
  background: #ffffff;
}

.delivery-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  position: relative;
}

.delivery-timeline::before {
  content: "";
  position: absolute;
  left: 0%;
  right: 6%;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, #a7f3d0, #059669, #84cc16);
}

.delivery-timeline li {
  position: relative;
  padding-right: 20px;
}

.delivery-timeline li>span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.delivery-timeline h3 {
  font-size: .96rem;
  line-height: 1.4;
  margin-bottom: 9px;
}

.delivery-timeline p {
  color: var(--color-text-subtle);
  font-size: .8rem;
  line-height: 1.55;
  margin: 0;
}

/* Technology */
.technology {
  padding-bottom: 0;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 10%, rgba(16, 185, 129, .2), transparent 32%),
    #071c17;
}

.technology__grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 84px;
  align-items: start;
}

.technology h2,
.technology h3 {
  color: #ffffff;
}

.technology__intro {
  position: sticky;
  top: 120px;
}

.technology__intro>p {
  color: #aabbb6;
  font-size: 1.04rem;
}

.technology__intro blockquote {
  margin: 30px 0 0;
  padding: 22px 0 22px 24px;
  border-left: 3px solid #84cc16;
  color: #d9f99d;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.technology__capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.technology__capabilities article {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
}

.technology__capabilities article>span {
  color: #84cc16;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
}

.technology__capabilities h3 {
  font-size: 1rem;
  margin-bottom: 7px;
}

.technology__capabilities p {
  color: #94a3b8;
  font-size: .82rem;
  line-height: 1.55;
  margin: 0;
}

.technology__showcase {
  height: clamp(350px, 28vw, 640px);
  margin-top: clamp(42px, 5vw, 72px);
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -24px 56px rgba(0, 0, 0, .26);
}

.technology__showcase img {
  width: 100%;
  max-width: none;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 0;
  border-radius: inherit;
}

/* Proof */
.proof {
  background: var(--color-surface-soft);
}

.proof__layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(390px, 1.04fr);
  align-items: center;
  gap: clamp(34px, 7vw, 100px);
}

.proof__heading {
  margin-bottom: clamp(38px, 5vw, 64px);
}

.proof__numbers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: #d1d1d1;
  border: 1px solid #d1d1d1;
  border-radius: 18px;
  overflow: hidden;
}

.proof__numbers article {
  display: grid;
  grid-template-columns: minmax(82px, .42fr) 1fr;
  align-items: center;
  gap: 24px;
  padding: 21px 26px;
  background: #ffffff;
}

.proof__numbers strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  margin: 0;
}

.proof__numbers p {
  color: var(--color-text-muted);
  font-size: .88rem;
  margin: 0;
}

.proof__footprint {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.proof__footprint>div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.proof__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(5, 150, 105, .11);
}

.proof__footprint p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: .9rem;
}

.proof__map {
  position: relative;
  min-height: 680px;
  overflow: visible;
  isolation: isolate;
}

.proof__map::before {
  content: "";
  position: absolute;
  inset: 4% -8% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 239, 172, .45) 0, rgba(209, 250, 229, .38) 45%, transparent 70%);
}

.proof__map-visual {
  position: absolute;
  width: 817px;
  height: 680px;
  top: 0;
  left: 65%;
  transform: translateX(-50%);
}

.proof__map-visual>img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.proof__stations,
.proof__stations i {
  position: absolute;
}

.proof__stations {
  inset: 0;
}

.proof__stations i {
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #047857;
  box-shadow: 0 0 0 0 rgba(4, 120, 87, .68);
  animation: proof-station-pulse 2.8s ease-out infinite;
}

.proof__stations i:nth-child(2n) {
  animation-delay: .45s;
}

.proof__stations i:nth-child(3n) {
  animation-delay: .9s;
}

.proof__stations i:nth-child(5n) {
  animation-delay: 1.35s;
}

.proof__stations i:nth-child(1) {
  left: 27%;
  top: 13%;
}

.proof__stations i:nth-child(2) {
  left: 34%;
  top: 12%;
}

.proof__stations i:nth-child(3) {
  left: 39%;
  top: 15%;
}

.proof__stations i:nth-child(4) {
  left: 44%;
  top: 16.8%;
}

.proof__stations i:nth-child(5) {
  left: 33%;
  top: 19%;
}

.proof__stations i:nth-child(6) {
  left: 38%;
  top: 22%;
}

.proof__stations i:nth-child(7) {
  left: 34%;
  top: 29%;
}

.proof__stations i:nth-child(8) {
  left: 37%;
  top: 33%;
}

.proof__stations i:nth-child(9) {
  left: 36%;
  top: 36%;
}

.proof__stations i:nth-child(10) {
  left: 42%;
  top: 40%;
}

.proof__stations i:nth-child(11) {
  left: 45%;
  top: 45%;
}

.proof__stations i:nth-child(12) {
  left: 47%;
  top: 50%;
}

.proof__stations i:nth-child(13) {
  left: 47%;
  top: 55%;
}

.proof__stations i:nth-child(14) {
  left: 51%;
  top: 61%;
}

.proof__stations i:nth-child(15) {
  left: 49%;
  top: 66%;
}

.proof__stations i:nth-child(16) {
  left: 48%;
  top: 71%;
}

.proof__stations i:nth-child(17) {
  left: 52%;
  top: 74%;
}

.proof__stations i:nth-child(18) {
  left: 40%;
  top: 80%;
}

.proof__stations i:nth-child(19) {
  left: 34.8%;
  top: 84%;
}

.proof__stations i:nth-child(20) {
  left: 37%;
  top: 86%;
}

@keyframes proof-station-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(4, 120, 87, .62);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(4, 120, 87, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(4, 120, 87, 0);
  }
}

@media (max-width: 900px) {
  .hero-led-display {
    padding: 18px;
  }

  .hero-led-display__screen {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .hero-led-display {
    padding: 12px;
  }

  .hero-led-display__header {
    min-height: 28px;
    padding-bottom: 10px;
    font-size: .61rem;
    letter-spacing: .09em;
  }

  .hero-led-display__header i {
    width: 6px;
    height: 6px;
  }

  .hero-led-display__screen {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 767px) {
  .hero-led-display {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof__stations i {
    animation: none;
  }
}

.proof__map-label {
  position: absolute;
  right: -2%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid rgba(5, 150, 105, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #065f46;
  font-size: .74rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(6, 95, 70, .08);
  backdrop-filter: blur(8px);
}

.proof__map-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #047857;
  box-shadow: 0 0 0 4px rgba(4, 120, 87, .14);
}

/* Projects */
.home-projects {
  background: #071711;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
}

.project-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: 18px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, .1);
}

.project-card--spotlight {
  min-height: 510px;
}

.project-card img,
.project-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-card img {
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card__overlay {
  background: linear-gradient(180deg, transparent 25%, rgba(2, 20, 14, .92) 100%);
}

.project-card__content {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.project-card__content small {
  color: #bef264;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.project-card__content strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.3;
}

.project-card--spotlight .project-card__content {
  left: 34px;
  right: 34px;
  bottom: 30px;
}

.project-card--spotlight .project-card__content strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.project-card__content em {
  color: #ffffff;
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.project-pair p {
  color: #94a3b8;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  font-size: .85rem;
}

.project-pair strong {
  color: #ffffff;
}

/* Industries */
.industries {
  background: #ffffff;
}

.industries__grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 90px;
}

.industries__intro p {
  color: var(--color-text-muted);
}

.industries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-border);
}

.industries__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 10px 17px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-weight: 600;
  font-size: .9rem;
}

.industries__list li:nth-child(odd) {
  margin-right: 24px;
}

.industries__list span {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 800;
}

/* Partners */
.partners {
  background: var(--color-surface-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.partner-row span {
  min-height: 100px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: #52605c;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 800;
  text-align: center;
  filter: grayscale(1);
}

.partner-row span:last-child {
  border-right: 0;
  font-size: .78rem;
}

/* Hardware */
.hardware {
  color: #ffffff;
  background: linear-gradient(135deg, #064e3b, #022c22);
}

.hardware h2 {
  color: #ffffff;
}

.hardware__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.hardware__copy p {
  color: #b6c8c1;
  margin-bottom: 28px;
}

.hardware__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.hardware__list li {
  display: flex;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-weight: 600;
}

.hardware__list span {
  color: #bef264;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 800;
}

/* Commitments */
.commitments {
  background: #ffffff;
}

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

.commitment-grid article {
  padding: 34px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.commitment-grid span {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 800;
  margin-bottom: 34px;
}

.commitment-grid h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.commitment-grid p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: .9rem;
}

/* Consultation */
.consultation {
  padding: 100px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 15%, rgba(132, 204, 22, .13), transparent 33%),
    #061d16;
}

.consultation__grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 80px;
  align-items: start;
}

.consultation h2 {
  color: #ffffff;
}

.consultation__copy>p {
  color: #aebdb8;
  font-size: 1.02rem;
}

.consultation__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.consultation__contacts a {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

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

.consultation__contacts small {
  color: #94a3b8;
  font-size: .72rem;
  margin-bottom: 4px;
}

.consultation__contacts strong {
  color: #ffffff;
  font-size: .87rem;
}

.consultation-form {
  padding: 34px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-grid label>span {
  color: var(--color-text-main);
  font-size: .78rem;
  font-weight: 700;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--color-text-main);
  font: inherit;
  font-size: .9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .13);
}

.consultation-form .button {
  width: 100%;
}

.consultation-form__privacy {
  color: var(--color-text-subtle);
  text-align: center;
  font-size: .72rem;
  margin: 12px 0 0;
}

@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "parameters"
      "visual";
    gap: 40px;
  }

  .hero-parameters {
    width: min(100%, 650px);
    min-height: 430px;
    margin-inline: auto;
  }

  .hero-parameter--flow {
    right: 24%;
  }

  .hero-parameter--co,
  .hero-parameter--do,
  .hero-parameter--nh4 {
    display: none;
  }

  .home-solution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 0;
  }

  .delivery-timeline::before {
    display: none;
  }

  .technology__grid,
  .consultation__grid {
    gap: 50px;
  }

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

  .partner-row span:nth-child(3) {
    border-right: 0;
  }

  .partner-row span:nth-child(-n+3) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 900px) {
  .home-page .hero {
    padding-top: 180px;
  }

  .hero__layout,
  .home-intro__grid,
  .technology__grid,
  .industries__grid,
  .hardware__grid,
  .consultation__grid,
  .contact-request__grid,
  .project-showcase,
  .proof__layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-parameters {
    min-height: 390px;
  }

  .home-page .hero__metrics,
  .proof__numbers {
    grid-template-columns: 1fr 1fr;
  }

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

  .proof__map {
    min-height: min(680px, 96vw);
    max-width: 560px;
    margin: 0 auto;
  }

  .proof__map-visual {
    width: min(817px, 115vw);
    height: auto;
    aspect-ratio: 1071 / 891;
  }

  .home-intro__grid,
  .industries__grid,
  .hardware__grid,
  .consultation__grid,
  .contact-request__grid {
    gap: 42px;
  }

  .technology__intro {
    position: static;
  }

  .project-card--spotlight {
    min-height: 440px;
  }

  .project-showcase__grid .project-card {
    min-height: 260px;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 74px;
  }

  .home-template .site-header:not(.is-scrolled) .site-nav>a:not(.button) {
    color: var(--color-text-main);
  }

  .home-template .site-header.is-scrolled .site-header__main {
    min-height: 62px;
  }

  .home-page .hero {
    min-height: auto;
    padding: 126px 0 54px;
  }

  .hero-parameters {
    width: min(100%, 560px);
    min-height: 340px;
  }

  .section-heading--center {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .section-heading--split {
    align-items: flex-start;
  }

  .site-pagination {
    margin-top: 48px;
    padding-top: 24px;
  }

  .site-pagination__inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .site-pagination__status {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-pagination__control {
    width: 100%;
  }

  .site-pagination__control--previous {
    grid-column: 1;
    grid-row: 2;
  }

  .site-pagination__control--next {
    grid-column: 2;
    grid-row: 2;
  }

  .home-page .hero__metrics {
    margin-top: 44px;
  }

  .home-solution-grid,
  .technology__capabilities,
  .proof__footprint,
  .project-pair,
  .commitment-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .home-solution-card {
    min-height: auto;
  }

  .delivery-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .delivery-timeline li {
    min-height: 150px;
    padding: 0 0 28px 72px;
  }

  .delivery-timeline li::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 45px;
    bottom: 0;
    width: 2px;
    background: #a7f3d0;
  }

  .delivery-timeline li:last-child::before {
    display: none;
  }

  .delivery-timeline li>span {
    position: absolute;
    left: 0;
    top: 0;
  }

  .project-showcase__grid {
    grid-template-columns: 1fr;
  }

  .partner-row {
    grid-template-columns: 1fr 1fr;
  }

  .partner-row span {
    border-right: 1px solid var(--color-border) !important;
    border-bottom: 1px solid var(--color-border);
  }

  .partner-row span:nth-child(even) {
    border-right: 0 !important;
  }

  .partner-row span:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .home-page .hero h1 {
    font-size: 2.35rem;
  }

  .home-page .hero__actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
    border-radius: 0;
  }

  .hero-parameters {
    min-height: 280px;
    margin-top: -4px;
  }

  .hero-parameters::before {
    inset: 7% 0;
    background:
      radial-gradient(circle at center, rgba(255, 255, 255, .15) 0 2px, transparent 3px),
      repeating-radial-gradient(circle at center, rgba(255, 255, 255, .09) 0 1px, transparent 1px 54px);
  }

  .hero-parameters::after {
    inset: 19% 13%;
  }

  .hero-parameter {
    --drift-x: 10px;
    --drift-x-negative: -8px;
    --drift-y: 8px;
    --drift-y-negative: -7px;
  }

  .hero-parameter--ph {
    top: 6%;
    left: 8%;
    width: 70px;
    height: 70px;
    font-size: 1.25rem;
  }

  .hero-parameter--cod {
    top: 22%;
    left: 39%;
    width: 82px;
    height: 82px;
    font-size: 1.2rem;
  }

  .hero-parameter--tss {
    top: 3%;
    right: 6%;
    left: auto;
    width: 62px;
    height: 62px;
    font-size: .9rem;
  }

  .hero-parameter--so2 {
    top: 58%;
    right: auto;
    left: 5%;
    width: 68px;
    height: 68px;
    font-size: 1.05rem;
  }

  .hero-parameter--nox {
    top: 60%;
    left: 39%;
    width: 74px;
    height: 74px;
    font-size: 1.12rem;
  }

  .hero-parameter--flow {
    top: 67%;
    right: 2%;
    width: 92px;
    height: 50px;
    font-size: .98rem;
  }

  .hero-parameter--temp,
  .hero-parameter--co,
  .hero-parameter--do,
  .hero-parameter--nh4 {
    display: none;
  }

  .hero-dashboard {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 15px;
  }

  .hero-dashboard__chart {
    height: 90px;
  }

  .home-page .hero__metrics,
  .proof__numbers,
  .industries__list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .home-page .metric-item {
    padding: 0 0 15px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .proof__numbers article {
    padding: 28px;
  }

  .industries__list li:nth-child(odd) {
    margin-right: 0;
  }

  .project-card--spotlight {
    min-height: 380px;
  }

  .partner-row {
    grid-template-columns: 1fr;
  }

  .partner-row span,
  .partner-row span:nth-child(even),
  .partner-row span:nth-last-child(-n+2) {
    border-right: 0 !important;
    border-bottom: 1px solid var(--color-border);
  }

  .partner-row span:last-child {
    border-bottom: 0;
  }

  .consultation-form {
    padding: 24px 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
