:root {
  --primary: #128A8A;
  --primary-dark: #0A5F5F;
  --primary-50: #E6F5F5;
  --accent: #1A9A9A;
  --accent-50: #E6F7F7;
  --lime: #7AB015;
  --lime-50: #F1F8E6;
  --ink: #1f2937;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-card: #ffffff;
  --warn: #BA7517;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15,23,42,.08), 0 8px 24px rgba(15,23,42,.05);
  --maxw: 1120px;
}

.lang-select {
  border: 1px solid var(--line);
  background-color: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 30px 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230E5AA7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: background-color .15s ease;
}
.lang-select:hover { background-color: var(--primary-50); }
.lang-select:focus { outline: none; border-color: var(--primary); }
.nav-lang { display: flex; align-items: center; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.muted { color: var(--ink-mute); }

/* ---------- Header / Nav ---------- */
.announce-bar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}
.announce-inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 1140px; margin: 0 auto; padding: 8px 20px;
}
.announce-tag {
  flex: none;
  font-weight: 700; font-size: 11px; letter-spacing: .5px;
  background: rgba(255,255,255,.16);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.announce-track { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.announce-text {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity .35s ease;
}
.announce-dots { flex: none; display: flex; gap: 7px; align-items: center; margin: 0; }
.announce-dot {
  position: relative;
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s ease, transform .2s ease;
}
/* Invisible hit-area so the tiny dot stays tappable on touch, without
   enlarging the visual dot or the spacing between dots. */
.announce-dot::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 22px; height: 22px;
}
.announce-dot.active { background: #fff; transform: scale(1.2); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 8px; background: var(--primary);
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.brand-logo { height: 58px; width: auto; display: block; }
.brand-logo-footer { height: 40px; width: auto; display: block; margin-bottom: 12px; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink-soft); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav-menu a:hover { color: var(--primary); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-menu li.nav-cta a, .nav-cta .btn { color: #fff; }
.nav-cta .btn:hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: .15s; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-50); text-decoration: none; }
.btn-ghost { color: var(--ink-soft); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--primary-50), #fff 70%);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -.01em; }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; color: var(--ink-soft); font-weight: 500;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

/* ---------- Hero banner (home) + page/promo banners ---------- */
.hero--home {
  position: relative;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(10,80,80,.92) 0%, rgba(10,80,80,.72) 50%, rgba(8,60,60,.55) 100%),
    url(../img/banners/hero-banner.png);
  background-size: cover;
  background-position: right center;
  border-bottom-color: rgba(255,255,255,.12);
}
.hero--home h1 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.hero--home .lead { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.hero--home .btn-outline { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.hero--home .btn-outline:hover { background: rgba(255,255,255,.14); }
.hero--home .badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.hero--home .badge .dot { background: #fff; }
.page-banner {
  position: relative; min-height: 220px; display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,90,90,.88), rgba(10,90,90,.42)); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(26px,4vw,40px); margin: 0 0 10px; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.page-banner h2 { color: #fff; font-size: clamp(22px,3.4vw,32px); margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.page-banner .lead, .page-banner p { color: #fff; max-width: 640px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.page-banner .btn-outline { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.page-banner .btn-outline:hover { background: rgba(255,255,255,.18); }
.promo-band {
  position: relative; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center;
  color: #fff; padding: 46px;
}
.promo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,80,80,.96) 0%, rgba(10,80,80,.82) 55%, rgba(8,65,65,.72) 100%),
    rgba(0,0,0,.18);
}
.promo-band > * { position: relative; z-index: 1; }
.promo-band h2 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.promo-band p { color: #fff; max-width: 620px; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.promo-band .btn-outline { border-color: rgba(255,255,255,.9); color: #fff; background: transparent; }
.promo-band .btn-outline:hover { background: rgba(255,255,255,.2); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 19px; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--primary-50);
  display: grid; place-items: center; margin-bottom: 14px;
}
.feature-icon svg { width: 24px; height: 24px; }

/* ---------- Service & Support ---------- */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-50);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.service-support .section-head h2 { color: var(--primary-dark); }
.service-support .card { border-top: 3px solid var(--primary); }
.service-support .feature-icon { background: var(--primary); color: #fff; }
.service-support .feature-icon svg { stroke: #fff; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Category cards ---------- */
.cat-card { text-align: left; transition: .15s; }
.cat-card:hover { transform: translateY(-3px); text-decoration: none; border-color: var(--primary); }
.cat-thumb {
  height: 168px; border-radius: 12px; background: var(--primary-50);
  overflow: hidden; margin-bottom: 14px;
}
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-card h3 { margin-bottom: 4px; }
.cat-card .muted { font-size: 14px; }

/* ---------- Catalog ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 14px;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.eq-card { display: flex; flex-direction: column; }
.eq-thumb {
  height: 160px; border-radius: 10px; background: var(--accent-50);
  display: grid; place-items: center; margin-bottom: 14px; position: relative; overflow: hidden;
}
.eq-thumb svg { width: 60px; height: 60px; }
.eq-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.eq-card h3 { font-size: 17px; margin-bottom: 2px; }
.eq-spec { list-style: none; padding: 0; margin: 10px 0 14px; font-size: 14px; color: var(--ink-soft); }
.eq-spec li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.eq-spec li span:last-child { color: var(--ink); font-weight: 600; }
/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; }
.check-list li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--primary); margin-top: 3px; }
.doc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.doc-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.doc-item .num { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; background: var(--primary-50); color: var(--primary); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.doc-item h4 { margin: 0 0 2px; font-size: 15px; }
.doc-item p { margin: 0; font-size: 13px; color: var(--ink-mute); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.step .n::before { content: counter(step); }
.step h4 { margin: 4px 0 2px; font-size: 16px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- Form ---------- */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary-50); border-color: var(--primary); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 6px; }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 32px; }
.contact-card { text-align: center; padding: 22px; }
.contact-card .ci { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--primary); }

/* ---------- CTA band ---------- */
.cta-band {
  background-image: linear-gradient(rgba(10,90,90,.9), rgba(10,90,90,.9)), url(../img/banners/promo-cta.png);
  background-size: cover; background-position: center;
  color: #fff; border-radius: 16px; padding: 44px; text-align: center;
}
.cta-band h2 { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cta-band p { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cta-band .btn-outline { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.18); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-50); color: var(--ink); padding: 48px 0 28px; margin-top: 0; border-top: 1px solid var(--line); }
.site-footer a { color: var(--primary); }
.site-footer a:hover { color: var(--primary-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; }
.site-footer h4 { color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 5px 0; font-size: 14px; color: var(--ink-soft); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; font-size: 13px; color: var(--ink-mute); }

/* ---------- Responsive ---------- */

/* Mobile: let the announcement wrap to 2 lines instead of truncating to an ellipsis.
   On a 320–400px screen a single-line nowrap track only shows the first few words. */
@media (max-width: 720px) {
  .announce-inner { flex-wrap: wrap; gap: 8px 10px; padding: 9px 16px; }
  .announce-track { flex: 1 1 100%; order: 3; }
  .announce-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 12.5px;
    line-height: 1.45;
    /* clamp to 2 lines so the bar never doubles in height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .announce-dots { margin-left: auto; }
}

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

@media (max-width: 860px) {
  .grid-3, .grid-2, .contact-cards, .doc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 10px 0 0; }
}
@media (max-width: 520px) {
  .nav { height: 68px; }
  .brand-logo { height: 52px; }
  .nav-menu { top: 68px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 52px; }
}

/* ---------- Mobile usability fixes ---------- */
@media (max-width: 860px) {
  /* Touch targets: footer links were 17px tall — too small to tap reliably. */
  .site-footer ul li { padding: 0; }
  .site-footer ul li a {
    display: block;
    padding: 9px 0;
    min-height: 40px;
    line-height: 22px;
  }

  /* iOS Safari auto-zooms the page when a focused input is under 16px.
     Bump form controls to 16px on touch widths only (desktop design keeps 15px). */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  /* Banner bands use 46px/44px padding — too generous on a phone. */
  .promo-band { padding: 28px 20px; border-radius: 12px; }
  .cta-band { padding: 30px 20px; border-radius: 12px; }

  /* Modals: reduce outer gutter and inner padding so content gets the full width. */
  .modal-overlay { padding: 16px 12px; }
  .modal-body > div:last-child { padding: 20px; }
  .news-modal-body { padding: 22px 20px; }
  .modal-img { padding: 16px; }
  .modal-img img { max-height: 220px; }

  /* Spec table inside modals: allow wrapping so long labels never force overflow. */
  .spec-table th { white-space: normal; width: 42%; }

  /* Filter / tab chips: keep them comfortably tappable. */
  .filter-btn, .news-tab { padding: 11px 18px; }
}

.eq-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Detail modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.55);
  display: none; align-items: flex-start; justify-content: center;
  padding: 48px 16px; z-index: 100; overflow: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 16px; max-width: 780px; width: 100%;
  position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.32); animation: modalIn .15s ease;
}
@keyframes modalIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 10px; right: 14px; background: none; border: 0;
  font-size: 30px; line-height: 1; color: var(--ink-soft); cursor: pointer; z-index: 2;
}
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { background: var(--accent-50); display: grid; place-items: center; padding: 24px; border-radius: 16px 0 0 16px; }
.modal-img img { max-height: 320px; width: 100%; object-fit: contain; }
.modal-body > div:last-child { padding: 28px; }
.modal-tag { position: static; display: inline-block; margin-bottom: 8px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-mute); font-weight: 600; width: 40%; white-space: nowrap; }
@media (max-width: 720px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-img { border-radius: 16px 16px 0 0; }
}

/* ---------- Newsroom nav dropdown ---------- */
.nav-item.has-dropdown { position: relative; }
.nav-item .submenu {
  position: absolute; top: 100%; left: 0; min-width: 184px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: none;
  flex-direction: column; gap: 2px; z-index: 60;
  list-style: none;
}
.nav-item.has-dropdown:hover .submenu,
.nav-item.has-dropdown:focus-within .submenu { display: flex; }
.nav-item .submenu a {
  padding: 9px 12px; border-radius: 8px; color: var(--ink-soft);
  font-size: 14px; white-space: nowrap;
}
.nav-item .submenu a:hover { background: var(--primary-50); color: var(--primary); text-decoration: none; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--primary); color: #fff; padding: 30px 0; }
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 34px; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 13px; color: #cfe2f5; margin-top: 4px; }
@media (max-width: 720px) { .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

/* ---------- Certification strip ---------- */
.certstrip { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 22px 0; }
.cert-strip { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.cert-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; cursor: pointer; transition: .15s; }
.news-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.news-type { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; color: #fff; }
.news-type.t-announcement { background: #BA7517; }
.news-type.t-news { background: var(--primary); }
.news-type.t-log { background: #64748b; }
.news-date { font-size: 12px; color: var(--ink-mute); }
.news-region { font-size: 12px; color: var(--ink-mute); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.news-card h3 { font-size: 17px; margin-bottom: 6px; }
.news-more { margin-top: auto; padding-top: 12px; color: var(--primary); font-weight: 600; font-size: 14px; }
.news-mini { display: block; }
.news-mini h4 { font-size: 15px; margin: 6px 0 0; color: var(--ink); }
.news-mini:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-2px); }

/* ---------- News tabs (page switcher) ---------- */
.news-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.news-tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: 14px;
  text-decoration: none;
}
.news-tab.active, .news-tab:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }

/* ---------- News modal (text only) ---------- */
.news-modal-body { grid-template-columns: 1fr; padding: 30px 32px; }
.news-modal-body h3 { font-size: 22px; margin: 4px 0 14px; }

@media (max-width: 860px) {
  .news-grid { grid-template-columns: 1fr; }
  .nav-item .submenu { position: static; display: flex; box-shadow: none; border: 0; padding: 4px 0 4px 12px; gap: 0; list-style: none; }
  .nav-item .submenu li { padding: 0; border: 0; }
  .nav-item .submenu a { display: block; padding: 10px 12px 10px 18px; border-left: 2px solid var(--line); border-radius: 0; }
  .nav-item .submenu a:hover { border-left-color: var(--primary); }
}

/* ---------- About page ---------- */
.about-intro { max-width: 860px; margin: 0 auto; font-size: 19px; line-height: 1.7; color: var(--ink-soft); text-align: center; }
.profile-card { max-width: 860px; margin: 0 auto; }
.profile-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.profile-row:last-child { border-bottom: 0; }
.profile-k { font-weight: 600; color: var(--ink); }
.profile-v { color: var(--ink-soft); }
.pillar .feature-icon { background: var(--primary); color: #fff; }
.pillar .feature-icon svg { stroke: #fff; }
.about-network { max-width: 880px; margin: 0 auto 34px; text-align: center; font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.flow-step { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.flow-n { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
.flow-step h4 { margin: 4px 0 4px; font-size: 16px; }
.mkt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mkt-card { position: relative; }
.mkt-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.mkt-card h3 { font-size: 20px; margin-bottom: 6px; }
@media (max-width: 860px) {
  .flow, .mkt-grid { grid-template-columns: 1fr; }
  .profile-row { grid-template-columns: 1fr; gap: 2px; }
}
