:root {
  --ink: #17212b;
  --muted: #66727f;
  --line: #dce3ea;
  --soft: #f5f8fb;
  --brand: #0f8f74;
  --brand-dark: #096652;
  --accent: #d9531e;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(18, 34, 49, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: #dfe8ee;
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

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

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand span {
  font-size: 1.05rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.dropdown-button {
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #31404d;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.nav-links a:hover,
.dropdown-button:hover,
.nav-links .active {
  color: var(--brand);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  display: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  padding: 9px 10px;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  background: var(--soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
}

.btn-primary {
  color: var(--white);
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero {
  background: linear-gradient(135deg, #eef8f5 0%, #ffffff 52%, #f7ebe5 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  padding: 76px 0 54px;
}

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

h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  color: var(--muted);
  font-size: 1.13rem;
  max-width: 680px;
}

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

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f8fbfd;
  padding: 22px;
}

.hero-card div {
  padding: 18px 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--white);
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
}

.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--soft);
}

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

.section-head p {
  max-width: 560px;
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 18px;
  background: #f8fbfd;
}

.card-body {
  padding: 20px;
}

.card-body p {
  color: var(--muted);
  margin: 0 0 14px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 14px 14px 14px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

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

.product-hero {
  padding: 56px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.product-hero .split {
  align-items: center;
}

.product-image {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-block p {
  color: var(--muted);
}

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

.gallery img {
  width: 100%;
  min-height: 180px;
  object-fit: contain;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.detail-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-panel p,
.detail-panel li {
  color: var(--muted);
}

.detail-panel ul {
  margin: 0;
  padding-left: 20px;
}

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

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.cta {
  padding: 44px 0;
  background: var(--ink);
  color: var(--white);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta p {
  color: #cbd5dd;
  margin: 0;
}

.footer {
  background: #101820;
  color: #d9e2e8;
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
  gap: 28px;
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer p,
.footer a {
  color: #b8c5cf;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9eadb8;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .topbar .container,
  .hero-grid,
  .split,
  .section-head,
  .cta .container {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: grid;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    box-shadow: none;
    margin: 4px 0 10px;
    min-width: 0;
  }

  .cards,
  .gallery,
  .detail-grid,
  .contact-grid,
  .footer-grid,
  .feature-list,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 50px 0 42px;
  }

  .hero-card,
  .product-image {
    margin-top: 28px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 50px 0;
  }

  .brand span {
    max-width: 170px;
  }
}
