:root {
  --blue: #0b3f7a;
  --blue-dark: #062a55;
  --red: #d7262b;
  --ink: #172331;
  --muted: #667381;
  --line: #dde4ec;
  --soft: #f4f7fb;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(6, 42, 85, 0.08);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  padding: 8px clamp(18px, 5vw, 78px);
  color: #dce8f7;
  background: var(--blue-dark);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 0 clamp(18px, 5vw, 78px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 330px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--red);
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.2;
}

.brand-text small {
  margin-top: 3px;
  color: #6e7884;
  font-size: 12px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.5vw, 32px);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  padding: 30px 0 27px;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: #fff;
  background: var(--blue-dark);
  cursor: pointer;
}

.hero-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 42, 85, 0.92), rgba(6, 42, 85, 0.66) 48%, rgba(6, 42, 85, 0.1)),
    linear-gradient(0deg, rgba(6, 42, 85, 0.28), rgba(6, 42, 85, 0.08));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 36px));
  padding: 118px 0 132px;
  margin-left: clamp(18px, 7vw, 96px);
}

.eyebrow,
.section-title p {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  width: min(650px, 100%);
  margin: 0 0 34px;
  color: #edf4fb;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 800;
}

.primary-btn {
  color: #fff;
  background: var(--red);
}

.outline-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.section {
  padding: 78px clamp(18px, 5vw, 78px);
}

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

.section-title h2,
.about h2,
.feature-copy h2,
.contact h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

.center {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-copy > p:not(.eyebrow) {
  margin: 22px 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.about-panel {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 4px solid var(--red);
  box-shadow: 0 20px 40px rgba(6, 42, 85, 0.12);
}

.about-panel div {
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
}

.about-panel strong,
.about-panel span {
  display: block;
}

.about-panel strong {
  color: var(--blue);
  font-size: 30px;
  line-height: 1.15;
}

.about-panel span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.home-material {
  background: #fff;
}

.home-material p {
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  color: #53575d;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.48;
}

.home-material img {
  display: block;
  width: min(980px, 100%);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(6, 42, 85, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.why-grid article {
  min-height: 230px;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.why-grid strong {
  display: block;
  color: var(--red);
  font-size: 24px;
  line-height: 1.15;
}

.why-grid h3 {
  margin: 18px 0 10px;
  color: var(--blue-dark);
  font-size: 20px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(6, 42, 85, 0.14);
}

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

.product-image-link {
  display: block;
}

.product-card div {
  padding: 22px 22px 24px;
}

.product-card span {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.product-card h3 {
  margin: 6px 0 10px;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.25;
}

.product-card p {
  min-height: 74px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.product-card a,
.news-grid a {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.application-grid article {
  min-height: 170px;
  padding: 28px 24px;
  background: #fff;
}

.application-grid strong,
.application-grid span {
  display: block;
}

.application-grid strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.application-grid span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.advantages {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.feature-image {
  border-left: 6px solid var(--red);
  box-shadow: 0 18px 38px rgba(6, 42, 85, 0.14);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.feature-copy ul {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-copy li {
  padding: 18px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.feature-copy strong {
  color: var(--blue-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.news-grid article {
  min-height: 250px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.news-grid time {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.news-grid h3 {
  margin: 14px 0 12px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.35;
}

.news-grid p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  background: var(--blue-dark);
}

.contact .eyebrow,
.contact h2 {
  color: #fff;
}

.contact .eyebrow {
  color: #ffb6b8;
}

.contact p:last-child {
  width: min(740px, 100%);
  margin: 16px 0 0;
  color: #d8e5f4;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(18px, 5vw, 78px);
  color: #cbd7e5;
  background: #041d3a;
  font-size: 14px;
}

.footer div {
  display: grid;
  gap: 6px;
}

.footer strong {
  color: #fff;
  font-size: 16px;
}

.detail-hero {
  display: block;
  padding: 0;
  background: var(--blue-dark);
  color: #fff;
}

.detail-hero img {
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  object-fit: cover;
  border-bottom: 6px solid var(--red);
}

.detail-hero > div {
  padding: 46px clamp(18px, 5vw, 78px) 54px;
  background:
    linear-gradient(90deg, rgba(6, 42, 85, 0.98), rgba(6, 42, 85, 0.88)),
    var(--blue-dark);
}

.detail-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
}

.detail-hero p:not(.eyebrow) {
  width: min(680px, 100%);
  margin: 0 0 28px;
  color: #e7f0fa;
  font-size: 18px;
}

.detail-section {
  padding: 76px clamp(18px, 5vw, 78px);
}

.detail-copy {
  width: min(980px, 100%);
  margin: 0 auto;
}

.detail-copy h2 {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: clamp(28px, 3.5vw, 42px);
}

.detail-copy > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

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

.detail-grid article {
  padding: 26px 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.detail-grid h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 20px;
}

.detail-grid p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: min(980px, 100%);
  margin: 10px auto 0;
}

.application-poster {
  width: min(980px, 100%);
  margin: 0 auto 46px;
  padding-top: 10px;
}

.application-poster img {
  width: 100%;
  height: auto;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 36px rgba(6, 42, 85, 0.1);
}

.gallery img {
  width: 100%;
  max-height: 720px;
  aspect-ratio: auto;
  object-fit: cover;
  background: #eef2f6;
  border: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-links a {
    padding: 8px 0 10px;
  }

  .why-grid,
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .about,
  .advantages,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

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

  .nav {
    min-height: 104px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(6, 42, 85, 0.95), rgba(6, 42, 85, 0.72));
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 76px 0 92px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(280px, 100%);
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .why-grid,
  .product-grid,
  .application-grid,
  .news-grid,
  .detail-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .product-card p {
    min-height: 0;
  }

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