:root {
  --ink: #132033;
  --muted: #667085;
  --line: #e5e9f0;
  --brand: #0877b9;
  --brand-deep: #064a7a;
  --accent: #f2a51a;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(11, 31, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img,
input,
select,
button {
  font: inherit;
}

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

.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.topbar__inner,
.topbar__links,
.navbar__inner,
.nav-menu,
.hero__actions,
.footer__inner {
  display: flex;
  align-items: center;
}

.topbar__inner {
  justify-content: space-between;
  min-height: 40px;
  gap: 18px;
}

.topbar__links {
  gap: 24px;
  white-space: nowrap;
}

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

.navbar__inner {
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: 6px;
  font-weight: 800;
}

.brand__logo {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 6px;
}

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

.brand strong {
  font-size: 20px;
  line-height: 1.1;
  max-width: 210px;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.nav-menu {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 30px;
  color: #26364a;
  font-size: 15px;
  font-weight: 700;
}

.nav-menu a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background: url("assets/hero-reference.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(36, 34, 28, 0.9) 0%, rgba(47, 54, 45, 0.78) 42%, rgba(47, 54, 45, 0.28) 100%),
    linear-gradient(0deg, rgba(20, 20, 18, 0.18), rgba(20, 20, 18, 0.18));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
  min-height: 690px;
  padding: 70px 0;
}

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

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero__actions {
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

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

.btn--primary:hover {
  background: #d98d00;
}

.btn--light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn--full {
  width: 100%;
}

.quote-card {
  padding: 30px;
  color: var(--ink);
  background: var(--white);
  border-top: 5px solid var(--accent);
  box-shadow: var(--shadow);
}

.quote-card h2 {
  margin: 0 0 20px;
  font-size: 24px;
}

.quote-card label {
  display: block;
  margin-bottom: 14px;
}

.quote-card span {
  display: block;
  margin-bottom: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.quote-card input,
.quote-card select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #d7dde7;
  border-radius: 3px;
  color: var(--ink);
  background: var(--white);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.service-strip {
  margin-top: -62px;
  position: relative;
  z-index: 2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-grid article {
  min-height: 210px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.service-grid article:last-child {
  border-right: 0;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

.service-grid h3,
.package h3,
.timeline h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.service-grid p,
.package p,
.timeline p,
.split__copy p,
.contact-panel p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.page-hero {
  position: relative;
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 26, 43, 0.9), rgba(8, 26, 43, 0.62)),
    url("assets/hero-reference.jpg") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.1;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
}

.article-body p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.article-body h3,
.article-body h4 {
  margin: 28px 0 12px;
  line-height: 1.25;
}

.article-body h3 {
  font-size: 25px;
}

.article-body h4 {
  font-size: 21px;
}

.article-body hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.article-body td,
.article-body th {
  padding: 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.article-body--news {
  background: var(--white);
}

.news-detail-image {
  display: block;
  width: 100%;
  max-height: 470px;
  margin-bottom: 30px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.about-gallery {
  display: grid;
  gap: 22px;
}

.about-gallery img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.sidebar {
  display: grid;
  gap: 24px;
}

.sidebar-box {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.sidebar-box h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.sidebar-box > a:not(.post-link) {
  display: block;
  padding: 13px 0;
  color: #344054;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.sidebar-box > a:not(.post-link):last-child {
  border-bottom: 0;
}

.post-link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.post-link:last-child {
  border-bottom: 0;
}

.post-link img {
  width: 76px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
}

.post-link span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

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

.section--dark {
  color: var(--white);
  background: #0d253b;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.split__media {
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(8, 119, 185, 0.62), rgba(74, 57, 39, 0.72)),
    url("assets/products/bond-tile.jpg") center / cover no-repeat;
  position: relative;
}

.stat-box {
  position: absolute;
  right: -28px;
  bottom: 34px;
  min-width: 205px;
  padding: 24px;
  color: var(--white);
  background: var(--accent);
}

.stat-box strong,
.stat-box span {
  display: block;
}

.stat-box strong {
  font-size: 42px;
  line-height: 1;
}

.split__copy h2,
.section-title h2,
.why h2,
.contact-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feature-list span {
  padding: 13px 14px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  font-weight: 700;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--brand);
  font-weight: 800;
}

.section-title {
  max-width: 680px;
  margin-bottom: 38px;
}

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

.package {
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-photo {
  display: block;
  width: 100%;
  height: 120px;
  margin: -6px -2px 24px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: inset 0 -18px 35px rgba(0, 0, 0, 0.14);
}

.package--featured {
  border-top: 5px solid var(--accent);
  box-shadow: 0 16px 38px rgba(8, 42, 68, 0.12);
}

.package ul {
  margin: 22px 0;
  padding-left: 20px;
  color: #344054;
}

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

.package a {
  color: var(--brand);
  font-weight: 800;
}

.product-catalog .section-title p:last-child {
  max-width: 760px;
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.catalog-tabs button {
  min-height: 42px;
  padding: 0 16px;
  color: #344054;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.catalog-tabs button.is-active,
.catalog-tabs button:hover {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

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

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

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(8, 42, 68, 0.12);
}

.catalog-card.is-hidden {
  display: none;
}

.catalog-card__image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--soft);
}

.catalog-card span,
.catalog-card h3,
.catalog-card a {
  display: block;
  margin-left: 22px;
  margin-right: 22px;
}

.catalog-card span {
  margin-top: 22px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.catalog-card h3 {
  min-height: 58px;
  margin-top: 8px;
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.25;
}

.catalog-card a {
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 800;
}

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

.timeline div {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.timeline span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--brand-deep);
  border-radius: 50%;
  font-weight: 800;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
}

.why__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.why__items article {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.why__items strong,
.why__items span {
  display: block;
}

.why__items strong {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 38px;
  line-height: 1;
}

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

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

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(8, 42, 68, 0.12);
}

.news-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--soft);
}

.news-card__body {
  padding: 24px 22px 26px;
}

.news-card time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.news-card h3 {
  min-height: 82px;
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.28;
}

.news-card a {
  color: var(--accent);
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 46px;
  background: var(--soft);
  border-left: 6px solid var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.quote-card--page {
  box-shadow: 0 16px 38px rgba(8, 42, 68, 0.12);
}

.contact-info {
  padding: 42px;
  background: var(--soft);
  border-left: 6px solid var(--accent);
}

.contact-info h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

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

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.contact-list span {
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
}

.footer {
  padding: 38px 0 0;
  color: rgba(255, 255, 255, 0.76);
  background: #081a2b;
}

.footer__inner {
  justify-content: space-between;
  gap: 24px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 22px;
}

.footer__desc {
  max-width: 620px;
  margin-bottom: 16px;
}

.footer__contact {
  display: grid;
  gap: 9px;
  max-width: 760px;
}

.footer__item {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.footer__item b {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #081a2b;
  background: var(--accent);
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

.footer__bottom {
  margin-top: 30px;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .nav-menu {
    gap: 18px;
    font-size: 14px;
  }

  .brand strong {
    font-size: 18px;
    max-width: 185px;
  }

  .brand small {
    font-size: 10px;
  }
}

@media (max-width: 980px) {
  .topbar__inner,
  .topbar__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 13px 0;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__content,
  .split,
  .content-layout,
  .why__grid,
  .contact-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .package-grid,
  .catalog-grid,
  .news-grid,
  .timeline,
  .why__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-strip {
    margin-top: 0;
  }

  .quote-card {
    max-width: 520px;
  }

  .stat-box {
    right: 24px;
  }
}

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

  .topbar {
    display: none;
  }

  .navbar__inner {
    min-height: 68px;
  }

  .nav-menu {
    top: 68px;
  }

  .brand small {
    display: none;
  }

  .hero__content {
    padding: 52px 0;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions,
  .footer__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quote-card {
    padding: 24px;
  }

  .service-grid,
  .package-grid,
  .catalog-grid,
  .news-grid,
  .timeline,
  .why__items,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 64px 0;
  }

  .split__media {
    min-height: 320px;
  }

  .stat-box {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .contact-panel {
    padding: 28px;
  }
}
