:root {
  --ink: #172126;
  --muted: #5d6b70;
  --line: #dce5e3;
  --paper: #ffffff;
  --soft: #f3f7f6;
  --brand: #0e6f70;
  --brand-strong: #074f51;
  --accent: #c84f2d;
  --gold: #b28b3f;
  --shadow: 0 22px 60px rgba(23, 33, 38, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 99;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.topbar a,
.footer-links a,
address a,
.service-row a {
  color: var(--brand-strong);
  font-weight: 800;
  text-decoration: none;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 78px;
  height: 62px;
  object-fit: contain;
}

.brand-copy,
.brand-copy span {
  display: block;
}

.brand-copy {
  color: #284b7a;
  line-height: 1;
}

.brand-name {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.3rem;
  font-size: 1.7rem;
  font-weight: 950;
  letter-spacing: 0.045em;
}

.brand-consultants {
  margin-top: 0.28rem;
  color: #2c3033;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.brand-slogan {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.77rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

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

.home-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.25rem 8rem;
}

.hero-content h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.5rem);
  line-height: 0.99;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(8, 18, 22, 0.92), rgba(8, 18, 22, 0.66)),
    url("/assets/images/site/hero-instrumentation.webp") center / cover;
  color: #fff;
}

.page-hero > div {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.page-hero .eyebrow {
  color: #f0ba67;
}

.hero-actions,
.site-footer,
.catalog-count {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0.78rem 1rem;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.button.secondary.dark {
  background: var(--ink);
  color: #fff;
}

.text-button {
  min-height: auto;
  padding: 0;
  color: var(--brand);
  background: transparent;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: -54px auto 0;
  padding: 0 1.25rem;
  position: relative;
  z-index: 5;
}

.trust-band div,
.solution-card,
.product-card,
.mission-grid article,
.partner-grid a,
.faq-grid details,
.category-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.trust-band div {
  padding: 1.25rem;
  box-shadow: 0 14px 28px rgba(23, 33, 38, 0.08);
}

.trust-band strong {
  display: block;
  color: var(--brand);
  font-size: 1.7rem;
}

.trust-band span,
.section-heading p:not(.eyebrow),
.solution-card p,
.product-card p,
.prose p,
.service-row p,
.note,
.catalog-count span {
  color: var(--muted);
}

.section,
.contact-band,
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem;
}

.breadcrumb {
  padding: 1.2rem 1.25rem 0;
  display: flex;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 800;
}

.muted {
  max-width: none;
  background: var(--soft);
}

.muted > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  line-height: 1.16;
}

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

.solution-card {
  padding: 1.35rem;
}

.solution-card span,
.service-row span {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-weight: 900;
}

.section-action {
  margin-top: 1.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.category-grid a {
  display: grid;
  gap: 0.8rem;
  min-height: 112px;
  padding: 1rem;
  text-decoration: none;
}

.category-grid.large a {
  min-height: 180px;
}

.category-grid span {
  color: var(--brand);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.mission-grid article {
  padding: 1.25rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-row h2 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.partner-grid a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  min-height: 170px;
  padding: 1.2rem;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.partner-grid img {
  max-height: 64px;
  object-fit: contain;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.catalog-toolbar label,
.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(14, 111, 112, 0.18);
  border-color: var(--brand);
}

.empty-state {
  border: 1px dashed var(--brand);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
  background: #f4fbfa;
}

.product-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  overflow: hidden;
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: #f7faf9;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-content {
  display: grid;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
  padding: 1.1rem;
  background: #fff;
}

.product-content p {
  margin: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  margin-bottom: 4rem;
  border-radius: var(--radius);
  padding: 2rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 49, 52, 0.94), rgba(14, 111, 112, 0.82)),
    url("/assets/images/site/contact-banner.webp") center / cover;
}

.contact-cta {
  max-width: var(--max);
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  border-radius: var(--radius);
  padding: 2rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 49, 52, 0.96), rgba(14, 111, 112, 0.86)),
    url("/assets/images/site/contact-banner.webp") center / cover;
}

.contact-cta h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.contact-cta p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

address {
  margin-top: 1.4rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
}

address a {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.contact-form label {
  color: var(--ink);
}

.site-footer {
  justify-content: space-between;
  padding: 1.4rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.product-dialog {
  width: min(920px, calc(100% - 2rem));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(5, 14, 17, 0.62);
}

.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 0.85rem;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

[data-dialog-body] {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  padding: 2rem;
}

.dialog-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--soft);
}

.dialog-media img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  padding: 1rem;
}

.dialog-copy p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .solution-grid,
  .product-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split,
  .contact-band,
  .contact-cta,
  [data-dialog-body],
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 96px;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

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

  .brand img {
    width: 60px;
    height: 48px;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-name {
    font-size: 1.02rem;
    column-gap: 0.22rem;
  }

  .brand-consultants {
    font-size: 0.62rem;
  }

  .brand-slogan {
    font-size: 0.62rem;
  }

  .home-hero {
    min-height: 650px;
  }

  .hero-content {
    padding: 4.5rem 1.25rem 7rem;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 11vw, 3.7rem);
    line-height: 1.02;
  }

  .trust-band,
  .solution-grid,
  .category-grid,
  .product-grid,
  .partner-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-band,
  .contact-cta,
  .page-hero > div {
    padding: 4rem 1rem;
  }

  .contact-band,
  [data-dialog-body] {
    padding: 1.2rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .product-card {
    grid-template-rows: 210px 1fr;
  }

  .dialog-close {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: block;
  }
}

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

  .hero-slide {
    transition: none;
  }
}
