:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --text: #0b1220;
  --muted: #536072;
  --border: rgba(2, 6, 23, 0.12);
  --border-strong: rgba(2, 6, 23, 0.18);

  --primary: #4bb3ff;
  --primary-700: #1b6ea4;
  --primary-50: #e9f6ff;

  --shadow: 0 14px 36px rgba(2, 6, 23, 0.10);
  --shadow-soft: 0 6px 16px rgba(2, 6, 23, 0.08);

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
  --topbar-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  position: relative;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(75, 179, 255, 0.22), transparent 62%),
    radial-gradient(800px 520px at 85% 0%, rgba(75, 179, 255, 0.14), transparent 58%),
    var(--bg);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Source Han Sans", "Microsoft YaHei",
    system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(2, 6, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 6, 23, 0.045) 1px, transparent 1px),
    radial-gradient(900px 520px at 20% 0%, rgba(75, 179, 255, 0.14), transparent 60%);
  background-size: 44px 44px, 44px 44px, auto;
  mask-image: radial-gradient(520px 380px at 20% 10%, #000 30%, transparent 70%);
  opacity: 0.85;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image: url("../img/hztvs/background-01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16;
  filter: saturate(0.9) contrast(1.05);
}

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

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

*:focus-visible {
  outline: 3px solid rgba(75, 179, 255, 0.55);
  outline-offset: 2px;
}

section[id] {
  scroll-margin-top: calc(var(--topbar-h) + 18px);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.95em;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transform: translateY(-200%);
  transition: transform 180ms ease;
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  z-index: 50;
}

.topbar__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hztvs/TVS-Head.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
}

.topbar__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 20, 40, 0.74), rgba(6, 20, 40, 0.22)),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  backdrop-filter: blur(6px);
}

.topbar__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: grid;
  gap: 2px;
  color: #fff;
  line-height: 1.1;
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand__sub {
  font-size: 12px;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.nav a {
  font-weight: 500;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav__cta {
  background: rgba(75, 179, 255, 0.95);
  color: #06243f;
}

.nav__cta:hover {
  background: rgba(75, 179, 255, 1);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
}

.nav-toggle__icon {
  width: 22px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after,
.nav-toggle__icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.nav-toggle__icon::before {
  top: 0;
}
.nav-toggle__icon::after {
  bottom: 0;
}

/* Hero */
.hero {
  padding: calc(var(--topbar-h) + 6px) 0 46px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  align-items: center;
  gap: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.06);
  color: rgba(2, 6, 23, 0.82);
  font-size: 13px;
  margin: 0 0 14px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: -0.4px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--primary {
  background: linear-gradient(180deg, rgba(75, 179, 255, 1), rgba(47, 150, 214, 1));
  border-color: rgba(27, 110, 164, 0.55);
  color: #06243f;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
}

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

.hero__meta div {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(2, 6, 23, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

.hero__meta dt {
  font-size: 12px;
  color: rgba(2, 6, 23, 0.70);
}

.hero__meta dd {
  margin: 2px 0 0;
  font-weight: 600;
}

.hero__media {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.10);
}

.media-card--logo {
  width: min(480px, 100%);
  padding: 18px 22px;
  overflow: visible;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(233, 246, 255, 0.38));
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.10);
}

.media-card--logo img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  margin: 0 auto;
}

.media-note {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(2, 6, 23, 0.78);
  font-size: 13px;
}

.media-note p {
  margin: 0;
}

/* Sections */
.section {
  padding: 62px 0;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(75, 179, 255, 0.06), rgba(242, 244, 247, 0.96));
  border-top: 1px solid rgba(2, 6, 23, 0.06);
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
}

.section__head {
  margin: 0 0 22px;
  display: grid;
  gap: 6px;
}

.section__head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.2px;
}

.section__head h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(75, 179, 255, 1), rgba(75, 179, 255, 0.10));
}

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

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

#jobs .grid + .card {
  margin-top: 10px;
}

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

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

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(2, 6, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
  padding: 18px 18px;
}

.card:hover {
  border-color: rgba(75, 179, 255, 0.28);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.1px;
}

.card p {
  margin: 0;
}

.card + .card {
  margin-top: 0;
}

.card--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(75, 179, 255, 0.06));
}

.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(2, 6, 23, 0.90);
}

.list li {
  margin: 6px 0;
}

.list--ticks {
  padding-left: 0;
  list-style: none;
  margin: 12px 0 0;
}

.list--ticks li {
  position: relative;
  padding-left: 22px;
}

.list--ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(75, 179, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(75, 179, 255, 0.18);
  transform: translateY(-50%);
}

.kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}

.kpi__item {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(2, 6, 23, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.kpi__num {
  font-weight: 800;
  font-size: 20px;
  color: rgba(27, 110, 164, 0.95);
}

.kpi__label {
  font-size: 12px;
  color: rgba(2, 6, 23, 0.72);
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cards .card {
  padding: 16px 16px;
}

.cards .card h3 {
  margin: 0;
  font-size: 15px;
}

.feature {
  margin-top: 16px;
}

.feature__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 16px;
}

.feature__media img {
  border-radius: 16px;
  border: 1px solid rgba(2, 6, 23, 0.10);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.10);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline__date {
  margin: 0 0 6px;
  font-size: 12px;
  color: rgba(2, 6, 23, 0.65);
}

.timeline__title {
  margin: 0;
  font-size: 16px;
}

/* Clients */
.clients {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.clients--dense {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(2, 6, 23, 0.86);
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.details {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(2, 6, 23, 0.20);
  background: rgba(255, 255, 255, 0.86);
}

.details summary {
  cursor: pointer;
  font-weight: 600;
}

.details__body {
  margin-top: 12px;
}

/* Contact */
.callout {
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(27, 110, 164, 0.22);
  background: linear-gradient(180deg, rgba(233, 246, 255, 0.92), rgba(255, 255, 255, 0.82));
}

.callout__title {
  margin: 0 0 4px;
  font-weight: 800;
  color: rgba(27, 110, 164, 0.95);
}

.callout__desc {
  margin: 0;
  color: rgba(2, 6, 23, 0.78);
}

/* Map */
.map-card {
  margin-top: 16px;
  padding: 18px 18px;
}

.map-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.map-card__head h3 {
  margin: 0 0 6px;
}

.map-card__head p {
  margin: 0;
  font-size: 13px;
}

.map-card__link {
  padding: 10px 12px;
  white-space: nowrap;
}

.map {
  border-radius: 16px;
  border: 1px solid rgba(2, 6, 23, 0.10);
  background:
    radial-gradient(520px 220px at 20% 20%, rgba(75, 179, 255, 0.20), transparent 70%),
    radial-gradient(520px 220px at 85% 40%, rgba(75, 179, 255, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.08);
  overflow: hidden;
}

.map svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-card__foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(2, 6, 23, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.map-card__addr {
  display: grid;
  gap: 4px;
}

.map-card__label {
  font-size: 12px;
  color: rgba(2, 6, 23, 0.65);
}

.map-card__value {
  font-weight: 700;
}

.map-card__hint {
  font-size: 13px;
}

/* Footer */
.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(2, 6, 23, 0.08);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(2, 6, 23, 0.10);
  background: #fff;
}

.footer__name {
  font-weight: 700;
}

.footer__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  font-size: 12px;
  color: rgba(2, 6, 23, 0.70);
}

.footer__meta a {
  color: rgba(27, 110, 164, 0.95);
  text-decoration: underline;
  text-decoration-color: rgba(27, 110, 164, 0.30);
  text-underline-offset: 2px;
}

.footer__icp {
  white-space: nowrap;
}

.footer__copy {
  color: rgba(2, 6, 23, 0.60);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero h1 {
    font-size: clamp(22px, 6.2vw, 30px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: calc(var(--topbar-h) + 22px) 0 38px;
  }

  .hero__meta {
    grid-template-columns: 1fr;
  }

  .hero__media {
    justify-items: center;
  }

  .media-card--logo {
    width: min(380px, 100%);
    padding: 14px 16px;
  }

  .media-card--logo img {
    max-height: 180px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(var(--topbar-h) + 10px);
    right: 0;
    left: 0;
    margin: 0 auto;
    width: min(var(--container), calc(100% - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(10, 35, 66, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
  }

  .nav a {
    padding: 12px 12px;
    font-size: 14px;
  }

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

  .feature__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    align-items: flex-start;
  }

  .footer__meta {
    flex-wrap: wrap;
  }

  .map-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .map-card__link {
    width: fit-content;
  }
}
