:root {
  --brand: #0d5c63;
  --brand-light: #e8f3f3;
  --brand-dark: #0a484d;
  --accent: #c8952b;
  --text: #1c2b2e;
  --text-2: #5a6b6e;
  --text-3: #93a3a5;
  --line: #e3e9ea;
  --bg: #ffffff;
  --bg-2: #f7fafa;
  --radius: 8px;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: .3px; }
.logo img { height: 36px; width: auto; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; letter-spacing: 0;
}
.logo .sub { display: block; font-size: 11px; color: var(--text-3); font-weight: 400; letter-spacing: 1.5px; line-height: 1; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14.5px; color: var(--text-2); position: relative;
  padding: 4px 0; transition: color .18s;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav .nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 9px 20px; border-radius: 6px; font-size: 14px;
  transition: background .18s;
}
.nav .nav-cta:hover { background: var(--brand-dark); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--brand-light) 0%, #fff 100%);
  padding: 92px 0 84px;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -140px; top: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: rgba(13,92,99,.045);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 2.5px;
  color: var(--brand); background: rgba(13,92,99,.08);
  padding: 6px 14px; border-radius: 40px; margin-bottom: 22px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 42px; line-height: 1.28; font-weight: 600;
  letter-spacing: -.5px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { font-size: 16.5px; color: var(--text-2); margin-bottom: 34px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 7px; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .18s;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- sections ---------- */
section { padding: 78px 0; }
.sec-head { margin-bottom: 46px; }
.sec-head.center { text-align: center; }
.sec-head .kicker {
  font-size: 12.5px; letter-spacing: 2.5px; color: var(--brand);
  text-transform: uppercase; font-weight: 500; margin-bottom: 12px;
}
.sec-head h2 { font-size: 30px; font-weight: 600; letter-spacing: -.3px; line-height: 1.35; }
.sec-head .desc { color: var(--text-2); margin-top: 14px; max-width: 620px; font-size: 15.5px; }
.sec-head.center .desc { margin-left: auto; margin-right: auto; }

.alt { background: var(--bg-2); }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 8px;
}
.stats > div { background: #fff; padding: 30px 24px; }
.stats .v { font-size: 32px; font-weight: 600; color: var(--brand); line-height: 1.2; letter-spacing: -.5px; }
.stats .l { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }

/* ---------- advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: box-shadow .2s, border-color .2s;
}
.adv:hover { border-color: rgba(13,92,99,.3); box-shadow: 0 6px 26px rgba(13,92,99,.07); }
.adv .ico {
  width: 42px; height: 42px; border-radius: 9px; background: var(--brand-light);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 19px; font-weight: 600;
}
.adv h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 9px; }
.adv p { font-size: 14px; color: var(--text-2); }

/* ---------- products ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  padding: 8px 20px; border-radius: 40px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; color: var(--text-2); cursor: pointer;
  transition: all .18s; font-family: inherit;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: 0 10px 32px rgba(13,92,99,.09); transform: translateY(-2px); border-color: rgba(13,92,99,.22); }
.card .thumb {
  aspect-ratio: 4/3; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative; border-bottom: 1px solid var(--line);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .ph {
  color: var(--text-3); font-size: 13px; letter-spacing: 1px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.card .thumb .ph .big { font-size: 26px; font-weight: 600; color: var(--brand); opacity: .35; letter-spacing: 0; }
.card .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff; font-size: 11.5px;
  padding: 4px 10px; border-radius: 4px; letter-spacing: .5px;
}
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card .cat { font-size: 12px; color: var(--brand); letter-spacing: 1px; margin-bottom: 8px; font-weight: 500; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card .model { font-size: 13px; color: var(--text-3); font-family: ui-monospace, Menlo, Consolas, monospace; margin-bottom: 12px; }
.card .sum { font-size: 14px; color: var(--text-2); margin-bottom: 16px; flex: 1; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card .tags span {
  font-size: 12px; background: var(--bg-2); color: var(--text-2);
  padding: 3px 9px; border-radius: 4px; border: 1px solid var(--line);
}
.card .more {
  font-size: 14px; color: var(--brand); font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
}
.card .more:hover { gap: 9px; }

/* ---------- news ---------- */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 116px 1fr auto;
  gap: 26px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.news-item:hover { background: var(--bg-2); }
.news-item .date { font-size: 13px; color: var(--text-3); font-family: ui-monospace, Menlo, Consolas, monospace; }
.news-item h3 { font-size: 17px; font-weight: 500; margin-bottom: 5px; }
.news-item p { font-size: 14px; color: var(--text-2); }
.news-item .arrow { color: var(--text-3); font-size: 18px; transition: color .18s, transform .18s; }
.news-item:hover .arrow { color: var(--brand); transform: translateX(3px); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.info-list { display: grid; gap: 26px; }
.info-item { display: flex; gap: 16px; }
.info-item .ico {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.info-item .k { font-size: 13px; color: var(--text-3); margin-bottom: 3px; }
.info-item .v { font-size: 15px; word-break: break-all; }

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 7px; }
.field label .req { color: #d14343; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 14.5px; font-family: inherit;
  color: var(--text); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,92,99,.08);
}
.field textarea { resize: vertical; min-height: 106px; }
.form-msg { margin-top: 16px; font-size: 14px; padding: 11px 14px; border-radius: 6px; display: none; }
.form-msg.ok { display: block; background: #e9f6ee; color: #1c7a45; }
.form-msg.err { display: block; background: #fdecec; color: #b93333; }

/* ---------- footer ---------- */
.site-footer { background: #12393d; color: #b8cacb; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo .mark { background: rgba(255,255,255,.14); }
.site-footer p { font-size: 14px; line-height: 1.85; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer ul a { font-size: 14px; transition: color .18s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #8ba3a4;
}

/* ---------- modal ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(12,30,32,.5);
  display: none; align-items: flex-start; justify-content: center;
  z-index: 200; padding: 40px 20px; overflow-y: auto;
  backdrop-filter: blur(2px);
}
.modal-mask.on { display: flex; }
.modal {
  background: #fff; border-radius: 10px; max-width: 780px; width: 100%;
  padding: 38px; position: relative; animation: pop .22s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal .close {
  position: absolute; right: 18px; top: 16px; width: 32px; height: 32px;
  border: none; background: none; font-size: 22px; color: var(--text-3);
  cursor: pointer; border-radius: 6px; line-height: 1;
}
.modal .close:hover { background: var(--bg-2); color: var(--text); }
.modal h2 { font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.modal .m-model { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; color: var(--text-3); margin-bottom: 24px; }
.modal h4 {
  font-size: 14px; font-weight: 600; color: var(--brand);
  margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.kv { display: grid; grid-template-columns: 118px 1fr; gap: 8px 18px; font-size: 14px; }
.kv .k { color: var(--text-3); }
.kv .v { color: var(--text); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list span {
  font-size: 13px; background: var(--brand-light); color: var(--brand-dark);
  padding: 5px 12px; border-radius: 5px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h1 { font-size: 33px; }
  .news-item { grid-template-columns: 1fr auto; gap: 10px; }
  .news-item .date { grid-column: 1 / -1; }
  .news-item .arrow { grid-row: 2; }
  .news-item h3 { grid-column: 1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  section { padding: 54px 0; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 18px 18px;
    display: none; box-shadow: 0 12px 28px rgba(0,0,0,.07);
  }
  .nav.on { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .nav .nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
  .menu-toggle { display: block; }
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 27px; }
  .hero p { font-size: 15px; }
  .sec-head h2 { font-size: 24px; }
  .prod-grid, .adv-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .v { font-size: 26px; }
  .form-card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal { padding: 26px 20px; }
  .kv { grid-template-columns: 1fr; gap: 3px 0; }
  .kv .k { margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 54px 0 48px;
}
.page-hero h1 { font-size: 32px; font-weight: 600; letter-spacing: -.3px; }
.page-hero .crumb { font-size: 13.5px; color: var(--text-3); margin-top: 9px; }
.page-hero .crumb a:hover { color: var(--brand); }

/* ---------- article ---------- */
.article { max-width: 800px; }
.article .meta { font-size: 13.5px; color: var(--text-3); margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-body { font-size: 16px; line-height: 1.95; color: var(--text-2); }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 20px; color: var(--text); font-weight: 600; margin: 34px 0 14px; }

.about-body p { font-size: 15.5px; color: var(--text-2); margin-bottom: 18px; line-height: 1.95; }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- terms ---------- */
.terms { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.terms h3 { font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.terms ol { padding-left: 20px; display: grid; gap: 11px; }
.terms li { font-size: 14.5px; color: var(--text-2); }

.empty { text-align: center; padding: 60px 20px; color: var(--text-3); font-size: 15px; }
