:root {
  --ink: #172026;
  --muted: #5d6975;
  --line: #d9e0e6;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --accent: #1f7a5c;
  --accent-dark: #135b43;
  --blue: #245b8f;
  --warn: #d8872b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.topbar {
  background: #12202a;
  color: #dbe7ed;
  font-size: 14px;
}

.topbar .container {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  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: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

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

.nav-links a {
  padding: 10px 12px;
  color: #2d3942;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 24px;
}

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

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

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

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

.hero {
  background: #e9f0f1;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 46px;
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(40px, 6vw, 68px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: #35434d;
  font-size: 20px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.stat {
  padding: 16px;
  border: 1px solid rgba(23, 32, 38, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.stat strong {
  display: block;
  font-size: 22px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #cfd8dc;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 52%;
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 310px;
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(18, 32, 42, 0.88);
}

.section {
  padding: 86px 0;
}

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

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

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

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

.feature,
.spec-card,
.contact-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature {
  padding: 24px;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.feature p,
.product-card p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe7e9;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.check-list li::before {
  content: "OK";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: #33414b;
  background: #edf3f4;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery button {
  appearance: none;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe7e9;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery button:hover img {
  transform: scale(1.03);
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 34px;
  border: 1px dashed #93a3ad;
  border-radius: var(--radius);
  color: var(--muted);
  background: #f7fafb;
  text-align: center;
}

.video-placeholder:empty {
  display: none;
}

.video-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 28px 28px;
  background: rgba(10, 16, 20, 0.86);
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 110px);
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

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

.compare-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare-box.highlight {
  border-color: rgba(31, 122, 92, 0.35);
  background: #edf8f3;
}

.compare-box ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.page-hero {
  padding: 72px 0;
  background: linear-gradient(180deg, #eaf1f2, #fff);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 20px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--accent-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-card {
  padding: 24px;
}

.contact-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 900;
}

.form-shell {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #34434d;
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  padding: 52px 0;
  color: #fff;
  background: #12202a;
}

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

.cta-band p {
  margin: 10px 0 0;
  color: #c6d4dc;
}

.site-footer {
  padding: 36px 0;
  color: #cbd6dc;
  background: #0f171d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 24px;
}

.site-footer a {
  color: #f4f7f8;
}

.site-footer p {
  margin: 10px 0 0;
  color: #9fb0ba;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8ea0aa;
  font-size: 14px;
}

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

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    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);
  }

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

  .nav-links .button {
    width: 100%;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .compare,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 28px;
  }

  .hero-media,
  .hero-media img,
  .image-frame img {
    min-height: 360px;
  }

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

  .section-head,
  .cta-band .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .topbar .container,
  .hero-stats,
  .grid-3,
  .gallery,
  .form-row {
    grid-template-columns: 1fr;
  }

  .topbar .container {
    display: grid;
    gap: 4px;
    padding: 8px 0;
  }

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

  .button {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section {
    padding: 62px 0;
  }
}
