:root {
  --bm-blue: #0b5fae;
  --bm-navy: #132640;
  --bm-deep: #0d1b2d;
  --bm-green: #1a765d;
  --bm-orange: #d87927;
  --bm-ink: #172134;
  --bm-muted: #647187;
  --bm-line: #dce5ef;
  --bm-soft: #f4f8fb;
  --bm-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f1f5f9;
  color: var(--bm-ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body {
  line-height: 1.5;
}

a {
  color: inherit;
}

.hgs-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 239, 0.95);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.hgs-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

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

.hgs-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.hgs-brand img {
  width: 136px;
  display: block;
}

.hgs-brand span {
  display: block;
  color: var(--bm-muted);
  font-size: 13px;
}

.hgs-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.hgs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--bm-blue);
  border-radius: 6px;
  background: var(--bm-blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hgs-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 95, 174, 0.2);
}

.hgs-button.alt {
  background: #fff;
  color: var(--bm-blue);
}

.hgs-button.dark {
  border-color: var(--bm-navy);
  background: var(--bm-navy);
}

.hgs-main {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.hgs-hero {
  background:
    linear-gradient(115deg, rgba(13, 27, 45, 0.98), rgba(13, 67, 117, 0.94) 58%, rgba(26, 118, 93, 0.88)),
    #102742;
  color: #fff;
}

.hgs-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 42px;
  align-items: center;
  min-height: 660px;
  padding: 62px 0 56px;
}

.hgs-hero__inner > *,
.hgs-section__head > *,
.hgs-product > *,
.hgs-cta > *,
.hgs-footer__inner > * {
  min-width: 0;
}

.hgs-eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hgs-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 5.8vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.hgs-lead {
  margin: 22px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hgs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hgs-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.hgs-fact {
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hgs-fact b {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.hgs-fact span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hgs-photo-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  grid-template-rows: 250px 190px;
  gap: 12px;
}

.hgs-photo-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(4, 18, 34, 0.24);
}

.hgs-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hgs-photo-card:first-child {
  grid-row: 1 / span 2;
}

.hgs-photo-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(19, 38, 64, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.hgs-section {
  padding: 70px 0;
  background: #fff;
}

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

.hgs-section.dark {
  background: var(--bm-deep);
  color: #fff;
}

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

.hgs-section__head h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hgs-section__head p {
  margin: 0;
  max-width: 560px;
  color: var(--bm-muted);
}

.hgs-section.dark .hgs-section__head p {
  color: rgba(255, 255, 255, 0.72);
}

.hgs-use-grid,
.hgs-doc-grid,
.hgs-step-grid,
.hgs-choice-grid,
.hgs-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hgs-use,
.hgs-doc,
.hgs-step,
.hgs-note,
.hgs-choice,
.hgs-faq {
  padding: 22px;
  border: 1px solid var(--bm-line);
  border-radius: 8px;
  background: #fff;
}

.hgs-use b,
.hgs-doc b,
.hgs-step b,
.hgs-note b,
.hgs-choice b,
.hgs-faq b {
  display: block;
  margin-bottom: 8px;
  color: var(--bm-navy);
  font-size: 18px;
}

.hgs-use p,
.hgs-doc p,
.hgs-step p,
.hgs-note p,
.hgs-choice p,
.hgs-faq p {
  margin: 0;
  color: var(--bm-muted);
}

.hgs-choice {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(229, 244, 251, 0.74), rgba(255, 255, 255, 0.94)),
    #fff;
}

.hgs-choice::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bm-blue), var(--bm-green));
}

.hgs-models-head {
  margin-top: 38px;
}

.hgs-product {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 30px;
  padding: 24px;
  border: 1px solid var(--bm-line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hgs-product + .hgs-product {
  margin-top: 18px;
}

.hgs-product:hover {
  border-color: #b9d0e5;
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(20, 36, 61, 0.1);
}

.hgs-product__image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hgs-product__image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bm-soft);
}

.hgs-product__image img:first-child {
  grid-column: span 2;
  height: 300px;
}

.hgs-product h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.hgs-product p {
  margin: 12px 0 0;
  color: var(--bm-muted);
}

.hgs-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hgs-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cfe0ee;
  border-radius: 999px;
  background: #f8fbfd;
  color: #23415f;
  font-size: 13px;
  font-weight: 700;
}

.hgs-product__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hgs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bm-line);
  border-radius: 8px;
  background: #fff;
}

.hgs-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

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

.hgs-table th {
  background: #edf5fb;
  color: var(--bm-navy);
  font-size: 14px;
}

.hgs-table tr:last-child td {
  border-bottom: 0;
}

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

.hgs-flow__item {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hgs-flow__item b {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.hgs-flow__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.hgs-warning {
  margin-top: 24px;
  padding: 22px;
  border-left: 4px solid var(--bm-orange);
  background: #fff8ef;
  color: #543116;
}

.hgs-warning b {
  display: block;
  margin-bottom: 8px;
}

.hgs-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bm-navy), #0b5fae);
  color: #fff;
}

.hgs-cta h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.hgs-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.hgs-footer {
  padding: 32px 0;
  border-top: 1px solid var(--bm-line);
  background: #fff;
  color: var(--bm-muted);
  font-size: 14px;
}

.hgs-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hgs-mobile-sticky {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hgs-button,
  .hgs-product {
    transition: none;
  }
}

@media (max-width: 940px) {
  .hgs-header__inner,
  .hgs-footer__inner,
  .hgs-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hgs-nav {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  .hgs-hero__inner,
  .hgs-product,
  .hgs-cta {
    grid-template-columns: 1fr;
  }

  .hgs-hero__inner {
    min-height: auto;
    padding: 44px 0;
  }

  .hgs-photo-grid {
    grid-template-rows: 210px 170px;
  }

  .hgs-facts,
  .hgs-use-grid,
  .hgs-doc-grid,
  .hgs-step-grid,
  .hgs-choice-grid,
  .hgs-faq-grid,
  .hgs-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 72px;
  }

  .hgs-wrap {
    width: min(1200px, calc(100% - 24px));
  }

  .hgs-header__inner {
    gap: 12px;
    padding: 10px 0;
  }

  .hgs-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hgs-nav .hgs-button,
  .hgs-hero__actions .hgs-button {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    white-space: normal;
    text-align: center;
  }

  .hgs-brand img {
    width: 122px;
  }

  .hgs-hero h1 {
    font-size: 31px;
    max-width: calc(100vw - 24px);
    overflow-wrap: anywhere;
  }

  .hgs-hero h1 span {
    display: block;
  }

  .hgs-lead {
    font-size: 15px;
    max-width: calc(100vw - 24px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hgs-hero__inner > div:first-child,
  .hgs-facts,
  .hgs-fact {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .hgs-fact b {
    font-size: 22px;
  }

  .hgs-fact span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hgs-facts,
  .hgs-use-grid,
  .hgs-doc-grid,
  .hgs-step-grid,
  .hgs-choice-grid,
  .hgs-faq-grid,
  .hgs-flow {
    grid-template-columns: 1fr;
  }

  .hgs-photo-grid,
  .hgs-product__image {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hgs-photo-card,
  .hgs-photo-card:first-child,
  .hgs-product__image img,
  .hgs-product__image img:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 260px;
  }

  .hgs-section {
    padding: 48px 0;
  }

  .hgs-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .hgs-table {
    min-width: 0;
    display: block;
  }

  .hgs-table thead {
    display: none;
  }

  .hgs-table tbody,
  .hgs-table tr,
  .hgs-table td {
    display: block;
    width: 100%;
  }

  .hgs-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--bm-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  .hgs-table td {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--bm-line);
  }

  .hgs-table td:last-child {
    border-bottom: 0;
  }

  .hgs-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--bm-muted);
    font-size: 12px;
    font-weight: 700;
  }

  .hgs-cta {
    padding: 24px;
  }

  .hgs-mobile-sticky {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 40;
    display: block;
  }

  .hgs-mobile-sticky .hgs-button {
    width: 100%;
  }
}
